Pull request #413 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 75e5be214660b898c3b532aefcaf83a07c778e62+d5e58b77efcbf82879c3b9259be6f9314f98ed83 (70ae5ec44f8263fa07ea81c1af6657c18ff87e1d) 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-ssh9713212672271488987.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-ssh7441113231749935162.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8888557466565288736.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17633951805421990477.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1399169259336216187.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5888’ Running on prd-ubuntu20.04-docker-8c-8g-5895 in /w/workspace/xfoundry_device-modbus-go_PR-413 [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-413 # 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/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d5e58b77efcbf82879c3b9259be6f9314f98ed83 into PR head commit 75e5be214660b898c3b532aefcaf83a07c778e62 Merge succeeded, producing 75e5be214660b898c3b532aefcaf83a07c778e62 Checking out Revision 75e5be214660b898c3b532aefcaf83a07c778e62 (PR-413) > git config core.sparsecheckout # timeout=10 > git checkout -f 75e5be214660b898c3b532aefcaf83a07c778e62 # 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 d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75e5be214660b898c3b532aefcaf83a07c778e62 # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git rev-list --no-walk f04c9fdc0409ea788ffac7105768c0593d714fef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:56:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:56:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:56:21 ========================================================= 20:56:21 EdgeX Global Pipelines Version Info 20:56:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:56:22 ------------------- 20:56:22 stable info: 20:56:22 ------------------- 20:56:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:56:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:56:22 Message: update stable to v1.0.244 20:56:22 ------------------- 20:56:22 experimental info: 20:56:22 ------------------- 20:56:22 Commited By: **** collab-it+edgex@linuxfoundation.org 20:56:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:56:22 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75e5be214660b898c3b532aefcaf83a07c778e62 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75e5be2 [Pipeline] echo 20:56:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:23 provisioning config files... 20:56:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config17309537649493118816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:23 ---> docker-login.sh 20:56:23 nexus3.edgexfoundry.org:10001 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 nexus3.edgexfoundry.org:10002 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 nexus3.edgexfoundry.org:10003 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 nexus3.edgexfoundry.org:10004 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 docker.io 20:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:24 Configure a credential helper to remove this warning. See 20:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:24 20:56:24 Login Succeeded 20:56:24 ---> docker-login.sh ends [Pipeline] } 20:56:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:56:24 + git rev-list -1 --merges 75e5be214660b898c3b532aefcaf83a07c778e62~1..75e5be214660b898c3b532aefcaf83a07c778e62 [Pipeline] echo 20:56:24 -----------> git rev-list -1 --merges 75e5be214660b898c3b532aefcaf83a07c778e62~1..75e5be214660b898c3b532aefcaf83a07c778e62 75e5be214660b898c3b532aefcaf83a07c778e62 [false] [Pipeline] sh 20:56:25 + git log --format=format:%s -1 75e5be214660b898c3b532aefcaf83a07c778e62 [Pipeline] echo 20:56:25 ========================================================= 20:56:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:56:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:25 + git log --format=format:%s -1 75e5be214660b898c3b532aefcaf83a07c778e62 [Pipeline] echo 20:56:25 [semverPrep] GIT_COMMIT: 75e5be214660b898c3b532aefcaf83a07c778e62, Commit Message: feat!: updates for common config [Pipeline] echo 20:56:25 [semverPrep] This is not a build commit. [Pipeline] sh 20:56:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:25 + grep -v github /etc/ssh/ssh_known_hosts 20:56:25 + [ -e /tmp/ssh_known_hosts ] 20:56:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:56:25 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:56:25 sudo tee -a /etc/ssh/ssh_known_hosts 20:56:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:26 20:56:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:26 0.1.4: Pulling from edgex-devops/py-git-semver 20:56:26 b85a868b505f: Pulling fs layer 20:56:26 e2be974225ed: Pulling fs layer 20:56:26 339a4e72a1f5: Pulling fs layer 20:56:26 988bab9f4d93: Pulling fs layer 20:56:26 1469e6f7b9e6: Pulling fs layer 20:56:26 eaf3925da568: Pulling fs layer 20:56:26 bab4dde63d76: Pulling fs layer 20:56:26 bde34c3a00c8: Pulling fs layer 20:56:26 b352a97aabf1: Pulling fs layer 20:56:26 4872d77fe225: Pulling fs layer 20:56:26 5851b861e8e6: Pulling fs layer 20:56:26 b352a97aabf1: Waiting 20:56:26 bab4dde63d76: Waiting 20:56:26 988bab9f4d93: Waiting 20:56:26 5851b861e8e6: Waiting 20:56:26 1469e6f7b9e6: Waiting 20:56:26 4872d77fe225: Waiting 20:56:26 eaf3925da568: Waiting 20:56:26 bde34c3a00c8: Waiting 20:56:26 e2be974225ed: Verifying Checksum 20:56:26 e2be974225ed: Download complete 20:56:26 988bab9f4d93: Verifying Checksum 20:56:26 988bab9f4d93: Download complete 20:56:26 1469e6f7b9e6: Verifying Checksum 20:56:26 1469e6f7b9e6: Download complete 20:56:26 eaf3925da568: Download complete 20:56:26 339a4e72a1f5: Verifying Checksum 20:56:26 339a4e72a1f5: Download complete 20:56:26 bde34c3a00c8: Verifying Checksum 20:56:26 bde34c3a00c8: Download complete 20:56:26 b352a97aabf1: Verifying Checksum 20:56:26 b352a97aabf1: Download complete 20:56:26 4872d77fe225: Verifying Checksum 20:56:26 4872d77fe225: Download complete 20:56:26 5851b861e8e6: Download complete 20:56:26 b85a868b505f: Verifying Checksum 20:56:26 b85a868b505f: Download complete 20:56:27 bab4dde63d76: Verifying Checksum 20:56:27 bab4dde63d76: Download complete 20:56:28 b85a868b505f: Pull complete 20:56:28 e2be974225ed: Pull complete 20:56:28 339a4e72a1f5: Pull complete 20:56:28 988bab9f4d93: Pull complete 20:56:29 1469e6f7b9e6: Pull complete 20:56:29 eaf3925da568: Pull complete 20:56:31 bab4dde63d76: Pull complete 20:56:31 bde34c3a00c8: Pull complete 20:56:31 b352a97aabf1: Pull complete 20:56:31 4872d77fe225: Pull complete 20:56:31 5851b861e8e6: Pull complete 20:56:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:31 prd-ubuntu20.04-docker-8c-8g-5895 does not seem to be running inside a container 20:56:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-413 -v /w/workspace/xfoundry_device-modbus-go_PR-413:/w/workspace/xfoundry_device-modbus-go_PR-413:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-413@tmp:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:56:33 $ docker top 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc -eo pid,comm 20:56:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:56:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:34 [ssh-agent] Looking for ssh-agent implementation... 20:56:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:34 $ docker exec 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc ssh-agent 20:56:34 SSH_AUTH_SOCK=/tmp/ssh-n92a93hygWJD/agent.32 20:56:34 SSH_AGENT_PID=38 20:56:34 Running ssh-add (command line suppressed) 20:56:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_2774410264406168745.key (/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_2774410264406168745.key) 20:56:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:34 + git tag --points-at HEAD [Pipeline] } 20:56:34 $ docker exec --env ******** --env ******** 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc ssh-agent -k 20:56:34 unset SSH_AUTH_SOCK; 20:56:34 unset SSH_AGENT_PID; 20:56:34 echo Agent pid 38 killed; 20:56:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:34 [ssh-agent] Looking for ssh-agent implementation... 20:56:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:34 $ docker exec 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc ssh-agent 20:56:35 SSH_AUTH_SOCK=/tmp/ssh-sUBHH7Uw7oEI/agent.70 20:56:35 SSH_AGENT_PID=76 20:56:35 Running ssh-add (command line suppressed) 20:56:35 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_2152827209794515126.key (/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_2152827209794515126.key) 20:56:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:35 + git semver init 20:56:35 2023-02-14 20:56:35,660 [run_init] DEBUG init version:0.0.0 force:False 20:56:35 2023-02-14 20:56:35,661 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-413/.semver 20:56:35 2023-02-14 20:56:35,662 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-413/.semver 20:56:35 2023-02-14 20:56:35,662 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-413/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-413, universal_newlines=False, shell=None, istream=None) 20:56:37 2023-02-14 20:56:36,760 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-413/.git/info/exclude 20:56:37 2023-02-14 20:56:36,761 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-413/.semver/PR-413 with force:False 20:56:37 2023-02-14 20:56:36,761 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-413/.semver/PR-413 20:56:37 2023-02-14 20:56:36,765 [execute] INFO git cat-file --batch-check 20:56:37 2023-02-14 20:56:36,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 20:56:37 2023-02-14 20:56:36,773 [execute] INFO git cat-file --batch 20:56:37 2023-02-14 20:56:36,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 20:56:37 2023-02-14 20:56:36,779 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-413/.semver/PR-413 20:56:37 0.0.0 [Pipeline] } 20:56:37 $ docker exec --env ******** --env ******** 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc ssh-agent -k 20:56:37 unset SSH_AUTH_SOCK; 20:56:37 unset SSH_AGENT_PID; 20:56:37 echo Agent pid 76 killed; 20:56:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:37 + git semver [Pipeline] } 20:56:37 $ docker stop --time=1 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc 20:56:39 $ docker rm -f --volumes 26d4fb5eb2d26db543da952205fe3b0c95663225c44280a6520cb847d3a2f1bc [Pipeline] // withDockerContainer [Pipeline] sh 20:56:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:39 Stashed 1 file(s) [Pipeline] echo 20:56:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:39 provisioning config files... 20:56:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config2328951095465089225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:40 ---> docker-login.sh 20:56:40 nexus3.edgexfoundry.org:10001 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 nexus3.edgexfoundry.org:10002 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 nexus3.edgexfoundry.org:10003 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 nexus3.edgexfoundry.org:10004 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 docker.io 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 ---> docker-login.sh ends [Pipeline] } 20:56:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:41 ========================================================= 20:56:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:56:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:41 + 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 . 20:56:41 Sending build context to Docker daemon 6.377MB 20:56:41 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:56:41 Step 2/10 : FROM ${BASE} AS builder 20:56:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:41 213ec9aee27d: Pulling fs layer 20:56:41 4583459ba037: Pulling fs layer 20:56:41 93c1e223e6f2: Pulling fs layer 20:56:41 53926ce57604: Pulling fs layer 20:56:41 21b2b0c7a3f4: Pulling fs layer 20:56:41 22ff95d597cd: Pulling fs layer 20:56:41 12d6caf4c0d1: Pulling fs layer 20:56:41 96b7cbca73a9: Pulling fs layer 20:56:41 a7acece74701: Pulling fs layer 20:56:41 21b2b0c7a3f4: Waiting 20:56:41 96b7cbca73a9: Waiting 20:56:41 a7acece74701: Waiting 20:56:41 22ff95d597cd: Waiting 20:56:41 12d6caf4c0d1: Waiting 20:56:41 53926ce57604: Waiting 20:56:41 93c1e223e6f2: Verifying Checksum 20:56:41 93c1e223e6f2: Download complete 20:56:41 4583459ba037: Download complete 20:56:41 21b2b0c7a3f4: Download complete 20:56:41 22ff95d597cd: Verifying Checksum 20:56:41 22ff95d597cd: Download complete 20:56:41 213ec9aee27d: Verifying Checksum 20:56:41 213ec9aee27d: Download complete 20:56:41 12d6caf4c0d1: Download complete 20:56:41 213ec9aee27d: Pull complete 20:56:41 4583459ba037: Pull complete 20:56:41 93c1e223e6f2: Pull complete 20:56:42 a7acece74701: Verifying Checksum 20:56:42 a7acece74701: Download complete 20:56:42 53926ce57604: Verifying Checksum 20:56:42 53926ce57604: Download complete 20:56:42 96b7cbca73a9: Verifying Checksum 20:56:42 96b7cbca73a9: Download complete 20:56:46 53926ce57604: Pull complete 20:56:46 21b2b0c7a3f4: Pull complete 20:56:46 22ff95d597cd: Pull complete 20:56:46 12d6caf4c0d1: Pull complete 20:56:48 96b7cbca73a9: Pull complete 20:56:49 a7acece74701: Pull complete 20:56:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:56:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:56:49 ---> db6d94c90886 20:56:49 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:56:53 ---> Running in e322229c1025 20:56:53 Removing intermediate container e322229c1025 20:56:53 ---> 768eede19a09 20:56:53 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:53 ---> Running in 83d160c46b15 20:56:53 Removing intermediate container 83d160c46b15 20:56:53 ---> 1beeeb84fe2b 20:56:53 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:56:53 ---> Running in 5ac44101f7f8 20:56:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:56:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:56:54 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:56:54 (2/8) Installing libedit (20210910.3.1-r0) 20:56:54 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:56:54 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:56:54 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:56:54 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:56:54 (7/8) Installing openssh-server (9.0_p1-r2) 20:56:54 (8/8) Installing openssh (9.0_p1-r2) 20:56:54 Executing busybox-1.35.0-r17.trigger 20:56:54 OK: 217 MiB in 59 packages 20:56:54 Still waiting to schedule task 20:56:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5889’ 20:56:55 Removing intermediate container 5ac44101f7f8 20:56:55 ---> daf3ffc9114f 20:56:55 Step 6/10 : WORKDIR /device-modbus-go 20:56:55 ---> Running in 901277360ac6 20:56:55 Removing intermediate container 901277360ac6 20:56:55 ---> 58776994120a 20:56:55 Step 7/10 : COPY go.mod vendor* ./ 20:56:55 ---> b7e780dbc2c9 20:56:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:55 ---> Running in 42c710cb1d78 20:57:34 Removing intermediate container 42c710cb1d78 20:57:34 ---> e7cf0acf5e22 20:57:34 Step 9/10 : COPY . . 20:57:34 ---> 3fe18bd8d602 20:57:34 Step 10/10 : RUN ${MAKE} 20:57:34 ---> Running in 7cc6818beb85 20:57:34 noop 20:57:34 Removing intermediate container 7cc6818beb85 20:57:34 ---> 1811e5066957 20:57:34 Successfully built 1811e5066957 20:57:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:34 + docker inspect -f . ci-base-image-x86_64 20:57:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:34 prd-ubuntu20.04-docker-8c-8g-5895 does not seem to be running inside a container 20:57:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-413 -v /w/workspace/xfoundry_device-modbus-go_PR-413:/w/workspace/xfoundry_device-modbus-go_PR-413:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-413@tmp:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:35 $ docker top 6964e406265a27b25405ebbc1b8de1805d3c60f95ecee184f786adc36cc6dce4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:35 + go version 20:57:35 go version go1.18.7 linux/amd64 [Pipeline] } 20:57:35 $ docker stop --time=1 6964e406265a27b25405ebbc1b8de1805d3c60f95ecee184f786adc36cc6dce4 20:57:36 $ docker rm -f --volumes 6964e406265a27b25405ebbc1b8de1805d3c60f95ecee184f786adc36cc6dce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:37 + docker inspect -f . ci-base-image-x86_64 20:57:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:37 prd-ubuntu20.04-docker-8c-8g-5895 does not seem to be running inside a container 20:57:37 $ 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-413 -v /w/workspace/xfoundry_device-modbus-go_PR-413:/w/workspace/xfoundry_device-modbus-go_PR-413:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-413@tmp:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:37 $ docker top 0dbc4293ffc9dffe3845d5e1b7bd51cf2a02a56bdcd7bc0395c10a6eb1bc08fe -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:37 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-413 [Pipeline] fileExists [Pipeline] sh 20:57:38 + make test 20:57:38 go test ./... -coverprofile=coverage.out 20:57:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:57:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:57:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 20:57:55 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." 20:57:55 go vet ./... 20:57:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:58 ./bin/test-attribution-txt.sh 20:57:58 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 20:57:58 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 20:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:58 $ docker stop --time=1 0dbc4293ffc9dffe3845d5e1b7bd51cf2a02a56bdcd7bc0395c10a6eb1bc08fe 20:58:00 $ docker rm -f --volumes 0dbc4293ffc9dffe3845d5e1b7bd51cf2a02a56bdcd7bc0395c10a6eb1bc08fe [Pipeline] // withDockerContainer [Pipeline] sh 20:58:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:02 + ls -al . 20:58:02 total 184 20:58:02 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 20:57 . 20:58:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:56 .. 20:58:02 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 20:56 .dockerignore 20:58:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 20:57 .git 20:58:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:56 .github 20:58:02 -rw-rw-r-- 1 jenkins jenkins 331 Feb 14 20:56 .gitignore 20:58:02 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 20:56 .golangci.yml 20:58:02 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 20:56 .semver 20:58:02 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 14 20:56 Attribution.txt 20:58:02 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 14 20:56 CHANGELOG.md 20:58:02 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 14 20:56 Dockerfile 20:58:02 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 20:56 GOVERNANCE.md 20:58:02 -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 20:56 Jenkinsfile 20:58:02 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 20:56 LICENSE 20:58:02 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 14 20:56 Makefile 20:58:02 -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 20:56 OWNERS.md 20:58:02 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 14 20:56 README.md 20:58:02 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 20:56 VERSION 20:58:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:56 bin 20:58:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:56 cmd 20:58:02 -rw-r--r-- 1 jenkins jenkins 23241 Feb 14 20:57 coverage.out 20:58:02 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 14 20:56 go.mod 20:58:02 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 14 20:56 go.sum 20:58:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:56 internal 20:58:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:56 simulator 20:58:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:56 snap 20:58:02 -rw-rw-r-- 1 jenkins jenkins 229 Feb 14 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:02 + 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=75e5be214660b898c3b532aefcaf83a07c778e62 --label arch=amd64 --label version=0.0.0 . 20:58:02 Sending build context to Docker daemon 6.401MB 20:58:02 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:58:02 Step 2/22 : FROM ${BASE} AS builder 20:58:02 ---> 1811e5066957 20:58:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:58:02 ---> Running in d5c387c547b8 20:58:02 Removing intermediate container d5c387c547b8 20:58:02 ---> 0de540e647b6 20:58:02 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:02 ---> Running in fda7345970cb 20:58:02 Removing intermediate container fda7345970cb 20:58:02 ---> e56517d10e92 20:58:02 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:58:02 ---> Running in d721f60debd1 20:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:58:03 OK: 217 MiB in 59 packages 20:58:04 Removing intermediate container d721f60debd1 20:58:04 ---> 30cd2c5cc89b 20:58:04 Step 6/22 : WORKDIR /device-modbus-go 20:58:04 ---> Running in a0c7f3af0374 20:58:04 Removing intermediate container a0c7f3af0374 20:58:04 ---> 8b008dc49612 20:58:04 Step 7/22 : COPY go.mod vendor* ./ 20:58:04 ---> 905d951fcf6a 20:58:04 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:04 ---> Running in 212e004c7213 20:58:05 Removing intermediate container 212e004c7213 20:58:05 ---> a5bdc4ff51c5 20:58:05 Step 9/22 : COPY . . 20:58:05 ---> 8c8ecb5ba171 20:58:05 Step 10/22 : RUN ${MAKE} 20:58:05 ---> Running in 18ca1b5cceb9 20:58:05 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 20:58:27 Removing intermediate container 18ca1b5cceb9 20:58:27 ---> ab7ecf9c8f75 20:58:27 Step 11/22 : FROM alpine:3.14 20:58:27 3.14: Pulling from library/alpine 20:58:27 d261077062b2: Pulling fs layer 20:58:27 d261077062b2: Verifying Checksum 20:58:27 d261077062b2: Download complete 20:58:27 d261077062b2: Pull complete 20:58:27 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 20:58:27 Status: Downloaded newer image for alpine:3.14 20:58:27 ---> 6dff1269bc79 20:58:27 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:58:27 ---> Running in 0f293f70b4a5 20:58:27 Removing intermediate container 0f293f70b4a5 20:58:27 ---> fa0b860c555a 20:58:27 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:58:27 ---> Running in 2892079c33d5 20:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:58:28 (1/1) Installing dumb-init (1.2.5-r1) 20:58:28 Executing busybox-1.33.1-r8.trigger 20:58:28 OK: 6 MiB in 15 packages 20:58:28 Removing intermediate container 2892079c33d5 20:58:28 ---> e0aa2911e75d 20:58:28 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:58:29 ---> 827712408c90 20:58:29 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:58:29 ---> 6ac605b886b0 20:58:29 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:58:29 ---> 579df89d9f3c 20:58:29 Step 17/22 : EXPOSE 59901 20:58:29 ---> Running in 50e5ac251bc5 20:58:30 Removing intermediate container 50e5ac251bc5 20:58:30 ---> 5cd32a34c56d 20:58:30 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:58:30 ---> Running in 2440a5ba5c7a 20:58:30 Removing intermediate container 2440a5ba5c7a 20:58:30 ---> d7e03d2b8b6b 20:58:30 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:58:30 ---> Running in 62a546af497d 20:58:30 Removing intermediate container 62a546af497d 20:58:30 ---> bf1d5cab96c3 20:58:30 Step 20/22 : LABEL arch=amd64 20:58:30 ---> Running in f5d42084ae83 20:58:30 Removing intermediate container f5d42084ae83 20:58:30 ---> a134fee88e1a 20:58:30 Step 21/22 : LABEL git_sha=75e5be214660b898c3b532aefcaf83a07c778e62 20:58:30 ---> Running in cd924eb7bfbf 20:58:30 Removing intermediate container cd924eb7bfbf 20:58:30 ---> 58f4ac7acc0e 20:58:30 Step 22/22 : LABEL version=0.0.0 20:58:30 ---> Running in 8f5615eebdf7 20:58:30 Removing intermediate container 8f5615eebdf7 20:58:30 ---> ec67908e4836 20:58:30 [Warning] One or more build-args [ARCH] were not consumed 20:58:30 Successfully built ec67908e4836 20:58:30 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 20:58:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:30 20:58:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:31 latest: Pulling from edgex-lftools-log-publisher 20:58:31 5eb5b503b376: Pulling fs layer 20:58:31 5c69ac0246d0: Pulling fs layer 20:58:31 ec43610c2a17: Pulling fs layer 20:58:31 3a2ae6a8a46f: Pulling fs layer 20:58:31 33b1e0a273af: Pulling fs layer 20:58:31 5d3b04190fa2: Pulling fs layer 20:58:31 2f39f015ded8: Pulling fs layer 20:58:31 3a2ae6a8a46f: Waiting 20:58:31 33b1e0a273af: Waiting 20:58:31 5d3b04190fa2: Waiting 20:58:31 2f39f015ded8: Waiting 20:58:31 5c69ac0246d0: Verifying Checksum 20:58:31 5c69ac0246d0: Download complete 20:58:31 3a2ae6a8a46f: Verifying Checksum 20:58:31 3a2ae6a8a46f: Download complete 20:58:31 33b1e0a273af: Verifying Checksum 20:58:31 33b1e0a273af: Download complete 20:58:31 5d3b04190fa2: Verifying Checksum 20:58:31 5d3b04190fa2: Download complete 20:58:31 ec43610c2a17: Verifying Checksum 20:58:31 ec43610c2a17: Download complete 20:58:31 5eb5b503b376: Verifying Checksum 20:58:31 5eb5b503b376: Download complete 20:58:31 2f39f015ded8: Verifying Checksum 20:58:31 2f39f015ded8: Download complete 20:58:32 5eb5b503b376: Pull complete 20:58:32 5c69ac0246d0: Pull complete 20:58:32 ec43610c2a17: Pull complete 20:58:33 3a2ae6a8a46f: Pull complete 20:58:33 33b1e0a273af: Pull complete 20:58:33 5d3b04190fa2: Pull complete 20:58:38 2f39f015ded8: Pull complete 20:58:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:38 prd-ubuntu20.04-docker-8c-8g-5895 does not seem to be running inside a container 20:58:38 $ 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-413 -v /w/workspace/xfoundry_device-modbus-go_PR-413:/w/workspace/xfoundry_device-modbus-go_PR-413:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-413@tmp:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:42 $ docker top 7ee0acb56c14a5745d6ec634612502123920c914443b25efcfc8bba4e5dee596 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:43 ---> job-cost.sh 20:58:43 lf-activate-venv: SKIPPING 20:58:43 INFO: No Stack... 20:58:43 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:44 INFO: Archiving Costs [Pipeline] sh 20:58:44 + cat /w/workspace/xfoundry_device-modbus-go_PR-413/archives/cost.csv 20:58:44 + cut -d, -f6 [Pipeline] lock 20:58:44 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] 20:58:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] did not exist. Created. 20:58:44 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:44 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:44 Stashed 1 file(s) [Pipeline] } 20:58:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:44 $ docker stop --time=1 7ee0acb56c14a5745d6ec634612502123920c914443b25efcfc8bba4e5dee596 20:58:45 $ docker rm -f --volumes 7ee0acb56c14a5745d6ec634612502123920c914443b25efcfc8bba4e5dee596 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5897 in /w/workspace/xfoundry_device-modbus-go_PR-413 [Pipeline] { [Pipeline] ws 21:00:19 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 21:00:19 Selected Git installation does not exist. Using Default 21:00:19 The recommended git tool is: NONE 21:00:25 using credential edgex-jenkins-ssh 21:00:25 Cloning the remote Git repository 21:00:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:00:25 > git init /w/workspace/device-modbus-go/2 # timeout=10 21:00:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:25 > git --version # timeout=10 21:00:25 > git --version # 'git version 2.25.1' 21:00:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:27 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:00:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:00:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:00:28 Merging remotes/origin/main commit d5e58b77efcbf82879c3b9259be6f9314f98ed83 into PR head commit 75e5be214660b898c3b532aefcaf83a07c778e62 21:00:29 Merge succeeded, producing 75e5be214660b898c3b532aefcaf83a07c778e62 21:00:29 Checking out Revision 75e5be214660b898c3b532aefcaf83a07c778e62 (PR-413) 21:00:28 > git config core.sparsecheckout # timeout=10 21:00:28 > git checkout -f 75e5be214660b898c3b532aefcaf83a07c778e62 # timeout=10 21:00:28 > git remote # timeout=10 21:00:28 > git config --get remote.origin.url # timeout=10 21:00:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:29 > git merge d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 21:00:29 > git rev-parse HEAD^{commit} # timeout=10 21:00:29 > git config core.sparsecheckout # timeout=10 21:00:29 > git checkout -f 75e5be214660b898c3b532aefcaf83a07c778e62 # timeout=10 21:00:32 Commit message: "feat!: updates for common config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:33 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:33 Dload Upload Total Spent Left Speed 21:00:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 21:00:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:00:34 + sudo tee /etc/docker/daemon.new 21:00:34 { 21:00:34 "registry-mirrors": [ 21:00:34 "https://nexus3.edgexfoundry.org:10001" 21:00:34 ], 21:00:34 "bip": "10.250.0.254/24", 21:00:34 "hosts": [ 21:00:34 "tcp://0.0.0.0:5555", 21:00:34 "unix:///var/run/docker.sock" 21:00:34 ], 21:00:34 "mtu": 1458, 21:00:34 "selinux-enabled": true, 21:00:34 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:34 } [Pipeline] sh 21:00:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:53 provisioning config files... 21:00:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config1245095214596316408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:54 ---> docker-login.sh 21:00:54 nexus3.edgexfoundry.org:10001 21:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:55 Configure a credential helper to remove this warning. See 21:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:55 21:00:55 Login Succeeded 21:00:55 nexus3.edgexfoundry.org:10002 21:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:55 Configure a credential helper to remove this warning. See 21:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:55 21:00:55 Login Succeeded 21:00:55 nexus3.edgexfoundry.org:10003 21:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:55 Configure a credential helper to remove this warning. See 21:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:55 21:00:55 Login Succeeded 21:00:55 nexus3.edgexfoundry.org:10004 21:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:56 Configure a credential helper to remove this warning. See 21:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:56 21:00:56 Login Succeeded 21:00:56 docker.io 21:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:56 Configure a credential helper to remove this warning. See 21:00:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:56 21:00:56 Login Succeeded 21:00:56 ---> docker-login.sh ends [Pipeline] } 21:00:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:57 ========================================================= 21:00:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:00:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:57 + 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 . 21:00:57 Sending build context to Docker daemon 3.329MB 21:00:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:00:57 Step 2/10 : FROM ${BASE} AS builder 21:00:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:00:57 9b18e9b68314: Pulling fs layer 21:00:57 35d82f9e3411: Pulling fs layer 21:00:57 e16973657156: Pulling fs layer 21:00:57 fc693d55d65f: Pulling fs layer 21:00:57 7e9fc2657dce: Pulling fs layer 21:00:57 fc693d55d65f: Waiting 21:00:57 dda99020689f: Pulling fs layer 21:00:57 7e9fc2657dce: Waiting 21:00:57 db1c61fa0a46: Pulling fs layer 21:00:57 dda99020689f: Waiting 21:00:57 891c053d2c06: Pulling fs layer 21:00:57 db1c61fa0a46: Waiting 21:00:57 891c053d2c06: Waiting 21:00:57 e16973657156: Verifying Checksum 21:00:57 e16973657156: Download complete 21:00:57 35d82f9e3411: Verifying Checksum 21:00:57 35d82f9e3411: Download complete 21:00:57 7e9fc2657dce: Verifying Checksum 21:00:57 7e9fc2657dce: Download complete 21:00:57 dda99020689f: Download complete 21:00:57 9b18e9b68314: Verifying Checksum 21:00:57 9b18e9b68314: Download complete 21:00:58 9b18e9b68314: Pull complete 21:00:59 891c053d2c06: Verifying Checksum 21:00:59 891c053d2c06: Download complete 21:00:59 35d82f9e3411: Pull complete 21:01:00 e16973657156: Pull complete 21:01:00 db1c61fa0a46: Verifying Checksum 21:01:00 db1c61fa0a46: Download complete 21:01:01 fc693d55d65f: Verifying Checksum 21:01:01 fc693d55d65f: Download complete 21:01:13 fc693d55d65f: Pull complete 21:01:13 7e9fc2657dce: Pull complete 21:01:13 dda99020689f: Pull complete 21:01:20 db1c61fa0a46: Pull complete 21:01:22 891c053d2c06: Pull complete 21:01:22 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:01:22 ---> f96f9c87975a 21:01:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:01:24 ---> Running in 0f6f7a7836ad 21:01:24 Removing intermediate container 0f6f7a7836ad 21:01:24 ---> 9dd574695ce8 21:01:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:24 ---> Running in 19948cf02673 21:01:24 Removing intermediate container 19948cf02673 21:01:24 ---> 2f30a985d197 21:01:24 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:01:25 ---> Running in 75e021c53428 21:01:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:01:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:01:27 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:01:27 (2/8) Installing libedit (20210910.3.1-r0) 21:01:27 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:01:27 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:01:27 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:01:27 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:01:27 (7/8) Installing openssh-server (9.0_p1-r2) 21:01:27 (8/8) Installing openssh (9.0_p1-r2) 21:01:27 Executing busybox-1.35.0-r17.trigger 21:01:27 OK: 228 MiB in 59 packages 21:01:28 Removing intermediate container 75e021c53428 21:01:28 ---> 02a5122439b4 21:01:28 Step 6/10 : WORKDIR /device-modbus-go 21:01:28 ---> Running in 509d134ec616 21:01:29 Removing intermediate container 509d134ec616 21:01:29 ---> 532f870550b7 21:01:29 Step 7/10 : COPY go.mod vendor* ./ 21:01:29 ---> ce240053e30f 21:01:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:30 ---> Running in 70be3372f3f4 21:02:51 Removing intermediate container 70be3372f3f4 21:02:51 ---> d42198bafcf0 21:02:51 Step 9/10 : COPY . . 21:02:51 ---> 906d715bd431 21:02:51 Step 10/10 : RUN ${MAKE} 21:02:51 ---> Running in 7e05065ed723 21:02:51 noop 21:02:51 Removing intermediate container 7e05065ed723 21:02:51 ---> fbe4ef40fe46 21:02:51 Successfully built fbe4ef40fe46 21:02:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:52 + docker inspect -f . ci-base-image-arm64 21:02:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:52 prd-ubuntu20.04-docker-arm64-4c-16g-5897 does not seem to be running inside a container 21:02:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:53 $ docker top 50d7ecc6103940987283618a9872c5fdc9f39f86d87424f53f293eed725e5e97 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:54 + go version 21:02:54 go version go1.18.7 linux/arm64 [Pipeline] } 21:02:54 $ docker stop --time=1 50d7ecc6103940987283618a9872c5fdc9f39f86d87424f53f293eed725e5e97 21:02:56 $ docker rm -f --volumes 50d7ecc6103940987283618a9872c5fdc9f39f86d87424f53f293eed725e5e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:56 + docker inspect -f . ci-base-image-arm64 21:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-5897 does not seem to be running inside a container 21:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:58 $ docker top e0bb1214e4a9920b151c2f618ece1671a20e760cbcf0429c93e338546295fb3d -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 21:02:59 + make test 21:02:59 go test ./... -coverprofile=coverage.out 21:03:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:04:22 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:04:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 21:04:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:04:25 go vet ./... 21:04:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:52 ./bin/test-attribution-txt.sh 21:04:52 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:04:52 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:04:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:52 $ docker stop --time=1 e0bb1214e4a9920b151c2f618ece1671a20e760cbcf0429c93e338546295fb3d 21:04:54 $ docker rm -f --volumes e0bb1214e4a9920b151c2f618ece1671a20e760cbcf0429c93e338546295fb3d [Pipeline] // withDockerContainer [Pipeline] sh 21:04:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:55 Warning: overwriting stash ‘coverage-report’ 21:04:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:56 + ls -al . 21:04:56 total 180 21:04:56 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 21:03 . 21:04:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:00 .. 21:04:56 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 21:00 .dockerignore 21:04:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 21:00 .git 21:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:00 .github 21:04:56 -rw-rw-r-- 1 jenkins jenkins 331 Feb 14 21:00 .gitignore 21:04:56 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 21:00 .golangci.yml 21:04:56 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 14 21:00 Attribution.txt 21:04:56 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 14 21:00 CHANGELOG.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 14 21:00 Dockerfile 21:04:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 21:00 GOVERNANCE.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 21:00 Jenkinsfile 21:04:56 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 21:00 LICENSE 21:04:56 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 14 21:00 Makefile 21:04:56 -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 21:00 OWNERS.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 14 21:00 README.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 20:56 VERSION 21:04:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 21:00 bin 21:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:00 cmd 21:04:56 -rw-r--r-- 1 jenkins jenkins 23241 Feb 14 21:04 coverage.out 21:04:56 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 14 21:00 go.mod 21:04:56 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 14 21:00 go.sum 21:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:00 internal 21:04:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 21:00 simulator 21:04:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:00 snap 21:04:56 -rw-rw-r-- 1 jenkins jenkins 229 Feb 14 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:56 + 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=75e5be214660b898c3b532aefcaf83a07c778e62 --label arch=arm64 --label version=0.0.0 . 21:04:58 Sending build context to Docker daemon 3.353MB 21:04:58 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:04:58 Step 2/22 : FROM ${BASE} AS builder 21:04:58 ---> fbe4ef40fe46 21:04:58 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:04:59 ---> Running in 6fb5c6ce4224 21:04:59 Removing intermediate container 6fb5c6ce4224 21:04:59 ---> 233b106fdc09 21:04:59 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:59 ---> Running in 49b968f92686 21:04:59 Removing intermediate container 49b968f92686 21:04:59 ---> 891b64dc49cc 21:04:59 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:04:59 ---> Running in 88129fb5b088 21:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:02 OK: 228 MiB in 59 packages 21:05:03 Removing intermediate container 88129fb5b088 21:05:03 ---> 0152006e68af 21:05:03 Step 6/22 : WORKDIR /device-modbus-go 21:05:03 ---> Running in c82636ab9c50 21:05:04 Removing intermediate container c82636ab9c50 21:05:04 ---> d757c48f3b56 21:05:04 Step 7/22 : COPY go.mod vendor* ./ 21:05:05 ---> 5b45aa516985 21:05:05 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:05 ---> Running in d2493fb51ca4 21:05:08 Removing intermediate container d2493fb51ca4 21:05:08 ---> bff7a86dbf4f 21:05:08 Step 9/22 : COPY . . 21:05:09 ---> 184e4dff4562 21:05:09 Step 10/22 : RUN ${MAKE} 21:05:09 ---> Running in 454cb746c192 21:05:10 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 21:07:18 Removing intermediate container 454cb746c192 21:07:18 ---> 7f8c49b7d358 21:07:18 Step 11/22 : FROM alpine:3.14 21:07:18 3.14: Pulling from library/alpine 21:07:18 6f0e733d82e2: Pulling fs layer 21:07:18 6f0e733d82e2: Verifying Checksum 21:07:18 6f0e733d82e2: Download complete 21:07:18 6f0e733d82e2: Pull complete 21:07:18 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 21:07:18 Status: Downloaded newer image for alpine:3.14 21:07:18 ---> bf97f6347a60 21:07:18 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:07:18 ---> Running in 61156a8bbd2d 21:07:18 Removing intermediate container 61156a8bbd2d 21:07:18 ---> 7c4162bb5571 21:07:18 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:07:18 ---> Running in b6d147619a2a 21:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:07:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:07:21 (1/1) Installing dumb-init (1.2.5-r1) 21:07:21 Executing busybox-1.33.1-r8.trigger 21:07:21 OK: 6 MiB in 15 packages 21:07:22 Removing intermediate container b6d147619a2a 21:07:22 ---> e96d77beabfc 21:07:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:07:23 ---> 046f12392525 21:07:23 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:07:23 ---> 4b2eaf7fd92a 21:07:23 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:07:24 ---> a531b87ad677 21:07:24 Step 17/22 : EXPOSE 59901 21:07:24 ---> Running in 79ef60db2a74 21:07:24 Removing intermediate container 79ef60db2a74 21:07:24 ---> 46c4c6e3e15a 21:07:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:07:24 ---> Running in d1137ad50e0d 21:07:24 Removing intermediate container d1137ad50e0d 21:07:24 ---> 5a4d33aaf604 21:07:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:07:25 ---> Running in 3ba2cf0a0bef 21:07:25 Removing intermediate container 3ba2cf0a0bef 21:07:25 ---> 8e7be04ba86b 21:07:25 Step 20/22 : LABEL arch=arm64 21:07:25 ---> Running in 78788e2b2810 21:07:25 Removing intermediate container 78788e2b2810 21:07:25 ---> ef79b6d95946 21:07:25 Step 21/22 : LABEL git_sha=75e5be214660b898c3b532aefcaf83a07c778e62 21:07:25 ---> Running in 6355bb9c8aeb 21:07:25 Removing intermediate container 6355bb9c8aeb 21:07:25 ---> 527a64ad43c4 21:07:25 Step 22/22 : LABEL version=0.0.0 21:07:25 ---> Running in 4172a9c34a23 21:07:26 Removing intermediate container 4172a9c34a23 21:07:26 ---> 1b6067bfb416 21:07:26 [Warning] One or more build-args [ARCH] were not consumed 21:07:26 Successfully built 1b6067bfb416 21:07:26 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 21:07:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:26 21:07:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:26 arm64: Pulling from edgex-lftools-log-publisher 21:07:26 8998bd30e6a1: Pulling fs layer 21:07:26 04944245beec: Pulling fs layer 21:07:26 699f458cf7ca: Pulling fs layer 21:07:26 765212b225bb: Pulling fs layer 21:07:26 f23df028b6ca: Pulling fs layer 21:07:26 d65c8cfc05b1: Pulling fs layer 21:07:26 2437ff75d9bd: Pulling fs layer 21:07:26 f23df028b6ca: Waiting 21:07:26 d65c8cfc05b1: Waiting 21:07:26 765212b225bb: Waiting 21:07:26 2437ff75d9bd: Waiting 21:07:27 04944245beec: Verifying Checksum 21:07:27 04944245beec: Download complete 21:07:27 765212b225bb: Verifying Checksum 21:07:27 765212b225bb: Download complete 21:07:27 f23df028b6ca: Download complete 21:07:27 d65c8cfc05b1: Verifying Checksum 21:07:27 d65c8cfc05b1: Download complete 21:07:27 699f458cf7ca: Verifying Checksum 21:07:27 699f458cf7ca: Download complete 21:07:27 8998bd30e6a1: Verifying Checksum 21:07:27 8998bd30e6a1: Download complete 21:07:30 2437ff75d9bd: Verifying Checksum 21:07:30 2437ff75d9bd: Download complete 21:07:31 8998bd30e6a1: Pull complete 21:07:31 04944245beec: Pull complete 21:07:32 699f458cf7ca: Pull complete 21:07:33 765212b225bb: Pull complete 21:07:35 f23df028b6ca: Pull complete 21:07:35 d65c8cfc05b1: Pull complete 21:07:50 2437ff75d9bd: Pull complete 21:07:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:50 prd-ubuntu20.04-docker-arm64-4c-16g-5897 does not seem to be running inside a container 21:07:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:07:53 $ docker top 2cc244ad6cb277abb6d87009930d3fe75c45d41d3a2192726e971c134cc2fa9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:54 ---> job-cost.sh 21:07:54 lf-activate-venv: SKIPPING 21:07:54 INFO: No Stack... 21:07:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:07:55 INFO: Archiving Costs [Pipeline] sh 21:07:56 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 21:07:56 + cut -d, -f6 [Pipeline] lock 21:07:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] 21:07:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] did not exist. Created. 21:07:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:07:56 /w/workspace/device-modbus-go/2@tmp/durable-db150d6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:07:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:07:57 Warning: overwriting stash ‘stack-cost’ 21:07:57 Stashed 1 file(s) [Pipeline] } 21:07:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-413-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:07:57 $ docker stop --time=1 2cc244ad6cb277abb6d87009930d3fe75c45d41d3a2192726e971c134cc2fa9a 21:08:00 $ docker rm -f --volumes 2cc244ad6cb277abb6d87009930d3fe75c45d41d3a2192726e971c134cc2fa9a [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 21:08:01 provisioning config files... 21:08:01 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config909284117962025833tmp [Pipeline] { [Pipeline] sh 21:08:01 + set +x 21:08:01 + curl -s https://codecov.io/bash 21:08:01 + bash -s -- 21:08:01 21:08:01 _____ _ 21:08:01 / ____| | | 21:08:01 | | ___ __| | ___ ___ _____ __ 21:08:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:01 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:01 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:01 Bash-1.0.6 21:08:01 21:08:01 21:08:01 ==> git version 2.25.1 found 21:08:01 ==> 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 21:08:01 Release-Date: 2020-01-08 21:08:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:08:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:01 ==> Jenkins CI detected. 21:08:01 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-413 21:08:01 project root: . 21:08:01 --> token set from env 21:08:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:01 ==> Running gcov in . (disable via -X gcov) 21:08:01 ==> Python coveragepy not found 21:08:01 ==> Searching for coverage reports in: 21:08:01 + . 21:08:01 -> Found 1 reports 21:08:01 ==> Detecting git/mercurial file structure 21:08:01 ==> Reading reports 21:08:01 + ./coverage.out bytes=23241 21:08:01 ==> Appending adjustments 21:08:01 https://docs.codecov.io/docs/fixing-reports 21:08:01 + Found adjustments 21:08:01 ==> Gzipping contents 21:08:01 4.0K /tmp/codecov.TWjxzA.gz 21:08:01 ==> Uploading reports 21:08:01 url: https://codecov.io 21:08:01 query: branch=PR-413&commit=75e5be214660b898c3b532aefcaf83a07c778e62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-413%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=413&job=&cmd_args= 21:08:01 -> Pinging Codecov 21:08:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-413&commit=75e5be214660b898c3b532aefcaf83a07c778e62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-413%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=413&job=&cmd_args= 21:08:02 -> Uploading to 21:08:02 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/55DBCA73C666E3227836607328DD7E49/75e5be214660b898c3b532aefcaf83a07c778e62/92daadd2-23aa-421f-90f3-4ba52b13ce66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T210801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37320fdeedc5d9f6972a3618bea10b3cd0aef9e72c9967ebae2fb942a62d3306 21:08:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:02 Dload Upload Total Spent Left Speed 21:08:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 13334 --:--:-- --:--:-- --:--:-- 13334 21:08:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/75e5be214660b898c3b532aefcaf83a07c778e62 [Pipeline] } 21:08:02 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 21:08:03 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-413/archives ] 21:08:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-413/archives 21:08:03 total 16 21:08:03 drwxr-xr-x 3 root root 4096 Feb 14 20:58 . 21:08:03 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 20:58 .. 21:08:03 drwxr-xr-x 2 root root 4096 Feb 14 20:58 cost 21:08:03 -rw-r--r-- 1 root root 88 Feb 14 20:58 cost.csv 21:08:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-413/archives 21:08:03 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-413/archives 21:08:03 total 16 21:08:03 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 20:58 . 21:08:03 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 20:58 .. 21:08:03 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 20:58 cost 21:08:03 -rw-r--r-- 1 jenkins jenkins 88 Feb 14 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:08:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:08:04 ---> package-listing.sh 21:08:04 ++ facter osfamily 21:08:04 ++ tr '[:upper:]' '[:lower:]' 21:08:04 + OS_FAMILY=debian 21:08:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-413 21:08:04 + START_PACKAGES=/tmp/packages_start.txt 21:08:04 + END_PACKAGES=/tmp/packages_end.txt 21:08:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:08:04 + PACKAGES=/tmp/packages_start.txt 21:08:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-413 ']' 21:08:04 + PACKAGES=/tmp/packages_end.txt 21:08:04 + case "${OS_FAMILY}" in 21:08:04 + dpkg -l 21:08:04 + grep '^ii' 21:08:04 + '[' -f /tmp/packages_start.txt ']' 21:08:04 + '[' -f /tmp/packages_end.txt ']' 21:08:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:08:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-413 ']' 21:08:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-413/archives/ 21:08:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-413/archives/ [Pipeline] echo 21:08:04 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:08:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:05 prd-ubuntu20.04-docker-8c-8g-5895 does not seem to be running inside a container 21:08:05 $ 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-413/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-413 -v /w/workspace/xfoundry_device-modbus-go_PR-413:/w/workspace/xfoundry_device-modbus-go_PR-413:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-413@tmp:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:05 $ docker top ee70340e062dc9bce7690ceb485c43d177e3abb6fb38c132838c8865a7a23149 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:06 + touch /tmp/pre-build-complete [Pipeline] sh 21:08:06 + mkdir -p /var/log/sysstat [Pipeline] sh 21:08:06 + ls /var/log/sa-host 21:08:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:06 provisioning config files... 21:08:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config3346266173632092815tmp [Pipeline] { [Pipeline] echo 21:08:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:08:06 ---> create-netrc.sh [Pipeline] } 21:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:08:07 ---> python-tools-install.sh [Pipeline] echo 21:08:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:08:07 ---> sudo-logs.sh 21:08:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:08:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:08:07 ---> job-cost.sh 21:08:07 lf-activate-venv: SKIPPING 21:08:07 DEBUG: total: 0.2199999988079071 21:08:07 INFO: Retrieving Stack Cost... 21:08:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:08 INFO: Archiving Costs [Pipeline] echo 21:08:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:08:09 ---> logs-deploy.sh 21:08:09 lf-activate-venv: SKIPPING 21:08:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-413/2 21:08:09 INFO: archiving workspace using pattern(s): 21:08:09 Archives upload complete. 21:08:10 INFO: archiving logs to Nexus 21:08:10 ---> uname -a: 21:08:10 Linux prd-ubuntu20-04-docker-8c-8g-5895 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:08:10 21:08:10 21:08:10 ---> lscpu: 21:08:10 Architecture: x86_64 21:08:10 CPU op-mode(s): 32-bit, 64-bit 21:08:10 Byte Order: Little Endian 21:08:10 Address sizes: 40 bits physical, 48 bits virtual 21:08:10 CPU(s): 8 21:08:10 On-line CPU(s) list: 0-7 21:08:10 Thread(s) per core: 1 21:08:10 Core(s) per socket: 1 21:08:10 Socket(s): 8 21:08:10 NUMA node(s): 1 21:08:10 Vendor ID: AuthenticAMD 21:08:10 CPU family: 23 21:08:10 Model: 49 21:08:10 Model name: AMD EPYC-Rome Processor 21:08:10 Stepping: 0 21:08:10 CPU MHz: 2799.996 21:08:10 BogoMIPS: 5599.99 21:08:10 Virtualization: AMD-V 21:08:10 Hypervisor vendor: KVM 21:08:10 Virtualization type: full 21:08:10 L1d cache: 256 KiB 21:08:10 L1i cache: 256 KiB 21:08:10 L2 cache: 4 MiB 21:08:10 L3 cache: 128 MiB 21:08:10 NUMA node0 CPU(s): 0-7 21:08:10 Vulnerability Itlb multihit: Not affected 21:08:10 Vulnerability L1tf: Not affected 21:08:10 Vulnerability Mds: Not affected 21:08:10 Vulnerability Meltdown: Not affected 21:08:10 Vulnerability Mmio stale data: Not affected 21:08:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:08:10 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:08:10 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:08:10 Vulnerability Srbds: Not affected 21:08:10 Vulnerability Tsx async abort: Not affected 21:08:10 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 21:08:10 21:08:10 21:08:10 ---> nproc: 21:08:10 8 21:08:10 21:08:10 21:08:10 ---> df -h: 21:08:10 Filesystem Size Used Avail Use% Mounted on 21:08:10 overlay 155G 12G 144G 8% / 21:08:10 tmpfs 64M 0 64M 0% /dev 21:08:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:08:10 shm 64M 0 64M 0% /dev/shm 21:08:10 /dev/vda1 155G 12G 144G 8% /facter-os 21:08:10 21:08:10 21:08:10 ---> sar -b -r -n DEV: 21:08:10 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5895) 02/14/23 _x86_64_ (8 CPU) 21:08:10 21:08:10 20:55:41 LINUX RESTART (8 CPU) 21:08:10 21:08:10 20:56:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:08:10 20:57:01 351.60 39.57 312.03 0.00 4355.47 76676.63 0.00 21:08:10 20:58:01 127.35 1.33 126.01 0.00 21.73 49723.71 0.00 21:08:10 20:59:01 149.66 0.08 149.58 0.00 12.40 34458.26 0.00 21:08:10 21:00:01 2.18 0.00 2.18 0.00 0.00 24.28 0.00 21:08:10 21:01:01 29.20 10.20 19.00 0.00 5175.00 3962.27 0.00 21:08:10 21:02:01 15.63 1.55 14.08 0.00 254.76 3559.94 0.00 21:08:10 21:03:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 21:08:10 21:04:01 1.95 0.00 1.95 0.00 0.00 21.06 0.00 21:08:10 21:05:01 1.37 0.00 1.37 0.00 0.00 14.80 0.00 21:08:10 21:06:01 2.45 0.00 2.45 0.00 0.00 40.51 0.00 21:08:10 21:07:01 1.18 0.00 1.18 0.00 0.00 13.33 0.00 21:08:10 21:08:01 2.03 0.02 2.02 0.00 1.20 23.06 0.00 21:08:10 Average: 56.76 4.35 52.41 0.00 813.43 13956.77 0.00 21:08:10 21:08:10 20:56:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:08:10 20:57:01 29119520 31542568 770152 2.34 75856 2620728 2007264 5.92 1037344 2358716 4776 21:08:10 20:58:01 28429092 31548364 754372 2.29 146004 3181840 1762696 5.19 1194520 2818124 76 21:08:10 20:59:01 27676928 31552420 746696 2.27 157300 3864824 1785296 5.26 1243572 3453896 336 21:08:10 21:00:01 27676840 31552396 746520 2.27 157336 3864824 1785296 5.26 1243668 3453900 160 21:08:10 21:01:01 27310128 31525272 765944 2.33 163168 4184996 1812724 5.34 1465544 3576936 94536 21:08:10 21:02:01 27302684 31534368 754212 2.29 165872 4197424 1836816 5.41 1476168 3567588 8 21:08:10 21:03:01 27310808 31542576 745920 2.27 165948 4197428 1836816 5.41 1468028 3567592 152 21:08:10 21:04:01 27310964 31542876 745372 2.27 166040 4197428 1836816 5.41 1468440 3567596 132 21:08:10 21:05:01 27311048 31543028 745008 2.27 166116 4197432 1836816 5.41 1468208 3567604 124 21:08:10 21:06:01 27310824 31543508 744880 2.27 166268 4197412 1836816 5.41 1467968 3568088 32 21:08:10 21:07:01 27310832 31543572 744784 2.26 166308 4197416 1836816 5.41 1468068 3568092 8 21:08:10 21:08:01 27308184 31541020 746992 2.27 166388 4197424 1853044 5.46 1470472 3568024 16 21:08:10 Average: 27614821 31542664 750904 2.28 155217 3924931 1835601 5.41 1372667 3386346 8363 21:08:10 21:08:10 20:56:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:08:10 20:57:01 ens3 645.67 443.86 6684.98 120.55 0.00 0.00 0.00 0.00 21:08:10 20:57:01 veth680876c 49.03 60.11 4.74 49.94 0.00 0.00 0.00 0.00 21:08:10 20:57:01 docker0 55.63 68.85 4.65 173.62 0.00 0.00 0.00 0.00 21:08:10 20:57:01 lo 6.78 6.78 0.66 0.66 0.00 0.00 0.00 0.00 21:08:10 20:58:01 ens3 201.55 153.87 1837.21 24.52 0.00 0.00 0.00 0.00 21:08:10 20:58:01 docker0 133.21 169.27 10.38 1807.36 0.00 0.00 0.00 0.00 21:08:10 20:58:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 21:08:10 20:59:01 ens3 123.68 81.47 2662.54 17.85 0.00 0.00 0.00 0.00 21:08:10 20:59:01 docker0 3.48 6.25 0.21 76.49 0.00 0.00 0.00 0.00 21:08:10 20:59:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 21:08:10 21:00:01 ens3 0.92 0.30 0.31 0.20 0.00 0.00 0.00 0.00 21:08:10 21:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:00:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:08:10 21:01:01 ens3 130.18 72.07 1932.80 5.61 0.00 0.00 0.00 0.00 21:08:10 21:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:01:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 21:08:10 21:02:01 ens3 0.72 0.52 0.34 0.13 0.00 0.00 0.00 0.00 21:08:10 21:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:08:10 21:03:01 ens3 0.08 0.02 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:04:01 ens3 0.92 0.38 0.30 0.21 0.00 0.00 0.00 0.00 21:08:10 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:08:10 21:05:01 ens3 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:06:01 ens3 0.33 0.25 0.12 0.07 0.00 0.00 0.00 0.00 21:08:10 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:08:10 21:07:01 ens3 0.15 0.10 0.08 0.07 0.00 0.00 0.00 0.00 21:08:10 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:08:01 ens3 2.48 1.88 2.82 0.73 0.00 0.00 0.00 0.00 21:08:10 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:10 21:08:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 21:08:10 Average: ens3 91.45 62.37 1085.64 14.01 0.00 0.00 0.00 0.00 21:08:10 Average: docker0 15.97 20.30 1.27 171.45 0.00 0.00 0.00 0.00 21:08:10 Average: lo 0.86 0.86 0.08 0.08 0.00 0.00 0.00 0.00 21:08:10 21:08:10 21:08:10 ---> sar -P ALL: 21:08:10 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5895) 02/14/23 _x86_64_ (8 CPU) 21:08:10 21:08:10 20:55:41 LINUX RESTART (8 CPU) 21:08:10 21:08:10 20:56:02 CPU %user %nice %system %iowait %steal %idle 21:08:10 20:57:01 all 10.23 0.00 3.79 2.55 0.06 83.36 21:08:10 20:57:01 0 8.62 0.00 2.84 0.63 0.07 87.84 21:08:10 20:57:01 1 10.28 0.00 4.91 7.04 0.07 77.70 21:08:10 20:57:01 2 11.94 0.00 3.96 0.39 0.05 83.66 21:08:10 20:57:01 3 12.46 0.00 3.39 6.77 0.07 77.30 21:08:10 20:57:01 4 8.28 0.00 3.95 2.53 0.05 85.18 21:08:10 20:57:01 5 10.11 0.00 3.34 1.76 0.05 84.74 21:08:10 20:57:01 6 10.34 0.00 4.22 0.70 0.07 84.66 21:08:10 20:57:01 7 9.80 0.00 3.71 0.62 0.09 85.78 21:08:10 20:58:01 all 25.04 0.00 5.11 2.91 0.07 66.88 21:08:10 20:58:01 0 24.75 0.00 4.82 0.77 0.07 69.59 21:08:10 20:58:01 1 25.83 0.00 4.55 0.32 0.08 69.22 21:08:10 20:58:01 2 25.21 0.00 4.65 0.57 0.07 69.50 21:08:10 20:58:01 3 25.61 0.00 5.70 12.15 0.08 56.46 21:08:10 20:58:01 4 24.25 0.00 6.12 2.46 0.05 67.12 21:08:10 20:58:01 5 24.58 0.00 5.34 4.05 0.07 65.96 21:08:10 20:58:01 6 25.14 0.00 4.57 1.09 0.05 69.14 21:08:10 20:58:01 7 24.92 0.00 5.13 1.86 0.08 68.01 21:08:10 20:59:01 all 19.96 0.00 4.19 1.71 0.09 74.05 21:08:10 20:59:01 0 19.87 0.00 3.92 0.12 0.07 76.03 21:08:10 20:59:01 1 21.20 0.00 4.35 0.37 0.08 73.99 21:08:10 20:59:01 2 19.03 0.00 4.53 0.22 0.07 76.15 21:08:10 20:59:01 3 19.68 0.00 3.60 0.03 0.05 76.63 21:08:10 20:59:01 4 20.54 0.00 4.86 8.81 0.08 65.70 21:08:10 20:59:01 5 19.80 0.00 4.23 2.65 0.07 73.26 21:08:10 20:59:01 6 19.67 0.00 3.96 0.55 0.07 75.75 21:08:10 20:59:01 7 19.89 0.00 4.04 0.96 0.27 74.84 21:08:10 21:00:01 all 0.03 0.00 0.01 0.01 0.01 99.94 21:08:10 21:00:01 0 0.10 0.00 0.02 0.00 0.02 99.87 21:08:10 21:00:01 1 0.03 0.00 0.00 0.00 0.00 99.97 21:08:10 21:00:01 2 0.03 0.00 0.03 0.00 0.03 99.90 21:08:10 21:00:01 3 0.00 0.00 0.02 0.00 0.02 99.97 21:08:10 21:00:01 4 0.00 0.00 0.02 0.03 0.00 99.95 21:08:10 21:00:01 5 0.00 0.00 0.00 0.02 0.00 99.98 21:08:10 21:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 21:08:10 21:00:01 7 0.03 0.00 0.03 0.00 0.02 99.92 21:08:10 21:01:01 all 0.91 0.00 0.38 0.44 0.01 98.25 21:08:10 21:01:01 0 0.73 0.00 0.47 0.63 0.02 98.15 21:08:10 21:01:01 1 0.47 0.00 0.20 0.02 0.00 99.32 21:08:10 21:01:01 2 0.82 0.00 0.28 0.02 0.02 98.87 21:08:10 21:01:01 3 1.37 0.00 0.38 0.20 0.02 98.03 21:08:10 21:01:01 4 0.75 0.00 0.22 0.54 0.02 98.47 21:08:10 21:01:01 5 0.68 0.00 0.47 0.88 0.00 97.96 21:08:10 21:01:01 6 0.88 0.00 0.57 0.35 0.00 98.20 21:08:10 21:01:01 7 1.61 0.00 0.45 0.92 0.02 97.01 21:08:10 21:02:01 all 0.42 0.00 0.26 0.14 0.01 99.17 21:08:10 21:02:01 0 0.33 0.00 0.28 0.02 0.02 99.35 21:08:10 21:02:01 1 0.58 0.00 0.20 0.00 0.03 99.18 21:08:10 21:02:01 2 0.40 0.00 0.33 0.33 0.02 98.92 21:08:10 21:02:01 3 0.27 0.00 0.28 0.13 0.00 99.32 21:08:10 21:02:01 4 0.27 0.00 0.23 0.00 0.02 99.48 21:08:10 21:02:01 5 0.50 0.00 0.17 0.30 0.02 99.02 21:08:10 21:02:01 6 0.80 0.00 0.37 0.03 0.02 98.78 21:08:10 21:02:01 7 0.20 0.00 0.18 0.27 0.00 99.35 21:08:10 21:03:01 all 0.03 0.00 0.01 0.00 0.00 99.95 21:08:10 21:03:01 0 0.05 0.00 0.03 0.00 0.00 99.92 21:08:10 21:03:01 1 0.05 0.00 0.03 0.00 0.02 99.90 21:08:10 21:03:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:08:10 21:03:01 3 0.00 0.00 0.02 0.00 0.02 99.97 21:08:10 21:03:01 4 0.02 0.00 0.02 0.00 0.00 99.97 21:08:10 21:03:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:08:10 21:03:01 6 0.03 0.00 0.00 0.00 0.00 99.97 21:08:10 21:03:01 7 0.03 0.00 0.02 0.03 0.00 99.92 21:08:10 21:04:01 all 0.03 0.00 0.01 0.05 0.01 99.90 21:08:10 21:04:01 0 0.07 0.00 0.02 0.00 0.03 99.88 21:08:10 21:04:01 1 0.07 0.00 0.02 0.00 0.02 99.90 21:08:10 21:04:01 2 0.03 0.00 0.03 0.00 0.00 99.93 21:08:10 21:04:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:08:10 21:04:01 4 0.02 0.00 0.00 0.00 0.02 99.97 21:08:10 21:04:01 5 0.00 0.00 0.00 0.15 0.00 99.85 21:08:10 21:04:01 6 0.00 0.00 0.02 0.00 0.00 99.98 21:08:10 21:04:01 7 0.00 0.00 0.03 0.23 0.00 99.73 21:08:10 21:05:01 all 0.24 0.00 0.01 0.02 0.00 99.74 21:08:10 21:05:01 0 0.03 0.00 0.03 0.00 0.00 99.93 21:08:10 21:05:01 1 0.03 0.00 0.02 0.00 0.03 99.92 21:08:10 21:05:01 2 0.00 0.00 0.00 0.02 0.00 99.98 21:08:10 21:05:01 3 0.03 0.00 0.02 0.00 0.00 99.95 21:08:10 21:05:01 4 1.70 0.00 0.00 0.00 0.00 98.30 21:08:10 21:05:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:08:10 21:05:01 6 0.03 0.00 0.00 0.00 0.00 99.97 21:08:10 21:05:01 7 0.03 0.00 0.00 0.12 0.00 99.85 21:08:10 21:06:01 all 0.28 0.00 0.01 0.01 0.01 99.69 21:08:10 21:06:01 0 0.10 0.00 0.00 0.00 0.02 99.88 21:08:10 21:06:01 1 0.05 0.00 0.02 0.02 0.02 99.90 21:08:10 21:06:01 2 0.03 0.00 0.00 0.00 0.00 99.97 21:08:10 21:06:01 3 0.00 0.00 0.00 0.00 0.00 100.00 21:08:10 21:06:01 4 1.97 0.00 0.00 0.00 0.02 98.01 21:08:10 21:06:01 5 0.03 0.00 0.00 0.03 0.02 99.92 21:08:10 21:06:01 6 0.02 0.00 0.03 0.00 0.00 99.95 21:08:10 21:06:01 7 0.00 0.00 0.02 0.03 0.00 99.95 21:08:10 21:07:01 all 0.25 0.00 0.02 0.01 0.01 99.72 21:08:10 21:07:01 0 0.32 0.00 0.03 0.00 0.00 99.65 21:08:10 21:07:01 1 0.02 0.00 0.05 0.00 0.02 99.92 21:08:10 21:07:01 2 0.00 0.00 0.03 0.00 0.00 99.97 21:08:10 21:07:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:08:10 21:07:01 4 1.60 0.00 0.00 0.00 0.00 98.40 21:08:10 21:07:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:08:10 21:07:01 6 0.02 0.00 0.00 0.00 0.00 99.98 21:08:10 21:07:01 7 0.03 0.00 0.02 0.05 0.02 99.88 21:08:10 21:08:10 21:07:01 CPU %user %nice %system %iowait %steal %idle 21:08:10 21:08:01 all 0.06 0.00 0.05 0.01 0.01 99.87 21:08:10 21:08:01 0 0.07 0.00 0.05 0.02 0.02 99.85 21:08:10 21:08:01 1 0.13 0.00 0.07 0.00 0.02 99.78 21:08:10 21:08:01 2 0.05 0.00 0.03 0.00 0.02 99.90 21:08:10 21:08:01 3 0.02 0.00 0.03 0.00 0.00 99.95 21:08:10 21:08:01 4 0.07 0.00 0.12 0.00 0.02 99.80 21:08:10 21:08:01 5 0.02 0.00 0.03 0.02 0.00 99.93 21:08:10 21:08:01 6 0.05 0.00 0.03 0.00 0.00 99.92 21:08:10 21:08:01 7 0.07 0.00 0.07 0.03 0.00 99.83 21:08:10 Average: all 4.74 0.00 1.14 0.65 0.03 93.44 21:08:10 Average: 0 4.55 0.00 1.03 0.18 0.03 94.21 21:08:10 Average: 1 4.85 0.00 1.19 0.63 0.03 93.31 21:08:10 Average: 2 4.75 0.00 1.15 0.13 0.02 93.95 21:08:10 Average: 3 4.91 0.00 1.11 1.59 0.02 92.37 21:08:10 Average: 4 4.90 0.00 1.27 1.18 0.02 92.63 21:08:10 Average: 5 4.61 0.00 1.12 0.82 0.02 93.44 21:08:10 Average: 6 4.72 0.00 1.14 0.23 0.02 93.90 21:08:10 Average: 7 4.67 0.00 1.13 0.42 0.04 93.74 21:08:10 21:08:10 21:08:10