Pull request #409 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3d6901573352fb6f4789a99acc5b48a92484286+05607db3767b12e2b1688c1d4c1138f7ff4649fd (0ce5a7a65bc3d92df028eed2150832337fc19e0f) 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-ssh18003767893961817910.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-ssh12988210115661096511.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-409/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-409/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5812561349734971763.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-409/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1249118121662574890.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11507153452625565096.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-409/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-409/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8813325785663922457.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5477’ Running on prd-ubuntu20.04-docker-8c-8g-5485 in /w/workspace/xfoundry_device-modbus-go_PR-409 [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-409 # 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/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit b3d6901573352fb6f4789a99acc5b48a92484286 Merge succeeded, producing b3d6901573352fb6f4789a99acc5b48a92484286 Checking out Revision b3d6901573352fb6f4789a99acc5b48a92484286 (PR-409) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:56 ========================================================= 05:59:56 EdgeX Global Pipelines Version Info 05:59:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b3d6901573352fb6f4789a99acc5b48a92484286 # 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 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3d6901573352fb6f4789a99acc5b48a92484286 # timeout=10 05:59:57 ------------------- 05:59:57 stable info: 05:59:57 ------------------- 05:59:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:59:57 Message: update stable to v1.0.244 05:59:57 ------------------- 05:59:57 experimental info: 05:59:57 ------------------- 05:59:57 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:59:57 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:59:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:59:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-409 [Pipeline] echo 05:59:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-409 [Pipeline] echo 05:59:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-409 [Pipeline] echo 05:59:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3d6901573352fb6f4789a99acc5b48a92484286 [Pipeline] echo 05:59:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3d6901 [Pipeline] echo 05:59:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:59 provisioning config files... 05:59:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp/config1404500754702122889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:59 ---> docker-login.sh 05:59:59 nexus3.edgexfoundry.org:10001 05:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:59 Configure a credential helper to remove this warning. See 05:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:59 05:59:59 Login Succeeded 05:59:59 nexus3.edgexfoundry.org:10002 05:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:59 Configure a credential helper to remove this warning. See 05:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:59 05:59:59 Login Succeeded 05:59:59 nexus3.edgexfoundry.org:10003 06:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:00 Configure a credential helper to remove this warning. See 06:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:00 06:00:00 Login Succeeded 06:00:00 nexus3.edgexfoundry.org:10004 06:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:00 Configure a credential helper to remove this warning. See 06:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:00 06:00:00 Login Succeeded 06:00:00 docker.io 06:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:00 Configure a credential helper to remove this warning. See 06:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:00 06:00:00 Login Succeeded 06:00:00 ---> docker-login.sh ends [Pipeline] } 06:00:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:00:01 + git rev-list -1 --merges b3d6901573352fb6f4789a99acc5b48a92484286~1..b3d6901573352fb6f4789a99acc5b48a92484286 [Pipeline] echo 06:00:01 -----------> git rev-list -1 --merges b3d6901573352fb6f4789a99acc5b48a92484286~1..b3d6901573352fb6f4789a99acc5b48a92484286 b3d6901573352fb6f4789a99acc5b48a92484286 [false] [Pipeline] sh 06:00:01 + git log --format=format:%s -1 b3d6901573352fb6f4789a99acc5b48a92484286 [Pipeline] echo 06:00:01 ========================================================= 06:00:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:00:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:01 + git log --format=format:%s -1 b3d6901573352fb6f4789a99acc5b48a92484286 [Pipeline] echo 06:00:02 [semverPrep] GIT_COMMIT: b3d6901573352fb6f4789a99acc5b48a92484286, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 06:00:02 [semverPrep] This is not a build commit. [Pipeline] sh 06:00:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:02 + grep -v github /etc/ssh/ssh_known_hosts 06:00:02 + [ -e /tmp/ssh_known_hosts ] 06:00:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:00:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:00:02 + sudo tee -a /etc/ssh/ssh_known_hosts 06:00:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:02 06:00:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:03 0.1.4: Pulling from edgex-devops/py-git-semver 06:00:03 b85a868b505f: Pulling fs layer 06:00:03 e2be974225ed: Pulling fs layer 06:00:03 339a4e72a1f5: Pulling fs layer 06:00:03 988bab9f4d93: Pulling fs layer 06:00:03 1469e6f7b9e6: Pulling fs layer 06:00:03 eaf3925da568: Pulling fs layer 06:00:03 bab4dde63d76: Pulling fs layer 06:00:03 bde34c3a00c8: Pulling fs layer 06:00:03 b352a97aabf1: Pulling fs layer 06:00:03 4872d77fe225: Pulling fs layer 06:00:03 5851b861e8e6: Pulling fs layer 06:00:03 988bab9f4d93: Waiting 06:00:03 1469e6f7b9e6: Waiting 06:00:03 eaf3925da568: Waiting 06:00:03 bde34c3a00c8: Waiting 06:00:03 bab4dde63d76: Waiting 06:00:03 b352a97aabf1: Waiting 06:00:03 5851b861e8e6: Waiting 06:00:03 4872d77fe225: Waiting 06:00:03 e2be974225ed: Verifying Checksum 06:00:03 e2be974225ed: Download complete 06:00:03 988bab9f4d93: Verifying Checksum 06:00:03 988bab9f4d93: Download complete 06:00:03 1469e6f7b9e6: Verifying Checksum 06:00:03 1469e6f7b9e6: Download complete 06:00:03 339a4e72a1f5: Verifying Checksum 06:00:03 339a4e72a1f5: Download complete 06:00:03 eaf3925da568: Verifying Checksum 06:00:03 eaf3925da568: Download complete 06:00:03 bde34c3a00c8: Verifying Checksum 06:00:03 bde34c3a00c8: Download complete 06:00:03 b352a97aabf1: Verifying Checksum 06:00:03 b352a97aabf1: Download complete 06:00:03 4872d77fe225: Verifying Checksum 06:00:03 4872d77fe225: Download complete 06:00:03 5851b861e8e6: Verifying Checksum 06:00:03 5851b861e8e6: Download complete 06:00:03 b85a868b505f: Download complete 06:00:04 bab4dde63d76: Verifying Checksum 06:00:04 bab4dde63d76: Download complete 06:00:04 b85a868b505f: Pull complete 06:00:04 e2be974225ed: Pull complete 06:00:05 339a4e72a1f5: Pull complete 06:00:05 988bab9f4d93: Pull complete 06:00:05 1469e6f7b9e6: Pull complete 06:00:05 eaf3925da568: Pull complete 06:00:07 bab4dde63d76: Pull complete 06:00:07 bde34c3a00c8: Pull complete 06:00:07 b352a97aabf1: Pull complete 06:00:07 4872d77fe225: Pull complete 06:00:07 5851b861e8e6: Pull complete 06:00:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:08 prd-ubuntu20.04-docker-8c-8g-5485 does not seem to be running inside a container 06:00:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-409 -v /w/workspace/xfoundry_device-modbus-go_PR-409:/w/workspace/xfoundry_device-modbus-go_PR-409:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-409@tmp:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:00:09 $ docker top 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 -eo pid,comm 06:00:09 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). 06:00:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:09 [ssh-agent] Looking for ssh-agent implementation... 06:00:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:09 $ docker exec 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 ssh-agent 06:00:09 SSH_AUTH_SOCK=/tmp/ssh-f2zpKIZ9XF92/agent.31 06:00:09 SSH_AGENT_PID=37 06:00:09 Running ssh-add (command line suppressed) 06:00:09 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-409@tmp/private_key_16470916005468053077.key (/w/workspace/xfoundry_device-modbus-go_PR-409@tmp/private_key_16470916005468053077.key) 06:00:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:10 + git tag --points-at HEAD [Pipeline] } 06:00:10 $ docker exec --env ******** --env ******** 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 ssh-agent -k 06:00:10 unset SSH_AUTH_SOCK; 06:00:10 unset SSH_AGENT_PID; 06:00:10 echo Agent pid 37 killed; 06:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:10 [ssh-agent] Looking for ssh-agent implementation... 06:00:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:10 $ docker exec 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 ssh-agent 06:00:10 SSH_AUTH_SOCK=/tmp/ssh-ZNhro5YYLRyR/agent.69 06:00:10 SSH_AGENT_PID=75 06:00:10 Running ssh-add (command line suppressed) 06:00:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-409@tmp/private_key_8497112602039576234.key (/w/workspace/xfoundry_device-modbus-go_PR-409@tmp/private_key_8497112602039576234.key) 06:00:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:11 + git semver init 06:00:11 2023-02-13 06:00:11,451 [run_init] DEBUG init version:0.0.0 force:False 06:00:11 2023-02-13 06:00:11,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-409/.semver 06:00:11 2023-02-13 06:00:11,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-409/.semver 06:00:11 2023-02-13 06:00:11,452 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-409/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-409, universal_newlines=False, shell=None, istream=None) 06:00:12 2023-02-13 06:00:12,383 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-409/.git/info/exclude 06:00:12 2023-02-13 06:00:12,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-409/.semver/PR-409 with force:False 06:00:12 2023-02-13 06:00:12,384 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-409/.semver/PR-409 06:00:12 2023-02-13 06:00:12,388 [execute] INFO git cat-file --batch-check 06:00:12 2023-02-13 06:00:12,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-409/.semver, universal_newlines=False, shell=None, istream=) 06:00:12 2023-02-13 06:00:12,394 [execute] INFO git cat-file --batch 06:00:12 2023-02-13 06:00:12,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-409/.semver, universal_newlines=False, shell=None, istream=) 06:00:12 2023-02-13 06:00:12,401 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-409/.semver/PR-409 06:00:12 0.0.0 [Pipeline] } 06:00:12 $ docker exec --env ******** --env ******** 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 ssh-agent -k 06:00:12 unset SSH_AUTH_SOCK; 06:00:12 unset SSH_AGENT_PID; 06:00:12 echo Agent pid 75 killed; 06:00:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:12 + git semver [Pipeline] } 06:00:13 $ docker stop --time=1 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 06:00:14 $ docker rm -f --volumes 0a5012e214d451a8ebdc45af8b20938a15345f288a6740f291726dd7b6bec477 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:15 Stashed 1 file(s) [Pipeline] echo 06:00:15 [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 06:00:15 provisioning config files... 06:00:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp/config18316860080883069523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:16 ---> docker-login.sh 06:00:16 nexus3.edgexfoundry.org:10001 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 nexus3.edgexfoundry.org:10002 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 nexus3.edgexfoundry.org:10003 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 nexus3.edgexfoundry.org:10004 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:16 Configure a credential helper to remove this warning. See 06:00:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:16 06:00:16 Login Succeeded 06:00:16 docker.io 06:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:17 Configure a credential helper to remove this warning. See 06:00:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:17 06:00:17 Login Succeeded 06:00:17 ---> docker-login.sh ends [Pipeline] } 06:00:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:17 ========================================================= 06:00:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:00:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:17 + 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 . 06:00:17 Sending build context to Docker daemon 6.372MB 06:00:17 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:00:17 Step 2/10 : FROM ${BASE} AS builder 06:00:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:17 213ec9aee27d: Pulling fs layer 06:00:17 4583459ba037: Pulling fs layer 06:00:17 93c1e223e6f2: Pulling fs layer 06:00:17 53926ce57604: Pulling fs layer 06:00:17 21b2b0c7a3f4: Pulling fs layer 06:00:17 22ff95d597cd: Pulling fs layer 06:00:17 12d6caf4c0d1: Pulling fs layer 06:00:17 96b7cbca73a9: Pulling fs layer 06:00:17 a7acece74701: Pulling fs layer 06:00:17 22ff95d597cd: Waiting 06:00:17 12d6caf4c0d1: Waiting 06:00:17 96b7cbca73a9: Waiting 06:00:17 53926ce57604: Waiting 06:00:17 21b2b0c7a3f4: Waiting 06:00:17 a7acece74701: Waiting 06:00:17 93c1e223e6f2: Download complete 06:00:17 4583459ba037: Download complete 06:00:18 21b2b0c7a3f4: Download complete 06:00:18 22ff95d597cd: Verifying Checksum 06:00:18 22ff95d597cd: Download complete 06:00:18 213ec9aee27d: Verifying Checksum 06:00:18 213ec9aee27d: Download complete 06:00:18 12d6caf4c0d1: Verifying Checksum 06:00:18 12d6caf4c0d1: Download complete 06:00:18 213ec9aee27d: Pull complete 06:00:18 4583459ba037: Pull complete 06:00:18 93c1e223e6f2: Pull complete 06:00:19 a7acece74701: Verifying Checksum 06:00:19 a7acece74701: Download complete 06:00:19 53926ce57604: Download complete 06:00:19 96b7cbca73a9: Verifying Checksum 06:00:19 96b7cbca73a9: Download complete 06:00:22 53926ce57604: Pull complete 06:00:23 21b2b0c7a3f4: Pull complete 06:00:23 22ff95d597cd: Pull complete 06:00:23 12d6caf4c0d1: Pull complete 06:00:25 96b7cbca73a9: Pull complete 06:00:26 a7acece74701: Pull complete 06:00:26 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:00:26 ---> db6d94c90886 06:00:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:27 ---> Running in 977546270a98 06:00:27 Removing intermediate container 977546270a98 06:00:27 ---> 64654a96e046 06:00:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:27 ---> Running in 9ef1240ed636 06:00:27 Removing intermediate container 9ef1240ed636 06:00:27 ---> 40f535fe0836 06:00:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:27 ---> Running in a7f7d6d5b14f 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:00:28 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:00:28 (2/8) Installing libedit (20210910.3.1-r0) 06:00:28 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:00:28 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:00:28 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:00:28 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:00:28 (7/8) Installing openssh-server (9.0_p1-r2) 06:00:28 (8/8) Installing openssh (9.0_p1-r2) 06:00:28 Executing busybox-1.35.0-r17.trigger 06:00:28 OK: 217 MiB in 59 packages 06:00:28 Removing intermediate container a7f7d6d5b14f 06:00:28 ---> 9a621dbef7d9 06:00:28 Step 6/10 : WORKDIR /device-modbus-go 06:00:28 ---> Running in 49643113b164 06:00:29 Removing intermediate container 49643113b164 06:00:29 ---> deba77945032 06:00:29 Step 7/10 : COPY go.mod vendor* ./ 06:00:29 ---> a89f9021c303 06:00:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:29 ---> Running in 6e55665891fb 06:00:30 Still waiting to schedule task 06:00:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:00:55 Removing intermediate container 6e55665891fb 06:00:55 ---> 37ed5793ba16 06:00:55 Step 9/10 : COPY . . 06:00:56 ---> d0390ad82ed0 06:00:56 Step 10/10 : RUN ${MAKE} 06:00:56 ---> Running in 6343cd0ae4a2 06:00:56 noop 06:00:56 Removing intermediate container 6343cd0ae4a2 06:00:56 ---> a9238a6c1d42 06:00:56 Successfully built a9238a6c1d42 06:00:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:57 + docker inspect -f . ci-base-image-x86_64 06:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:57 prd-ubuntu20.04-docker-8c-8g-5485 does not seem to be running inside a container 06:00:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-409 -v /w/workspace/xfoundry_device-modbus-go_PR-409:/w/workspace/xfoundry_device-modbus-go_PR-409:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-409@tmp:/w/workspace/xfoundry_device-modbus-go_PR-409@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 ******** ci-base-image-x86_64 cat 06:00:57 $ docker top 7df84eb348e26715c9b164e5481a3c503d632ea77267aa313d19db04827181fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:58 + go version 06:00:58 go version go1.18.7 linux/amd64 [Pipeline] } 06:00:58 $ docker stop --time=1 7df84eb348e26715c9b164e5481a3c503d632ea77267aa313d19db04827181fc 06:00:59 $ docker rm -f --volumes 7df84eb348e26715c9b164e5481a3c503d632ea77267aa313d19db04827181fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:00 + docker inspect -f . ci-base-image-x86_64 06:01:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:00 prd-ubuntu20.04-docker-8c-8g-5485 does not seem to be running inside a container 06:01:00 $ 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-409 -v /w/workspace/xfoundry_device-modbus-go_PR-409:/w/workspace/xfoundry_device-modbus-go_PR-409:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-409@tmp:/w/workspace/xfoundry_device-modbus-go_PR-409@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 ******** ci-base-image-x86_64 cat 06:01:00 $ docker top 578b2265d878e1bb94f63ecde65d82c260d6cad32cbc252b32b227e309a707ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:01 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-409 [Pipeline] fileExists [Pipeline] sh 06:01:01 + make test 06:01:01 go test ./... -coverprofile=coverage.out 06:01:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:01:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.032s coverage: 47.7% of statements 06:01:19 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." 06:01:19 go vet ./... 06:01:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:22 ./bin/test-attribution-txt.sh 06:01:22 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 06:01:22 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 06:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:22 $ docker stop --time=1 578b2265d878e1bb94f63ecde65d82c260d6cad32cbc252b32b227e309a707ec 06:01:24 $ docker rm -f --volumes 578b2265d878e1bb94f63ecde65d82c260d6cad32cbc252b32b227e309a707ec [Pipeline] // withDockerContainer [Pipeline] sh 06:01:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:25 + ls -al . 06:01:25 total 184 06:01:25 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 06:01 . 06:01:25 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:59 .. 06:01:25 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 05:59 .dockerignore 06:01:25 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:01 .git 06:01:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:59 .github 06:01:25 -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 05:59 .gitignore 06:01:25 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 05:59 .golangci.yml 06:01:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:00 .semver 06:01:25 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 05:59 Attribution.txt 06:01:25 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 05:59 CHANGELOG.md 06:01:25 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 05:59 Dockerfile 06:01:25 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 05:59 GOVERNANCE.md 06:01:25 -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 05:59 Jenkinsfile 06:01:25 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 05:59 LICENSE 06:01:25 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 05:59 Makefile 06:01:25 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 05:59 OWNERS.md 06:01:25 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 05:59 README.md 06:01:25 -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 06:00 VERSION 06:01:25 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:59 bin 06:01:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:59 cmd 06:01:25 -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 06:01 coverage.out 06:01:25 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 05:59 go.mod 06:01:25 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 05:59 go.sum 06:01:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:59 internal 06:01:25 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:59 simulator 06:01:25 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:59 snap 06:01:25 -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:26 + 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=b3d6901573352fb6f4789a99acc5b48a92484286 --label arch=amd64 --label version=0.0.0 . 06:01:26 Sending build context to Docker daemon 6.396MB 06:01:26 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:01:26 Step 2/22 : FROM ${BASE} AS builder 06:01:26 ---> a9238a6c1d42 06:01:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:01:26 ---> Running in 6f9f74c1aba9 06:01:26 Removing intermediate container 6f9f74c1aba9 06:01:26 ---> bd14f52a0125 06:01:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:26 ---> Running in beec87a13d68 06:01:27 Removing intermediate container beec87a13d68 06:01:27 ---> 082623d55b82 06:01:27 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:01:27 ---> Running in 09a80f6b4b39 06:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:27 OK: 217 MiB in 59 packages 06:01:27 Removing intermediate container 09a80f6b4b39 06:01:27 ---> 2b7a3be3b3ea 06:01:27 Step 6/22 : WORKDIR /device-modbus-go 06:01:27 ---> Running in bf77b3356b4c 06:01:28 Removing intermediate container bf77b3356b4c 06:01:28 ---> c74c4f20d2fb 06:01:28 Step 7/22 : COPY go.mod vendor* ./ 06:01:28 ---> 9f540e0e0c19 06:01:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:28 ---> Running in 7a0b4a72defc 06:01:29 Removing intermediate container 7a0b4a72defc 06:01:29 ---> b866c80fce5e 06:01:29 Step 9/22 : COPY . . 06:01:29 ---> 15b42efedf05 06:01:29 Step 10/22 : RUN ${MAKE} 06:01:29 ---> Running in 6f47c0d74ca4 06:01:29 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 06:01:51 Removing intermediate container 6f47c0d74ca4 06:01:51 ---> c4ad4b116e62 06:01:51 Step 11/22 : FROM alpine:3.14 06:01:51 3.14: Pulling from library/alpine 06:01:51 d261077062b2: Pulling fs layer 06:01:51 d261077062b2: Download complete 06:01:51 d261077062b2: Pull complete 06:01:51 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 06:01:51 Status: Downloaded newer image for alpine:3.14 06:01:51 ---> 6dff1269bc79 06:01:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:01:51 ---> Running in 1ef207722602 06:01:51 Removing intermediate container 1ef207722602 06:01:51 ---> 9805577c2f0b 06:01:51 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:01:51 ---> Running in 9a8254fe19b0 06:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:01:51 (1/1) Installing dumb-init (1.2.5-r1) 06:01:51 Executing busybox-1.33.1-r8.trigger 06:01:51 OK: 6 MiB in 15 packages 06:01:51 Removing intermediate container 9a8254fe19b0 06:01:51 ---> 783a768afe6b 06:01:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:01:51 ---> 24ccb4e29c52 06:01:51 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:01:51 ---> 0dcbc700944d 06:01:51 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:01:51 ---> e8fad5019773 06:01:51 Step 17/22 : EXPOSE 59901 06:01:51 ---> Running in 9534e4e342d0 06:01:51 Removing intermediate container 9534e4e342d0 06:01:51 ---> 9a7dc40e0abf 06:01:51 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:01:51 ---> Running in 2e349bb548a9 06:01:51 Removing intermediate container 2e349bb548a9 06:01:51 ---> 325d1d24bce7 06:01:51 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:01:51 ---> Running in cfe7580b72a9 06:01:51 Removing intermediate container cfe7580b72a9 06:01:51 ---> 9fad131dd279 06:01:51 Step 20/22 : LABEL arch=amd64 06:01:51 ---> Running in 7d7604c92b12 06:01:51 Removing intermediate container 7d7604c92b12 06:01:51 ---> 7e9de038b766 06:01:51 Step 21/22 : LABEL git_sha=b3d6901573352fb6f4789a99acc5b48a92484286 06:01:51 ---> Running in 7fd90d96f7d6 06:01:51 Removing intermediate container 7fd90d96f7d6 06:01:51 ---> 125b4f045c80 06:01:51 Step 22/22 : LABEL version=0.0.0 06:01:51 ---> Running in dd318ed2605e 06:01:51 Removing intermediate container dd318ed2605e 06:01:51 ---> 8de2b53afc75 06:01:51 [Warning] One or more build-args [ARCH] were not consumed 06:01:51 Successfully built 8de2b53afc75 06:01:51 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 06:01:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:52 06:01:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:52 latest: Pulling from edgex-lftools-log-publisher 06:01:52 5eb5b503b376: Pulling fs layer 06:01:52 5c69ac0246d0: Pulling fs layer 06:01:52 ec43610c2a17: Pulling fs layer 06:01:52 3a2ae6a8a46f: Pulling fs layer 06:01:52 33b1e0a273af: Pulling fs layer 06:01:52 5d3b04190fa2: Pulling fs layer 06:01:52 2f39f015ded8: Pulling fs layer 06:01:52 5d3b04190fa2: Waiting 06:01:52 2f39f015ded8: Waiting 06:01:52 33b1e0a273af: Waiting 06:01:52 5c69ac0246d0: Download complete 06:01:52 3a2ae6a8a46f: Verifying Checksum 06:01:52 3a2ae6a8a46f: Download complete 06:01:53 33b1e0a273af: Verifying Checksum 06:01:53 33b1e0a273af: Download complete 06:01:53 5d3b04190fa2: Download complete 06:01:53 ec43610c2a17: Verifying Checksum 06:01:53 ec43610c2a17: Download complete 06:01:53 5eb5b503b376: Verifying Checksum 06:01:53 5eb5b503b376: Download complete 06:01:53 2f39f015ded8: Download complete 06:01:54 5eb5b503b376: Pull complete 06:01:54 5c69ac0246d0: Pull complete 06:01:55 ec43610c2a17: Pull complete 06:01:55 3a2ae6a8a46f: Pull complete 06:01:55 33b1e0a273af: Pull complete 06:01:55 5d3b04190fa2: Pull complete 06:01:59 2f39f015ded8: Pull complete 06:01:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:59 prd-ubuntu20.04-docker-8c-8g-5485 does not seem to be running inside a container 06:01:59 $ 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-409 -v /w/workspace/xfoundry_device-modbus-go_PR-409:/w/workspace/xfoundry_device-modbus-go_PR-409:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-409@tmp:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:02 $ docker top 4bc3c8bc07925a8a40a1e62b047f5d76d2e8cbfe1349628e9ed5da1d1250da29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:02 ---> job-cost.sh 06:02:02 lf-activate-venv: SKIPPING 06:02:02 INFO: No Stack... 06:02:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:10 INFO: Archiving Costs [Pipeline] sh 06:02:11 + cat /w/workspace/xfoundry_device-modbus-go_PR-409/archives/cost.csv 06:02:11 + cut -d, -f6 [Pipeline] lock 06:02:11 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] 06:02:11 Resource [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] did not exist. Created. 06:02:11 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:11 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:11 Stashed 1 file(s) [Pipeline] } 06:02:11 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:11 $ docker stop --time=1 4bc3c8bc07925a8a40a1e62b047f5d76d2e8cbfe1349628e9ed5da1d1250da29 06:02:12 $ docker rm -f --volumes 4bc3c8bc07925a8a40a1e62b047f5d76d2e8cbfe1349628e9ed5da1d1250da29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5489 in /w/workspace/xfoundry_device-modbus-go_PR-409 [Pipeline] { [Pipeline] ws 06:05:34 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:05:34 Selected Git installation does not exist. Using Default 06:05:34 The recommended git tool is: NONE 06:05:40 using credential edgex-jenkins-ssh 06:05:40 Cloning the remote Git repository 06:05:40 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:05:40 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:05:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:05:41 > git --version # timeout=10 06:05:41 > git --version # 'git version 2.25.1' 06:05:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:05:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:44 Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit b3d6901573352fb6f4789a99acc5b48a92484286 06:05:44 Merge succeeded, producing b3d6901573352fb6f4789a99acc5b48a92484286 06:05:44 Checking out Revision b3d6901573352fb6f4789a99acc5b48a92484286 (PR-409) 06:05:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:05:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:05:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:05:44 > git config core.sparsecheckout # timeout=10 06:05:44 > git checkout -f b3d6901573352fb6f4789a99acc5b48a92484286 # timeout=10 06:05:44 > git remote # timeout=10 06:05:44 > git config --get remote.origin.url # timeout=10 06:05:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:44 > git merge 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 06:05:44 > git rev-parse HEAD^{commit} # timeout=10 06:05:44 > git config core.sparsecheckout # timeout=10 06:05:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:05:45 > git --version # timeout=10 06:05:45 > git --version # 'git version 2.25.1' 06:05:45 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:44 > git checkout -f b3d6901573352fb6f4789a99acc5b48a92484286 # timeout=10 06:05:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:05:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:05:46 Dload Upload Total Spent Left Speed 06:05:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 06:05:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:05:47 + sudo tee /etc/docker/daemon.new 06:05:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:05:47 { 06:05:47 "registry-mirrors": [ 06:05:47 "https://nexus3.edgexfoundry.org:10001" 06:05:47 ], 06:05:47 "bip": "10.250.0.254/24", 06:05:47 "hosts": [ 06:05:47 "tcp://0.0.0.0:5555", 06:05:47 "unix:///var/run/docker.sock" 06:05:47 ], 06:05:47 "mtu": 1458, 06:05:47 "selinux-enabled": true, 06:05:47 "seccomp-profile": "/etc/docker/seccomp.json" 06:05:47 } [Pipeline] sh 06:05:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:05:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:06 provisioning config files... 06:06:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8764866059902431484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:07 ---> docker-login.sh 06:06:07 nexus3.edgexfoundry.org:10001 06:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:07 Configure a credential helper to remove this warning. See 06:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:07 06:06:07 Login Succeeded 06:06:07 nexus3.edgexfoundry.org:10002 06:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:08 Configure a credential helper to remove this warning. See 06:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:08 06:06:08 Login Succeeded 06:06:08 nexus3.edgexfoundry.org:10003 06:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:08 Configure a credential helper to remove this warning. See 06:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:08 06:06:08 Login Succeeded 06:06:08 nexus3.edgexfoundry.org:10004 06:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:08 Configure a credential helper to remove this warning. See 06:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:08 06:06:08 Login Succeeded 06:06:08 docker.io 06:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:09 Configure a credential helper to remove this warning. See 06:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:09 06:06:09 Login Succeeded 06:06:09 ---> docker-login.sh ends [Pipeline] } 06:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:09 ========================================================= 06:06:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:06:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:10 + 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 . 06:06:10 Sending build context to Docker daemon 3.319MB 06:06:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:06:10 Step 2/10 : FROM ${BASE} AS builder 06:06:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:06:13 9b18e9b68314: Pulling fs layer 06:06:13 35d82f9e3411: Pulling fs layer 06:06:13 e16973657156: Pulling fs layer 06:06:13 fc693d55d65f: Pulling fs layer 06:06:13 7e9fc2657dce: Pulling fs layer 06:06:13 dda99020689f: Pulling fs layer 06:06:13 db1c61fa0a46: Pulling fs layer 06:06:13 891c053d2c06: Pulling fs layer 06:06:13 fc693d55d65f: Waiting 06:06:13 7e9fc2657dce: Waiting 06:06:13 dda99020689f: Waiting 06:06:13 db1c61fa0a46: Waiting 06:06:13 891c053d2c06: Waiting 06:06:13 e16973657156: Verifying Checksum 06:06:13 e16973657156: Download complete 06:06:13 35d82f9e3411: Verifying Checksum 06:06:13 35d82f9e3411: Download complete 06:06:13 7e9fc2657dce: Verifying Checksum 06:06:13 7e9fc2657dce: Download complete 06:06:13 dda99020689f: Verifying Checksum 06:06:13 dda99020689f: Download complete 06:06:13 9b18e9b68314: Verifying Checksum 06:06:13 9b18e9b68314: Download complete 06:06:14 9b18e9b68314: Pull complete 06:06:15 891c053d2c06: Verifying Checksum 06:06:15 891c053d2c06: Download complete 06:06:15 35d82f9e3411: Pull complete 06:06:15 e16973657156: Pull complete 06:06:16 db1c61fa0a46: Verifying Checksum 06:06:16 db1c61fa0a46: Download complete 06:06:17 fc693d55d65f: Verifying Checksum 06:06:17 fc693d55d65f: Download complete 06:06:29 fc693d55d65f: Pull complete 06:06:29 7e9fc2657dce: Pull complete 06:06:29 dda99020689f: Pull complete 06:06:35 db1c61fa0a46: Pull complete 06:06:37 891c053d2c06: Pull complete 06:06:37 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:06:37 ---> f96f9c87975a 06:06:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:06:39 ---> Running in 4ac4dcfbec2e 06:06:39 Removing intermediate container 4ac4dcfbec2e 06:06:39 ---> 339aad140ad8 06:06:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:39 ---> Running in cf1c9b13e268 06:06:40 Removing intermediate container cf1c9b13e268 06:06:40 ---> 3d87eb820109 06:06:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:06:40 ---> Running in 525bf6365b95 06:06:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:06:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:06:43 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:06:43 (2/8) Installing libedit (20210910.3.1-r0) 06:06:43 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:06:43 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:06:43 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:06:43 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:06:43 (7/8) Installing openssh-server (9.0_p1-r2) 06:06:43 (8/8) Installing openssh (9.0_p1-r2) 06:06:43 Executing busybox-1.35.0-r17.trigger 06:06:43 OK: 228 MiB in 59 packages 06:06:45 Removing intermediate container 525bf6365b95 06:06:45 ---> 622ec9f60c81 06:06:45 Step 6/10 : WORKDIR /device-modbus-go 06:06:45 ---> Running in c679644032e4 06:06:45 Removing intermediate container c679644032e4 06:06:45 ---> 60deb143d791 06:06:45 Step 7/10 : COPY go.mod vendor* ./ 06:06:45 ---> bb35578e893a 06:06:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:45 ---> Running in aa9b30044baa 06:07:53 Removing intermediate container aa9b30044baa 06:07:53 ---> aee855a66e6e 06:07:53 Step 9/10 : COPY . . 06:07:53 ---> 64ae2bf16d6c 06:07:53 Step 10/10 : RUN ${MAKE} 06:07:53 ---> Running in ab3d264c2494 06:07:53 noop 06:07:53 Removing intermediate container ab3d264c2494 06:07:53 ---> 9b1c38d2df1c 06:07:53 Successfully built 9b1c38d2df1c 06:07:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:54 + docker inspect -f . ci-base-image-arm64 06:07:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:54 prd-ubuntu20.04-docker-arm64-4c-16g-5489 does not seem to be running inside a container 06:07:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:07:55 $ docker top cc5b2e15cd1322fd71c72b2bf3611264c3ddd5c5e086451c6d19c2932a64d4cb -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:56 + go version 06:07:56 go version go1.18.7 linux/arm64 [Pipeline] } 06:07:56 $ docker stop --time=1 cc5b2e15cd1322fd71c72b2bf3611264c3ddd5c5e086451c6d19c2932a64d4cb 06:07:58 $ docker rm -f --volumes cc5b2e15cd1322fd71c72b2bf3611264c3ddd5c5e086451c6d19c2932a64d4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:59 + docker inspect -f . ci-base-image-arm64 06:07:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:59 prd-ubuntu20.04-docker-arm64-4c-16g-5489 does not seem to be running inside a container 06:07:59 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:00 $ docker top 0b4ea75bab89172a120c8363a6be738e4fa6d9e69309127480861eac1b41ac66 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:01 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:08:02 + make test 06:08:02 go test ./... -coverprofile=coverage.out 06:08:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:09:40 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:09:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.7% of statements 06:09:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:09:40 go vet ./... 06:09:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:50 ./bin/test-attribution-txt.sh 06:09:50 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 06:09:50 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 06:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:50 $ docker stop --time=1 0b4ea75bab89172a120c8363a6be738e4fa6d9e69309127480861eac1b41ac66 06:09:52 $ docker rm -f --volumes 0b4ea75bab89172a120c8363a6be738e4fa6d9e69309127480861eac1b41ac66 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:53 Warning: overwriting stash ‘coverage-report’ 06:09:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:55 + ls -al . 06:09:55 total 180 06:09:55 drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 06:08 . 06:09:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:05 .. 06:09:55 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 06:05 .dockerignore 06:09:55 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:05 .git 06:09:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:05 .github 06:09:55 -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 06:05 .gitignore 06:09:55 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 06:05 .golangci.yml 06:09:55 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 06:05 Attribution.txt 06:09:55 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 06:05 CHANGELOG.md 06:09:55 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 06:05 Dockerfile 06:09:55 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 06:05 GOVERNANCE.md 06:09:55 -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 06:05 Jenkinsfile 06:09:55 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 06:05 LICENSE 06:09:55 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 06:05 Makefile 06:09:55 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 06:05 OWNERS.md 06:09:55 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 06:05 README.md 06:09:55 -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 06:00 VERSION 06:09:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 06:05 bin 06:09:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:05 cmd 06:09:55 -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 06:09 coverage.out 06:09:55 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 06:05 go.mod 06:09:55 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 06:05 go.sum 06:09:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:05 internal 06:09:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 06:05 simulator 06:09:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:05 snap 06:09:55 -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:55 + 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=b3d6901573352fb6f4789a99acc5b48a92484286 --label arch=arm64 --label version=0.0.0 . 06:09:56 Sending build context to Docker daemon 3.343MB 06:09:56 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:09:56 Step 2/22 : FROM ${BASE} AS builder 06:09:56 ---> 9b1c38d2df1c 06:09:56 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:09:56 ---> Running in 944ef1be4bd0 06:09:56 Removing intermediate container 944ef1be4bd0 06:09:56 ---> c128a49c73b7 06:09:56 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:56 ---> Running in c6637bb7716b 06:09:57 Removing intermediate container c6637bb7716b 06:09:57 ---> d19d157147df 06:09:57 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:09:57 ---> Running in 37783315cfda 06:09:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:09:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:09:59 OK: 228 MiB in 59 packages 06:10:00 Removing intermediate container 37783315cfda 06:10:00 ---> 107a1666a586 06:10:00 Step 6/22 : WORKDIR /device-modbus-go 06:10:00 ---> Running in 9a53575b5ac1 06:10:00 Removing intermediate container 9a53575b5ac1 06:10:00 ---> 51b5bd721837 06:10:00 Step 7/22 : COPY go.mod vendor* ./ 06:10:01 ---> 90290421cdd7 06:10:01 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:01 ---> Running in 0dcaf130ab41 06:10:05 Removing intermediate container 0dcaf130ab41 06:10:05 ---> c4fe68018145 06:10:05 Step 9/22 : COPY . . 06:10:06 ---> 3991442e3b77 06:10:06 Step 10/22 : RUN ${MAKE} 06:10:06 ---> Running in 6f858548aab6 06:10:07 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 06:12:29 Removing intermediate container 6f858548aab6 06:12:29 ---> 22d9c36aef30 06:12:29 Step 11/22 : FROM alpine:3.14 06:12:29 3.14: Pulling from library/alpine 06:12:29 6f0e733d82e2: Pulling fs layer 06:12:29 6f0e733d82e2: Verifying Checksum 06:12:29 6f0e733d82e2: Download complete 06:12:29 6f0e733d82e2: Pull complete 06:12:29 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 06:12:29 Status: Downloaded newer image for alpine:3.14 06:12:29 ---> bf97f6347a60 06:12:29 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:12:29 ---> Running in 1e84b809b0d1 06:12:29 Removing intermediate container 1e84b809b0d1 06:12:29 ---> 7c59d00c7cef 06:12:29 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:12:29 ---> Running in 455fc742a977 06:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:12:29 (1/1) Installing dumb-init (1.2.5-r1) 06:12:29 Executing busybox-1.33.1-r8.trigger 06:12:29 OK: 6 MiB in 15 packages 06:12:30 Removing intermediate container 455fc742a977 06:12:30 ---> 88a96bd319b0 06:12:30 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:12:31 ---> cb532176087e 06:12:31 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:12:31 ---> 7fa1f3533039 06:12:31 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:12:32 ---> 6826bd12b8ef 06:12:32 Step 17/22 : EXPOSE 59901 06:12:32 ---> Running in 0626db8f5700 06:12:32 Removing intermediate container 0626db8f5700 06:12:32 ---> 3b40ebd9e47c 06:12:32 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:12:32 ---> Running in dc598182ab95 06:12:33 Removing intermediate container dc598182ab95 06:12:33 ---> 7bc831ba1170 06:12:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:12:33 ---> Running in ca12dea6bab5 06:12:33 Removing intermediate container ca12dea6bab5 06:12:33 ---> 0f3f6b6bba6c 06:12:33 Step 20/22 : LABEL arch=arm64 06:12:33 ---> Running in 035c22dc52db 06:12:33 Removing intermediate container 035c22dc52db 06:12:33 ---> 104b93b5b9b6 06:12:33 Step 21/22 : LABEL git_sha=b3d6901573352fb6f4789a99acc5b48a92484286 06:12:33 ---> Running in 9777772db95b 06:12:34 Removing intermediate container 9777772db95b 06:12:34 ---> 52c4858757e3 06:12:34 Step 22/22 : LABEL version=0.0.0 06:12:34 ---> Running in 16083fceec44 06:12:34 Removing intermediate container 16083fceec44 06:12:34 ---> 8e2e4fd6215d 06:12:34 [Warning] One or more build-args [ARCH] were not consumed 06:12:34 Successfully built 8e2e4fd6215d 06:12:34 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 06:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:35 06:12:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:35 arm64: Pulling from edgex-lftools-log-publisher 06:12:35 8998bd30e6a1: Pulling fs layer 06:12:35 04944245beec: Pulling fs layer 06:12:35 699f458cf7ca: Pulling fs layer 06:12:35 765212b225bb: Pulling fs layer 06:12:35 f23df028b6ca: Pulling fs layer 06:12:35 d65c8cfc05b1: Pulling fs layer 06:12:35 2437ff75d9bd: Pulling fs layer 06:12:35 f23df028b6ca: Waiting 06:12:35 d65c8cfc05b1: Waiting 06:12:35 2437ff75d9bd: Waiting 06:12:35 765212b225bb: Waiting 06:12:36 04944245beec: Verifying Checksum 06:12:36 04944245beec: Download complete 06:12:36 765212b225bb: Verifying Checksum 06:12:36 765212b225bb: Download complete 06:12:36 f23df028b6ca: Verifying Checksum 06:12:36 f23df028b6ca: Download complete 06:12:36 d65c8cfc05b1: Verifying Checksum 06:12:36 d65c8cfc05b1: Download complete 06:12:36 699f458cf7ca: Verifying Checksum 06:12:36 699f458cf7ca: Download complete 06:12:36 8998bd30e6a1: Verifying Checksum 06:12:36 8998bd30e6a1: Download complete 06:12:39 2437ff75d9bd: Verifying Checksum 06:12:39 2437ff75d9bd: Download complete 06:12:40 8998bd30e6a1: Pull complete 06:12:40 04944245beec: Pull complete 06:12:42 699f458cf7ca: Pull complete 06:12:42 765212b225bb: Pull complete 06:12:43 f23df028b6ca: Pull complete 06:12:43 d65c8cfc05b1: Pull complete 06:12:58 2437ff75d9bd: Pull complete 06:12:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:58 prd-ubuntu20.04-docker-arm64-4c-16g-5489 does not seem to be running inside a container 06:12:58 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:13:01 $ docker top 6603db72f1a80d72d18e23233a0fd6e547e1b209706e4825fb09fdcf8e066692 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:02 ---> job-cost.sh 06:13:02 lf-activate-venv: SKIPPING 06:13:02 INFO: No Stack... 06:13:02 INFO: Retrieving Pricing Info for: v3-standard-4 06:13:03 INFO: Archiving Costs [Pipeline] sh 06:13:04 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:13:04 + cut -d, -f6 [Pipeline] lock 06:13:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] 06:13:04 Resource [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] did not exist. Created. 06:13:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:04 /w/workspace/device-modbus-go/1@tmp/durable-c41622c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:13:05 + echo total: 0.10999999940395355 [Pipeline] stash 06:13:05 Warning: overwriting stash ‘stack-cost’ 06:13:05 Stashed 1 file(s) [Pipeline] } 06:13:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-409-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:05 $ docker stop --time=1 6603db72f1a80d72d18e23233a0fd6e547e1b209706e4825fb09fdcf8e066692 06:13:07 $ docker rm -f --volumes 6603db72f1a80d72d18e23233a0fd6e547e1b209706e4825fb09fdcf8e066692 [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 06:13:08 provisioning config files... 06:13:08 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp/config12137491568909370101tmp [Pipeline] { [Pipeline] sh 06:13:08 + set +x 06:13:08 + curl -s https://codecov.io/bash 06:13:08 + bash -s -- 06:13:08 06:13:08 _____ _ 06:13:08 / ____| | | 06:13:08 | | ___ __| | ___ ___ _____ __ 06:13:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:13:08 | |___| (_) | (_| | __/ (_| (_) \ V / 06:13:08 \_____\___/ \__,_|\___|\___\___/ \_/ 06:13:08 Bash-1.0.6 06:13:08 06:13:08 06:13:08 ==> git version 2.25.1 found 06:13:08 ==> 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 06:13:08 Release-Date: 2020-01-08 06:13:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:13:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:13:08 ==> Jenkins CI detected. 06:13:08 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-409 06:13:08 project root: . 06:13:08 --> token set from env 06:13:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:13:08 ==> Running gcov in . (disable via -X gcov) 06:13:08 ==> Python coveragepy not found 06:13:08 ==> Searching for coverage reports in: 06:13:08 + . 06:13:08 -> Found 1 reports 06:13:08 ==> Detecting git/mercurial file structure 06:13:08 ==> Reading reports 06:13:08 + ./coverage.out bytes=23241 06:13:08 ==> Appending adjustments 06:13:08 https://docs.codecov.io/docs/fixing-reports 06:13:08 + Found adjustments 06:13:08 ==> Gzipping contents 06:13:08 4.0K /tmp/codecov.nNn74w.gz 06:13:08 ==> Uploading reports 06:13:08 url: https://codecov.io 06:13:08 query: branch=PR-409&commit=b3d6901573352fb6f4789a99acc5b48a92484286&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-409%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=409&job=&cmd_args= 06:13:08 -> Pinging Codecov 06:13:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-409&commit=b3d6901573352fb6f4789a99acc5b48a92484286&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-409%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=409&job=&cmd_args= 06:13:09 -> Uploading to 06:13:09 https://storage.googleapis.com/codecov/v4/raw/2023-02-13/55DBCA73C666E3227836607328DD7E49/b3d6901573352fb6f4789a99acc5b48a92484286/886fbeda-a63b-46bb-a196-b1951443b7b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T061309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1a3d7ddfc4df82113a1fa8235290bbd69f197343f9f64791e3f60f5b9ceb6ac 06:13:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:09 Dload Upload Total Spent Left Speed 06:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 11839 --:--:-- --:--:-- --:--:-- 11839 06:13:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b3d6901573352fb6f4789a99acc5b48a92484286 [Pipeline] } 06:13:10 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 06:13:11 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-409/archives ] 06:13:11 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-409/archives 06:13:11 total 16 06:13:11 drwxr-xr-x 3 root root 4096 Feb 13 06:02 . 06:13:11 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 06:02 .. 06:13:11 drwxr-xr-x 2 root root 4096 Feb 13 06:02 cost 06:13:11 -rw-r--r-- 1 root root 88 Feb 13 06:02 cost.csv 06:13:11 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-409/archives 06:13:11 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-409/archives 06:13:11 total 16 06:13:11 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:02 . 06:13:11 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 06:02 .. 06:13:11 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 06:02 cost 06:13:11 -rw-r--r-- 1 jenkins jenkins 88 Feb 13 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:13:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:13:13 ---> package-listing.sh 06:13:13 ++ facter osfamily 06:13:13 ++ tr '[:upper:]' '[:lower:]' 06:13:13 + OS_FAMILY=debian 06:13:13 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-409 06:13:13 + START_PACKAGES=/tmp/packages_start.txt 06:13:13 + END_PACKAGES=/tmp/packages_end.txt 06:13:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:13:13 + PACKAGES=/tmp/packages_start.txt 06:13:13 + '[' /w/workspace/xfoundry_device-modbus-go_PR-409 ']' 06:13:13 + PACKAGES=/tmp/packages_end.txt 06:13:13 + case "${OS_FAMILY}" in 06:13:13 + dpkg -l 06:13:13 + grep '^ii' 06:13:13 + '[' -f /tmp/packages_start.txt ']' 06:13:13 + '[' -f /tmp/packages_end.txt ']' 06:13:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:13:13 + '[' /w/workspace/xfoundry_device-modbus-go_PR-409 ']' 06:13:13 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-409/archives/ 06:13:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-409/archives/ [Pipeline] echo 06:13:13 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-409/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:13:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:14 prd-ubuntu20.04-docker-8c-8g-5485 does not seem to be running inside a container 06:13:14 $ 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-409/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-409 -v /w/workspace/xfoundry_device-modbus-go_PR-409:/w/workspace/xfoundry_device-modbus-go_PR-409:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-409@tmp:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:13:14 $ docker top 185021029afda177f89182ed904b72fc84ea0da83a28a6a1e9dc4933916e9110 -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:15 + touch /tmp/pre-build-complete [Pipeline] sh 06:13:15 + mkdir -p /var/log/sysstat [Pipeline] sh 06:13:15 + ls /var/log/sa-host 06:13:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:15 provisioning config files... 06:13:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-409@tmp/config2018619918938737788tmp [Pipeline] { [Pipeline] echo 06:13:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:13:16 ---> create-netrc.sh [Pipeline] } 06:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:13:16 ---> python-tools-install.sh [Pipeline] echo 06:13:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:13:17 ---> sudo-logs.sh 06:13:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:13:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:13:17 ---> job-cost.sh 06:13:17 lf-activate-venv: SKIPPING 06:13:17 DEBUG: total: 0.2199999988079071 06:13:17 INFO: Retrieving Stack Cost... 06:13:17 INFO: Retrieving Pricing Info for: v3-standard-8 06:13:18 INFO: Archiving Costs [Pipeline] echo 06:13:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:13:18 ---> logs-deploy.sh 06:13:18 lf-activate-venv: SKIPPING 06:13:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-409/1 06:13:18 INFO: archiving workspace using pattern(s): 06:13:19 Archives upload complete. 06:13:19 INFO: archiving logs to Nexus 06:13:20 ---> uname -a: 06:13:20 Linux prd-ubuntu20-04-docker-8c-8g-5485 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:13:20 06:13:20 06:13:20 ---> lscpu: 06:13:20 Architecture: x86_64 06:13:20 CPU op-mode(s): 32-bit, 64-bit 06:13:20 Byte Order: Little Endian 06:13:20 Address sizes: 40 bits physical, 48 bits virtual 06:13:20 CPU(s): 8 06:13:20 On-line CPU(s) list: 0-7 06:13:20 Thread(s) per core: 1 06:13:20 Core(s) per socket: 1 06:13:20 Socket(s): 8 06:13:20 NUMA node(s): 1 06:13:20 Vendor ID: AuthenticAMD 06:13:20 CPU family: 23 06:13:20 Model: 49 06:13:20 Model name: AMD EPYC-Rome Processor 06:13:20 Stepping: 0 06:13:20 CPU MHz: 2799.996 06:13:20 BogoMIPS: 5599.99 06:13:20 Virtualization: AMD-V 06:13:20 Hypervisor vendor: KVM 06:13:20 Virtualization type: full 06:13:20 L1d cache: 256 KiB 06:13:20 L1i cache: 256 KiB 06:13:20 L2 cache: 4 MiB 06:13:20 L3 cache: 128 MiB 06:13:20 NUMA node0 CPU(s): 0-7 06:13:20 Vulnerability Itlb multihit: Not affected 06:13:20 Vulnerability L1tf: Not affected 06:13:20 Vulnerability Mds: Not affected 06:13:20 Vulnerability Meltdown: Not affected 06:13:20 Vulnerability Mmio stale data: Not affected 06:13:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:13:20 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:13:20 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:13:20 Vulnerability Srbds: Not affected 06:13:20 Vulnerability Tsx async abort: Not affected 06:13:20 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 06:13:20 06:13:20 06:13:20 ---> nproc: 06:13:20 8 06:13:20 06:13:20 06:13:20 ---> df -h: 06:13:20 Filesystem Size Used Avail Use% Mounted on 06:13:20 overlay 155G 12G 144G 8% / 06:13:20 tmpfs 64M 0 64M 0% /dev 06:13:20 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:13:20 shm 64M 0 64M 0% /dev/shm 06:13:20 /dev/vda1 155G 12G 144G 8% /facter-os 06:13:20 06:13:20 06:13:20 ---> sar -b -r -n DEV: 06:13:20 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5485) 02/13/23 _x86_64_ (8 CPU) 06:13:20 06:13:20 05:59:22 LINUX RESTART (8 CPU) 06:13:20 06:13:20 06:00:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:13:20 06:01:01 213.88 4.22 209.66 0.00 460.13 83127.47 0.00 06:13:20 06:02:01 151.05 0.23 150.82 0.00 12.92 37373.08 0.00 06:13:20 06:03:01 10.00 0.02 9.98 0.00 0.93 2032.21 0.00 06:13:20 06:04:01 2.82 0.18 2.63 0.00 18.53 30.79 0.00 06:13:20 06:05:01 40.03 9.35 30.68 0.00 2884.45 5056.89 0.00 06:13:20 06:06:01 18.26 1.32 16.95 0.00 2270.42 3792.17 0.00 06:13:20 06:07:01 3.60 0.02 3.58 0.00 0.13 91.18 0.00 06:13:20 06:08:01 2.05 0.00 2.05 0.00 0.00 23.06 0.00 06:13:20 06:09:01 1.17 0.00 1.17 0.00 0.00 12.00 0.00 06:13:20 06:10:01 2.17 0.00 2.17 0.00 0.00 23.46 0.00 06:13:20 06:11:01 1.45 0.00 1.45 0.00 0.00 14.93 0.00 06:13:20 06:12:01 1.82 0.00 1.82 0.00 0.00 19.33 0.00 06:13:20 06:13:01 0.97 0.00 0.97 0.00 0.00 10.26 0.00 06:13:20 Average: 34.33 1.18 33.16 0.00 434.38 10030.96 0.00 06:13:20 06:13:20 06:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:13:20 06:01:01 28433640 31557824 747108 2.27 144480 3181864 1961968 5.78 1117912 2884640 860 06:13:20 06:02:01 27703232 31579136 722932 2.20 157608 3864160 1853916 5.46 1209572 3466692 43588 06:13:20 06:03:01 27709336 31585580 717240 2.18 157848 3864200 1783216 5.26 1211996 3454328 20 06:13:20 06:04:01 27709656 31586724 716140 2.18 157888 3864756 1802172 5.31 1212304 3454844 48 06:13:20 06:05:01 27407884 31563604 724508 2.20 176648 4115868 1807376 5.33 1374848 3570868 136 06:13:20 06:06:01 27190400 31570632 715024 2.17 191596 4319664 1854296 5.46 1531348 3620796 12 06:13:20 06:07:01 27204828 31580296 705400 2.15 190164 4316548 1819720 5.36 1520428 3617704 4 06:13:20 06:08:01 27205408 31581064 704344 2.14 190216 4316556 1819720 5.36 1520732 3617708 4 06:13:20 06:09:01 27204800 31580588 704780 2.14 190268 4316556 1819720 5.36 1520456 3617716 8 06:13:20 06:10:01 27204956 31580840 704380 2.14 190332 4316560 1819720 5.36 1520876 3617724 8 06:13:20 06:11:01 27205320 31581288 704076 2.14 190412 4316560 1819720 5.36 1520904 3617716 8 06:13:20 06:12:01 27205200 31581268 703868 2.14 190468 4316556 1819720 5.36 1520952 3617724 12 06:13:20 06:13:01 27205500 31581588 703472 2.14 190484 4316568 1819720 5.36 1520736 3617728 24 06:13:20 Average: 27430012 31577726 713329 2.17 178339 4109724 1830845 5.40 1407928 3521245 3441 06:13:20 06:13:20 06:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:13:20 06:01:01 ens3 494.17 382.05 7795.83 54.30 0.00 0.00 0.00 0.00 06:13:20 06:01:01 docker0 184.90 236.40 15.12 2011.44 0.00 0.00 0.00 0.00 06:13:20 06:01:01 lo 4.00 4.00 0.39 0.39 0.00 0.00 0.00 0.00 06:13:20 06:01:01 veth6af3fe7 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 06:13:20 06:02:01 ens3 140.96 106.28 2657.62 94.49 0.00 0.00 0.00 0.00 06:13:20 06:02:01 docker0 3.05 6.33 0.19 76.45 0.00 0.00 0.00 0.00 06:13:20 06:02:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 06:13:20 06:03:01 ens3 13.88 7.92 14.03 3.96 0.00 0.00 0.00 0.00 06:13:20 06:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:03:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 06:13:20 06:04:01 ens3 1.25 0.63 0.42 0.24 0.00 0.00 0.00 0.00 06:13:20 06:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:04:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 06:13:20 06:05:01 ens3 60.21 35.28 1411.27 2.77 0.00 0.00 0.00 0.00 06:13:20 06:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:05:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 06:13:20 06:06:01 ens3 50.26 26.66 1372.69 2.41 0.00 0.00 0.00 0.00 06:13:20 06:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:06:01 lo 0.40 0.40 0.03 0.03 0.00 0.00 0.00 0.00 06:13:20 06:07:01 ens3 0.77 0.58 0.42 0.29 0.00 0.00 0.00 0.00 06:13:20 06:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:08:01 ens3 0.55 0.42 0.26 0.21 0.00 0.00 0.00 0.00 06:13:20 06:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:13:20 06:09:01 ens3 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:10:01 ens3 0.35 0.22 0.09 0.07 0.00 0.00 0.00 0.00 06:13:20 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:13:20 06:11:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 06:13:20 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:12:01 ens3 0.50 0.10 0.02 0.01 0.00 0.00 0.00 0.00 06:13:20 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:13:20 06:13:01 ens3 0.67 0.00 0.03 0.00 0.00 0.00 0.00 0.00 06:13:20 06:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 06:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:13:20 Average: ens3 58.19 42.66 1010.80 12.16 0.00 0.00 0.00 0.00 06:13:20 Average: docker0 14.24 18.39 1.16 158.23 0.00 0.00 0.00 0.00 06:13:20 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 06:13:20 06:13:20 06:13:20 ---> sar -P ALL: 06:13:20 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5485) 02/13/23 _x86_64_ (8 CPU) 06:13:20 06:13:20 05:59:22 LINUX RESTART (8 CPU) 06:13:20 06:13:20 06:00:02 CPU %user %nice %system %iowait %steal %idle 06:13:20 06:01:01 all 10.83 0.00 5.14 1.95 0.08 81.99 06:13:20 06:01:01 0 9.24 0.00 7.19 2.42 0.07 81.08 06:13:20 06:01:01 1 11.68 0.00 4.05 0.95 0.09 83.24 06:13:20 06:01:01 2 12.58 0.00 4.42 0.55 0.07 82.39 06:13:20 06:01:01 3 9.58 0.00 4.46 3.67 0.14 82.14 06:13:20 06:01:01 4 11.36 0.00 5.21 0.58 0.07 82.79 06:13:20 06:01:01 5 11.39 0.00 5.62 6.54 0.09 76.37 06:13:20 06:01:01 6 10.89 0.00 4.81 0.47 0.07 83.77 06:13:20 06:01:01 7 9.95 0.00 5.35 0.45 0.09 84.16 06:13:20 06:02:01 all 39.72 0.00 7.10 1.30 0.13 51.76 06:13:20 06:02:01 0 40.65 0.00 6.25 0.57 0.12 52.41 06:13:20 06:02:01 1 40.44 0.00 7.58 0.27 0.10 51.60 06:13:20 06:02:01 2 40.42 0.00 7.19 1.30 0.12 50.97 06:13:20 06:02:01 3 38.37 0.00 7.38 5.70 0.12 48.43 06:13:20 06:02:01 4 40.46 0.00 7.23 1.59 0.10 50.62 06:13:20 06:02:01 5 38.46 0.00 7.57 0.19 0.12 53.67 06:13:20 06:02:01 6 39.39 0.00 6.65 0.40 0.20 53.36 06:13:20 06:02:01 7 39.54 0.00 6.93 0.39 0.14 53.00 06:13:20 06:03:01 all 0.20 0.00 0.12 0.16 0.01 99.51 06:13:20 06:03:01 0 0.27 0.00 0.12 0.00 0.00 99.61 06:13:20 06:03:01 1 0.17 0.00 0.12 0.02 0.02 99.68 06:13:20 06:03:01 2 0.22 0.00 0.17 0.37 0.02 99.23 06:13:20 06:03:01 3 0.18 0.00 0.15 0.52 0.02 99.13 06:13:20 06:03:01 4 0.13 0.00 0.13 0.00 0.00 99.73 06:13:20 06:03:01 5 0.17 0.00 0.10 0.23 0.00 99.50 06:13:20 06:03:01 6 0.15 0.00 0.08 0.00 0.00 99.77 06:13:20 06:03:01 7 0.30 0.00 0.12 0.15 0.00 99.43 06:13:20 06:04:01 all 0.11 0.00 0.04 0.03 0.01 99.81 06:13:20 06:04:01 0 0.64 0.00 0.07 0.08 0.02 99.20 06:13:20 06:04:01 1 0.05 0.00 0.03 0.07 0.00 99.85 06:13:20 06:04:01 2 0.05 0.00 0.05 0.00 0.03 99.87 06:13:20 06:04:01 3 0.03 0.00 0.03 0.05 0.02 99.87 06:13:20 06:04:01 4 0.00 0.00 0.05 0.00 0.00 99.95 06:13:20 06:04:01 5 0.07 0.00 0.05 0.02 0.02 99.85 06:13:20 06:04:01 6 0.02 0.00 0.03 0.00 0.00 99.95 06:13:20 06:04:01 7 0.03 0.00 0.03 0.00 0.00 99.93 06:13:20 06:05:01 all 1.39 0.00 0.87 7.41 0.02 90.31 06:13:20 06:05:01 0 1.42 0.00 0.47 0.18 0.02 97.92 06:13:20 06:05:01 1 0.89 0.00 0.85 2.04 0.02 96.21 06:13:20 06:05:01 2 1.05 0.00 1.20 2.60 0.02 95.13 06:13:20 06:05:01 3 1.96 0.00 0.70 9.37 0.02 87.96 06:13:20 06:05:01 4 0.97 0.00 0.50 0.45 0.02 98.07 06:13:20 06:05:01 5 1.87 0.00 0.65 21.83 0.02 75.63 06:13:20 06:05:01 6 1.50 0.00 1.90 12.36 0.02 84.22 06:13:20 06:05:01 7 1.44 0.00 0.72 10.48 0.05 87.31 06:13:20 06:06:01 all 1.03 0.00 0.63 1.89 0.03 96.43 06:13:20 06:06:01 0 1.51 0.00 0.40 0.12 0.02 97.95 06:13:20 06:06:01 1 0.57 0.00 0.28 0.05 0.02 99.08 06:13:20 06:06:01 2 1.02 0.00 0.43 0.03 0.03 98.48 06:13:20 06:06:01 3 1.30 0.00 0.65 0.13 0.03 97.88 06:13:20 06:06:01 4 1.25 0.00 1.34 0.47 0.10 96.84 06:13:20 06:06:01 5 1.32 0.00 0.65 4.21 0.02 93.81 06:13:20 06:06:01 6 0.62 0.00 0.25 4.57 0.02 94.54 06:13:20 06:06:01 7 0.62 0.00 1.04 5.53 0.02 92.80 06:13:20 06:07:01 all 0.14 0.00 0.05 0.40 0.01 99.39 06:13:20 06:07:01 0 0.43 0.00 0.05 0.07 0.00 99.45 06:13:20 06:07:01 1 0.03 0.00 0.05 0.18 0.02 99.72 06:13:20 06:07:01 2 0.07 0.00 0.07 0.18 0.00 99.68 06:13:20 06:07:01 3 0.25 0.00 0.10 0.00 0.00 99.65 06:13:20 06:07:01 4 0.17 0.00 0.05 0.22 0.02 99.55 06:13:20 06:07:01 5 0.05 0.00 0.07 0.00 0.00 99.88 06:13:20 06:07:01 6 0.07 0.00 0.03 2.51 0.07 97.32 06:13:20 06:07:01 7 0.03 0.00 0.02 0.07 0.02 99.87 06:13:20 06:08:01 all 0.13 0.00 0.01 0.14 0.00 99.71 06:13:20 06:08:01 0 0.03 0.00 0.00 0.00 0.02 99.95 06:13:20 06:08:01 1 0.02 0.00 0.00 0.42 0.00 99.57 06:13:20 06:08:01 2 0.05 0.00 0.02 0.00 0.02 99.92 06:13:20 06:08:01 3 0.00 0.00 0.00 0.00 0.00 100.00 06:13:20 06:08:01 4 0.93 0.00 0.00 0.00 0.00 99.07 06:13:20 06:08:01 5 0.03 0.00 0.03 0.00 0.00 99.93 06:13:20 06:08:01 6 0.00 0.00 0.02 0.72 0.00 99.27 06:13:20 06:08:01 7 0.00 0.00 0.02 0.00 0.00 99.98 06:13:20 06:09:01 all 0.15 0.00 0.01 0.03 0.00 99.81 06:13:20 06:09:01 0 0.03 0.00 0.00 0.00 0.00 99.97 06:13:20 06:09:01 1 0.03 0.00 0.02 0.00 0.00 99.95 06:13:20 06:09:01 2 0.03 0.00 0.03 0.00 0.00 99.93 06:13:20 06:09:01 3 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:09:01 4 1.01 0.00 0.00 0.00 0.00 98.99 06:13:20 06:09:01 5 0.02 0.00 0.00 0.00 0.02 99.97 06:13:20 06:09:01 6 0.05 0.00 0.00 0.27 0.02 99.67 06:13:20 06:09:01 7 0.00 0.00 0.00 0.00 0.00 100.00 06:13:20 06:10:01 all 0.12 0.00 0.03 0.01 0.00 99.84 06:13:20 06:10:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:13:20 06:10:01 1 0.02 0.00 0.02 0.03 0.00 99.93 06:13:20 06:10:01 2 0.00 0.00 0.02 0.00 0.00 99.98 06:13:20 06:10:01 3 0.00 0.00 0.02 0.00 0.00 99.98 06:13:20 06:10:01 4 0.85 0.00 0.15 0.00 0.00 99.01 06:13:20 06:10:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:13:20 06:10:01 6 0.02 0.00 0.03 0.08 0.00 99.87 06:13:20 06:10:01 7 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:11:01 all 0.16 0.00 0.01 0.04 0.00 99.79 06:13:20 06:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:13:20 06:11:01 1 0.02 0.00 0.02 0.00 0.00 99.97 06:13:20 06:11:01 2 0.02 0.00 0.02 0.00 0.00 99.97 06:13:20 06:11:01 3 0.03 0.00 0.00 0.10 0.02 99.85 06:13:20 06:11:01 4 1.11 0.00 0.00 0.00 0.00 98.89 06:13:20 06:11:01 5 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:11:01 6 0.03 0.00 0.02 0.18 0.00 99.77 06:13:20 06:11:01 7 0.03 0.00 0.00 0.00 0.00 99.97 06:13:20 06:13:20 06:11:01 CPU %user %nice %system %iowait %steal %idle 06:13:20 06:12:01 all 0.06 0.00 0.01 0.05 0.01 99.87 06:13:20 06:12:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:13:20 06:12:01 1 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:12:01 2 0.00 0.00 0.00 0.00 0.02 99.98 06:13:20 06:12:01 3 0.00 0.00 0.02 0.13 0.00 99.85 06:13:20 06:12:01 4 0.40 0.00 0.02 0.00 0.00 99.58 06:13:20 06:12:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:13:20 06:12:01 6 0.02 0.00 0.00 0.28 0.02 99.68 06:13:20 06:12:01 7 0.02 0.00 0.02 0.00 0.02 99.95 06:13:20 06:13:01 all 0.03 0.00 0.01 0.00 0.00 99.96 06:13:20 06:13:01 0 0.03 0.00 0.00 0.00 0.00 99.97 06:13:20 06:13:01 1 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:13:01 2 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:13:01 3 0.00 0.00 0.00 0.00 0.00 100.00 06:13:20 06:13:01 4 0.02 0.00 0.00 0.00 0.02 99.97 06:13:20 06:13:01 5 0.08 0.00 0.02 0.00 0.00 99.90 06:13:20 06:13:01 6 0.02 0.00 0.00 0.00 0.00 99.98 06:13:20 06:13:01 7 0.05 0.00 0.03 0.00 0.02 99.90 06:13:20 Average: all 4.10 0.00 1.06 1.03 0.02 93.78 06:13:20 Average: 0 4.13 0.00 1.10 0.26 0.02 94.49 06:13:20 Average: 1 4.10 0.00 0.99 0.31 0.02 94.59 06:13:20 Average: 2 4.22 0.00 1.03 0.39 0.02 94.34 06:13:20 Average: 3 3.92 0.00 1.02 1.50 0.03 93.53 06:13:20 Average: 4 4.45 0.00 1.11 0.25 0.02 94.16 06:13:20 Average: 5 4.06 0.00 1.12 2.53 0.02 92.27 06:13:20 Average: 6 4.02 0.00 1.05 1.68 0.03 93.22 06:13:20 Average: 7 3.94 0.00 1.08 1.31 0.03 93.64 06:13:20 06:13:20 06:13:20