Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 573a93dc585fd2e24dadc7fb4d4ae830a990380c 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-ssh11910074345667431319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9468151330206823513.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6903420610205098984.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8970148249187532470.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6155714934727638896.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20448 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 573a93dc585fd2e24dadc7fb4d4ae830a990380c (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 Commit message: "Merge pull request #207 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" > git rev-list --no-walk a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:52:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:52:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:52:29 ========================================================= 23:52:29 EdgeX Global Pipelines Version Info 23:52:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:52:30 ------------------- 23:52:30 stable info: 23:52:30 ------------------- 23:52:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:52:30 Message: update stable to v1.0.238 23:52:30 ------------------- 23:52:30 experimental info: 23:52:30 ------------------- 23:52:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:52:30 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 573a93d [Pipeline] echo 23:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:31 provisioning config files... 23:52:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7401826737394338026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:31 ---> docker-login.sh 23:52:31 nexus3.edgexfoundry.org:10001 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 nexus3.edgexfoundry.org:10002 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 nexus3.edgexfoundry.org:10003 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 nexus3.edgexfoundry.org:10004 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:32 Configure a credential helper to remove this warning. See 23:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:32 23:52:32 Login Succeeded 23:52:32 docker.io 23:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:33 Configure a credential helper to remove this warning. See 23:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:33 23:52:33 Login Succeeded 23:52:33 ---> docker-login.sh ends [Pipeline] } 23:52:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:52:33 + git rev-list -1 --merges 573a93dc585fd2e24dadc7fb4d4ae830a990380c~1..573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo 23:52:33 -----------> git rev-list -1 --merges 573a93dc585fd2e24dadc7fb4d4ae830a990380c~1..573a93dc585fd2e24dadc7fb4d4ae830a990380c 573a93dc585fd2e24dadc7fb4d4ae830a990380c 23:52:33 573a93dc585fd2e24dadc7fb4d4ae830a990380c [false] [Pipeline] sh 23:52:33 + git log --format=format:%s -1 573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo 23:52:33 ========================================================= 23:52:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:52:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:34 + git log --format=format:%s -1 573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo 23:52:34 [semverPrep] GIT_COMMIT: 573a93dc585fd2e24dadc7fb4d4ae830a990380c, Commit Message: Merge pull request #207 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14 [Pipeline] echo 23:52:34 [semverPrep] This is not a build commit. [Pipeline] sh 23:52:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:34 + grep -v github /etc/ssh/ssh_known_hosts 23:52:34 + [ -e /tmp/ssh_known_hosts ] 23:52:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:52:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:52:34 + sudo tee -a /etc/ssh/ssh_known_hosts 23:52:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:35 23:52:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:35 0.1.4: Pulling from edgex-devops/py-git-semver 23:52:35 b85a868b505f: Pulling fs layer 23:52:35 e2be974225ed: Pulling fs layer 23:52:35 339a4e72a1f5: Pulling fs layer 23:52:35 988bab9f4d93: Pulling fs layer 23:52:35 1469e6f7b9e6: Pulling fs layer 23:52:35 eaf3925da568: Pulling fs layer 23:52:35 bab4dde63d76: Pulling fs layer 23:52:35 bde34c3a00c8: Pulling fs layer 23:52:35 b352a97aabf1: Pulling fs layer 23:52:35 4872d77fe225: Pulling fs layer 23:52:35 5851b861e8e6: Pulling fs layer 23:52:35 988bab9f4d93: Waiting 23:52:35 1469e6f7b9e6: Waiting 23:52:35 b352a97aabf1: Waiting 23:52:35 4872d77fe225: Waiting 23:52:35 5851b861e8e6: Waiting 23:52:35 bab4dde63d76: Waiting 23:52:35 eaf3925da568: Waiting 23:52:35 bde34c3a00c8: Waiting 23:52:35 e2be974225ed: Verifying Checksum 23:52:35 988bab9f4d93: Download complete 23:52:35 1469e6f7b9e6: Verifying Checksum 23:52:35 1469e6f7b9e6: Download complete 23:52:35 eaf3925da568: Verifying Checksum 23:52:35 eaf3925da568: Download complete 23:52:35 339a4e72a1f5: Verifying Checksum 23:52:35 339a4e72a1f5: Download complete 23:52:35 bde34c3a00c8: Verifying Checksum 23:52:35 bde34c3a00c8: Download complete 23:52:35 b352a97aabf1: Verifying Checksum 23:52:35 b352a97aabf1: Download complete 23:52:35 4872d77fe225: Download complete 23:52:35 5851b861e8e6: Verifying Checksum 23:52:35 5851b861e8e6: Download complete 23:52:35 b85a868b505f: Verifying Checksum 23:52:35 b85a868b505f: Download complete 23:52:35 bab4dde63d76: Verifying Checksum 23:52:35 bab4dde63d76: Download complete 23:52:36 b85a868b505f: Pull complete 23:52:37 e2be974225ed: Pull complete 23:52:37 339a4e72a1f5: Pull complete 23:52:37 988bab9f4d93: Pull complete 23:52:37 1469e6f7b9e6: Pull complete 23:52:37 eaf3925da568: Pull complete 23:52:39 bab4dde63d76: Pull complete 23:52:39 bde34c3a00c8: Pull complete 23:52:40 b352a97aabf1: Pull complete 23:52:40 4872d77fe225: Pull complete 23:52:40 5851b861e8e6: Pull complete 23:52:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:52:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:40 prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container 23:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:44 $ docker top 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 -eo pid,comm 23:52:44 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). 23:52:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:44 [ssh-agent] Looking for ssh-agent implementation... 23:52:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:44 $ docker exec 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent 23:52:44 SSH_AUTH_SOCK=/tmp/ssh-yGavOZHerpFD/agent.32 23:52:44 SSH_AGENT_PID=39 23:52:44 Running ssh-add (command line suppressed) 23:52:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5832451869158521581.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5832451869158521581.key) 23:52:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:44 + git tag --points-at HEAD [Pipeline] } 23:52:45 $ docker exec --env ******** --env ******** 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent -k 23:52:45 unset SSH_AUTH_SOCK; 23:52:45 unset SSH_AGENT_PID; 23:52:45 echo Agent pid 39 killed; 23:52:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:52:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:45 [ssh-agent] Looking for ssh-agent implementation... 23:52:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:45 $ docker exec 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent 23:52:45 SSH_AUTH_SOCK=/tmp/ssh-jrnioJCUVPpJ/agent.71 23:52:45 SSH_AGENT_PID=79 23:52:45 Running ssh-add (command line suppressed) 23:52:45 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8252505668478047364.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8252505668478047364.key) 23:52:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:45 + git semver init 23:52:46 2022-07-18 23:52:45,977 [run_init] DEBUG init version:0.0.0 force:False 23:52:46 2022-07-18 23:52:45,978 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:52:46 2022-07-18 23:52:45,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:52:46 2022-07-18 23:52:45,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:52:46 2022-07-18 23:52:46,877 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:52:46 2022-07-18 23:52:46,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:52:46 2022-07-18 23:52:46,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:46 2022-07-18 23:52:46,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:46 2.2.1-dev.10 [Pipeline] } 23:52:47 $ docker exec --env ******** --env ******** 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent -k 23:52:47 unset SSH_AUTH_SOCK; 23:52:47 unset SSH_AGENT_PID; 23:52:47 echo Agent pid 79 killed; 23:52:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:47 + git semver [Pipeline] } 23:52:47 $ docker stop --time=1 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 23:52:48 $ docker rm -f 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 [Pipeline] // withDockerContainer [Pipeline] sh 23:52:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:52:49 Stashed 1 file(s) [Pipeline] echo 23:52:49 [edgeXSemver]: initialized semver on version 2.2.1-dev.10 [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 23:52:49 provisioning config files... 23:52:49 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1781909363265496259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:49 ---> docker-login.sh 23:52:49 nexus3.edgexfoundry.org:10001 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:49 Configure a credential helper to remove this warning. See 23:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:49 23:52:49 Login Succeeded 23:52:49 nexus3.edgexfoundry.org:10002 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:50 Configure a credential helper to remove this warning. See 23:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:50 23:52:50 Login Succeeded 23:52:50 nexus3.edgexfoundry.org:10003 23:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:50 Configure a credential helper to remove this warning. See 23:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:50 23:52:50 Login Succeeded 23:52:50 nexus3.edgexfoundry.org:10004 23:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:50 Configure a credential helper to remove this warning. See 23:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:50 23:52:50 Login Succeeded 23:52:50 docker.io 23:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:50 Configure a credential helper to remove this warning. See 23:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:50 23:52:50 Login Succeeded 23:52:50 ---> docker-login.sh ends [Pipeline] } 23:52:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:52:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:50 ========================================================= 23:52:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:52:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:52:51 Sending build context to Docker daemon 10.68MB 23:52:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:52:51 Step 2/12 : FROM ${BASE} AS builder 23:52:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:52:51 2408cc74d12b: Pulling fs layer 23:52:51 ea60b727a1ce: Pulling fs layer 23:52:51 30c4a7721957: Pulling fs layer 23:52:51 370296b7ddb6: Pulling fs layer 23:52:51 7c6cee850709: Pulling fs layer 23:52:51 39a5fcdaea64: Pulling fs layer 23:52:51 d94ebbe4e438: Pulling fs layer 23:52:51 370296b7ddb6: Waiting 23:52:51 7c6cee850709: Waiting 23:52:51 39a5fcdaea64: Waiting 23:52:51 bcfd1f05c69d: Pulling fs layer 23:52:51 d94ebbe4e438: Waiting 23:52:51 59ccb84bbe0f: Pulling fs layer 23:52:51 30c4a7721957: Verifying Checksum 23:52:51 30c4a7721957: Download complete 23:52:51 ea60b727a1ce: Verifying Checksum 23:52:51 ea60b727a1ce: Download complete 23:52:51 7c6cee850709: Verifying Checksum 23:52:51 7c6cee850709: Download complete 23:52:51 39a5fcdaea64: Download complete 23:52:51 2408cc74d12b: Download complete 23:52:51 d94ebbe4e438: Verifying Checksum 23:52:51 d94ebbe4e438: Download complete 23:52:51 2408cc74d12b: Pull complete 23:52:51 ea60b727a1ce: Pull complete 23:52:51 59ccb84bbe0f: Verifying Checksum 23:52:51 59ccb84bbe0f: Download complete 23:52:51 30c4a7721957: Pull complete 23:52:52 370296b7ddb6: Verifying Checksum 23:52:52 370296b7ddb6: Download complete 23:52:52 bcfd1f05c69d: Verifying Checksum 23:52:52 bcfd1f05c69d: Download complete 23:52:56 370296b7ddb6: Pull complete 23:52:56 7c6cee850709: Pull complete 23:52:56 39a5fcdaea64: Pull complete 23:52:56 d94ebbe4e438: Pull complete 23:52:57 bcfd1f05c69d: Pull complete 23:52:58 59ccb84bbe0f: Pull complete 23:52:58 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:52:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:52:58 ---> a4fb48ad2a94 23:52:58 Step 3/12 : ARG MAKE='make build' 23:53:02 ---> Running in 74db9afaf01b 23:53:02 Removing intermediate container 74db9afaf01b 23:53:02 ---> ab6e9fca009e 23:53:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:53:02 ---> Running in 132d318ab447 23:53:02 Removing intermediate container 132d318ab447 23:53:02 ---> 3ca4a8b22805 23:53:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:53:02 ---> Running in 36f0a90f9490 23:53:02 Removing intermediate container 36f0a90f9490 23:53:02 ---> 0e8988ab543e 23:53:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:53:02 ---> Running in ac75c9d42bc3 23:53:02 Removing intermediate container ac75c9d42bc3 23:53:02 ---> 6400eebe26df 23:53:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:02 ---> Running in 2725fd9da821 23:53:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:53:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:53:03 (1/4) Installing openssh-keygen (9.0_p1-r1) 23:53:04 (2/4) Installing libedit (20210910.3.1-r0) 23:53:04 (3/4) Installing openssh-client-common (9.0_p1-r1) 23:53:04 (4/4) Installing openssh-client-default (9.0_p1-r1) 23:53:04 Executing busybox-1.35.0-r13.trigger 23:53:04 OK: 216 MiB in 55 packages 23:53:04 Still waiting to schedule task 23:53:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:53:04 Removing intermediate container 2725fd9da821 23:53:04 ---> 8b6c43cfa82f 23:53:04 Step 8/12 : WORKDIR /device-rest-go 23:53:04 ---> Running in b79a07e82d9e 23:53:04 Removing intermediate container b79a07e82d9e 23:53:04 ---> cb8076c43049 23:53:04 Step 9/12 : COPY go.mod vendor* ./ 23:53:04 ---> 947f616f33a2 23:53:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:04 ---> Running in 3eecc6486d86 23:53:23 Removing intermediate container 3eecc6486d86 23:53:23 ---> 97d7286fc4e7 23:53:23 Step 11/12 : COPY . . 23:53:23 ---> 31929f1c2438 23:53:23 Step 12/12 : RUN $MAKE 23:53:23 ---> Running in 36a9ebef1657 23:53:23 noop 23:53:23 Removing intermediate container 36a9ebef1657 23:53:23 ---> 415108159e84 23:53:23 Successfully built 415108159e84 23:53:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:23 + docker inspect -f . ci-base-image-x86_64 23:53:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:23 prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container 23:53:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 23:53:24 $ docker top 6eea738560a41a4f923b5648f543519da2d7870f0f3285ae6d0617e0681f4212 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:24 + go version 23:53:24 go version go1.18.3 linux/amd64 [Pipeline] } 23:53:24 $ docker stop --time=1 6eea738560a41a4f923b5648f543519da2d7870f0f3285ae6d0617e0681f4212 23:53:25 $ docker rm -f 6eea738560a41a4f923b5648f543519da2d7870f0f3285ae6d0617e0681f4212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:26 + docker inspect -f . ci-base-image-x86_64 23:53:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:26 prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container 23:53:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 23:53:26 $ docker top 8610d112725a239ecc9d9b53bd4f39c3d88e04bc390cbe603959ab8a991f5ba5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:53:27 + make test 23:53:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:53:27 ? github.com/edgexfoundry/device-rest-go [no test files] 23:53:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:53:37 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 23:53:44 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:53:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:53:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:46 ./bin/test-attribution-txt.sh [Pipeline] echo 23:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:53:46 $ docker stop --time=1 8610d112725a239ecc9d9b53bd4f39c3d88e04bc390cbe603959ab8a991f5ba5 23:53:48 $ docker rm -f 8610d112725a239ecc9d9b53bd4f39c3d88e04bc390cbe603959ab8a991f5ba5 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:50 + ls -al . 23:53:50 total 172 23:53:50 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 23:53 . 23:53:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:52 .. 23:53:50 -rw-rw-r-- 1 jenkins jenkins 151 Jul 18 23:52 .dockerignore 23:53:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 23:53 .git 23:53:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:52 .github 23:53:50 -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 23:52 .gitignore 23:53:50 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 23:52 .golangci.yml 23:53:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 23:52 .semver 23:53:50 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 18 23:52 Attribution.txt 23:53:50 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 18 23:52 CHANGELOG.md 23:53:50 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 18 23:52 Dockerfile 23:53:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 23:52 GOVERNANCE.md 23:53:50 -rw-rw-r-- 1 jenkins jenkins 680 Jul 18 23:52 Jenkinsfile 23:53:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 23:52 LICENSE 23:53:50 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 18 23:52 Makefile 23:53:50 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 23:52 OWNERS.md 23:53:50 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 18 23:52 README.md 23:53:50 -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 23:52 VERSION 23:53:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:52 bin 23:53:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:52 cmd 23:53:50 -rw-r--r-- 1 jenkins jenkins 9355 Jul 18 23:53 coverage.out 23:53:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:52 driver 23:53:50 -rw-rw-r-- 1 jenkins jenkins 3339 Jul 18 23:52 go.mod 23:53:50 -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 23:52 go.sum 23:53:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:52 snap 23:53:50 -rw-rw-r-- 1 jenkins jenkins 713 Jul 18 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:50 + 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=573a93dc585fd2e24dadc7fb4d4ae830a990380c --label arch=amd64 --label version=2.2.1-dev.10 . 23:53:50 Sending build context to Docker daemon 10.7MB 23:53:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:53:50 Step 2/25 : FROM ${BASE} AS builder 23:53:50 ---> 415108159e84 23:53:50 Step 3/25 : ARG MAKE='make build' 23:53:50 ---> Running in 80e49f9b9d20 23:53:50 Removing intermediate container 80e49f9b9d20 23:53:50 ---> 8331c5a5395f 23:53:50 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:53:50 ---> Running in fc70ebd4e9c0 23:53:50 Removing intermediate container fc70ebd4e9c0 23:53:50 ---> 2a2c767ec7f8 23:53:50 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:53:50 ---> Running in 178dcacb6528 23:53:50 Removing intermediate container 178dcacb6528 23:53:50 ---> f19e286d6804 23:53:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:53:50 ---> Running in 8952a029e2a6 23:53:51 Removing intermediate container 8952a029e2a6 23:53:51 ---> 6896de53d7a9 23:53:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:51 ---> Running in 2fdee0f37c6d 23:53:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:53:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:53:52 OK: 216 MiB in 55 packages 23:53:53 Removing intermediate container 2fdee0f37c6d 23:53:53 ---> da610e5e9b5a 23:53:53 Step 8/25 : WORKDIR /device-rest-go 23:53:53 ---> Running in d206d82cd07c 23:53:53 Removing intermediate container d206d82cd07c 23:53:53 ---> 8db590720b12 23:53:53 Step 9/25 : COPY go.mod vendor* ./ 23:53:53 ---> 8a1719373474 23:53:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:53 ---> Running in ca66f9b97e42 23:53:54 Removing intermediate container ca66f9b97e42 23:53:54 ---> f5b24a4e7546 23:53:54 Step 11/25 : COPY . . 23:53:54 ---> 305064479514 23:53:54 Step 12/25 : RUN $MAKE 23:53:54 ---> Running in d4e469ec261e 23:53:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 23:54:16 Removing intermediate container d4e469ec261e 23:54:16 ---> 0eef03d601b0 23:54:16 Step 13/25 : FROM alpine:3.16 23:54:16 3.16: Pulling from library/alpine 23:54:16 530afca65e2e: Pulling fs layer 23:54:16 530afca65e2e: Download complete 23:54:16 530afca65e2e: Pull complete 23:54:16 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 23:54:16 Status: Downloaded newer image for alpine:3.16 23:54:16 ---> d7d3d98c851f 23:54:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:54:16 ---> Running in 3d48ee6d2514 23:54:16 Removing intermediate container 3d48ee6d2514 23:54:16 ---> 6fc23c59acab 23:54:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:54:16 ---> Running in ad4180ebe6df 23:54:16 Removing intermediate container ad4180ebe6df 23:54:16 ---> 81036b2ac03c 23:54:16 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:54:16 ---> Running in ba8c4f9d1130 23:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:54:22 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: temporary error (try again later) 23:54:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:54:26 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) 23:54:26 ERROR: unable to select packages: 23:54:26  dumb-init (no such package): 23:54:26 required by: world[dumb-init] 23:54:26 zeromq (no such package): 23:54:26 required by: world[zeromq] 23:54:26 The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:27 23:54:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:27 latest: Pulling from edgex-lftools-log-publisher 23:54:27 5eb5b503b376: Pulling fs layer 23:54:27 5c69ac0246d0: Pulling fs layer 23:54:27 ec43610c2a17: Pulling fs layer 23:54:27 3a2ae6a8a46f: Pulling fs layer 23:54:27 33b1e0a273af: Pulling fs layer 23:54:27 5d3b04190fa2: Pulling fs layer 23:54:27 2f39f015ded8: Pulling fs layer 23:54:27 33b1e0a273af: Waiting 23:54:27 5d3b04190fa2: Waiting 23:54:27 2f39f015ded8: Waiting 23:54:27 3a2ae6a8a46f: Waiting 23:54:27 5c69ac0246d0: Download complete 23:54:27 3a2ae6a8a46f: Verifying Checksum 23:54:27 3a2ae6a8a46f: Download complete 23:54:27 33b1e0a273af: Verifying Checksum 23:54:27 33b1e0a273af: Download complete 23:54:27 5d3b04190fa2: Download complete 23:54:27 ec43610c2a17: Verifying Checksum 23:54:27 ec43610c2a17: Download complete 23:54:27 5eb5b503b376: Verifying Checksum 23:54:27 5eb5b503b376: Download complete 23:54:28 2f39f015ded8: Download complete 23:54:28 5eb5b503b376: Pull complete 23:54:28 5c69ac0246d0: Pull complete 23:54:29 ec43610c2a17: Pull complete 23:54:29 3a2ae6a8a46f: Pull complete 23:54:29 33b1e0a273af: Pull complete 23:54:29 5d3b04190fa2: Pull complete 23:54:33 2f39f015ded8: Pull complete 23:54:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:34 prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container 23:54:34 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:36 $ docker top f770fc4de43dba551a14e55811822751a926158de50d3f5cdbf62c24752ec7c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:36 ---> job-cost.sh 23:54:36 lf-activate-venv: SKIPPING 23:54:36 INFO: No Stack... 23:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:37 INFO: Archiving Costs [Pipeline] sh 23:54:37 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:54:37 + cut -d, -f6 [Pipeline] lock 23:54:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] 23:54:37 Resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] did not exist. Created. 23:54:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:38 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:38 Stashed 1 file(s) [Pipeline] } 23:54:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:38 $ docker stop --time=1 f770fc4de43dba551a14e55811822751a926158de50d3f5cdbf62c24752ec7c9 23:54:39 $ docker rm -f f770fc4de43dba551a14e55811822751a926158de50d3f5cdbf62c24752ec7c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:54:39 Failed in branch amd64 23:54:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20449 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:54:42 Running in /w/workspace/device-rest-go/53 [Pipeline] { [Pipeline] checkout 23:54:42 The recommended git tool is: git 23:54:48 using credential edgex-jenkins-ssh 23:54:48 Cloning the remote Git repository 23:54:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:54:48 > git init /w/workspace/device-rest-go/53 # timeout=10 23:54:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:54:48 > git --version # timeout=10 23:54:48 > git --version # 'git version 2.25.1' 23:54:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:54:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:50 Avoid second fetch 23:54:50 Checking out Revision 573a93dc585fd2e24dadc7fb4d4ae830a990380c (main) 23:54:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:54:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:54:50 > git config core.sparsecheckout # timeout=10 23:54:50 > git checkout -f 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 23:54:54 Commit message: "Merge pull request #207 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:54:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:54:55 Dload Upload Total Spent Left Speed 23:54:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97102 [Pipeline] sh 23:54:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:54:56 + sudo tee /etc/docker/daemon.new 23:54:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:54:56 { 23:54:56 "registry-mirrors": [ 23:54:56 "https://nexus3.edgexfoundry.org:10001" 23:54:56 ], 23:54:56 "bip": "10.250.0.254/24", 23:54:56 "hosts": [ 23:54:56 "tcp://0.0.0.0:5555", 23:54:56 "unix:///var/run/docker.sock" 23:54:56 ], 23:54:56 "mtu": 1458, 23:54:56 "selinux-enabled": true, 23:54:56 "seccomp-profile": "/etc/docker/seccomp.json" 23:54:56 } [Pipeline] sh 23:54:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:54:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:15 provisioning config files... 23:55:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config1861017252055814493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:16 ---> docker-login.sh 23:55:16 nexus3.edgexfoundry.org:10001 23:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:16 Configure a credential helper to remove this warning. See 23:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:16 23:55:16 Login Succeeded 23:55:16 nexus3.edgexfoundry.org:10002 23:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:17 Configure a credential helper to remove this warning. See 23:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:17 23:55:17 Login Succeeded 23:55:17 nexus3.edgexfoundry.org:10003 23:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:17 Configure a credential helper to remove this warning. See 23:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:17 23:55:17 Login Succeeded 23:55:17 nexus3.edgexfoundry.org:10004 23:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:18 Configure a credential helper to remove this warning. See 23:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:18 23:55:18 Login Succeeded 23:55:18 docker.io 23:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:18 Configure a credential helper to remove this warning. See 23:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:18 23:55:18 Login Succeeded 23:55:18 ---> docker-login.sh ends [Pipeline] } 23:55:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:19 ========================================================= 23:55:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:55:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:55:19 Sending build context to Docker daemon 126.5kB 23:55:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:55:20 Step 2/12 : FROM ${BASE} AS builder 23:55:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:55:20 b3c136eddcbf: Pulling fs layer 23:55:20 c0a3192eca97: Pulling fs layer 23:55:20 a050256f5b6f: Pulling fs layer 23:55:20 656be50a0ddc: Pulling fs layer 23:55:20 2bbca73fdf42: Pulling fs layer 23:55:20 46d945488cbd: Pulling fs layer 23:55:20 8a5474983e97: Pulling fs layer 23:55:20 329c88fbcd65: Pulling fs layer 23:55:20 2bbca73fdf42: Waiting 23:55:20 46d945488cbd: Waiting 23:55:20 8a5474983e97: Waiting 23:55:20 329c88fbcd65: Waiting 23:55:20 656be50a0ddc: Waiting 23:55:20 a050256f5b6f: Verifying Checksum 23:55:20 a050256f5b6f: Download complete 23:55:20 c0a3192eca97: Download complete 23:55:20 2bbca73fdf42: Verifying Checksum 23:55:20 2bbca73fdf42: Download complete 23:55:20 46d945488cbd: Verifying Checksum 23:55:20 46d945488cbd: Download complete 23:55:20 b3c136eddcbf: Verifying Checksum 23:55:20 b3c136eddcbf: Download complete 23:55:21 b3c136eddcbf: Pull complete 23:55:21 329c88fbcd65: Verifying Checksum 23:55:21 329c88fbcd65: Download complete 23:55:21 c0a3192eca97: Pull complete 23:55:21 a050256f5b6f: Pull complete 23:55:22 8a5474983e97: Verifying Checksum 23:55:23 656be50a0ddc: Download complete 23:55:35 656be50a0ddc: Pull complete 23:55:35 2bbca73fdf42: Pull complete 23:55:36 46d945488cbd: Pull complete 23:55:42 8a5474983e97: Pull complete 23:55:44 329c88fbcd65: Pull complete 23:55:44 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:55:44 ---> ff4287adb874 23:55:44 Step 3/12 : ARG MAKE='make build' 23:55:46 ---> Running in b32725a5089c 23:55:46 Removing intermediate container b32725a5089c 23:55:46 ---> 51cd71a41c4a 23:55:46 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:55:46 ---> Running in 875d8de1fda3 23:55:46 Removing intermediate container 875d8de1fda3 23:55:46 ---> 87d8939974e6 23:55:46 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:55:46 ---> Running in 85377bd56bb5 23:55:47 Removing intermediate container 85377bd56bb5 23:55:47 ---> 605edbb50b94 23:55:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:55:47 ---> Running in 5551aebe66ea 23:55:50 Removing intermediate container 5551aebe66ea 23:55:50 ---> b41c30b50493 23:55:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:50 ---> Running in 5ee8106c1ec4 23:55:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:55:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:55:53 (1/4) Installing openssh-keygen (9.0_p1-r1) 23:55:53 (2/4) Installing libedit (20210910.3.1-r0) 23:55:53 (3/4) Installing openssh-client-common (9.0_p1-r1) 23:55:53 (4/4) Installing openssh-client-default (9.0_p1-r1) 23:55:53 Executing busybox-1.35.0-r13.trigger 23:55:53 OK: 226 MiB in 55 packages 23:55:54 Removing intermediate container 5ee8106c1ec4 23:55:54 ---> 8054e41bf99a 23:55:54 Step 8/12 : WORKDIR /device-rest-go 23:55:54 ---> Running in 1eeb50dcc979 23:55:54 Removing intermediate container 1eeb50dcc979 23:55:54 ---> ab19df9cc067 23:55:54 Step 9/12 : COPY go.mod vendor* ./ 23:55:55 ---> 6a52b0f88055 23:55:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:55 ---> Running in ba1c3ce07d80 23:56:42 Removing intermediate container ba1c3ce07d80 23:56:42 ---> bf616b9ed6cd 23:56:42 Step 11/12 : COPY . . 23:56:42 ---> a7502722681d 23:56:42 Step 12/12 : RUN $MAKE 23:56:42 ---> Running in 631e16088c9c 23:56:42 noop 23:56:42 Removing intermediate container 631e16088c9c 23:56:42 ---> 0c2f32b83ca0 23:56:42 Successfully built 0c2f32b83ca0 23:56:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:42 + docker inspect -f . ci-base-image-arm64 23:56:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:43 prd-ubuntu20.04-docker-arm64-4c-16g-20449 does not seem to be running inside a container 23:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@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 ******** ci-base-image-arm64 cat 23:56:44 $ docker top 5e4cfb7eb1a40115f477c7a02995e2af0da7393867b6f17cbd907f997df1334b -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:45 + go version 23:56:45 go version go1.18.3 linux/arm64 [Pipeline] } 23:56:45 $ docker stop --time=1 5e4cfb7eb1a40115f477c7a02995e2af0da7393867b6f17cbd907f997df1334b 23:56:47 $ docker rm -f 5e4cfb7eb1a40115f477c7a02995e2af0da7393867b6f17cbd907f997df1334b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:47 + docker inspect -f . ci-base-image-arm64 23:56:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:48 prd-ubuntu20.04-docker-arm64-4c-16g-20449 does not seem to be running inside a container 23:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@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 ******** ci-base-image-arm64 cat 23:56:49 $ docker top 2af7a0be68912333f5399f1265c851a0d509de07e6c94b8d394a3aaffb854ecc -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:50 + git config --global --add safe.directory /w/workspace/device-rest-go/53 [Pipeline] fileExists [Pipeline] sh 23:56:51 + make test 23:56:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:56:52 ? github.com/edgexfoundry/device-rest-go [no test files] 23:58:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:58:14 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 23:58:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:58:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:58:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:58:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:58:32 ./bin/test-attribution-txt.sh [Pipeline] echo 23:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:58:32 $ docker stop --time=1 2af7a0be68912333f5399f1265c851a0d509de07e6c94b8d394a3aaffb854ecc 23:58:34 $ docker rm -f 2af7a0be68912333f5399f1265c851a0d509de07e6c94b8d394a3aaffb854ecc [Pipeline] // withDockerContainer [Pipeline] sh 23:58:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:58:35 Warning: overwriting stash ‘coverage-report’ 23:58:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:58:36 + ls -al . 23:58:36 total 168 23:58:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 23:56 . 23:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:54 .. 23:58:36 -rw-rw-r-- 1 jenkins jenkins 151 Jul 18 23:54 .dockerignore 23:58:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 23:54 .git 23:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:54 .github 23:58:36 -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 23:54 .gitignore 23:58:36 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 23:54 .golangci.yml 23:58:36 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 18 23:54 Attribution.txt 23:58:36 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 18 23:54 CHANGELOG.md 23:58:36 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 18 23:54 Dockerfile 23:58:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 23:54 GOVERNANCE.md 23:58:36 -rw-rw-r-- 1 jenkins jenkins 680 Jul 18 23:54 Jenkinsfile 23:58:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 23:54 LICENSE 23:58:36 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 18 23:54 Makefile 23:58:36 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 23:54 OWNERS.md 23:58:36 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 18 23:54 README.md 23:58:36 -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 23:52 VERSION 23:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:54 bin 23:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:54 cmd 23:58:36 -rw-r--r-- 1 jenkins jenkins 9355 Jul 18 23:58 coverage.out 23:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:54 driver 23:58:36 -rw-rw-r-- 1 jenkins jenkins 3339 Jul 18 23:54 go.mod 23:58:36 -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 23:54 go.sum 23:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:54 snap 23:58:36 -rw-rw-r-- 1 jenkins jenkins 713 Jul 18 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:36 + 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=573a93dc585fd2e24dadc7fb4d4ae830a990380c --label arch=arm64 --label version=2.2.1-dev.10 . 23:58:36 Sending build context to Docker daemon 136.7kB 23:58:37 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:58:37 Step 2/25 : FROM ${BASE} AS builder 23:58:37 ---> 0c2f32b83ca0 23:58:37 Step 3/25 : ARG MAKE='make build' 23:58:37 ---> Running in 29f0b47b39e5 23:58:37 Removing intermediate container 29f0b47b39e5 23:58:37 ---> 6a5c24eca143 23:58:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:58:37 ---> Running in 1eb2bf159ae5 23:58:38 Removing intermediate container 1eb2bf159ae5 23:58:38 ---> c02f1b0e0a20 23:58:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:58:38 ---> Running in 5af785f06b50 23:58:38 Removing intermediate container 5af785f06b50 23:58:38 ---> 3b6f157bec9e 23:58:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:58:38 ---> Running in bf7f2afffc34 23:58:40 Removing intermediate container bf7f2afffc34 23:58:40 ---> 4fd9293e52a5 23:58:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:40 ---> Running in 546f4e203973 23:58:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:58:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:58:43 OK: 226 MiB in 55 packages 23:58:44 Removing intermediate container 546f4e203973 23:58:44 ---> 665730f8db42 23:58:44 Step 8/25 : WORKDIR /device-rest-go 23:58:44 ---> Running in f1841fd27089 23:58:44 Removing intermediate container f1841fd27089 23:58:44 ---> 527b4f277a73 23:58:44 Step 9/25 : COPY go.mod vendor* ./ 23:58:44 ---> 6bcc713599ed 23:58:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:44 ---> Running in b5f248369413 23:58:46 Removing intermediate container b5f248369413 23:58:46 ---> 91880d6a13e6 23:58:46 Step 11/25 : COPY . . 23:58:47 ---> ad5d17aa0c7e 23:58:47 Step 12/25 : RUN $MAKE 23:58:47 ---> Running in a4285d72e7ce 23:58:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 00:00:55 Removing intermediate container a4285d72e7ce 00:00:55 ---> 6614cd11326a 00:00:55 Step 13/25 : FROM alpine:3.16 00:00:55 3.16: Pulling from library/alpine 00:00:55 f97344484467: Pulling fs layer 00:00:55 f97344484467: Verifying Checksum 00:00:55 f97344484467: Download complete 00:00:55 f97344484467: Pull complete 00:00:55 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 00:00:55 Status: Downloaded newer image for alpine:3.16 00:00:55 ---> 3d81c46cd875 00:00:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:00:55 ---> Running in 284e0fbd5d09 00:00:55 Removing intermediate container 284e0fbd5d09 00:00:55 ---> d57dd8f73b9f 00:00:55 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:00:55 ---> Running in 114b63c3da6d 00:00:55 Removing intermediate container 114b63c3da6d 00:00:55 ---> 54f72d1d991b 00:00:55 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:00:55 ---> Running in d1d6f612f0fa 00:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:00:55 (1/6) Installing dumb-init (1.2.5-r1) 00:00:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:00:55 (3/6) Installing libsodium (1.0.18-r0) 00:00:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:00:55 (5/6) Installing libzmq (4.3.4-r0) 00:00:55 (6/6) Installing zeromq (4.3.4-r0) 00:00:55 Executing busybox-1.35.0-r15.trigger 00:00:55 OK: 8 MiB in 20 packages 00:00:55 Removing intermediate container d1d6f612f0fa 00:00:55 ---> 002ec9ea3fd5 00:00:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:00:55 ---> 3ed1cd690bf4 00:00:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:00:55 ---> f2e0d51e9237 00:00:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:00:55 ---> 3fe7eab13d95 00:00:55 Step 20/25 : EXPOSE 59986 00:00:56 ---> Running in 798bcfcf278c 00:00:56 Removing intermediate container 798bcfcf278c 00:00:56 ---> f36fdcef27ed 00:00:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:00:56 ---> Running in 53dc592c889b 00:00:56 Removing intermediate container 53dc592c889b 00:00:56 ---> 5359466fde27 00:00:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:00:57 ---> Running in 694cb6fab86a 00:00:57 Removing intermediate container 694cb6fab86a 00:00:57 ---> 8dadf84c6dd5 00:00:57 Step 23/25 : LABEL arch=arm64 00:00:57 ---> Running in e3f586492951 00:00:57 Removing intermediate container e3f586492951 00:00:57 ---> ee2dc5c070dd 00:00:57 Step 24/25 : LABEL git_sha=573a93dc585fd2e24dadc7fb4d4ae830a990380c 00:00:57 ---> Running in 8d0514ac1236 00:00:57 Removing intermediate container 8d0514ac1236 00:00:57 ---> 742477d2f57b 00:00:57 Step 25/25 : LABEL version=2.2.1-dev.10 00:00:58 ---> Running in cf3cdcb36eb2 00:00:58 Removing intermediate container cf3cdcb36eb2 00:00:58 ---> 11f06200ad78 00:00:58 [Warning] One or more build-args [ARCH] were not consumed 00:00:58 Successfully built 11f06200ad78 00:00:58 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:58 provisioning config files... 00:00:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config7964666542051834935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:58 ---> docker-login.sh 00:00:58 nexus3.edgexfoundry.org:10001 00:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:59 Configure a credential helper to remove this warning. See 00:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:59 00:00:59 Login Succeeded 00:00:59 nexus3.edgexfoundry.org:10002 00:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:59 Configure a credential helper to remove this warning. See 00:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:59 00:00:59 Login Succeeded 00:00:59 nexus3.edgexfoundry.org:10003 00:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:00 Configure a credential helper to remove this warning. See 00:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:00 00:01:00 Login Succeeded 00:01:00 nexus3.edgexfoundry.org:10004 00:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:00 Configure a credential helper to remove this warning. See 00:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:00 00:01:00 Login Succeeded 00:01:00 docker.io 00:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:01 Configure a credential helper to remove this warning. See 00:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:01 00:01:01 Login Succeeded 00:01:01 ---> docker-login.sh ends [Pipeline] } 00:01:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:01:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:01 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:01:01 573a93dc585fd2e24dadc7fb4d4ae830a990380c 00:01:01 latest 00:01:01 2.2.1-dev.10 00:01:01 573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 00:01:01 main 00:01:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c 00:01:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:01:02 432489c9e278: Preparing 00:01:02 02903b136714: Preparing 00:01:02 c35c00b2a110: Preparing 00:01:02 64c900030eab: Preparing 00:01:02 5b7df235d876: Preparing 00:01:02 432489c9e278: Pushed 00:01:02 02903b136714: Pushed 00:01:03 64c900030eab: Pushed 00:01:04 5b7df235d876: Pushed 00:01:08 c35c00b2a110: Pushed 00:01:08 573a93dc585fd2e24dadc7fb4d4ae830a990380c: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:01:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:01:09 432489c9e278: Preparing 00:01:09 02903b136714: Preparing 00:01:09 c35c00b2a110: Preparing 00:01:09 64c900030eab: Preparing 00:01:09 5b7df235d876: Preparing 00:01:09 432489c9e278: Layer already exists 00:01:09 64c900030eab: Layer already exists 00:01:09 c35c00b2a110: Layer already exists 00:01:09 5b7df235d876: Layer already exists 00:01:09 02903b136714: Layer already exists 00:01:09 latest: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.10 00:01:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:01:10 432489c9e278: Preparing 00:01:10 02903b136714: Preparing 00:01:10 c35c00b2a110: Preparing 00:01:10 64c900030eab: Preparing 00:01:10 5b7df235d876: Preparing 00:01:10 5b7df235d876: Layer already exists 00:01:10 64c900030eab: Layer already exists 00:01:10 02903b136714: Layer already exists 00:01:10 c35c00b2a110: Layer already exists 00:01:10 432489c9e278: Layer already exists 00:01:10 2.2.1-dev.10: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 00:01:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:01:11 432489c9e278: Preparing 00:01:11 02903b136714: Preparing 00:01:11 c35c00b2a110: Preparing 00:01:11 64c900030eab: Preparing 00:01:11 5b7df235d876: Preparing 00:01:11 02903b136714: Layer already exists 00:01:11 c35c00b2a110: Layer already exists 00:01:11 64c900030eab: Layer already exists 00:01:11 432489c9e278: Layer already exists 00:01:11 5b7df235d876: Layer already exists 00:01:11 573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:01:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:01:12 432489c9e278: Preparing 00:01:12 02903b136714: Preparing 00:01:12 c35c00b2a110: Preparing 00:01:12 64c900030eab: Preparing 00:01:12 5b7df235d876: Preparing 00:01:12 5b7df235d876: Layer already exists 00:01:12 02903b136714: Layer already exists 00:01:12 432489c9e278: Layer already exists 00:01:12 64c900030eab: Layer already exists 00:01:12 c35c00b2a110: Layer already exists 00:01:12 main: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:01:12 ===================================================== [Pipeline] echo 00:01:12 taggedImages: 00:01:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c 00:01:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:01:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.10 00:01:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 00:01:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:12 00:01:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:13 arm64: Pulling from edgex-lftools-log-publisher 00:01:13 8998bd30e6a1: Pulling fs layer 00:01:13 04944245beec: Pulling fs layer 00:01:13 699f458cf7ca: Pulling fs layer 00:01:13 765212b225bb: Pulling fs layer 00:01:13 f23df028b6ca: Pulling fs layer 00:01:13 d65c8cfc05b1: Pulling fs layer 00:01:13 2437ff75d9bd: Pulling fs layer 00:01:13 f23df028b6ca: Waiting 00:01:13 d65c8cfc05b1: Waiting 00:01:13 765212b225bb: Waiting 00:01:13 2437ff75d9bd: Waiting 00:01:13 04944245beec: Verifying Checksum 00:01:13 04944245beec: Download complete 00:01:13 765212b225bb: Verifying Checksum 00:01:13 765212b225bb: Download complete 00:01:13 f23df028b6ca: Verifying Checksum 00:01:13 f23df028b6ca: Download complete 00:01:13 d65c8cfc05b1: Download complete 00:01:13 699f458cf7ca: Verifying Checksum 00:01:13 699f458cf7ca: Download complete 00:01:13 8998bd30e6a1: Download complete 00:01:16 2437ff75d9bd: Verifying Checksum 00:01:16 2437ff75d9bd: Download complete 00:01:18 8998bd30e6a1: Pull complete 00:01:18 04944245beec: Pull complete 00:01:20 699f458cf7ca: Pull complete 00:01:20 765212b225bb: Pull complete 00:01:21 f23df028b6ca: Pull complete 00:01:21 d65c8cfc05b1: Pull complete 00:01:36 2437ff75d9bd: Pull complete 00:01:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:37 prd-ubuntu20.04-docker-arm64-4c-16g-20449 does not seem to be running inside a container 00:01:37 $ 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/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@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-lftools-log-publisher:arm64 cat 00:01:39 $ docker top b4e8373804583570c90838c090e371a58bd50c2d37650f4079e31aed1b23d9a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:40 ---> job-cost.sh 00:01:40 lf-activate-venv: SKIPPING 00:01:40 INFO: No Stack... 00:01:41 INFO: Retrieving Pricing Info for: v3-standard-4 00:01:42 INFO: Archiving Costs [Pipeline] sh 00:01:43 + + cutcat -d, /w/workspace/device-rest-go/53/archives/cost.csv -f6 00:01:43 [Pipeline] lock 00:01:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] 00:01:43 Resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] did not exist. Created. 00:01:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:43 /w/workspace/device-rest-go/53@tmp/durable-0bf1158e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:01:44 + echo total: 0.10999999940395355 [Pipeline] stash 00:01:44 Warning: overwriting stash ‘stack-cost’ 00:01:44 Stashed 1 file(s) [Pipeline] } 00:01:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:44 $ docker stop --time=1 b4e8373804583570c90838c090e371a58bd50c2d37650f4079e31aed1b23d9a2 00:01:46 $ docker rm -f b4e8373804583570c90838c090e371a58bd50c2d37650f4079e31aed1b23d9a2 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:01:47 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 00:01:47 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:01:47 total 16 00:01:47 drwxr-xr-x 3 root root 4096 Jul 18 23:54 . 00:01:47 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 23:54 .. 00:01:47 drwxr-xr-x 2 root root 4096 Jul 18 23:54 cost 00:01:47 -rw-r--r-- 1 root root 84 Jul 18 23:54 cost.csv 00:01:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 00:01:47 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:01:47 total 16 00:01:47 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 23:54 . 00:01:47 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 23:54 .. 00:01:47 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 23:54 cost 00:01:47 -rw-r--r-- 1 jenkins jenkins 84 Jul 18 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:01:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:01:48 ---> package-listing.sh 00:01:48 ++ facter osfamily 00:01:48 ++ tr '[:upper:]' '[:lower:]' 00:01:48 + OS_FAMILY=debian 00:01:48 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 00:01:48 + START_PACKAGES=/tmp/packages_start.txt 00:01:48 + END_PACKAGES=/tmp/packages_end.txt 00:01:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:01:48 + PACKAGES=/tmp/packages_start.txt 00:01:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:01:48 + PACKAGES=/tmp/packages_end.txt 00:01:48 + case "${OS_FAMILY}" in 00:01:48 + dpkg -l 00:01:48 + grep '^ii' 00:01:48 + '[' -f /tmp/packages_start.txt ']' 00:01:48 + '[' -f /tmp/packages_end.txt ']' 00:01:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:01:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:01:48 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 00:01:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 00:01:48 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:01:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:49 prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container 00:01:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:01:49 $ docker top 0aec97b8b2ce47a1f460c06da7b3eb3c80d50212278170c123349b4c577f96b3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:50 + touch /tmp/pre-build-complete [Pipeline] sh 00:01:50 + mkdir -p /var/log/sysstat [Pipeline] sh 00:01:50 + ls /var/log/sa-host 00:01:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:01:50 provisioning config files... 00:01:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2863437362984611462tmp [Pipeline] { [Pipeline] echo 00:01:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:01:51 ---> create-netrc.sh [Pipeline] } 00:01:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:01:51 ---> python-tools-install.sh [Pipeline] echo 00:01:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:01:51 ---> sudo-logs.sh 00:01:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:01:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:01:52 ---> job-cost.sh 00:01:52 lf-activate-venv: SKIPPING 00:01:52 DEBUG: total: 0.2199999988079071 00:01:52 INFO: Retrieving Stack Cost... 00:01:52 INFO: Retrieving Pricing Info for: v3-standard-8 00:01:52 INFO: Archiving Costs [Pipeline] echo 00:01:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:01:53 ---> logs-deploy.sh 00:01:53 lf-activate-venv: SKIPPING 00:01:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/53 00:01:53 INFO: archiving workspace using pattern(s): 00:01:54 Archives upload complete. 00:01:54 INFO: archiving logs to Nexus 00:01:54 ---> uname -a: 00:01:54 Linux prd-ubuntu20-04-docker-8c-8g-20448 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:01:54 00:01:54 00:01:54 ---> lscpu: 00:01:54 Architecture: x86_64 00:01:54 CPU op-mode(s): 32-bit, 64-bit 00:01:54 Byte Order: Little Endian 00:01:54 Address sizes: 40 bits physical, 48 bits virtual 00:01:54 CPU(s): 8 00:01:54 On-line CPU(s) list: 0-7 00:01:54 Thread(s) per core: 1 00:01:54 Core(s) per socket: 1 00:01:54 Socket(s): 8 00:01:54 NUMA node(s): 1 00:01:54 Vendor ID: AuthenticAMD 00:01:54 CPU family: 23 00:01:54 Model: 49 00:01:54 Model name: AMD EPYC-Rome Processor 00:01:54 Stepping: 0 00:01:54 CPU MHz: 2799.864 00:01:54 BogoMIPS: 5599.72 00:01:54 Virtualization: AMD-V 00:01:54 Hypervisor vendor: KVM 00:01:54 Virtualization type: full 00:01:54 L1d cache: 256 KiB 00:01:54 L1i cache: 256 KiB 00:01:54 L2 cache: 4 MiB 00:01:54 L3 cache: 128 MiB 00:01:54 NUMA node0 CPU(s): 0-7 00:01:54 Vulnerability Itlb multihit: Not affected 00:01:54 Vulnerability L1tf: Not affected 00:01:54 Vulnerability Mds: Not affected 00:01:54 Vulnerability Meltdown: Not affected 00:01:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:01:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:01:54 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:01:54 Vulnerability Srbds: Not affected 00:01:54 Vulnerability Tsx async abort: Not affected 00:01:54 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 00:01:54 00:01:54 00:01:54 ---> nproc: 00:01:54 8 00:01:54 00:01:54 00:01:54 ---> df -h: 00:01:54 Filesystem Size Used Avail Use% Mounted on 00:01:54 overlay 155G 11G 145G 7% / 00:01:54 tmpfs 64M 0 64M 0% /dev 00:01:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:01:54 shm 64M 0 64M 0% /dev/shm 00:01:54 /dev/vda1 155G 11G 145G 7% /facter-os 00:01:54 00:01:54 00:01:54 ---> sar -b -r -n DEV: 00:01:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20448) 07/19/22 _x86_64_ (8 CPU) 00:01:54 00:01:54 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:01:54 00:00:01 400.00 0.00 400.00 0.00 0.00 7200.00 0.00 00:01:54 00:01:01 6.18 0.03 6.15 0.00 0.27 153.84 0.00 00:01:54 Average: 6.25 0.03 6.21 0.00 0.27 155.01 0.00 00:01:54 00:01:54 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:01:54 00:00:01 27708944 31773440 516744 1.57 170640 4047656 1889480 5.57 1256524 3409088 244 00:01:54 00:01:01 27708420 31773500 516632 1.57 170916 4047672 1925508 5.67 1257076 3408364 156 00:01:54 Average: 27708682 31773470 516688 1.57 170778 4047664 1907494 5.62 1256800 3408726 200 00:01:54 00:01:54 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:01:54 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:01:54 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:01:54 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:01:54 00:01:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:01:54 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:01:54 00:01:01 ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:01:54 Average: lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:01:54 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:01:54 Average: ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:01:54 00:01:54