Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 477ecd2da564d99dc00933cd236141b597d37819+71e268e2bbeb5f32b791e9fe51a95144d8b6bbea (3d08990d2ec189eb2741326630c85e2ccb246cd6) 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-ssh11662475992861131085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3481453888342259606.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12571549817721129288.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8317586708172129790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1626044719754100729.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1427014281334949285.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-12056 in /w/workspace/gexfoundry_device-rest-go_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea into PR head commit 477ecd2da564d99dc00933cd236141b597d37819 Merge succeeded, producing 477ecd2da564d99dc00933cd236141b597d37819 Checking out Revision 477ecd2da564d99dc00933cd236141b597d37819 (PR-357) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f 477ecd2da564d99dc00933cd236141b597d37819 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 477ecd2da564d99dc00933cd236141b597d37819 # timeout=10 20:28:44 ========================================================= 20:28:44 EdgeX Global Pipelines Version Info 20:28:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:28:44 ------------------- 20:28:44 stable info: 20:28:44 ------------------- 20:28:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:28:44 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:28:44 Message: update stable to v1.0.254 20:28:45 ------------------- 20:28:45 experimental info: 20:28:45 ------------------- 20:28:45 Commited By: **** collab-it+edgex@linuxfoundation.org 20:28:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:28:45 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:28:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 20:28:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 477ecd2da564d99dc00933cd236141b597d37819 [Pipeline] echo 20:28:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 477ecd2 [Pipeline] echo 20:28:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:47 provisioning config files... 20:28:47 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp/config3955629049589116079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:47 ---> docker-login.sh 20:28:47 nexus3.edgexfoundry.org:10001 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:47 Configure a credential helper to remove this warning. See 20:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:47 20:28:47 Login Succeeded 20:28:47 nexus3.edgexfoundry.org:10002 20:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:48 Configure a credential helper to remove this warning. See 20:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:48 20:28:48 Login Succeeded 20:28:48 nexus3.edgexfoundry.org:10003 20:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:48 Configure a credential helper to remove this warning. See 20:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:48 20:28:48 Login Succeeded 20:28:48 nexus3.edgexfoundry.org:10004 20:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:48 Configure a credential helper to remove this warning. See 20:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:48 20:28:48 Login Succeeded 20:28:48 docker.io 20:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:48 Configure a credential helper to remove this warning. See 20:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:48 20:28:48 Login Succeeded 20:28:48 ---> docker-login.sh ends [Pipeline] } 20:28:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:28:49 + git rev-list -1 --merges 477ecd2da564d99dc00933cd236141b597d37819~1..477ecd2da564d99dc00933cd236141b597d37819 [Pipeline] echo 20:28:49 -----------> git rev-list -1 --merges 477ecd2da564d99dc00933cd236141b597d37819~1..477ecd2da564d99dc00933cd236141b597d37819 477ecd2da564d99dc00933cd236141b597d37819 [false] [Pipeline] sh 20:28:49 + git log --format=format:%s -1 477ecd2da564d99dc00933cd236141b597d37819 [Pipeline] echo 20:28:49 ========================================================= 20:28:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:28:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:50 + git log --format=format:%s -1 477ecd2da564d99dc00933cd236141b597d37819 [Pipeline] echo 20:28:50 [semverPrep] GIT_COMMIT: 477ecd2da564d99dc00933cd236141b597d37819, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:28:50 [semverPrep] This is not a build commit. [Pipeline] sh 20:28:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:50 + grep -v github /etc/ssh/ssh_known_hosts 20:28:50 + [ -e /tmp/ssh_known_hosts ] 20:28:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:28:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:28:50 + sudo tee -a /etc/ssh/ssh_known_hosts 20:28:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:50 20:28:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:51 0.1.4: Pulling from edgex-devops/py-git-semver 20:28:51 b85a868b505f: Pulling fs layer 20:28:51 e2be974225ed: Pulling fs layer 20:28:51 339a4e72a1f5: Pulling fs layer 20:28:51 988bab9f4d93: Pulling fs layer 20:28:51 1469e6f7b9e6: Pulling fs layer 20:28:51 eaf3925da568: Pulling fs layer 20:28:51 bab4dde63d76: Pulling fs layer 20:28:51 bde34c3a00c8: Pulling fs layer 20:28:51 b352a97aabf1: Pulling fs layer 20:28:51 4872d77fe225: Pulling fs layer 20:28:51 5851b861e8e6: Pulling fs layer 20:28:51 988bab9f4d93: Waiting 20:28:51 1469e6f7b9e6: Waiting 20:28:51 eaf3925da568: Waiting 20:28:51 b352a97aabf1: Waiting 20:28:51 bde34c3a00c8: Waiting 20:28:51 5851b861e8e6: Waiting 20:28:51 4872d77fe225: Waiting 20:28:51 bab4dde63d76: Waiting 20:28:51 e2be974225ed: Download complete 20:28:51 988bab9f4d93: Verifying Checksum 20:28:51 988bab9f4d93: Download complete 20:28:51 339a4e72a1f5: Verifying Checksum 20:28:51 339a4e72a1f5: Download complete 20:28:51 1469e6f7b9e6: Verifying Checksum 20:28:51 1469e6f7b9e6: Download complete 20:28:51 bde34c3a00c8: Verifying Checksum 20:28:51 bde34c3a00c8: Download complete 20:28:51 b352a97aabf1: Verifying Checksum 20:28:51 b352a97aabf1: Download complete 20:28:51 4872d77fe225: Verifying Checksum 20:28:51 4872d77fe225: Download complete 20:28:51 5851b861e8e6: Download complete 20:28:51 b85a868b505f: Verifying Checksum 20:28:51 b85a868b505f: Download complete 20:28:51 bab4dde63d76: Verifying Checksum 20:28:51 bab4dde63d76: Download complete 20:28:52 b85a868b505f: Pull complete 20:28:52 e2be974225ed: Pull complete 20:28:53 339a4e72a1f5: Pull complete 20:28:53 988bab9f4d93: Pull complete 20:28:53 1469e6f7b9e6: Pull complete 20:28:53 eaf3925da568: Pull complete 20:28:55 bab4dde63d76: Pull complete 20:28:55 bde34c3a00c8: Pull complete 20:28:55 b352a97aabf1: Pull complete 20:28:55 4872d77fe225: Pull complete 20:28:55 5851b861e8e6: Pull complete 20:28:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:28:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:56 prd-ubuntu20.04-docker-8c-8g-12056 does not seem to be running inside a container 20:28:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-357 -v /w/workspace/gexfoundry_device-rest-go_PR-357:/w/workspace/gexfoundry_device-rest-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-357@tmp:/w/workspace/gexfoundry_device-rest-go_PR-357@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-devops/py-git-semver:0.1.4 cat 20:28:57 $ docker top d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 -eo pid,comm 20:28:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:28:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:57 [ssh-agent] Looking for ssh-agent implementation... 20:28:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:57 $ docker exec d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 ssh-agent 20:28:57 SSH_AUTH_SOCK=/tmp/ssh-ZG1EGbymRXOU/agent.32 20:28:57 SSH_AGENT_PID=38 20:28:57 Running ssh-add (command line suppressed) 20:28:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-357@tmp/private_key_5710843064375434547.key (/w/workspace/gexfoundry_device-rest-go_PR-357@tmp/private_key_5710843064375434547.key) 20:28:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:58 + git tag --points-at HEAD [Pipeline] } 20:28:58 $ docker exec --env ******** --env ******** d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 ssh-agent -k 20:28:58 unset SSH_AUTH_SOCK; 20:28:58 unset SSH_AGENT_PID; 20:28:58 echo Agent pid 38 killed; 20:28:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:28:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:58 [ssh-agent] Looking for ssh-agent implementation... 20:28:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:58 $ docker exec d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 ssh-agent 20:28:58 SSH_AUTH_SOCK=/tmp/ssh-9QCeO9Kt5C0o/agent.70 20:28:58 SSH_AGENT_PID=76 20:28:58 Running ssh-add (command line suppressed) 20:28:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-357@tmp/private_key_12165092477075598460.key (/w/workspace/gexfoundry_device-rest-go_PR-357@tmp/private_key_12165092477075598460.key) 20:28:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:58 + git semver init 20:28:59 2023-10-26 20:28:59,096 [run_init] DEBUG init version:0.0.0 force:False 20:28:59 2023-10-26 20:28:59,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-357/.semver 20:28:59 2023-10-26 20:28:59,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-357/.semver 20:28:59 2023-10-26 20:28:59,097 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-357/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-357, universal_newlines=False, shell=None, istream=None) 20:29:00 2023-10-26 20:29:00,199 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-357/.git/info/exclude 20:29:00 2023-10-26 20:29:00,200 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-357/.semver/PR-357 with force:False 20:29:00 2023-10-26 20:29:00,200 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-357/.semver/PR-357 20:29:00 2023-10-26 20:29:00,204 [execute] INFO git cat-file --batch-check 20:29:00 2023-10-26 20:29:00,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) 20:29:00 2023-10-26 20:29:00,211 [execute] INFO git cat-file --batch 20:29:00 2023-10-26 20:29:00,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) 20:29:00 2023-10-26 20:29:00,216 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-357/.semver/PR-357 20:29:00 0.0.0 [Pipeline] } 20:29:00 $ docker exec --env ******** --env ******** d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 ssh-agent -k 20:29:00 unset SSH_AUTH_SOCK; 20:29:00 unset SSH_AGENT_PID; 20:29:00 echo Agent pid 76 killed; 20:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:01 + git semver [Pipeline] } 20:29:01 $ docker stop --time=1 d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 20:29:02 $ docker rm -f --volumes d00a25914e9d6b570c876c8ab652cfb781bbad888f1eff9dabc71ba506907dc0 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:03 Stashed 1 file(s) [Pipeline] echo 20:29:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:03 provisioning config files... 20:29:03 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp/config611944340685863513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:04 ---> docker-login.sh 20:29:04 nexus3.edgexfoundry.org:10001 20:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:04 Configure a credential helper to remove this warning. See 20:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:04 20:29:04 Login Succeeded 20:29:04 nexus3.edgexfoundry.org:10002 20:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:04 Configure a credential helper to remove this warning. See 20:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:04 20:29:04 Login Succeeded 20:29:04 nexus3.edgexfoundry.org:10003 20:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:04 Configure a credential helper to remove this warning. See 20:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:04 20:29:04 Login Succeeded 20:29:04 nexus3.edgexfoundry.org:10004 20:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:04 Configure a credential helper to remove this warning. See 20:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:04 20:29:04 Login Succeeded 20:29:04 docker.io 20:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:05 Configure a credential helper to remove this warning. See 20:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:05 20:29:05 Login Succeeded 20:29:05 ---> docker-login.sh ends [Pipeline] } 20:29:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:05 ========================================================= 20:29:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:29:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:29:06 Sending build context to Docker daemon 10.94MB 20:29:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:29:06 Step 2/12 : FROM ${BASE} AS builder 20:29:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:06 7264a8db6415: Pulling fs layer 20:29:06 c4d48a809fc2: Pulling fs layer 20:29:06 4f1c88b9dad5: Pulling fs layer 20:29:06 ad3a456e5733: Pulling fs layer 20:29:06 33e27b845d1e: Pulling fs layer 20:29:06 c68163c4e522: Pulling fs layer 20:29:06 50da416c3ac9: Pulling fs layer 20:29:06 23d2d4c4bb30: Pulling fs layer 20:29:06 c68163c4e522: Waiting 20:29:06 ad3a456e5733: Waiting 20:29:06 33e27b845d1e: Waiting 20:29:06 50da416c3ac9: Waiting 20:29:06 23d2d4c4bb30: Waiting 20:29:06 c4d48a809fc2: Verifying Checksum 20:29:06 c4d48a809fc2: Download complete 20:29:06 ad3a456e5733: Download complete 20:29:06 33e27b845d1e: Download complete 20:29:06 7264a8db6415: Verifying Checksum 20:29:06 7264a8db6415: Download complete 20:29:06 c68163c4e522: Verifying Checksum 20:29:06 c68163c4e522: Download complete 20:29:06 7264a8db6415: Pull complete 20:29:06 23d2d4c4bb30: Verifying Checksum 20:29:06 23d2d4c4bb30: Download complete 20:29:06 c4d48a809fc2: Pull complete 20:29:06 4f1c88b9dad5: Verifying Checksum 20:29:06 4f1c88b9dad5: Download complete 20:29:07 50da416c3ac9: Verifying Checksum 20:29:07 50da416c3ac9: Download complete 20:29:09 4f1c88b9dad5: Pull complete 20:29:09 ad3a456e5733: Pull complete 20:29:09 33e27b845d1e: Pull complete 20:29:09 c68163c4e522: Pull complete 20:29:12 50da416c3ac9: Pull complete 20:29:12 23d2d4c4bb30: Pull complete 20:29:12 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:29:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:29:12 ---> 0786185ac409 20:29:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:29:13 ---> Running in f29f8296e427 20:29:13 Removing intermediate container f29f8296e427 20:29:13 ---> 55a2a1fc9568 20:29:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:13 ---> Running in 37beca27d9e3 20:29:13 Removing intermediate container 37beca27d9e3 20:29:13 ---> fbb8776cbb51 20:29:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:29:13 ---> Running in 2540a626900e 20:29:13 Removing intermediate container 2540a626900e 20:29:13 ---> c03fcccd4146 20:29:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:29:13 ---> Running in 4f4b73ef7e4f 20:29:14 Removing intermediate container 4f4b73ef7e4f 20:29:14 ---> 963c211a916a 20:29:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:14 ---> Running in f89e2ed34e6c 20:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:14 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:29:14 (2/4) Installing libedit (20221030.3.1-r1) 20:29:14 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:29:14 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:29:14 Executing busybox-1.36.1-r2.trigger 20:29:14 OK: 268 MiB in 56 packages 20:29:15 Removing intermediate container f89e2ed34e6c 20:29:15 ---> 896f1d30d40c 20:29:15 Step 8/12 : WORKDIR /device-rest-go 20:29:15 ---> Running in ab753863d030 20:29:15 Removing intermediate container ab753863d030 20:29:15 ---> 3146eed980ea 20:29:15 Step 9/12 : COPY go.mod vendor* ./ 20:29:15 ---> eb9eb199da1e 20:29:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:15 ---> Running in fd7fa18e8741 20:29:18 Still waiting to schedule task 20:29:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:30:02 Removing intermediate container fd7fa18e8741 20:30:02 ---> c76a41d800dc 20:30:02 Step 11/12 : COPY . . 20:30:02 ---> 17ce9dc0b6c4 20:30:02 Step 12/12 : RUN $MAKE 20:30:02 ---> Running in eb13923076ed 20:30:02 noop 20:30:02 Removing intermediate container eb13923076ed 20:30:02 ---> ce5ba9044fdc 20:30:02 Successfully built ce5ba9044fdc 20:30:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:02 + docker inspect -f . ci-base-image-x86_64 20:30:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:02 prd-ubuntu20.04-docker-8c-8g-12056 does not seem to be running inside a container 20:30:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-357 -v /w/workspace/gexfoundry_device-rest-go_PR-357:/w/workspace/gexfoundry_device-rest-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-357@tmp:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:30:03 $ docker top 5e033cdfee71db5250ed23cbd1c028759aee870e826cdecdb6f1fde65a6cbd79 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:03 + go version 20:30:03 go version go1.21.0 linux/amd64 [Pipeline] } 20:30:03 $ docker stop --time=1 5e033cdfee71db5250ed23cbd1c028759aee870e826cdecdb6f1fde65a6cbd79 20:30:04 $ docker rm -f --volumes 5e033cdfee71db5250ed23cbd1c028759aee870e826cdecdb6f1fde65a6cbd79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:05 + docker inspect -f . ci-base-image-x86_64 20:30:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:05 prd-ubuntu20.04-docker-8c-8g-12056 does not seem to be running inside a container 20:30:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-357 -v /w/workspace/gexfoundry_device-rest-go_PR-357:/w/workspace/gexfoundry_device-rest-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-357@tmp:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:30:05 $ docker top ac7513354e2621f761eeb47ebcc3e4ab978cb821a01c561c546d145483d5ed4c -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-357 [Pipeline] fileExists [Pipeline] sh 20:30:06 + make test 20:30:06 go test ./... -coverprofile=coverage.out ./... 20:30:08 ? github.com/edgexfoundry/device-rest-go [no test files] 20:30:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:30:18 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:30:23 go vet ./... 20:30:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:30:26 $ docker stop --time=1 ac7513354e2621f761eeb47ebcc3e4ab978cb821a01c561c546d145483d5ed4c 20:30:29 $ docker rm -f --volumes ac7513354e2621f761eeb47ebcc3e4ab978cb821a01c561c546d145483d5ed4c [Pipeline] // withDockerContainer [Pipeline] sh 20:30:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:30:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:31 + ls -al . 20:30:31 total 184 20:30:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:30 . 20:30:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:28 .. 20:30:31 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:28 .dockerignore 20:30:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:30 .git 20:30:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:28 .github 20:30:31 -rw-rw-r-- 1 jenkins jenkins 264 Oct 26 20:28 .gitignore 20:30:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:28 .golangci.yml 20:30:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:29 .semver 20:30:31 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 26 20:28 Attribution.txt 20:30:31 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 26 20:28 CHANGELOG.md 20:30:31 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 26 20:28 Dockerfile 20:30:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:28 GOVERNANCE.md 20:30:31 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:28 Jenkinsfile 20:30:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:28 LICENSE 20:30:31 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 26 20:28 Makefile 20:30:31 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:28 OWNERS.md 20:30:31 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 26 20:28 README.md 20:30:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:29 VERSION 20:30:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:28 bin 20:30:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:28 cmd 20:30:31 -rw-r--r-- 1 jenkins jenkins 14499 Oct 26 20:30 coverage.out 20:30:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:28 driver 20:30:31 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 26 20:28 go.mod 20:30:31 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 26 20:28 go.sum 20:30:31 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:31 + 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=477ecd2da564d99dc00933cd236141b597d37819 --label arch=amd64 --label version=0.0.0 . 20:30:31 Sending build context to Docker daemon 10.96MB 20:30:31 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:30:31 Step 2/25 : FROM ${BASE} AS builder 20:30:31 ---> ce5ba9044fdc 20:30:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:30:31 ---> Running in 38f9c521f98f 20:30:31 Removing intermediate container 38f9c521f98f 20:30:31 ---> b8a78afb6ba0 20:30:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:31 ---> Running in 994190b5b5d0 20:30:31 Removing intermediate container 994190b5b5d0 20:30:31 ---> a2937f133c8f 20:30:31 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:30:31 ---> Running in 8af66ace0336 20:30:32 Removing intermediate container 8af66ace0336 20:30:32 ---> 96f545c868bf 20:30:32 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:30:32 ---> Running in bc50244c2990 20:30:32 Removing intermediate container bc50244c2990 20:30:32 ---> 37cd8873325b 20:30:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:32 ---> Running in 33941e1ef0b8 20:30:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:30:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:30:32 OK: 268 MiB in 56 packages 20:30:33 Removing intermediate container 33941e1ef0b8 20:30:33 ---> 0274cba328aa 20:30:33 Step 8/25 : WORKDIR /device-rest-go 20:30:33 ---> Running in b3a3bf0f443d 20:30:33 Removing intermediate container b3a3bf0f443d 20:30:33 ---> 5013c7333557 20:30:33 Step 9/25 : COPY go.mod vendor* ./ 20:30:33 ---> f98878ae06c2 20:30:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:33 ---> Running in 8da218487b4b 20:30:34 Removing intermediate container 8da218487b4b 20:30:34 ---> 9978ea72758d 20:30:34 Step 11/25 : COPY . . 20:30:34 ---> 6084dc983f82 20:30:34 Step 12/25 : RUN $MAKE 20:30:34 ---> Running in 8a077da4083e 20:30:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:30:53 Removing intermediate container 8a077da4083e 20:30:53 ---> ab0360327f67 20:30:53 Step 13/25 : FROM alpine:3.18 20:30:53 3.18: Pulling from library/alpine 20:30:53 96526aa774ef: Pulling fs layer 20:30:53 96526aa774ef: Download complete 20:30:53 96526aa774ef: Pull complete 20:30:53 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:30:53 Status: Downloaded newer image for alpine:3.18 20:30:53 ---> 8ca4688f4f35 20:30:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:30:54 ---> Running in d076e837afae 20:30:54 Removing intermediate container d076e837afae 20:30:54 ---> 9ac6974507d0 20:30:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:30:54 ---> Running in 1eaf7ceb5e58 20:30:54 Removing intermediate container 1eaf7ceb5e58 20:30:54 ---> 64c9a03524a0 20:30:54 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:30:54 ---> Running in b69ffc0bef34 20:30:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:30:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:30:54 (1/1) Installing dumb-init (1.2.5-r2) 20:30:54 Executing busybox-1.36.1-r2.trigger 20:30:54 OK: 7 MiB in 16 packages 20:30:54 Removing intermediate container b69ffc0bef34 20:30:54 ---> 17b72128bcef 20:30:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:30:55 ---> f8a5349f42e9 20:30:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:30:55 ---> c28eae04429b 20:30:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:30:56 ---> b00a1496dd04 20:30:56 Step 20/25 : EXPOSE 59986 20:30:56 ---> Running in 10d6d552c8ae 20:30:56 Removing intermediate container 10d6d552c8ae 20:30:56 ---> 267c58349705 20:30:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:30:56 ---> Running in b41b30a6ebde 20:30:56 Removing intermediate container b41b30a6ebde 20:30:56 ---> 33084a29955f 20:30:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:30:56 ---> Running in b86a1ab40e41 20:30:56 Removing intermediate container b86a1ab40e41 20:30:56 ---> f5de7890557b 20:30:56 Step 23/25 : LABEL arch=amd64 20:30:56 ---> Running in f554c47d7b85 20:30:56 Removing intermediate container f554c47d7b85 20:30:56 ---> ef40554f391f 20:30:56 Step 24/25 : LABEL git_sha=477ecd2da564d99dc00933cd236141b597d37819 20:30:56 ---> Running in 2fd215a37e31 20:30:56 Removing intermediate container 2fd215a37e31 20:30:56 ---> 412451e92ad3 20:30:56 Step 25/25 : LABEL version=0.0.0 20:30:56 ---> Running in 2903acbfe3cf 20:30:56 Removing intermediate container 2903acbfe3cf 20:30:56 ---> a6334e2d46b0 20:30:56 [Warning] One or more build-args [ARCH] were not consumed 20:30:56 Successfully built a6334e2d46b0 20:30:56 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:57 20:30:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:57 latest: Pulling from edgex-lftools-log-publisher 20:30:57 5eb5b503b376: Pulling fs layer 20:30:57 5c69ac0246d0: Pulling fs layer 20:30:57 ec43610c2a17: Pulling fs layer 20:30:57 3a2ae6a8a46f: Pulling fs layer 20:30:57 33b1e0a273af: Pulling fs layer 20:30:57 5d3b04190fa2: Pulling fs layer 20:30:57 2f39f015ded8: Pulling fs layer 20:30:57 2f39f015ded8: Waiting 20:30:57 33b1e0a273af: Waiting 20:30:57 3a2ae6a8a46f: Waiting 20:30:57 5d3b04190fa2: Waiting 20:30:57 5c69ac0246d0: Download complete 20:30:57 3a2ae6a8a46f: Verifying Checksum 20:30:57 3a2ae6a8a46f: Download complete 20:30:57 33b1e0a273af: Verifying Checksum 20:30:57 33b1e0a273af: Download complete 20:30:57 ec43610c2a17: Verifying Checksum 20:30:57 ec43610c2a17: Download complete 20:30:57 5d3b04190fa2: Verifying Checksum 20:30:57 5d3b04190fa2: Download complete 20:30:58 5eb5b503b376: Verifying Checksum 20:30:58 5eb5b503b376: Download complete 20:30:58 2f39f015ded8: Download complete 20:30:59 5eb5b503b376: Pull complete 20:30:59 5c69ac0246d0: Pull complete 20:30:59 ec43610c2a17: Pull complete 20:30:59 3a2ae6a8a46f: Pull complete 20:31:00 33b1e0a273af: Pull complete 20:31:00 5d3b04190fa2: Pull complete 20:31:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12057 in /w/workspace/gexfoundry_device-rest-go_PR-357 [Pipeline] { [Pipeline] ws 20:31:00 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:31:00 The recommended git tool is: git 20:31:04 2f39f015ded8: Pull complete 20:31:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:31:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:04 prd-ubuntu20.04-docker-8c-8g-12056 does not seem to be running inside a container 20:31:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-357 -v /w/workspace/gexfoundry_device-rest-go_PR-357:/w/workspace/gexfoundry_device-rest-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-357@tmp:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:31:05 using credential edgex-jenkins-ssh 20:31:05 Cloning the remote Git repository 20:31:05 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:31:05 > git init /w/workspace/device-rest-go/1 # timeout=10 20:31:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:06 > git --version # timeout=10 20:31:06 > git --version # 'git version 2.25.1' 20:31:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:09 $ docker top 4e21eeef9478284bb508428ca84e206a8066426e685d97ebb6b363af4a4bc3e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:09 Merging remotes/origin/main commit 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea into PR head commit 477ecd2da564d99dc00933cd236141b597d37819 20:31:10 ---> job-cost.sh 20:31:10 lf-activate-venv: SKIPPING 20:31:10 INFO: No Stack... 20:31:10 Merge succeeded, producing 477ecd2da564d99dc00933cd236141b597d37819 20:31:10 Checking out Revision 477ecd2da564d99dc00933cd236141b597d37819 (PR-357) 20:31:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:31:10 INFO: Archiving Costs [Pipeline] sh 20:31:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:31:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:31:09 > git config core.sparsecheckout # timeout=10 20:31:10 > git checkout -f 477ecd2da564d99dc00933cd236141b597d37819 # timeout=10 20:31:10 > git remote # timeout=10 20:31:10 > git config --get remote.origin.url # timeout=10 20:31:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:10 > git merge 71e268e2bbeb5f32b791e9fe51a95144d8b6bbea # timeout=10 20:31:10 > git rev-parse HEAD^{commit} # timeout=10 20:31:10 > git config core.sparsecheckout # timeout=10 20:31:10 > git checkout -f 477ecd2da564d99dc00933cd236141b597d37819 # timeout=10 20:31:10 > git --version # timeout=10 20:31:10 > git --version # 'git version 2.25.1' 20:31:10 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 20:31:10 + cat /w/workspace/gexfoundry_device-rest-go_PR-357/archives/cost.csv 20:31:10 + cut -d, -f6 [Pipeline] lock 20:31:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] 20:31:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] did not exist. Created. 20:31:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:11 20:31:11 GitHub has been notified of this commit’s build result 20:31:11 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 20:31:11 + echo total: 0.2199999988079071 [Pipeline] stash 20:31:11 Stashed 1 file(s) [Pipeline] } 20:31:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:11 $ docker stop --time=1 4e21eeef9478284bb508428ca84e206a8066426e685d97ebb6b363af4a4bc3e6 20:31:12 $ docker rm -f --volumes 4e21eeef9478284bb508428ca84e206a8066426e685d97ebb6b363af4a4bc3e6 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:13 Dload Upload Total Spent Left Speed 20:31:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh 20:31:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:14 + sudo tee /etc/docker/daemon.new 20:31:14 { 20:31:14 "registry-mirrors": [ 20:31:14 "https://nexus3.edgexfoundry.org:10001" 20:31:14 ], 20:31:14 "bip": "10.250.0.254/24", 20:31:14 "hosts": [ 20:31:14 "tcp://0.0.0.0:5555", 20:31:14 "unix:///var/run/docker.sock" 20:31:14 ], 20:31:14 "mtu": 1458, 20:31:14 "selinux-enabled": true, 20:31:14 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:14 } [Pipeline] sh 20:31:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:33 provisioning config files... 20:31:33 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5557768426730618141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:33 ---> docker-login.sh 20:31:33 nexus3.edgexfoundry.org:10001 20:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:34 Configure a credential helper to remove this warning. See 20:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:34 20:31:34 Login Succeeded 20:31:34 nexus3.edgexfoundry.org:10002 20:31:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:34 Configure a credential helper to remove this warning. See 20:31:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:34 20:31:34 Login Succeeded 20:31:34 nexus3.edgexfoundry.org:10003 20:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:35 Configure a credential helper to remove this warning. See 20:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:35 20:31:35 Login Succeeded 20:31:35 nexus3.edgexfoundry.org:10004 20:31:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:35 Configure a credential helper to remove this warning. See 20:31:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:35 20:31:35 Login Succeeded 20:31:35 docker.io 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:36 Configure a credential helper to remove this warning. See 20:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:36 20:31:36 Login Succeeded 20:31:36 ---> docker-login.sh ends [Pipeline] } 20:31:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:36 ========================================================= 20:31:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:31:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:31:38 Sending build context to Docker daemon 121.9kB 20:31:38 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:31:38 Step 2/12 : FROM ${BASE} AS builder 20:31:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:38 9fda8d8052c6: Pulling fs layer 20:31:38 5d54e960e981: Pulling fs layer 20:31:38 c4a7e357bf2a: Pulling fs layer 20:31:38 f0e02332f6b5: Pulling fs layer 20:31:38 cefa15bbcfad: Pulling fs layer 20:31:38 17808c966233: Pulling fs layer 20:31:38 f4c1fc716caa: Pulling fs layer 20:31:38 f0e02332f6b5: Waiting 20:31:38 cefa15bbcfad: Waiting 20:31:38 17808c966233: Waiting 20:31:38 f4c1fc716caa: Waiting 20:31:38 5d54e960e981: Download complete 20:31:38 f0e02332f6b5: Verifying Checksum 20:31:38 f0e02332f6b5: Download complete 20:31:38 cefa15bbcfad: Verifying Checksum 20:31:38 cefa15bbcfad: Download complete 20:31:38 9fda8d8052c6: Verifying Checksum 20:31:38 9fda8d8052c6: Download complete 20:31:39 f4c1fc716caa: Verifying Checksum 20:31:39 f4c1fc716caa: Download complete 20:31:39 9fda8d8052c6: Pull complete 20:31:40 5d54e960e981: Pull complete 20:31:40 c4a7e357bf2a: Verifying Checksum 20:31:40 c4a7e357bf2a: Download complete 20:31:41 17808c966233: Verifying Checksum 20:31:41 17808c966233: Download complete 20:31:53 c4a7e357bf2a: Pull complete 20:31:53 f0e02332f6b5: Pull complete 20:31:53 cefa15bbcfad: Pull complete 20:32:04 17808c966233: Pull complete 20:32:07 f4c1fc716caa: Pull complete 20:32:07 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:32:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:32:07 ---> ea914061e18c 20:32:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:32:07 ---> Running in 7a7f89d584f0 20:32:08 Removing intermediate container 7a7f89d584f0 20:32:08 ---> eca30d137e89 20:32:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:32:08 ---> Running in 88427f8af9b9 20:32:08 Removing intermediate container 88427f8af9b9 20:32:08 ---> a2fae37c3de5 20:32:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:32:08 ---> Running in bd52af3a36c2 20:32:09 Removing intermediate container bd52af3a36c2 20:32:09 ---> 2ba5bbbd8b13 20:32:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:32:09 ---> Running in 16d22992d187 20:32:09 Removing intermediate container 16d22992d187 20:32:09 ---> 47783c91f61e 20:32:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:09 ---> Running in d3dc82d24ff5 20:32:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:12 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:32:12 (2/4) Installing libedit (20221030.3.1-r1) 20:32:12 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:32:12 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:32:12 Executing busybox-1.36.1-r2.trigger 20:32:12 OK: 270 MiB in 56 packages 20:32:13 Removing intermediate container d3dc82d24ff5 20:32:13 ---> e20dfeeab16a 20:32:13 Step 8/12 : WORKDIR /device-rest-go 20:32:13 ---> Running in 40eaced3d4c6 20:32:14 Removing intermediate container 40eaced3d4c6 20:32:14 ---> 64cc94cfce05 20:32:14 Step 9/12 : COPY go.mod vendor* ./ 20:32:14 ---> f3b487ba3c40 20:32:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:14 ---> Running in c5a5ff8ed12e 20:33:52 Removing intermediate container c5a5ff8ed12e 20:33:52 ---> 8285f4294894 20:33:52 Step 11/12 : COPY . . 20:33:52 ---> e14ec62b0a1a 20:33:52 Step 12/12 : RUN $MAKE 20:33:52 ---> Running in 2a2e02048b1c 20:33:52 noop 20:33:52 Removing intermediate container 2a2e02048b1c 20:33:52 ---> cb486f8a14ce 20:33:52 Successfully built cb486f8a14ce 20:33:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:53 + docker inspect -f . ci-base-image-arm64 20:33:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:53 prd-ubuntu20.04-docker-arm64-4c-16g-12057 does not seem to be running inside a container 20:33:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:33:54 $ docker top 4b10c241c300a5a13925bab4f1e2331b4d2f382ebcd8c539fafb720477db11bb -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:55 + go version 20:33:55 go version go1.21.0 linux/arm64 [Pipeline] } 20:33:55 $ docker stop --time=1 4b10c241c300a5a13925bab4f1e2331b4d2f382ebcd8c539fafb720477db11bb 20:33:59 $ docker rm -f --volumes 4b10c241c300a5a13925bab4f1e2331b4d2f382ebcd8c539fafb720477db11bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:00 + docker inspect -f . ci-base-image-arm64 20:34:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:00 prd-ubuntu20.04-docker-arm64-4c-16g-12057 does not seem to be running inside a container 20:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:34:02 $ docker top bea84625a33044fd330469b3e08557c3ce7603b282a7f831f54b4f3992646024 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:02 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:34:03 + make test 20:34:03 go test ./... -coverprofile=coverage.out ./... 20:34:07 ? github.com/edgexfoundry/device-rest-go [no test files] 20:35:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:35:45 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements 20:35:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:35:46 go vet ./... 20:36:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:36:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:36:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:36:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:36:18 $ docker stop --time=1 bea84625a33044fd330469b3e08557c3ce7603b282a7f831f54b4f3992646024 20:36:20 $ docker rm -f --volumes bea84625a33044fd330469b3e08557c3ce7603b282a7f831f54b4f3992646024 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:36:21 Warning: overwriting stash ‘coverage-report’ 20:36:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:23 + ls -al . 20:36:23 total 180 20:36:23 drwxrwxr-x 7 jenkins jenkins 4096 Oct 26 20:34 . 20:36:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:31 .. 20:36:23 -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:31 .dockerignore 20:36:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:31 .git 20:36:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:31 .github 20:36:23 -rw-rw-r-- 1 jenkins jenkins 264 Oct 26 20:31 .gitignore 20:36:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:31 .golangci.yml 20:36:23 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 26 20:31 Attribution.txt 20:36:23 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 26 20:31 CHANGELOG.md 20:36:23 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 26 20:31 Dockerfile 20:36:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:31 GOVERNANCE.md 20:36:23 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:31 Jenkinsfile 20:36:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:31 LICENSE 20:36:23 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 26 20:31 Makefile 20:36:23 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:31 OWNERS.md 20:36:23 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 26 20:31 README.md 20:36:23 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:29 VERSION 20:36:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:31 bin 20:36:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:31 cmd 20:36:23 -rw-r--r-- 1 jenkins jenkins 14499 Oct 26 20:35 coverage.out 20:36:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:31 driver 20:36:23 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 26 20:31 go.mod 20:36:23 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 26 20:31 go.sum 20:36:23 -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:23 + 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=477ecd2da564d99dc00933cd236141b597d37819 --label arch=arm64 --label version=0.0.0 . 20:36:23 Sending build context to Docker daemon 137.2kB 20:36:23 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:36:23 Step 2/25 : FROM ${BASE} AS builder 20:36:23 ---> cb486f8a14ce 20:36:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:36:23 ---> Running in 6f2f89ab91a7 20:36:24 Removing intermediate container 6f2f89ab91a7 20:36:24 ---> 06886c2fc4cb 20:36:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:24 ---> Running in 7c01f9a9694b 20:36:24 Removing intermediate container 7c01f9a9694b 20:36:24 ---> 4aff37e29f1c 20:36:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:24 ---> Running in 89b503f2fe7d 20:36:25 Removing intermediate container 89b503f2fe7d 20:36:25 ---> 8949982163d2 20:36:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:36:25 ---> Running in 81537da12ea1 20:36:25 Removing intermediate container 81537da12ea1 20:36:25 ---> dbaf32e05788 20:36:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:25 ---> Running in 9e74f8e96829 20:36:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:36:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:36:28 OK: 270 MiB in 56 packages 20:36:29 Removing intermediate container 9e74f8e96829 20:36:29 ---> e8a0cb509b5e 20:36:29 Step 8/25 : WORKDIR /device-rest-go 20:36:29 ---> Running in 86c7a845a734 20:36:29 Removing intermediate container 86c7a845a734 20:36:29 ---> bfbb8ea995cc 20:36:29 Step 9/25 : COPY go.mod vendor* ./ 20:36:34 ---> 173988e17097 20:36:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:34 ---> Running in e379d6a24c7b 20:36:36 Removing intermediate container e379d6a24c7b 20:36:36 ---> e9b86dc5bcd1 20:36:36 Step 11/25 : COPY . . 20:36:36 ---> 1ab34c663996 20:36:36 Step 12/25 : RUN $MAKE 20:36:36 ---> Running in c74e598cc6ef 20:36:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:38:29 Removing intermediate container c74e598cc6ef 20:38:29 ---> 004ce186247e 20:38:29 Step 13/25 : FROM alpine:3.18 20:38:29 3.18: Pulling from library/alpine 20:38:29 579b34f0a95b: Pulling fs layer 20:38:29 579b34f0a95b: Verifying Checksum 20:38:29 579b34f0a95b: Download complete 20:38:29 579b34f0a95b: Pull complete 20:38:29 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:38:29 Status: Downloaded newer image for alpine:3.18 20:38:29 ---> 3cc203321400 20:38:29 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:38:29 ---> Running in 0a855c3640c5 20:38:29 Removing intermediate container 0a855c3640c5 20:38:29 ---> 7a4b8b718e59 20:38:29 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:38:29 ---> Running in edec788f8a51 20:38:29 Removing intermediate container edec788f8a51 20:38:29 ---> 4ee9c27a0ce4 20:38:29 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:38:29 ---> Running in a45cfff9774a 20:38:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:38:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:38:30 (1/1) Installing dumb-init (1.2.5-r2) 20:38:30 Executing busybox-1.36.1-r2.trigger 20:38:30 OK: 8 MiB in 16 packages 20:38:31 Removing intermediate container a45cfff9774a 20:38:31 ---> 8a00363bc19b 20:38:31 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:38:32 ---> 832c916d8e2e 20:38:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:38:33 ---> 5a1a0bd9793d 20:38:33 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:38:37 ---> 14d8edeae5f2 20:38:37 Step 20/25 : EXPOSE 59986 20:38:37 ---> Running in 92994278becb 20:38:37 Removing intermediate container 92994278becb 20:38:37 ---> affcca6a86c4 20:38:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:38:37 ---> Running in 6665cb92ed07 20:38:38 Removing intermediate container 6665cb92ed07 20:38:38 ---> 670748880be6 20:38:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:38:38 ---> Running in 88b152219084 20:38:38 Removing intermediate container 88b152219084 20:38:38 ---> fd7d45f64de8 20:38:38 Step 23/25 : LABEL arch=arm64 20:38:38 ---> Running in a3ed3cf2b2c6 20:38:38 Removing intermediate container a3ed3cf2b2c6 20:38:38 ---> e3af5c029f2b 20:38:38 Step 24/25 : LABEL git_sha=477ecd2da564d99dc00933cd236141b597d37819 20:38:39 ---> Running in f319cc19152a 20:38:39 Removing intermediate container f319cc19152a 20:38:39 ---> dc4e9fe32712 20:38:39 Step 25/25 : LABEL version=0.0.0 20:38:39 ---> Running in b42e087ad6f2 20:38:39 Removing intermediate container b42e087ad6f2 20:38:39 ---> 3ebc537fca0c 20:38:39 [Warning] One or more build-args [ARCH] were not consumed 20:38:39 Successfully built 3ebc537fca0c 20:38:39 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:40 20:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:41 arm64: Pulling from edgex-lftools-log-publisher 20:38:41 8998bd30e6a1: Pulling fs layer 20:38:41 04944245beec: Pulling fs layer 20:38:41 699f458cf7ca: Pulling fs layer 20:38:41 765212b225bb: Pulling fs layer 20:38:41 f23df028b6ca: Pulling fs layer 20:38:41 d65c8cfc05b1: Pulling fs layer 20:38:41 2437ff75d9bd: Pulling fs layer 20:38:41 f23df028b6ca: Waiting 20:38:41 d65c8cfc05b1: Waiting 20:38:41 2437ff75d9bd: Waiting 20:38:41 765212b225bb: Waiting 20:38:41 04944245beec: Verifying Checksum 20:38:41 04944245beec: Download complete 20:38:41 765212b225bb: Verifying Checksum 20:38:41 765212b225bb: Download complete 20:38:41 f23df028b6ca: Download complete 20:38:41 d65c8cfc05b1: Download complete 20:38:41 699f458cf7ca: Verifying Checksum 20:38:41 699f458cf7ca: Download complete 20:38:42 8998bd30e6a1: Verifying Checksum 20:38:42 8998bd30e6a1: Download complete 20:38:44 2437ff75d9bd: Verifying Checksum 20:38:44 2437ff75d9bd: Download complete 20:38:46 8998bd30e6a1: Pull complete 20:38:47 04944245beec: Pull complete 20:38:49 699f458cf7ca: Pull complete 20:38:49 765212b225bb: Pull complete 20:38:49 f23df028b6ca: Pull complete 20:38:50 d65c8cfc05b1: Pull complete 20:39:08 2437ff75d9bd: Pull complete 20:39:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:39:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:08 prd-ubuntu20.04-docker-arm64-4c-16g-12057 does not seem to be running inside a container 20:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:39:11 $ docker top 5a54771cbffb1aa94443f40a38a77e6dfc9ac6102d5719f36740ec51717b10ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:12 ---> job-cost.sh 20:39:12 lf-activate-venv: SKIPPING 20:39:12 INFO: No Stack... 20:39:12 INFO: Retrieving Pricing Info for: v3-standard-4 20:39:13 INFO: Archiving Costs [Pipeline] sh 20:39:14 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:39:14 + cut -d, -f6 [Pipeline] lock 20:39:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] 20:39:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] did not exist. Created. 20:39:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:39:15 /w/workspace/device-rest-go/1@tmp/durable-83409f62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:39:15 + echo total: 0.10999999940395355 [Pipeline] stash 20:39:15 Warning: overwriting stash ‘stack-cost’ 20:39:15 Stashed 1 file(s) [Pipeline] } 20:39:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:39:15 $ docker stop --time=1 5a54771cbffb1aa94443f40a38a77e6dfc9ac6102d5719f36740ec51717b10ff 20:39:17 $ docker rm -f --volumes 5a54771cbffb1aa94443f40a38a77e6dfc9ac6102d5719f36740ec51717b10ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:39:18 provisioning config files... 20:39:18 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp/config14648687058270802675tmp [Pipeline] { [Pipeline] sh 20:39:18 + set +x 20:39:18 + bash -s -- 20:39:18 + curl -s https://codecov.io/bash 20:39:18 20:39:18 _____ _ 20:39:18 / ____| | | 20:39:18 | | ___ __| | ___ ___ _____ __ 20:39:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:39:18 | |___| (_) | (_| | __/ (_| (_) \ V / 20:39:18 \_____\___/ \__,_|\___|\___\___/ \_/ 20:39:18 Bash-1.0.6 20:39:18 20:39:18 20:39:18 ==> git version 2.25.1 found 20:39:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:39:18 Release-Date: 2020-01-08 20:39:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:39:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:39:18 ==> Jenkins CI detected. 20:39:18 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-357 20:39:18 project root: . 20:39:18 --> token set from env 20:39:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:39:18 ==> Running gcov in . (disable via -X gcov) 20:39:18 ==> Python coveragepy not found 20:39:18 ==> Searching for coverage reports in: 20:39:18 + . 20:39:19 -> Found 1 reports 20:39:19 ==> Detecting git/mercurial file structure 20:39:19 ==> Reading reports 20:39:19 + ./coverage.out bytes=14499 20:39:19 ==> Appending adjustments 20:39:19 https://docs.codecov.io/docs/fixing-reports 20:39:19 + Found adjustments 20:39:19 ==> Gzipping contents 20:39:19 4.0K /tmp/codecov.zgV4YU.gz 20:39:19 ==> Uploading reports 20:39:19 url: https://codecov.io 20:39:19 query: branch=PR-357&commit=477ecd2da564d99dc00933cd236141b597d37819&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=357&job=&cmd_args= 20:39:19 -> Pinging Codecov 20:39:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-357&commit=477ecd2da564d99dc00933cd236141b597d37819&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=357&job=&cmd_args= 20:39:19 -> Uploading to 20:39:19 https://storage.googleapis.com/codecov/v4/raw/2023-10-26/4E5D53B4F1F92C436F7061BF334D961C/477ecd2da564d99dc00933cd236141b597d37819/f717cca3-0363-473e-9f0a-558d5f8239f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T203918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10c2bb045cb6296b63e63e5304ad5f00d9832c3c0e11a40bf928c52ae7ae46ad 20:39:19 % Total % Received % Xferd Average Speed Time Time Time Current 20:39:19 Dload Upload Total Spent Left Speed 20:39:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7894 --:--:-- --:--:-- --:--:-- 7894 20:39:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/477ecd2da564d99dc00933cd236141b597d37819 [Pipeline] } 20:39:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:39:21 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-357/archives ] 20:39:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-357/archives 20:39:21 total 16 20:39:21 drwxr-xr-x 3 root root 4096 Oct 26 20:31 . 20:39:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:31 .. 20:39:21 drwxr-xr-x 2 root root 4096 Oct 26 20:31 cost 20:39:21 -rw-r--r-- 1 root root 86 Oct 26 20:31 cost.csv 20:39:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-357/archives 20:39:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-357/archives 20:39:21 total 16 20:39:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:31 . 20:39:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:31 .. 20:39:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:31 cost 20:39:21 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 20:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:39:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:39:22 ---> package-listing.sh 20:39:22 ++ facter osfamily 20:39:22 ++ tr '[:upper:]' '[:lower:]' 20:39:22 + OS_FAMILY=debian 20:39:22 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-357 20:39:22 + START_PACKAGES=/tmp/packages_start.txt 20:39:22 + END_PACKAGES=/tmp/packages_end.txt 20:39:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:39:22 + PACKAGES=/tmp/packages_start.txt 20:39:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-357 ']' 20:39:22 + PACKAGES=/tmp/packages_end.txt 20:39:22 + case "${OS_FAMILY}" in 20:39:22 + dpkg -l 20:39:22 + grep '^ii' 20:39:22 + '[' -f /tmp/packages_start.txt ']' 20:39:22 + '[' -f /tmp/packages_end.txt ']' 20:39:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:39:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-357 ']' 20:39:22 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-357/archives/ 20:39:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-357/archives/ [Pipeline] echo 20:39:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:39:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:23 prd-ubuntu20.04-docker-8c-8g-12056 does not seem to be running inside a container 20:39:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-357 -v /w/workspace/gexfoundry_device-rest-go_PR-357:/w/workspace/gexfoundry_device-rest-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-357@tmp:/w/workspace/gexfoundry_device-rest-go_PR-357@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:latest cat 20:39:24 $ docker top 74d7f14a38423dc19ae8814d0c097f13ecb12237c612f792072f58212d110a39 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:24 + touch /tmp/pre-build-complete [Pipeline] sh 20:39:24 + mkdir -p /var/log/sysstat [Pipeline] sh 20:39:25 + ls /var/log/sa-host 20:39:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:25 provisioning config files... 20:39:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-357@tmp/config11773810612036568326tmp [Pipeline] { [Pipeline] echo 20:39:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:39:25 ---> create-netrc.sh [Pipeline] } 20:39:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:39:26 ---> python-tools-install.sh [Pipeline] echo 20:39:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:39:26 ---> sudo-logs.sh 20:39:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:39:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:39:27 ---> job-cost.sh 20:39:27 lf-activate-venv: SKIPPING 20:39:27 DEBUG: total: 0.2199999988079071 20:39:27 INFO: Retrieving Stack Cost... 20:39:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:39:27 INFO: Archiving Costs [Pipeline] echo 20:39:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:39:28 ---> logs-deploy.sh 20:39:28 lf-activate-venv: SKIPPING 20:39:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-357/1 20:39:28 INFO: archiving workspace using pattern(s): 20:39:29 Archives upload complete. 20:39:29 INFO: archiving logs to Nexus 20:39:29 ---> uname -a: 20:39:29 Linux prd-ubuntu20-04-docker-8c-8g-12056 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:39:29 20:39:29 20:39:29 ---> lscpu: 20:39:29 Architecture: x86_64 20:39:29 CPU op-mode(s): 32-bit, 64-bit 20:39:29 Byte Order: Little Endian 20:39:29 Address sizes: 40 bits physical, 48 bits virtual 20:39:29 CPU(s): 8 20:39:29 On-line CPU(s) list: 0-7 20:39:29 Thread(s) per core: 1 20:39:29 Core(s) per socket: 1 20:39:29 Socket(s): 8 20:39:29 NUMA node(s): 1 20:39:29 Vendor ID: AuthenticAMD 20:39:29 CPU family: 23 20:39:29 Model: 49 20:39:29 Model name: AMD EPYC-Rome Processor 20:39:29 Stepping: 0 20:39:29 CPU MHz: 2799.998 20:39:29 BogoMIPS: 5599.99 20:39:29 Virtualization: AMD-V 20:39:29 Hypervisor vendor: KVM 20:39:29 Virtualization type: full 20:39:29 L1d cache: 256 KiB 20:39:29 L1i cache: 256 KiB 20:39:29 L2 cache: 4 MiB 20:39:29 L3 cache: 128 MiB 20:39:29 NUMA node0 CPU(s): 0-7 20:39:29 Vulnerability Itlb multihit: Not affected 20:39:29 Vulnerability L1tf: Not affected 20:39:29 Vulnerability Mds: Not affected 20:39:29 Vulnerability Meltdown: Not affected 20:39:29 Vulnerability Mmio stale data: Not affected 20:39:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:39:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:39:29 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:39:29 Vulnerability Srbds: Not affected 20:39:29 Vulnerability Tsx async abort: Not affected 20:39:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:39:29 20:39:29 20:39:29 ---> nproc: 20:39:29 8 20:39:29 20:39:29 20:39:29 ---> df -h: 20:39:29 Filesystem Size Used Avail Use% Mounted on 20:39:29 overlay 155G 12G 144G 8% / 20:39:29 tmpfs 64M 0 64M 0% /dev 20:39:29 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:39:29 shm 64M 0 64M 0% /dev/shm 20:39:29 /dev/vda1 155G 12G 144G 8% /facter-os 20:39:29 20:39:29 20:39:29 ---> sar -b -r -n DEV: 20:39:29 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-12056) 10/26/23 _x86_64_ (8 CPU) 20:39:29 20:39:29 20:28:08 LINUX RESTART (8 CPU) 20:39:29 20:39:29 20:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:39:29 20:30:01 226.12 1.17 224.96 0.00 30.79 73697.57 0.00 20:39:29 20:31:01 173.52 0.30 173.22 0.00 24.13 31578.74 0.00 20:39:29 20:32:01 46.58 0.02 46.56 0.00 2.67 16452.21 0.00 20:39:29 20:33:01 1.77 0.00 1.77 0.00 0.00 20.13 0.00 20:39:29 20:34:01 40.11 12.65 27.46 0.00 5444.03 6308.02 0.00 20:39:29 20:35:01 2.03 0.00 2.03 0.00 0.00 21.60 0.00 20:39:29 20:36:01 1.40 0.00 1.40 0.00 0.00 15.06 0.00 20:39:29 20:37:01 1.90 0.00 1.90 0.00 0.00 20.53 0.00 20:39:29 20:38:01 1.50 0.00 1.50 0.00 0.00 17.33 0.00 20:39:29 20:39:01 2.25 0.00 2.25 0.00 0.00 37.99 0.00 20:39:29 Average: 49.72 1.41 48.31 0.00 550.15 12817.93 0.00 20:39:29 20:39:29 20:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:39:29 20:30:01 28471096 31588436 725532 2.21 148972 3170720 1759804 5.19 1045856 2912144 512 20:39:29 20:31:01 27645920 31543348 765748 2.33 161052 3880044 2054584 6.06 1276772 3443700 435948 20:39:29 20:32:01 27628636 31570424 737356 2.24 165696 3901540 1749340 5.16 1263200 3452620 4 20:39:29 20:33:01 27628808 31570812 736388 2.24 165744 3901552 1749340 5.16 1262980 3452620 36 20:39:29 20:34:01 27260088 31558364 739252 2.25 173844 4234600 1814800 5.35 1490888 3565656 44 20:39:29 20:35:01 27260380 31558720 738820 2.25 173908 4234596 1814800 5.35 1490824 3565656 8 20:39:29 20:36:01 27267120 31565488 731976 2.23 173968 4234596 1814800 5.35 1483684 3565668 8 20:39:29 20:37:01 27267552 31566040 731392 2.22 174044 4234600 1814800 5.35 1483808 3565676 8 20:39:29 20:38:01 27267168 31566252 731844 2.23 174124 4234596 1814800 5.35 1483328 3566220 12 20:39:29 20:39:01 27267540 31566836 731260 2.22 174204 4234716 1814800 5.35 1483576 3566328 12 20:39:29 Average: 27496431 31565472 736957 2.24 168556 4026156 1820187 5.36 1376492 3465629 43659 20:39:29 20:39:29 20:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:39:29 20:30:01 ens3 421.39 303.18 5501.50 35.69 0.00 0.00 0.00 0.00 20:39:29 20:30:01 docker0 229.69 296.35 18.70 2413.63 0.00 0.00 0.00 0.00 20:39:29 20:30:01 lo 2.67 2.67 0.27 0.27 0.00 0.00 0.00 0.00 20:39:29 20:31:01 ens3 151.19 106.83 2670.35 100.33 0.00 0.00 0.00 0.00 20:39:29 20:31:01 docker0 3.47 7.02 0.21 62.35 0.00 0.00 0.00 0.00 20:39:29 20:31:01 lo 2.00 2.00 0.20 0.20 0.00 0.00 0.00 0.00 20:39:29 20:32:01 ens3 11.30 7.72 12.42 4.53 0.00 0.00 0.00 0.00 20:39:29 20:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:32:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 20:33:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 20:34:01 ens3 132.63 60.57 2027.58 4.37 0.00 0.00 0.00 0.00 20:39:29 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:34:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 20:39:29 20:35:01 ens3 0.25 0.20 0.02 0.01 0.00 0.00 0.00 0.00 20:39:29 20:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 20:36:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:37:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 20:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 20:38:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:39:01 ens3 1.20 0.30 0.87 0.08 0.00 0.00 0.00 0.00 20:39:29 20:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:39:29 20:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:39:29 Average: ens3 71.84 47.91 1021.35 14.50 0.00 0.00 0.00 0.00 20:39:29 Average: docker0 23.32 30.34 1.89 247.63 0.00 0.00 0.00 0.00 20:39:29 Average: lo 0.59 0.59 0.06 0.06 0.00 0.00 0.00 0.00 20:39:29 20:39:29 20:39:29 ---> sar -P ALL: 20:39:29 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-12056) 10/26/23 _x86_64_ (8 CPU) 20:39:29 20:39:29 20:28:08 LINUX RESTART (8 CPU) 20:39:29 20:39:29 20:29:01 CPU %user %nice %system %iowait %steal %idle 20:39:29 20:30:01 all 7.26 0.00 3.63 1.55 0.05 87.52 20:39:29 20:30:01 0 8.31 0.00 2.93 0.10 0.05 88.60 20:39:29 20:30:01 1 5.72 0.00 3.31 1.16 0.03 89.77 20:39:29 20:30:01 2 6.89 0.00 3.41 0.81 0.05 88.84 20:39:29 20:30:01 3 7.34 0.00 3.62 0.02 0.05 88.98 20:39:29 20:30:01 4 8.08 0.00 3.32 0.05 0.07 88.48 20:39:29 20:30:01 5 7.68 0.00 3.29 0.54 0.03 88.46 20:39:29 20:30:01 6 6.90 0.00 4.75 7.68 0.08 80.59 20:39:29 20:30:01 7 7.13 0.00 4.41 2.03 0.05 86.39 20:39:29 20:31:01 all 36.65 0.00 4.80 2.44 0.08 56.02 20:39:29 20:31:01 0 37.83 0.00 4.86 2.24 0.08 54.99 20:39:29 20:31:01 1 35.97 0.00 4.71 0.27 0.08 58.96 20:39:29 20:31:01 2 35.95 0.00 5.26 1.21 0.07 57.51 20:39:29 20:31:01 3 36.83 0.00 4.88 0.82 0.08 57.39 20:39:29 20:31:01 4 35.84 0.00 4.40 4.92 0.08 54.75 20:39:29 20:31:01 5 36.83 0.00 4.52 0.64 0.08 57.93 20:39:29 20:31:01 6 36.22 0.00 4.66 0.42 0.08 58.61 20:39:29 20:31:01 7 37.76 0.00 5.14 9.02 0.08 47.99 20:39:29 20:32:01 all 0.97 0.00 0.44 1.03 0.01 97.54 20:39:29 20:32:01 0 0.92 0.00 0.28 0.37 0.02 98.41 20:39:29 20:32:01 1 0.95 0.00 0.28 0.02 0.02 98.73 20:39:29 20:32:01 2 0.69 0.00 0.33 0.02 0.02 98.95 20:39:29 20:32:01 3 1.02 0.00 0.40 0.02 0.02 98.55 20:39:29 20:32:01 4 1.68 0.00 0.38 0.58 0.02 97.34 20:39:29 20:32:01 5 0.73 0.00 0.52 1.08 0.00 97.67 20:39:29 20:32:01 6 0.93 0.00 0.33 0.00 0.02 98.72 20:39:29 20:32:01 7 0.84 0.00 1.02 6.17 0.02 91.95 20:39:29 20:33:01 all 0.04 0.00 0.02 0.00 0.01 99.94 20:39:29 20:33:01 0 0.02 0.00 0.03 0.00 0.02 99.93 20:39:29 20:33:01 1 0.00 0.00 0.02 0.00 0.00 99.98 20:39:29 20:33:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:33:01 3 0.07 0.00 0.03 0.00 0.02 99.88 20:39:29 20:33:01 4 0.22 0.00 0.05 0.00 0.02 99.72 20:39:29 20:33:01 5 0.00 0.00 0.00 0.02 0.00 99.98 20:39:29 20:33:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:39:29 20:33:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:34:01 all 1.26 0.00 0.59 0.35 0.02 97.78 20:39:29 20:34:01 0 1.48 0.00 0.53 0.07 0.02 97.90 20:39:29 20:34:01 1 1.70 0.00 0.53 0.27 0.03 97.46 20:39:29 20:34:01 2 0.55 0.00 0.35 0.02 0.02 99.07 20:39:29 20:34:01 3 1.30 0.00 0.63 0.48 0.00 97.58 20:39:29 20:34:01 4 1.19 0.00 0.54 0.42 0.03 97.82 20:39:29 20:34:01 5 0.52 0.00 0.58 0.77 0.02 98.11 20:39:29 20:34:01 6 1.75 0.00 0.82 0.68 0.03 96.72 20:39:29 20:34:01 7 1.57 0.00 0.74 0.08 0.02 97.59 20:39:29 20:35:01 all 0.01 0.00 0.01 0.01 0.01 99.96 20:39:29 20:35:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:35:01 1 0.05 0.00 0.03 0.00 0.02 99.90 20:39:29 20:35:01 2 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:35:01 3 0.00 0.00 0.00 0.00 0.02 99.98 20:39:29 20:35:01 4 0.03 0.00 0.05 0.05 0.02 99.85 20:39:29 20:35:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:35:01 6 0.02 0.00 0.02 0.00 0.00 99.97 20:39:29 20:35:01 7 0.00 0.00 0.02 0.00 0.00 99.98 20:39:29 20:36:01 all 0.03 0.00 0.01 0.00 0.00 99.95 20:39:29 20:36:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:36:01 1 0.05 0.00 0.02 0.00 0.02 99.92 20:39:29 20:36:01 2 0.05 0.00 0.00 0.00 0.00 99.95 20:39:29 20:36:01 3 0.00 0.00 0.02 0.00 0.00 99.98 20:39:29 20:36:01 4 0.08 0.00 0.02 0.03 0.00 99.87 20:39:29 20:36:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:36:01 6 0.03 0.00 0.00 0.00 0.02 99.95 20:39:29 20:36:01 7 0.03 0.00 0.00 0.00 0.00 99.97 20:39:29 20:37:01 all 0.01 0.00 0.01 0.01 0.01 99.96 20:39:29 20:37:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:39:29 20:37:01 1 0.00 0.00 0.02 0.00 0.00 99.98 20:39:29 20:37:01 2 0.02 0.00 0.02 0.00 0.02 99.95 20:39:29 20:37:01 3 0.02 0.00 0.00 0.02 0.00 99.97 20:39:29 20:37:01 4 0.02 0.00 0.03 0.03 0.02 99.90 20:39:29 20:37:01 5 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:37:01 6 0.02 0.00 0.03 0.00 0.02 99.93 20:39:29 20:37:01 7 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:38:01 all 0.04 0.00 0.01 0.00 0.01 99.94 20:39:29 20:38:01 0 0.02 0.00 0.02 0.00 0.02 99.95 20:39:29 20:38:01 1 0.03 0.00 0.00 0.00 0.02 99.95 20:39:29 20:38:01 2 0.05 0.00 0.02 0.00 0.02 99.92 20:39:29 20:38:01 3 0.05 0.00 0.02 0.00 0.02 99.92 20:39:29 20:38:01 4 0.07 0.00 0.02 0.03 0.02 99.87 20:39:29 20:38:01 5 0.02 0.00 0.00 0.00 0.00 99.98 20:39:29 20:38:01 6 0.03 0.00 0.03 0.00 0.02 99.92 20:39:29 20:38:01 7 0.02 0.00 0.00 0.00 0.00 99.98 20:39:29 20:39:01 all 0.11 0.00 0.01 0.01 0.00 99.86 20:39:29 20:39:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:39:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:39:29 20:39:01 2 0.02 0.00 0.00 0.00 0.02 99.97 20:39:29 20:39:01 3 0.30 0.00 0.00 0.00 0.00 99.70 20:39:29 20:39:01 4 0.47 0.00 0.07 0.03 0.00 99.43 20:39:29 20:39:01 5 0.03 0.00 0.00 0.00 0.00 99.97 20:39:29 20:39:01 6 0.07 0.00 0.02 0.02 0.02 99.88 20:39:29 20:39:01 7 0.03 0.00 0.00 0.00 0.00 99.97 20:39:29 Average: all 4.60 0.00 0.95 0.54 0.02 93.89 20:39:29 Average: 0 4.82 0.00 0.86 0.28 0.02 94.02 20:39:29 Average: 1 4.42 0.00 0.89 0.17 0.02 94.50 20:39:29 Average: 2 4.38 0.00 0.93 0.20 0.02 94.46 20:39:29 Average: 3 4.66 0.00 0.95 0.14 0.02 94.23 20:39:29 Average: 4 4.73 0.00 0.88 0.61 0.03 93.74 20:39:29 Average: 5 4.54 0.00 0.88 0.30 0.01 94.26 20:39:29 Average: 6 4.56 0.00 1.06 0.87 0.03 93.48 20:39:29 Average: 7 4.70 0.00 1.12 1.72 0.02 92.44 20:39:29 20:39:29 20:39:29