Pull request #363 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 244b59a475c78f58285a57e1d616d41d185ebc19 rather than 0875fa989b11ea2af9835c06338d180b28e12d72 Obtained Jenkinsfile from 244b59a475c78f58285a57e1d616d41d185ebc19 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-ssh15108344576502731285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13446274441974871724.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6667256619528646547.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12147501772224450993.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7390374705718117677.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus 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 ‘prd-ubuntu20.04-docker-8c-8g-20652’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20655 in /w/workspace/xfoundry_device-modbus-go_PR-363 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-363 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 244b59a475c78f58285a57e1d616d41d185ebc19 into PR head commit 0875fa989b11ea2af9835c06338d180b28e12d72 Merge succeeded, producing 0875fa989b11ea2af9835c06338d180b28e12d72 Checking out Revision 0875fa989b11ea2af9835c06338d180b28e12d72 (PR-363) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0875fa989b11ea2af9835c06338d180b28e12d72 # 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 244b59a475c78f58285a57e1d616d41d185ebc19 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0875fa989b11ea2af9835c06338d180b28e12d72 # timeout=10 Commit message: "refactor(snap): Update configure.go" > git rev-list --no-walk a82986c07e5695eebc56e37c885ca8284ed6c9db # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:05:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:05:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:05:20 ========================================================= 07:05:20 EdgeX Global Pipelines Version Info 07:05:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:05:20 ------------------- 07:05:20 stable info: 07:05:20 ------------------- 07:05:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:05:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 07:05:20 Message: update stable to v1.0.238 07:05:21 ------------------- 07:05:21 experimental info: 07:05:21 ------------------- 07:05:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:05:21 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 07:05:21 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0875fa989b11ea2af9835c06338d180b28e12d72 [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0875fa9 [Pipeline] echo 07:05:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:05:22 provisioning config files... 07:05:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config3478105351667370504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:22 ---> docker-login.sh 07:05:22 nexus3.edgexfoundry.org:10001 07:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:22 Configure a credential helper to remove this warning. See 07:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:22 07:05:22 Login Succeeded 07:05:22 nexus3.edgexfoundry.org:10002 07:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:23 Configure a credential helper to remove this warning. See 07:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:23 07:05:23 Login Succeeded 07:05:23 nexus3.edgexfoundry.org:10003 07:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:23 Configure a credential helper to remove this warning. See 07:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:23 07:05:23 Login Succeeded 07:05:23 nexus3.edgexfoundry.org:10004 07:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:23 Configure a credential helper to remove this warning. See 07:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:23 07:05:23 Login Succeeded 07:05:23 docker.io 07:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:24 Configure a credential helper to remove this warning. See 07:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:24 07:05:24 Login Succeeded 07:05:24 ---> docker-login.sh ends [Pipeline] } 07:05:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:05:24 + git rev-list -1 --merges 0875fa989b11ea2af9835c06338d180b28e12d72~1..0875fa989b11ea2af9835c06338d180b28e12d72 [Pipeline] echo 07:05:24 -----------> git rev-list -1 --merges 0875fa989b11ea2af9835c06338d180b28e12d72~1..0875fa989b11ea2af9835c06338d180b28e12d72 0875fa989b11ea2af9835c06338d180b28e12d72 [false] [Pipeline] sh 07:05:24 + git log --format=format:%s -1 0875fa989b11ea2af9835c06338d180b28e12d72 [Pipeline] echo 07:05:24 ========================================================= 07:05:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:05:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:25 + git log --format=format:%s -1 0875fa989b11ea2af9835c06338d180b28e12d72 [Pipeline] echo 07:05:25 [semverPrep] GIT_COMMIT: 0875fa989b11ea2af9835c06338d180b28e12d72, Commit Message: refactor(snap): Update configure.go [Pipeline] echo 07:05:25 [semverPrep] This is not a build commit. [Pipeline] sh 07:05:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:05:25 + grep -v github /etc/ssh/ssh_known_hosts 07:05:25 + [ -e /tmp/ssh_known_hosts ] 07:05:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:05:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:05:25 + sudo tee -a /etc/ssh/ssh_known_hosts 07:05:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:05:25 07:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:05:26 0.1.4: Pulling from edgex-devops/py-git-semver 07:05:26 b85a868b505f: Pulling fs layer 07:05:26 e2be974225ed: Pulling fs layer 07:05:26 339a4e72a1f5: Pulling fs layer 07:05:26 988bab9f4d93: Pulling fs layer 07:05:26 1469e6f7b9e6: Pulling fs layer 07:05:26 eaf3925da568: Pulling fs layer 07:05:26 bab4dde63d76: Pulling fs layer 07:05:26 bde34c3a00c8: Pulling fs layer 07:05:26 b352a97aabf1: Pulling fs layer 07:05:26 4872d77fe225: Pulling fs layer 07:05:26 5851b861e8e6: Pulling fs layer 07:05:26 bab4dde63d76: Waiting 07:05:26 bde34c3a00c8: Waiting 07:05:26 b352a97aabf1: Waiting 07:05:26 4872d77fe225: Waiting 07:05:26 5851b861e8e6: Waiting 07:05:26 1469e6f7b9e6: Waiting 07:05:26 eaf3925da568: Waiting 07:05:26 e2be974225ed: Verifying Checksum 07:05:26 e2be974225ed: Download complete 07:05:26 988bab9f4d93: Verifying Checksum 07:05:26 988bab9f4d93: Download complete 07:05:26 1469e6f7b9e6: Verifying Checksum 07:05:26 1469e6f7b9e6: Download complete 07:05:26 eaf3925da568: Download complete 07:05:26 339a4e72a1f5: Verifying Checksum 07:05:26 339a4e72a1f5: Download complete 07:05:26 bde34c3a00c8: Verifying Checksum 07:05:26 bde34c3a00c8: Download complete 07:05:26 b352a97aabf1: Verifying Checksum 07:05:26 b352a97aabf1: Download complete 07:05:26 4872d77fe225: Download complete 07:05:26 5851b861e8e6: Verifying Checksum 07:05:26 5851b861e8e6: Download complete 07:05:26 b85a868b505f: Verifying Checksum 07:05:26 b85a868b505f: Download complete 07:05:26 bab4dde63d76: Verifying Checksum 07:05:26 bab4dde63d76: Download complete 07:05:28 b85a868b505f: Pull complete 07:05:28 e2be974225ed: Pull complete 07:05:28 339a4e72a1f5: Pull complete 07:05:28 988bab9f4d93: Pull complete 07:05:29 1469e6f7b9e6: Pull complete 07:05:29 eaf3925da568: Pull complete 07:05:31 bab4dde63d76: Pull complete 07:05:31 bde34c3a00c8: Pull complete 07:05:31 b352a97aabf1: Pull complete 07:05:31 4872d77fe225: Pull complete 07:05:31 5851b861e8e6: Pull complete 07:05:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:05:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:05:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:31 prd-ubuntu20.04-docker-8c-8g-20655 does not seem to be running inside a container 07:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:05:33 $ docker top dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d -eo pid,comm 07:05:33 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). 07:05:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:05:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:05:33 [ssh-agent] Looking for ssh-agent implementation... 07:05:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:05:33 $ docker exec dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d ssh-agent 07:05:33 SSH_AUTH_SOCK=/tmp/ssh-faohGuphdFrh/agent.35 07:05:33 SSH_AGENT_PID=41 07:05:33 Running ssh-add (command line suppressed) 07:05:33 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_2760759729521540170.key (/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_2760759729521540170.key) 07:05:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:05:34 + git tag --points-at HEAD [Pipeline] } 07:05:34 $ docker exec --env ******** --env ******** dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d ssh-agent -k 07:05:34 unset SSH_AUTH_SOCK; 07:05:34 unset SSH_AGENT_PID; 07:05:34 echo Agent pid 41 killed; 07:05:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:05:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:05:34 [ssh-agent] Looking for ssh-agent implementation... 07:05:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:05:34 $ docker exec dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d ssh-agent 07:05:34 SSH_AUTH_SOCK=/tmp/ssh-iUxDBOxq4Ll6/agent.74 07:05:34 SSH_AGENT_PID=81 07:05:34 Running ssh-add (command line suppressed) 07:05:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_6363177163307685236.key (/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/private_key_6363177163307685236.key) 07:05:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:05:35 + git semver init 07:05:35 2022-07-21 07:05:35,281 [run_init] DEBUG init version:0.0.0 force:False 07:05:35 2022-07-21 07:05:35,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-363/.semver 07:05:35 2022-07-21 07:05:35,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-363/.semver 07:05:35 2022-07-21 07:05:35,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-363/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-363, universal_newlines=False, shell=None, istream=None) 07:05:36 2022-07-21 07:05:36,003 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-363/.git/info/exclude 07:05:36 2022-07-21 07:05:36,003 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-363/.semver/PR-363 with force:False 07:05:36 2022-07-21 07:05:36,003 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-363/.semver/PR-363 07:05:36 2022-07-21 07:05:36,008 [execute] INFO git cat-file --batch-check 07:05:36 2022-07-21 07:05:36,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 07:05:36 2022-07-21 07:05:36,015 [execute] INFO git cat-file --batch 07:05:36 2022-07-21 07:05:36,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 07:05:36 2022-07-21 07:05:36,021 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-363/.semver/PR-363 07:05:36 0.0.0 [Pipeline] } 07:05:36 $ docker exec --env ******** --env ******** dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d ssh-agent -k 07:05:36 unset SSH_AUTH_SOCK; 07:05:36 unset SSH_AGENT_PID; 07:05:36 echo Agent pid 81 killed; 07:05:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:05:36 + git semver [Pipeline] } 07:05:36 $ docker stop --time=1 dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d 07:05:38 $ docker rm -f dc9fa5dcf06194a4c0408355c2e00dfcdbc9974561b86f9e1151af17b8f9026d [Pipeline] // withDockerContainer [Pipeline] sh 07:05:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:05:38 Stashed 1 file(s) [Pipeline] echo 07:05:38 [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 07:05:39 provisioning config files... 07:05:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config5285748533217716471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:39 ---> docker-login.sh 07:05:39 nexus3.edgexfoundry.org:10001 07:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:39 Configure a credential helper to remove this warning. See 07:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:39 07:05:39 Login Succeeded 07:05:39 nexus3.edgexfoundry.org:10002 07:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:39 Configure a credential helper to remove this warning. See 07:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:39 07:05:39 Login Succeeded 07:05:39 nexus3.edgexfoundry.org:10003 07:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:39 Configure a credential helper to remove this warning. See 07:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:39 07:05:39 Login Succeeded 07:05:39 nexus3.edgexfoundry.org:10004 07:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:39 Configure a credential helper to remove this warning. See 07:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:39 07:05:39 Login Succeeded 07:05:39 docker.io 07:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:40 Configure a credential helper to remove this warning. See 07:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:40 07:05:40 Login Succeeded 07:05:40 ---> docker-login.sh ends [Pipeline] } 07:05:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:05:40 ========================================================= 07:05:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:05:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:05:40 Sending build context to Docker daemon 6.118MB 07:05:40 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:05:40 Step 2/10 : FROM ${BASE} AS builder 07:05:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:05:40 2408cc74d12b: Pulling fs layer 07:05:40 ea60b727a1ce: Pulling fs layer 07:05:40 30c4a7721957: Pulling fs layer 07:05:40 370296b7ddb6: Pulling fs layer 07:05:40 7c6cee850709: Pulling fs layer 07:05:40 39a5fcdaea64: Pulling fs layer 07:05:40 d94ebbe4e438: Pulling fs layer 07:05:40 bcfd1f05c69d: Pulling fs layer 07:05:40 59ccb84bbe0f: Pulling fs layer 07:05:40 370296b7ddb6: Waiting 07:05:40 7c6cee850709: Waiting 07:05:40 39a5fcdaea64: Waiting 07:05:40 d94ebbe4e438: Waiting 07:05:40 bcfd1f05c69d: Waiting 07:05:40 59ccb84bbe0f: Waiting 07:05:40 30c4a7721957: Verifying Checksum 07:05:40 30c4a7721957: Download complete 07:05:40 ea60b727a1ce: Verifying Checksum 07:05:40 ea60b727a1ce: Download complete 07:05:40 7c6cee850709: Download complete 07:05:40 39a5fcdaea64: Verifying Checksum 07:05:40 39a5fcdaea64: Download complete 07:05:40 2408cc74d12b: Verifying Checksum 07:05:40 2408cc74d12b: Download complete 07:05:40 d94ebbe4e438: Verifying Checksum 07:05:40 d94ebbe4e438: Download complete 07:05:40 2408cc74d12b: Pull complete 07:05:41 ea60b727a1ce: Pull complete 07:05:41 30c4a7721957: Pull complete 07:05:41 59ccb84bbe0f: Verifying Checksum 07:05:41 59ccb84bbe0f: Download complete 07:05:41 bcfd1f05c69d: Verifying Checksum 07:05:41 bcfd1f05c69d: Download complete 07:05:41 370296b7ddb6: Verifying Checksum 07:05:41 370296b7ddb6: Download complete 07:05:46 370296b7ddb6: Pull complete 07:05:46 7c6cee850709: Pull complete 07:05:46 39a5fcdaea64: Pull complete 07:05:46 d94ebbe4e438: Pull complete 07:05:48 bcfd1f05c69d: Pull complete 07:05:49 59ccb84bbe0f: Pull complete 07:05:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 07:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:05:49 ---> a4fb48ad2a94 07:05:49 Step 3/10 : ARG MAKE='make build' 07:05:51 ---> Running in f3a9931b7fa4 07:05:51 Removing intermediate container f3a9931b7fa4 07:05:51 ---> 348e6c66704d 07:05:51 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:51 ---> Running in 594c775d0f59 07:05:52 Removing intermediate container 594c775d0f59 07:05:52 ---> 0c3a66a67d8f 07:05:52 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:05:52 ---> Running in b993ea3eef11 07:05:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:05:54 Still waiting to schedule task 07:05:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20653’ is offline 07:05:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:05:55 (1/8) Installing openssh-keygen (9.0_p1-r1) 07:05:55 (2/8) Installing libedit (20210910.3.1-r0) 07:05:55 (3/8) Installing openssh-client-common (9.0_p1-r1) 07:05:56 (4/8) Installing openssh-client-default (9.0_p1-r1) 07:05:56 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 07:05:56 (6/8) Installing openssh-server-common (9.0_p1-r1) 07:05:56 (7/8) Installing openssh-server (9.0_p1-r1) 07:05:56 (8/8) Installing openssh (9.0_p1-r1) 07:05:56 Executing busybox-1.35.0-r13.trigger 07:05:56 OK: 217 MiB in 59 packages 07:05:57 Removing intermediate container b993ea3eef11 07:05:57 ---> ee91726980fb 07:05:57 Step 6/10 : WORKDIR /device-modbus-go 07:05:57 ---> Running in e4cfe2b344a7 07:05:57 Removing intermediate container e4cfe2b344a7 07:05:57 ---> 128efcf6b10b 07:05:57 Step 7/10 : COPY go.mod vendor* ./ 07:05:57 ---> c100024e1997 07:05:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:57 ---> Running in 02316b9276ca 07:06:19 Removing intermediate container 02316b9276ca 07:06:19 ---> a18b0e54b670 07:06:19 Step 9/10 : COPY . . 07:06:19 ---> cc6c39fd4d4b 07:06:19 Step 10/10 : RUN ${MAKE} 07:06:19 ---> Running in 62b01580c79c 07:06:19 noop 07:06:19 Removing intermediate container 62b01580c79c 07:06:19 ---> 728bcd680924 07:06:19 Successfully built 728bcd680924 07:06:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:19 + docker inspect -f . ci-base-image-x86_64 07:06:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:19 prd-ubuntu20.04-docker-8c-8g-20655 does not seem to be running inside a container 07:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:06:20 $ docker top 6cf69b2e486a42ef645847dc8533b0f39fba6da1757dc2e59d7938973cea4b74 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:20 + go version 07:06:20 go version go1.18.3 linux/amd64 [Pipeline] } 07:06:20 $ docker stop --time=1 6cf69b2e486a42ef645847dc8533b0f39fba6da1757dc2e59d7938973cea4b74 07:06:22 $ docker rm -f 6cf69b2e486a42ef645847dc8533b0f39fba6da1757dc2e59d7938973cea4b74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:22 + docker inspect -f . ci-base-image-x86_64 07:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:22 prd-ubuntu20.04-docker-8c-8g-20655 does not seem to be running inside a container 07:06:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:06:23 $ docker top b0d1dd78b3153a88122596148730ba4946aa58e405fbe92eada464effa80b246 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:23 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-363 [Pipeline] fileExists [Pipeline] sh 07:06:23 + make test 07:06:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:06:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:06:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:06:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 46.4% of statements 07:06:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:06:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:06:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:06:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:06:44 ./bin/test-attribution-txt.sh [Pipeline] echo 07:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:06:44 $ docker stop --time=1 b0d1dd78b3153a88122596148730ba4946aa58e405fbe92eada464effa80b246 07:06:45 $ docker rm -f b0d1dd78b3153a88122596148730ba4946aa58e405fbe92eada464effa80b246 [Pipeline] // withDockerContainer [Pipeline] sh 07:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:06:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:06:47 + ls -al . 07:06:47 total 184 07:06:47 drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 07:06 . 07:06:47 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:05 .. 07:06:47 -rw-rw-r-- 1 jenkins jenkins 140 Jul 21 07:05 .dockerignore 07:06:47 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 07:06 .git 07:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:05 .github 07:06:47 -rw-rw-r-- 1 jenkins jenkins 331 Jul 21 07:05 .gitignore 07:06:47 -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 07:05 .golangci.yml 07:06:47 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 07:05 .semver 07:06:47 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 21 07:05 Attribution.txt 07:06:47 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 21 07:05 CHANGELOG.md 07:06:47 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 21 07:05 Dockerfile 07:06:47 -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 07:05 GOVERNANCE.md 07:06:47 -rw-rw-r-- 1 jenkins jenkins 680 Jul 21 07:05 Jenkinsfile 07:06:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 21 07:05 LICENSE 07:06:47 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 21 07:05 Makefile 07:06:47 -rw-rw-r-- 1 jenkins jenkins 622 Jul 21 07:05 OWNERS.md 07:06:47 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 21 07:05 README.md 07:06:47 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 07:05 VERSION 07:06:47 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 07:05 bin 07:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:05 cmd 07:06:47 -rw-r--r-- 1 jenkins jenkins 24065 Jul 21 07:06 coverage.out 07:06:47 -rw-rw-r-- 1 jenkins jenkins 3405 Jul 21 07:05 go.mod 07:06:47 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 21 07:05 go.sum 07:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:05 internal 07:06:47 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 07:05 simulator 07:06:47 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:05 snap 07:06:47 -rw-rw-r-- 1 jenkins jenkins 229 Jul 21 07:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:47 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0875fa989b11ea2af9835c06338d180b28e12d72 --label arch=amd64 --label version=0.0.0 . 07:06:47 Sending build context to Docker daemon 6.143MB 07:06:47 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 07:06:47 Step 2/23 : FROM ${BASE} AS builder 07:06:47 ---> 728bcd680924 07:06:47 Step 3/23 : ARG MAKE='make build' 07:06:47 ---> Running in 71c39f8c9fdb 07:06:47 Removing intermediate container 71c39f8c9fdb 07:06:47 ---> d94a718d9068 07:06:47 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:06:47 ---> Running in ad7813a66ada 07:06:48 Removing intermediate container ad7813a66ada 07:06:48 ---> fe49bd78e1c0 07:06:48 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:06:48 ---> Running in c8f91f5f8012 07:06:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:06:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:06:50 OK: 217 MiB in 59 packages 07:06:50 Removing intermediate container c8f91f5f8012 07:06:50 ---> 72b6ffed3268 07:06:50 Step 6/23 : WORKDIR /device-modbus-go 07:06:50 ---> Running in 83eb0d48f689 07:06:50 Removing intermediate container 83eb0d48f689 07:06:50 ---> b0b25bee8d48 07:06:50 Step 7/23 : COPY go.mod vendor* ./ 07:06:50 ---> cf69de5a5bda 07:06:50 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:06:50 ---> Running in 1130cc4a3b0b 07:06:51 Removing intermediate container 1130cc4a3b0b 07:06:51 ---> d76335b5eb1d 07:06:51 Step 9/23 : COPY . . 07:06:51 ---> 527221098bce 07:06:51 Step 10/23 : RUN ${MAKE} 07:06:51 ---> Running in 450b1a7623c4 07:06:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:07:13 Removing intermediate container 450b1a7623c4 07:07:13 ---> 04d9582bbbc6 07:07:13 Step 11/23 : FROM alpine:3.14 07:07:13 3.14: Pulling from library/alpine 07:07:13 decfdc335d9b: Pulling fs layer 07:07:13 decfdc335d9b: Verifying Checksum 07:07:13 decfdc335d9b: Download complete 07:07:13 decfdc335d9b: Pull complete 07:07:13 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 07:07:13 Status: Downloaded newer image for alpine:3.14 07:07:13 ---> 5977be310a9d 07:07:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:07:13 ---> Running in abf4ce9e18fd 07:07:13 Removing intermediate container abf4ce9e18fd 07:07:13 ---> 60328fec1105 07:07:13 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:07:13 ---> Running in 9bed26c33f64 07:07:13 Removing intermediate container 9bed26c33f64 07:07:13 ---> 20d152bd7c36 07:07:13 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 07:07:13 ---> Running in ca27b5398920 07:07:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:07:14 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:07:14 (1/6) Installing dumb-init (1.2.5-r1) 07:07:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:07:15 (3/6) Installing libsodium (1.0.18-r0) 07:07:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:07:15 (5/6) Installing libzmq (4.3.4-r0) 07:07:15 (6/6) Installing zeromq (4.3.4-r0) 07:07:15 Executing busybox-1.33.1-r8.trigger 07:07:15 OK: 8 MiB in 20 packages 07:07:15 Removing intermediate container ca27b5398920 07:07:15 ---> a4723fd1d7ee 07:07:15 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:07:16 ---> 38896743df15 07:07:16 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:07:16 ---> 9028bf7823e4 07:07:16 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:07:16 ---> b025f852c21c 07:07:16 Step 18/23 : EXPOSE 59901 07:07:16 ---> Running in d6d7fac3b57d 07:07:16 Removing intermediate container d6d7fac3b57d 07:07:16 ---> 66744305d719 07:07:16 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:07:16 ---> Running in 2f1da6726f19 07:07:17 Removing intermediate container 2f1da6726f19 07:07:17 ---> 4383a0f602f7 07:07:17 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:07:17 ---> Running in c7f6df9ed675 07:07:17 Removing intermediate container c7f6df9ed675 07:07:17 ---> b1b31b371d9e 07:07:17 Step 21/23 : LABEL arch=amd64 07:07:17 ---> Running in 9919dca2a913 07:07:17 Removing intermediate container 9919dca2a913 07:07:17 ---> 55722aa3ba77 07:07:17 Step 22/23 : LABEL git_sha=0875fa989b11ea2af9835c06338d180b28e12d72 07:07:17 ---> Running in b35d94d0209a 07:07:17 Removing intermediate container b35d94d0209a 07:07:17 ---> 3069fec66365 07:07:17 Step 23/23 : LABEL version=0.0.0 07:07:17 ---> Running in bb2eefa32fa4 07:07:17 Removing intermediate container bb2eefa32fa4 07:07:17 ---> 538abd182f6f 07:07:17 [Warning] One or more build-args [ARCH] were not consumed 07:07:17 Successfully built 538abd182f6f 07:07:17 Successfully tagged device-modbus: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 07:07:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:17 07:07:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:18 latest: Pulling from edgex-lftools-log-publisher 07:07:18 5eb5b503b376: Pulling fs layer 07:07:18 5c69ac0246d0: Pulling fs layer 07:07:18 ec43610c2a17: Pulling fs layer 07:07:18 3a2ae6a8a46f: Pulling fs layer 07:07:18 33b1e0a273af: Pulling fs layer 07:07:18 5d3b04190fa2: Pulling fs layer 07:07:18 2f39f015ded8: Pulling fs layer 07:07:18 5d3b04190fa2: Waiting 07:07:18 2f39f015ded8: Waiting 07:07:18 3a2ae6a8a46f: Waiting 07:07:18 33b1e0a273af: Waiting 07:07:18 5c69ac0246d0: Verifying Checksum 07:07:18 5c69ac0246d0: Download complete 07:07:18 3a2ae6a8a46f: Download complete 07:07:18 33b1e0a273af: Verifying Checksum 07:07:18 33b1e0a273af: Download complete 07:07:18 5d3b04190fa2: Download complete 07:07:18 ec43610c2a17: Download complete 07:07:18 5eb5b503b376: Verifying Checksum 07:07:18 5eb5b503b376: Download complete 07:07:19 2f39f015ded8: Download complete 07:07:20 5eb5b503b376: Pull complete 07:07:20 5c69ac0246d0: Pull complete 07:07:20 ec43610c2a17: Pull complete 07:07:20 3a2ae6a8a46f: Pull complete 07:07:20 33b1e0a273af: Pull complete 07:07:20 5d3b04190fa2: Pull complete 07:07:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20656 in /w/workspace/xfoundry_device-modbus-go_PR-363 [Pipeline] { [Pipeline] ws 07:07:23 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 07:07:23 Selected Git installation does not exist. Using Default 07:07:23 The recommended git tool is: NONE 07:07:26 2f39f015ded8: Pull complete 07:07:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:07:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:07:26 prd-ubuntu20.04-docker-8c-8g-20655 does not seem to be running inside a container 07:07:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:07:28 $ docker top bd6e8387d3dd988a3622bfbc721dce85c577356b246f3fe32b391ebc28e30fea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:28 ---> job-cost.sh 07:07:28 lf-activate-venv: SKIPPING 07:07:28 INFO: No Stack... 07:07:28 INFO: Retrieving Pricing Info for: v3-standard-8 07:07:29 INFO: Archiving Costs [Pipeline] sh 07:07:29 + cat /w/workspace/xfoundry_device-modbus-go_PR-363/archives/cost.csv 07:07:29 + cut -d, -f6 [Pipeline] lock 07:07:29 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] 07:07:29 Resource [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] did not exist. Created. 07:07:29 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:07:29 + echo total: 0.2199999988079071 [Pipeline] stash 07:07:29 Stashed 1 file(s) [Pipeline] } 07:07:29 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:07:29 $ docker stop --time=1 bd6e8387d3dd988a3622bfbc721dce85c577356b246f3fe32b391ebc28e30fea 07:07:31 using credential edgex-jenkins-ssh 07:07:31 Cloning the remote Git repository 07:07:31 $ docker rm -f bd6e8387d3dd988a3622bfbc721dce85c577356b246f3fe32b391ebc28e30fea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:07:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:07:31 > git init /w/workspace/device-modbus-go/2 # timeout=10 07:07:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:07:31 > git --version # timeout=10 07:07:31 > git --version # 'git version 2.25.1' 07:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:07:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:07:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:07:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:07:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:07:33 Merging remotes/origin/main commit 244b59a475c78f58285a57e1d616d41d185ebc19 into PR head commit 0875fa989b11ea2af9835c06338d180b28e12d72 07:07:33 Merge succeeded, producing 0875fa989b11ea2af9835c06338d180b28e12d72 07:07:33 Checking out Revision 0875fa989b11ea2af9835c06338d180b28e12d72 (PR-363) 07:07:33 > git config core.sparsecheckout # timeout=10 07:07:33 > git checkout -f 0875fa989b11ea2af9835c06338d180b28e12d72 # timeout=10 07:07:33 > git remote # timeout=10 07:07:33 > git config --get remote.origin.url # timeout=10 07:07:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:07:33 > git merge 244b59a475c78f58285a57e1d616d41d185ebc19 # timeout=10 07:07:33 > git rev-parse HEAD^{commit} # timeout=10 07:07:33 > git config core.sparsecheckout # timeout=10 07:07:33 > git checkout -f 0875fa989b11ea2af9835c06338d180b28e12d72 # timeout=10 07:07:37 Commit message: "refactor(snap): Update configure.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:07:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:07:38 % Total % Received % Xferd Average Speed Time Time Time Current 07:07:38 Dload Upload Total Spent Left Speed 07:07:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 75656 0 --:--:-- --:--:-- --:--:-- 75656 [Pipeline] sh 07:07:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:07:39 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 07:07:39 /etc/docker/daemon.new 07:07:39 { 07:07:39 "registry-mirrors": [ 07:07:39 "https://nexus3.edgexfoundry.org:10001" 07:07:39 ], 07:07:39 "bip": "10.250.0.254/24", 07:07:39 "hosts": [ 07:07:39 "tcp://0.0.0.0:5555", 07:07:39 "unix:///var/run/docker.sock" 07:07:39 ], 07:07:39 "mtu": 1458, 07:07:39 "selinux-enabled": true, 07:07:39 "seccomp-profile": "/etc/docker/seccomp.json" 07:07:39 } [Pipeline] sh 07:07:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:07:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:07:58 provisioning config files... 07:07:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config5036604660385594606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:59 ---> docker-login.sh 07:07:59 nexus3.edgexfoundry.org:10001 07:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 nexus3.edgexfoundry.org:10002 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 nexus3.edgexfoundry.org:10003 07:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:00 Configure a credential helper to remove this warning. See 07:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:00 07:08:00 Login Succeeded 07:08:00 nexus3.edgexfoundry.org:10004 07:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:01 Configure a credential helper to remove this warning. See 07:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:01 07:08:01 Login Succeeded 07:08:01 docker.io 07:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:08:02 Configure a credential helper to remove this warning. See 07:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:08:02 07:08:02 Login Succeeded 07:08:02 ---> docker-login.sh ends [Pipeline] } 07:08:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:08:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:08:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:08:02 ========================================================= 07:08:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:08:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:08:03 Sending build context to Docker daemon 3.192MB 07:08:03 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:08:03 Step 2/10 : FROM ${BASE} AS builder 07:08:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:08:03 b3c136eddcbf: Pulling fs layer 07:08:03 c0a3192eca97: Pulling fs layer 07:08:03 a050256f5b6f: Pulling fs layer 07:08:03 656be50a0ddc: Pulling fs layer 07:08:03 2bbca73fdf42: Pulling fs layer 07:08:03 46d945488cbd: Pulling fs layer 07:08:03 8a5474983e97: Pulling fs layer 07:08:03 2bbca73fdf42: Waiting 07:08:03 46d945488cbd: Waiting 07:08:03 8a5474983e97: Waiting 07:08:03 656be50a0ddc: Waiting 07:08:03 329c88fbcd65: Pulling fs layer 07:08:03 329c88fbcd65: Waiting 07:08:03 a050256f5b6f: Download complete 07:08:03 c0a3192eca97: Verifying Checksum 07:08:03 c0a3192eca97: Download complete 07:08:03 2bbca73fdf42: Verifying Checksum 07:08:03 2bbca73fdf42: Download complete 07:08:03 46d945488cbd: Verifying Checksum 07:08:03 46d945488cbd: Download complete 07:08:03 b3c136eddcbf: Verifying Checksum 07:08:03 b3c136eddcbf: Download complete 07:08:04 b3c136eddcbf: Pull complete 07:08:04 329c88fbcd65: Verifying Checksum 07:08:04 329c88fbcd65: Download complete 07:08:05 c0a3192eca97: Pull complete 07:08:05 a050256f5b6f: Pull complete 07:08:06 8a5474983e97: Verifying Checksum 07:08:06 8a5474983e97: Download complete 07:08:06 656be50a0ddc: Verifying Checksum 07:08:06 656be50a0ddc: Download complete 07:08:21 656be50a0ddc: Pull complete 07:08:21 2bbca73fdf42: Pull complete 07:08:21 46d945488cbd: Pull complete 07:08:27 8a5474983e97: Pull complete 07:08:28 329c88fbcd65: Pull complete 07:08:28 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 07:08:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:08:28 ---> ff4287adb874 07:08:28 Step 3/10 : ARG MAKE='make build' 07:08:29 ---> Running in 26f2be433b74 07:08:29 Removing intermediate container 26f2be433b74 07:08:29 ---> d4d977b2d3ac 07:08:29 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:08:29 ---> Running in 7492e28d14d5 07:08:31 Removing intermediate container 7492e28d14d5 07:08:31 ---> 982427dc7eba 07:08:31 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:08:31 ---> Running in 33c2f0af9c84 07:08:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:08:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:08:34 (1/8) Installing openssh-keygen (9.0_p1-r1) 07:08:34 (2/8) Installing libedit (20210910.3.1-r0) 07:08:34 (3/8) Installing openssh-client-common (9.0_p1-r1) 07:08:34 (4/8) Installing openssh-client-default (9.0_p1-r1) 07:08:34 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 07:08:34 (6/8) Installing openssh-server-common (9.0_p1-r1) 07:08:34 (7/8) Installing openssh-server (9.0_p1-r1) 07:08:34 (8/8) Installing openssh (9.0_p1-r1) 07:08:34 Executing busybox-1.35.0-r13.trigger 07:08:34 OK: 228 MiB in 59 packages 07:08:37 Removing intermediate container 33c2f0af9c84 07:08:37 ---> a935ddecd0e6 07:08:37 Step 6/10 : WORKDIR /device-modbus-go 07:08:37 ---> Running in 84b38c7f662b 07:08:37 Removing intermediate container 84b38c7f662b 07:08:37 ---> c061134a6eb4 07:08:37 Step 7/10 : COPY go.mod vendor* ./ 07:08:38 ---> 7202f5bde5ef 07:08:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:08:38 ---> Running in 40913167f3a9 07:09:25 Removing intermediate container 40913167f3a9 07:09:25 ---> f8638bc6425b 07:09:25 Step 9/10 : COPY . . 07:09:25 ---> de5993f75bce 07:09:25 Step 10/10 : RUN ${MAKE} 07:09:25 ---> Running in d26fe26bdfaf 07:09:25 noop 07:09:25 Removing intermediate container d26fe26bdfaf 07:09:25 ---> f6dcbfd39393 07:09:25 Successfully built f6dcbfd39393 07:09:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:25 + docker inspect -f . ci-base-image-arm64 07:09:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:25 prd-ubuntu20.04-docker-arm64-4c-16g-20656 does not seem to be running inside a container 07:09:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:09:27 $ docker top 1bf0946b15e2396dc0767da20926f6c614f19c971a0a00e64c3a448057e3c04e -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:28 + go version 07:09:28 go version go1.18.3 linux/arm64 [Pipeline] } 07:09:28 $ docker stop --time=1 1bf0946b15e2396dc0767da20926f6c614f19c971a0a00e64c3a448057e3c04e 07:09:29 $ docker rm -f 1bf0946b15e2396dc0767da20926f6c614f19c971a0a00e64c3a448057e3c04e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:30 + docker inspect -f . ci-base-image-arm64 07:09:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:30 prd-ubuntu20.04-docker-arm64-4c-16g-20656 does not seem to be running inside a container 07:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:09:31 $ docker top 7aff797de2aa7092fc90a974d06f3713aef9c007242693371e5a9f6eb9b25964 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 07:09:33 + make test 07:09:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:09:34 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:10:56 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:10:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 46.4% of statements 07:10:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:10:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:11:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:11:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:11:12 ./bin/test-attribution-txt.sh [Pipeline] echo 07:11:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:11:12 $ docker stop --time=1 7aff797de2aa7092fc90a974d06f3713aef9c007242693371e5a9f6eb9b25964 07:11:13 $ docker rm -f 7aff797de2aa7092fc90a974d06f3713aef9c007242693371e5a9f6eb9b25964 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:11:14 Warning: overwriting stash ‘coverage-report’ 07:11:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:11:16 + ls -al . 07:11:16 total 180 07:11:16 drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 07:09 . 07:11:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:07 .. 07:11:16 -rw-rw-r-- 1 jenkins jenkins 140 Jul 21 07:07 .dockerignore 07:11:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 07:07 .git 07:11:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:07 .github 07:11:16 -rw-rw-r-- 1 jenkins jenkins 331 Jul 21 07:07 .gitignore 07:11:16 -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 07:07 .golangci.yml 07:11:16 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 21 07:07 Attribution.txt 07:11:16 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 21 07:07 CHANGELOG.md 07:11:16 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 21 07:07 Dockerfile 07:11:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 07:07 GOVERNANCE.md 07:11:16 -rw-rw-r-- 1 jenkins jenkins 680 Jul 21 07:07 Jenkinsfile 07:11:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 21 07:07 LICENSE 07:11:16 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 21 07:07 Makefile 07:11:16 -rw-rw-r-- 1 jenkins jenkins 622 Jul 21 07:07 OWNERS.md 07:11:16 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 21 07:07 README.md 07:11:16 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 07:05 VERSION 07:11:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 07:07 bin 07:11:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:07 cmd 07:11:16 -rw-r--r-- 1 jenkins jenkins 24065 Jul 21 07:10 coverage.out 07:11:16 -rw-rw-r-- 1 jenkins jenkins 3405 Jul 21 07:07 go.mod 07:11:16 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 21 07:07 go.sum 07:11:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 07:07 internal 07:11:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 07:07 simulator 07:11:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 07:07 snap 07:11:16 -rw-rw-r-- 1 jenkins jenkins 229 Jul 21 07:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:16 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0875fa989b11ea2af9835c06338d180b28e12d72 --label arch=arm64 --label version=0.0.0 . 07:11:16 Sending build context to Docker daemon 3.217MB 07:11:16 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 07:11:16 Step 2/23 : FROM ${BASE} AS builder 07:11:16 ---> f6dcbfd39393 07:11:16 Step 3/23 : ARG MAKE='make build' 07:11:16 ---> Running in de19e4002f5c 07:11:17 Removing intermediate container de19e4002f5c 07:11:17 ---> cba8e515eca0 07:11:17 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:17 ---> Running in 576017b78bdd 07:11:19 Removing intermediate container 576017b78bdd 07:11:19 ---> 23f586fe69ef 07:11:19 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:11:19 ---> Running in b4a6292ce4a5 07:11:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:11:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:11:21 OK: 228 MiB in 59 packages 07:11:22 Removing intermediate container b4a6292ce4a5 07:11:22 ---> dcbc1a715657 07:11:22 Step 6/23 : WORKDIR /device-modbus-go 07:11:22 ---> Running in fe8f493f7286 07:11:22 Removing intermediate container fe8f493f7286 07:11:22 ---> 3c7516da0e4d 07:11:22 Step 7/23 : COPY go.mod vendor* ./ 07:11:23 ---> 65128087a234 07:11:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:11:23 ---> Running in 43bb5eb51773 07:11:25 Removing intermediate container 43bb5eb51773 07:11:25 ---> 41660a8f8dff 07:11:25 Step 9/23 : COPY . . 07:11:26 ---> 7df7dc51bed1 07:11:26 Step 10/23 : RUN ${MAKE} 07:11:26 ---> Running in 072b59c21e50 07:11:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:13:34 Removing intermediate container 072b59c21e50 07:13:34 ---> 4e38f7a72cd1 07:13:34 Step 11/23 : FROM alpine:3.14 07:13:34 3.14: Pulling from library/alpine 07:13:34 f4bf3852c6cc: Pulling fs layer 07:13:34 f4bf3852c6cc: Verifying Checksum 07:13:34 f4bf3852c6cc: Download complete 07:13:34 f4bf3852c6cc: Pull complete 07:13:34 Digest: sha256:43eb8f0d8215d8661f745f3d88563c026614d843b668b233bbe1666b6d026f61 07:13:34 Status: Downloaded newer image for alpine:3.14 07:13:34 ---> f19c924ebacc 07:13:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:13:34 ---> Running in f3f3b6b66d13 07:13:34 Removing intermediate container f3f3b6b66d13 07:13:34 ---> 274113bf87e2 07:13:34 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:34 ---> Running in 199b2de190db 07:13:34 Removing intermediate container 199b2de190db 07:13:34 ---> 50ca9e24a00d 07:13:34 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 07:13:34 ---> Running in 1e16b569fbc5 07:13:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:13:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:13:34 (1/6) Installing dumb-init (1.2.5-r1) 07:13:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:13:34 (3/6) Installing libsodium (1.0.18-r0) 07:13:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:13:34 (5/6) Installing libzmq (4.3.4-r0) 07:13:34 (6/6) Installing zeromq (4.3.4-r0) 07:13:34 Executing busybox-1.33.1-r8.trigger 07:13:34 OK: 8 MiB in 20 packages 07:13:34 Removing intermediate container 1e16b569fbc5 07:13:34 ---> 9b9e9cca0155 07:13:34 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:13:34 ---> 0708529d6a2b 07:13:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:13:35 ---> c4de85b5102d 07:13:35 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:13:35 ---> fbb0462c6c69 07:13:35 Step 18/23 : EXPOSE 59901 07:13:36 ---> Running in 72adfb9e5eb4 07:13:36 Removing intermediate container 72adfb9e5eb4 07:13:36 ---> 6809ebadc6fc 07:13:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:13:36 ---> Running in 6c2db720e3b8 07:13:36 Removing intermediate container 6c2db720e3b8 07:13:36 ---> 65702a9d5766 07:13:36 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:13:36 ---> Running in ee28664cde9f 07:13:36 Removing intermediate container ee28664cde9f 07:13:36 ---> 91449b8e6c06 07:13:36 Step 21/23 : LABEL arch=arm64 07:13:37 ---> Running in e541828e1304 07:13:37 Removing intermediate container e541828e1304 07:13:37 ---> f313e0bc2ef6 07:13:37 Step 22/23 : LABEL git_sha=0875fa989b11ea2af9835c06338d180b28e12d72 07:13:37 ---> Running in dd91580b0994 07:13:37 Removing intermediate container dd91580b0994 07:13:37 ---> 78a67e696ecc 07:13:37 Step 23/23 : LABEL version=0.0.0 07:13:37 ---> Running in 7b0ebe36dedf 07:13:38 Removing intermediate container 7b0ebe36dedf 07:13:38 ---> 44e774e592eb 07:13:38 [Warning] One or more build-args [ARCH] were not consumed 07:13:38 Successfully built 44e774e592eb 07:13:38 Successfully tagged device-modbus-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 07:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:38 07:13:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:39 arm64: Pulling from edgex-lftools-log-publisher 07:13:39 8998bd30e6a1: Pulling fs layer 07:13:39 04944245beec: Pulling fs layer 07:13:39 699f458cf7ca: Pulling fs layer 07:13:39 765212b225bb: Pulling fs layer 07:13:39 f23df028b6ca: Pulling fs layer 07:13:39 d65c8cfc05b1: Pulling fs layer 07:13:39 2437ff75d9bd: Pulling fs layer 07:13:39 765212b225bb: Waiting 07:13:39 f23df028b6ca: Waiting 07:13:39 d65c8cfc05b1: Waiting 07:13:39 2437ff75d9bd: Waiting 07:13:39 04944245beec: Verifying Checksum 07:13:39 04944245beec: Download complete 07:13:39 765212b225bb: Verifying Checksum 07:13:39 765212b225bb: Download complete 07:13:39 f23df028b6ca: Verifying Checksum 07:13:39 f23df028b6ca: Download complete 07:13:39 d65c8cfc05b1: Verifying Checksum 07:13:39 d65c8cfc05b1: Download complete 07:13:39 699f458cf7ca: Verifying Checksum 07:13:39 699f458cf7ca: Download complete 07:13:39 8998bd30e6a1: Verifying Checksum 07:13:39 8998bd30e6a1: Download complete 07:13:42 2437ff75d9bd: Verifying Checksum 07:13:42 2437ff75d9bd: Download complete 07:13:44 8998bd30e6a1: Pull complete 07:13:44 04944245beec: Pull complete 07:13:46 699f458cf7ca: Pull complete 07:13:46 765212b225bb: Pull complete 07:13:47 f23df028b6ca: Pull complete 07:13:47 d65c8cfc05b1: Pull complete 07:14:02 2437ff75d9bd: Pull complete 07:14:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:14:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:14:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-20656 does not seem to be running inside a container 07:14:03 $ 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-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:14:05 $ docker top fb2f75539a5d05fb4ef2ed3256ae26a0845cb52fe25a01dc63ab75e1db7ce996 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:06 ---> job-cost.sh 07:14:06 lf-activate-venv: SKIPPING 07:14:06 INFO: No Stack... 07:14:06 INFO: Retrieving Pricing Info for: v3-standard-4 07:14:07 INFO: Archiving Costs [Pipeline] sh 07:14:08 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 07:14:08 + cut -d, -f6 [Pipeline] lock 07:14:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] 07:14:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] did not exist. Created. 07:14:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:14:09 /w/workspace/device-modbus-go/2@tmp/durable-79b7a744/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:14:09 + echo total: 0.10999999940395355 [Pipeline] stash 07:14:09 Warning: overwriting stash ‘stack-cost’ 07:14:09 Stashed 1 file(s) [Pipeline] } 07:14:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:14:09 $ docker stop --time=1 fb2f75539a5d05fb4ef2ed3256ae26a0845cb52fe25a01dc63ab75e1db7ce996 07:14:11 $ docker rm -f fb2f75539a5d05fb4ef2ed3256ae26a0845cb52fe25a01dc63ab75e1db7ce996 [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 07:14:11 provisioning config files... 07:14:11 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config5228897845788338461tmp [Pipeline] { [Pipeline] sh 07:14:12 + set +x 07:14:12 + curl -s https://codecov.io/bash 07:14:12 + bash -s -- 07:14:12 07:14:12 _____ _ 07:14:12 / ____| | | 07:14:12 | | ___ __| | ___ ___ _____ __ 07:14:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:14:12 | |___| (_) | (_| | __/ (_| (_) \ V / 07:14:12 \_____\___/ \__,_|\___|\___\___/ \_/ 07:14:12 Bash-1.0.6 07:14:12 07:14:12 07:14:12 ==> git version 2.25.1 found 07:14:12 ==> 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 07:14:12 Release-Date: 2020-01-08 07:14:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:14:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:14:12 ==> Jenkins CI detected. 07:14:12 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-363 07:14:12 project root: . 07:14:12 --> token set from env 07:14:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:14:12 ==> Running gcov in . (disable via -X gcov) 07:14:12 ==> Python coveragepy not found 07:14:12 ==> Searching for coverage reports in: 07:14:12 + . 07:14:12 -> Found 1 reports 07:14:12 ==> Detecting git/mercurial file structure 07:14:12 ==> Reading reports 07:14:12 + ./coverage.out bytes=24065 07:14:12 ==> Appending adjustments 07:14:12 https://docs.codecov.io/docs/fixing-reports 07:14:12 + Found adjustments 07:14:12 ==> Gzipping contents 07:14:12 4.0K /tmp/codecov.p4CH1X.gz 07:14:12 ==> Uploading reports 07:14:12 url: https://codecov.io 07:14:12 query: branch=PR-363&commit=0875fa989b11ea2af9835c06338d180b28e12d72&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=363&job=&cmd_args= 07:14:12 -> Pinging Codecov 07:14:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-363&commit=0875fa989b11ea2af9835c06338d180b28e12d72&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=363&job=&cmd_args= 07:14:12 -> Uploading to 07:14:12 https://storage.googleapis.com/codecov/v4/raw/2022-07-21/55DBCA73C666E3227836607328DD7E49/0875fa989b11ea2af9835c06338d180b28e12d72/91cf99e6-fd92-455b-823f-9a6a8861728a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T071412Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9c335f4a30eeab4f4edc9f56a1c053557ed154386d7452d885d5a37d35dcc6b 07:14:12 % Total % Received % Xferd Average Speed Time Time Time Current 07:14:12 Dload Upload Total Spent Left Speed 07:14:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3986 0 0 100 3986 0 16889 --:--:-- --:--:-- --:--:-- 16961 07:14:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/0875fa989b11ea2af9835c06338d180b28e12d72 [Pipeline] } 07:14:13 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 07:14:13 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-363/archives ] 07:14:13 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-363/archives 07:14:13 total 16 07:14:13 drwxr-xr-x 3 root root 4096 Jul 21 07:07 . 07:14:13 drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 07:07 .. 07:14:13 drwxr-xr-x 2 root root 4096 Jul 21 07:07 cost 07:14:13 -rw-r--r-- 1 root root 87 Jul 21 07:07 cost.csv 07:14:13 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-363/archives 07:14:13 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-363/archives 07:14:13 total 16 07:14:13 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 07:07 . 07:14:13 drwxrwxr-x 11 jenkins jenkins 4096 Jul 21 07:07 .. 07:14:13 drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 07:07 cost 07:14:13 -rw-r--r-- 1 jenkins jenkins 87 Jul 21 07:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:14:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:14:14 ---> package-listing.sh 07:14:14 ++ facter osfamily 07:14:14 ++ tr '[:upper:]' '[:lower:]' 07:14:15 + OS_FAMILY=debian 07:14:15 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-363 07:14:15 + START_PACKAGES=/tmp/packages_start.txt 07:14:15 + END_PACKAGES=/tmp/packages_end.txt 07:14:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:14:15 + PACKAGES=/tmp/packages_start.txt 07:14:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-363 ']' 07:14:15 + PACKAGES=/tmp/packages_end.txt 07:14:15 + case "${OS_FAMILY}" in 07:14:15 + dpkg -l 07:14:15 + grep '^ii' 07:14:15 + '[' -f /tmp/packages_start.txt ']' 07:14:15 + '[' -f /tmp/packages_end.txt ']' 07:14:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:14:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-363 ']' 07:14:15 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-363/archives/ 07:14:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-363/archives/ [Pipeline] echo 07:14:15 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/xfoundry_device-modbus-go_PR-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:14:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:16 prd-ubuntu20.04-docker-8c-8g-20655 does not seem to be running inside a container 07:14:16 $ 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/xfoundry_device-modbus-go_PR-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-363 -v /w/workspace/xfoundry_device-modbus-go_PR-363:/w/workspace/xfoundry_device-modbus-go_PR-363:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-363@tmp:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:14:16 $ docker top 08b268553d73aacaad8192406ad98951a01b2ce2fb8ba98f9f16d59945c599b8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 07:14:16 + mkdir -p /var/log/sysstat [Pipeline] sh 07:14:17 + ls /var/log/sa-host 07:14:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:17 provisioning config files... 07:14:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-363@tmp/config8081245418981063747tmp [Pipeline] { [Pipeline] echo 07:14:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:14:17 ---> create-netrc.sh [Pipeline] } 07:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:14:18 ---> python-tools-install.sh [Pipeline] echo 07:14:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:14:18 ---> sudo-logs.sh 07:14:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:14:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:14:18 ---> job-cost.sh 07:14:18 lf-activate-venv: SKIPPING 07:14:18 DEBUG: total: 0.2199999988079071 07:14:18 INFO: Retrieving Stack Cost... 07:14:18 INFO: Retrieving Pricing Info for: v3-standard-8 07:14:19 INFO: Archiving Costs [Pipeline] echo 07:14:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:14:19 ---> logs-deploy.sh 07:14:19 lf-activate-venv: SKIPPING 07:14:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-363/2 07:14:19 INFO: archiving workspace using pattern(s): 07:14:20 Archives upload complete. 07:14:20 INFO: archiving logs to Nexus 07:14:21 ---> uname -a: 07:14:21 Linux prd-ubuntu20-04-docker-8c-8g-20655 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 07:14:21 07:14:21 07:14:21 ---> lscpu: 07:14:21 Architecture: x86_64 07:14:21 CPU op-mode(s): 32-bit, 64-bit 07:14:21 Byte Order: Little Endian 07:14:21 Address sizes: 40 bits physical, 48 bits virtual 07:14:21 CPU(s): 8 07:14:21 On-line CPU(s) list: 0-7 07:14:21 Thread(s) per core: 1 07:14:21 Core(s) per socket: 1 07:14:21 Socket(s): 8 07:14:21 NUMA node(s): 1 07:14:21 Vendor ID: AuthenticAMD 07:14:21 CPU family: 23 07:14:21 Model: 49 07:14:21 Model name: AMD EPYC-Rome Processor 07:14:21 Stepping: 0 07:14:21 CPU MHz: 2800.000 07:14:21 BogoMIPS: 5600.00 07:14:21 Virtualization: AMD-V 07:14:21 Hypervisor vendor: KVM 07:14:21 Virtualization type: full 07:14:21 L1d cache: 256 KiB 07:14:21 L1i cache: 256 KiB 07:14:21 L2 cache: 4 MiB 07:14:21 L3 cache: 128 MiB 07:14:21 NUMA node0 CPU(s): 0-7 07:14:21 Vulnerability Itlb multihit: Not affected 07:14:21 Vulnerability L1tf: Not affected 07:14:21 Vulnerability Mds: Not affected 07:14:21 Vulnerability Meltdown: Not affected 07:14:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:14:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 07:14:21 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 07:14:21 Vulnerability Srbds: Not affected 07:14:21 Vulnerability Tsx async abort: Not affected 07:14:21 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 07:14:21 07:14:21 07:14:21 ---> nproc: 07:14:21 8 07:14:21 07:14:21 07:14:21 ---> df -h: 07:14:21 Filesystem Size Used Avail Use% Mounted on 07:14:21 overlay 155G 11G 145G 7% / 07:14:21 tmpfs 64M 0 64M 0% /dev 07:14:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:14:21 shm 64M 0 64M 0% /dev/shm 07:14:21 /dev/vda1 155G 11G 145G 7% /facter-os 07:14:21 07:14:21 07:14:21 ---> sar -b -r -n DEV: 07:14:21 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20655) 07/21/22 _x86_64_ (8 CPU) 07:14:21 07:14:21 07:04:41 LINUX RESTART (8 CPU) 07:14:21 07:14:21 07:05:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:14:21 07:06:01 389.09 46.31 342.77 0.00 4157.13 180116.59 0.00 07:14:21 07:07:01 139.43 1.32 138.11 0.00 21.06 36794.80 0.00 07:14:21 07:08:01 115.61 0.02 115.59 0.00 4.27 33074.04 0.00 07:14:21 07:09:01 1.32 0.00 1.32 0.00 0.00 16.15 0.00 07:14:21 07:10:01 1.48 0.02 1.47 0.00 0.13 16.39 0.00 07:14:21 07:11:01 1.57 0.00 1.57 0.00 0.00 19.19 0.00 07:14:21 07:12:01 0.93 0.00 0.93 0.00 0.00 11.33 0.00 07:14:21 07:13:01 0.93 0.00 0.93 0.00 0.00 12.66 0.00 07:14:21 07:14:01 1.13 0.00 1.13 0.00 0.00 12.40 0.00 07:14:21 Average: 71.79 5.22 66.58 0.00 457.83 27500.93 0.00 07:14:21 07:14:21 07:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:14:21 07:06:01 28822024 31734040 562196 1.71 119680 3058360 2173196 6.40 1146452 2529116 1572 07:14:21 07:07:01 27994912 31550760 736888 2.24 162532 3588468 2502800 7.38 1549712 2870088 208724 07:14:21 07:08:01 27679616 31751544 537580 1.63 172764 4052564 1783444 5.26 1297904 3393456 176 07:14:21 07:09:01 27680804 31752856 536040 1.63 172780 4052568 1783444 5.26 1296928 3393456 172 07:14:21 07:10:01 27692552 31764600 524044 1.59 172812 4052572 1783444 5.26 1284868 3393468 8 07:14:21 07:11:01 27692536 31764664 523956 1.59 172840 4052584 1783444 5.26 1285624 3393484 28 07:14:21 07:12:01 27699504 31771664 516868 1.57 172872 4052584 1783444 5.26 1278632 3393484 196 07:14:21 07:13:01 27699708 31772048 516572 1.57 172900 4052588 1783444 5.26 1278556 3393632 236 07:14:21 07:14:01 27699764 31772116 516480 1.57 172936 4052588 1783444 5.26 1278148 3393632 12 07:14:21 Average: 27851269 31737144 552292 1.68 165791 3890542 1906678 5.62 1299647 3239313 23458 07:14:21 07:14:21 07:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:14:21 07:06:01 vethf015cc8 45.03 53.87 4.33 46.07 0.00 0.00 0.00 0.00 07:14:21 07:06:01 ens3 813.42 468.72 6622.31 111.16 0.00 0.00 0.00 0.00 07:14:21 07:06:01 lo 6.78 6.78 0.66 0.66 0.00 0.00 0.00 0.00 07:14:21 07:06:01 docker0 70.67 89.36 5.38 169.51 0.00 0.00 0.00 0.00 07:14:21 07:07:01 ens3 151.74 115.80 1020.59 75.70 0.00 0.00 0.00 0.00 07:14:21 07:07:01 veth0d4f01d 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 07:14:21 07:07:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 07:14:21 07:07:01 docker0 60.82 78.54 4.90 978.92 0.00 0.00 0.00 0.00 07:14:21 07:08:01 ens3 159.78 106.60 2638.25 58.24 0.00 0.00 0.00 0.00 07:14:21 07:08:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 07:14:21 07:08:01 docker0 6.80 8.78 0.39 51.67 0.00 0.00 0.00 0.00 07:14:21 07:09:01 ens3 0.80 0.77 0.05 0.07 0.00 0.00 0.00 0.00 07:14:21 07:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:14:21 07:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:10:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:11:01 ens3 0.72 0.42 0.34 0.27 0.00 0.00 0.00 0.00 07:14:21 07:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:14:21 07:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:12:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:13:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 07:14:21 07:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:14:21 07:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:14:01 ens3 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 07:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:14:21 Average: ens3 123.90 76.21 1132.15 27.11 0.00 0.00 0.00 0.00 07:14:21 Average: lo 1.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 07:14:21 Average: docker0 15.26 19.50 1.18 133.26 0.00 0.00 0.00 0.00 07:14:21 07:14:21 07:14:21 ---> sar -P ALL: 07:14:21 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20655) 07/21/22 _x86_64_ (8 CPU) 07:14:21 07:14:21 07:04:41 LINUX RESTART (8 CPU) 07:14:21 07:14:21 07:05:02 CPU %user %nice %system %iowait %steal %idle 07:14:21 07:06:01 all 10.91 0.00 4.47 2.19 0.07 82.37 07:14:21 07:06:01 0 11.18 0.00 4.22 2.64 0.05 81.91 07:14:21 07:06:01 1 11.22 0.00 4.75 5.30 0.05 78.67 07:14:21 07:06:01 2 12.86 0.00 4.00 1.52 0.07 81.54 07:14:21 07:06:01 3 11.29 0.00 4.84 0.96 0.09 82.82 07:14:21 07:06:01 4 10.57 0.00 4.23 0.19 0.07 84.94 07:14:21 07:06:01 5 11.74 0.00 3.60 0.76 0.07 83.84 07:14:21 07:06:01 6 9.81 0.00 4.53 1.70 0.07 83.90 07:14:21 07:06:01 7 8.56 0.00 5.64 4.43 0.07 81.30 07:14:21 07:07:01 all 36.43 0.00 7.12 0.97 0.09 55.39 07:14:21 07:07:01 0 37.00 0.00 7.16 0.34 0.10 55.39 07:14:21 07:07:01 1 37.27 0.00 7.29 0.85 0.08 54.51 07:14:21 07:07:01 2 36.32 0.00 6.75 0.17 0.08 56.68 07:14:21 07:07:01 3 36.19 0.00 6.44 0.27 0.08 57.01 07:14:21 07:07:01 4 36.54 0.00 7.42 0.24 0.10 55.71 07:14:21 07:07:01 5 36.27 0.00 6.72 0.02 0.08 56.92 07:14:21 07:07:01 6 35.75 0.00 7.26 3.82 0.08 53.08 07:14:21 07:07:01 7 36.08 0.00 7.94 2.07 0.10 53.80 07:14:21 07:08:01 all 9.58 0.00 2.71 0.81 0.04 86.86 07:14:21 07:08:01 0 11.29 0.00 2.69 0.07 0.03 85.92 07:14:21 07:08:01 1 9.29 0.00 2.85 0.10 0.03 87.73 07:14:21 07:08:01 2 9.17 0.00 3.16 0.02 0.03 87.62 07:14:21 07:08:01 3 9.39 0.00 2.47 0.29 0.03 87.82 07:14:21 07:08:01 4 9.42 0.00 2.17 0.32 0.03 88.05 07:14:21 07:08:01 5 9.71 0.00 2.59 1.13 0.05 86.52 07:14:21 07:08:01 6 9.33 0.00 2.72 1.33 0.03 86.59 07:14:21 07:08:01 7 9.05 0.00 3.02 3.29 0.05 84.59 07:14:21 07:09:01 all 0.01 0.00 0.01 0.01 0.00 99.97 07:14:21 07:09:01 0 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:09:01 1 0.02 0.00 0.02 0.00 0.02 99.95 07:14:21 07:09:01 2 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:09:01 3 0.02 0.00 0.02 0.00 0.00 99.97 07:14:21 07:09:01 4 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:09:01 5 0.00 0.00 0.00 0.02 0.00 99.98 07:14:21 07:09:01 6 0.00 0.00 0.02 0.00 0.00 99.98 07:14:21 07:09:01 7 0.03 0.00 0.02 0.03 0.00 99.92 07:14:21 07:10:01 all 0.03 0.00 0.04 0.01 0.00 99.91 07:14:21 07:10:01 0 0.07 0.00 0.05 0.02 0.00 99.87 07:14:21 07:10:01 1 0.05 0.00 0.10 0.00 0.00 99.85 07:14:21 07:10:01 2 0.02 0.00 0.05 0.00 0.00 99.93 07:14:21 07:10:01 3 0.02 0.00 0.03 0.00 0.00 99.95 07:14:21 07:10:01 4 0.03 0.00 0.05 0.02 0.00 99.90 07:14:21 07:10:01 5 0.02 0.00 0.02 0.03 0.00 99.93 07:14:21 07:10:01 6 0.03 0.00 0.02 0.00 0.00 99.95 07:14:21 07:10:01 7 0.03 0.00 0.03 0.00 0.00 99.93 07:14:21 07:11:01 all 0.02 0.00 0.01 0.01 0.00 99.96 07:14:21 07:11:01 0 0.03 0.00 0.02 0.03 0.00 99.92 07:14:21 07:11:01 1 0.03 0.00 0.02 0.00 0.00 99.95 07:14:21 07:11:01 2 0.03 0.00 0.02 0.00 0.00 99.95 07:14:21 07:11:01 3 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:11:01 4 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:11:01 5 0.02 0.00 0.00 0.02 0.00 99.97 07:14:21 07:11:01 6 0.03 0.00 0.02 0.00 0.00 99.95 07:14:21 07:11:01 7 0.03 0.00 0.00 0.02 0.00 99.95 07:14:21 07:12:01 all 0.03 0.00 0.01 0.00 0.00 99.95 07:14:21 07:12:01 0 0.03 0.00 0.00 0.02 0.00 99.95 07:14:21 07:12:01 1 0.07 0.00 0.07 0.00 0.00 99.87 07:14:21 07:12:01 2 0.02 0.00 0.00 0.00 0.00 99.98 07:14:21 07:12:01 3 0.00 0.00 0.00 0.00 0.02 99.98 07:14:21 07:12:01 4 0.02 0.00 0.02 0.00 0.00 99.97 07:14:21 07:12:01 5 0.00 0.00 0.00 0.02 0.00 99.98 07:14:21 07:12:01 6 0.03 0.00 0.00 0.00 0.00 99.97 07:14:21 07:12:01 7 0.03 0.00 0.03 0.00 0.02 99.92 07:14:21 07:13:01 all 0.01 0.00 0.01 0.01 0.00 99.97 07:14:21 07:13:01 0 0.00 0.00 0.02 0.03 0.00 99.95 07:14:21 07:13:01 1 0.00 0.00 0.03 0.00 0.02 99.95 07:14:21 07:13:01 2 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:13:01 3 0.00 0.00 0.00 0.00 0.00 100.00 07:14:21 07:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 07:14:21 07:13:01 5 0.00 0.00 0.02 0.02 0.00 99.97 07:14:21 07:13:01 6 0.00 0.00 0.00 0.00 0.02 99.98 07:14:21 07:13:01 7 0.03 0.00 0.03 0.00 0.00 99.93 07:14:21 07:14:01 all 0.03 0.00 0.01 0.00 0.00 99.95 07:14:21 07:14:01 0 0.02 0.00 0.00 0.00 0.00 99.98 07:14:21 07:14:01 1 0.05 0.00 0.03 0.00 0.00 99.92 07:14:21 07:14:01 2 0.02 0.00 0.02 0.00 0.00 99.97 07:14:21 07:14:01 3 0.02 0.00 0.00 0.00 0.00 99.98 07:14:21 07:14:01 4 0.03 0.00 0.02 0.00 0.02 99.93 07:14:21 07:14:01 5 0.03 0.00 0.00 0.02 0.00 99.95 07:14:21 07:14:01 6 0.03 0.00 0.02 0.02 0.00 99.93 07:14:21 07:14:01 7 0.03 0.00 0.00 0.00 0.00 99.97 07:14:21 Average: all 6.27 0.00 1.58 0.44 0.02 91.68 07:14:21 Average: 0 6.57 0.00 1.56 0.34 0.02 91.51 07:14:21 Average: 1 6.38 0.00 1.66 0.68 0.02 91.25 07:14:21 Average: 2 6.42 0.00 1.54 0.19 0.02 91.83 07:14:21 Average: 3 6.26 0.00 1.51 0.17 0.02 92.04 07:14:21 Average: 4 6.23 0.00 1.53 0.08 0.02 92.14 07:14:21 Average: 5 6.37 0.00 1.42 0.22 0.02 91.96 07:14:21 Average: 6 6.05 0.00 1.60 0.75 0.02 91.58 07:14:21 Average: 7 5.91 0.00 1.83 1.08 0.03 91.16 07:14:21 07:14:21 07:14:21