Pull request #276 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6930ef988c1b98fea5350abeb7be25054b716eaf+539913158ea56f8dca24ab775bb8172a7292d425 (b82cc0b3b5a0eabac5a2431dd2365ea2774f31c2) 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-ssh1004948086844125059.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7086439605572681800.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6085326541426586835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5179509152461279878.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11996734741427902369.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8025480355532078140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5274 in /w/workspace/gexfoundry_device-rest-go_PR-276 [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-276 # 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/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 6930ef988c1b98fea5350abeb7be25054b716eaf Merge succeeded, producing 6930ef988c1b98fea5350abeb7be25054b716eaf Checking out Revision 6930ef988c1b98fea5350abeb7be25054b716eaf (PR-276) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 6930ef988c1b98fea5350abeb7be25054b716eaf # 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 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6930ef988c1b98fea5350abeb7be25054b716eaf # timeout=10 [Pipeline] timeout 20:16:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:16:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:16:24 ========================================================= 20:16:24 EdgeX Global Pipelines Version Info 20:16:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:16:25 ------------------- 20:16:25 stable info: 20:16:25 ------------------- 20:16:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:16:25 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:16:25 Message: update stable to v1.0.245 20:16:26 ------------------- 20:16:26 experimental info: 20:16:26 ------------------- 20:16:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:16:26 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:16:26 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-276 [Pipeline] echo 20:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-276 [Pipeline] echo 20:16:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-276 [Pipeline] echo 20:16:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6930ef988c1b98fea5350abeb7be25054b716eaf [Pipeline] echo 20:16:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6930ef9 [Pipeline] echo 20:16:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:28 provisioning config files... 20:16:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-276@tmp/config15430255624602795966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:28 ---> docker-login.sh 20:16:28 nexus3.edgexfoundry.org:10001 20:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:28 Configure a credential helper to remove this warning. See 20:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:28 20:16:28 Login Succeeded 20:16:28 nexus3.edgexfoundry.org:10002 20:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:29 Configure a credential helper to remove this warning. See 20:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:29 20:16:29 Login Succeeded 20:16:29 nexus3.edgexfoundry.org:10003 20:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:29 Configure a credential helper to remove this warning. See 20:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:29 20:16:29 Login Succeeded 20:16:29 nexus3.edgexfoundry.org:10004 20:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:29 Configure a credential helper to remove this warning. See 20:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:29 20:16:29 Login Succeeded 20:16:29 docker.io 20:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:29 Configure a credential helper to remove this warning. See 20:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:29 20:16:29 Login Succeeded 20:16:29 ---> docker-login.sh ends [Pipeline] } 20:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:16:30 + git rev-list -1 --merges 6930ef988c1b98fea5350abeb7be25054b716eaf~1..6930ef988c1b98fea5350abeb7be25054b716eaf [Pipeline] echo 20:16:30 -----------> git rev-list -1 --merges 6930ef988c1b98fea5350abeb7be25054b716eaf~1..6930ef988c1b98fea5350abeb7be25054b716eaf 6930ef988c1b98fea5350abeb7be25054b716eaf [false] [Pipeline] sh 20:16:30 + git log --format=format:%s -1 6930ef988c1b98fea5350abeb7be25054b716eaf [Pipeline] echo 20:16:30 ========================================================= 20:16:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:16:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:31 + git log --format=format:%s -1 6930ef988c1b98fea5350abeb7be25054b716eaf [Pipeline] echo 20:16:31 [semverPrep] GIT_COMMIT: 6930ef988c1b98fea5350abeb7be25054b716eaf, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:16:31 [semverPrep] This is not a build commit. [Pipeline] sh 20:16:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:16:31 + grep -v github /etc/ssh/ssh_known_hosts 20:16:31 + [ -e /tmp/ssh_known_hosts ] 20:16:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:16:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:16:31 + sudo tee -a /etc/ssh/ssh_known_hosts 20:16:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:32 20:16:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:32 0.1.4: Pulling from edgex-devops/py-git-semver 20:16:32 b85a868b505f: Pulling fs layer 20:16:32 e2be974225ed: Pulling fs layer 20:16:32 339a4e72a1f5: Pulling fs layer 20:16:32 988bab9f4d93: Pulling fs layer 20:16:32 1469e6f7b9e6: Pulling fs layer 20:16:32 eaf3925da568: Pulling fs layer 20:16:32 bab4dde63d76: Pulling fs layer 20:16:32 bde34c3a00c8: Pulling fs layer 20:16:32 b352a97aabf1: Pulling fs layer 20:16:32 4872d77fe225: Pulling fs layer 20:16:32 5851b861e8e6: Pulling fs layer 20:16:32 bde34c3a00c8: Waiting 20:16:32 988bab9f4d93: Waiting 20:16:32 b352a97aabf1: Waiting 20:16:32 1469e6f7b9e6: Waiting 20:16:32 bab4dde63d76: Waiting 20:16:32 eaf3925da568: Waiting 20:16:32 4872d77fe225: Waiting 20:16:32 e2be974225ed: Verifying Checksum 20:16:32 e2be974225ed: Download complete 20:16:32 988bab9f4d93: Verifying Checksum 20:16:32 988bab9f4d93: Download complete 20:16:32 1469e6f7b9e6: Verifying Checksum 20:16:32 1469e6f7b9e6: Download complete 20:16:32 eaf3925da568: Download complete 20:16:32 339a4e72a1f5: Verifying Checksum 20:16:32 339a4e72a1f5: Download complete 20:16:32 bde34c3a00c8: Download complete 20:16:32 b352a97aabf1: Download complete 20:16:32 4872d77fe225: Verifying Checksum 20:16:32 4872d77fe225: Download complete 20:16:32 5851b861e8e6: Download complete 20:16:32 b85a868b505f: Download complete 20:16:32 bab4dde63d76: Verifying Checksum 20:16:32 bab4dde63d76: Download complete 20:16:33 b85a868b505f: Pull complete 20:16:34 e2be974225ed: Pull complete 20:16:34 339a4e72a1f5: Pull complete 20:16:34 988bab9f4d93: Pull complete 20:16:34 1469e6f7b9e6: Pull complete 20:16:34 eaf3925da568: Pull complete 20:16:36 bab4dde63d76: Pull complete 20:16:36 bde34c3a00c8: Pull complete 20:16:36 b352a97aabf1: Pull complete 20:16:36 4872d77fe225: Pull complete 20:16:37 5851b861e8e6: Pull complete 20:16:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:16:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:16:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:37 prd-ubuntu20.04-docker-8c-8g-5274 does not seem to be running inside a container 20:16:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-276 -v /w/workspace/gexfoundry_device-rest-go_PR-276:/w/workspace/gexfoundry_device-rest-go_PR-276:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-276@tmp:/w/workspace/gexfoundry_device-rest-go_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:16:39 $ docker top ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 -eo pid,comm 20:16:39 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). 20:16:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:16:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:39 [ssh-agent] Looking for ssh-agent implementation... 20:16:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:39 $ docker exec ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 ssh-agent 20:16:40 SSH_AUTH_SOCK=/tmp/ssh-stsMa4lS1U7M/agent.33 20:16:40 SSH_AGENT_PID=39 20:16:40 Running ssh-add (command line suppressed) 20:16:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-276@tmp/private_key_4489753849524871173.key (/w/workspace/gexfoundry_device-rest-go_PR-276@tmp/private_key_4489753849524871173.key) 20:16:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:40 + git tag --points-at HEAD [Pipeline] } 20:16:40 $ docker exec --env ******** --env ******** ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 ssh-agent -k 20:16:40 unset SSH_AUTH_SOCK; 20:16:40 unset SSH_AGENT_PID; 20:16:40 echo Agent pid 39 killed; 20:16:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:16:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:40 [ssh-agent] Looking for ssh-agent implementation... 20:16:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:40 $ docker exec ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 ssh-agent 20:16:40 SSH_AUTH_SOCK=/tmp/ssh-KJz4lA8HnQMf/agent.71 20:16:40 SSH_AGENT_PID=77 20:16:40 Running ssh-add (command line suppressed) 20:16:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-276@tmp/private_key_2777146235873593531.key (/w/workspace/gexfoundry_device-rest-go_PR-276@tmp/private_key_2777146235873593531.key) 20:16:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:41 + git semver init 20:16:41 2023-03-22 20:16:41,625 [run_init] DEBUG init version:0.0.0 force:False 20:16:41 2023-03-22 20:16:41,626 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-276/.semver 20:16:41 2023-03-22 20:16:41,626 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-276/.semver 20:16:41 2023-03-22 20:16:41,627 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-276/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-276, universal_newlines=False, shell=None, istream=None) 20:16:43 2023-03-22 20:16:42,639 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-276/.git/info/exclude 20:16:43 2023-03-22 20:16:42,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-276/.semver/PR-276 with force:False 20:16:43 2023-03-22 20:16:42,640 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-276/.semver/PR-276 20:16:43 2023-03-22 20:16:42,644 [execute] INFO git cat-file --batch-check 20:16:43 2023-03-22 20:16:42,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-276/.semver, universal_newlines=False, shell=None, istream=) 20:16:43 2023-03-22 20:16:42,651 [execute] INFO git cat-file --batch 20:16:43 2023-03-22 20:16:42,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-276/.semver, universal_newlines=False, shell=None, istream=) 20:16:43 2023-03-22 20:16:42,655 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-276/.semver/PR-276 20:16:43 0.0.0 [Pipeline] } 20:16:43 $ docker exec --env ******** --env ******** ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 ssh-agent -k 20:16:43 unset SSH_AUTH_SOCK; 20:16:43 unset SSH_AGENT_PID; 20:16:43 echo Agent pid 77 killed; 20:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:43 + git semver [Pipeline] } 20:16:43 $ docker stop --time=1 ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 20:16:45 $ docker rm -f --volumes ba83e6f25dc10fad1fa11efcc066dfa1fdf2fd55bfd966a1425a4ef0e45c11a1 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:16:46 Stashed 1 file(s) [Pipeline] echo 20:16:46 [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 20:16:46 provisioning config files... 20:16:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-276@tmp/config4524493384102525472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:46 ---> docker-login.sh 20:16:46 nexus3.edgexfoundry.org:10001 20:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:46 Configure a credential helper to remove this warning. See 20:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:46 20:16:46 Login Succeeded 20:16:46 nexus3.edgexfoundry.org:10002 20:16:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:47 Configure a credential helper to remove this warning. See 20:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:47 20:16:47 Login Succeeded 20:16:47 nexus3.edgexfoundry.org:10003 20:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:47 Configure a credential helper to remove this warning. See 20:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:47 20:16:47 Login Succeeded 20:16:47 nexus3.edgexfoundry.org:10004 20:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:47 Configure a credential helper to remove this warning. See 20:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:47 20:16:47 Login Succeeded 20:16:47 docker.io 20:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:47 Configure a credential helper to remove this warning. See 20:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:47 20:16:47 Login Succeeded 20:16:47 ---> docker-login.sh ends [Pipeline] } 20:16:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:48 ========================================================= 20:16:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:16:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:48 + 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 . 20:16:48 Sending build context to Docker daemon 10.87MB 20:16:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:16:48 Step 2/12 : FROM ${BASE} AS builder 20:16:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:16:48 63b65145d645: Pulling fs layer 20:16:48 a2d21d5440eb: Pulling fs layer 20:16:48 935e6c44a52c: Pulling fs layer 20:16:48 94cc34f8dd06: Pulling fs layer 20:16:48 30dea6a524f1: Pulling fs layer 20:16:48 a2aff8979fd8: Pulling fs layer 20:16:48 6808be2612f2: Pulling fs layer 20:16:48 f25807f1079a: Pulling fs layer 20:16:48 94cc34f8dd06: Waiting 20:16:48 f25807f1079a: Waiting 20:16:48 6808be2612f2: Waiting 20:16:48 30dea6a524f1: Waiting 20:16:48 a2aff8979fd8: Waiting 20:16:48 a2d21d5440eb: Verifying Checksum 20:16:48 a2d21d5440eb: Download complete 20:16:48 94cc34f8dd06: Verifying Checksum 20:16:48 94cc34f8dd06: Download complete 20:16:48 30dea6a524f1: Verifying Checksum 20:16:48 30dea6a524f1: Download complete 20:16:48 63b65145d645: Verifying Checksum 20:16:48 63b65145d645: Download complete 20:16:48 a2aff8979fd8: Verifying Checksum 20:16:48 a2aff8979fd8: Download complete 20:16:48 63b65145d645: Pull complete 20:16:49 a2d21d5440eb: Pull complete 20:16:49 f25807f1079a: Verifying Checksum 20:16:49 f25807f1079a: Download complete 20:16:49 935e6c44a52c: Download complete 20:16:49 6808be2612f2: Verifying Checksum 20:16:49 6808be2612f2: Download complete 20:16:53 935e6c44a52c: Pull complete 20:16:53 94cc34f8dd06: Pull complete 20:16:53 30dea6a524f1: Pull complete 20:16:53 a2aff8979fd8: Pull complete 20:16:55 6808be2612f2: Pull complete 20:16:56 f25807f1079a: Pull complete 20:16:56 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:16:56 ---> 3b553350e43f 20:16:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:16:58 ---> Running in 3953852de1e3 20:16:58 Removing intermediate container 3953852de1e3 20:16:58 ---> 44b7aa119525 20:16:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:16:58 ---> Running in 33aa52620b64 20:16:58 Removing intermediate container 33aa52620b64 20:16:58 ---> e96de18bdf7c 20:16:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:16:58 ---> Running in 7487ec57bd34 20:16:58 Removing intermediate container 7487ec57bd34 20:16:58 ---> 3685f3cd5ee7 20:16:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:16:58 ---> Running in 7db683852855 20:16:58 Removing intermediate container 7db683852855 20:16:58 ---> dfb46581522b 20:16:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:59 ---> Running in a2ca9c1bcde8 20:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:16:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:16:59 (2/4) Installing libedit (20221030.3.1-r0) 20:16:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:16:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:16:59 Executing busybox-1.35.0-r29.trigger 20:16:59 OK: 269 MiB in 57 packages 20:17:00 Removing intermediate container a2ca9c1bcde8 20:17:00 ---> 3c29fbd146bf 20:17:00 Step 8/12 : WORKDIR /device-rest-go 20:17:00 ---> Running in da4fa2d8aa7f 20:17:00 Removing intermediate container da4fa2d8aa7f 20:17:00 ---> ed95fe9f7a37 20:17:00 Step 9/12 : COPY go.mod vendor* ./ 20:17:00 ---> 0eeeeba7cc3a 20:17:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:00 ---> Running in 99d26e2a3b51 20:17:01 Still waiting to schedule task 20:17:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5273’ 20:17:46 Removing intermediate container 99d26e2a3b51 20:17:46 ---> 682a72b17ab1 20:17:46 Step 11/12 : COPY . . 20:17:46 ---> 1e8f87607328 20:17:46 Step 12/12 : RUN $MAKE 20:17:46 ---> Running in 139cc60c4bb3 20:17:46 noop 20:17:46 Removing intermediate container 139cc60c4bb3 20:17:46 ---> 0b728e9d8157 20:17:46 Successfully built 0b728e9d8157 20:17:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:47 + docker inspect -f . ci-base-image-x86_64 20:17:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:47 prd-ubuntu20.04-docker-8c-8g-5274 does not seem to be running inside a container 20:17:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-276 -v /w/workspace/gexfoundry_device-rest-go_PR-276:/w/workspace/gexfoundry_device-rest-go_PR-276:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-276@tmp:/w/workspace/gexfoundry_device-rest-go_PR-276@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 ******** ci-base-image-x86_64 cat 20:17:47 $ docker top 9a60221f113f133278b29be189519a2fd3cda697e182ac81a8457d54761aa395 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:48 + go version 20:17:48 go version go1.20.2 linux/amd64 [Pipeline] } 20:17:48 $ docker stop --time=1 9a60221f113f133278b29be189519a2fd3cda697e182ac81a8457d54761aa395 20:17:49 $ docker rm -f --volumes 9a60221f113f133278b29be189519a2fd3cda697e182ac81a8457d54761aa395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:50 + docker inspect -f . ci-base-image-x86_64 20:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:50 prd-ubuntu20.04-docker-8c-8g-5274 does not seem to be running inside a container 20:17:50 $ 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-276 -v /w/workspace/gexfoundry_device-rest-go_PR-276:/w/workspace/gexfoundry_device-rest-go_PR-276:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-276@tmp:/w/workspace/gexfoundry_device-rest-go_PR-276@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 ******** ci-base-image-x86_64 cat 20:17:50 $ docker top 0dac03932947f97494937bc6d49cc7f3ed7ac09875c430115c80329b94d2a4f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-276 [Pipeline] fileExists [Pipeline] sh 20:17:51 + make test 20:17:51 go test ./... -coverprofile=coverage.out ./... 20:17:56 ? github.com/edgexfoundry/device-rest-go [no test files] 20:18:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:18:09 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.0% of statements 20:18:14 go vet ./... 20:18:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:18:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:18:18 $ docker stop --time=1 0dac03932947f97494937bc6d49cc7f3ed7ac09875c430115c80329b94d2a4f4 20:18:22 $ docker rm -f --volumes 0dac03932947f97494937bc6d49cc7f3ed7ac09875c430115c80329b94d2a4f4 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:18:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:18:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:18:23 + ls -al . 20:18:23 total 184 20:18:23 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 20:17 . 20:18:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:16 .. 20:18:23 -rw-rw-r-- 1 jenkins jenkins 151 Mar 22 20:16 .dockerignore 20:18:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 20:16 .git 20:18:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:16 .github 20:18:23 -rw-rw-r-- 1 jenkins jenkins 329 Mar 22 20:16 .gitignore 20:18:23 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 20:16 .golangci.yml 20:18:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 20:16 .semver 20:18:23 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 22 20:16 Attribution.txt 20:18:23 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 22 20:16 CHANGELOG.md 20:18:23 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 22 20:16 Dockerfile 20:18:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 20:16 GOVERNANCE.md 20:18:23 -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 20:16 Jenkinsfile 20:18:23 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 20:16 LICENSE 20:18:23 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 22 20:16 Makefile 20:18:23 -rw-rw-r-- 1 jenkins jenkins 620 Mar 22 20:16 OWNERS.md 20:18:23 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 22 20:16 README.md 20:18:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 20:16 VERSION 20:18:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 20:16 bin 20:18:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:16 cmd 20:18:23 -rw-r--r-- 1 jenkins jenkins 14200 Mar 22 20:18 coverage.out 20:18:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 20:16 driver 20:18:23 -rw-rw-r-- 1 jenkins jenkins 3447 Mar 22 20:16 go.mod 20:18:23 -rw-rw-r-- 1 jenkins jenkins 31326 Mar 22 20:16 go.sum 20:18:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:16 snap 20:18:23 -rw-rw-r-- 1 jenkins jenkins 713 Mar 22 20:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:24 + 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=6930ef988c1b98fea5350abeb7be25054b716eaf --label arch=amd64 --label version=0.0.0 . 20:18:24 Sending build context to Docker daemon 10.88MB 20:18:24 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:18:24 Step 2/25 : FROM ${BASE} AS builder 20:18:24 ---> 0b728e9d8157 20:18:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:18:24 ---> Running in 553b59ccfa67 20:18:24 Removing intermediate container 553b59ccfa67 20:18:24 ---> 5487ef05dc60 20:18:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:24 ---> Running in 5127073a1030 20:18:24 Removing intermediate container 5127073a1030 20:18:24 ---> 49a60b42dbff 20:18:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:24 ---> Running in 92bc8ac2a637 20:18:24 Removing intermediate container 92bc8ac2a637 20:18:24 ---> 3aec8b51e714 20:18:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:18:24 ---> Running in e0e99effc53c 20:18:24 Removing intermediate container e0e99effc53c 20:18:24 ---> 3ae13c4b9952 20:18:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:24 ---> Running in 63976ca9ddc4 20:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:25 OK: 269 MiB in 57 packages 20:18:25 Removing intermediate container 63976ca9ddc4 20:18:25 ---> d2ef5d3e6779 20:18:25 Step 8/25 : WORKDIR /device-rest-go 20:18:25 ---> Running in c7d85b8e128c 20:18:25 Removing intermediate container c7d85b8e128c 20:18:25 ---> 8422cf311e46 20:18:25 Step 9/25 : COPY go.mod vendor* ./ 20:18:26 ---> 5d6168252eba 20:18:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:26 ---> Running in 3e531646c64c 20:18:27 Removing intermediate container 3e531646c64c 20:18:27 ---> c4564a2c9f67 20:18:27 Step 11/25 : COPY . . 20:18:27 ---> b50ffbcb906d 20:18:27 Step 12/25 : RUN $MAKE 20:18:27 ---> Running in c439f6ede67f 20:18:27 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 20:18:49 Removing intermediate container c439f6ede67f 20:18:49 ---> 71efbb78059d 20:18:49 Step 13/25 : FROM alpine:3.17 20:18:49 3.17: Pulling from library/alpine 20:18:49 63b65145d645: Already exists 20:18:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:18:49 Status: Downloaded newer image for alpine:3.17 20:18:49 ---> b2aa39c304c2 20:18:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:18:49 ---> Running in 298f0d9ef61d 20:18:49 Removing intermediate container 298f0d9ef61d 20:18:49 ---> 2f98d070beb3 20:18:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:18:49 ---> Running in ccef72753072 20:18:49 Removing intermediate container ccef72753072 20:18:49 ---> 78987099f275 20:18:49 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:18:49 ---> Running in 8e2ad62a02f9 20:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:49 (1/1) Installing dumb-init (1.2.5-r2) 20:18:49 Executing busybox-1.35.0-r29.trigger 20:18:49 OK: 7 MiB in 16 packages 20:18:49 Removing intermediate container 8e2ad62a02f9 20:18:49 ---> d2d32f72b80d 20:18:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:18:50 ---> f7418b263c8d 20:18:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:18:50 ---> 571bee086559 20:18:50 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:18:50 ---> f1329db38666 20:18:50 Step 20/25 : EXPOSE 59986 20:18:50 ---> Running in cb096ef69b20 20:18:50 Removing intermediate container cb096ef69b20 20:18:50 ---> 66a57966fd6b 20:18:50 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:18:50 ---> Running in edafee1a8d1d 20:18:50 Removing intermediate container edafee1a8d1d 20:18:50 ---> 501d43556b99 20:18:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:18:50 ---> Running in 7450d8ed0ff6 20:18:50 Removing intermediate container 7450d8ed0ff6 20:18:50 ---> 3b94b370fdea 20:18:50 Step 23/25 : LABEL arch=amd64 20:18:50 ---> Running in faf8351a9028 20:18:50 Removing intermediate container faf8351a9028 20:18:50 ---> f4fe35cfb7a5 20:18:50 Step 24/25 : LABEL git_sha=6930ef988c1b98fea5350abeb7be25054b716eaf 20:18:50 ---> Running in 39cdbaf2e380 20:18:50 Removing intermediate container 39cdbaf2e380 20:18:50 ---> 518f73d7d608 20:18:50 Step 25/25 : LABEL version=0.0.0 20:18:50 ---> Running in c016713cfec9 20:18:51 Removing intermediate container c016713cfec9 20:18:51 ---> e19babc5a0e3 20:18:51 [Warning] One or more build-args [ARCH] were not consumed 20:18:51 Successfully built e19babc5a0e3 20:18:51 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 20:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:51 20:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:52 latest: Pulling from edgex-lftools-log-publisher 20:18:52 5eb5b503b376: Pulling fs layer 20:18:52 5c69ac0246d0: Pulling fs layer 20:18:52 ec43610c2a17: Pulling fs layer 20:18:52 3a2ae6a8a46f: Pulling fs layer 20:18:52 33b1e0a273af: Pulling fs layer 20:18:52 5d3b04190fa2: Pulling fs layer 20:18:52 2f39f015ded8: Pulling fs layer 20:18:52 3a2ae6a8a46f: Waiting 20:18:52 33b1e0a273af: Waiting 20:18:52 5d3b04190fa2: Waiting 20:18:52 2f39f015ded8: Waiting 20:18:52 5c69ac0246d0: Download complete 20:18:52 3a2ae6a8a46f: Verifying Checksum 20:18:52 3a2ae6a8a46f: Download complete 20:18:52 ec43610c2a17: Verifying Checksum 20:18:52 33b1e0a273af: Verifying Checksum 20:18:52 33b1e0a273af: Download complete 20:18:52 5d3b04190fa2: Download complete 20:18:52 5eb5b503b376: Verifying Checksum 20:18:52 5eb5b503b376: Download complete 20:18:53 2f39f015ded8: Download complete 20:18:53 5eb5b503b376: Pull complete 20:18:53 5c69ac0246d0: Pull complete 20:18:54 ec43610c2a17: Pull complete 20:18:54 3a2ae6a8a46f: Pull complete 20:18:54 33b1e0a273af: Pull complete 20:18:54 5d3b04190fa2: Pull complete 20:18:58 2f39f015ded8: Pull complete 20:18:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:18:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:59 prd-ubuntu20.04-docker-8c-8g-5274 does not seem to be running inside a container 20:18:59 $ 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-276 -v /w/workspace/gexfoundry_device-rest-go_PR-276:/w/workspace/gexfoundry_device-rest-go_PR-276:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-276@tmp:/w/workspace/gexfoundry_device-rest-go_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:19:03 $ docker top 61da25e34ee4886fb2c9132f0cbdf4f228dbec809df3d0a20b90dc8fb587c19f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:03 ---> job-cost.sh 20:19:03 lf-activate-venv: SKIPPING 20:19:03 INFO: No Stack... 20:19:04 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:04 INFO: Archiving Costs [Pipeline] sh 20:19:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-276/archives/cost.csv 20:19:04 + cut -d, -f6 [Pipeline] lock 20:19:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] 20:19:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] did not exist. Created. 20:19:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:05 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:05 Stashed 1 file(s) [Pipeline] } 20:19:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:05 $ docker stop --time=1 61da25e34ee4886fb2c9132f0cbdf4f228dbec809df3d0a20b90dc8fb587c19f 20:19:06 $ docker rm -f --volumes 61da25e34ee4886fb2c9132f0cbdf4f228dbec809df3d0a20b90dc8fb587c19f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:19:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5276 in /w/workspace/gexfoundry_device-rest-go_PR-276 [Pipeline] { [Pipeline] ws 20:19:31 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:19:31 The recommended git tool is: git 20:19:38 using credential edgex-jenkins-ssh 20:19:38 Cloning the remote Git repository 20:19:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:19:38 > git init /w/workspace/device-rest-go/1 # timeout=10 20:19:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:19:39 > git --version # timeout=10 20:19:39 > git --version # 'git version 2.25.1' 20:19:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:19:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:42 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 6930ef988c1b98fea5350abeb7be25054b716eaf 20:19:43 Merge succeeded, producing 6930ef988c1b98fea5350abeb7be25054b716eaf 20:19:43 Checking out Revision 6930ef988c1b98fea5350abeb7be25054b716eaf (PR-276) 20:19:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:19:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:19:42 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:19:42 > git config core.sparsecheckout # timeout=10 20:19:42 > git checkout -f 6930ef988c1b98fea5350abeb7be25054b716eaf # timeout=10 20:19:43 > git remote # timeout=10 20:19:43 > git config --get remote.origin.url # timeout=10 20:19:43 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:43 > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 20:19:43 > git rev-parse HEAD^{commit} # timeout=10 20:19:43 > git config core.sparsecheckout # timeout=10 20:19:43 > git checkout -f 6930ef988c1b98fea5350abeb7be25054b716eaf # timeout=10 20:19:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:19:43 > git --version # timeout=10 20:19:43 > git --version # 'git version 2.25.1' 20:19:43 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:19:45 % Total % Received % Xferd Average Speed Time Time Time Current 20:19:45 Dload Upload Total Spent Left Speed 20:19:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 20:19:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:19:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:19:46 + sudo tee /etc/docker/daemon.new 20:19:46 { 20:19:46 "registry-mirrors": [ 20:19:46 "https://nexus3.edgexfoundry.org:10001" 20:19:46 ], 20:19:46 "bip": "10.250.0.254/24", 20:19:46 "hosts": [ 20:19:46 "tcp://0.0.0.0:5555", 20:19:46 "unix:///var/run/docker.sock" 20:19:46 ], 20:19:46 "mtu": 1458, 20:19:46 "selinux-enabled": true, 20:19:46 "seccomp-profile": "/etc/docker/seccomp.json" 20:19:46 } [Pipeline] sh 20:19:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:19:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:09 provisioning config files... 20:20:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3309271529199499269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:09 ---> docker-login.sh 20:20:09 nexus3.edgexfoundry.org:10001 20:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:10 Configure a credential helper to remove this warning. See 20:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:10 20:20:10 Login Succeeded 20:20:10 nexus3.edgexfoundry.org:10002 20:20:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:10 Configure a credential helper to remove this warning. See 20:20:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:10 20:20:10 Login Succeeded 20:20:10 nexus3.edgexfoundry.org:10003 20:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:11 Configure a credential helper to remove this warning. See 20:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:11 20:20:11 Login Succeeded 20:20:11 nexus3.edgexfoundry.org:10004 20:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:11 Configure a credential helper to remove this warning. See 20:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:11 20:20:11 Login Succeeded 20:20:11 docker.io 20:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:20:11 Configure a credential helper to remove this warning. See 20:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:20:11 20:20:11 Login Succeeded 20:20:11 ---> docker-login.sh ends [Pipeline] } 20:20:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:20:12 ========================================================= 20:20:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:20:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:12 + 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 . 20:20:12 Sending build context to Docker daemon 138.2kB 20:20:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:20:13 Step 2/12 : FROM ${BASE} AS builder 20:20:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:20:13 af6eaf76a39c: Pulling fs layer 20:20:13 55522c791124: Pulling fs layer 20:20:13 ce5c4a1c91eb: Pulling fs layer 20:20:13 169dfbe0d373: Pulling fs layer 20:20:13 e1ff8fa3b103: Pulling fs layer 20:20:13 52ebb69f0ebf: Pulling fs layer 20:20:13 5abe8eddf0d5: Pulling fs layer 20:20:13 169dfbe0d373: Waiting 20:20:13 e1ff8fa3b103: Waiting 20:20:13 5abe8eddf0d5: Waiting 20:20:13 52ebb69f0ebf: Waiting 20:20:13 55522c791124: Verifying Checksum 20:20:13 55522c791124: Download complete 20:20:13 169dfbe0d373: Verifying Checksum 20:20:13 169dfbe0d373: Download complete 20:20:13 e1ff8fa3b103: Verifying Checksum 20:20:13 e1ff8fa3b103: Download complete 20:20:13 af6eaf76a39c: Verifying Checksum 20:20:14 af6eaf76a39c: Pull complete 20:20:14 5abe8eddf0d5: Verifying Checksum 20:20:14 5abe8eddf0d5: Download complete 20:20:15 55522c791124: Pull complete 20:20:15 ce5c4a1c91eb: Verifying Checksum 20:20:15 ce5c4a1c91eb: Download complete 20:20:15 52ebb69f0ebf: Verifying Checksum 20:20:15 52ebb69f0ebf: Download complete 20:20:28 ce5c4a1c91eb: Pull complete 20:20:28 169dfbe0d373: Pull complete 20:20:28 e1ff8fa3b103: Pull complete 20:20:35 52ebb69f0ebf: Pull complete 20:20:36 5abe8eddf0d5: Pull complete 20:20:36 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:20:36 ---> 6cb57ee374ae 20:20:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:20:38 ---> Running in 4cb2ff58bc7e 20:20:38 Removing intermediate container 4cb2ff58bc7e 20:20:38 ---> f8c041e252d0 20:20:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:38 ---> Running in 81f793e25e6a 20:20:39 Removing intermediate container 81f793e25e6a 20:20:39 ---> 36687d481684 20:20:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:20:39 ---> Running in 4552c157ae3e 20:20:39 Removing intermediate container 4552c157ae3e 20:20:39 ---> 962402b513bc 20:20:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:20:39 ---> Running in 3ce3f468d9e5 20:20:40 Removing intermediate container 3ce3f468d9e5 20:20:40 ---> 030bf874a1e7 20:20:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:20:40 ---> Running in cd7307c6d6d7 20:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:20:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:20:43 (2/4) Installing libedit (20221030.3.1-r0) 20:20:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:20:43 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:20:43 Executing busybox-1.35.0-r29.trigger 20:20:43 OK: 268 MiB in 57 packages 20:20:44 Removing intermediate container cd7307c6d6d7 20:20:44 ---> 5723f57204a4 20:20:44 Step 8/12 : WORKDIR /device-rest-go 20:20:44 ---> Running in f8e08aab6d68 20:20:45 Removing intermediate container f8e08aab6d68 20:20:45 ---> 128f30ad0509 20:20:45 Step 9/12 : COPY go.mod vendor* ./ 20:20:45 ---> 633a1eff8968 20:20:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:45 ---> Running in 69c03fa66844 20:21:53 Removing intermediate container 69c03fa66844 20:21:53 ---> 59be2b9c0fa6 20:21:53 Step 11/12 : COPY . . 20:21:54 ---> a93bbc5c8a7f 20:21:54 Step 12/12 : RUN $MAKE 20:21:54 ---> Running in 3e79e83c8ce4 20:21:55 noop 20:21:56 Removing intermediate container 3e79e83c8ce4 20:21:56 ---> b12eb6376c37 20:21:56 Successfully built b12eb6376c37 20:21:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:57 + docker inspect -f . ci-base-image-arm64 20:21:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:57 prd-ubuntu20.04-docker-arm64-4c-16g-5276 does not seem to be running inside a container 20:21:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:21:58 $ docker top 590d0c3da1aa26277640b836140ab832ba43d7a72e8dae68270649848b228a81 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:59 + go version 20:21:59 go version go1.20.2 linux/arm64 [Pipeline] } 20:21:59 $ docker stop --time=1 590d0c3da1aa26277640b836140ab832ba43d7a72e8dae68270649848b228a81 20:22:01 $ docker rm -f --volumes 590d0c3da1aa26277640b836140ab832ba43d7a72e8dae68270649848b228a81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:02 + docker inspect -f . ci-base-image-arm64 20:22:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:02 prd-ubuntu20.04-docker-arm64-4c-16g-5276 does not seem to be running inside a container 20:22:03 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 20:22:06 $ docker top 2ae7ac61957c228feab01358b9ccb1d34aee0be6018b0fc811bc936e35fdaca3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:06 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:22:07 + make test 20:22:07 go test ./... -coverprofile=coverage.out ./... 20:22:46 ? github.com/edgexfoundry/device-rest-go [no test files] 20:24:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:24:56 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.0% of statements 20:24:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:24:57 go vet ./... 20:25:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:25:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:25:29 ./bin/test-attribution-txt.sh [Pipeline] echo 20:25:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:25:29 $ docker stop --time=1 2ae7ac61957c228feab01358b9ccb1d34aee0be6018b0fc811bc936e35fdaca3 20:25:31 $ docker rm -f --volumes 2ae7ac61957c228feab01358b9ccb1d34aee0be6018b0fc811bc936e35fdaca3 [Pipeline] // withDockerContainer [Pipeline] sh 20:25:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:25:32 Warning: overwriting stash ‘coverage-report’ 20:25:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:25:34 + ls -al . 20:25:34 total 180 20:25:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 20:22 . 20:25:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:19 .. 20:25:34 -rw-rw-r-- 1 jenkins jenkins 151 Mar 22 20:19 .dockerignore 20:25:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 20:19 .git 20:25:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:19 .github 20:25:34 -rw-rw-r-- 1 jenkins jenkins 329 Mar 22 20:19 .gitignore 20:25:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 20:19 .golangci.yml 20:25:34 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 22 20:19 Attribution.txt 20:25:34 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 22 20:19 CHANGELOG.md 20:25:34 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 22 20:19 Dockerfile 20:25:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 20:19 GOVERNANCE.md 20:25:34 -rw-rw-r-- 1 jenkins jenkins 680 Mar 22 20:19 Jenkinsfile 20:25:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 20:19 LICENSE 20:25:34 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 22 20:19 Makefile 20:25:34 -rw-rw-r-- 1 jenkins jenkins 620 Mar 22 20:19 OWNERS.md 20:25:34 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 22 20:19 README.md 20:25:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 20:16 VERSION 20:25:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 20:19 bin 20:25:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:19 cmd 20:25:34 -rw-r--r-- 1 jenkins jenkins 14200 Mar 22 20:24 coverage.out 20:25:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 20:19 driver 20:25:34 -rw-rw-r-- 1 jenkins jenkins 3447 Mar 22 20:19 go.mod 20:25:34 -rw-rw-r-- 1 jenkins jenkins 31326 Mar 22 20:19 go.sum 20:25:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:19 snap 20:25:34 -rw-rw-r-- 1 jenkins jenkins 713 Mar 22 20:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:34 + 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=6930ef988c1b98fea5350abeb7be25054b716eaf --label arch=arm64 --label version=0.0.0 . 20:25:34 Sending build context to Docker daemon 153.1kB 20:25:34 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:25:34 Step 2/25 : FROM ${BASE} AS builder 20:25:34 ---> b12eb6376c37 20:25:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:25:34 ---> Running in 301cfebaa69a 20:25:35 Removing intermediate container 301cfebaa69a 20:25:35 ---> 307887fc28f3 20:25:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:25:35 ---> Running in 01390e6c1da4 20:25:35 Removing intermediate container 01390e6c1da4 20:25:35 ---> 9b13fb94b195 20:25:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:25:35 ---> Running in 89401d3cf9bd 20:25:35 Removing intermediate container 89401d3cf9bd 20:25:35 ---> 60eebeefbe0e 20:25:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:25:36 ---> Running in 638a920729b4 20:25:36 Removing intermediate container 638a920729b4 20:25:36 ---> a632a1f27013 20:25:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:25:36 ---> Running in 0bc2b52a87be 20:25:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:25:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:25:39 OK: 268 MiB in 57 packages 20:25:40 Removing intermediate container 0bc2b52a87be 20:25:40 ---> 1ce4526fc08a 20:25:40 Step 8/25 : WORKDIR /device-rest-go 20:25:40 ---> Running in 5b2ae6854d2e 20:25:40 Removing intermediate container 5b2ae6854d2e 20:25:40 ---> 6836075949e3 20:25:40 Step 9/25 : COPY go.mod vendor* ./ 20:25:40 ---> 92c3424112fd 20:25:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:41 ---> Running in 64c73f370fae 20:25:43 Removing intermediate container 64c73f370fae 20:25:43 ---> 7231440e1073 20:25:43 Step 11/25 : COPY . . 20:25:43 ---> 9184b2660257 20:25:43 Step 12/25 : RUN $MAKE 20:25:43 ---> Running in 70b87b965e35 20:25:44 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 20:28:06 Removing intermediate container 70b87b965e35 20:28:06 ---> 4d2a78b446c5 20:28:06 Step 13/25 : FROM alpine:3.17 20:28:06 3.17: Pulling from library/alpine 20:28:06 af6eaf76a39c: Already exists 20:28:06 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:28:06 Status: Downloaded newer image for alpine:3.17 20:28:06 ---> d74e625d9115 20:28:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:28:06 ---> Running in 18d2a08333a9 20:28:06 Removing intermediate container 18d2a08333a9 20:28:06 ---> 2598c24211b6 20:28:06 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:28:06 ---> Running in 8908c30208ed 20:28:06 Removing intermediate container 8908c30208ed 20:28:06 ---> 37a1157baa81 20:28:06 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:28:06 ---> Running in bc26a9120a9a 20:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:28:06 (1/1) Installing dumb-init (1.2.5-r2) 20:28:06 Executing busybox-1.35.0-r29.trigger 20:28:06 OK: 8 MiB in 16 packages 20:28:06 Removing intermediate container bc26a9120a9a 20:28:06 ---> 2b7234e9bb8c 20:28:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:28:06 ---> fd4bbd98b6f8 20:28:06 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:28:06 ---> 7ccb16af9ed0 20:28:06 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:28:06 ---> 9ba20cf087b5 20:28:06 Step 20/25 : EXPOSE 59986 20:28:06 ---> Running in 59fe45c4269f 20:28:06 Removing intermediate container 59fe45c4269f 20:28:06 ---> edd91f0bd4cc 20:28:06 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:28:06 ---> Running in 880edc7fd295 20:28:07 Removing intermediate container 880edc7fd295 20:28:07 ---> cc37f93999bd 20:28:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:28:07 ---> Running in 5a260b8f1c02 20:28:07 Removing intermediate container 5a260b8f1c02 20:28:07 ---> 468663b21861 20:28:07 Step 23/25 : LABEL arch=arm64 20:28:07 ---> Running in 48f35c0a5a72 20:28:08 Removing intermediate container 48f35c0a5a72 20:28:08 ---> 534fa001b2fa 20:28:08 Step 24/25 : LABEL git_sha=6930ef988c1b98fea5350abeb7be25054b716eaf 20:28:08 ---> Running in 402c09b3e4e3 20:28:08 Removing intermediate container 402c09b3e4e3 20:28:08 ---> 7621a4dacc3e 20:28:08 Step 25/25 : LABEL version=0.0.0 20:28:08 ---> Running in 56b030f33a5a 20:28:08 Removing intermediate container 56b030f33a5a 20:28:08 ---> ef7fc75f49e8 20:28:08 [Warning] One or more build-args [ARCH] were not consumed 20:28:08 Successfully built ef7fc75f49e8 20:28:08 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 20:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:09 20:28:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:10 arm64: Pulling from edgex-lftools-log-publisher 20:28:10 8998bd30e6a1: Pulling fs layer 20:28:10 04944245beec: Pulling fs layer 20:28:10 699f458cf7ca: Pulling fs layer 20:28:10 765212b225bb: Pulling fs layer 20:28:10 f23df028b6ca: Pulling fs layer 20:28:10 d65c8cfc05b1: Pulling fs layer 20:28:10 2437ff75d9bd: Pulling fs layer 20:28:10 765212b225bb: Waiting 20:28:10 2437ff75d9bd: Waiting 20:28:10 f23df028b6ca: Waiting 20:28:10 d65c8cfc05b1: Waiting 20:28:10 04944245beec: Verifying Checksum 20:28:10 04944245beec: Download complete 20:28:10 765212b225bb: Download complete 20:28:10 f23df028b6ca: Download complete 20:28:10 d65c8cfc05b1: Verifying Checksum 20:28:10 d65c8cfc05b1: Download complete 20:28:10 699f458cf7ca: Verifying Checksum 20:28:10 699f458cf7ca: Download complete 20:28:10 8998bd30e6a1: Verifying Checksum 20:28:12 2437ff75d9bd: Verifying Checksum 20:28:12 2437ff75d9bd: Download complete 20:28:15 8998bd30e6a1: Pull complete 20:28:16 04944245beec: Pull complete 20:28:17 699f458cf7ca: Pull complete 20:28:17 765212b225bb: Pull complete 20:28:18 f23df028b6ca: Pull complete 20:28:18 d65c8cfc05b1: Pull complete 20:28:33 2437ff75d9bd: Pull complete 20:28:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:28:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:33 prd-ubuntu20.04-docker-arm64-4c-16g-5276 does not seem to be running inside a container 20:28:33 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:28:36 $ docker top f4bc076202e311c723904ae0e9c2ceda693cc9b61171572c7f85a1828dda353e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:37 ---> job-cost.sh 20:28:37 lf-activate-venv: SKIPPING 20:28:37 INFO: No Stack... 20:28:37 INFO: Retrieving Pricing Info for: v3-standard-4 20:28:38 INFO: Archiving Costs [Pipeline] sh 20:28:39 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:28:39 + cut -d, -f6 [Pipeline] lock 20:28:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] 20:28:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] did not exist. Created. 20:28:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:28:39 /w/workspace/device-rest-go/1@tmp/durable-373687e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:28:40 + echo total: 0.10999999940395355 [Pipeline] stash 20:28:40 Warning: overwriting stash ‘stack-cost’ 20:28:40 Stashed 1 file(s) [Pipeline] } 20:28:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:28:40 $ docker stop --time=1 f4bc076202e311c723904ae0e9c2ceda693cc9b61171572c7f85a1828dda353e 20:28:42 $ docker rm -f --volumes f4bc076202e311c723904ae0e9c2ceda693cc9b61171572c7f85a1828dda353e [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 20:28:43 provisioning config files... 20:28:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-276@tmp/config9003656867537160090tmp [Pipeline] { [Pipeline] sh 20:28:43 + set +x 20:28:43 + bash -s -- 20:28:43 + curl -s https://codecov.io/bash 20:28:43 20:28:43 _____ _ 20:28:43 / ____| | | 20:28:43 | | ___ __| | ___ ___ _____ __ 20:28:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:28:43 | |___| (_) | (_| | __/ (_| (_) \ V / 20:28:43 \_____\___/ \__,_|\___|\___\___/ \_/ 20:28:43 Bash-1.0.6 20:28:43 20:28:43 20:28:43 ==> git version 2.25.1 found 20:28:43 ==> 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 20:28:43 Release-Date: 2020-01-08 20:28:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:28:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:28:43 ==> Jenkins CI detected. 20:28:43 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-276 20:28:43 project root: . 20:28:43 --> token set from env 20:28:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:28:43 ==> Running gcov in . (disable via -X gcov) 20:28:43 ==> Python coveragepy not found 20:28:43 ==> Searching for coverage reports in: 20:28:43 + . 20:28:43 -> Found 1 reports 20:28:43 ==> Detecting git/mercurial file structure 20:28:43 ==> Reading reports 20:28:43 + ./coverage.out bytes=14200 20:28:43 ==> Appending adjustments 20:28:43 https://docs.codecov.io/docs/fixing-reports 20:28:44 + Found adjustments 20:28:44 ==> Gzipping contents 20:28:44 4.0K /tmp/codecov.DayuHV.gz 20:28:44 ==> Uploading reports 20:28:44 url: https://codecov.io 20:28:44 query: branch=PR-276&commit=6930ef988c1b98fea5350abeb7be25054b716eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=276&job=&cmd_args= 20:28:44 -> Pinging Codecov 20:28:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-276&commit=6930ef988c1b98fea5350abeb7be25054b716eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=276&job=&cmd_args= 20:28:44 -> Uploading to 20:28:44 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/4E5D53B4F1F92C436F7061BF334D961C/6930ef988c1b98fea5350abeb7be25054b716eaf/377e6540-d00c-493d-9930-b3732c15e4ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T202844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90989522017b0864bed821b0eceb43496d7ebf8080c12f9df5397329ea10f203 20:28:44 % Total % Received % Xferd Average Speed Time Time Time Current 20:28:44 Dload Upload Total Spent Left Speed 20:28:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 8081 --:--:-- --:--:-- --:--:-- 8081 20:28:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6930ef988c1b98fea5350abeb7be25054b716eaf [Pipeline] } 20:28:44 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 20:28:46 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-276/archives ] 20:28:46 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-276/archives 20:28:46 total 16 20:28:46 drwxr-xr-x 3 root root 4096 Mar 22 20:19 . 20:28:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 20:19 .. 20:28:46 drwxr-xr-x 2 root root 4096 Mar 22 20:19 cost 20:28:46 -rw-r--r-- 1 root root 86 Mar 22 20:19 cost.csv 20:28:46 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-276/archives 20:28:46 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-276/archives 20:28:46 total 16 20:28:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 20:19 . 20:28:46 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 20:19 .. 20:28:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 20:19 cost 20:28:46 -rw-r--r-- 1 jenkins jenkins 86 Mar 22 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:28:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:28:47 ---> package-listing.sh 20:28:47 ++ facter osfamily 20:28:47 ++ tr '[:upper:]' '[:lower:]' 20:28:47 + OS_FAMILY=debian 20:28:47 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-276 20:28:47 + START_PACKAGES=/tmp/packages_start.txt 20:28:47 + END_PACKAGES=/tmp/packages_end.txt 20:28:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:28:47 + PACKAGES=/tmp/packages_start.txt 20:28:47 + '[' /w/workspace/gexfoundry_device-rest-go_PR-276 ']' 20:28:47 + PACKAGES=/tmp/packages_end.txt 20:28:47 + case "${OS_FAMILY}" in 20:28:47 + dpkg -l 20:28:47 + grep '^ii' 20:28:47 + '[' -f /tmp/packages_start.txt ']' 20:28:47 + '[' -f /tmp/packages_end.txt ']' 20:28:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:28:47 + '[' /w/workspace/gexfoundry_device-rest-go_PR-276 ']' 20:28:47 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-276/archives/ 20:28:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-276/archives/ [Pipeline] echo 20:28:47 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-276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:28:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:49 prd-ubuntu20.04-docker-8c-8g-5274 does not seem to be running inside a container 20:28:49 $ 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-276/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-276 -v /w/workspace/gexfoundry_device-rest-go_PR-276:/w/workspace/gexfoundry_device-rest-go_PR-276:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-276@tmp:/w/workspace/gexfoundry_device-rest-go_PR-276@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:28:50 $ docker top 4bd639ea5b3e0dae605905c057f5b527deee71bcbe18bd720dc7f9850addd3e7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:50 + touch /tmp/pre-build-complete [Pipeline] sh 20:28:51 + mkdir -p /var/log/sysstat [Pipeline] sh 20:28:53 + ls /var/log/sa-host 20:28:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:54 provisioning config files... 20:28:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-276@tmp/config7931305890494267596tmp [Pipeline] { [Pipeline] echo 20:28:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:28:55 ---> create-netrc.sh [Pipeline] } 20:28:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:28:56 ---> python-tools-install.sh [Pipeline] echo 20:28:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:28:56 ---> sudo-logs.sh 20:28:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:28:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:28:57 ---> job-cost.sh 20:28:57 lf-activate-venv: SKIPPING 20:28:57 DEBUG: total: 0.2199999988079071 20:28:57 INFO: Retrieving Stack Cost... 20:28:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:28:57 INFO: Archiving Costs [Pipeline] echo 20:28:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:28:58 ---> logs-deploy.sh 20:28:58 lf-activate-venv: SKIPPING 20:28:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-276/1 20:28:58 INFO: archiving workspace using pattern(s): 20:28:59 Archives upload complete. 20:28:59 INFO: archiving logs to Nexus 20:29:00 ---> uname -a: 20:29:00 Linux prd-ubuntu20-04-docker-8c-8g-5274 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:29:00 20:29:00 20:29:00 ---> lscpu: 20:29:00 Architecture: x86_64 20:29:00 CPU op-mode(s): 32-bit, 64-bit 20:29:00 Byte Order: Little Endian 20:29:00 Address sizes: 40 bits physical, 48 bits virtual 20:29:00 CPU(s): 8 20:29:00 On-line CPU(s) list: 0-7 20:29:00 Thread(s) per core: 1 20:29:00 Core(s) per socket: 1 20:29:00 Socket(s): 8 20:29:00 NUMA node(s): 1 20:29:00 Vendor ID: AuthenticAMD 20:29:00 CPU family: 23 20:29:00 Model: 49 20:29:00 Model name: AMD EPYC-Rome Processor 20:29:00 Stepping: 0 20:29:00 CPU MHz: 2800.000 20:29:00 BogoMIPS: 5600.00 20:29:00 Virtualization: AMD-V 20:29:00 Hypervisor vendor: KVM 20:29:00 Virtualization type: full 20:29:00 L1d cache: 256 KiB 20:29:00 L1i cache: 256 KiB 20:29:00 L2 cache: 4 MiB 20:29:00 L3 cache: 128 MiB 20:29:00 NUMA node0 CPU(s): 0-7 20:29:00 Vulnerability Itlb multihit: Not affected 20:29:00 Vulnerability L1tf: Not affected 20:29:00 Vulnerability Mds: Not affected 20:29:00 Vulnerability Meltdown: Not affected 20:29:00 Vulnerability Mmio stale data: Not affected 20:29:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:29:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:29:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:29:00 Vulnerability Srbds: Not affected 20:29:00 Vulnerability Tsx async abort: Not affected 20:29:00 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 20:29:00 20:29:00 20:29:00 ---> nproc: 20:29:00 8 20:29:00 20:29:00 20:29:00 ---> df -h: 20:29:00 Filesystem Size Used Avail Use% Mounted on 20:29:00 overlay 155G 12G 144G 8% / 20:29:00 tmpfs 64M 0 64M 0% /dev 20:29:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:29:00 shm 64M 0 64M 0% /dev/shm 20:29:00 /dev/vda1 155G 12G 144G 8% /facter-os 20:29:00 20:29:00