Pull request #302 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857+d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 (271c1fa3360109a6d26947aa9e48a50de7140d3b) 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-ssh13118166073275447295.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11637244863935498456.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-302/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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4221751158141767576.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-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11499496685397087582.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh4493465635426634433.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-302/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-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13327347192454649671.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-11073 in /w/workspace/gexfoundry_device-rest-go_PR-302 [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-302 # 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 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 Merge succeeded, producing fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 Checking out Revision fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 (PR-302) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > 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/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # 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 d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # timeout=10 [Pipeline] timeout 20:59:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:48 ========================================================= 20:59:48 EdgeX Global Pipelines Version Info 20:59:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:59:49 ------------------- 20:59:49 stable info: 20:59:49 ------------------- 20:59:49 Commited By: Bill Mahoney bill.mahoney@intel.com 20:59:49 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:59:49 Message: update stable to v1.0.248 20:59:49 ------------------- 20:59:49 experimental info: 20:59:49 ------------------- 20:59:49 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:49 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:59:49 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb0fe83 [Pipeline] echo 20:59:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:51 provisioning config files... 20:59:51 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config9458962161620463335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:51 ---> docker-login.sh 20:59:51 nexus3.edgexfoundry.org:10001 20:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:52 Configure a credential helper to remove this warning. See 20:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:52 20:59:52 Login Succeeded 20:59:52 nexus3.edgexfoundry.org:10002 20:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:52 Configure a credential helper to remove this warning. See 20:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:52 20:59:52 Login Succeeded 20:59:52 nexus3.edgexfoundry.org:10003 20:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:52 Configure a credential helper to remove this warning. See 20:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:52 20:59:52 Login Succeeded 20:59:52 nexus3.edgexfoundry.org:10004 20:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:52 Configure a credential helper to remove this warning. See 20:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:52 20:59:52 Login Succeeded 20:59:52 docker.io 20:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:52 Configure a credential helper to remove this warning. See 20:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:52 20:59:52 Login Succeeded 20:59:52 ---> docker-login.sh ends [Pipeline] } 20:59:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:53 + git rev-list -1 --merges fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857~1..fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo 20:59:53 -----------> git rev-list -1 --merges fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857~1..fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [false] [Pipeline] sh 20:59:53 + git log --format=format:%s -1 fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo 20:59:53 ========================================================= 20:59:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:54 + git log --format=format:%s -1 fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo 20:59:54 [semverPrep] GIT_COMMIT: fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 20:59:54 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:54 + grep -v github /etc/ssh/ssh_known_hosts 20:59:54 + [ -e /tmp/ssh_known_hosts ] 20:59:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:54 + sudo tee -a /etc/ssh/ssh_known_hosts 20:59:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:55 20:59:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:55 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:55 b85a868b505f: Pulling fs layer 20:59:55 e2be974225ed: Pulling fs layer 20:59:55 339a4e72a1f5: Pulling fs layer 20:59:55 988bab9f4d93: Pulling fs layer 20:59:55 1469e6f7b9e6: Pulling fs layer 20:59:55 eaf3925da568: Pulling fs layer 20:59:55 bab4dde63d76: Pulling fs layer 20:59:55 bde34c3a00c8: Pulling fs layer 20:59:55 b352a97aabf1: Pulling fs layer 20:59:55 4872d77fe225: Pulling fs layer 20:59:55 988bab9f4d93: Waiting 20:59:55 1469e6f7b9e6: Waiting 20:59:55 b352a97aabf1: Waiting 20:59:55 bde34c3a00c8: Waiting 20:59:55 eaf3925da568: Waiting 20:59:55 bab4dde63d76: Waiting 20:59:55 5851b861e8e6: Pulling fs layer 20:59:55 5851b861e8e6: Waiting 20:59:55 e2be974225ed: Download complete 20:59:55 988bab9f4d93: Verifying Checksum 20:59:55 988bab9f4d93: Download complete 20:59:55 1469e6f7b9e6: Verifying Checksum 20:59:55 1469e6f7b9e6: Download complete 20:59:55 339a4e72a1f5: Verifying Checksum 20:59:55 339a4e72a1f5: Download complete 20:59:55 eaf3925da568: Verifying Checksum 20:59:55 eaf3925da568: Download complete 20:59:55 bde34c3a00c8: Download complete 20:59:55 b352a97aabf1: Verifying Checksum 20:59:55 b352a97aabf1: Download complete 20:59:55 4872d77fe225: Download complete 20:59:55 5851b861e8e6: Verifying Checksum 20:59:55 5851b861e8e6: Download complete 20:59:55 b85a868b505f: Download complete 20:59:55 bab4dde63d76: Verifying Checksum 20:59:55 bab4dde63d76: Download complete 20:59:56 b85a868b505f: Pull complete 20:59:56 e2be974225ed: Pull complete 20:59:57 339a4e72a1f5: Pull complete 20:59:57 988bab9f4d93: Pull complete 20:59:57 1469e6f7b9e6: Pull complete 20:59:57 eaf3925da568: Pull complete 20:59:59 bab4dde63d76: Pull complete 20:59:59 bde34c3a00c8: Pull complete 20:59:59 b352a97aabf1: Pull complete 20:59:59 4872d77fe225: Pull complete 20:59:59 5851b861e8e6: Pull complete 20:59:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:00 prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container 21:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@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 21:00:02 $ docker top 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 -eo pid,comm 21:00:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:00:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:02 [ssh-agent] Looking for ssh-agent implementation... 21:00:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:02 $ docker exec 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent 21:00:02 SSH_AUTH_SOCK=/tmp/ssh-MOCMfXWJGP2q/agent.32 21:00:02 SSH_AGENT_PID=38 21:00:02 Running ssh-add (command line suppressed) 21:00:02 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_931208502403380751.key (/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_931208502403380751.key) 21:00:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:03 + git tag --points-at HEAD [Pipeline] } 21:00:03 $ docker exec --env ******** --env ******** 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent -k 21:00:03 unset SSH_AUTH_SOCK; 21:00:03 unset SSH_AGENT_PID; 21:00:03 echo Agent pid 38 killed; 21:00:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:00:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:03 [ssh-agent] Looking for ssh-agent implementation... 21:00:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:03 $ docker exec 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent 21:00:03 SSH_AUTH_SOCK=/tmp/ssh-beskZdRYZp4j/agent.70 21:00:03 SSH_AGENT_PID=76 21:00:03 Running ssh-add (command line suppressed) 21:00:03 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_15593816223324229697.key (/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_15593816223324229697.key) 21:00:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:03 + git semver init 21:00:04 2023-04-26 21:00:04,088 [run_init] DEBUG init version:0.0.0 force:False 21:00:04 2023-04-26 21:00:04,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-302/.semver 21:00:04 2023-04-26 21:00:04,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-302/.semver 21:00:04 2023-04-26 21:00:04,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-302/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-302, universal_newlines=False, shell=None, istream=None) 21:00:05 2023-04-26 21:00:05,551 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-302/.git/info/exclude 21:00:05 2023-04-26 21:00:05,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-302/.semver/PR-302 with force:False 21:00:05 2023-04-26 21:00:05,552 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-302/.semver/PR-302 21:00:05 2023-04-26 21:00:05,556 [execute] INFO git cat-file --batch-check 21:00:05 2023-04-26 21:00:05,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 21:00:05 2023-04-26 21:00:05,562 [execute] INFO git cat-file --batch 21:00:05 2023-04-26 21:00:05,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 21:00:05 2023-04-26 21:00:05,567 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-302/.semver/PR-302 21:00:05 0.0.0 [Pipeline] } 21:00:05 $ docker exec --env ******** --env ******** 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent -k 21:00:05 unset SSH_AUTH_SOCK; 21:00:05 unset SSH_AGENT_PID; 21:00:05 echo Agent pid 76 killed; 21:00:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:06 + git semver [Pipeline] } 21:00:06 $ docker stop --time=1 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 21:00:07 $ docker rm -f --volumes 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:00:08 Stashed 1 file(s) [Pipeline] echo 21:00:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:09 provisioning config files... 21:00:09 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config15397796002948629906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:09 ---> docker-login.sh 21:00:09 nexus3.edgexfoundry.org:10001 21:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:09 Configure a credential helper to remove this warning. See 21:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:09 21:00:09 Login Succeeded 21:00:09 nexus3.edgexfoundry.org:10002 21:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:09 Configure a credential helper to remove this warning. See 21:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:09 21:00:09 Login Succeeded 21:00:09 nexus3.edgexfoundry.org:10003 21:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:09 Configure a credential helper to remove this warning. See 21:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:09 21:00:09 Login Succeeded 21:00:09 nexus3.edgexfoundry.org:10004 21:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:09 Configure a credential helper to remove this warning. See 21:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:09 21:00:09 Login Succeeded 21:00:09 docker.io 21:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:10 Configure a credential helper to remove this warning. See 21:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:10 21:00:10 Login Succeeded 21:00:10 ---> docker-login.sh ends [Pipeline] } 21:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:10 ========================================================= 21:00:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:00:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:00:10 Sending build context to Docker daemon 10.91MB 21:00:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:00:10 Step 2/12 : FROM ${BASE} AS builder 21:00:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:00:10 f56be85fc22e: Pulling fs layer 21:00:10 85791d961cd3: Pulling fs layer 21:00:10 d694b5ae8c79: Pulling fs layer 21:00:10 9f32a84ed3da: Pulling fs layer 21:00:10 4d19c01a9841: Pulling fs layer 21:00:10 9325e15d5711: Pulling fs layer 21:00:10 556b6ee489ea: Pulling fs layer 21:00:10 c5a4b2cf53e6: Pulling fs layer 21:00:10 9325e15d5711: Waiting 21:00:10 556b6ee489ea: Waiting 21:00:10 c5a4b2cf53e6: Waiting 21:00:10 9f32a84ed3da: Waiting 21:00:10 4d19c01a9841: Waiting 21:00:10 85791d961cd3: Download complete 21:00:10 9f32a84ed3da: Download complete 21:00:11 4d19c01a9841: Verifying Checksum 21:00:11 4d19c01a9841: Download complete 21:00:11 f56be85fc22e: Download complete 21:00:11 9325e15d5711: Verifying Checksum 21:00:11 9325e15d5711: Download complete 21:00:11 f56be85fc22e: Pull complete 21:00:11 85791d961cd3: Pull complete 21:00:11 c5a4b2cf53e6: Verifying Checksum 21:00:11 c5a4b2cf53e6: Download complete 21:00:11 d694b5ae8c79: Verifying Checksum 21:00:11 d694b5ae8c79: Download complete 21:00:11 556b6ee489ea: Verifying Checksum 21:00:11 556b6ee489ea: Download complete 21:00:15 d694b5ae8c79: Pull complete 21:00:15 9f32a84ed3da: Pull complete 21:00:15 4d19c01a9841: Pull complete 21:00:15 9325e15d5711: Pull complete 21:00:17 556b6ee489ea: Pull complete 21:00:18 c5a4b2cf53e6: Pull complete 21:00:18 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:00:18 ---> c4be618373d6 21:00:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:00:22 ---> Running in 60ac5a6a6690 21:00:22 Removing intermediate container 60ac5a6a6690 21:00:22 ---> da0ca6d37658 21:00:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:22 ---> Running in 4ad57d2f480b 21:00:22 Removing intermediate container 4ad57d2f480b 21:00:22 ---> eaf5238ad68d 21:00:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:22 ---> Running in f7ae8d9fa957 21:00:22 Removing intermediate container f7ae8d9fa957 21:00:22 ---> 91df826f4a35 21:00:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:00:22 ---> Running in 843783478f6a 21:00:22 Removing intermediate container 843783478f6a 21:00:22 ---> 7963a814b933 21:00:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:22 ---> Running in 0d128fa9075e 21:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:22 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:00:22 (2/4) Installing libedit (20221030.3.1-r0) 21:00:22 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:00:22 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:00:22 Executing busybox-1.35.0-r29.trigger 21:00:22 OK: 269 MiB in 57 packages 21:00:23 Removing intermediate container 0d128fa9075e 21:00:23 ---> 136a34dff18c 21:00:23 Step 8/12 : WORKDIR /device-rest-go 21:00:23 ---> Running in f2f3dfdeaace 21:00:23 Removing intermediate container f2f3dfdeaace 21:00:23 ---> aa1d05fb2dba 21:00:23 Step 9/12 : COPY go.mod vendor* ./ 21:00:23 ---> 37d6f5f5d978 21:00:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:23 ---> Running in 1dfcd16f5881 21:00:24 Still waiting to schedule task 21:00:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:01:02 Removing intermediate container 1dfcd16f5881 21:01:02 ---> fb1b744455b9 21:01:02 Step 11/12 : COPY . . 21:01:02 ---> e193cf576a01 21:01:02 Step 12/12 : RUN $MAKE 21:01:02 ---> Running in 0874b29b4461 21:01:02 noop 21:01:02 Removing intermediate container 0874b29b4461 21:01:02 ---> e3f60e6b13ff 21:01:02 Successfully built e3f60e6b13ff 21:01:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:02 + docker inspect -f . ci-base-image-x86_64 21:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:02 prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container 21:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@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 21:01:03 $ docker top b0cf626590efbb95c5166295765594276655f5f30f0af9dfe00bc04bff2466b1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:03 + go version 21:01:03 go version go1.20.2 linux/amd64 [Pipeline] } 21:01:03 $ docker stop --time=1 b0cf626590efbb95c5166295765594276655f5f30f0af9dfe00bc04bff2466b1 21:01:04 $ docker rm -f --volumes b0cf626590efbb95c5166295765594276655f5f30f0af9dfe00bc04bff2466b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:05 + docker inspect -f . ci-base-image-x86_64 21:01:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:05 prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container 21:01:05 $ 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-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@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 21:01:05 $ docker top a96d4f93d1608db5650b00973d9e51bff2d12f8af421b540a9c3ecbb01afdd69 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-302 [Pipeline] fileExists [Pipeline] sh 21:01:06 + make test 21:01:06 go test ./... -coverprofile=coverage.out ./... 21:01:11 ? github.com/edgexfoundry/device-rest-go [no test files] 21:01:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:01:21 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements 21:01:28 go vet ./... 21:01:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:01:32 $ docker stop --time=1 a96d4f93d1608db5650b00973d9e51bff2d12f8af421b540a9c3ecbb01afdd69 21:01:34 $ docker rm -f --volumes a96d4f93d1608db5650b00973d9e51bff2d12f8af421b540a9c3ecbb01afdd69 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:01:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:36 + ls -al . 21:01:36 total 184 21:01:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 21:01 . 21:01:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:59 .. 21:01:36 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 20:59 .dockerignore 21:01:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:00 .git 21:01:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:59 .github 21:01:36 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 20:59 .gitignore 21:01:36 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 20:59 .golangci.yml 21:01:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 21:00 .semver 21:01:36 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 26 20:59 Attribution.txt 21:01:36 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 26 20:59 CHANGELOG.md 21:01:36 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 26 20:59 Dockerfile 21:01:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 20:59 GOVERNANCE.md 21:01:36 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 20:59 Jenkinsfile 21:01:36 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 20:59 LICENSE 21:01:36 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 26 20:59 Makefile 21:01:36 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 20:59 OWNERS.md 21:01:36 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 26 20:59 README.md 21:01:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 21:00 VERSION 21:01:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:59 bin 21:01:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:59 cmd 21:01:36 -rw-r--r-- 1 jenkins jenkins 14663 Apr 26 21:01 coverage.out 21:01:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:59 driver 21:01:36 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 26 20:59 go.mod 21:01:36 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 20:59 go.sum 21:01:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:59 snap 21:01:36 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:36 + 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=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 --label arch=amd64 --label version=0.0.0 . 21:01:36 Sending build context to Docker daemon 10.92MB 21:01:36 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:01:36 Step 2/25 : FROM ${BASE} AS builder 21:01:36 ---> e3f60e6b13ff 21:01:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:01:36 ---> Running in b8c0af7a0cf2 21:01:37 Removing intermediate container b8c0af7a0cf2 21:01:37 ---> 7244e2f45a0c 21:01:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:37 ---> Running in 6f247278c044 21:01:37 Removing intermediate container 6f247278c044 21:01:37 ---> c3a4098b2dec 21:01:37 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:37 ---> Running in 6ecba2dcbcd0 21:01:37 Removing intermediate container 6ecba2dcbcd0 21:01:37 ---> 25881b030f50 21:01:37 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:01:37 ---> Running in 4372faf7bb7d 21:01:37 Removing intermediate container 4372faf7bb7d 21:01:37 ---> 9966ac008eb6 21:01:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:37 ---> Running in b3d552111010 21:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:37 OK: 269 MiB in 57 packages 21:01:38 Removing intermediate container b3d552111010 21:01:38 ---> 9be208aab525 21:01:38 Step 8/25 : WORKDIR /device-rest-go 21:01:38 ---> Running in e4669d7f9019 21:01:38 Removing intermediate container e4669d7f9019 21:01:38 ---> e18510b93fc8 21:01:38 Step 9/25 : COPY go.mod vendor* ./ 21:01:38 ---> 904666f6291d 21:01:38 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:38 ---> Running in c751ebe5385c 21:01:39 Removing intermediate container c751ebe5385c 21:01:39 ---> 0083e7d3aa65 21:01:39 Step 11/25 : COPY . . 21:01:39 ---> 4c156f8432a4 21:01:39 Step 12/25 : RUN $MAKE 21:01:39 ---> Running in 2f7cdf1071fd 21:01:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:01:57 Removing intermediate container 2f7cdf1071fd 21:01:57 ---> 4cc9b67b10c5 21:01:57 Step 13/25 : FROM alpine:3.17 21:01:58 3.17: Pulling from library/alpine 21:01:58 f56be85fc22e: Already exists 21:01:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:01:58 Status: Downloaded newer image for alpine:3.17 21:01:58 ---> 9ed4aefc74f6 21:01:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:01:58 ---> Running in 729742b9b9fd 21:01:58 Removing intermediate container 729742b9b9fd 21:01:58 ---> 665ece16dcc8 21:01:58 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:01:58 ---> Running in 2be4295bb20d 21:01:58 Removing intermediate container 2be4295bb20d 21:01:58 ---> 4e8ddb5f4e7d 21:01:58 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:01:58 ---> Running in 697c94e09a84 21:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:59 (1/1) Installing dumb-init (1.2.5-r2) 21:01:59 Executing busybox-1.35.0-r29.trigger 21:01:59 OK: 7 MiB in 16 packages 21:01:59 Removing intermediate container 697c94e09a84 21:01:59 ---> 92a46bed58e3 21:01:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:02:00 ---> ab91ae00d702 21:02:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:02:00 ---> f57177bd20d4 21:02:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:02:00 ---> d17cd06e7909 21:02:00 Step 20/25 : EXPOSE 59986 21:02:00 ---> Running in 26389ae7cfbf 21:02:00 Removing intermediate container 26389ae7cfbf 21:02:00 ---> ab0089f84346 21:02:00 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:02:00 ---> Running in 40596d089933 21:02:00 Removing intermediate container 40596d089933 21:02:00 ---> 7e5b2c2a8eb7 21:02:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:02:00 ---> Running in 86331978652b 21:02:01 Removing intermediate container 86331978652b 21:02:01 ---> de228cafbffe 21:02:01 Step 23/25 : LABEL arch=amd64 21:02:01 ---> Running in 6e6e1b2e2590 21:02:01 Removing intermediate container 6e6e1b2e2590 21:02:01 ---> 44c1ad629383 21:02:01 Step 24/25 : LABEL git_sha=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 21:02:01 ---> Running in ad1784c19cdb 21:02:01 Removing intermediate container ad1784c19cdb 21:02:01 ---> 66f0ec935823 21:02:01 Step 25/25 : LABEL version=0.0.0 21:02:01 ---> Running in 93cb510501e0 21:02:01 Removing intermediate container 93cb510501e0 21:02:01 ---> 030112dfb3bb 21:02:01 [Warning] One or more build-args [ARCH] were not consumed 21:02:01 Successfully built 030112dfb3bb 21:02:01 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:01 21:02:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:02 latest: Pulling from edgex-lftools-log-publisher 21:02:02 5eb5b503b376: Pulling fs layer 21:02:02 5c69ac0246d0: Pulling fs layer 21:02:02 ec43610c2a17: Pulling fs layer 21:02:02 3a2ae6a8a46f: Pulling fs layer 21:02:02 33b1e0a273af: Pulling fs layer 21:02:02 5d3b04190fa2: Pulling fs layer 21:02:02 2f39f015ded8: Pulling fs layer 21:02:02 3a2ae6a8a46f: Waiting 21:02:02 5d3b04190fa2: Waiting 21:02:02 33b1e0a273af: Waiting 21:02:02 5c69ac0246d0: Verifying Checksum 21:02:02 5c69ac0246d0: Download complete 21:02:02 3a2ae6a8a46f: Verifying Checksum 21:02:02 3a2ae6a8a46f: Download complete 21:02:02 33b1e0a273af: Verifying Checksum 21:02:02 33b1e0a273af: Download complete 21:02:02 5d3b04190fa2: Download complete 21:02:02 ec43610c2a17: Download complete 21:02:02 5eb5b503b376: Download complete 21:02:03 2f39f015ded8: Download complete 21:02:03 5eb5b503b376: Pull complete 21:02:03 5c69ac0246d0: Pull complete 21:02:04 ec43610c2a17: Pull complete 21:02:04 3a2ae6a8a46f: Pull complete 21:02:04 33b1e0a273af: Pull complete 21:02:04 5d3b04190fa2: Pull complete 21:02:08 2f39f015ded8: Pull complete 21:02:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:08 prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container 21:02:08 $ 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-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@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 21:02:11 $ docker top eb30622f85658d38ff1e6fc960412a115620b4851706b640302ba1fc16c68c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:11 ---> job-cost.sh 21:02:11 lf-activate-venv: SKIPPING 21:02:11 INFO: No Stack... 21:02:12 INFO: Retrieving Pricing Info for: v3-standard-8 21:02:12 INFO: Archiving Costs [Pipeline] sh 21:02:12 + cat /w/workspace/gexfoundry_device-rest-go_PR-302/archives/cost.csv 21:02:12 + cut -d, -f6 [Pipeline] lock 21:02:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] 21:02:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] did not exist. Created. 21:02:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:02:13 + echo total: 0.2199999988079071 [Pipeline] stash 21:02:13 Stashed 1 file(s) [Pipeline] } 21:02:13 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:02:13 $ docker stop --time=1 eb30622f85658d38ff1e6fc960412a115620b4851706b640302ba1fc16c68c1a 21:02:14 $ docker rm -f --volumes eb30622f85658d38ff1e6fc960412a115620b4851706b640302ba1fc16c68c1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:03:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11076 in /w/workspace/gexfoundry_device-rest-go_PR-302 [Pipeline] { [Pipeline] ws 21:03:43 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:03:43 The recommended git tool is: git 21:03:50 using credential edgex-jenkins-ssh 21:03:50 Cloning the remote Git repository 21:03:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:03:51 > git init /w/workspace/device-rest-go/1 # timeout=10 21:03:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:03:51 > git --version # timeout=10 21:03:51 > git --version # 'git version 2.25.1' 21:03:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:03:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:55 Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 21:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:03:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:03:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:03:55 > git config core.sparsecheckout # timeout=10 21:03:55 > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # timeout=10 21:03:55 Merge succeeded, producing fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 21:03:55 Checking out Revision fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 (PR-302) 21:03:56 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 21:03:56 > git --version # timeout=10 21:03:56 > git --version # 'git version 2.25.1' 21:03:56 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:55 > git remote # timeout=10 21:03:55 > git config --get remote.origin.url # timeout=10 21:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:55 > git merge d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 21:03:55 > git rev-parse HEAD^{commit} # timeout=10 21:03:55 > git config core.sparsecheckout # timeout=10 21:03:55 > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # timeout=10 21:03:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:03:57 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:57 Dload Upload Total Spent Left Speed 21:03:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 21:03:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:03:58 + + sudo teesudo /etc/docker/daemon.new jq 21:03:58 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:03:58 { 21:03:58 "registry-mirrors": [ 21:03:58 "https://nexus3.edgexfoundry.org:10001" 21:03:58 ], 21:03:58 "bip": "10.250.0.254/24", 21:03:58 "hosts": [ 21:03:58 "tcp://0.0.0.0:5555", 21:03:58 "unix:///var/run/docker.sock" 21:03:58 ], 21:03:58 "mtu": 1458, 21:03:58 "selinux-enabled": true, 21:03:58 "seccomp-profile": "/etc/docker/seccomp.json" 21:03:58 } [Pipeline] sh 21:03:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:03:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:17 provisioning config files... 21:04:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16997730892357645557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:18 ---> docker-login.sh 21:04:18 nexus3.edgexfoundry.org:10001 21:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:18 Configure a credential helper to remove this warning. See 21:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:18 21:04:18 Login Succeeded 21:04:18 nexus3.edgexfoundry.org:10002 21:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:19 Configure a credential helper to remove this warning. See 21:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:19 21:04:19 Login Succeeded 21:04:19 nexus3.edgexfoundry.org:10003 21:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:19 Configure a credential helper to remove this warning. See 21:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:19 21:04:19 Login Succeeded 21:04:19 nexus3.edgexfoundry.org:10004 21:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:20 Configure a credential helper to remove this warning. See 21:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:20 21:04:20 Login Succeeded 21:04:20 docker.io 21:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:20 Configure a credential helper to remove this warning. See 21:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:20 21:04:20 Login Succeeded 21:04:20 ---> docker-login.sh ends [Pipeline] } 21:04:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:21 ========================================================= 21:04:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:04:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:04:21 Sending build context to Docker daemon 138.8kB 21:04:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:04:22 Step 2/12 : FROM ${BASE} AS builder 21:04:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:04:22 c41833b44d91: Pulling fs layer 21:04:22 ed15518f5707: Pulling fs layer 21:04:22 feae8fd75edb: Pulling fs layer 21:04:22 242c74f7c9fa: Pulling fs layer 21:04:22 3cdef696dda3: Pulling fs layer 21:04:22 2ced38df9373: Pulling fs layer 21:04:22 58f1dce35555: Pulling fs layer 21:04:22 3cdef696dda3: Waiting 21:04:22 2ced38df9373: Waiting 21:04:22 58f1dce35555: Waiting 21:04:22 242c74f7c9fa: Waiting 21:04:22 ed15518f5707: Verifying Checksum 21:04:22 ed15518f5707: Download complete 21:04:22 242c74f7c9fa: Verifying Checksum 21:04:22 242c74f7c9fa: Download complete 21:04:22 3cdef696dda3: Verifying Checksum 21:04:22 3cdef696dda3: Download complete 21:04:22 c41833b44d91: Verifying Checksum 21:04:22 c41833b44d91: Download complete 21:04:23 c41833b44d91: Pull complete 21:04:24 58f1dce35555: Verifying Checksum 21:04:24 58f1dce35555: Download complete 21:04:24 ed15518f5707: Pull complete 21:04:26 feae8fd75edb: Verifying Checksum 21:04:26 feae8fd75edb: Download complete 21:04:26 2ced38df9373: Verifying Checksum 21:04:26 2ced38df9373: Download complete 21:04:38 feae8fd75edb: Pull complete 21:04:38 242c74f7c9fa: Pull complete 21:04:38 3cdef696dda3: Pull complete 21:04:45 2ced38df9373: Pull complete 21:04:47 58f1dce35555: Pull complete 21:04:47 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:04:47 ---> fadd8f120f05 21:04:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:04:49 ---> Running in 0c3bcd1bfc52 21:04:49 Removing intermediate container 0c3bcd1bfc52 21:04:49 ---> c99d63aea495 21:04:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:49 ---> Running in ef90a7262de9 21:04:50 Removing intermediate container ef90a7262de9 21:04:50 ---> d77e85febeca 21:04:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:50 ---> Running in c2e04c4a3430 21:04:50 Removing intermediate container c2e04c4a3430 21:04:50 ---> b72f0a2d39c0 21:04:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:04:50 ---> Running in c6e6e54ef9ae 21:04:51 Removing intermediate container c6e6e54ef9ae 21:04:51 ---> 78e26cef63f4 21:04:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:51 ---> Running in 89d99154c463 21:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:04:54 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:04:54 (2/4) Installing libedit (20221030.3.1-r0) 21:04:54 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:04:54 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:04:54 Executing busybox-1.35.0-r29.trigger 21:04:54 OK: 268 MiB in 57 packages 21:04:58 Removing intermediate container 89d99154c463 21:04:58 ---> f97b34956d31 21:04:58 Step 8/12 : WORKDIR /device-rest-go 21:04:58 ---> Running in c64155960a02 21:04:58 Removing intermediate container c64155960a02 21:04:58 ---> 67b97fd10db1 21:04:58 Step 9/12 : COPY go.mod vendor* ./ 21:04:59 ---> 548ce3d4f785 21:04:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:59 ---> Running in 59f9bdb0337a 21:06:06 Removing intermediate container 59f9bdb0337a 21:06:06 ---> 3dc487059eb2 21:06:06 Step 11/12 : COPY . . 21:06:06 ---> 00c2f17be1a7 21:06:06 Step 12/12 : RUN $MAKE 21:06:06 ---> Running in 0f6c8167cf83 21:06:06 noop 21:06:06 Removing intermediate container 0f6c8167cf83 21:06:06 ---> b8d353c29567 21:06:06 Successfully built b8d353c29567 21:06:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:07 + docker inspect -f . ci-base-image-arm64 21:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:07 prd-ubuntu20.04-docker-arm64-4c-16g-11076 does not seem to be running inside a container 21:06:07 $ 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 21:06:09 $ docker top 4ffcc0badd242a26f776db2e9b24b39585b23ed6d729db2b1d912727b4025d63 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:10 + go version 21:06:10 go version go1.20.2 linux/arm64 [Pipeline] } 21:06:10 $ docker stop --time=1 4ffcc0badd242a26f776db2e9b24b39585b23ed6d729db2b1d912727b4025d63 21:06:11 $ docker rm -f --volumes 4ffcc0badd242a26f776db2e9b24b39585b23ed6d729db2b1d912727b4025d63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:12 + docker inspect -f . ci-base-image-arm64 21:06:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:13 prd-ubuntu20.04-docker-arm64-4c-16g-11076 does not seem to be running inside a container 21:06:13 $ 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 21:06:14 $ docker top 6d1b080642630788642c7c231c87ae35fc91a8006649d2f038f463df114e921b -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:15 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:06:16 + make test 21:06:16 go test ./... -coverprofile=coverage.out ./... 21:06:55 ? github.com/edgexfoundry/device-rest-go [no test files] 21:09:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:09:16 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements 21:09:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:09:16 go vet ./... 21:09:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:43 $ docker stop --time=1 6d1b080642630788642c7c231c87ae35fc91a8006649d2f038f463df114e921b 21:09:45 $ docker rm -f --volumes 6d1b080642630788642c7c231c87ae35fc91a8006649d2f038f463df114e921b [Pipeline] // withDockerContainer [Pipeline] sh 21:09:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:47 Warning: overwriting stash ‘coverage-report’ 21:09:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:48 + ls -al . 21:09:48 total 180 21:09:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:06 . 21:09:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 21:03 .. 21:09:48 -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 21:03 .dockerignore 21:09:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:03 .git 21:09:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 21:03 .github 21:09:48 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 21:03 .gitignore 21:09:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 21:03 .golangci.yml 21:09:48 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 26 21:03 Attribution.txt 21:09:48 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 26 21:03 CHANGELOG.md 21:09:48 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 26 21:03 Dockerfile 21:09:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 21:03 GOVERNANCE.md 21:09:48 -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 21:03 Jenkinsfile 21:09:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 21:03 LICENSE 21:09:48 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 26 21:03 Makefile 21:09:48 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 21:03 OWNERS.md 21:09:48 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 26 21:03 README.md 21:09:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 21:00 VERSION 21:09:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 21:03 bin 21:09:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 21:03 cmd 21:09:48 -rw-r--r-- 1 jenkins jenkins 14663 Apr 26 21:09 coverage.out 21:09:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 21:03 driver 21:09:48 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 26 21:03 go.mod 21:09:48 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 21:03 go.sum 21:09:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 21:03 snap 21:09:48 -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:49 + 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=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 --label arch=arm64 --label version=0.0.0 . 21:09:49 Sending build context to Docker daemon 154.1kB 21:09:49 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:09:49 Step 2/25 : FROM ${BASE} AS builder 21:09:49 ---> b8d353c29567 21:09:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:09:49 ---> Running in 0ad46de1902d 21:09:49 Removing intermediate container 0ad46de1902d 21:09:49 ---> 4da3ed984dcb 21:09:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:49 ---> Running in e9da0e85ea92 21:09:50 Removing intermediate container e9da0e85ea92 21:09:50 ---> 8c19b92710ee 21:09:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:09:50 ---> Running in ddda5c887ddf 21:09:50 Removing intermediate container ddda5c887ddf 21:09:50 ---> ac26316b06b3 21:09:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:09:50 ---> Running in 9e641ac1c084 21:09:50 Removing intermediate container 9e641ac1c084 21:09:50 ---> 78a3872ecd57 21:09:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:50 ---> Running in 6e44f4b8b5fc 21:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:54 OK: 268 MiB in 57 packages 21:09:55 Removing intermediate container 6e44f4b8b5fc 21:09:55 ---> 1c5a2fcfc986 21:09:55 Step 8/25 : WORKDIR /device-rest-go 21:09:55 ---> Running in c7e8e9812b0a 21:09:55 Removing intermediate container c7e8e9812b0a 21:09:55 ---> 67869335ae19 21:09:55 Step 9/25 : COPY go.mod vendor* ./ 21:09:56 ---> e30a85fa8c8f 21:09:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:56 ---> Running in 06c59f87d316 21:09:58 Removing intermediate container 06c59f87d316 21:09:58 ---> 76ad80d0cc5f 21:09:58 Step 11/25 : COPY . . 21:09:59 ---> 406d8d0c54b9 21:09:59 Step 12/25 : RUN $MAKE 21:09:59 ---> Running in d28444fe14c4 21:10:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:12:21 Removing intermediate container d28444fe14c4 21:12:21 ---> 8d5d94ea5df3 21:12:21 Step 13/25 : FROM alpine:3.17 21:12:22 3.17: Pulling from library/alpine 21:12:22 c41833b44d91: Already exists 21:12:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:12:22 Status: Downloaded newer image for alpine:3.17 21:12:22 ---> 51e60588ff2c 21:12:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:12:22 ---> Running in a6712cca62f0 21:12:22 Removing intermediate container a6712cca62f0 21:12:22 ---> a7d3e5233b98 21:12:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:12:22 ---> Running in 2d8d3a72d660 21:12:23 Removing intermediate container 2d8d3a72d660 21:12:23 ---> f88490609a7e 21:12:23 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:12:23 ---> Running in 38a0f6b0d6f4 21:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:12:26 (1/1) Installing dumb-init (1.2.5-r2) 21:12:26 Executing busybox-1.35.0-r29.trigger 21:12:26 OK: 8 MiB in 16 packages 21:12:26 Removing intermediate container 38a0f6b0d6f4 21:12:26 ---> 2ab8e40141b2 21:12:26 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:12:28 ---> bc77c7bc045d 21:12:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:12:28 ---> 2e6a3631c812 21:12:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:12:29 ---> c335e1b0b96f 21:12:29 Step 20/25 : EXPOSE 59986 21:12:29 ---> Running in 980d8cc02e6f 21:12:29 Removing intermediate container 980d8cc02e6f 21:12:29 ---> ffa7c352e23b 21:12:29 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:12:30 ---> Running in c19e7f8a9899 21:12:30 Removing intermediate container c19e7f8a9899 21:12:30 ---> 0a71b6274a5f 21:12:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:12:30 ---> Running in b17c4db0364a 21:12:30 Removing intermediate container b17c4db0364a 21:12:30 ---> 3ffef2985fee 21:12:30 Step 23/25 : LABEL arch=arm64 21:12:30 ---> Running in e5f6e6d8b9a5 21:12:31 Removing intermediate container e5f6e6d8b9a5 21:12:31 ---> 262074c49924 21:12:31 Step 24/25 : LABEL git_sha=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 21:12:31 ---> Running in 352d86480273 21:12:31 Removing intermediate container 352d86480273 21:12:31 ---> 7d7412ceb88f 21:12:31 Step 25/25 : LABEL version=0.0.0 21:12:31 ---> Running in 752be956147e 21:12:31 Removing intermediate container 752be956147e 21:12:31 ---> 160ea0c9da01 21:12:31 [Warning] One or more build-args [ARCH] were not consumed 21:12:31 Successfully built 160ea0c9da01 21:12:31 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:32 21:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:33 arm64: Pulling from edgex-lftools-log-publisher 21:12:33 8998bd30e6a1: Pulling fs layer 21:12:33 04944245beec: Pulling fs layer 21:12:33 699f458cf7ca: Pulling fs layer 21:12:33 765212b225bb: Pulling fs layer 21:12:33 f23df028b6ca: Pulling fs layer 21:12:33 d65c8cfc05b1: Pulling fs layer 21:12:33 2437ff75d9bd: Pulling fs layer 21:12:33 f23df028b6ca: Waiting 21:12:33 d65c8cfc05b1: Waiting 21:12:33 2437ff75d9bd: Waiting 21:12:33 765212b225bb: Waiting 21:12:33 04944245beec: Verifying Checksum 21:12:33 04944245beec: Download complete 21:12:33 765212b225bb: Verifying Checksum 21:12:33 765212b225bb: Download complete 21:12:33 f23df028b6ca: Download complete 21:12:33 d65c8cfc05b1: Verifying Checksum 21:12:33 d65c8cfc05b1: Download complete 21:12:33 699f458cf7ca: Verifying Checksum 21:12:33 699f458cf7ca: Download complete 21:12:33 8998bd30e6a1: Verifying Checksum 21:12:33 8998bd30e6a1: Download complete 21:12:36 2437ff75d9bd: Verifying Checksum 21:12:36 2437ff75d9bd: Download complete 21:12:37 8998bd30e6a1: Pull complete 21:12:38 04944245beec: Pull complete 21:12:39 699f458cf7ca: Pull complete 21:12:39 765212b225bb: Pull complete 21:12:40 f23df028b6ca: Pull complete 21:12:41 d65c8cfc05b1: Pull complete 21:12:56 2437ff75d9bd: Pull complete 21:12:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:56 prd-ubuntu20.04-docker-arm64-4c-16g-11076 does not seem to be running inside a container 21:12:56 $ 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 21:12:59 $ docker top 69548da559f24fb8b4cc6854629d6587e47f2f5c70d83120b90b8cf606b53149 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:00 ---> job-cost.sh 21:13:00 lf-activate-venv: SKIPPING 21:13:00 INFO: No Stack... 21:13:00 INFO: Retrieving Pricing Info for: v3-standard-4 21:13:01 INFO: Archiving Costs [Pipeline] sh 21:13:02 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:13:02 + cut -d, -f6 [Pipeline] lock 21:13:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] 21:13:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] did not exist. Created. 21:13:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:02 /w/workspace/device-rest-go/1@tmp/durable-223cfcb1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:13:03 + echo total: 0.10999999940395355 [Pipeline] stash 21:13:03 Warning: overwriting stash ‘stack-cost’ 21:13:03 Stashed 1 file(s) [Pipeline] } 21:13:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:03 $ docker stop --time=1 69548da559f24fb8b4cc6854629d6587e47f2f5c70d83120b90b8cf606b53149 21:13:04 $ docker rm -f --volumes 69548da559f24fb8b4cc6854629d6587e47f2f5c70d83120b90b8cf606b53149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:13:05 provisioning config files... 21:13:05 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config7397920227017269985tmp [Pipeline] { [Pipeline] sh 21:13:06 + set +x 21:13:06 + curl -s https://codecov.io/bash 21:13:06 + bash -s -- 21:13:06 21:13:06 _____ _ 21:13:06 / ____| | | 21:13:06 | | ___ __| | ___ ___ _____ __ 21:13:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:13:06 | |___| (_) | (_| | __/ (_| (_) \ V / 21:13:06 \_____\___/ \__,_|\___|\___\___/ \_/ 21:13:06 Bash-1.0.6 21:13:06 21:13:06 21:13:06 ==> git version 2.25.1 found 21:13:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:13:06 Release-Date: 2020-01-08 21:13:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:13:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:13:06 ==> Jenkins CI detected. 21:13:06 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-302 21:13:06 project root: . 21:13:06 --> token set from env 21:13:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:13:06 ==> Running gcov in . (disable via -X gcov) 21:13:06 ==> Python coveragepy not found 21:13:06 ==> Searching for coverage reports in: 21:13:06 + . 21:13:06 -> Found 1 reports 21:13:06 ==> Detecting git/mercurial file structure 21:13:06 ==> Reading reports 21:13:06 + ./coverage.out bytes=14663 21:13:06 ==> Appending adjustments 21:13:06 https://docs.codecov.io/docs/fixing-reports 21:13:06 + Found adjustments 21:13:06 ==> Gzipping contents 21:13:06 4.0K /tmp/codecov.PHBg7K.gz 21:13:06 ==> Uploading reports 21:13:06 url: https://codecov.io 21:13:06 query: branch=PR-302&commit=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=302&job=&cmd_args= 21:13:06 -> Pinging Codecov 21:13:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-302&commit=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=302&job=&cmd_args= 21:13:06 -> Uploading to 21:13:06 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/4E5D53B4F1F92C436F7061BF334D961C/fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857/5336870a-437a-4a08-aefa-a0403662c522.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T211306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=701be0c90f59709a9a2f6ce0da3d9b58dfb6dbae5f15996161583a15f77d3e60 21:13:06 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:06 Dload Upload Total Spent Left Speed 21:13:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11895 21:13:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] } 21:13:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:13:08 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-302/archives ] 21:13:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-302/archives 21:13:08 total 16 21:13:08 drwxr-xr-x 3 root root 4096 Apr 26 21:02 . 21:13:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 21:02 .. 21:13:08 drwxr-xr-x 2 root root 4096 Apr 26 21:02 cost 21:13:08 -rw-r--r-- 1 root root 86 Apr 26 21:02 cost.csv 21:13:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-302/archives 21:13:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-302/archives 21:13:08 total 16 21:13:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 21:02 . 21:13:08 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 21:02 .. 21:13:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 21:02 cost 21:13:08 -rw-r--r-- 1 jenkins jenkins 86 Apr 26 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:13:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:13:09 ---> package-listing.sh 21:13:09 ++ facter osfamily 21:13:09 ++ tr '[:upper:]' '[:lower:]' 21:13:09 + OS_FAMILY=debian 21:13:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-302 21:13:09 + START_PACKAGES=/tmp/packages_start.txt 21:13:09 + END_PACKAGES=/tmp/packages_end.txt 21:13:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:13:09 + PACKAGES=/tmp/packages_start.txt 21:13:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-302 ']' 21:13:09 + PACKAGES=/tmp/packages_end.txt 21:13:09 + case "${OS_FAMILY}" in 21:13:09 + dpkg -l 21:13:09 + grep '^ii' 21:13:09 + '[' -f /tmp/packages_start.txt ']' 21:13:09 + '[' -f /tmp/packages_end.txt ']' 21:13:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:13:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-302 ']' 21:13:10 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-302/archives/ 21:13:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-302/archives/ [Pipeline] echo 21:13:10 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-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:13:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:11 prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container 21:13:11 $ 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-302/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-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@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 21:13:11 $ docker top 464a3ee9f161c95a6184e5db7c38c2f04ca78031adfc2ba80a86675b385ce647 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:13:12 + mkdir -p /var/log/sysstat [Pipeline] sh 21:13:12 + ls /var/log/sa-host 21:13:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:12 provisioning config files... 21:13:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config5658363869852359703tmp [Pipeline] { [Pipeline] echo 21:13:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:13:13 ---> create-netrc.sh [Pipeline] } 21:13:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:13:13 ---> python-tools-install.sh [Pipeline] echo 21:13:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:13:13 ---> sudo-logs.sh 21:13:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:13:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:13:14 ---> job-cost.sh 21:13:14 lf-activate-venv: SKIPPING 21:13:14 DEBUG: total: 0.2199999988079071 21:13:14 INFO: Retrieving Stack Cost... 21:13:14 INFO: Retrieving Pricing Info for: v3-standard-8 21:13:15 INFO: Archiving Costs [Pipeline] echo 21:13:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:13:15 ---> logs-deploy.sh 21:13:15 lf-activate-venv: SKIPPING 21:13:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-302/1 21:13:15 INFO: archiving workspace using pattern(s): 21:13:16 Archives upload complete. 21:13:16 INFO: archiving logs to Nexus 21:13:17 ---> uname -a: 21:13:17 Linux prd-ubuntu20-04-docker-8c-8g-11073 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:13:17 21:13:17 21:13:17 ---> lscpu: 21:13:17 Architecture: x86_64 21:13:17 CPU op-mode(s): 32-bit, 64-bit 21:13:17 Byte Order: Little Endian 21:13:17 Address sizes: 40 bits physical, 48 bits virtual 21:13:17 CPU(s): 8 21:13:17 On-line CPU(s) list: 0-7 21:13:17 Thread(s) per core: 1 21:13:17 Core(s) per socket: 1 21:13:17 Socket(s): 8 21:13:17 NUMA node(s): 1 21:13:17 Vendor ID: AuthenticAMD 21:13:17 CPU family: 23 21:13:17 Model: 49 21:13:17 Model name: AMD EPYC-Rome Processor 21:13:17 Stepping: 0 21:13:17 CPU MHz: 2799.998 21:13:17 BogoMIPS: 5599.99 21:13:17 Virtualization: AMD-V 21:13:17 Hypervisor vendor: KVM 21:13:17 Virtualization type: full 21:13:17 L1d cache: 256 KiB 21:13:17 L1i cache: 256 KiB 21:13:17 L2 cache: 4 MiB 21:13:17 L3 cache: 128 MiB 21:13:17 NUMA node0 CPU(s): 0-7 21:13:17 Vulnerability Itlb multihit: Not affected 21:13:17 Vulnerability L1tf: Not affected 21:13:17 Vulnerability Mds: Not affected 21:13:17 Vulnerability Meltdown: Not affected 21:13:17 Vulnerability Mmio stale data: Not affected 21:13:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:13:17 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:13:17 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:13:17 Vulnerability Srbds: Not affected 21:13:17 Vulnerability Tsx async abort: Not affected 21:13:17 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:13:17 21:13:17 21:13:17 ---> nproc: 21:13:17 8 21:13:17 21:13:17 21:13:17 ---> df -h: 21:13:17 Filesystem Size Used Avail Use% Mounted on 21:13:17 overlay 155G 12G 144G 8% / 21:13:17 tmpfs 64M 0 64M 0% /dev 21:13:17 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:13:17 shm 64M 0 64M 0% /dev/shm 21:13:17 /dev/vda1 155G 12G 144G 8% /facter-os 21:13:17 21:13:17 21:13:17 ---> sar -b -r -n DEV: 21:13:17 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11073) 04/26/23 _x86_64_ (8 CPU) 21:13:17 21:13:17 20:59:14 LINUX RESTART (8 CPU) 21:13:17 21:13:17 21:00:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:13:17 21:01:01 186.21 1.61 184.60 0.00 58.97 74279.07 0.00 21:13:17 21:02:01 165.86 0.25 165.61 0.00 18.40 27635.13 0.00 21:13:17 21:03:01 35.14 0.05 35.09 0.00 3.60 16760.42 0.00 21:13:17 21:04:01 1.63 0.00 1.63 0.00 0.00 18.93 0.00 21:13:17 21:05:01 54.34 10.58 43.76 0.00 5154.87 8915.85 0.00 21:13:17 21:06:01 6.60 0.02 6.58 0.00 0.13 129.58 0.00 21:13:17 21:07:01 1.00 0.00 1.00 0.00 0.00 11.60 0.00 21:13:17 21:08:01 1.55 0.00 1.55 0.00 0.00 17.20 0.00 21:13:17 21:09:01 2.97 1.67 1.30 0.00 37.73 16.53 0.00 21:13:17 21:10:01 1.70 0.00 1.70 0.00 0.00 19.19 0.00 21:13:17 21:11:01 1.02 0.00 1.02 0.00 0.00 10.80 0.00 21:13:17 21:12:01 1.10 0.00 1.10 0.00 0.00 14.00 0.00 21:13:17 21:13:01 1.05 0.00 1.05 0.00 0.00 12.26 0.00 21:13:17 Average: 35.20 1.09 34.11 0.00 406.09 9750.55 0.00 21:13:17 21:13:17 21:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:13:17 21:01:01 28439100 31600536 707292 2.15 144748 3227860 1767404 5.21 1045952 2965780 456 21:13:17 21:02:01 28131880 31565040 737860 2.24 150940 3474924 1777496 5.24 1251888 3041716 500 21:13:17 21:03:01 27635904 31578152 722596 2.20 158396 3926976 1776012 5.23 1255836 3481184 8 21:13:17 21:04:01 27635604 31577940 722756 2.20 158440 3926976 1776012 5.23 1255644 3481184 8 21:13:17 21:05:01 27106540 31559700 723548 2.20 192524 4387388 1817088 5.36 1577432 3651868 1052 21:13:17 21:06:01 27112468 31560728 723004 2.20 191088 4384132 1788512 5.27 1575576 3648676 12 21:13:17 21:07:01 27120084 31568412 715292 2.18 191120 4384136 1788512 5.27 1568120 3648680 8 21:13:17 21:08:01 27120668 31569048 714716 2.17 191152 4384144 1788512 5.27 1567948 3648688 12 21:13:17 21:09:01 27110728 31561400 722228 2.20 191204 4385272 1788512 5.27 1580488 3649076 8 21:13:17 21:10:01 27109396 31560128 723404 2.20 191264 4385268 1788512 5.27 1580268 3649076 20 21:13:17 21:11:01 27109664 31560396 723080 2.20 191296 4385276 1788512 5.27 1580168 3649076 12 21:13:17 21:12:01 27109536 31560360 723004 2.20 191324 4385280 1788512 5.27 1580224 3649084 28 21:13:17 21:13:01 27109456 31560392 722932 2.20 191344 4385348 1788512 5.27 1580820 3649148 4 21:13:17 Average: 27373156 31567864 721670 2.19 179603 4155614 1786316 5.26 1461566 3524095 164 21:13:17 21:13:17 21:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:13:17 21:01:01 docker0 224.96 363.68 17.60 2180.01 0.00 0.00 0.00 0.00 21:13:17 21:01:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 21:13:17 21:01:01 ens3 527.10 319.44 6504.57 40.37 0.00 0.00 0.00 0.00 21:13:17 21:02:01 docker0 2.58 6.43 0.16 85.51 0.00 0.00 0.00 0.00 21:13:17 21:02:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 21:13:17 21:02:01 ens3 64.12 54.46 129.87 95.78 0.00 0.00 0.00 0.00 21:13:17 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:03:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 21:13:17 21:03:01 ens3 94.50 56.84 2533.21 10.41 0.00 0.00 0.00 0.00 21:13:17 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:13:17 21:04:01 ens3 1.88 0.38 0.38 0.21 0.00 0.00 0.00 0.00 21:13:17 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:05:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 21:13:17 21:05:01 ens3 230.09 110.23 2869.09 8.06 0.00 0.00 0.00 0.00 21:13:17 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:13:17 21:06:01 ens3 1.35 0.48 0.51 0.26 0.00 0.00 0.00 0.00 21:13:17 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:07:01 ens3 0.52 0.25 0.31 0.20 0.00 0.00 0.00 0.00 21:13:17 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:13:17 21:08:01 ens3 0.28 0.13 0.02 0.01 0.00 0.00 0.00 0.00 21:13:17 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:09:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:13:17 21:09:01 ens3 7.95 6.35 5.34 5.99 0.00 0.00 0.00 0.00 21:13:17 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:13:17 21:10:01 ens3 0.28 0.18 0.08 0.07 0.00 0.00 0.00 0.00 21:13:17 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:11:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 21:13:17 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:13:17 21:12:01 ens3 0.63 0.10 0.06 0.01 0.00 0.00 0.00 0.00 21:13:17 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:13:17 21:13:01 ens3 0.73 0.58 0.38 0.23 0.00 0.00 0.00 0.00 21:13:17 Average: docker0 17.24 28.04 1.35 171.69 0.00 0.00 0.00 0.00 21:13:17 Average: lo 0.51 0.51 0.05 0.05 0.00 0.00 0.00 0.00 21:13:17 Average: ens3 70.91 41.91 919.23 12.39 0.00 0.00 0.00 0.00 21:13:17 21:13:17