Pull request #266 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Obtained Jenkinsfile from b700eaf7ecda1d6c8dbe9740f42a0126d1780f87+eb45550bbe0df662ecfda2dd82817b25f9b033bb (be98fd536ab1d3dfbc51a415fe80086d55729ee1) 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-ssh11609434229149031078.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3050222326827704691.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-266/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-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18146233637616010520.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-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1446938049020556406.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14752827974708814659.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-266/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-266/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4440496354852459473.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-465 in /w/workspace/gexfoundry_device-rest-go_PR-266 [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-266 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb45550bbe0df662ecfda2dd82817b25f9b033bb into PR head commit b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 Merge succeeded, producing b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 Checking out Revision b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 (PR-266) > git config core.sparsecheckout # timeout=10 > git checkout -f b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 # 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 eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:11:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:11:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:11:46 ========================================================= 14:11:46 EdgeX Global Pipelines Version Info 14:11:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:11:52 ------------------- 14:11:52 stable info: 14:11:52 ------------------- 14:11:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:11:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 14:11:52 Message: update stable to v1.0.245 14:11:53 ------------------- 14:11:53 experimental info: 14:11:53 ------------------- 14:11:53 Commited By: **** collab-it+edgex@linuxfoundation.org 14:11:53 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 14:11:53 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:11:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-266 [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-266 [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-266 [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b700eaf [Pipeline] echo 14:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:54 provisioning config files... 14:11:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp/config15352406305938449673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:55 ---> docker-login.sh 14:11:55 nexus3.edgexfoundry.org:10001 14:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:55 Configure a credential helper to remove this warning. See 14:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:55 14:11:55 Login Succeeded 14:11:55 nexus3.edgexfoundry.org:10002 14:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:55 Configure a credential helper to remove this warning. See 14:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:55 14:11:55 Login Succeeded 14:11:55 nexus3.edgexfoundry.org:10003 14:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:55 Configure a credential helper to remove this warning. See 14:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:55 14:11:55 Login Succeeded 14:11:55 nexus3.edgexfoundry.org:10004 14:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:55 Configure a credential helper to remove this warning. See 14:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:55 14:11:55 Login Succeeded 14:11:55 docker.io 14:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:56 Configure a credential helper to remove this warning. See 14:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:56 14:11:56 Login Succeeded 14:11:56 ---> docker-login.sh ends [Pipeline] } 14:11:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:11:56 + git rev-list -1 --merges b700eaf7ecda1d6c8dbe9740f42a0126d1780f87~1..b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 [Pipeline] echo 14:11:56 -----------> git rev-list -1 --merges b700eaf7ecda1d6c8dbe9740f42a0126d1780f87~1..b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 [false] [Pipeline] sh 14:11:57 + git log --format=format:%s -1 b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 [Pipeline] echo 14:11:57 ========================================================= 14:11:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:11:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:57 + git log --format=format:%s -1 b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 [Pipeline] echo 14:11:57 [semverPrep] GIT_COMMIT: b700eaf7ecda1d6c8dbe9740f42a0126d1780f87, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo 14:11:57 [semverPrep] This is not a build commit. [Pipeline] sh 14:11:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:11:58 + grep -v github /etc/ssh/ssh_known_hosts 14:11:58 + [ -e /tmp/ssh_known_hosts ] 14:11:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:11:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:11:58 + sudo tee -a /etc/ssh/ssh_known_hosts 14:11:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:58 14:11:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:11:58 0.1.4: Pulling from edgex-devops/py-git-semver 14:11:58 b85a868b505f: Pulling fs layer 14:11:58 e2be974225ed: Pulling fs layer 14:11:58 339a4e72a1f5: Pulling fs layer 14:11:58 988bab9f4d93: Pulling fs layer 14:11:58 1469e6f7b9e6: Pulling fs layer 14:11:58 eaf3925da568: Pulling fs layer 14:11:58 bab4dde63d76: Pulling fs layer 14:11:58 bde34c3a00c8: Pulling fs layer 14:11:58 b352a97aabf1: Pulling fs layer 14:11:58 4872d77fe225: Pulling fs layer 14:11:58 5851b861e8e6: Pulling fs layer 14:11:58 bab4dde63d76: Waiting 14:11:58 988bab9f4d93: Waiting 14:11:58 bde34c3a00c8: Waiting 14:11:58 eaf3925da568: Waiting 14:11:58 1469e6f7b9e6: Waiting 14:11:58 b352a97aabf1: Waiting 14:11:58 4872d77fe225: Waiting 14:11:58 5851b861e8e6: Waiting 14:11:58 e2be974225ed: Download complete 14:11:58 988bab9f4d93: Verifying Checksum 14:11:58 988bab9f4d93: Download complete 14:11:59 1469e6f7b9e6: Verifying Checksum 14:11:59 1469e6f7b9e6: Download complete 14:11:59 eaf3925da568: Verifying Checksum 14:11:59 eaf3925da568: Download complete 14:11:59 339a4e72a1f5: Verifying Checksum 14:11:59 339a4e72a1f5: Download complete 14:11:59 bde34c3a00c8: Verifying Checksum 14:11:59 bde34c3a00c8: Download complete 14:11:59 b352a97aabf1: Verifying Checksum 14:11:59 b352a97aabf1: Download complete 14:11:59 4872d77fe225: Verifying Checksum 14:11:59 4872d77fe225: Download complete 14:11:59 5851b861e8e6: Verifying Checksum 14:11:59 5851b861e8e6: Download complete 14:11:59 b85a868b505f: Verifying Checksum 14:11:59 b85a868b505f: Download complete 14:11:59 bab4dde63d76: Verifying Checksum 14:11:59 bab4dde63d76: Download complete 14:12:00 b85a868b505f: Pull complete 14:12:00 e2be974225ed: Pull complete 14:12:01 339a4e72a1f5: Pull complete 14:12:01 988bab9f4d93: Pull complete 14:12:01 1469e6f7b9e6: Pull complete 14:12:01 eaf3925da568: Pull complete 14:12:03 bab4dde63d76: Pull complete 14:12:03 bde34c3a00c8: Pull complete 14:12:03 b352a97aabf1: Pull complete 14:12:03 4872d77fe225: Pull complete 14:12:03 5851b861e8e6: Pull complete 14:12:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:12:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:04 prd-ubuntu20.04-docker-8c-8g-465 does not seem to be running inside a container 14:12:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-266 -v /w/workspace/gexfoundry_device-rest-go_PR-266:/w/workspace/gexfoundry_device-rest-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-266@tmp:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:12:05 $ docker top 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 -eo pid,comm 14:12:05 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). 14:12:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:12:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:12:05 [ssh-agent] Looking for ssh-agent implementation... 14:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:06 $ docker exec 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 ssh-agent 14:12:06 SSH_AUTH_SOCK=/tmp/ssh-i6hlWvnXEX4x/agent.32 14:12:06 SSH_AGENT_PID=38 14:12:06 Running ssh-add (command line suppressed) 14:12:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-266@tmp/private_key_12509865475525331435.key (/w/workspace/gexfoundry_device-rest-go_PR-266@tmp/private_key_12509865475525331435.key) 14:12:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:06 + git tag --points-at HEAD [Pipeline] } 14:12:06 $ docker exec --env ******** --env ******** 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 ssh-agent -k 14:12:06 unset SSH_AUTH_SOCK; 14:12:06 unset SSH_AGENT_PID; 14:12:06 echo Agent pid 38 killed; 14:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:12:06 [ssh-agent] Looking for ssh-agent implementation... 14:12:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:12:07 $ docker exec 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 ssh-agent 14:12:07 SSH_AUTH_SOCK=/tmp/ssh-4PWUlKLJ2UxQ/agent.69 14:12:07 SSH_AGENT_PID=74 14:12:07 Running ssh-add (command line suppressed) 14:12:07 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-266@tmp/private_key_7761383919669864402.key (/w/workspace/gexfoundry_device-rest-go_PR-266@tmp/private_key_7761383919669864402.key) 14:12:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:12:07 + git semver init 14:12:08 2023-03-15 14:12:07,922 [run_init] DEBUG init version:0.0.0 force:False 14:12:08 2023-03-15 14:12:07,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-266/.semver 14:12:08 2023-03-15 14:12:07,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-266/.semver 14:12:08 2023-03-15 14:12:07,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-266/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-266, universal_newlines=False, shell=None, istream=None) 14:12:09 2023-03-15 14:12:08,952 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-266/.git/info/exclude 14:12:09 2023-03-15 14:12:08,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-266/.semver/PR-266 with force:False 14:12:09 2023-03-15 14:12:08,953 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-266/.semver/PR-266 14:12:09 2023-03-15 14:12:08,957 [execute] INFO git cat-file --batch-check 14:12:09 2023-03-15 14:12:08,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-266/.semver, universal_newlines=False, shell=None, istream=) 14:12:09 2023-03-15 14:12:08,965 [execute] INFO git cat-file --batch 14:12:09 2023-03-15 14:12:08,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-266/.semver, universal_newlines=False, shell=None, istream=) 14:12:09 2023-03-15 14:12:08,973 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-266/.semver/PR-266 14:12:09 0.0.0 [Pipeline] } 14:12:09 $ docker exec --env ******** --env ******** 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 ssh-agent -k 14:12:09 unset SSH_AUTH_SOCK; 14:12:09 unset SSH_AGENT_PID; 14:12:09 echo Agent pid 74 killed; 14:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:12:09 + git semver [Pipeline] } 14:12:10 $ docker stop --time=1 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 14:12:11 $ docker rm -f --volumes 726a7bb716a8ba9a005ad10e135d53afe6e20ed75eda4b58e31df3493a309cc4 [Pipeline] // withDockerContainer [Pipeline] sh 14:12:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:12:12 Stashed 1 file(s) [Pipeline] echo 14:12:12 [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 14:12:12 provisioning config files... 14:12:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp/config11414322128338687476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:12:13 ---> docker-login.sh 14:12:13 nexus3.edgexfoundry.org:10001 14:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:13 Configure a credential helper to remove this warning. See 14:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:13 14:12:13 Login Succeeded 14:12:13 nexus3.edgexfoundry.org:10002 14:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:13 Configure a credential helper to remove this warning. See 14:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:13 14:12:13 Login Succeeded 14:12:13 nexus3.edgexfoundry.org:10003 14:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:13 Configure a credential helper to remove this warning. See 14:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:13 14:12:13 Login Succeeded 14:12:13 nexus3.edgexfoundry.org:10004 14:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:13 Configure a credential helper to remove this warning. See 14:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:13 14:12:13 Login Succeeded 14:12:13 docker.io 14:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:12:13 Configure a credential helper to remove this warning. See 14:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:12:13 14:12:13 Login Succeeded 14:12:13 ---> docker-login.sh ends [Pipeline] } 14:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:12:13 ========================================================= 14:12:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:12:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:14 + 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 . 14:12:14 Sending build context to Docker daemon 10.85MB 14:12:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:12:14 Step 2/12 : FROM ${BASE} AS builder 14:12:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:12:14 63b65145d645: Pulling fs layer 14:12:14 a2d21d5440eb: Pulling fs layer 14:12:14 935e6c44a52c: Pulling fs layer 14:12:14 94cc34f8dd06: Pulling fs layer 14:12:14 30dea6a524f1: Pulling fs layer 14:12:14 a2aff8979fd8: Pulling fs layer 14:12:14 6808be2612f2: Pulling fs layer 14:12:14 f25807f1079a: Pulling fs layer 14:12:14 94cc34f8dd06: Waiting 14:12:14 6808be2612f2: Waiting 14:12:14 30dea6a524f1: Waiting 14:12:14 f25807f1079a: Waiting 14:12:14 a2aff8979fd8: Waiting 14:12:14 a2d21d5440eb: Download complete 14:12:14 94cc34f8dd06: Verifying Checksum 14:12:14 94cc34f8dd06: Download complete 14:12:14 30dea6a524f1: Download complete 14:12:14 63b65145d645: Verifying Checksum 14:12:14 63b65145d645: Download complete 14:12:14 a2aff8979fd8: Verifying Checksum 14:12:14 a2aff8979fd8: Download complete 14:12:14 63b65145d645: Pull complete 14:12:14 a2d21d5440eb: Pull complete 14:12:15 f25807f1079a: Verifying Checksum 14:12:15 f25807f1079a: Download complete 14:12:15 935e6c44a52c: Verifying Checksum 14:12:15 935e6c44a52c: Download complete 14:12:15 6808be2612f2: Verifying Checksum 14:12:15 6808be2612f2: Download complete 14:12:18 935e6c44a52c: Pull complete 14:12:18 94cc34f8dd06: Pull complete 14:12:18 30dea6a524f1: Pull complete 14:12:18 a2aff8979fd8: Pull complete 14:12:21 6808be2612f2: Pull complete 14:12:22 f25807f1079a: Pull complete 14:12:22 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 14:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:12:22 ---> 3b553350e43f 14:12:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:12:23 ---> Running in 870e03dbd688 14:12:24 Removing intermediate container 870e03dbd688 14:12:24 ---> 9e85c94f9474 14:12:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:12:24 ---> Running in 78b58f2f848f 14:12:24 Removing intermediate container 78b58f2f848f 14:12:24 ---> f1f3d9707e76 14:12:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:12:24 ---> Running in e50d999ab567 14:12:24 Removing intermediate container e50d999ab567 14:12:24 ---> 044eac193e81 14:12:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:12:24 ---> Running in a9f52474d5f2 14:12:24 Removing intermediate container a9f52474d5f2 14:12:24 ---> 21245ef0c87c 14:12:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:12:24 ---> Running in f0f2d22b797f 14:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:12:25 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:12:25 (2/4) Installing libedit (20221030.3.1-r0) 14:12:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:12:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:12:25 Executing busybox-1.35.0-r29.trigger 14:12:25 OK: 269 MiB in 57 packages 14:12:25 Removing intermediate container f0f2d22b797f 14:12:25 ---> 7f227cd3f2a8 14:12:25 Step 8/12 : WORKDIR /device-rest-go 14:12:25 ---> Running in c6e2b5d11315 14:12:25 Removing intermediate container c6e2b5d11315 14:12:25 ---> 631fa49b4209 14:12:25 Step 9/12 : COPY go.mod vendor* ./ 14:12:26 ---> 96262c7b8583 14:12:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:12:26 ---> Running in f83acdd0782a 14:12:27 Still waiting to schedule task 14:12:27 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:12:58 Removing intermediate container f83acdd0782a 14:12:58 ---> c3f5aba6faea 14:12:58 Step 11/12 : COPY . . 14:12:58 ---> 8b7e4bdd6a36 14:12:58 Step 12/12 : RUN $MAKE 14:12:58 ---> Running in 5b3301f92a29 14:12:58 noop 14:12:58 Removing intermediate container 5b3301f92a29 14:12:58 ---> 32759c156e54 14:12:58 Successfully built 32759c156e54 14:12:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:58 + docker inspect -f . ci-base-image-x86_64 14:12:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:58 prd-ubuntu20.04-docker-8c-8g-465 does not seem to be running inside a container 14:12:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-266 -v /w/workspace/gexfoundry_device-rest-go_PR-266:/w/workspace/gexfoundry_device-rest-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-266@tmp:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:12:59 $ docker top 304cb602d32299ea590318329ff296936bc9c4bec33c825980aa8585fa6c7a84 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:59 + go version 14:12:59 go version go1.20.2 linux/amd64 [Pipeline] } 14:12:59 $ docker stop --time=1 304cb602d32299ea590318329ff296936bc9c4bec33c825980aa8585fa6c7a84 14:13:01 $ docker rm -f --volumes 304cb602d32299ea590318329ff296936bc9c4bec33c825980aa8585fa6c7a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:02 + docker inspect -f . ci-base-image-x86_64 14:13:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:02 prd-ubuntu20.04-docker-8c-8g-465 does not seem to be running inside a container 14:13:02 $ 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-266 -v /w/workspace/gexfoundry_device-rest-go_PR-266:/w/workspace/gexfoundry_device-rest-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-266@tmp:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:13:02 $ docker top 9f610be3242756f54f67a354af56d2c181dd18bd7d2662fac1651e8f43c9127a -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-266 [Pipeline] fileExists [Pipeline] sh 14:13:03 + make test 14:13:03 go test ./... -coverprofile=coverage.out ./... 14:13:09 ? github.com/edgexfoundry/device-rest-go [no test files] 14:13:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:13:21 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.1% of statements 14:13:25 go vet ./... 14:13:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:13:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:13:29 ./bin/test-attribution-txt.sh [Pipeline] echo 14:13:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:13:29 $ docker stop --time=1 9f610be3242756f54f67a354af56d2c181dd18bd7d2662fac1651e8f43c9127a 14:13:32 $ docker rm -f --volumes 9f610be3242756f54f67a354af56d2c181dd18bd7d2662fac1651e8f43c9127a [Pipeline] // withDockerContainer [Pipeline] sh 14:13:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:13:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:13:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:13:34 + ls -al . 14:13:34 total 184 14:13:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 14:13 . 14:13:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:11 .. 14:13:34 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 14:11 .dockerignore 14:13:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:12 .git 14:13:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:11 .github 14:13:34 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 14:11 .gitignore 14:13:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 14:11 .golangci.yml 14:13:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 14:12 .semver 14:13:34 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 14:11 Attribution.txt 14:13:34 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 14:11 CHANGELOG.md 14:13:34 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 14:11 Dockerfile 14:13:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 14:11 GOVERNANCE.md 14:13:34 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 14:11 Jenkinsfile 14:13:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 14:11 LICENSE 14:13:34 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 14:11 Makefile 14:13:34 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 14:11 OWNERS.md 14:13:34 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 14:11 README.md 14:13:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 14:12 VERSION 14:13:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:11 bin 14:13:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:11 cmd 14:13:34 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 14:13 coverage.out 14:13:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:11 driver 14:13:34 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 14:11 go.mod 14:13:34 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 14:11 go.sum 14:13:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:11 snap 14:13:34 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:34 + 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=b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 --label arch=amd64 --label version=0.0.0 . 14:13:34 Sending build context to Docker daemon 10.87MB 14:13:34 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:13:34 Step 2/25 : FROM ${BASE} AS builder 14:13:34 ---> 32759c156e54 14:13:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:13:34 ---> Running in 88fc5b60f12a 14:13:34 Removing intermediate container 88fc5b60f12a 14:13:34 ---> be0522ecfed3 14:13:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:13:34 ---> Running in a38a8529ca9e 14:13:34 Removing intermediate container a38a8529ca9e 14:13:34 ---> a3d5712d880c 14:13:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:13:35 ---> Running in 661cb9473539 14:13:35 Removing intermediate container 661cb9473539 14:13:35 ---> 25ba42fe028d 14:13:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:13:35 ---> Running in 4e094413716c 14:13:35 Removing intermediate container 4e094413716c 14:13:35 ---> 25d743a59d0f 14:13:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:13:35 ---> Running in 81c5b0311985 14:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:13:36 OK: 269 MiB in 57 packages 14:13:37 Removing intermediate container 81c5b0311985 14:13:37 ---> 04d2eaa4def9 14:13:37 Step 8/25 : WORKDIR /device-rest-go 14:13:37 ---> Running in 8d2c49e98d76 14:13:37 Removing intermediate container 8d2c49e98d76 14:13:37 ---> 2ef5a2e64859 14:13:37 Step 9/25 : COPY go.mod vendor* ./ 14:13:37 ---> a368560bb0aa 14:13:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:13:37 ---> Running in 3b8fd668f8b6 14:13:39 Removing intermediate container 3b8fd668f8b6 14:13:39 ---> 7256991b4156 14:13:39 Step 11/25 : COPY . . 14:13:39 ---> 9a9fd4783f53 14:13:39 Step 12/25 : RUN $MAKE 14:13:39 ---> Running in e8880627dd02 14:13: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 14:13:57 Removing intermediate container e8880627dd02 14:13:57 ---> ac7f05a77521 14:13:57 Step 13/25 : FROM alpine:3.17 14:13:58 3.17: Pulling from library/alpine 14:13:58 63b65145d645: Already exists 14:13:58 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 14:13:58 Status: Downloaded newer image for alpine:3.17 14:13:58 ---> b2aa39c304c2 14:13:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:13:58 ---> Running in 299d2b412ff8 14:13:59 Removing intermediate container 299d2b412ff8 14:13:59 ---> d067400eacca 14:13:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:13:59 ---> Running in 950ce327c925 14:13:59 Removing intermediate container 950ce327c925 14:13:59 ---> 656aea2e3f86 14:13:59 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:13:59 ---> Running in 2083de808f55 14:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:14:00 (1/1) Installing dumb-init (1.2.5-r2) 14:14:00 Executing busybox-1.35.0-r29.trigger 14:14:00 OK: 7 MiB in 16 packages 14:14:00 Removing intermediate container 2083de808f55 14:14:00 ---> ebec06bb96d1 14:14:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:14:01 ---> fabbe34b102f 14:14:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:14:01 ---> 71c9436b26f1 14:14:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:14:01 ---> 7df1ee7ee200 14:14:01 Step 20/25 : EXPOSE 59986 14:14:01 ---> Running in c53bcfca9258 14:14:01 Removing intermediate container c53bcfca9258 14:14:01 ---> eefd1997d18c 14:14:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:14:02 ---> Running in c479fbd35fba 14:14:02 Removing intermediate container c479fbd35fba 14:14:02 ---> 1cf4e60bd463 14:14:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:14:02 ---> Running in 6008019ecea9 14:14:02 Removing intermediate container 6008019ecea9 14:14:02 ---> db7cf8c034fe 14:14:02 Step 23/25 : LABEL arch=amd64 14:14:02 ---> Running in 71509ffd0764 14:14:02 Removing intermediate container 71509ffd0764 14:14:02 ---> 89c6ac44c3cf 14:14:02 Step 24/25 : LABEL git_sha=b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 14:14:02 ---> Running in ac2f6389227c 14:14:02 Removing intermediate container ac2f6389227c 14:14:02 ---> ee4f1ae296e5 14:14:02 Step 25/25 : LABEL version=0.0.0 14:14:03 ---> Running in 0ca3c2871630 14:14:03 Removing intermediate container 0ca3c2871630 14:14:03 ---> 36547172cda6 14:14:03 [Warning] One or more build-args [ARCH] were not consumed 14:14:03 Successfully built 36547172cda6 14:14:03 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 14:14:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:14:03 14:14:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:14:04 latest: Pulling from edgex-lftools-log-publisher 14:14:04 5eb5b503b376: Pulling fs layer 14:14:04 5c69ac0246d0: Pulling fs layer 14:14:04 ec43610c2a17: Pulling fs layer 14:14:04 3a2ae6a8a46f: Pulling fs layer 14:14:04 33b1e0a273af: Pulling fs layer 14:14:04 5d3b04190fa2: Pulling fs layer 14:14:04 2f39f015ded8: Pulling fs layer 14:14:04 3a2ae6a8a46f: Waiting 14:14:04 33b1e0a273af: Waiting 14:14:04 5d3b04190fa2: Waiting 14:14:04 2f39f015ded8: Waiting 14:14:04 5c69ac0246d0: Verifying Checksum 14:14:04 5c69ac0246d0: Download complete 14:14:04 3a2ae6a8a46f: Download complete 14:14:04 33b1e0a273af: Verifying Checksum 14:14:04 33b1e0a273af: Download complete 14:14:04 5d3b04190fa2: Verifying Checksum 14:14:04 5d3b04190fa2: Download complete 14:14:04 ec43610c2a17: Verifying Checksum 14:14:04 ec43610c2a17: Download complete 14:14:04 5eb5b503b376: Verifying Checksum 14:14:04 5eb5b503b376: Download complete 14:14:05 2f39f015ded8: Download complete 14:14:05 5eb5b503b376: Pull complete 14:14:05 5c69ac0246d0: Pull complete 14:14:06 ec43610c2a17: Pull complete 14:14:06 3a2ae6a8a46f: Pull complete 14:14:06 33b1e0a273af: Pull complete 14:14:06 5d3b04190fa2: Pull complete 14:14:10 2f39f015ded8: Pull complete 14:14:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:14:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:11 prd-ubuntu20.04-docker-8c-8g-465 does not seem to be running inside a container 14:14:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-266 -v /w/workspace/gexfoundry_device-rest-go_PR-266:/w/workspace/gexfoundry_device-rest-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-266@tmp:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:14:14 $ docker top 47fb600b89271fb9470785e462a9c5887d124dc8d04605d9bcd9529d691c08e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:14 ---> job-cost.sh 14:14:14 lf-activate-venv: SKIPPING 14:14:14 INFO: No Stack... 14:14:14 INFO: Retrieving Pricing Info for: v3-standard-8 14:14:15 INFO: Archiving Costs [Pipeline] sh 14:14:15 + cat /w/workspace/gexfoundry_device-rest-go_PR-266/archives/cost.csv 14:14:15 + cut -d, -f6 [Pipeline] lock 14:14:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] 14:14:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] did not exist. Created. 14:14:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:14:16 + echo total: 0.2199999988079071 [Pipeline] stash 14:14:16 Stashed 1 file(s) [Pipeline] } 14:14:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:14:16 $ docker stop --time=1 47fb600b89271fb9470785e462a9c5887d124dc8d04605d9bcd9529d691c08e0 14:14:17 $ docker rm -f --volumes 47fb600b89271fb9470785e462a9c5887d124dc8d04605d9bcd9529d691c08e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:14:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-466 in /w/workspace/gexfoundry_device-rest-go_PR-266 [Pipeline] { [Pipeline] ws 14:14:24 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 14:14:24 The recommended git tool is: git 14:14:29 using credential edgex-jenkins-ssh 14:14:29 Cloning the remote Git repository 14:14:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:14:30 > git init /w/workspace/device-rest-go/1 # timeout=10 14:14:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:14:30 > git --version # timeout=10 14:14:30 > git --version # 'git version 2.25.1' 14:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:14:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:14:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:14:33 Merging remotes/origin/main commit eb45550bbe0df662ecfda2dd82817b25f9b033bb into PR head commit b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 14:14:34 Merge succeeded, producing b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 14:14:34 Checking out Revision b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 (PR-266) 14:14:33 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:14:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:14:33 > git config core.sparsecheckout # timeout=10 14:14:34 > git checkout -f b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 # timeout=10 14:14:34 > git remote # timeout=10 14:14:34 > git config --get remote.origin.url # timeout=10 14:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 14:14:34 > git merge eb45550bbe0df662ecfda2dd82817b25f9b033bb # timeout=10 14:14:34 > git rev-parse HEAD^{commit} # timeout=10 14:14:34 > git config core.sparsecheckout # timeout=10 14:14:34 > git checkout -f b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 # timeout=10 14:14:37 Commit message: "refactor(snap): Update command and metadata sourcing" 14:14:37 > git --version # timeout=10 14:14:37 > git --version # 'git version 2.25.1' 14:14:37 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:14:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:14:39 % Total % Received % Xferd Average Speed Time Time Time Current 14:14:39 Dload Upload Total Spent Left Speed 14:14:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 14:14:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:14:40 + sudo tee /etc/docker/daemon.new+ 14:14:40 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:14:40 { 14:14:40 "registry-mirrors": [ 14:14:40 "https://nexus3.edgexfoundry.org:10001" 14:14:40 ], 14:14:40 "bip": "10.250.0.254/24", 14:14:40 "hosts": [ 14:14:40 "tcp://0.0.0.0:5555", 14:14:40 "unix:///var/run/docker.sock" 14:14:40 ], 14:14:40 "mtu": 1458, 14:14:40 "selinux-enabled": true, 14:14:40 "seccomp-profile": "/etc/docker/seccomp.json" 14:14:40 } [Pipeline] sh 14:14:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:14:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:14:59 provisioning config files... 14:14:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13570022678004898661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:59 ---> docker-login.sh 14:14:59 nexus3.edgexfoundry.org:10001 14:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:00 Configure a credential helper to remove this warning. See 14:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:00 14:15:00 Login Succeeded 14:15:00 nexus3.edgexfoundry.org:10002 14:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:00 Configure a credential helper to remove this warning. See 14:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:00 14:15:00 Login Succeeded 14:15:00 nexus3.edgexfoundry.org:10003 14:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:00 Configure a credential helper to remove this warning. See 14:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:00 14:15:00 Login Succeeded 14:15:00 nexus3.edgexfoundry.org:10004 14:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:01 Configure a credential helper to remove this warning. See 14:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:01 14:15:01 Login Succeeded 14:15:01 docker.io 14:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:01 Configure a credential helper to remove this warning. See 14:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:01 14:15:01 Login Succeeded 14:15:01 ---> docker-login.sh ends [Pipeline] } 14:15:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:15:02 ========================================================= 14:15:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:15:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:02 + 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 . 14:15:02 Sending build context to Docker daemon 138.8kB 14:15:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:15:03 Step 2/12 : FROM ${BASE} AS builder 14:15:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:15:06 af6eaf76a39c: Pulling fs layer 14:15:06 55522c791124: Pulling fs layer 14:15:06 ce5c4a1c91eb: Pulling fs layer 14:15:06 169dfbe0d373: Pulling fs layer 14:15:06 e1ff8fa3b103: Pulling fs layer 14:15:06 52ebb69f0ebf: Pulling fs layer 14:15:06 5abe8eddf0d5: Pulling fs layer 14:15:06 169dfbe0d373: Waiting 14:15:06 e1ff8fa3b103: Waiting 14:15:06 52ebb69f0ebf: Waiting 14:15:06 5abe8eddf0d5: Waiting 14:15:06 55522c791124: Verifying Checksum 14:15:06 55522c791124: Download complete 14:15:06 169dfbe0d373: Verifying Checksum 14:15:06 169dfbe0d373: Download complete 14:15:06 e1ff8fa3b103: Verifying Checksum 14:15:06 e1ff8fa3b103: Download complete 14:15:06 af6eaf76a39c: Verifying Checksum 14:15:06 af6eaf76a39c: Download complete 14:15:06 af6eaf76a39c: Pull complete 14:15:07 5abe8eddf0d5: Verifying Checksum 14:15:07 5abe8eddf0d5: Download complete 14:15:07 55522c791124: Pull complete 14:15:08 ce5c4a1c91eb: Verifying Checksum 14:15:08 ce5c4a1c91eb: Download complete 14:15:08 52ebb69f0ebf: Download complete 14:15:18 ce5c4a1c91eb: Pull complete 14:15:18 169dfbe0d373: Pull complete 14:15:19 e1ff8fa3b103: Pull complete 14:15:25 52ebb69f0ebf: Pull complete 14:15:27 5abe8eddf0d5: Pull complete 14:15:27 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 14:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:15:27 ---> 6cb57ee374ae 14:15:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:15:29 ---> Running in ac45c5be0315 14:15:29 Removing intermediate container ac45c5be0315 14:15:29 ---> 249ae040ec41 14:15:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:15:29 ---> Running in 4a1e9c222bb9 14:15:29 Removing intermediate container 4a1e9c222bb9 14:15:29 ---> 5a8425f0eff2 14:15:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:15:30 ---> Running in 7bbccf4c9f80 14:15:30 Removing intermediate container 7bbccf4c9f80 14:15:30 ---> 727bec458717 14:15:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:15:30 ---> Running in ec9662925e42 14:15:30 Removing intermediate container ec9662925e42 14:15:30 ---> 17b9d1a3d332 14:15:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:15:30 ---> Running in 28cd7b83e7f6 14:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:15:33 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:15:33 (2/4) Installing libedit (20221030.3.1-r0) 14:15:33 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:15:33 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:15:33 Executing busybox-1.35.0-r29.trigger 14:15:33 OK: 268 MiB in 57 packages 14:15:34 Removing intermediate container 28cd7b83e7f6 14:15:34 ---> 6c6777b2456c 14:15:34 Step 8/12 : WORKDIR /device-rest-go 14:15:34 ---> Running in 68fdf8ddc1dd 14:15:34 Removing intermediate container 68fdf8ddc1dd 14:15:34 ---> 1faa52bec7e1 14:15:34 Step 9/12 : COPY go.mod vendor* ./ 14:15:35 ---> 6b773a219aca 14:15:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:15:35 ---> Running in f213a286f728 14:16:57 Removing intermediate container f213a286f728 14:16:57 ---> efec1bcf2d39 14:16:57 Step 11/12 : COPY . . 14:16:57 ---> e686cdc4b8cf 14:16:57 Step 12/12 : RUN $MAKE 14:16:57 ---> Running in 62fd28778005 14:16:57 noop 14:16:57 Removing intermediate container 62fd28778005 14:16:57 ---> 45286ca4fedc 14:16:57 Successfully built 45286ca4fedc 14:16:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:16:57 + docker inspect -f . ci-base-image-arm64 14:16:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:16:57 prd-ubuntu20.04-docker-arm64-4c-16g-466 does not seem to be running inside a container 14:16:58 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 14:16:59 $ docker top 08a126f881d1e8d58fc2d3c5ab9c7c7e7214e04d3ab5aaa10cf7e9745dccaa46 -eo pid,comm [Pipeline] { [Pipeline] sh 14:17:00 + go version 14:17:00 go version go1.20.2 linux/arm64 [Pipeline] } 14:17:00 $ docker stop --time=1 08a126f881d1e8d58fc2d3c5ab9c7c7e7214e04d3ab5aaa10cf7e9745dccaa46 14:17:01 $ docker rm -f --volumes 08a126f881d1e8d58fc2d3c5ab9c7c7e7214e04d3ab5aaa10cf7e9745dccaa46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:02 + docker inspect -f . ci-base-image-arm64 14:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:17:02 prd-ubuntu20.04-docker-arm64-4c-16g-466 does not seem to be running inside a container 14:17:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:17:06 $ docker top cf87f678ee80078c07e8447e8c995c54b19c2169c0ca3db85b5058c518a233f7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:17:07 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 14:17:07 + make test 14:17:07 go test ./... -coverprofile=coverage.out ./... 14:17:40 ? github.com/edgexfoundry/device-rest-go [no test files] 14:20:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:20:01 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.1% of statements 14:20:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:20:01 go vet ./... 14:20:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:20:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:20:23 ./bin/test-attribution-txt.sh [Pipeline] echo 14:20:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:20:23 $ docker stop --time=1 cf87f678ee80078c07e8447e8c995c54b19c2169c0ca3db85b5058c518a233f7 14:20:26 $ docker rm -f --volumes cf87f678ee80078c07e8447e8c995c54b19c2169c0ca3db85b5058c518a233f7 [Pipeline] // withDockerContainer [Pipeline] sh 14:20:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:20:27 Warning: overwriting stash ‘coverage-report’ 14:20:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:20:29 + ls -al . 14:20:29 total 180 14:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:17 . 14:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:14 .. 14:20:29 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 14:14 .dockerignore 14:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:14 .git 14:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:14 .github 14:20:29 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 14:14 .gitignore 14:20:29 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 14:14 .golangci.yml 14:20:29 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 14:14 Attribution.txt 14:20:29 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 14:14 CHANGELOG.md 14:20:29 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 14:14 Dockerfile 14:20:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 14:14 GOVERNANCE.md 14:20:29 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 14:14 Jenkinsfile 14:20:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 14:14 LICENSE 14:20:29 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 14:14 Makefile 14:20:29 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 14:14 OWNERS.md 14:20:29 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 14:14 README.md 14:20:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 14:12 VERSION 14:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:14 bin 14:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:14 cmd 14:20:29 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 14:19 coverage.out 14:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:14 driver 14:20:29 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 14:14 go.mod 14:20:29 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 14:14 go.sum 14:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:14 snap 14:20:29 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 14:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:29 + 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=b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 --label arch=arm64 --label version=0.0.0 . 14:20:29 Sending build context to Docker daemon 153.6kB 14:20:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:20:29 Step 2/25 : FROM ${BASE} AS builder 14:20:29 ---> 45286ca4fedc 14:20:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:20:29 ---> Running in 2ed6cc6e375a 14:20:30 Removing intermediate container 2ed6cc6e375a 14:20:30 ---> a7d9d430c5b4 14:20:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:20:30 ---> Running in f1742250f27c 14:20:30 Removing intermediate container f1742250f27c 14:20:30 ---> 1ddcf22e0fd6 14:20:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:20:30 ---> Running in da91785a1171 14:20:30 Removing intermediate container da91785a1171 14:20:30 ---> 57ea696e193f 14:20:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:20:30 ---> Running in 49ac8424c8b3 14:20:31 Removing intermediate container 49ac8424c8b3 14:20:31 ---> e83efce4fb0f 14:20:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:20:31 ---> Running in d85a84eabb69 14:20:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:20:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:20:34 OK: 268 MiB in 57 packages 14:20:34 Removing intermediate container d85a84eabb69 14:20:34 ---> 1c8b653120f7 14:20:34 Step 8/25 : WORKDIR /device-rest-go 14:20:34 ---> Running in 17c88aafaf81 14:20:35 Removing intermediate container 17c88aafaf81 14:20:35 ---> ce72303250c1 14:20:35 Step 9/25 : COPY go.mod vendor* ./ 14:20:35 ---> 61867fc86008 14:20:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:20:35 ---> Running in bad4d27cfb7e 14:20:39 Removing intermediate container bad4d27cfb7e 14:20:39 ---> fd9a58806d4f 14:20:39 Step 11/25 : COPY . . 14:20:39 ---> 5a19f3757c2a 14:20:39 Step 12/25 : RUN $MAKE 14:20:39 ---> Running in c06d0b2be412 14:20:40 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 14:23:02 Removing intermediate container c06d0b2be412 14:23:02 ---> da3a568c20e7 14:23:02 Step 13/25 : FROM alpine:3.17 14:23:02 3.17: Pulling from library/alpine 14:23:02 af6eaf76a39c: Already exists 14:23:02 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 14:23:02 Status: Downloaded newer image for alpine:3.17 14:23:02 ---> d74e625d9115 14:23:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:23:02 ---> Running in 60dd4159b978 14:23:02 Removing intermediate container 60dd4159b978 14:23:02 ---> 38004c4d51be 14:23:02 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:23:02 ---> Running in 4eb8e3ca81e9 14:23:02 Removing intermediate container 4eb8e3ca81e9 14:23:02 ---> 31ae22b87d29 14:23:02 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:23:02 ---> Running in 6767e7e7731a 14:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:23:02 (1/1) Installing dumb-init (1.2.5-r2) 14:23:02 Executing busybox-1.35.0-r29.trigger 14:23:02 OK: 8 MiB in 16 packages 14:23:02 Removing intermediate container 6767e7e7731a 14:23:02 ---> 735434efb3f7 14:23:02 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:23:02 ---> 40312f2de283 14:23:02 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:23:02 ---> 11ed177c4fc4 14:23:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:23:02 ---> c43f3459dff3 14:23:02 Step 20/25 : EXPOSE 59986 14:23:02 ---> Running in f3bceba71671 14:23:02 Removing intermediate container f3bceba71671 14:23:02 ---> 1b0264c36922 14:23:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:23:02 ---> Running in 4e5ea2d6f444 14:23:02 Removing intermediate container 4e5ea2d6f444 14:23:02 ---> e0516eee519b 14:23:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:23:02 ---> Running in 2283094a12e4 14:23:02 Removing intermediate container 2283094a12e4 14:23:02 ---> 4b0ce3adf661 14:23:02 Step 23/25 : LABEL arch=arm64 14:23:02 ---> Running in 27f476f0129e 14:23:02 Removing intermediate container 27f476f0129e 14:23:02 ---> a2e6eb723167 14:23:02 Step 24/25 : LABEL git_sha=b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 14:23:02 ---> Running in ac5392292170 14:23:02 Removing intermediate container ac5392292170 14:23:02 ---> eb3564444c8e 14:23:02 Step 25/25 : LABEL version=0.0.0 14:23:02 ---> Running in b08981184c5c 14:23:02 Removing intermediate container b08981184c5c 14:23:02 ---> 591aee0754b9 14:23:02 [Warning] One or more build-args [ARCH] were not consumed 14:23:02 Successfully built 591aee0754b9 14:23:02 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 14:23:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:03 14:23:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:03 arm64: Pulling from edgex-lftools-log-publisher 14:23:03 8998bd30e6a1: Pulling fs layer 14:23:03 04944245beec: Pulling fs layer 14:23:03 699f458cf7ca: Pulling fs layer 14:23:03 765212b225bb: Pulling fs layer 14:23:03 f23df028b6ca: Pulling fs layer 14:23:03 d65c8cfc05b1: Pulling fs layer 14:23:03 2437ff75d9bd: Pulling fs layer 14:23:03 765212b225bb: Waiting 14:23:03 f23df028b6ca: Waiting 14:23:03 d65c8cfc05b1: Waiting 14:23:03 2437ff75d9bd: Waiting 14:23:03 04944245beec: Verifying Checksum 14:23:03 04944245beec: Download complete 14:23:03 765212b225bb: Verifying Checksum 14:23:03 765212b225bb: Download complete 14:23:03 f23df028b6ca: Verifying Checksum 14:23:03 f23df028b6ca: Download complete 14:23:03 d65c8cfc05b1: Verifying Checksum 14:23:03 d65c8cfc05b1: Download complete 14:23:04 699f458cf7ca: Download complete 14:23:04 8998bd30e6a1: Verifying Checksum 14:23:04 8998bd30e6a1: Download complete 14:23:06 2437ff75d9bd: Verifying Checksum 14:23:06 2437ff75d9bd: Download complete 14:23:08 8998bd30e6a1: Pull complete 14:23:08 04944245beec: Pull complete 14:23:10 699f458cf7ca: Pull complete 14:23:10 765212b225bb: Pull complete 14:23:10 f23df028b6ca: Pull complete 14:23:11 d65c8cfc05b1: Pull complete 14:23:26 2437ff75d9bd: Pull complete 14:23:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:23:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:26 prd-ubuntu20.04-docker-arm64-4c-16g-466 does not seem to be running inside a container 14:23:26 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:23:29 $ docker top 754eafa7dc004d04718e3cc52a6019aea697a6c7a5c752d75b7feb0bf8cf3724 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:29 ---> job-cost.sh 14:23:30 lf-activate-venv: SKIPPING 14:23:30 INFO: No Stack... 14:23:30 INFO: Retrieving Pricing Info for: v3-standard-4 14:23:31 INFO: Archiving Costs [Pipeline] sh 14:23:31 + cat /w/workspace/device-rest-go/1/archives/cost.csv 14:23:31 + cut -d, -f6 [Pipeline] lock 14:23:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] 14:23:32 Resource [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] did not exist. Created. 14:23:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:23:32 /w/workspace/device-rest-go/1@tmp/durable-c82230d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:23:32 + echo total: 0.10999999940395355 [Pipeline] stash 14:23:32 Warning: overwriting stash ‘stack-cost’ 14:23:32 Stashed 1 file(s) [Pipeline] } 14:23:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:23:32 $ docker stop --time=1 754eafa7dc004d04718e3cc52a6019aea697a6c7a5c752d75b7feb0bf8cf3724 14:23:34 $ docker rm -f --volumes 754eafa7dc004d04718e3cc52a6019aea697a6c7a5c752d75b7feb0bf8cf3724 [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 14:23:35 provisioning config files... 14:23:35 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp/config1910925848452807315tmp [Pipeline] { [Pipeline] sh 14:23:35 + set +x 14:23:35 + + curl -s https://codecov.io/bashbash 14:23:35 -s -- 14:23:35 14:23:35 _____ _ 14:23:35 / ____| | | 14:23:35 | | ___ __| | ___ ___ _____ __ 14:23:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:23:35 | |___| (_) | (_| | __/ (_| (_) \ V / 14:23:35 \_____\___/ \__,_|\___|\___\___/ \_/ 14:23:35 Bash-1.0.6 14:23:35 14:23:35 14:23:35 ==> git version 2.25.1 found 14:23:35 ==> 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 14:23:35 Release-Date: 2020-01-08 14:23:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:23:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:23:35 ==> Jenkins CI detected. 14:23:35 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-266 14:23:35 project root: . 14:23:35 --> token set from env 14:23:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:23:35 ==> Running gcov in . (disable via -X gcov) 14:23:35 ==> Python coveragepy not found 14:23:35 ==> Searching for coverage reports in: 14:23:35 + . 14:23:35 -> Found 1 reports 14:23:35 ==> Detecting git/mercurial file structure 14:23:35 ==> Reading reports 14:23:35 + ./coverage.out bytes=14200 14:23:35 ==> Appending adjustments 14:23:35 https://docs.codecov.io/docs/fixing-reports 14:23:35 + Found adjustments 14:23:35 ==> Gzipping contents 14:23:35 4.0K /tmp/codecov.2d1wlL.gz 14:23:35 ==> Uploading reports 14:23:35 url: https://codecov.io 14:23:35 query: branch=PR-266&commit=b700eaf7ecda1d6c8dbe9740f42a0126d1780f87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-266%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=266&job=&cmd_args= 14:23:35 -> Pinging Codecov 14:23:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-266&commit=b700eaf7ecda1d6c8dbe9740f42a0126d1780f87&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-266%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=266&job=&cmd_args= 14:23:36 -> Uploading to 14:23:36 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/b700eaf7ecda1d6c8dbe9740f42a0126d1780f87/6c84463c-cf4d-45e6-8b01-7f6eb0a8c97d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T142335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d58c7c77f24643965a9d4c26cf20e949b4bf1af56e3ed739cf9845b720bed23 14:23:36 % Total % Received % Xferd Average Speed Time Time Time Current 14:23:36 Dload Upload Total Spent Left Speed 14:23:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 8412 --:--:-- --:--:-- --:--:-- 8384 14:23:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b700eaf7ecda1d6c8dbe9740f42a0126d1780f87 [Pipeline] } 14:23:36 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 14:23:38 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-266/archives ] 14:23:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-266/archives 14:23:38 total 16 14:23:38 drwxr-xr-x 3 root root 4096 Mar 15 14:14 . 14:23:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 14:14 .. 14:23:38 drwxr-xr-x 2 root root 4096 Mar 15 14:14 cost 14:23:38 -rw-r--r-- 1 root root 86 Mar 15 14:14 cost.csv 14:23:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-266/archives 14:23:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-266/archives 14:23:38 total 16 14:23:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 14:14 . 14:23:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 14:14 .. 14:23:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 14:14 cost 14:23:38 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 14:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:23:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:23:39 ---> package-listing.sh 14:23:39 ++ facter osfamily 14:23:39 ++ tr '[:upper:]' '[:lower:]' 14:23:39 + OS_FAMILY=debian 14:23:39 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-266 14:23:39 + START_PACKAGES=/tmp/packages_start.txt 14:23:39 + END_PACKAGES=/tmp/packages_end.txt 14:23:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:23:39 + PACKAGES=/tmp/packages_start.txt 14:23:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-266 ']' 14:23:39 + PACKAGES=/tmp/packages_end.txt 14:23:39 + case "${OS_FAMILY}" in 14:23:39 + dpkg -l 14:23:39 + grep '^ii' 14:23:39 + '[' -f /tmp/packages_start.txt ']' 14:23:39 + '[' -f /tmp/packages_end.txt ']' 14:23:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:23:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-266 ']' 14:23:39 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-266/archives/ 14:23:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-266/archives/ [Pipeline] echo 14:23:39 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-266/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:23:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:40 prd-ubuntu20.04-docker-8c-8g-465 does not seem to be running inside a container 14:23:40 $ 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-266/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-266 -v /w/workspace/gexfoundry_device-rest-go_PR-266:/w/workspace/gexfoundry_device-rest-go_PR-266:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-266@tmp:/w/workspace/gexfoundry_device-rest-go_PR-266@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 14:23:41 $ docker top 2ad7129bf47b4d9346f71f997f71963f4ffef63f3b51d9983f719cafc211f7c1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:23:41 + touch /tmp/pre-build-complete [Pipeline] sh 14:23:41 + mkdir -p /var/log/sysstat [Pipeline] sh 14:23:42 + ls /var/log/sa-host 14:23:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:23:42 provisioning config files... 14:23:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-266@tmp/config3712328307221643073tmp [Pipeline] { [Pipeline] echo 14:23:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:23:42 ---> create-netrc.sh [Pipeline] } 14:23:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:23:42 ---> python-tools-install.sh [Pipeline] echo 14:23:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:23:43 ---> sudo-logs.sh 14:23:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:23:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:23:43 ---> job-cost.sh 14:23:43 lf-activate-venv: SKIPPING 14:23:43 DEBUG: total: 0.2199999988079071 14:23:43 INFO: Retrieving Stack Cost... 14:23:43 INFO: Retrieving Pricing Info for: v3-standard-8 14:23:44 INFO: Archiving Costs [Pipeline] echo 14:23:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:23:44 ---> logs-deploy.sh 14:23:44 lf-activate-venv: SKIPPING 14:23:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-266/1 14:23:44 INFO: archiving workspace using pattern(s): 14:23:45 Archives upload complete. 14:23:46 INFO: archiving logs to Nexus 14:23:46 ---> uname -a: 14:23:46 Linux prd-ubuntu20-04-docker-8c-8g-465 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 14:23:46 14:23:46 14:23:46 ---> lscpu: 14:23:46 Architecture: x86_64 14:23:46 CPU op-mode(s): 32-bit, 64-bit 14:23:46 Byte Order: Little Endian 14:23:46 Address sizes: 40 bits physical, 48 bits virtual 14:23:46 CPU(s): 8 14:23:46 On-line CPU(s) list: 0-7 14:23:46 Thread(s) per core: 1 14:23:46 Core(s) per socket: 1 14:23:46 Socket(s): 8 14:23:46 NUMA node(s): 1 14:23:46 Vendor ID: AuthenticAMD 14:23:46 CPU family: 23 14:23:46 Model: 49 14:23:46 Model name: AMD EPYC-Rome Processor 14:23:46 Stepping: 0 14:23:46 CPU MHz: 2799.996 14:23:46 BogoMIPS: 5599.99 14:23:46 Virtualization: AMD-V 14:23:46 Hypervisor vendor: KVM 14:23:46 Virtualization type: full 14:23:46 L1d cache: 256 KiB 14:23:46 L1i cache: 256 KiB 14:23:46 L2 cache: 4 MiB 14:23:46 L3 cache: 128 MiB 14:23:46 NUMA node0 CPU(s): 0-7 14:23:46 Vulnerability Itlb multihit: Not affected 14:23:46 Vulnerability L1tf: Not affected 14:23:46 Vulnerability Mds: Not affected 14:23:46 Vulnerability Meltdown: Not affected 14:23:46 Vulnerability Mmio stale data: Not affected 14:23:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:23:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:23:46 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:23:46 Vulnerability Srbds: Not affected 14:23:46 Vulnerability Tsx async abort: Not affected 14:23:46 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 14:23:46 14:23:46 14:23:46 ---> nproc: 14:23:46 8 14:23:46 14:23:46 14:23:46 ---> df -h: 14:23:46 Filesystem Size Used Avail Use% Mounted on 14:23:46 overlay 155G 12G 144G 8% / 14:23:46 tmpfs 64M 0 64M 0% /dev 14:23:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:23:46 shm 64M 0 64M 0% /dev/shm 14:23:46 /dev/vda1 155G 12G 144G 8% /facter-os 14:23:46 14:23:46 14:23:46 ---> sar -b -r -n DEV: 14:23:46 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-465) 03/15/23 _x86_64_ (8 CPU) 14:23:46 14:23:46 14:11:05 LINUX RESTART (8 CPU) 14:23:46 14:23:46 14:12:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:23:46 14:13:01 214.83 4.61 210.22 0.00 437.89 82788.68 0.00 14:23:46 14:14:01 123.15 0.18 122.96 0.00 11.86 27163.63 0.00 14:23:46 14:15:01 61.16 0.05 61.11 0.00 4.80 17274.45 0.00 14:23:46 14:16:01 2.17 0.00 2.17 0.00 0.00 24.41 0.00 14:23:46 14:17:01 54.46 10.61 43.84 0.00 5157.41 8765.07 0.00 14:23:46 14:18:01 4.87 0.02 4.85 0.00 0.13 105.18 0.00 14:23:46 14:19:01 1.35 0.00 1.35 0.00 0.00 15.33 0.00 14:23:46 14:20:01 1.98 0.00 1.98 0.00 0.00 21.20 0.00 14:23:46 14:21:01 1.55 0.00 1.55 0.00 0.00 17.86 0.00 14:23:46 14:22:01 1.95 0.00 1.95 0.00 0.00 21.33 0.00 14:23:46 14:23:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 14:23:46 Average: 42.37 1.40 40.97 0.00 510.25 12276.68 0.00 14:23:46 14:23:46 14:12:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:23:46 14:13:01 28477456 31590408 712400 2.17 144080 3183244 1757480 5.18 1060928 2910628 284 14:23:46 14:14:01 28176276 31570936 728120 2.21 148840 3442600 1891056 5.57 1244108 3005384 528 14:23:46 14:15:01 27699964 31593984 703544 2.14 157128 3883996 1747392 5.15 1239696 3433604 184 14:23:46 14:16:01 27699804 31594000 703156 2.14 157168 3883992 1747392 5.15 1239452 3433608 16 14:23:46 14:17:01 27174300 31576628 707252 2.15 190464 4339272 1827136 5.38 1557676 3604536 196 14:23:46 14:18:01 27179900 31577504 706416 2.15 189056 4336012 1805116 5.32 1556160 3601328 12 14:23:46 14:19:01 27185924 31583616 700268 2.13 189116 4336024 1805116 5.32 1550032 3601332 8 14:23:46 14:20:01 27186436 31584196 699652 2.13 189184 4336024 1805116 5.32 1550108 3601332 8 14:23:46 14:21:01 27186136 31583976 699800 2.13 189272 4336028 1805116 5.32 1550188 3601336 36 14:23:46 14:22:01 27185992 31583892 699768 2.13 189320 4336036 1805116 5.32 1550312 3601340 4 14:23:46 14:23:01 27185692 31583896 699924 2.13 189404 4336036 1805116 5.32 1550080 3601572 8 14:23:46 Average: 27485262 31583912 705482 2.15 175730 4068115 1800105 5.31 1422613 3454182 117 14:23:46 14:23:46 14:12:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:23:46 14:13:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 14:23:46 14:13:01 docker0 226.37 307.73 17.70 2153.89 0.00 0.00 0.00 0.00 14:23:46 14:13:01 ens3 511.78 349.30 6311.39 85.93 0.00 0.00 0.00 0.00 14:23:46 14:14:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 14:23:46 14:14:01 docker0 4.51 10.64 0.26 85.77 0.00 0.00 0.00 0.00 14:23:46 14:14:01 ens3 50.12 30.26 121.80 16.79 0.00 0.00 0.00 0.00 14:23:46 14:15:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 14:23:46 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:15:01 ens3 108.93 65.91 2523.86 11.89 0.00 0.00 0.00 0.00 14:23:46 14:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:23:46 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:16:01 ens3 0.20 0.12 0.01 0.01 0.00 0.00 0.00 0.00 14:23:46 14:17:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 14:23:46 14:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:17:01 ens3 193.23 97.08 2808.85 6.87 0.00 0.00 0.00 0.00 14:23:46 14:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:23:46 14:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:18:01 ens3 0.28 0.20 0.02 0.01 0.00 0.00 0.00 0.00 14:23:46 14:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:19:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:23:46 14:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:20:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 14:23:46 14:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:21:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:23:46 14:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:22:01 ens3 0.27 0.23 0.08 0.07 0.00 0.00 0.00 0.00 14:23:46 14:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 14:23:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:46 Average: lo 0.56 0.56 0.05 0.05 0.00 0.00 0.00 0.00 14:23:46 Average: docker0 20.68 28.52 1.61 200.63 0.00 0.00 0.00 0.00 14:23:46 Average: ens3 77.98 48.93 1061.60 10.94 0.00 0.00 0.00 0.00 14:23:46 14:23:46 14:23:46 ---> sar -P ALL: 14:23:46 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-465) 03/15/23 _x86_64_ (8 CPU) 14:23:46 14:23:46 14:11:05 LINUX RESTART (8 CPU) 14:23:46 14:23:46 14:12:02 CPU %user %nice %system %iowait %steal %idle 14:23:46 14:13:01 all 9.24 0.00 4.80 2.70 0.16 83.10 14:23:46 14:13:01 0 8.93 0.00 5.03 5.84 0.14 80.07 14:23:46 14:13:01 1 9.65 0.00 4.63 4.99 0.15 80.57 14:23:46 14:13:01 2 8.22 0.00 5.44 1.17 0.14 85.04 14:23:46 14:13:01 3 9.65 0.00 4.15 0.45 0.17 85.59 14:23:46 14:13:01 4 9.91 0.00 4.66 2.85 0.14 82.44 14:23:46 14:13:01 5 9.64 0.00 4.65 2.52 0.17 83.02 14:23:46 14:13:01 6 10.15 0.00 5.05 0.27 0.14 84.39 14:23:46 14:13:01 7 7.75 0.00 4.78 3.58 0.24 83.64 14:23:46 14:14:01 all 40.73 0.00 7.07 1.66 0.17 50.36 14:23:46 14:14:01 0 40.49 0.00 7.09 1.18 0.17 51.08 14:23:46 14:14:01 1 40.59 0.00 6.77 0.39 0.17 52.08 14:23:46 14:14:01 2 41.05 0.00 7.20 4.23 0.15 47.37 14:23:46 14:14:01 3 40.68 0.00 6.69 0.84 0.13 51.65 14:23:46 14:14:01 4 38.35 0.00 7.35 0.17 0.20 53.92 14:23:46 14:14:01 5 41.17 0.00 7.19 3.34 0.13 48.17 14:23:46 14:14:01 6 42.08 0.00 6.39 0.25 0.17 51.11 14:23:46 14:14:01 7 41.44 0.00 7.85 2.92 0.27 47.52 14:23:46 14:15:01 all 2.53 0.00 1.21 0.95 0.03 95.29 14:23:46 14:15:01 0 2.53 0.00 1.49 0.18 0.03 95.77 14:23:46 14:15:01 1 2.43 0.00 1.21 0.70 0.03 95.62 14:23:46 14:15:01 2 2.87 0.00 1.83 3.66 0.03 91.61 14:23:46 14:15:01 3 2.48 0.00 1.20 0.03 0.03 96.25 14:23:46 14:15:01 4 2.13 0.00 0.99 0.05 0.03 96.80 14:23:46 14:15:01 5 2.85 0.00 0.97 0.12 0.02 96.04 14:23:46 14:15:01 6 1.70 0.00 0.93 0.03 0.02 97.31 14:23:46 14:15:01 7 3.24 0.00 1.03 2.82 0.05 92.86 14:23:46 14:16:01 all 0.01 0.00 0.01 0.01 0.00 99.96 14:23:46 14:16:01 0 0.03 0.00 0.03 0.03 0.00 99.90 14:23:46 14:16:01 1 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:16:01 2 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:16:01 3 0.02 0.00 0.02 0.00 0.00 99.97 14:23:46 14:16:01 4 0.03 0.00 0.05 0.00 0.00 99.92 14:23:46 14:16:01 5 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:16:01 6 0.00 0.00 0.00 0.00 0.02 99.98 14:23:46 14:16:01 7 0.02 0.00 0.02 0.03 0.00 99.93 14:23:46 14:17:01 all 2.37 0.00 1.58 0.83 0.05 95.17 14:23:46 14:17:01 0 1.39 0.00 0.90 0.62 0.03 97.05 14:23:46 14:17:01 1 1.79 0.00 1.09 0.55 0.05 96.53 14:23:46 14:17:01 2 3.65 0.00 2.50 0.23 0.05 93.57 14:23:46 14:17:01 3 1.56 0.00 1.37 0.60 0.05 96.41 14:23:46 14:17:01 4 3.51 0.00 1.25 0.17 0.05 95.02 14:23:46 14:17:01 5 1.82 0.00 2.17 0.28 0.03 95.69 14:23:46 14:17:01 6 3.41 0.00 1.79 1.20 0.03 93.56 14:23:46 14:17:01 7 1.79 0.00 1.58 3.00 0.10 93.53 14:23:46 14:18:01 all 0.08 0.00 0.04 0.02 0.00 99.86 14:23:46 14:18:01 0 0.10 0.00 0.07 0.12 0.02 99.70 14:23:46 14:18:01 1 0.12 0.00 0.03 0.00 0.00 99.85 14:23:46 14:18:01 2 0.03 0.00 0.03 0.02 0.00 99.92 14:23:46 14:18:01 3 0.03 0.00 0.02 0.00 0.00 99.95 14:23:46 14:18:01 4 0.03 0.00 0.03 0.00 0.00 99.93 14:23:46 14:18:01 5 0.23 0.00 0.07 0.00 0.00 99.70 14:23:46 14:18:01 6 0.05 0.00 0.05 0.02 0.00 99.88 14:23:46 14:18:01 7 0.03 0.00 0.03 0.00 0.00 99.93 14:23:46 14:19:01 all 0.03 0.00 0.01 0.01 0.00 99.95 14:23:46 14:19:01 0 0.05 0.00 0.05 0.07 0.02 99.82 14:23:46 14:19:01 1 0.05 0.00 0.02 0.00 0.00 99.93 14:23:46 14:19:01 2 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:19:01 3 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:19:01 4 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:19:01 5 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:19:01 6 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:19:01 7 0.03 0.00 0.02 0.00 0.00 99.95 14:23:46 14:20:01 all 0.06 0.00 0.01 0.03 0.00 99.89 14:23:46 14:20:01 0 0.10 0.00 0.03 0.17 0.02 99.68 14:23:46 14:20:01 1 0.37 0.00 0.02 0.00 0.00 99.62 14:23:46 14:20:01 2 0.00 0.00 0.00 0.07 0.02 99.92 14:23:46 14:20:01 3 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:20:01 4 0.03 0.00 0.02 0.00 0.00 99.95 14:23:46 14:20:01 5 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:20:01 6 0.00 0.00 0.02 0.00 0.00 99.98 14:23:46 14:20:01 7 0.00 0.00 0.02 0.00 0.00 99.98 14:23:46 14:21:01 all 0.03 0.00 0.01 0.02 0.00 99.94 14:23:46 14:21:01 0 0.13 0.00 0.03 0.08 0.00 99.75 14:23:46 14:21:01 1 0.02 0.00 0.02 0.00 0.00 99.97 14:23:46 14:21:01 2 0.03 0.00 0.02 0.05 0.00 99.90 14:23:46 14:21:01 3 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:21:01 4 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:21:01 5 0.00 0.00 0.02 0.02 0.02 99.95 14:23:46 14:21:01 6 0.03 0.00 0.00 0.00 0.00 99.97 14:23:46 14:21:01 7 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:22:01 all 0.08 0.00 0.02 0.01 0.00 99.88 14:23:46 14:22:01 0 0.07 0.00 0.05 0.07 0.02 99.80 14:23:46 14:22:01 1 0.55 0.00 0.02 0.00 0.02 99.42 14:23:46 14:22:01 2 0.00 0.00 0.02 0.05 0.00 99.93 14:23:46 14:22:01 3 0.00 0.00 0.02 0.00 0.00 99.98 14:23:46 14:22:01 4 0.02 0.00 0.02 0.00 0.00 99.97 14:23:46 14:22:01 5 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:22:01 6 0.02 0.00 0.02 0.00 0.00 99.97 14:23:46 14:22:01 7 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:23:01 all 0.03 0.00 0.02 0.01 0.00 99.94 14:23:46 14:23:01 0 0.10 0.00 0.10 0.10 0.00 99.70 14:23:46 14:23:01 1 0.00 0.00 0.02 0.00 0.00 99.98 14:23:46 14:23:01 2 0.02 0.00 0.00 0.02 0.00 99.97 14:23:46 14:23:01 3 0.02 0.00 0.02 0.00 0.00 99.97 14:23:46 14:23:01 4 0.05 0.00 0.00 0.00 0.02 99.93 14:23:46 14:23:01 5 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:23:01 6 0.02 0.00 0.00 0.00 0.00 99.98 14:23:46 14:23:01 7 0.00 0.00 0.00 0.00 0.00 100.00 14:23:46 14:23:46 Average: CPU %user %nice %system %iowait %steal %idle 14:23:46 Average: all 4.97 0.00 1.33 0.56 0.04 93.10 14:23:46 Average: 0 4.86 0.00 1.34 0.75 0.04 93.01 14:23:46 Average: 1 5.02 0.00 1.25 0.59 0.04 93.10 14:23:46 Average: 2 5.04 0.00 1.53 0.86 0.04 92.53 14:23:46 Average: 3 4.91 0.00 1.21 0.17 0.03 93.67 14:23:46 Average: 4 4.86 0.00 1.29 0.29 0.04 93.52 14:23:46 Average: 5 5.02 0.00 1.35 0.56 0.03 93.03 14:23:46 Average: 6 5.18 0.00 1.28 0.16 0.03 93.34 14:23:46 Average: 7 4.90 0.00 1.37 1.11 0.06 92.56 14:23:46 14:23:46 14:23:46