Pull request #413 opened 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 f04c9fdc0409ea788ffac7105768c0593d714fef+d5e58b77efcbf82879c3b9259be6f9314f98ed83 (1a3dc8a7154ce53f1d55e78c1f47167d1de8ebd0) 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-ssh15050779907139400755.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-ssh2467664742018171233.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18101106995951400173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18159211410587042664.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10057504491529008903.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8600014149252053895.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5867 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 f04c9fdc0409ea788ffac7105768c0593d714fef Merge succeeded, producing f04c9fdc0409ea788ffac7105768c0593d714fef Checking out Revision f04c9fdc0409ea788ffac7105768c0593d714fef (PR-413) > git config core.sparsecheckout # timeout=10 > git checkout -f f04c9fdc0409ea788ffac7105768c0593d714fef # 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 f04c9fdc0409ea788ffac7105768c0593d714fef # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:08:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:08:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:08:21 ========================================================= 19:08:21 EdgeX Global Pipelines Version Info 19:08:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:08:22 ------------------- 19:08:22 stable info: 19:08:22 ------------------- 19:08:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:08:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:08:22 Message: update stable to v1.0.244 19:08:22 ------------------- 19:08:22 experimental info: 19:08:22 ------------------- 19:08:22 Commited By: **** collab-it+edgex@linuxfoundation.org 19:08:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:08:22 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:08:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f04c9fdc0409ea788ffac7105768c0593d714fef [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f04c9fd [Pipeline] echo 19:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:24 provisioning config files... 19:08:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config319019163354691757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:25 ---> docker-login.sh 19:08:25 nexus3.edgexfoundry.org:10001 19:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:25 Configure a credential helper to remove this warning. See 19:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:25 19:08:25 Login Succeeded 19:08:25 nexus3.edgexfoundry.org:10002 19:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:25 Configure a credential helper to remove this warning. See 19:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:25 19:08:25 Login Succeeded 19:08:25 nexus3.edgexfoundry.org:10003 19:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:25 Configure a credential helper to remove this warning. See 19:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:25 19:08:25 Login Succeeded 19:08:25 nexus3.edgexfoundry.org:10004 19:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:25 Configure a credential helper to remove this warning. See 19:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:25 19:08:25 Login Succeeded 19:08:25 docker.io 19:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:26 Configure a credential helper to remove this warning. See 19:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:26 19:08:26 Login Succeeded 19:08:26 ---> docker-login.sh ends [Pipeline] } 19:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:08:26 + git rev-list -1 --merges f04c9fdc0409ea788ffac7105768c0593d714fef~1..f04c9fdc0409ea788ffac7105768c0593d714fef [Pipeline] echo 19:08:26 -----------> git rev-list -1 --merges f04c9fdc0409ea788ffac7105768c0593d714fef~1..f04c9fdc0409ea788ffac7105768c0593d714fef f04c9fdc0409ea788ffac7105768c0593d714fef [false] [Pipeline] sh 19:08:27 + git log --format=format:%s -1 f04c9fdc0409ea788ffac7105768c0593d714fef [Pipeline] echo 19:08:27 ========================================================= 19:08:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:08:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:27 + git log --format=format:%s -1 f04c9fdc0409ea788ffac7105768c0593d714fef [Pipeline] echo 19:08:27 [semverPrep] GIT_COMMIT: f04c9fdc0409ea788ffac7105768c0593d714fef, Commit Message: feat!: updates for common config [Pipeline] echo 19:08:27 [semverPrep] This is not a build commit. [Pipeline] sh 19:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:28 + grep -v github /etc/ssh/ssh_known_hosts 19:08:28 + [ -e /tmp/ssh_known_hosts ] 19:08:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:08:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 19:08:28 sudo tee -a /etc/ssh/ssh_known_hosts 19:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:28 19:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:29 0.1.4: Pulling from edgex-devops/py-git-semver 19:08:29 b85a868b505f: Pulling fs layer 19:08:29 e2be974225ed: Pulling fs layer 19:08:29 339a4e72a1f5: Pulling fs layer 19:08:29 988bab9f4d93: Pulling fs layer 19:08:29 1469e6f7b9e6: Pulling fs layer 19:08:29 eaf3925da568: Pulling fs layer 19:08:29 bab4dde63d76: Pulling fs layer 19:08:29 bde34c3a00c8: Pulling fs layer 19:08:29 b352a97aabf1: Pulling fs layer 19:08:29 4872d77fe225: Pulling fs layer 19:08:29 5851b861e8e6: Pulling fs layer 19:08:29 988bab9f4d93: Waiting 19:08:29 4872d77fe225: Waiting 19:08:29 bde34c3a00c8: Waiting 19:08:29 bab4dde63d76: Waiting 19:08:29 5851b861e8e6: Waiting 19:08:29 1469e6f7b9e6: Waiting 19:08:29 eaf3925da568: Waiting 19:08:29 b352a97aabf1: Waiting 19:08:29 e2be974225ed: Download complete 19:08:29 988bab9f4d93: Verifying Checksum 19:08:29 988bab9f4d93: Download complete 19:08:29 1469e6f7b9e6: Verifying Checksum 19:08:29 1469e6f7b9e6: Download complete 19:08:29 339a4e72a1f5: Verifying Checksum 19:08:29 339a4e72a1f5: Download complete 19:08:29 eaf3925da568: Download complete 19:08:29 bde34c3a00c8: Download complete 19:08:29 b352a97aabf1: Verifying Checksum 19:08:29 b352a97aabf1: Download complete 19:08:29 4872d77fe225: Verifying Checksum 19:08:29 4872d77fe225: Download complete 19:08:29 5851b861e8e6: Verifying Checksum 19:08:29 5851b861e8e6: Download complete 19:08:29 b85a868b505f: Download complete 19:08:29 bab4dde63d76: Verifying Checksum 19:08:29 bab4dde63d76: Download complete 19:08:30 b85a868b505f: Pull complete 19:08:30 e2be974225ed: Pull complete 19:08:31 339a4e72a1f5: Pull complete 19:08:31 988bab9f4d93: Pull complete 19:08:31 1469e6f7b9e6: Pull complete 19:08:31 eaf3925da568: Pull complete 19:08:33 bab4dde63d76: Pull complete 19:08:33 bde34c3a00c8: Pull complete 19:08:33 b352a97aabf1: Pull complete 19:08:33 4872d77fe225: Pull complete 19:08:34 5851b861e8e6: Pull complete 19:08:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:08:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:34 prd-ubuntu20.04-docker-8c-8g-5867 does not seem to be running inside a container 19:08:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:08:35 $ docker top 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 -eo pid,comm 19:08:35 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). 19:08:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:35 [ssh-agent] Looking for ssh-agent implementation... 19:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:36 $ docker exec 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 ssh-agent 19:08:36 SSH_AUTH_SOCK=/tmp/ssh-9FGb14MWRGQj/agent.32 19:08:36 SSH_AGENT_PID=38 19:08:36 Running ssh-add (command line suppressed) 19:08:36 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_14622668515879898080.key (/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_14622668515879898080.key) 19:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:36 + git tag --points-at HEAD [Pipeline] } 19:08:36 $ docker exec --env ******** --env ******** 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 ssh-agent -k 19:08:36 unset SSH_AUTH_SOCK; 19:08:36 unset SSH_AGENT_PID; 19:08:36 echo Agent pid 38 killed; 19:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:36 [ssh-agent] Looking for ssh-agent implementation... 19:08:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:37 $ docker exec 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 ssh-agent 19:08:37 SSH_AUTH_SOCK=/tmp/ssh-q0RYiN1JOGQG/agent.70 19:08:37 SSH_AGENT_PID=76 19:08:37 Running ssh-add (command line suppressed) 19:08:37 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_10520346222066943934.key (/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/private_key_10520346222066943934.key) 19:08:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:37 + git semver init 19:08:38 2023-02-14 19:08:38,557 [run_init] DEBUG init version:0.0.0 force:False 19:08:38 2023-02-14 19:08:38,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-413/.semver 19:08:38 2023-02-14 19:08:38,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-413/.semver 19:08:38 2023-02-14 19:08:38,561 [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) 19:08:39 2023-02-14 19:08:39,486 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-413/.git/info/exclude 19:08:39 2023-02-14 19:08:39,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-413/.semver/PR-413 with force:False 19:08:39 2023-02-14 19:08:39,487 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-413/.semver/PR-413 19:08:39 2023-02-14 19:08:39,492 [execute] INFO git cat-file --batch-check 19:08:39 2023-02-14 19:08:39,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 19:08:39 2023-02-14 19:08:39,499 [execute] INFO git cat-file --batch 19:08:39 2023-02-14 19:08:39,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 19:08:39 2023-02-14 19:08:39,506 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-413/.semver/PR-413 19:08:39 0.0.0 [Pipeline] } 19:08:39 $ docker exec --env ******** --env ******** 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 ssh-agent -k 19:08:39 unset SSH_AUTH_SOCK; 19:08:39 unset SSH_AGENT_PID; 19:08:39 echo Agent pid 76 killed; 19:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:40 + git semver [Pipeline] } 19:08:40 $ docker stop --time=1 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 19:08:41 $ docker rm -f --volumes 77eb95053002057a79fbc227809c0e362de0a50a6218a0113c27b744b2a7f060 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:08:42 Stashed 1 file(s) [Pipeline] echo 19:08:42 [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 19:08:43 provisioning config files... 19:08:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config11614883834411145812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:43 ---> docker-login.sh 19:08:43 nexus3.edgexfoundry.org:10001 19:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:43 Configure a credential helper to remove this warning. See 19:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:43 19:08:43 Login Succeeded 19:08:43 nexus3.edgexfoundry.org:10002 19:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:43 Configure a credential helper to remove this warning. See 19:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:43 19:08:43 Login Succeeded 19:08:43 nexus3.edgexfoundry.org:10003 19:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:43 Configure a credential helper to remove this warning. See 19:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:43 19:08:43 Login Succeeded 19:08:43 nexus3.edgexfoundry.org:10004 19:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:43 Configure a credential helper to remove this warning. See 19:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:43 19:08:43 Login Succeeded 19:08:43 docker.io 19:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:44 Configure a credential helper to remove this warning. See 19:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:44 19:08:44 Login Succeeded 19:08:44 ---> docker-login.sh ends [Pipeline] } 19:08:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:44 ========================================================= 19:08:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:08:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:45 + 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 . 19:08:45 Sending build context to Docker daemon 6.376MB 19:08:45 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 19:08:45 Step 2/10 : FROM ${BASE} AS builder 19:08:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:08:45 213ec9aee27d: Pulling fs layer 19:08:45 4583459ba037: Pulling fs layer 19:08:45 93c1e223e6f2: Pulling fs layer 19:08:45 53926ce57604: Pulling fs layer 19:08:45 21b2b0c7a3f4: Pulling fs layer 19:08:45 22ff95d597cd: Pulling fs layer 19:08:45 12d6caf4c0d1: Pulling fs layer 19:08:45 96b7cbca73a9: Pulling fs layer 19:08:45 a7acece74701: Pulling fs layer 19:08:45 53926ce57604: Waiting 19:08:45 21b2b0c7a3f4: Waiting 19:08:45 a7acece74701: Waiting 19:08:45 12d6caf4c0d1: Waiting 19:08:45 96b7cbca73a9: Waiting 19:08:45 22ff95d597cd: Waiting 19:08:45 93c1e223e6f2: Verifying Checksum 19:08:45 93c1e223e6f2: Download complete 19:08:45 4583459ba037: Verifying Checksum 19:08:45 4583459ba037: Download complete 19:08:45 21b2b0c7a3f4: Verifying Checksum 19:08:45 21b2b0c7a3f4: Download complete 19:08:45 22ff95d597cd: Verifying Checksum 19:08:45 22ff95d597cd: Download complete 19:08:45 213ec9aee27d: Verifying Checksum 19:08:45 213ec9aee27d: Download complete 19:08:45 12d6caf4c0d1: Verifying Checksum 19:08:45 12d6caf4c0d1: Download complete 19:08:45 213ec9aee27d: Pull complete 19:08:45 4583459ba037: Pull complete 19:08:45 93c1e223e6f2: Pull complete 19:08:46 a7acece74701: Verifying Checksum 19:08:46 a7acece74701: Download complete 19:08:46 53926ce57604: Verifying Checksum 19:08:46 53926ce57604: Download complete 19:08:46 96b7cbca73a9: Verifying Checksum 19:08:46 96b7cbca73a9: Download complete 19:08:50 53926ce57604: Pull complete 19:08:50 21b2b0c7a3f4: Pull complete 19:08:50 22ff95d597cd: Pull complete 19:08:50 12d6caf4c0d1: Pull complete 19:08:53 96b7cbca73a9: Pull complete 19:08:53 a7acece74701: Pull complete 19:08:53 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:08:53 ---> db6d94c90886 19:08:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:08:55 ---> Running in be93a0c98d4c 19:08:55 Removing intermediate container be93a0c98d4c 19:08:55 ---> c7a154ec00dc 19:08:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:55 ---> Running in eaadf685cca1 19:08:55 Removing intermediate container eaadf685cca1 19:08:55 ---> 109643493d70 19:08:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:08:55 ---> Running in ff7bdea29282 19:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:08:56 (1/8) Installing openssh-keygen (9.0_p1-r2) 19:08:56 (2/8) Installing libedit (20210910.3.1-r0) 19:08:56 (3/8) Installing openssh-client-common (9.0_p1-r2) 19:08:56 (4/8) Installing openssh-client-default (9.0_p1-r2) 19:08:56 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 19:08:56 (6/8) Installing openssh-server-common (9.0_p1-r2) 19:08:56 (7/8) Installing openssh-server (9.0_p1-r2) 19:08:56 (8/8) Installing openssh (9.0_p1-r2) 19:08:56 Executing busybox-1.35.0-r17.trigger 19:08:56 OK: 217 MiB in 59 packages 19:08:57 Removing intermediate container ff7bdea29282 19:08:57 ---> 1da158242e25 19:08:57 Step 6/10 : WORKDIR /device-modbus-go 19:08:57 ---> Running in ef9322302b78 19:08:57 Removing intermediate container ef9322302b78 19:08:57 ---> edb18fd0338e 19:08:57 Step 7/10 : COPY go.mod vendor* ./ 19:08:57 ---> d10faacc96c8 19:08:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:57 ---> Running in 27da7dc8999d 19:08:58 Still waiting to schedule task 19:08:58 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:08:58 ‘prd-centos7-builder-2c-1g-5861’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:08:58 ‘prd-ubuntu20.04-docker-8c-8g-5859’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 19:08:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5860’ is offline 19:08:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5868’ is offline 19:09:36 Removing intermediate container 27da7dc8999d 19:09:36 ---> 673bcfc7dcfd 19:09:36 Step 9/10 : COPY . . 19:09:36 ---> ee6e0a988b77 19:09:36 Step 10/10 : RUN ${MAKE} 19:09:36 ---> Running in f838a369813e 19:09:36 noop 19:09:36 Removing intermediate container f838a369813e 19:09:36 ---> 6b346899d36a 19:09:36 Successfully built 6b346899d36a 19:09:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:36 + docker inspect -f . ci-base-image-x86_64 19:09:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:37 prd-ubuntu20.04-docker-8c-8g-5867 does not seem to be running inside a container 19:09:37 $ 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 ******** ci-base-image-x86_64 cat 19:09:37 $ docker top 8c272c15684c7e90e6a33b589ec3c8e1f906a6c8ddbf647ca441681159566fed -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:37 + go version 19:09:37 go version go1.18.7 linux/amd64 [Pipeline] } 19:09:37 $ docker stop --time=1 8c272c15684c7e90e6a33b589ec3c8e1f906a6c8ddbf647ca441681159566fed 19:09:39 $ docker rm -f --volumes 8c272c15684c7e90e6a33b589ec3c8e1f906a6c8ddbf647ca441681159566fed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:40 + docker inspect -f . ci-base-image-x86_64 19:09:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:40 prd-ubuntu20.04-docker-8c-8g-5867 does not seem to be running inside a container 19:09:40 $ 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 ******** ci-base-image-x86_64 cat 19:09:40 $ docker top 15178d54a22c0968c10d5fa27b1e4157223e15feb140d5e17cfb74d91d131f97 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:41 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-413 [Pipeline] fileExists [Pipeline] sh 19:09:41 + make test 19:09:41 go test ./... -coverprofile=coverage.out 19:09:41 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:09:51 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:09:51 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 19:09:59 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." 19:09:59 go vet ./... 19:10:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:10:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:10:02 ./bin/test-attribution-txt.sh 19:10:02 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 19:10:02 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 19:10:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:10:02 $ docker stop --time=1 15178d54a22c0968c10d5fa27b1e4157223e15feb140d5e17cfb74d91d131f97 19:10:04 $ docker rm -f --volumes 15178d54a22c0968c10d5fa27b1e4157223e15feb140d5e17cfb74d91d131f97 [Pipeline] // withDockerContainer [Pipeline] sh 19:10:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:10:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:10:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:10:05 + ls -al . 19:10:05 total 184 19:10:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 19:09 . 19:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 19:08 .. 19:10:05 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 19:08 .dockerignore 19:10:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 19:09 .git 19:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 19:08 .github 19:10:05 -rw-rw-r-- 1 jenkins jenkins 331 Feb 14 19:08 .gitignore 19:10:05 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 19:08 .golangci.yml 19:10:05 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 19:08 .semver 19:10:05 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 14 19:08 Attribution.txt 19:10:05 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 14 19:08 CHANGELOG.md 19:10:05 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 14 19:08 Dockerfile 19:10:05 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 19:08 GOVERNANCE.md 19:10:05 -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 19:08 Jenkinsfile 19:10:05 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 19:08 LICENSE 19:10:05 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 14 19:08 Makefile 19:10:05 -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 19:08 OWNERS.md 19:10:05 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 14 19:08 README.md 19:10:05 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 19:08 VERSION 19:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 19:08 bin 19:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 19:08 cmd 19:10:05 -rw-r--r-- 1 jenkins jenkins 23241 Feb 14 19:09 coverage.out 19:10:05 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 14 19:08 go.mod 19:10:05 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 14 19:08 go.sum 19:10:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 19:08 internal 19:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 19:08 simulator 19:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 19:08 snap 19:10:05 -rw-rw-r-- 1 jenkins jenkins 229 Feb 14 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:06 + 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=f04c9fdc0409ea788ffac7105768c0593d714fef --label arch=amd64 --label version=0.0.0 . 19:10:06 Sending build context to Docker daemon 6.4MB 19:10:06 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 19:10:06 Step 2/22 : FROM ${BASE} AS builder 19:10:06 ---> 6b346899d36a 19:10:06 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:10:06 ---> Running in dd806e39e6aa 19:10:06 Removing intermediate container dd806e39e6aa 19:10:06 ---> 993978cda34c 19:10:06 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:10:06 ---> Running in 4ffd06aea1af 19:10:06 Removing intermediate container 4ffd06aea1af 19:10:06 ---> e2b49640648d 19:10:06 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:10:06 ---> Running in 0f7ed3e45b01 19:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:10:07 OK: 217 MiB in 59 packages 19:10:07 Removing intermediate container 0f7ed3e45b01 19:10:07 ---> a8f4c3bcc34e 19:10:07 Step 6/22 : WORKDIR /device-modbus-go 19:10:07 ---> Running in f22334a1eff6 19:10:07 Removing intermediate container f22334a1eff6 19:10:07 ---> a554d0f9744b 19:10:07 Step 7/22 : COPY go.mod vendor* ./ 19:10:07 ---> ef7567805b7f 19:10:07 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:07 ---> Running in bdc08a5ab4d3 19:10:08 Removing intermediate container bdc08a5ab4d3 19:10:08 ---> 359a83cdd2ca 19:10:08 Step 9/22 : COPY . . 19:10:08 ---> 8dc68cb73ce7 19:10:08 Step 10/22 : RUN ${MAKE} 19:10:08 ---> Running in af310540b794 19:10:09 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 19:10:27 Removing intermediate container af310540b794 19:10:27 ---> e2e84358a420 19:10:27 Step 11/22 : FROM alpine:3.14 19:10:27 3.14: Pulling from library/alpine 19:10:28 d261077062b2: Pulling fs layer 19:10:28 d261077062b2: Download complete 19:10:29 d261077062b2: Pull complete 19:10:29 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 19:10:29 Status: Downloaded newer image for alpine:3.14 19:10:29 ---> 6dff1269bc79 19:10:29 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:10:29 ---> Running in 36cf5d79fe4c 19:10:29 Removing intermediate container 36cf5d79fe4c 19:10:29 ---> 1f534bdb35ef 19:10:29 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:10:29 ---> Running in 72b817e44aaf 19:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:10:29 (1/1) Installing dumb-init (1.2.5-r1) 19:10:29 Executing busybox-1.33.1-r8.trigger 19:10:29 OK: 6 MiB in 15 packages 19:10:30 Removing intermediate container 72b817e44aaf 19:10:30 ---> e3993f3f4c64 19:10:30 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:10:30 ---> f650689c288c 19:10:30 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:10:30 ---> f1e3235ee583 19:10:30 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:10:31 ---> 6f976a26148a 19:10:31 Step 17/22 : EXPOSE 59901 19:10:31 ---> Running in bf8eecbd0520 19:10:31 Removing intermediate container bf8eecbd0520 19:10:31 ---> 3e2cf0178f64 19:10:31 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:10:31 ---> Running in ccf49efdabe9 19:10:31 Removing intermediate container ccf49efdabe9 19:10:31 ---> fa8ca3453ea8 19:10:31 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:10:31 ---> Running in 203f5dc4326f 19:10:31 Removing intermediate container 203f5dc4326f 19:10:31 ---> 20221c86b575 19:10:31 Step 20/22 : LABEL arch=amd64 19:10:31 ---> Running in 7de5f453fe57 19:10:31 Removing intermediate container 7de5f453fe57 19:10:31 ---> 84c9acc40e01 19:10:31 Step 21/22 : LABEL git_sha=f04c9fdc0409ea788ffac7105768c0593d714fef 19:10:31 ---> Running in c5ba0674fe98 19:10:31 Removing intermediate container c5ba0674fe98 19:10:31 ---> e2e9e2bc53f3 19:10:31 Step 22/22 : LABEL version=0.0.0 19:10:31 ---> Running in c8bec3e9dd80 19:10:31 Removing intermediate container c8bec3e9dd80 19:10:31 ---> 85af5dcdb225 19:10:31 [Warning] One or more build-args [ARCH] were not consumed 19:10:31 Successfully built 85af5dcdb225 19:10:31 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 19:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:32 19:10:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:33 latest: Pulling from edgex-lftools-log-publisher 19:10:33 5eb5b503b376: Pulling fs layer 19:10:33 5c69ac0246d0: Pulling fs layer 19:10:33 ec43610c2a17: Pulling fs layer 19:10:33 3a2ae6a8a46f: Pulling fs layer 19:10:33 33b1e0a273af: Pulling fs layer 19:10:33 5d3b04190fa2: Pulling fs layer 19:10:33 2f39f015ded8: Pulling fs layer 19:10:33 3a2ae6a8a46f: Waiting 19:10:33 33b1e0a273af: Waiting 19:10:33 2f39f015ded8: Waiting 19:10:33 5d3b04190fa2: Waiting 19:10:33 5c69ac0246d0: Verifying Checksum 19:10:33 5c69ac0246d0: Download complete 19:10:33 3a2ae6a8a46f: Verifying Checksum 19:10:33 3a2ae6a8a46f: Download complete 19:10:33 33b1e0a273af: Verifying Checksum 19:10:33 33b1e0a273af: Download complete 19:10:33 5d3b04190fa2: Verifying Checksum 19:10:33 5d3b04190fa2: Download complete 19:10:33 ec43610c2a17: Verifying Checksum 19:10:33 ec43610c2a17: Download complete 19:10:33 5eb5b503b376: Verifying Checksum 19:10:33 5eb5b503b376: Download complete 19:10:34 2f39f015ded8: Download complete 19:10:34 5eb5b503b376: Pull complete 19:10:34 5c69ac0246d0: Pull complete 19:10:35 ec43610c2a17: Pull complete 19:10:35 3a2ae6a8a46f: Pull complete 19:10:35 33b1e0a273af: Pull complete 19:10:35 5d3b04190fa2: Pull complete 19:10:39 2f39f015ded8: Pull complete 19:10:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:39 prd-ubuntu20.04-docker-8c-8g-5867 does not seem to be running inside a container 19:10:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:10:41 $ docker top 9365ce15997710b28e6fb75386cb074c3fb4b1c018a55788469a3e6b66c5a1d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:42 ---> job-cost.sh 19:10:42 lf-activate-venv: SKIPPING 19:10:42 INFO: No Stack... 19:10:42 INFO: Retrieving Pricing Info for: v3-standard-8 19:10:42 INFO: Archiving Costs [Pipeline] sh 19:10:43 + + cut -d,cat -f6 /w/workspace/xfoundry_device-modbus-go_PR-413/archives/cost.csv 19:10:43 [Pipeline] lock 19:10:43 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] 19:10:43 Resource [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] did not exist. Created. 19:10:43 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:10:43 + echo total: 0.2199999988079071 [Pipeline] stash 19:10:43 Stashed 1 file(s) [Pipeline] } 19:10:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:10:43 $ docker stop --time=1 9365ce15997710b28e6fb75386cb074c3fb4b1c018a55788469a3e6b66c5a1d8 19:10:45 $ docker rm -f --volumes 9365ce15997710b28e6fb75386cb074c3fb4b1c018a55788469a3e6b66c5a1d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:12:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5871 in /w/workspace/xfoundry_device-modbus-go_PR-413 [Pipeline] { [Pipeline] ws 19:12:03 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 19:12:03 Selected Git installation does not exist. Using Default 19:12:03 The recommended git tool is: NONE 19:12:10 using credential edgex-jenkins-ssh 19:12:10 Cloning the remote Git repository 19:12:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 19:12:11 > git init /w/workspace/device-modbus-go/1 # timeout=10 19:12:11 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:12:11 > git --version # timeout=10 19:12:11 > git --version # 'git version 2.25.1' 19:12:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:12:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 19:12:17 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 19:12:17 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:17 > 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 19:12:18 Merging remotes/origin/main commit d5e58b77efcbf82879c3b9259be6f9314f98ed83 into PR head commit f04c9fdc0409ea788ffac7105768c0593d714fef 19:12:18 Merge succeeded, producing f04c9fdc0409ea788ffac7105768c0593d714fef 19:12:18 Checking out Revision f04c9fdc0409ea788ffac7105768c0593d714fef (PR-413) 19:12:18 > git config core.sparsecheckout # timeout=10 19:12:18 > git checkout -f f04c9fdc0409ea788ffac7105768c0593d714fef # timeout=10 19:12:18 > git remote # timeout=10 19:12:18 > git config --get remote.origin.url # timeout=10 19:12:18 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:18 > git merge d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 19:12:18 > git rev-parse HEAD^{commit} # timeout=10 19:12:18 > git config core.sparsecheckout # timeout=10 19:12:18 > git checkout -f f04c9fdc0409ea788ffac7105768c0593d714fef # timeout=10 19:12:22 Commit message: "feat!: updates for common config" 19:12:22 > git --version # timeout=10 19:12:22 > git --version # 'git version 2.25.1' 19:12:22 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:12:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:12:23 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:23 Dload Upload Total Spent Left Speed 19:12:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 19:12:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:12:24 + sudo tee /etc/docker/daemon.new 19:12:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:12:24 { 19:12:24 "registry-mirrors": [ 19:12:24 "https://nexus3.edgexfoundry.org:10001" 19:12:24 ], 19:12:24 "bip": "10.250.0.254/24", 19:12:24 "hosts": [ 19:12:24 "tcp://0.0.0.0:5555", 19:12:24 "unix:///var/run/docker.sock" 19:12:24 ], 19:12:24 "mtu": 1458, 19:12:24 "selinux-enabled": true, 19:12:24 "seccomp-profile": "/etc/docker/seccomp.json" 19:12:24 } [Pipeline] sh 19:12:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:12:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:43 provisioning config files... 19:12:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7082785737306678754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:44 ---> docker-login.sh 19:12:44 nexus3.edgexfoundry.org:10001 19:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:45 Configure a credential helper to remove this warning. See 19:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:45 19:12:45 Login Succeeded 19:12:45 nexus3.edgexfoundry.org:10002 19:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:45 Configure a credential helper to remove this warning. See 19:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:45 19:12:45 Login Succeeded 19:12:45 nexus3.edgexfoundry.org:10003 19:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:46 Configure a credential helper to remove this warning. See 19:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:46 19:12:46 Login Succeeded 19:12:46 nexus3.edgexfoundry.org:10004 19:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:46 Configure a credential helper to remove this warning. See 19:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:46 19:12:46 Login Succeeded 19:12:46 docker.io 19:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:47 Configure a credential helper to remove this warning. See 19:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:47 19:12:47 Login Succeeded 19:12:47 ---> docker-login.sh ends [Pipeline] } 19:12:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:12:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:12:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:12:48 ========================================================= 19:12:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:12:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:48 + 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 . 19:12:48 Sending build context to Docker daemon 3.33MB 19:12:48 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 19:12:48 Step 2/10 : FROM ${BASE} AS builder 19:12:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:12:49 9b18e9b68314: Pulling fs layer 19:12:49 35d82f9e3411: Pulling fs layer 19:12:49 e16973657156: Pulling fs layer 19:12:49 fc693d55d65f: Pulling fs layer 19:12:49 7e9fc2657dce: Pulling fs layer 19:12:49 dda99020689f: Pulling fs layer 19:12:49 db1c61fa0a46: Pulling fs layer 19:12:49 891c053d2c06: Pulling fs layer 19:12:49 fc693d55d65f: Waiting 19:12:49 7e9fc2657dce: Waiting 19:12:49 dda99020689f: Waiting 19:12:49 db1c61fa0a46: Waiting 19:12:49 891c053d2c06: Waiting 19:12:49 e16973657156: Verifying Checksum 19:12:49 e16973657156: Download complete 19:12:49 35d82f9e3411: Verifying Checksum 19:12:49 35d82f9e3411: Download complete 19:12:49 7e9fc2657dce: Verifying Checksum 19:12:49 7e9fc2657dce: Download complete 19:12:49 dda99020689f: Verifying Checksum 19:12:49 dda99020689f: Download complete 19:12:49 9b18e9b68314: Verifying Checksum 19:12:50 9b18e9b68314: Pull complete 19:12:50 891c053d2c06: Verifying Checksum 19:12:50 891c053d2c06: Download complete 19:12:51 35d82f9e3411: Pull complete 19:12:51 e16973657156: Pull complete 19:12:53 db1c61fa0a46: Verifying Checksum 19:12:53 db1c61fa0a46: Download complete 19:12:53 fc693d55d65f: Verifying Checksum 19:12:53 fc693d55d65f: Download complete 19:13:06 fc693d55d65f: Pull complete 19:13:06 7e9fc2657dce: Pull complete 19:13:07 dda99020689f: Pull complete 19:13:13 db1c61fa0a46: Pull complete 19:13:15 891c053d2c06: Pull complete 19:13:15 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:13:16 ---> f96f9c87975a 19:13:16 Step 3/10 : ARG ADD_BUILD_TAGS="" 19:13:17 ---> Running in 7b7746d4e593 19:13:17 Removing intermediate container 7b7746d4e593 19:13:17 ---> fdc8199522b8 19:13:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:13:17 ---> Running in fd796de8af68 19:13:17 Removing intermediate container fd796de8af68 19:13:17 ---> 5b33cf20f76b 19:13:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 19:13:18 ---> Running in d1638d78be98 19:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:13:20 (1/8) Installing openssh-keygen (9.0_p1-r2) 19:13:21 (2/8) Installing libedit (20210910.3.1-r0) 19:13:21 (3/8) Installing openssh-client-common (9.0_p1-r2) 19:13:21 (4/8) Installing openssh-client-default (9.0_p1-r2) 19:13:21 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 19:13:21 (6/8) Installing openssh-server-common (9.0_p1-r2) 19:13:21 (7/8) Installing openssh-server (9.0_p1-r2) 19:13:21 (8/8) Installing openssh (9.0_p1-r2) 19:13:21 Executing busybox-1.35.0-r17.trigger 19:13:21 OK: 228 MiB in 59 packages 19:13:23 Removing intermediate container d1638d78be98 19:13:23 ---> db485848508a 19:13:23 Step 6/10 : WORKDIR /device-modbus-go 19:13:23 ---> Running in 9d58471c51bd 19:13:23 Removing intermediate container 9d58471c51bd 19:13:23 ---> 81ed3c6e57c9 19:13:23 Step 7/10 : COPY go.mod vendor* ./ 19:13:24 ---> 372b31693c70 19:13:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:24 ---> Running in 5223a58d3004 19:15:01 Removing intermediate container 5223a58d3004 19:15:01 ---> 54852a8bf7c2 19:15:01 Step 9/10 : COPY . . 19:15:01 ---> 2cd9aeb5a264 19:15:01 Step 10/10 : RUN ${MAKE} 19:15:01 ---> Running in 3e293dce3d98 19:15:01 noop 19:15:01 Removing intermediate container 3e293dce3d98 19:15:01 ---> dee43aff6bfb 19:15:01 Successfully built dee43aff6bfb 19:15:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:01 + docker inspect -f . ci-base-image-arm64 19:15:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:02 prd-ubuntu20.04-docker-arm64-4c-16g-5871 does not seem to be running inside a container 19:15:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:15:03 $ docker top 8babb0235655b015309e53b412156bb8aa9605c31929dcbed239a8178d736e43 -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:04 + go version 19:15:04 go version go1.18.7 linux/arm64 [Pipeline] } 19:15:04 $ docker stop --time=1 8babb0235655b015309e53b412156bb8aa9605c31929dcbed239a8178d736e43 19:15:06 $ docker rm -f --volumes 8babb0235655b015309e53b412156bb8aa9605c31929dcbed239a8178d736e43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:07 + docker inspect -f . ci-base-image-arm64 19:15:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:07 prd-ubuntu20.04-docker-arm64-4c-16g-5871 does not seem to be running inside a container 19:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:15:08 $ docker top 8173ad7eff2932d9cbf1dfc8cb3e7fc3593ac595969599c3cb337255cf9b8aea -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 19:15:10 + make test 19:15:10 go test ./... -coverprofile=coverage.out 19:15:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 19:17:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 19:17:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements 19:17:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:17:04 go vet ./... 19:17:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:17:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:17:22 ./bin/test-attribution-txt.sh 19:17:22 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 19:17:22 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 19:17:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:17:22 $ docker stop --time=1 8173ad7eff2932d9cbf1dfc8cb3e7fc3593ac595969599c3cb337255cf9b8aea 19:17:24 $ docker rm -f --volumes 8173ad7eff2932d9cbf1dfc8cb3e7fc3593ac595969599c3cb337255cf9b8aea [Pipeline] // withDockerContainer [Pipeline] sh 19:17:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:17:25 Warning: overwriting stash ‘coverage-report’ 19:17:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:17:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:17:27 + ls -al . 19:17:27 total 180 19:17:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 19:15 . 19:17:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 19:12 .. 19:17:27 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 19:12 .dockerignore 19:17:27 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 19:12 .git 19:17:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 19:12 .github 19:17:27 -rw-rw-r-- 1 jenkins jenkins 331 Feb 14 19:12 .gitignore 19:17:27 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 19:12 .golangci.yml 19:17:27 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 14 19:12 Attribution.txt 19:17:27 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 14 19:12 CHANGELOG.md 19:17:27 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 14 19:12 Dockerfile 19:17:27 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 19:12 GOVERNANCE.md 19:17:27 -rw-rw-r-- 1 jenkins jenkins 680 Feb 14 19:12 Jenkinsfile 19:17:27 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 19:12 LICENSE 19:17:27 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 14 19:12 Makefile 19:17:27 -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 19:12 OWNERS.md 19:17:27 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 14 19:12 README.md 19:17:27 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 19:08 VERSION 19:17:27 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 19:12 bin 19:17:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 19:12 cmd 19:17:27 -rw-r--r-- 1 jenkins jenkins 23241 Feb 14 19:16 coverage.out 19:17:27 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 14 19:12 go.mod 19:17:27 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 14 19:12 go.sum 19:17:27 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 19:12 internal 19:17:27 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 19:12 simulator 19:17:27 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 19:12 snap 19:17:27 -rw-rw-r-- 1 jenkins jenkins 229 Feb 14 19:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:27 + 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=f04c9fdc0409ea788ffac7105768c0593d714fef --label arch=arm64 --label version=0.0.0 . 19:17:27 Sending build context to Docker daemon 3.354MB 19:17:27 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 19:17:27 Step 2/22 : FROM ${BASE} AS builder 19:17:27 ---> dee43aff6bfb 19:17:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 19:17:28 ---> Running in 84927194cc4b 19:17:28 Removing intermediate container 84927194cc4b 19:17:28 ---> e3a778569ea1 19:17:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:17:28 ---> Running in 4e55abd43f88 19:17:28 Removing intermediate container 4e55abd43f88 19:17:28 ---> 3e4b5bec1d29 19:17:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 19:17:28 ---> Running in 9d5b3b952342 19:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:17:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:17:31 OK: 228 MiB in 59 packages 19:17:32 Removing intermediate container 9d5b3b952342 19:17:32 ---> 2be6c61526ec 19:17:32 Step 6/22 : WORKDIR /device-modbus-go 19:17:32 ---> Running in 0da6a8770e3c 19:17:32 Removing intermediate container 0da6a8770e3c 19:17:32 ---> bd3230d1921e 19:17:32 Step 7/22 : COPY go.mod vendor* ./ 19:17:33 ---> 499136df4fb0 19:17:33 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:17:33 ---> Running in d665f8fb700d 19:17:36 Removing intermediate container d665f8fb700d 19:17:36 ---> 567c19381121 19:17:36 Step 9/22 : COPY . . 19:17:37 ---> f0e9221efb9a 19:17:37 Step 10/22 : RUN ${MAKE} 19:17:37 ---> Running in bc5f9de0e634 19:17:38 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 19:20:00 Removing intermediate container bc5f9de0e634 19:20:00 ---> cac55a2b0bc7 19:20:00 Step 11/22 : FROM alpine:3.14 19:20:00 3.14: Pulling from library/alpine 19:20:00 6f0e733d82e2: Pulling fs layer 19:20:00 6f0e733d82e2: Download complete 19:20:00 6f0e733d82e2: Pull complete 19:20:00 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 19:20:00 Status: Downloaded newer image for alpine:3.14 19:20:00 ---> bf97f6347a60 19:20:00 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 19:20:00 ---> Running in 7012bb164206 19:20:00 Removing intermediate container 7012bb164206 19:20:00 ---> 505d61a49086 19:20:00 Step 13/22 : RUN apk add --update --no-cache dumb-init 19:20:00 ---> Running in fca1a1516170 19:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:20:00 (1/1) Installing dumb-init (1.2.5-r1) 19:20:00 Executing busybox-1.33.1-r8.trigger 19:20:00 OK: 6 MiB in 15 packages 19:20:01 Removing intermediate container fca1a1516170 19:20:01 ---> 59c6019eedcb 19:20:01 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 19:20:02 ---> 46aa8ff195c0 19:20:02 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 19:20:03 ---> 9cbbb4ce3a1f 19:20:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 19:20:03 ---> c764e16b3682 19:20:03 Step 17/22 : EXPOSE 59901 19:20:03 ---> Running in aec942cec6dd 19:20:03 Removing intermediate container aec942cec6dd 19:20:03 ---> 335a3f78cce0 19:20:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 19:20:04 ---> Running in f53f14ef9577 19:20:04 Removing intermediate container f53f14ef9577 19:20:04 ---> 2cffbcbe0e22 19:20:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:20:04 ---> Running in 32453cc2d743 19:20:04 Removing intermediate container 32453cc2d743 19:20:04 ---> a85aaef62ad6 19:20:04 Step 20/22 : LABEL arch=arm64 19:20:04 ---> Running in c4892432840d 19:20:05 Removing intermediate container c4892432840d 19:20:05 ---> 927ac9ad97bd 19:20:05 Step 21/22 : LABEL git_sha=f04c9fdc0409ea788ffac7105768c0593d714fef 19:20:05 ---> Running in ef1bd993ff7d 19:20:05 Removing intermediate container ef1bd993ff7d 19:20:05 ---> aa58d2f8a800 19:20:05 Step 22/22 : LABEL version=0.0.0 19:20:05 ---> Running in 2618fa14143a 19:20:06 Removing intermediate container 2618fa14143a 19:20:06 ---> 6bc7ac43b9dd 19:20:06 [Warning] One or more build-args [ARCH] were not consumed 19:20:06 Successfully built 6bc7ac43b9dd 19:20:06 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 19:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:06 19:20:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:07 arm64: Pulling from edgex-lftools-log-publisher 19:20:07 8998bd30e6a1: Pulling fs layer 19:20:07 04944245beec: Pulling fs layer 19:20:07 699f458cf7ca: Pulling fs layer 19:20:07 765212b225bb: Pulling fs layer 19:20:07 f23df028b6ca: Pulling fs layer 19:20:07 d65c8cfc05b1: Pulling fs layer 19:20:07 2437ff75d9bd: Pulling fs layer 19:20:07 f23df028b6ca: Waiting 19:20:07 765212b225bb: Waiting 19:20:07 d65c8cfc05b1: Waiting 19:20:07 2437ff75d9bd: Waiting 19:20:07 04944245beec: Verifying Checksum 19:20:07 04944245beec: Download complete 19:20:07 765212b225bb: Verifying Checksum 19:20:07 765212b225bb: Download complete 19:20:07 f23df028b6ca: Verifying Checksum 19:20:07 f23df028b6ca: Download complete 19:20:07 d65c8cfc05b1: Verifying Checksum 19:20:07 d65c8cfc05b1: Download complete 19:20:07 699f458cf7ca: Verifying Checksum 19:20:07 699f458cf7ca: Download complete 19:20:08 8998bd30e6a1: Verifying Checksum 19:20:08 8998bd30e6a1: Download complete 19:20:10 2437ff75d9bd: Download complete 19:20:12 8998bd30e6a1: Pull complete 19:20:12 04944245beec: Pull complete 19:20:13 699f458cf7ca: Pull complete 19:20:13 765212b225bb: Pull complete 19:20:14 f23df028b6ca: Pull complete 19:20:14 d65c8cfc05b1: Pull complete 19:20:29 2437ff75d9bd: Pull complete 19:20:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:20:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:29 prd-ubuntu20.04-docker-arm64-4c-16g-5871 does not seem to be running inside a container 19:20:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:20:32 $ docker top 6c73d5b1232b268e16e0072f2ee82347a09b1bdc16563f5b2e7ae6c254539909 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:33 ---> job-cost.sh 19:20:33 lf-activate-venv: SKIPPING 19:20:33 INFO: No Stack... 19:20:34 INFO: Retrieving Pricing Info for: v3-standard-4 19:20:35 INFO: Archiving Costs [Pipeline] sh 19:20:35 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 19:20:35 + cut -d, -f6 [Pipeline] lock 19:20:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] 19:20:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] did not exist. Created. 19:20:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:20:36 /w/workspace/device-modbus-go/1@tmp/durable-d19381f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:20:37 + echo total: 0.10999999940395355 [Pipeline] stash 19:20:37 Warning: overwriting stash ‘stack-cost’ 19:20:37 Stashed 1 file(s) [Pipeline] } 19:20:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:20:37 $ docker stop --time=1 6c73d5b1232b268e16e0072f2ee82347a09b1bdc16563f5b2e7ae6c254539909 19:20:39 $ docker rm -f --volumes 6c73d5b1232b268e16e0072f2ee82347a09b1bdc16563f5b2e7ae6c254539909 [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 19:20:39 provisioning config files... 19:20:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config3570588603435619204tmp [Pipeline] { [Pipeline] sh 19:20:40 + set +x 19:20:40 + curl+ -s https://codecov.io/bash 19:20:40 bash -s -- 19:20:40 19:20:40 _____ _ 19:20:40 / ____| | | 19:20:40 | | ___ __| | ___ ___ _____ __ 19:20:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:20:40 | |___| (_) | (_| | __/ (_| (_) \ V / 19:20:40 \_____\___/ \__,_|\___|\___\___/ \_/ 19:20:40 Bash-1.0.6 19:20:40 19:20:40 19:20:40 ==> git version 2.25.1 found 19:20:40 ==> 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 19:20:40 Release-Date: 2020-01-08 19:20:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:20:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:20:40 ==> Jenkins CI detected. 19:20:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-413 19:20:40 project root: . 19:20:40 --> token set from env 19:20:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:20:40 ==> Running gcov in . (disable via -X gcov) 19:20:40 ==> Python coveragepy not found 19:20:40 ==> Searching for coverage reports in: 19:20:40 + . 19:20:40 -> Found 1 reports 19:20:40 ==> Detecting git/mercurial file structure 19:20:40 ==> Reading reports 19:20:40 + ./coverage.out bytes=23241 19:20:40 ==> Appending adjustments 19:20:40 https://docs.codecov.io/docs/fixing-reports 19:20:40 + Found adjustments 19:20:40 ==> Gzipping contents 19:20:40 4.0K /tmp/codecov.NKXiy9.gz 19:20:40 ==> Uploading reports 19:20:40 url: https://codecov.io 19:20:40 query: branch=PR-413&commit=f04c9fdc0409ea788ffac7105768c0593d714fef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=413&job=&cmd_args= 19:20:40 -> Pinging Codecov 19:20:40 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=f04c9fdc0409ea788ffac7105768c0593d714fef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=413&job=&cmd_args= 19:20:40 -> Uploading to 19:20:40 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/55DBCA73C666E3227836607328DD7E49/f04c9fdc0409ea788ffac7105768c0593d714fef/ab95b925-d45f-42db-bf75-4cb2fc5a6e4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T192040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8918c73b8ddbd35bd5a73cbb2010373ca520338cfb75f7aa028fa78783fb2143 19:20:40 % Total % Received % Xferd Average Speed Time Time Time Current 19:20:40 Dload Upload Total Spent Left Speed 19:20:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 15143 --:--:-- --:--:-- --:--:-- 15202 19:20:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f04c9fdc0409ea788ffac7105768c0593d714fef [Pipeline] } 19:20:41 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 19:20:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-413/archives ] 19:20:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-413/archives 19:20:42 total 16 19:20:42 drwxr-xr-x 3 root root 4096 Feb 14 19:10 . 19:20:42 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 19:10 .. 19:20:42 drwxr-xr-x 2 root root 4096 Feb 14 19:10 cost 19:20:42 -rw-r--r-- 1 root root 88 Feb 14 19:10 cost.csv 19:20:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-413/archives 19:20:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-413/archives 19:20:42 total 16 19:20:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 19:10 . 19:20:42 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 19:10 .. 19:20:42 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 19:10 cost 19:20:42 -rw-r--r-- 1 jenkins jenkins 88 Feb 14 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:20:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:20:44 ---> package-listing.sh 19:20:44 ++ facter osfamily 19:20:44 ++ tr '[:upper:]' '[:lower:]' 19:20:44 + OS_FAMILY=debian 19:20:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-413 19:20:44 + START_PACKAGES=/tmp/packages_start.txt 19:20:44 + END_PACKAGES=/tmp/packages_end.txt 19:20:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:20:44 + PACKAGES=/tmp/packages_start.txt 19:20:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-413 ']' 19:20:44 + PACKAGES=/tmp/packages_end.txt 19:20:44 + case "${OS_FAMILY}" in 19:20:44 + dpkg -l 19:20:44 + grep '^ii' 19:20:44 + '[' -f /tmp/packages_start.txt ']' 19:20:44 + '[' -f /tmp/packages_end.txt ']' 19:20:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:20:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-413 ']' 19:20:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-413/archives/ 19:20:44 + 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 19:20:44 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 19:20:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:45 prd-ubuntu20.04-docker-8c-8g-5867 does not seem to be running inside a container 19:20:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:20:45 $ docker top 5f59dd05d53ed90ef0d46f02bc9c4718793873629a7f4b861cc057fe616cd256 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:46 + touch /tmp/pre-build-complete [Pipeline] sh 19:20:46 + mkdir -p /var/log/sysstat [Pipeline] sh 19:20:46 + ls /var/log/sa-host 19:20:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:46 provisioning config files... 19:20:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-413@tmp/config207063320127930721tmp [Pipeline] { [Pipeline] echo 19:20:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:20:47 ---> create-netrc.sh [Pipeline] } 19:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:20:48 ---> python-tools-install.sh [Pipeline] echo 19:20:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:20:48 ---> sudo-logs.sh 19:20:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:20:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:20:48 ---> job-cost.sh 19:20:48 lf-activate-venv: SKIPPING 19:20:48 DEBUG: total: 0.2199999988079071 19:20:48 INFO: Retrieving Stack Cost... 19:20:49 INFO: Retrieving Pricing Info for: v3-standard-8 19:20:49 INFO: Archiving Costs [Pipeline] echo 19:20:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:20:50 ---> logs-deploy.sh 19:20:50 lf-activate-venv: SKIPPING 19:20:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-413/1 19:20:50 INFO: archiving workspace using pattern(s): 19:20:51 Archives upload complete. 19:20:51 INFO: archiving logs to Nexus 19:20:51 ---> uname -a: 19:20:51 Linux prd-ubuntu20-04-docker-8c-8g-5867 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:20:51 19:20:51 19:20:51 ---> lscpu: 19:20:51 Architecture: x86_64 19:20:51 CPU op-mode(s): 32-bit, 64-bit 19:20:51 Byte Order: Little Endian 19:20:51 Address sizes: 40 bits physical, 48 bits virtual 19:20:51 CPU(s): 8 19:20:51 On-line CPU(s) list: 0-7 19:20:51 Thread(s) per core: 1 19:20:51 Core(s) per socket: 1 19:20:51 Socket(s): 8 19:20:51 NUMA node(s): 1 19:20:51 Vendor ID: AuthenticAMD 19:20:51 CPU family: 23 19:20:51 Model: 49 19:20:51 Model name: AMD EPYC-Rome Processor 19:20:51 Stepping: 0 19:20:51 CPU MHz: 2799.976 19:20:51 BogoMIPS: 5599.95 19:20:51 Virtualization: AMD-V 19:20:51 Hypervisor vendor: KVM 19:20:51 Virtualization type: full 19:20:51 L1d cache: 256 KiB 19:20:51 L1i cache: 256 KiB 19:20:51 L2 cache: 4 MiB 19:20:51 L3 cache: 128 MiB 19:20:51 NUMA node0 CPU(s): 0-7 19:20:51 Vulnerability Itlb multihit: Not affected 19:20:51 Vulnerability L1tf: Not affected 19:20:51 Vulnerability Mds: Not affected 19:20:51 Vulnerability Meltdown: Not affected 19:20:51 Vulnerability Mmio stale data: Not affected 19:20:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:20:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:20:51 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:20:51 Vulnerability Srbds: Not affected 19:20:51 Vulnerability Tsx async abort: Not affected 19:20:51 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 19:20:51 19:20:51 19:20:51 ---> nproc: 19:20:51 8 19:20:51 19:20:51