Pull request #422 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from ead7d1926bffffa400a4b839dd7b54518dcd6782+01efde03cde14ec0060c1876119bb983deb5481b (ef84ddb2c8ac84809cc92d3730ff27380fa4d1ce) 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-ssh7902284523772943538.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10623175586697652024.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-422/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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8824559522840481725.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10437301235867226391.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-422/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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11070940032540729631.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9859 in /w/workspace/xfoundry_device-modbus-go_PR-422 [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-422 # 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 > 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/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 01efde03cde14ec0060c1876119bb983deb5481b into PR head commit ead7d1926bffffa400a4b839dd7b54518dcd6782 Merge succeeded, producing ead7d1926bffffa400a4b839dd7b54518dcd6782 Checking out Revision ead7d1926bffffa400a4b839dd7b54518dcd6782 (PR-422) > git config core.sparsecheckout # timeout=10 > git checkout -f ead7d1926bffffa400a4b839dd7b54518dcd6782 # 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 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ead7d1926bffffa400a4b839dd7b54518dcd6782 # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" First time build. Skipping changelog. > git rev-list --no-walk 514b1fcb442d10bf95e8013c0fac850a8301f03e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:14:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:14:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:14:08 ========================================================= 09:14:08 EdgeX Global Pipelines Version Info 09:14:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:14:09 ------------------- 09:14:09 stable info: 09:14:09 ------------------- 09:14:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:14:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:14:09 Message: update stable to v1.0.244 09:14:09 ------------------- 09:14:09 experimental info: 09:14:09 ------------------- 09:14:09 Commited By: **** collab-it+edgex@linuxfoundation.org 09:14:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:14:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ead7d1926bffffa400a4b839dd7b54518dcd6782 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ead7d19 [Pipeline] echo 09:14:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:10 provisioning config files... 09:14:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config10875627368824217190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:10 ---> docker-login.sh 09:14:10 nexus3.edgexfoundry.org:10001 09:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:11 Configure a credential helper to remove this warning. See 09:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:11 09:14:11 Login Succeeded 09:14:11 nexus3.edgexfoundry.org:10002 09:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:11 Configure a credential helper to remove this warning. See 09:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:11 09:14:11 Login Succeeded 09:14:11 nexus3.edgexfoundry.org:10003 09:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:11 Configure a credential helper to remove this warning. See 09:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:11 09:14:11 Login Succeeded 09:14:11 nexus3.edgexfoundry.org:10004 09:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:11 Configure a credential helper to remove this warning. See 09:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:11 09:14:11 Login Succeeded 09:14:11 docker.io 09:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:11 Configure a credential helper to remove this warning. See 09:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:11 09:14:11 Login Succeeded 09:14:11 ---> docker-login.sh ends [Pipeline] } 09:14:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:14:12 + git rev-list -1 --merges ead7d1926bffffa400a4b839dd7b54518dcd6782~1..ead7d1926bffffa400a4b839dd7b54518dcd6782 [Pipeline] echo 09:14:12 -----------> git rev-list -1 --merges ead7d1926bffffa400a4b839dd7b54518dcd6782~1..ead7d1926bffffa400a4b839dd7b54518dcd6782 ead7d1926bffffa400a4b839dd7b54518dcd6782 [false] [Pipeline] sh 09:14:12 + git log --format=format:%s -1 ead7d1926bffffa400a4b839dd7b54518dcd6782 [Pipeline] echo 09:14:12 ========================================================= 09:14:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:14:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:14:12 + git log --format=format:%s -1 ead7d1926bffffa400a4b839dd7b54518dcd6782 [Pipeline] echo 09:14:12 [semverPrep] GIT_COMMIT: ead7d1926bffffa400a4b839dd7b54518dcd6782, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo 09:14:12 [semverPrep] This is not a build commit. [Pipeline] sh 09:14:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:14:13 + grep -v github /etc/ssh/ssh_known_hosts 09:14:13 + [ -e /tmp/ssh_known_hosts ] 09:14:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:14:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:14:13 + sudo tee -a /etc/ssh/ssh_known_hosts 09:14:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:13 09:14:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:14 0.1.4: Pulling from edgex-devops/py-git-semver 09:14:14 b85a868b505f: Pulling fs layer 09:14:14 e2be974225ed: Pulling fs layer 09:14:14 339a4e72a1f5: Pulling fs layer 09:14:14 988bab9f4d93: Pulling fs layer 09:14:14 1469e6f7b9e6: Pulling fs layer 09:14:14 eaf3925da568: Pulling fs layer 09:14:14 988bab9f4d93: Waiting 09:14:14 bab4dde63d76: Pulling fs layer 09:14:14 bde34c3a00c8: Pulling fs layer 09:14:14 b352a97aabf1: Pulling fs layer 09:14:14 4872d77fe225: Pulling fs layer 09:14:14 1469e6f7b9e6: Waiting 09:14:14 5851b861e8e6: Pulling fs layer 09:14:14 bde34c3a00c8: Waiting 09:14:14 5851b861e8e6: Waiting 09:14:14 b352a97aabf1: Waiting 09:14:14 4872d77fe225: Waiting 09:14:14 e2be974225ed: Download complete 09:14:14 988bab9f4d93: Verifying Checksum 09:14:14 988bab9f4d93: Download complete 09:14:14 1469e6f7b9e6: Verifying Checksum 09:14:14 1469e6f7b9e6: Download complete 09:14:14 eaf3925da568: Verifying Checksum 09:14:14 eaf3925da568: Download complete 09:14:14 339a4e72a1f5: Verifying Checksum 09:14:14 339a4e72a1f5: Download complete 09:14:14 bde34c3a00c8: Verifying Checksum 09:14:14 bde34c3a00c8: Download complete 09:14:14 b352a97aabf1: Download complete 09:14:14 4872d77fe225: Verifying Checksum 09:14:14 4872d77fe225: Download complete 09:14:14 b85a868b505f: Verifying Checksum 09:14:14 b85a868b505f: Download complete 09:14:14 5851b861e8e6: Verifying Checksum 09:14:14 5851b861e8e6: Download complete 09:14:14 bab4dde63d76: Verifying Checksum 09:14:14 bab4dde63d76: Download complete 09:14:15 b85a868b505f: Pull complete 09:14:15 e2be974225ed: Pull complete 09:14:16 339a4e72a1f5: Pull complete 09:14:16 988bab9f4d93: Pull complete 09:14:16 1469e6f7b9e6: Pull complete 09:14:16 eaf3925da568: Pull complete 09:14:18 bab4dde63d76: Pull complete 09:14:18 bde34c3a00c8: Pull complete 09:14:18 b352a97aabf1: Pull complete 09:14:18 4872d77fe225: Pull complete 09:14:18 5851b861e8e6: Pull complete 09:14:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:14:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:18 prd-ubuntu20.04-docker-8c-8g-9859 does not seem to be running inside a container 09:14:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:14:19 $ docker top 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 -eo pid,comm 09:14:19 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). 09:14:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:19 [ssh-agent] Looking for ssh-agent implementation... 09:14:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:20 $ docker exec 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 ssh-agent 09:14:20 SSH_AUTH_SOCK=/tmp/ssh-rQaid1OjGedW/agent.33 09:14:20 SSH_AGENT_PID=39 09:14:20 Running ssh-add (command line suppressed) 09:14:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_2861505792716522203.key (/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_2861505792716522203.key) 09:14:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:20 + git tag --points-at HEAD [Pipeline] } 09:14:20 $ docker exec --env ******** --env ******** 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 ssh-agent -k 09:14:20 unset SSH_AUTH_SOCK; 09:14:20 unset SSH_AGENT_PID; 09:14:20 echo Agent pid 39 killed; 09:14:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:20 [ssh-agent] Looking for ssh-agent implementation... 09:14:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:20 $ docker exec 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 ssh-agent 09:14:20 SSH_AUTH_SOCK=/tmp/ssh-KRlTNXzoXdrJ/agent.71 09:14:20 SSH_AGENT_PID=77 09:14:20 Running ssh-add (command line suppressed) 09:14:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_2989450972046208126.key (/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/private_key_2989450972046208126.key) 09:14:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:21 + git semver init 09:14:21 2023-03-13 09:14:21,466 [run_init] DEBUG init version:0.0.0 force:False 09:14:21 2023-03-13 09:14:21,467 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-422/.semver 09:14:21 2023-03-13 09:14:21,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-422/.semver 09:14:21 2023-03-13 09:14:21,467 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-422/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-422, universal_newlines=False, shell=None, istream=None) 09:14:22 2023-03-13 09:14:22,310 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-422/.git/info/exclude 09:14:22 2023-03-13 09:14:22,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-422/.semver/PR-422 with force:False 09:14:22 2023-03-13 09:14:22,310 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-422/.semver/PR-422 09:14:22 2023-03-13 09:14:22,314 [execute] INFO git cat-file --batch-check 09:14:22 2023-03-13 09:14:22,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) 09:14:22 2023-03-13 09:14:22,320 [execute] INFO git cat-file --batch 09:14:22 2023-03-13 09:14:22,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) 09:14:22 2023-03-13 09:14:22,325 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-422/.semver/PR-422 09:14:22 0.0.0 [Pipeline] } 09:14:22 $ docker exec --env ******** --env ******** 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 ssh-agent -k 09:14:22 unset SSH_AUTH_SOCK; 09:14:22 unset SSH_AGENT_PID; 09:14:22 echo Agent pid 77 killed; 09:14:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:22 + git semver [Pipeline] } 09:14:23 $ docker stop --time=1 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 09:14:24 $ docker rm -f --volumes 27a52649c598ecfc8dbc6f68ab8b8ee437b54ad779f9a5360bad6d9ec340ce48 [Pipeline] // withDockerContainer [Pipeline] sh 09:14:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:25 Stashed 1 file(s) [Pipeline] echo 09:14:25 [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 09:14:25 provisioning config files... 09:14:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config10242014165944563770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:25 ---> docker-login.sh 09:14:25 nexus3.edgexfoundry.org:10001 09:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:25 Configure a credential helper to remove this warning. See 09:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:25 09:14:25 Login Succeeded 09:14:25 nexus3.edgexfoundry.org:10002 09:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:25 Configure a credential helper to remove this warning. See 09:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:25 09:14:25 Login Succeeded 09:14:25 nexus3.edgexfoundry.org:10003 09:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:25 Configure a credential helper to remove this warning. See 09:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:25 09:14:25 Login Succeeded 09:14:25 nexus3.edgexfoundry.org:10004 09:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:25 Configure a credential helper to remove this warning. See 09:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:25 09:14:25 Login Succeeded 09:14:25 docker.io 09:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:26 Configure a credential helper to remove this warning. See 09:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:26 09:14:26 Login Succeeded 09:14:26 ---> docker-login.sh ends [Pipeline] } 09:14:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:26 ========================================================= 09:14:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:14:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:26 + 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 . 09:14:26 Sending build context to Docker daemon 6.438MB 09:14:26 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:14:26 Step 2/10 : FROM ${BASE} AS builder 09:14:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:14:26 213ec9aee27d: Pulling fs layer 09:14:26 4583459ba037: Pulling fs layer 09:14:26 93c1e223e6f2: Pulling fs layer 09:14:26 53926ce57604: Pulling fs layer 09:14:26 21b2b0c7a3f4: Pulling fs layer 09:14:26 22ff95d597cd: Pulling fs layer 09:14:26 12d6caf4c0d1: Pulling fs layer 09:14:26 96b7cbca73a9: Pulling fs layer 09:14:26 a7acece74701: Pulling fs layer 09:14:26 53926ce57604: Waiting 09:14:26 21b2b0c7a3f4: Waiting 09:14:26 12d6caf4c0d1: Waiting 09:14:26 22ff95d597cd: Waiting 09:14:26 96b7cbca73a9: Waiting 09:14:26 a7acece74701: Waiting 09:14:26 93c1e223e6f2: Download complete 09:14:26 4583459ba037: Verifying Checksum 09:14:26 4583459ba037: Download complete 09:14:26 21b2b0c7a3f4: Verifying Checksum 09:14:26 22ff95d597cd: Verifying Checksum 09:14:26 22ff95d597cd: Download complete 09:14:26 213ec9aee27d: Verifying Checksum 09:14:26 213ec9aee27d: Download complete 09:14:26 12d6caf4c0d1: Verifying Checksum 09:14:26 12d6caf4c0d1: Download complete 09:14:26 213ec9aee27d: Pull complete 09:14:26 4583459ba037: Pull complete 09:14:26 93c1e223e6f2: Pull complete 09:14:27 a7acece74701: Verifying Checksum 09:14:27 a7acece74701: Download complete 09:14:27 96b7cbca73a9: Verifying Checksum 09:14:27 96b7cbca73a9: Download complete 09:14:27 53926ce57604: Verifying Checksum 09:14:27 53926ce57604: Download complete 09:14:30 53926ce57604: Pull complete 09:14:31 21b2b0c7a3f4: Pull complete 09:14:31 22ff95d597cd: Pull complete 09:14:31 12d6caf4c0d1: Pull complete 09:14:33 96b7cbca73a9: Pull complete 09:14:33 a7acece74701: Pull complete 09:14:34 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:14:34 ---> db6d94c90886 09:14:34 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:14:35 ---> Running in 854f49eac000 09:14:35 Removing intermediate container 854f49eac000 09:14:35 ---> 27ff5cc87d90 09:14:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:14:35 ---> Running in 1af249da4e84 09:14:35 Removing intermediate container 1af249da4e84 09:14:35 ---> fe895b457af1 09:14:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:14:35 ---> Running in 995287e6f9f9 09:14:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:14:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:14:36 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:14:36 (2/8) Installing libedit (20210910.3.1-r0) 09:14:36 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:14:36 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:14:36 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:14:36 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:14:36 (7/8) Installing openssh-server (9.0_p1-r2) 09:14:36 (8/8) Installing openssh (9.0_p1-r2) 09:14:36 Executing busybox-1.35.0-r17.trigger 09:14:36 OK: 217 MiB in 59 packages 09:14:36 Removing intermediate container 995287e6f9f9 09:14:36 ---> 3231333086e0 09:14:36 Step 6/10 : WORKDIR /device-modbus-go 09:14:37 ---> Running in 9defca5332b9 09:14:37 Removing intermediate container 9defca5332b9 09:14:37 ---> 2de626774111 09:14:37 Step 7/10 : COPY go.mod vendor* ./ 09:14:37 ---> ee29ef15c5e9 09:14:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:37 ---> Running in 33f7c10c47e0 09:14:40 Still waiting to schedule task 09:14:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:15:16 Removing intermediate container 33f7c10c47e0 09:15:16 ---> 13e8dc79c435 09:15:16 Step 9/10 : COPY . . 09:15:16 ---> 1e2cdb242ddd 09:15:16 Step 10/10 : RUN ${MAKE} 09:15:16 ---> Running in 6411d1f192b7 09:15:16 noop 09:15:16 Removing intermediate container 6411d1f192b7 09:15:16 ---> 85ee0d3ed7a2 09:15:16 Successfully built 85ee0d3ed7a2 09:15:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:16 + docker inspect -f . ci-base-image-x86_64 09:15:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:16 prd-ubuntu20.04-docker-8c-8g-9859 does not seem to be running inside a container 09:15:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@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 ******** ci-base-image-x86_64 cat 09:15:16 $ docker top 1877460a609e9fbd9d3509de9932b16bda1d63ef91257319203c76edd33f9760 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:17 + go version 09:15:17 go version go1.18.7 linux/amd64 [Pipeline] } 09:15:17 $ docker stop --time=1 1877460a609e9fbd9d3509de9932b16bda1d63ef91257319203c76edd33f9760 09:15:18 $ docker rm -f --volumes 1877460a609e9fbd9d3509de9932b16bda1d63ef91257319203c76edd33f9760 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:18 + docker inspect -f . ci-base-image-x86_64 09:15:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:18 prd-ubuntu20.04-docker-8c-8g-9859 does not seem to be running inside a container 09:15:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@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 ******** ci-base-image-x86_64 cat 09:15:19 $ docker top d7843abc857daf8821cc16aabd4b5aa462408f0a84d3e5547f01efb811219970 -eo pid,comm [Pipeline] { [Pipeline] sh 09:15:19 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-422 [Pipeline] fileExists [Pipeline] sh 09:15:19 + make test 09:15:19 go test ./... -coverprofile=coverage.out 09:15:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:15:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:15:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 48.0% of statements 09:15:34 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." 09:15:34 go vet ./... 09:15:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:15:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:15:37 ./bin/test-attribution-txt.sh [Pipeline] echo 09:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:15:37 $ docker stop --time=1 d7843abc857daf8821cc16aabd4b5aa462408f0a84d3e5547f01efb811219970 09:15:39 $ docker rm -f --volumes d7843abc857daf8821cc16aabd4b5aa462408f0a84d3e5547f01efb811219970 [Pipeline] // withDockerContainer [Pipeline] sh 09:15:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:15:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:40 + ls -al . 09:15:40 total 180 09:15:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 09:15 . 09:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 09:14 .. 09:15:40 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 09:14 .dockerignore 09:15:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 09:15 .git 09:15:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 09:14 .github 09:15:40 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 09:14 .gitignore 09:15:40 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 09:14 .golangci.yml 09:15:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 09:14 .semver 09:15:40 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 09:14 Attribution.txt 09:15:40 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 09:14 CHANGELOG.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 09:14 Dockerfile 09:15:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 09:14 GOVERNANCE.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 09:14 Jenkinsfile 09:15:40 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 09:14 LICENSE 09:15:40 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 09:14 Makefile 09:15:40 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 09:14 OWNERS.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 09:14 README.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 09:14 VERSION 09:15:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 09:14 bin 09:15:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 09:14 cmd 09:15:40 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 09:15 coverage.out 09:15:40 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 09:14 go.mod 09:15:40 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 09:14 go.sum 09:15:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 09:14 internal 09:15:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 09:14 simulator 09:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 09:14 snap 09:15:40 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 09:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:40 + 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=ead7d1926bffffa400a4b839dd7b54518dcd6782 --label arch=amd64 --label version=0.0.0 . 09:15:40 Sending build context to Docker daemon 6.462MB 09:15:40 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 09:15:40 Step 2/22 : FROM ${BASE} AS builder 09:15:40 ---> 85ee0d3ed7a2 09:15:40 Step 3/22 : ARG ADD_BUILD_TAGS="" 09:15:40 ---> Running in 2194586e020e 09:15:40 Removing intermediate container 2194586e020e 09:15:40 ---> 0f1cd4e41274 09:15:40 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:15:40 ---> Running in df241e8c3b30 09:15:40 Removing intermediate container df241e8c3b30 09:15:40 ---> d7e9e5898ad1 09:15:40 Step 5/22 : RUN apk add --update --no-cache make git openssh 09:15:40 ---> Running in 679f1bc622eb 09:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:15:41 OK: 217 MiB in 59 packages 09:15:41 Removing intermediate container 679f1bc622eb 09:15:41 ---> ad58a58836b1 09:15:41 Step 6/22 : WORKDIR /device-modbus-go 09:15:41 ---> Running in c161e1577ee8 09:15:41 Removing intermediate container c161e1577ee8 09:15:41 ---> ff2448da60e2 09:15:41 Step 7/22 : COPY go.mod vendor* ./ 09:15:41 ---> 8b57438a3208 09:15:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:41 ---> Running in 567ab406d5aa 09:15:42 Removing intermediate container 567ab406d5aa 09:15:42 ---> c241015bcdea 09:15:42 Step 9/22 : COPY . . 09:15:43 ---> 8f870d28275d 09:15:43 Step 10/22 : RUN ${MAKE} 09:15:43 ---> Running in 28c98573d2fa 09:15:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:16:01 Removing intermediate container 28c98573d2fa 09:16:01 ---> cbcfc39ccefb 09:16:01 Step 11/22 : FROM alpine:3.14 09:16:01 3.14: Pulling from library/alpine 09:16:01 d261077062b2: Pulling fs layer 09:16:01 d261077062b2: Verifying Checksum 09:16:01 d261077062b2: Download complete 09:16:01 d261077062b2: Pull complete 09:16:01 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 09:16:01 Status: Downloaded newer image for alpine:3.14 09:16:01 ---> 6dff1269bc79 09:16:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:16:01 ---> Running in f2b11da68e2b 09:16:02 Removing intermediate container f2b11da68e2b 09:16:02 ---> 2cfc510af3f0 09:16:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 09:16:02 ---> Running in 19878c98e5eb 09:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:16:02 (1/1) Installing dumb-init (1.2.5-r1) 09:16:02 Executing busybox-1.33.1-r8.trigger 09:16:02 OK: 6 MiB in 15 packages 09:16:02 Removing intermediate container 19878c98e5eb 09:16:02 ---> be181a07d19a 09:16:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 09:16:03 ---> c234529fe21c 09:16:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 09:16:03 ---> 7a6ef07b7503 09:16:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:16:03 ---> 4c6cd89f7a44 09:16:03 Step 17/22 : EXPOSE 59901 09:16:04 ---> Running in fc71bd724aaa 09:16:04 Removing intermediate container fc71bd724aaa 09:16:04 ---> c32dece76736 09:16:04 Step 18/22 : ENTRYPOINT ["/device-modbus"] 09:16:04 ---> Running in 118efab5dd5e 09:16:04 Removing intermediate container 118efab5dd5e 09:16:04 ---> 3867dd0a046a 09:16:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:16:04 ---> Running in 10bf82dceac5 09:16:04 Removing intermediate container 10bf82dceac5 09:16:04 ---> e9ca34bdc98f 09:16:04 Step 20/22 : LABEL arch=amd64 09:16:04 ---> Running in 79fff8f9ac04 09:16:04 Removing intermediate container 79fff8f9ac04 09:16:04 ---> f17b891fe519 09:16:04 Step 21/22 : LABEL git_sha=ead7d1926bffffa400a4b839dd7b54518dcd6782 09:16:04 ---> Running in 2fd0a58d0a5f 09:16:04 Removing intermediate container 2fd0a58d0a5f 09:16:04 ---> 4689bb36ad9b 09:16:04 Step 22/22 : LABEL version=0.0.0 09:16:04 ---> Running in 5a2992654ff1 09:16:04 Removing intermediate container 5a2992654ff1 09:16:04 ---> 1a9a487f49a7 09:16:04 [Warning] One or more build-args [ARCH] were not consumed 09:16:04 Successfully built 1a9a487f49a7 09:16:04 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 09:16:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:04 09:16:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:05 latest: Pulling from edgex-lftools-log-publisher 09:16:05 5eb5b503b376: Pulling fs layer 09:16:05 5c69ac0246d0: Pulling fs layer 09:16:05 ec43610c2a17: Pulling fs layer 09:16:05 3a2ae6a8a46f: Pulling fs layer 09:16:05 33b1e0a273af: Pulling fs layer 09:16:05 5d3b04190fa2: Pulling fs layer 09:16:05 2f39f015ded8: Pulling fs layer 09:16:05 33b1e0a273af: Waiting 09:16:05 5d3b04190fa2: Waiting 09:16:05 2f39f015ded8: Waiting 09:16:05 3a2ae6a8a46f: Waiting 09:16:05 5c69ac0246d0: Download complete 09:16:05 3a2ae6a8a46f: Verifying Checksum 09:16:05 3a2ae6a8a46f: Download complete 09:16:05 ec43610c2a17: Verifying Checksum 09:16:05 ec43610c2a17: Download complete 09:16:05 33b1e0a273af: Download complete 09:16:05 5d3b04190fa2: Download complete 09:16:05 5eb5b503b376: Verifying Checksum 09:16:05 5eb5b503b376: Download complete 09:16:06 2f39f015ded8: Verifying Checksum 09:16:06 2f39f015ded8: Download complete 09:16:06 5eb5b503b376: Pull complete 09:16:06 5c69ac0246d0: Pull complete 09:16:07 ec43610c2a17: Pull complete 09:16:07 3a2ae6a8a46f: Pull complete 09:16:07 33b1e0a273af: Pull complete 09:16:07 5d3b04190fa2: Pull complete 09:16:11 2f39f015ded8: Pull complete 09:16:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:11 prd-ubuntu20.04-docker-8c-8g-9859 does not seem to be running inside a container 09:16:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@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 09:16:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9860 in /w/workspace/xfoundry_device-modbus-go_PR-422 09:16:13 $ docker top 5b04629d2738cb527727ec7f34a96ebbcf8e99bafc84e3427e808b7c249130d3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 09:16:13 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 09:16:13 Selected Git installation does not exist. Using Default 09:16:13 The recommended git tool is: NONE 09:16:13 ---> job-cost.sh 09:16:13 lf-activate-venv: SKIPPING 09:16:13 INFO: No Stack... 09:16:14 INFO: Retrieving Pricing Info for: v3-standard-8 09:16:14 INFO: Archiving Costs [Pipeline] sh 09:16:14 + cat /w/workspace/xfoundry_device-modbus-go_PR-422/archives/cost.csv 09:16:14 + cut -d, -f6 [Pipeline] lock 09:16:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] 09:16:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] did not exist. Created. 09:16:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:15 + echo total: 0.2199999988079071 [Pipeline] stash 09:16:15 Stashed 1 file(s) [Pipeline] } 09:16:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:15 $ docker stop --time=1 5b04629d2738cb527727ec7f34a96ebbcf8e99bafc84e3427e808b7c249130d3 09:16:16 $ docker rm -f --volumes 5b04629d2738cb527727ec7f34a96ebbcf8e99bafc84e3427e808b7c249130d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:16:18 using credential edgex-jenkins-ssh 09:16:18 Cloning the remote Git repository 09:16:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:16:18 > git init /w/workspace/device-modbus-go/2 # timeout=10 09:16:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:16:18 > git --version # timeout=10 09:16:18 > git --version # 'git version 2.25.1' 09:16:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:16:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:16:21 Merging remotes/origin/main commit 01efde03cde14ec0060c1876119bb983deb5481b into PR head commit ead7d1926bffffa400a4b839dd7b54518dcd6782 09:16:21 Merge succeeded, producing ead7d1926bffffa400a4b839dd7b54518dcd6782 09:16:21 Checking out Revision ead7d1926bffffa400a4b839dd7b54518dcd6782 (PR-422) 09:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:16:20 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:16:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:16:21 > git config core.sparsecheckout # timeout=10 09:16:21 > git checkout -f ead7d1926bffffa400a4b839dd7b54518dcd6782 # timeout=10 09:16:21 > git remote # timeout=10 09:16:21 > git config --get remote.origin.url # timeout=10 09:16:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:16:21 > git merge 01efde03cde14ec0060c1876119bb983deb5481b # timeout=10 09:16:21 > git rev-parse HEAD^{commit} # timeout=10 09:16:22 > git config core.sparsecheckout # timeout=10 09:16:22 > git checkout -f ead7d1926bffffa400a4b839dd7b54518dcd6782 # timeout=10 09:16:25 Commit message: "refactor!: consume device-sdk-go breaking changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:16:26 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:26 Dload Upload Total Spent Left Speed 09:16:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 09:16:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:16:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:16:27 + sudo tee /etc/docker/daemon.new 09:16:27 { 09:16:27 "registry-mirrors": [ 09:16:27 "https://nexus3.edgexfoundry.org:10001" 09:16:27 ], 09:16:27 "bip": "10.250.0.254/24", 09:16:27 "hosts": [ 09:16:27 "tcp://0.0.0.0:5555", 09:16:27 "unix:///var/run/docker.sock" 09:16:27 ], 09:16:27 "mtu": 1458, 09:16:27 "selinux-enabled": true, 09:16:27 "seccomp-profile": "/etc/docker/seccomp.json" 09:16:27 } [Pipeline] sh 09:16:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:16:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:46 provisioning config files... 09:16:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config10247696235436514501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:46 ---> docker-login.sh 09:16:46 nexus3.edgexfoundry.org:10001 09:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:47 Configure a credential helper to remove this warning. See 09:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:47 09:16:47 Login Succeeded 09:16:47 nexus3.edgexfoundry.org:10002 09:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:47 Configure a credential helper to remove this warning. See 09:16:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:47 09:16:47 Login Succeeded 09:16:47 nexus3.edgexfoundry.org:10003 09:16:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:48 Configure a credential helper to remove this warning. See 09:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:48 09:16:48 Login Succeeded 09:16:48 nexus3.edgexfoundry.org:10004 09:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:48 Configure a credential helper to remove this warning. See 09:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:48 09:16:48 Login Succeeded 09:16:48 docker.io 09:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:16:48 Configure a credential helper to remove this warning. See 09:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:16:48 09:16:48 Login Succeeded 09:16:48 ---> docker-login.sh ends [Pipeline] } 09:16:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:16:49 ========================================================= 09:16:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:16:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:49 + 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 . 09:16:49 Sending build context to Docker daemon 3.367MB 09:16:49 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:16:49 Step 2/10 : FROM ${BASE} AS builder 09:16:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:16:50 9b18e9b68314: Pulling fs layer 09:16:50 35d82f9e3411: Pulling fs layer 09:16:50 e16973657156: Pulling fs layer 09:16:50 fc693d55d65f: Pulling fs layer 09:16:50 7e9fc2657dce: Pulling fs layer 09:16:50 dda99020689f: Pulling fs layer 09:16:50 db1c61fa0a46: Pulling fs layer 09:16:50 891c053d2c06: Pulling fs layer 09:16:50 fc693d55d65f: Waiting 09:16:50 7e9fc2657dce: Waiting 09:16:50 dda99020689f: Waiting 09:16:50 db1c61fa0a46: Waiting 09:16:50 891c053d2c06: Waiting 09:16:50 e16973657156: Verifying Checksum 09:16:50 e16973657156: Download complete 09:16:50 35d82f9e3411: Verifying Checksum 09:16:50 35d82f9e3411: Download complete 09:16:50 7e9fc2657dce: Verifying Checksum 09:16:50 7e9fc2657dce: Download complete 09:16:50 dda99020689f: Verifying Checksum 09:16:50 9b18e9b68314: Verifying Checksum 09:16:50 9b18e9b68314: Download complete 09:16:50 dda99020689f: Download complete 09:16:51 9b18e9b68314: Pull complete 09:16:51 891c053d2c06: Verifying Checksum 09:16:51 891c053d2c06: Download complete 09:16:51 35d82f9e3411: Pull complete 09:16:51 e16973657156: Pull complete 09:16:52 db1c61fa0a46: Verifying Checksum 09:16:52 fc693d55d65f: Verifying Checksum 09:16:52 fc693d55d65f: Download complete 09:17:05 fc693d55d65f: Pull complete 09:17:05 7e9fc2657dce: Pull complete 09:17:05 dda99020689f: Pull complete 09:17:10 db1c61fa0a46: Pull complete 09:17:13 891c053d2c06: Pull complete 09:17:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:17:13 ---> f96f9c87975a 09:17:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 09:17:14 ---> Running in 8b86e780c868 09:17:14 Removing intermediate container 8b86e780c868 09:17:14 ---> bdcf45c268b5 09:17:14 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:17:15 ---> Running in fd792147dd96 09:17:15 Removing intermediate container fd792147dd96 09:17:15 ---> 2f9a5bde26fb 09:17:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 09:17:15 ---> Running in 7855b3fd92c5 09:17:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:17:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:17:18 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:17:18 (2/8) Installing libedit (20210910.3.1-r0) 09:17:18 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:17:18 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:17:18 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:17:18 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:17:18 (7/8) Installing openssh-server (9.0_p1-r2) 09:17:18 (8/8) Installing openssh (9.0_p1-r2) 09:17:18 Executing busybox-1.35.0-r17.trigger 09:17:18 OK: 228 MiB in 59 packages 09:17:19 Removing intermediate container 7855b3fd92c5 09:17:19 ---> aaf330a2bb7a 09:17:19 Step 6/10 : WORKDIR /device-modbus-go 09:17:19 ---> Running in faa71c6b7dd8 09:17:19 Removing intermediate container faa71c6b7dd8 09:17:19 ---> dbc26f939cd3 09:17:19 Step 7/10 : COPY go.mod vendor* ./ 09:17:24 ---> 36d52f544c38 09:17:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:17:24 ---> Running in b30b3aa7a21b 09:18:31 Removing intermediate container b30b3aa7a21b 09:18:31 ---> e35d218c905a 09:18:31 Step 9/10 : COPY . . 09:18:31 ---> 603c9d70066f 09:18:31 Step 10/10 : RUN ${MAKE} 09:18:31 ---> Running in 4b479eae8408 09:18:31 noop 09:18:31 Removing intermediate container 4b479eae8408 09:18:31 ---> d6f5846b9bf5 09:18:31 Successfully built d6f5846b9bf5 09:18:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:32 + docker inspect -f . ci-base-image-arm64 09:18:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:32 prd-ubuntu20.04-docker-arm64-4c-16g-9860 does not seem to be running inside a container 09:18:32 $ 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 09:18:33 $ docker top 269f50deff91ca657c09056594041662537dcde109956346908d69038938cdf9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:34 + go version 09:18:34 go version go1.18.7 linux/arm64 [Pipeline] } 09:18:34 $ docker stop --time=1 269f50deff91ca657c09056594041662537dcde109956346908d69038938cdf9 09:18:36 $ docker rm -f --volumes 269f50deff91ca657c09056594041662537dcde109956346908d69038938cdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:18:36 + docker inspect -f . ci-base-image-arm64 09:18:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:18:36 prd-ubuntu20.04-docker-arm64-4c-16g-9860 does not seem to be running inside a container 09:18:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 09:18:39 $ docker top 1e83d7b13bc23f304977120c87d9d55360c797d406092a6146e481b096552dc1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:18:39 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 09:18:40 + make test 09:18:40 go test ./... -coverprofile=coverage.out 09:18:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:20:03 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:20:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 48.0% of statements 09:20:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:20:03 go vet ./... 09:20:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:20:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:20:25 ./bin/test-attribution-txt.sh [Pipeline] echo 09:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:20:25 $ docker stop --time=1 1e83d7b13bc23f304977120c87d9d55360c797d406092a6146e481b096552dc1 09:20:27 $ docker rm -f --volumes 1e83d7b13bc23f304977120c87d9d55360c797d406092a6146e481b096552dc1 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:20:28 Warning: overwriting stash ‘coverage-report’ 09:20:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:20:29 + ls -al . 09:20:29 total 176 09:20:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 09:18 . 09:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 09:16 .. 09:20:29 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 09:16 .dockerignore 09:20:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 09:16 .git 09:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 09:16 .github 09:20:29 -rw-rw-r-- 1 jenkins jenkins 331 Mar 13 09:16 .gitignore 09:20:29 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 09:16 .golangci.yml 09:20:29 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 13 09:16 Attribution.txt 09:20:29 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 13 09:16 CHANGELOG.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 13 09:16 Dockerfile 09:20:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 09:16 GOVERNANCE.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 680 Mar 13 09:16 Jenkinsfile 09:20:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 09:16 LICENSE 09:20:29 -rw-rw-r-- 1 jenkins jenkins 1670 Mar 13 09:16 Makefile 09:20:29 -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 09:16 OWNERS.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 13 09:16 README.md 09:20:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 09:14 VERSION 09:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 09:16 bin 09:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 09:16 cmd 09:20:29 -rw-r--r-- 1 jenkins jenkins 23736 Mar 13 09:20 coverage.out 09:20:29 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 13 09:16 go.mod 09:20:29 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 13 09:16 go.sum 09:20:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 09:16 internal 09:20:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 09:16 simulator 09:20:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 09:16 snap 09:20:29 -rw-rw-r-- 1 jenkins jenkins 229 Mar 13 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:30 + 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=ead7d1926bffffa400a4b839dd7b54518dcd6782 --label arch=arm64 --label version=0.0.0 . 09:20:30 Sending build context to Docker daemon 3.391MB 09:20:30 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 09:20:30 Step 2/22 : FROM ${BASE} AS builder 09:20:30 ---> d6f5846b9bf5 09:20:30 Step 3/22 : ARG ADD_BUILD_TAGS="" 09:20:30 ---> Running in bab84d096b35 09:20:30 Removing intermediate container bab84d096b35 09:20:30 ---> 2755ab99461e 09:20:30 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:20:30 ---> Running in f3822a31ada9 09:20:31 Removing intermediate container f3822a31ada9 09:20:31 ---> 6f700b06d69f 09:20:31 Step 5/22 : RUN apk add --update --no-cache make git openssh 09:20:31 ---> Running in ab6cb5780634 09:20:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:20:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:20:33 OK: 228 MiB in 59 packages 09:20:35 Removing intermediate container ab6cb5780634 09:20:35 ---> 3c17e48b247b 09:20:35 Step 6/22 : WORKDIR /device-modbus-go 09:20:35 ---> Running in 9dd2f75b99cb 09:20:35 Removing intermediate container 9dd2f75b99cb 09:20:35 ---> fcee56804fca 09:20:35 Step 7/22 : COPY go.mod vendor* ./ 09:20:36 ---> a661f9c74091 09:20:36 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:20:36 ---> Running in 16cfd7e53752 09:20:39 Removing intermediate container 16cfd7e53752 09:20:39 ---> f4497cd1e4d8 09:20:39 Step 9/22 : COPY . . 09:20:40 ---> b94bd80279fc 09:20:40 Step 10/22 : RUN ${MAKE} 09:20:40 ---> Running in 092b25810900 09:20:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 09:23:03 Removing intermediate container 092b25810900 09:23:03 ---> 6db696e87b50 09:23:03 Step 11/22 : FROM alpine:3.14 09:23:03 3.14: Pulling from library/alpine 09:23:03 6f0e733d82e2: Pulling fs layer 09:23:03 6f0e733d82e2: Verifying Checksum 09:23:03 6f0e733d82e2: Download complete 09:23:03 6f0e733d82e2: Pull complete 09:23:03 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 09:23:03 Status: Downloaded newer image for alpine:3.14 09:23:03 ---> bf97f6347a60 09:23:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:23:03 ---> Running in 6a3fbfe2f047 09:23:03 Removing intermediate container 6a3fbfe2f047 09:23:03 ---> 65a7ca97795f 09:23:03 Step 13/22 : RUN apk add --update --no-cache dumb-init 09:23:03 ---> Running in 8c26675395d5 09:23:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:23:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:23:03 (1/1) Installing dumb-init (1.2.5-r1) 09:23:03 Executing busybox-1.33.1-r8.trigger 09:23:03 OK: 6 MiB in 15 packages 09:23:03 Removing intermediate container 8c26675395d5 09:23:03 ---> 68bd1b97199b 09:23:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 09:23:03 ---> ca41ec6dbfb5 09:23:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 09:23:03 ---> 238e1a87025d 09:23:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:23:03 ---> 45ba688fde7c 09:23:03 Step 17/22 : EXPOSE 59901 09:23:03 ---> Running in 753fb1237d2b 09:23:03 Removing intermediate container 753fb1237d2b 09:23:03 ---> 46c6d733b577 09:23:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 09:23:04 ---> Running in bad18fdcb647 09:23:04 Removing intermediate container bad18fdcb647 09:23:04 ---> 3d0848da79f0 09:23:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:23:04 ---> Running in 17e0cf9916da 09:23:04 Removing intermediate container 17e0cf9916da 09:23:04 ---> 1ca59ff86eec 09:23:04 Step 20/22 : LABEL arch=arm64 09:23:04 ---> Running in 541f41a728f9 09:23:04 Removing intermediate container 541f41a728f9 09:23:04 ---> 392e55e6337a 09:23:04 Step 21/22 : LABEL git_sha=ead7d1926bffffa400a4b839dd7b54518dcd6782 09:23:04 ---> Running in 944bdb9cb856 09:23:05 Removing intermediate container 944bdb9cb856 09:23:05 ---> 6a4518e82021 09:23:05 Step 22/22 : LABEL version=0.0.0 09:23:05 ---> Running in cf13928883f5 09:23:05 Removing intermediate container cf13928883f5 09:23:05 ---> 237c90dfafc1 09:23:05 [Warning] One or more build-args [ARCH] were not consumed 09:23:05 Successfully built 237c90dfafc1 09:23:05 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 09:23:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:06 09:23:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:06 arm64: Pulling from edgex-lftools-log-publisher 09:23:06 8998bd30e6a1: Pulling fs layer 09:23:06 04944245beec: Pulling fs layer 09:23:06 699f458cf7ca: Pulling fs layer 09:23:06 765212b225bb: Pulling fs layer 09:23:06 f23df028b6ca: Pulling fs layer 09:23:06 d65c8cfc05b1: Pulling fs layer 09:23:06 2437ff75d9bd: Pulling fs layer 09:23:06 f23df028b6ca: Waiting 09:23:06 d65c8cfc05b1: Waiting 09:23:06 765212b225bb: Waiting 09:23:06 2437ff75d9bd: Waiting 09:23:06 04944245beec: Verifying Checksum 09:23:06 04944245beec: Download complete 09:23:06 765212b225bb: Verifying Checksum 09:23:06 765212b225bb: Download complete 09:23:06 f23df028b6ca: Verifying Checksum 09:23:06 f23df028b6ca: Download complete 09:23:06 d65c8cfc05b1: Verifying Checksum 09:23:06 d65c8cfc05b1: Download complete 09:23:06 699f458cf7ca: Verifying Checksum 09:23:06 699f458cf7ca: Download complete 09:23:07 8998bd30e6a1: Verifying Checksum 09:23:07 8998bd30e6a1: Download complete 09:23:09 2437ff75d9bd: Verifying Checksum 09:23:09 2437ff75d9bd: Download complete 09:23:11 8998bd30e6a1: Pull complete 09:23:11 04944245beec: Pull complete 09:23:12 699f458cf7ca: Pull complete 09:23:12 765212b225bb: Pull complete 09:23:13 f23df028b6ca: Pull complete 09:23:13 d65c8cfc05b1: Pull complete 09:23:28 2437ff75d9bd: Pull complete 09:23:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:23:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:23:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:29 prd-ubuntu20.04-docker-arm64-4c-16g-9860 does not seem to be running inside a container 09:23:29 $ 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 09:23:31 $ docker top 30c813424611a4abe688e9d02b03a49f0f767320c02e8936368e971eeb54edc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:32 ---> job-cost.sh 09:23:32 lf-activate-venv: SKIPPING 09:23:32 INFO: No Stack... 09:23:32 INFO: Retrieving Pricing Info for: v3-standard-4 09:23:33 INFO: Archiving Costs [Pipeline] sh 09:23:34 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 09:23:34 + cut -d, -f6 [Pipeline] lock 09:23:34 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] 09:23:34 Resource [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] did not exist. Created. 09:23:34 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:23:35 /w/workspace/device-modbus-go/2@tmp/durable-56a10c32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:23:35 + echo total: 0.10999999940395355 [Pipeline] stash 09:23:35 Warning: overwriting stash ‘stack-cost’ 09:23:35 Stashed 1 file(s) [Pipeline] } 09:23:35 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-422-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:23:35 $ docker stop --time=1 30c813424611a4abe688e9d02b03a49f0f767320c02e8936368e971eeb54edc6 09:23:36 $ docker rm -f --volumes 30c813424611a4abe688e9d02b03a49f0f767320c02e8936368e971eeb54edc6 [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 09:23:37 provisioning config files... 09:23:37 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config3532071894067592557tmp [Pipeline] { [Pipeline] sh 09:23:37 + set +x 09:23:37 + curl -s https://codecov.io/bash 09:23:37 + bash -s -- 09:23:37 09:23:37 _____ _ 09:23:37 / ____| | | 09:23:37 | | ___ __| | ___ ___ _____ __ 09:23:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:23:37 | |___| (_) | (_| | __/ (_| (_) \ V / 09:23:37 \_____\___/ \__,_|\___|\___\___/ \_/ 09:23:37 Bash-1.0.6 09:23:37 09:23:37 09:23:37 ==> git version 2.25.1 found 09:23:37 ==> 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 09:23:37 Release-Date: 2020-01-08 09:23:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:23:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:23:37 ==> Jenkins CI detected. 09:23:37 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-422 09:23:37 project root: . 09:23:37 --> token set from env 09:23:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:23:37 ==> Running gcov in . (disable via -X gcov) 09:23:37 ==> Python coveragepy not found 09:23:37 ==> Searching for coverage reports in: 09:23:37 + . 09:23:37 -> Found 1 reports 09:23:37 ==> Detecting git/mercurial file structure 09:23:37 ==> Reading reports 09:23:37 + ./coverage.out bytes=23736 09:23:37 ==> Appending adjustments 09:23:37 https://docs.codecov.io/docs/fixing-reports 09:23:37 + Found adjustments 09:23:37 ==> Gzipping contents 09:23:37 4.0K /tmp/codecov.M9M7WY.gz 09:23:37 ==> Uploading reports 09:23:37 url: https://codecov.io 09:23:37 query: branch=PR-422&commit=ead7d1926bffffa400a4b839dd7b54518dcd6782&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-422%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=422&job=&cmd_args= 09:23:37 -> Pinging Codecov 09:23:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-422&commit=ead7d1926bffffa400a4b839dd7b54518dcd6782&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-422%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=422&job=&cmd_args= 09:23:38 -> Uploading to 09:23:38 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/55DBCA73C666E3227836607328DD7E49/ead7d1926bffffa400a4b839dd7b54518dcd6782/b49bd31b-a5e6-44d5-8abb-cc9c06349ff6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T092337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f720c8cd64093ee14b72ce87400b71345e2391cfa7098eb21df66161232950e3 09:23:38 % Total % Received % Xferd Average Speed Time Time Time Current 09:23:38 Dload Upload Total Spent Left Speed 09:23:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3940 0 0 100 3940 0 16765 --:--:-- --:--:-- --:--:-- 16694 100 3940 0 0 100 3940 0 16694 --:--:-- --:--:-- --:--:-- 16624 09:23:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ead7d1926bffffa400a4b839dd7b54518dcd6782 [Pipeline] } 09:23:38 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 09:23:38 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-422/archives ] 09:23:38 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-422/archives 09:23:38 total 16 09:23:38 drwxr-xr-x 3 root root 4096 Mar 13 09:16 . 09:23:38 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 09:16 .. 09:23:38 drwxr-xr-x 2 root root 4096 Mar 13 09:16 cost 09:23:38 -rw-r--r-- 1 root root 88 Mar 13 09:16 cost.csv 09:23:38 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-422/archives 09:23:38 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-422/archives 09:23:38 total 16 09:23:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 09:16 . 09:23:38 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 09:16 .. 09:23:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 09:16 cost 09:23:38 -rw-r--r-- 1 jenkins jenkins 88 Mar 13 09:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:23:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:23:40 ---> package-listing.sh 09:23:40 ++ facter osfamily 09:23:40 ++ tr '[:upper:]' '[:lower:]' 09:23:40 + OS_FAMILY=debian 09:23:40 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-422 09:23:40 + START_PACKAGES=/tmp/packages_start.txt 09:23:40 + END_PACKAGES=/tmp/packages_end.txt 09:23:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:23:40 + PACKAGES=/tmp/packages_start.txt 09:23:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-422 ']' 09:23:40 + PACKAGES=/tmp/packages_end.txt 09:23:40 + case "${OS_FAMILY}" in 09:23:40 + dpkg -l 09:23:40 + grep '^ii' 09:23:40 + '[' -f /tmp/packages_start.txt ']' 09:23:40 + '[' -f /tmp/packages_end.txt ']' 09:23:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:23:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-422 ']' 09:23:40 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-422/archives/ 09:23:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-422/archives/ [Pipeline] echo 09:23:40 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-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:23:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:41 prd-ubuntu20.04-docker-8c-8g-9859 does not seem to be running inside a container 09:23:41 $ 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-422/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-422 -v /w/workspace/xfoundry_device-modbus-go_PR-422:/w/workspace/xfoundry_device-modbus-go_PR-422:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-422@tmp:/w/workspace/xfoundry_device-modbus-go_PR-422@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:23:41 $ docker top a6270d1fe87c8236d7d92fabe272e14b2f9edd79ae62c9c240f454835a6f1d0c -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:41 + touch /tmp/pre-build-complete [Pipeline] sh 09:23:42 + mkdir -p /var/log/sysstat [Pipeline] sh 09:23:42 + ls /var/log/sa-host 09:23:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:42 provisioning config files... 09:23:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-422@tmp/config11745654880195409579tmp [Pipeline] { [Pipeline] echo 09:23:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:23:42 ---> create-netrc.sh [Pipeline] } 09:23:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:23:43 ---> python-tools-install.sh [Pipeline] echo 09:23:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:23:43 ---> sudo-logs.sh 09:23:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:23:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:23:43 ---> job-cost.sh 09:23:43 lf-activate-venv: SKIPPING 09:23:43 DEBUG: total: 0.2199999988079071 09:23:43 INFO: Retrieving Stack Cost... 09:23:44 INFO: Retrieving Pricing Info for: v3-standard-8 09:23:44 INFO: Archiving Costs [Pipeline] echo 09:23:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:23:44 ---> logs-deploy.sh 09:23:44 lf-activate-venv: SKIPPING 09:23:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-422/2 09:23:44 INFO: archiving workspace using pattern(s): 09:23:45 Archives upload complete. 09:23:46 INFO: archiving logs to Nexus 09:23:46 ---> uname -a: 09:23:46 Linux prd-ubuntu20-04-docker-8c-8g-9859 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:23:46 09:23:46 09:23:46 ---> lscpu: 09:23:46 Architecture: x86_64 09:23:46 CPU op-mode(s): 32-bit, 64-bit 09:23:46 Byte Order: Little Endian 09:23:46 Address sizes: 40 bits physical, 48 bits virtual 09:23:46 CPU(s): 8 09:23:46 On-line CPU(s) list: 0-7 09:23:46 Thread(s) per core: 1 09:23:46 Core(s) per socket: 1 09:23:46 Socket(s): 8 09:23:46 NUMA node(s): 1 09:23:46 Vendor ID: AuthenticAMD 09:23:46 CPU family: 23 09:23:46 Model: 49 09:23:46 Model name: AMD EPYC-Rome Processor 09:23:46 Stepping: 0 09:23:46 CPU MHz: 2799.996 09:23:46 BogoMIPS: 5599.99 09:23:46 Virtualization: AMD-V 09:23:46 Hypervisor vendor: KVM 09:23:46 Virtualization type: full 09:23:46 L1d cache: 256 KiB 09:23:46 L1i cache: 256 KiB 09:23:46 L2 cache: 4 MiB 09:23:46 L3 cache: 128 MiB 09:23:46 NUMA node0 CPU(s): 0-7 09:23:46 Vulnerability Itlb multihit: Not affected 09:23:46 Vulnerability L1tf: Not affected 09:23:46 Vulnerability Mds: Not affected 09:23:46 Vulnerability Meltdown: Not affected 09:23:46 Vulnerability Mmio stale data: Not affected 09:23:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:23:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:23:46 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:23:46 Vulnerability Srbds: Not affected 09:23:46 Vulnerability Tsx async abort: Not affected 09:23:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:23:46 09:23:46 09:23:46 ---> nproc: 09:23:46 8 09:23:46 09:23:46 09:23:46 ---> df -h: 09:23:46 Filesystem Size Used Avail Use% Mounted on 09:23:46 overlay 155G 12G 144G 8% / 09:23:46 tmpfs 64M 0 64M 0% /dev 09:23:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:23:46 shm 64M 0 64M 0% /dev/shm 09:23:46 /dev/vda1 155G 12G 144G 8% /facter-os 09:23:46 09:23:46 09:23:46 ---> sar -b -r -n DEV: 09:23:46 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9859) 03/13/23 _x86_64_ (8 CPU) 09:23:46 09:23:46 09:13:30 LINUX RESTART (8 CPU) 09:23:46 09:23:46 09:14:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:23:46 09:15:01 342.24 12.33 329.91 0.00 1866.89 40228.13 0.00 09:23:46 09:16:01 180.97 0.27 180.70 0.00 12.13 64404.60 0.00 09:23:46 09:17:01 87.89 0.03 87.85 0.00 1.60 19490.30 0.00 09:23:46 09:18:01 2.35 0.00 2.35 0.00 0.00 25.08 0.00 09:23:46 09:19:01 32.34 7.77 24.58 0.00 904.25 2809.40 0.00 09:23:46 09:20:01 24.33 0.00 24.33 0.00 0.00 1326.31 0.00 09:23:46 09:21:01 31.99 2.82 29.17 0.00 4249.92 6606.33 0.00 09:23:46 09:22:01 3.60 0.02 3.58 0.00 0.13 92.52 0.00 09:23:46 09:23:01 1.05 0.00 1.05 0.00 0.00 11.20 0.00 09:23:46 Average: 78.04 2.56 75.48 0.00 779.72 14952.92 0.00 09:23:46 09:23:46 09:14:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:23:46 09:15:01 28554928 31544664 759844 2.31 103900 3090600 1986848 5.86 1150312 2736188 489016 09:23:46 09:16:01 28215024 31556344 745736 2.27 148348 3392136 1861520 5.49 1199840 3017420 160 09:23:46 09:17:01 27693032 31571320 727596 2.21 158280 3867292 1763396 5.20 1228544 3454512 340 09:23:46 09:18:01 27692844 31571268 727196 2.21 158332 3867296 1763396 5.20 1228028 3454512 8 09:23:46 09:19:01 27534896 31562608 722612 2.20 176684 3994480 1805892 5.32 1307744 3513648 1748 09:23:46 09:20:01 27533376 31564972 720956 2.19 179900 3994716 1822088 5.37 1310076 3514340 376 09:23:46 09:21:01 27171828 31561420 721108 2.19 196828 4322636 1813672 5.35 1543312 3623860 200 09:23:46 09:22:01 27176536 31561340 721312 2.19 195428 4319384 1793084 5.28 1541512 3620648 48 09:23:46 09:23:01 27177032 31561884 720728 2.19 195452 4319388 1793084 5.28 1541540 3620652 8 09:23:46 Average: 27638833 31561758 729676 2.22 168128 3907548 1822553 5.37 1338990 3395087 54656 09:23:46 09:23:46 09:14:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:23:46 09:15:01 docker0 206.07 363.71 16.01 2035.00 0.00 0.00 0.00 0.00 09:23:46 09:15:01 ens3 755.81 472.48 7963.82 94.57 0.00 0.00 0.00 0.00 09:23:46 09:15:01 veth75bd562 198.05 353.29 18.01 1910.87 0.00 0.00 0.00 0.16 09:23:46 09:15:01 lo 6.78 6.78 0.66 0.66 0.00 0.00 0.00 0.00 09:23:46 09:16:01 docker0 1.95 4.85 0.11 40.64 0.00 0.00 0.00 0.00 09:23:46 09:16:01 ens3 56.99 32.49 89.27 16.21 0.00 0.00 0.00 0.00 09:23:46 09:16:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 09:23:46 09:17:01 docker0 1.37 2.98 0.09 35.96 0.00 0.00 0.00 0.00 09:23:46 09:17:01 ens3 144.04 82.21 2608.78 13.52 0.00 0.00 0.00 0.00 09:23:46 09:17:01 lo 1.20 1.20 0.12 0.12 0.00 0.00 0.00 0.00 09:23:46 09:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:18:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 09:23:46 09:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:23:46 09:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:19:01 ens3 49.64 21.28 858.45 1.77 0.00 0.00 0.00 0.00 09:23:46 09:19:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 09:23:46 09:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:20:01 ens3 2.75 2.67 4.75 0.19 0.00 0.00 0.00 0.00 09:23:46 09:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:23:46 09:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:21:01 ens3 159.46 73.99 1944.95 5.06 0.00 0.00 0.00 0.00 09:23:46 09:21:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 09:23:46 09:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:22:01 ens3 0.28 0.27 0.02 0.02 0.00 0.00 0.00 0.00 09:23:46 09:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:23:46 09:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:23:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 09:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:23:46 Average: docker0 22.93 40.69 1.77 231.31 0.00 0.00 0.00 0.00 09:23:46 Average: ens3 128.75 75.44 1484.83 14.45 0.00 0.00 0.00 0.00 09:23:46 Average: lo 1.14 1.14 0.11 0.11 0.00 0.00 0.00 0.00 09:23:46 09:23:46 09:23:46 ---> sar -P ALL: 09:23:46 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9859) 03/13/23 _x86_64_ (8 CPU) 09:23:46 09:23:46 09:13:30 LINUX RESTART (8 CPU) 09:23:46 09:23:46 09:14:02 CPU %user %nice %system %iowait %steal %idle 09:23:46 09:15:01 all 8.91 0.00 3.58 1.18 0.06 86.28 09:23:46 09:15:01 0 6.71 0.00 2.92 0.12 0.05 90.20 09:23:46 09:15:01 1 9.17 0.00 3.35 0.68 0.05 86.76 09:23:46 09:15:01 2 8.92 0.00 4.49 0.98 0.05 85.57 09:23:46 09:15:01 3 7.96 0.00 3.39 1.20 0.07 87.38 09:23:46 09:15:01 4 8.95 0.00 3.92 0.12 0.05 86.96 09:23:46 09:15:01 5 8.13 0.00 3.40 0.58 0.03 87.85 09:23:46 09:15:01 6 9.12 0.00 4.12 3.80 0.07 82.89 09:23:46 09:15:01 7 12.32 0.00 3.06 1.94 0.07 82.62 09:23:46 09:16:01 all 35.98 0.00 7.05 0.95 0.08 55.95 09:23:46 09:16:01 0 36.62 0.00 7.37 0.07 0.07 55.87 09:23:46 09:16:01 1 36.15 0.00 6.87 0.07 0.08 56.83 09:23:46 09:16:01 2 35.30 0.00 7.33 0.30 0.08 56.98 09:23:46 09:16:01 3 34.66 0.00 7.65 3.95 0.07 53.67 09:23:46 09:16:01 4 36.94 0.00 6.13 0.08 0.08 56.77 09:23:46 09:16:01 5 36.04 0.00 7.72 2.19 0.08 53.96 09:23:46 09:16:01 6 35.49 0.00 6.58 0.12 0.07 57.75 09:23:46 09:16:01 7 36.60 0.00 6.73 0.83 0.08 55.76 09:23:46 09:17:01 all 2.94 0.00 1.39 0.41 0.02 95.24 09:23:46 09:17:01 0 3.38 0.00 1.65 0.02 0.03 94.92 09:23:46 09:17:01 1 3.01 0.00 1.29 0.02 0.02 95.67 09:23:46 09:17:01 2 2.63 0.00 1.17 0.39 0.02 95.79 09:23:46 09:17:01 3 3.56 0.00 1.36 0.05 0.02 95.01 09:23:46 09:17:01 4 2.42 0.00 0.97 0.02 0.02 96.57 09:23:46 09:17:01 5 2.92 0.00 1.71 1.46 0.03 93.87 09:23:46 09:17:01 6 2.74 0.00 1.50 0.03 0.02 95.71 09:23:46 09:17:01 7 2.86 0.00 1.43 1.33 0.02 94.37 09:23:46 09:18:01 all 0.02 0.00 0.02 0.01 0.00 99.95 09:23:46 09:18:01 0 0.03 0.00 0.02 0.00 0.00 99.95 09:23:46 09:18:01 1 0.02 0.00 0.02 0.00 0.00 99.97 09:23:46 09:18:01 2 0.05 0.00 0.03 0.03 0.00 99.88 09:23:46 09:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 09:23:46 09:18:01 4 0.00 0.00 0.03 0.00 0.02 99.95 09:23:46 09:18:01 5 0.05 0.00 0.02 0.02 0.02 99.90 09:23:46 09:18:01 6 0.00 0.00 0.02 0.00 0.00 99.98 09:23:46 09:18:01 7 0.03 0.00 0.02 0.00 0.00 99.95 09:23:46 09:19:01 all 0.98 0.00 0.73 0.19 0.01 98.09 09:23:46 09:19:01 0 1.27 0.00 2.00 0.03 0.00 96.70 09:23:46 09:19:01 1 1.35 0.00 0.62 0.20 0.02 97.81 09:23:46 09:19:01 2 0.82 0.00 0.57 0.78 0.02 97.81 09:23:46 09:19:01 3 0.97 0.00 0.72 0.07 0.02 98.23 09:23:46 09:19:01 4 0.59 0.00 0.37 0.02 0.02 99.01 09:23:46 09:19:01 5 0.95 0.00 0.55 0.05 0.02 98.43 09:23:46 09:19:01 6 0.72 0.00 0.37 0.02 0.00 98.90 09:23:46 09:19:01 7 1.17 0.00 0.67 0.35 0.02 97.79 09:23:46 09:20:01 all 0.35 0.00 0.09 0.14 0.01 99.42 09:23:46 09:20:01 0 0.12 0.00 0.08 0.00 0.02 99.78 09:23:46 09:20:01 1 0.67 0.00 0.12 0.08 0.02 99.11 09:23:46 09:20:01 2 0.92 0.00 0.28 0.95 0.02 97.83 09:23:46 09:20:01 3 0.37 0.00 0.08 0.05 0.00 99.50 09:23:46 09:20:01 4 0.00 0.00 0.00 0.00 0.00 100.00 09:23:46 09:20:01 5 0.12 0.00 0.03 0.00 0.00 99.85 09:23:46 09:20:01 6 0.15 0.00 0.02 0.02 0.00 99.82 09:23:46 09:20:01 7 0.45 0.00 0.07 0.03 0.00 99.45 09:23:46 09:21:01 all 1.41 0.00 0.74 0.20 0.01 97.64 09:23:46 09:21:01 0 1.50 0.00 0.75 0.17 0.00 97.58 09:23:46 09:21:01 1 1.66 0.00 0.62 0.03 0.02 97.67 09:23:46 09:21:01 2 1.49 0.00 1.35 0.80 0.02 96.34 09:23:46 09:21:01 3 2.54 0.00 1.19 0.15 0.02 96.11 09:23:46 09:21:01 4 1.47 0.00 0.70 0.07 0.02 97.75 09:23:46 09:21:01 5 0.87 0.00 0.45 0.12 0.02 98.55 09:23:46 09:21:01 6 0.82 0.00 0.37 0.23 0.02 98.56 09:23:46 09:21:01 7 0.90 0.00 0.47 0.02 0.02 98.59 09:23:46 09:22:01 all 0.07 0.00 0.06 0.01 0.00 99.86 09:23:46 09:22:01 0 0.03 0.00 0.03 0.03 0.00 99.90 09:23:46 09:22:01 1 0.05 0.00 0.07 0.00 0.02 99.87 09:23:46 09:22:01 2 0.10 0.00 0.07 0.00 0.00 99.83 09:23:46 09:22:01 3 0.08 0.00 0.05 0.00 0.00 99.87 09:23:46 09:22:01 4 0.08 0.00 0.03 0.02 0.00 99.87 09:23:46 09:22:01 5 0.03 0.00 0.03 0.00 0.00 99.93 09:23:46 09:22:01 6 0.00 0.00 0.08 0.07 0.00 99.85 09:23:46 09:22:01 7 0.17 0.00 0.08 0.00 0.00 99.75 09:23:46 09:23:01 all 0.02 0.00 0.01 0.00 0.00 99.96 09:23:46 09:23:01 0 0.02 0.00 0.00 0.00 0.00 99.98 09:23:46 09:23:01 1 0.08 0.00 0.02 0.00 0.02 99.88 09:23:46 09:23:01 2 0.05 0.00 0.03 0.00 0.02 99.90 09:23:46 09:23:01 3 0.00 0.00 0.00 0.00 0.00 100.00 09:23:46 09:23:01 4 0.02 0.00 0.00 0.00 0.00 99.98 09:23:46 09:23:01 5 0.02 0.00 0.00 0.00 0.00 99.98 09:23:46 09:23:01 6 0.00 0.00 0.02 0.03 0.00 99.95 09:23:46 09:23:01 7 0.00 0.00 0.00 0.00 0.00 100.00 09:23:46 Average: all 5.58 0.00 1.50 0.34 0.02 92.55 09:23:46 Average: 0 5.47 0.00 1.63 0.05 0.02 92.83 09:23:46 Average: 1 5.76 0.00 1.43 0.12 0.03 92.67 09:23:46 Average: 2 5.54 0.00 1.69 0.47 0.02 92.27 09:23:46 Average: 3 5.52 0.00 1.59 0.60 0.02 92.28 09:23:46 Average: 4 5.56 0.00 1.34 0.04 0.02 93.04 09:23:46 Average: 5 5.42 0.00 1.53 0.49 0.02 92.54 09:23:46 Average: 6 5.40 0.00 1.44 0.47 0.02 92.67 09:23:46 Average: 7 5.98 0.00 1.38 0.49 0.02 92.13 09:23:46 09:23:46 09:23:46