Pull request #361 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 c629de7c8079fac358025f93bf429ac6524aaad4+b3a201471f88f806ab320431fdd3bd4e90f5c29c (eed7a81409d4edf8870e9562f5b2bd797799919f) 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-ssh8521600123119746608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh12280820715202213870.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-361/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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17336444144891624279.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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12131767617254275266.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh17553071354342756175.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-361/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-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4808426065199351113.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19764’ Running on prd-ubuntu20.04-docker-8c-8g-19767 in /w/workspace/xfoundry_device-modbus-go_PR-361 [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-361 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b3a201471f88f806ab320431fdd3bd4e90f5c29c into PR head commit c629de7c8079fac358025f93bf429ac6524aaad4 Merge succeeded, producing c629de7c8079fac358025f93bf429ac6524aaad4 Checking out Revision c629de7c8079fac358025f93bf429ac6524aaad4 (PR-361) > 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/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # 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 b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:27:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:27:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:27:06 ========================================================= 21:27:06 EdgeX Global Pipelines Version Info 21:27:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:27:07 ------------------- 21:27:07 stable info: 21:27:07 ------------------- 21:27:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:27:07 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 21:27:07 Message: update stable to v1.0.237 21:27:08 ------------------- 21:27:08 experimental info: 21:27:08 ------------------- 21:27:08 Commited By: **** collab-it+edgex@linuxfoundation.org 21:27:08 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 21:27:08 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:27:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c629de7 [Pipeline] echo 21:27:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:09 provisioning config files... 21:27:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config3525829498771743378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:10 ---> docker-login.sh 21:27:10 nexus3.edgexfoundry.org:10001 21:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:10 Configure a credential helper to remove this warning. See 21:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:10 21:27:10 Login Succeeded 21:27:10 nexus3.edgexfoundry.org:10002 21:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:10 Configure a credential helper to remove this warning. See 21:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:10 21:27:10 Login Succeeded 21:27:10 nexus3.edgexfoundry.org:10003 21:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:10 Configure a credential helper to remove this warning. See 21:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:10 21:27:10 Login Succeeded 21:27:10 nexus3.edgexfoundry.org:10004 21:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:11 Configure a credential helper to remove this warning. See 21:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:11 21:27:11 Login Succeeded 21:27:11 docker.io 21:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:11 Configure a credential helper to remove this warning. See 21:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:11 21:27:11 Login Succeeded 21:27:11 ---> docker-login.sh ends [Pipeline] } 21:27:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:27:12 + git rev-list -1 --merges c629de7c8079fac358025f93bf429ac6524aaad4~1..c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo 21:27:12 -----------> git rev-list -1 --merges c629de7c8079fac358025f93bf429ac6524aaad4~1..c629de7c8079fac358025f93bf429ac6524aaad4 c629de7c8079fac358025f93bf429ac6524aaad4 [false] [Pipeline] sh 21:27:12 + git log --format=format:%s -1 c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo 21:27:12 ========================================================= 21:27:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:27:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:13 + git log --format=format:%s -1 c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo 21:27:13 [semverPrep] GIT_COMMIT: c629de7c8079fac358025f93bf429ac6524aaad4, Commit Message: build: Upgrade to Go 1.18 and optimize attribution script [Pipeline] echo 21:27:13 [semverPrep] This is not a build commit. [Pipeline] sh 21:27:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:13 + grep -v github /etc/ssh/ssh_known_hosts 21:27:13 + [ -e /tmp/ssh_known_hosts ] 21:27:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:27:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:27:13 + sudo tee -a /etc/ssh/ssh_known_hosts 21:27:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:14 21:27:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:14 0.1.4: Pulling from edgex-devops/py-git-semver 21:27:14 b85a868b505f: Pulling fs layer 21:27:14 e2be974225ed: Pulling fs layer 21:27:14 339a4e72a1f5: Pulling fs layer 21:27:14 988bab9f4d93: Pulling fs layer 21:27:14 1469e6f7b9e6: Pulling fs layer 21:27:14 eaf3925da568: Pulling fs layer 21:27:14 bab4dde63d76: Pulling fs layer 21:27:14 bde34c3a00c8: Pulling fs layer 21:27:14 b352a97aabf1: Pulling fs layer 21:27:14 4872d77fe225: Pulling fs layer 21:27:14 5851b861e8e6: Pulling fs layer 21:27:14 bab4dde63d76: Waiting 21:27:14 bde34c3a00c8: Waiting 21:27:14 5851b861e8e6: Waiting 21:27:14 b352a97aabf1: Waiting 21:27:14 1469e6f7b9e6: Waiting 21:27:14 eaf3925da568: Waiting 21:27:14 e2be974225ed: Download complete 21:27:14 1469e6f7b9e6: Verifying Checksum 21:27:14 1469e6f7b9e6: Download complete 21:27:14 339a4e72a1f5: Verifying Checksum 21:27:14 339a4e72a1f5: Download complete 21:27:14 eaf3925da568: Verifying Checksum 21:27:14 eaf3925da568: Download complete 21:27:14 bde34c3a00c8: Verifying Checksum 21:27:14 bde34c3a00c8: Download complete 21:27:14 b352a97aabf1: Verifying Checksum 21:27:14 b352a97aabf1: Download complete 21:27:14 4872d77fe225: Verifying Checksum 21:27:14 4872d77fe225: Download complete 21:27:14 5851b861e8e6: Verifying Checksum 21:27:14 5851b861e8e6: Download complete 21:27:14 b85a868b505f: Verifying Checksum 21:27:14 b85a868b505f: Download complete 21:27:14 bab4dde63d76: Verifying Checksum 21:27:14 bab4dde63d76: Download complete 21:27:15 b85a868b505f: Pull complete 21:27:16 e2be974225ed: Pull complete 21:27:16 339a4e72a1f5: Pull complete 21:27:16 988bab9f4d93: Pull complete 21:27:17 1469e6f7b9e6: Pull complete 21:27:17 eaf3925da568: Pull complete 21:27:18 bab4dde63d76: Pull complete 21:27:18 bde34c3a00c8: Pull complete 21:27:18 b352a97aabf1: Pull complete 21:27:19 4872d77fe225: Pull complete 21:27:19 5851b861e8e6: Pull complete 21:27:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:19 prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container 21:27:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@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 21:27:20 $ docker top de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 -eo pid,comm 21:27:21 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). 21:27:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:21 [ssh-agent] Looking for ssh-agent implementation... 21:27:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:21 $ docker exec de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent 21:27:21 SSH_AUTH_SOCK=/tmp/ssh-5cKs3N6TdDOB/agent.32 21:27:21 SSH_AGENT_PID=38 21:27:21 Running ssh-add (command line suppressed) 21:27:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_5857796249138166928.key (/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_5857796249138166928.key) 21:27:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:21 + git tag --points-at HEAD [Pipeline] } 21:27:21 $ docker exec --env ******** --env ******** de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent -k 21:27:22 unset SSH_AUTH_SOCK; 21:27:22 unset SSH_AGENT_PID; 21:27:22 echo Agent pid 38 killed; 21:27:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:27:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:22 [ssh-agent] Looking for ssh-agent implementation... 21:27:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:22 $ docker exec de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent 21:27:22 SSH_AUTH_SOCK=/tmp/ssh-aOgp3XkzUvyw/agent.70 21:27:22 SSH_AGENT_PID=76 21:27:22 Running ssh-add (command line suppressed) 21:27:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_1590265524582006935.key (/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_1590265524582006935.key) 21:27:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:22 + git semver init 21:27:23 2022-07-12 21:27:23,131 [run_init] DEBUG init version:0.0.0 force:False 21:27:23 2022-07-12 21:27:23,132 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-361/.semver 21:27:23 2022-07-12 21:27:23,133 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-361/.semver 21:27:23 2022-07-12 21:27:23,133 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-361/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-361, universal_newlines=False, shell=None, istream=None) 21:27:24 2022-07-12 21:27:23,913 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-361/.git/info/exclude 21:27:24 2022-07-12 21:27:23,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-361/.semver/PR-361 with force:False 21:27:24 2022-07-12 21:27:23,914 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-361/.semver/PR-361 21:27:24 2022-07-12 21:27:23,918 [execute] INFO git cat-file --batch-check 21:27:24 2022-07-12 21:27:23,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-361/.semver, universal_newlines=False, shell=None, istream=) 21:27:24 2022-07-12 21:27:23,926 [execute] INFO git cat-file --batch 21:27:24 2022-07-12 21:27:23,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-361/.semver, universal_newlines=False, shell=None, istream=) 21:27:24 2022-07-12 21:27:23,933 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-361/.semver/PR-361 21:27:24 0.0.0 [Pipeline] } 21:27:24 $ docker exec --env ******** --env ******** de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent -k 21:27:24 unset SSH_AUTH_SOCK; 21:27:24 unset SSH_AGENT_PID; 21:27:24 echo Agent pid 76 killed; 21:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:24 + git semver [Pipeline] } 21:27:25 $ docker stop --time=1 de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 21:27:26 $ docker rm -f de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 [Pipeline] // withDockerContainer [Pipeline] sh 21:27:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:27:27 Stashed 1 file(s) [Pipeline] echo 21:27:27 [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 21:27:27 provisioning config files... 21:27:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config3593831186651765439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:28 ---> docker-login.sh 21:27:28 nexus3.edgexfoundry.org:10001 21:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:28 Configure a credential helper to remove this warning. See 21:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:28 21:27:28 Login Succeeded 21:27:28 nexus3.edgexfoundry.org:10002 21:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:28 Configure a credential helper to remove this warning. See 21:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:28 21:27:28 Login Succeeded 21:27:28 nexus3.edgexfoundry.org:10003 21:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:28 Configure a credential helper to remove this warning. See 21:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:28 21:27:28 Login Succeeded 21:27:28 nexus3.edgexfoundry.org:10004 21:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:28 Configure a credential helper to remove this warning. See 21:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:28 21:27:28 Login Succeeded 21:27:28 docker.io 21:27:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:28 Configure a credential helper to remove this warning. See 21:27:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:28 21:27:28 Login Succeeded 21:27:28 ---> docker-login.sh ends [Pipeline] } 21:27:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:27:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:29 ========================================================= 21:27:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:27:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:29 + 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 . 21:27:29 Sending build context to Docker daemon 6.09MB 21:27:29 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:27:29 Step 2/10 : FROM ${BASE} AS builder 21:27:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:27:29 2408cc74d12b: Pulling fs layer 21:27:29 ea60b727a1ce: Pulling fs layer 21:27:29 30c4a7721957: Pulling fs layer 21:27:29 370296b7ddb6: Pulling fs layer 21:27:29 7c6cee850709: Pulling fs layer 21:27:29 39a5fcdaea64: Pulling fs layer 21:27:29 d94ebbe4e438: Pulling fs layer 21:27:29 bcfd1f05c69d: Pulling fs layer 21:27:29 59ccb84bbe0f: Pulling fs layer 21:27:29 370296b7ddb6: Waiting 21:27:29 7c6cee850709: Waiting 21:27:29 39a5fcdaea64: Waiting 21:27:29 d94ebbe4e438: Waiting 21:27:29 59ccb84bbe0f: Waiting 21:27:29 bcfd1f05c69d: Waiting 21:27:29 30c4a7721957: Verifying Checksum 21:27:29 30c4a7721957: Download complete 21:27:29 7c6cee850709: Download complete 21:27:29 39a5fcdaea64: Verifying Checksum 21:27:29 39a5fcdaea64: Download complete 21:27:29 2408cc74d12b: Verifying Checksum 21:27:29 2408cc74d12b: Download complete 21:27:29 d94ebbe4e438: Verifying Checksum 21:27:29 d94ebbe4e438: Download complete 21:27:29 2408cc74d12b: Pull complete 21:27:30 ea60b727a1ce: Pull complete 21:27:30 30c4a7721957: Pull complete 21:27:30 59ccb84bbe0f: Verifying Checksum 21:27:30 59ccb84bbe0f: Download complete 21:27:30 bcfd1f05c69d: Verifying Checksum 21:27:30 bcfd1f05c69d: Download complete 21:27:30 370296b7ddb6: Verifying Checksum 21:27:30 370296b7ddb6: Download complete 21:27:34 370296b7ddb6: Pull complete 21:27:34 7c6cee850709: Pull complete 21:27:35 39a5fcdaea64: Pull complete 21:27:35 d94ebbe4e438: Pull complete 21:27:37 bcfd1f05c69d: Pull complete 21:27:38 59ccb84bbe0f: Pull complete 21:27:38 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:27:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:27:38 ---> a4fb48ad2a94 21:27:38 Step 3/10 : ARG MAKE='make build' 21:27:40 ---> Running in 2b97e4651d73 21:27:40 Removing intermediate container 2b97e4651d73 21:27:40 ---> b5739635f0f1 21:27:40 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:27:40 ---> Running in eb061b920a2a 21:27:40 Removing intermediate container eb061b920a2a 21:27:40 ---> cb44290ef01f 21:27:40 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:27:40 ---> Running in 933fc8745ec7 21:27:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:27:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:27:42 (1/8) Installing openssh-keygen (9.0_p1-r1) 21:27:42 (2/8) Installing libedit (20210910.3.1-r0) 21:27:42 (3/8) Installing openssh-client-common (9.0_p1-r1) 21:27:42 Still waiting to schedule task 21:27:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19766’ 21:27:42 (4/8) Installing openssh-client-default (9.0_p1-r1) 21:27:42 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 21:27:42 (6/8) Installing openssh-server-common (9.0_p1-r1) 21:27:42 (7/8) Installing openssh-server (9.0_p1-r1) 21:27:42 (8/8) Installing openssh (9.0_p1-r1) 21:27:43 Executing busybox-1.35.0-r13.trigger 21:27:43 OK: 217 MiB in 59 packages 21:27:43 Removing intermediate container 933fc8745ec7 21:27:43 ---> 5332d5519b51 21:27:43 Step 6/10 : WORKDIR /device-modbus-go 21:27:43 ---> Running in 2c9490c58313 21:27:43 Removing intermediate container 2c9490c58313 21:27:43 ---> 98b24bd6f684 21:27:43 Step 7/10 : COPY go.mod vendor* ./ 21:27:43 ---> 51b79313b795 21:27:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:44 ---> Running in 9102f5b60082 21:28:02 Removing intermediate container 9102f5b60082 21:28:02 ---> e00a860d1b74 21:28:02 Step 9/10 : COPY . . 21:28:02 ---> b3fa0406639a 21:28:02 Step 10/10 : RUN ${MAKE} 21:28:02 ---> Running in 93ce4da64b5d 21:28:02 noop 21:28:03 Removing intermediate container 93ce4da64b5d 21:28:03 ---> 1455acedc036 21:28:03 Successfully built 1455acedc036 21:28:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:03 + docker inspect -f . ci-base-image-x86_64 21:28:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:03 prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container 21:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@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 21:28:04 $ docker top d8eaac5b54f48416984fbc1ba47a492c75b55745e0cd2611c7c4c81ae0d19ba1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:05 + go version 21:28:05 go version go1.18.3 linux/amd64 [Pipeline] } 21:28:05 $ docker stop --time=1 d8eaac5b54f48416984fbc1ba47a492c75b55745e0cd2611c7c4c81ae0d19ba1 21:28:07 $ docker rm -f d8eaac5b54f48416984fbc1ba47a492c75b55745e0cd2611c7c4c81ae0d19ba1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:07 + docker inspect -f . ci-base-image-x86_64 21:28:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:07 prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container 21:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@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 21:28:08 $ docker top 9986374bfb739c694ce3bdcf9dc738311540725735b3a88612866e7d77b34578 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:08 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-361 [Pipeline] fileExists [Pipeline] sh 21:28:09 + make test 21:28:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:28:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:28:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:28:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.4% of statements 21:28:26 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." 21:28:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:28:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:29 ./bin/test-attribution-txt.sh [Pipeline] echo 21:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:28:29 $ docker stop --time=1 9986374bfb739c694ce3bdcf9dc738311540725735b3a88612866e7d77b34578 21:28:31 $ docker rm -f 9986374bfb739c694ce3bdcf9dc738311540725735b3a88612866e7d77b34578 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:28:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:28:32 + ls -al . 21:28:32 total 184 21:28:32 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:28 . 21:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:27 .. 21:28:32 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:27 .dockerignore 21:28:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:28 .git 21:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:27 .github 21:28:32 -rw-rw-r-- 1 jenkins jenkins 331 Jul 12 21:27 .gitignore 21:28:32 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:27 .golangci.yml 21:28:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:27 .semver 21:28:32 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 12 21:27 Attribution.txt 21:28:32 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 12 21:27 CHANGELOG.md 21:28:32 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 12 21:27 Dockerfile 21:28:32 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:27 GOVERNANCE.md 21:28:32 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 21:27 Jenkinsfile 21:28:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:27 LICENSE 21:28:32 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 12 21:27 Makefile 21:28:32 -rw-rw-r-- 1 jenkins jenkins 622 Jul 12 21:27 OWNERS.md 21:28:32 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 12 21:27 README.md 21:28:32 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:27 VERSION 21:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:27 bin 21:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:27 cmd 21:28:32 -rw-r--r-- 1 jenkins jenkins 24065 Jul 12 21:28 coverage.out 21:28:32 -rw-rw-r-- 1 jenkins jenkins 3404 Jul 12 21:27 go.mod 21:28:32 -rw-rw-r-- 1 jenkins jenkins 35446 Jul 12 21:27 go.sum 21:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:27 internal 21:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:27 simulator 21:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:27 snap 21:28:32 -rw-rw-r-- 1 jenkins jenkins 229 Jul 12 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:33 + 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=c629de7c8079fac358025f93bf429ac6524aaad4 --label arch=amd64 --label version=0.0.0 . 21:28:33 Sending build context to Docker daemon 6.115MB 21:28:33 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:28:33 Step 2/23 : FROM ${BASE} AS builder 21:28:33 ---> 1455acedc036 21:28:33 Step 3/23 : ARG MAKE='make build' 21:28:33 ---> Running in da4f8bad4246 21:28:33 Removing intermediate container da4f8bad4246 21:28:33 ---> 58d542c8989c 21:28:33 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:28:33 ---> Running in 989157b61b5a 21:28:34 Removing intermediate container 989157b61b5a 21:28:34 ---> a9f9c5dedfed 21:28:34 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:28:34 ---> Running in 9edd281444f5 21:28:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:28:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:28:35 OK: 217 MiB in 59 packages 21:28:35 Removing intermediate container 9edd281444f5 21:28:35 ---> 1d079ddaceb5 21:28:35 Step 6/23 : WORKDIR /device-modbus-go 21:28:35 ---> Running in 106bd09513be 21:28:36 Removing intermediate container 106bd09513be 21:28:36 ---> 0401b05ab90c 21:28:36 Step 7/23 : COPY go.mod vendor* ./ 21:28:36 ---> 149fe4d6d066 21:28:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:36 ---> Running in 0d8848111a78 21:28:37 Removing intermediate container 0d8848111a78 21:28:37 ---> 5b686852ae24 21:28:37 Step 9/23 : COPY . . 21:28:37 ---> 5a0b914fd599 21:28:37 Step 10/23 : RUN ${MAKE} 21:28:37 ---> Running in 1d2645e99436 21:28:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:28:59 Removing intermediate container 1d2645e99436 21:28:59 ---> 4d4143f01b51 21:28:59 Step 11/23 : FROM alpine:3.14 21:28:59 3.14: Pulling from library/alpine 21:28:59 8663204ce13b: Pulling fs layer 21:28:59 8663204ce13b: Verifying Checksum 21:28:59 8663204ce13b: Download complete 21:28:59 8663204ce13b: Pull complete 21:28:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:28:59 Status: Downloaded newer image for alpine:3.14 21:28:59 ---> e04c818066af 21:28:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:28:59 ---> Running in fa9442426f8d 21:28:59 Removing intermediate container fa9442426f8d 21:28:59 ---> fd19c3844310 21:28:59 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:28:59 ---> Running in cc08dae0eba7 21:28:59 Removing intermediate container cc08dae0eba7 21:28:59 ---> be291b75e0b6 21:28:59 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 21:28:59 ---> Running in a9df93c4b43e 21:28:59 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:29:00 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:29:00 (1/6) Installing dumb-init (1.2.5-r1) 21:29:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:29:00 (3/6) Installing libsodium (1.0.18-r0) 21:29:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:29:00 (5/6) Installing libzmq (4.3.4-r0) 21:29:00 (6/6) Installing zeromq (4.3.4-r0) 21:29:01 Executing busybox-1.33.1-r7.trigger 21:29:01 OK: 8 MiB in 20 packages 21:29:01 Removing intermediate container a9df93c4b43e 21:29:01 ---> f6773d99f555 21:29:01 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:29:01 ---> 3ea9fb45f1aa 21:29:01 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:29:02 ---> 8eaadd7fddc9 21:29:02 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:29:02 ---> 5cc50fc32208 21:29:02 Step 18/23 : EXPOSE 59901 21:29:02 ---> Running in 188bf2a9edfe 21:29:02 Removing intermediate container 188bf2a9edfe 21:29:02 ---> 53e69b3940d3 21:29:02 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:29:02 ---> Running in b4aeb38f6299 21:29:02 Removing intermediate container b4aeb38f6299 21:29:02 ---> d75469d059f5 21:29:02 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:29:02 ---> Running in cb836fe4326b 21:29:02 Removing intermediate container cb836fe4326b 21:29:02 ---> ec29b404f348 21:29:02 Step 21/23 : LABEL arch=amd64 21:29:02 ---> Running in b83a10990322 21:29:02 Removing intermediate container b83a10990322 21:29:02 ---> bdb4b1d8e238 21:29:02 Step 22/23 : LABEL git_sha=c629de7c8079fac358025f93bf429ac6524aaad4 21:29:02 ---> Running in bd6c3574fbe0 21:29:02 Removing intermediate container bd6c3574fbe0 21:29:02 ---> ad8691104398 21:29:02 Step 23/23 : LABEL version=0.0.0 21:29:02 ---> Running in 18ae984ee0c8 21:29:02 Removing intermediate container 18ae984ee0c8 21:29:02 ---> d8391b05fe1f 21:29:02 [Warning] One or more build-args [ARCH] were not consumed 21:29:02 Successfully built d8391b05fe1f 21:29:02 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 21:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:03 21:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:04 latest: Pulling from edgex-lftools-log-publisher 21:29:04 5eb5b503b376: Pulling fs layer 21:29:04 5c69ac0246d0: Pulling fs layer 21:29:04 ec43610c2a17: Pulling fs layer 21:29:04 3a2ae6a8a46f: Pulling fs layer 21:29:04 33b1e0a273af: Pulling fs layer 21:29:04 5d3b04190fa2: Pulling fs layer 21:29:04 2f39f015ded8: Pulling fs layer 21:29:04 5d3b04190fa2: Waiting 21:29:04 2f39f015ded8: Waiting 21:29:04 33b1e0a273af: Waiting 21:29:04 5c69ac0246d0: Verifying Checksum 21:29:04 5c69ac0246d0: Download complete 21:29:04 3a2ae6a8a46f: Verifying Checksum 21:29:04 3a2ae6a8a46f: Download complete 21:29:04 33b1e0a273af: Verifying Checksum 21:29:04 33b1e0a273af: Download complete 21:29:04 5d3b04190fa2: Verifying Checksum 21:29:04 5d3b04190fa2: Download complete 21:29:04 ec43610c2a17: Verifying Checksum 21:29:04 ec43610c2a17: Download complete 21:29:04 5eb5b503b376: Verifying Checksum 21:29:04 5eb5b503b376: Download complete 21:29:05 2f39f015ded8: Download complete 21:29:05 5eb5b503b376: Pull complete 21:29:05 5c69ac0246d0: Pull complete 21:29:06 ec43610c2a17: Pull complete 21:29:06 3a2ae6a8a46f: Pull complete 21:29:06 33b1e0a273af: Pull complete 21:29:06 5d3b04190fa2: Pull complete 21:29:11 2f39f015ded8: Pull complete 21:29:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:11 prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container 21:29:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@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 21:29:13 $ docker top e8488e5b30b31303057557424bbf133b39c348571b7c088c582ffad1c5dd5aca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:14 ---> job-cost.sh 21:29:14 lf-activate-venv: SKIPPING 21:29:14 INFO: No Stack... 21:29:14 INFO: Retrieving Pricing Info for: v3-standard-8 21:29:15 INFO: Archiving Costs [Pipeline] sh 21:29:15 + cat /w/workspace/xfoundry_device-modbus-go_PR-361/archives/cost.csv 21:29:15 + cut -d, -f6 [Pipeline] lock 21:29:15 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] 21:29:15 Resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] did not exist. Created. 21:29:15 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:29:15 + echo total: 0.2199999988079071 [Pipeline] stash 21:29:15 Stashed 1 file(s) [Pipeline] } 21:29:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:29:16 $ docker stop --time=1 e8488e5b30b31303057557424bbf133b39c348571b7c088c582ffad1c5dd5aca 21:29:17 $ docker rm -f e8488e5b30b31303057557424bbf133b39c348571b7c088c582ffad1c5dd5aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:30:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19768 in /w/workspace/xfoundry_device-modbus-go_PR-361 [Pipeline] { [Pipeline] ws 21:30:00 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:30:00 Selected Git installation does not exist. Using Default 21:30:00 The recommended git tool is: NONE 21:30:06 using credential edgex-jenkins-ssh 21:30:06 Cloning the remote Git repository 21:30:06 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:30:06 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:30:06 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:30:06 > git --version # timeout=10 21:30:06 > git --version # 'git version 2.25.1' 21:30:06 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:30:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:30:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:30:07 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:30:08 Merging remotes/origin/main commit b3a201471f88f806ab320431fdd3bd4e90f5c29c into PR head commit c629de7c8079fac358025f93bf429ac6524aaad4 21:30:08 Merge succeeded, producing c629de7c8079fac358025f93bf429ac6524aaad4 21:30:08 Checking out Revision c629de7c8079fac358025f93bf429ac6524aaad4 (PR-361) 21:30:08 > git config core.sparsecheckout # timeout=10 21:30:08 > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # timeout=10 21:30:08 > git remote # timeout=10 21:30:08 > git config --get remote.origin.url # timeout=10 21:30:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:08 > git merge b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 21:30:08 > git rev-parse HEAD^{commit} # timeout=10 21:30:08 > git config core.sparsecheckout # timeout=10 21:30:08 > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # timeout=10 21:30:12 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script" 21:30:12 > git --version # timeout=10 21:30:12 > git --version # 'git version 2.25.1' 21:30:12 fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:30:13 % Total % Received % Xferd Average Speed Time Time Time Current 21:30:13 Dload Upload Total Spent Left Speed 21:30:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 81298 0 --:--:-- --:--:-- --:--:-- 81840 [Pipeline] sh 21:30:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:30:14 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 21:30:14 21:30:14 { 21:30:14 "registry-mirrors": [ 21:30:14 "https://nexus3.edgexfoundry.org:10001" 21:30:14 ], 21:30:14 "bip": "10.250.0.254/24", 21:30:14 "hosts": [ 21:30:14 "tcp://0.0.0.0:5555", 21:30:14 "unix:///var/run/docker.sock" 21:30:14 ], 21:30:14 "mtu": 1458, 21:30:14 "selinux-enabled": true, 21:30:14 "seccomp-profile": "/etc/docker/seccomp.json" 21:30:14 } [Pipeline] sh 21:30:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:30:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:34 provisioning config files... 21:30:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config932157204337570959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:34 ---> docker-login.sh 21:30:34 nexus3.edgexfoundry.org:10001 21:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:35 Configure a credential helper to remove this warning. See 21:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:35 21:30:35 Login Succeeded 21:30:35 nexus3.edgexfoundry.org:10002 21:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:35 Configure a credential helper to remove this warning. See 21:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:35 21:30:35 Login Succeeded 21:30:35 nexus3.edgexfoundry.org:10003 21:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:36 Configure a credential helper to remove this warning. See 21:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:36 21:30:36 Login Succeeded 21:30:36 nexus3.edgexfoundry.org:10004 21:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:36 Configure a credential helper to remove this warning. See 21:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:36 21:30:36 Login Succeeded 21:30:36 docker.io 21:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:37 Configure a credential helper to remove this warning. See 21:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:37 21:30:37 Login Succeeded 21:30:37 ---> docker-login.sh ends [Pipeline] } 21:30:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:38 ========================================================= 21:30:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:30:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:30:38 Sending build context to Docker daemon 3.178MB 21:30:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:30:38 Step 2/10 : FROM ${BASE} AS builder 21:30:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:30:39 b3c136eddcbf: Pulling fs layer 21:30:39 c0a3192eca97: Pulling fs layer 21:30:39 a050256f5b6f: Pulling fs layer 21:30:39 656be50a0ddc: Pulling fs layer 21:30:39 2bbca73fdf42: Pulling fs layer 21:30:39 46d945488cbd: Pulling fs layer 21:30:39 8a5474983e97: Pulling fs layer 21:30:39 329c88fbcd65: Pulling fs layer 21:30:39 2bbca73fdf42: Waiting 21:30:39 656be50a0ddc: Waiting 21:30:39 46d945488cbd: Waiting 21:30:39 8a5474983e97: Waiting 21:30:39 329c88fbcd65: Waiting 21:30:39 a050256f5b6f: Verifying Checksum 21:30:39 a050256f5b6f: Download complete 21:30:39 c0a3192eca97: Download complete 21:30:39 2bbca73fdf42: Verifying Checksum 21:30:39 46d945488cbd: Verifying Checksum 21:30:39 46d945488cbd: Download complete 21:30:39 b3c136eddcbf: Verifying Checksum 21:30:40 b3c136eddcbf: Pull complete 21:30:40 329c88fbcd65: Verifying Checksum 21:30:40 329c88fbcd65: Download complete 21:30:40 c0a3192eca97: Pull complete 21:30:40 a050256f5b6f: Pull complete 21:30:41 8a5474983e97: Verifying Checksum 21:30:41 8a5474983e97: Download complete 21:30:42 656be50a0ddc: Download complete 21:30:57 656be50a0ddc: Pull complete 21:30:57 2bbca73fdf42: Pull complete 21:30:57 46d945488cbd: Pull complete 21:31:01 8a5474983e97: Pull complete 21:31:03 329c88fbcd65: Pull complete 21:31:03 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:31:03 ---> ff4287adb874 21:31:03 Step 3/10 : ARG MAKE='make build' 21:31:05 ---> Running in 17691908b548 21:31:05 Removing intermediate container 17691908b548 21:31:05 ---> 040e294a77cb 21:31:05 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:31:05 ---> Running in 332744dc58b2 21:31:08 Removing intermediate container 332744dc58b2 21:31:08 ---> c5dce67d2795 21:31:08 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:31:08 ---> Running in 19c56730b233 21:31:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:31:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:31:11 (1/8) Installing openssh-keygen (9.0_p1-r1) 21:31:11 (2/8) Installing libedit (20210910.3.1-r0) 21:31:11 (3/8) Installing openssh-client-common (9.0_p1-r1) 21:31:11 (4/8) Installing openssh-client-default (9.0_p1-r1) 21:31:11 (5/8) Installing openssh-sftp-server (9.0_p1-r1) 21:31:11 (6/8) Installing openssh-server-common (9.0_p1-r1) 21:31:11 (7/8) Installing openssh-server (9.0_p1-r1) 21:31:11 (8/8) Installing openssh (9.0_p1-r1) 21:31:11 Executing busybox-1.35.0-r13.trigger 21:31:11 OK: 228 MiB in 59 packages 21:31:12 Removing intermediate container 19c56730b233 21:31:12 ---> 648ffe7c9251 21:31:12 Step 6/10 : WORKDIR /device-modbus-go 21:31:12 ---> Running in 5e8f5a3fdd69 21:31:13 Removing intermediate container 5e8f5a3fdd69 21:31:13 ---> a31be5fd3a17 21:31:13 Step 7/10 : COPY go.mod vendor* ./ 21:31:13 ---> d12c9246559f 21:31:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:13 ---> Running in f0460b87dce9 21:32:00 Removing intermediate container f0460b87dce9 21:32:00 ---> 92d0d73781a6 21:32:00 Step 9/10 : COPY . . 21:32:00 ---> 24c0939526a2 21:32:00 Step 10/10 : RUN ${MAKE} 21:32:00 ---> Running in f9ee2629c246 21:32:00 noop 21:32:00 Removing intermediate container f9ee2629c246 21:32:00 ---> 5ef1f197899c 21:32:00 Successfully built 5ef1f197899c 21:32:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:01 + docker inspect -f . ci-base-image-arm64 21:32:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:01 prd-ubuntu20.04-docker-arm64-4c-16g-19768 does not seem to be running inside a container 21:32:01 $ 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 21:32:03 $ docker top c17cf2741855754bef725e3b32fd9e0afe6410f7b6a5cffe31a11de0f472eb54 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:04 + go version 21:32:04 go version go1.18.3 linux/arm64 [Pipeline] } 21:32:04 $ docker stop --time=1 c17cf2741855754bef725e3b32fd9e0afe6410f7b6a5cffe31a11de0f472eb54 21:32:05 $ docker rm -f c17cf2741855754bef725e3b32fd9e0afe6410f7b6a5cffe31a11de0f472eb54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:06 + docker inspect -f . ci-base-image-arm64 21:32:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:06 prd-ubuntu20.04-docker-arm64-4c-16g-19768 does not seem to be running inside a container 21:32:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 21:32:08 $ docker top 1a9c3a6228da69121f4d44831afd3faee6dfc0896ed7112546c0ae7d06dbc1a0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:32:09 + make test 21:32:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:32:11 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:33:33 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:33:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 46.4% of statements 21:33:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:33:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:33:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:33:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:33:48 ./bin/test-attribution-txt.sh [Pipeline] echo 21:33:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:33:48 $ docker stop --time=1 1a9c3a6228da69121f4d44831afd3faee6dfc0896ed7112546c0ae7d06dbc1a0 21:33:50 $ docker rm -f 1a9c3a6228da69121f4d44831afd3faee6dfc0896ed7112546c0ae7d06dbc1a0 [Pipeline] // withDockerContainer [Pipeline] sh 21:33:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:33:51 Warning: overwriting stash ‘coverage-report’ 21:33:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:33:52 + ls -al . 21:33:52 total 180 21:33:52 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 21:32 . 21:33:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:30 .. 21:33:52 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:30 .dockerignore 21:33:52 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:30 .git 21:33:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:30 .github 21:33:52 -rw-rw-r-- 1 jenkins jenkins 331 Jul 12 21:30 .gitignore 21:33:52 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:30 .golangci.yml 21:33:52 -rw-rw-r-- 1 jenkins jenkins 9636 Jul 12 21:30 Attribution.txt 21:33:52 -rw-rw-r-- 1 jenkins jenkins 10001 Jul 12 21:30 CHANGELOG.md 21:33:52 -rw-rw-r-- 1 jenkins jenkins 1550 Jul 12 21:30 Dockerfile 21:33:52 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:30 GOVERNANCE.md 21:33:52 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 21:30 Jenkinsfile 21:33:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:30 LICENSE 21:33:52 -rw-rw-r-- 1 jenkins jenkins 1892 Jul 12 21:30 Makefile 21:33:52 -rw-rw-r-- 1 jenkins jenkins 622 Jul 12 21:30 OWNERS.md 21:33:52 -rw-rw-r-- 1 jenkins jenkins 3397 Jul 12 21:30 README.md 21:33:52 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:27 VERSION 21:33:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:30 bin 21:33:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:30 cmd 21:33:52 -rw-r--r-- 1 jenkins jenkins 24065 Jul 12 21:33 coverage.out 21:33:52 -rw-rw-r-- 1 jenkins jenkins 3404 Jul 12 21:30 go.mod 21:33:52 -rw-rw-r-- 1 jenkins jenkins 35446 Jul 12 21:30 go.sum 21:33:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:30 internal 21:33:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:30 simulator 21:33:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:30 snap 21:33:52 -rw-rw-r-- 1 jenkins jenkins 229 Jul 12 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:53 + 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=c629de7c8079fac358025f93bf429ac6524aaad4 --label arch=arm64 --label version=0.0.0 . 21:33:53 Sending build context to Docker daemon 3.204MB 21:33:53 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:33:53 Step 2/23 : FROM ${BASE} AS builder 21:33:53 ---> 5ef1f197899c 21:33:53 Step 3/23 : ARG MAKE='make build' 21:33:53 ---> Running in 1d2fdc08f463 21:33:53 Removing intermediate container 1d2fdc08f463 21:33:53 ---> 9807dc653cda 21:33:53 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:33:53 ---> Running in 9862f481caa6 21:33:55 Removing intermediate container 9862f481caa6 21:33:55 ---> 678ffe26f261 21:33:55 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:33:55 ---> Running in cbfc9823a10b 21:33:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:33:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:33:58 OK: 228 MiB in 59 packages 21:33:59 Removing intermediate container cbfc9823a10b 21:33:59 ---> 577ef46a6795 21:33:59 Step 6/23 : WORKDIR /device-modbus-go 21:33:59 ---> Running in 73963046c68d 21:33:59 Removing intermediate container 73963046c68d 21:33:59 ---> 125f79643a48 21:33:59 Step 7/23 : COPY go.mod vendor* ./ 21:33:59 ---> f838d9a711de 21:33:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:00 ---> Running in abd72afa45ac 21:34:02 Removing intermediate container abd72afa45ac 21:34:02 ---> f3d2a15e9405 21:34:02 Step 9/23 : COPY . . 21:34:02 ---> 9e344fc4f254 21:34:02 Step 10/23 : RUN ${MAKE} 21:34:02 ---> Running in ed80c16d5758 21:34:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:36:10 Removing intermediate container ed80c16d5758 21:36:10 ---> b182c680dfaa 21:36:10 Step 11/23 : FROM alpine:3.14 21:36:10 3.14: Pulling from library/alpine 21:36:10 455c02918c45: Pulling fs layer 21:36:10 455c02918c45: Verifying Checksum 21:36:10 455c02918c45: Download complete 21:36:10 455c02918c45: Pull complete 21:36:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:36:10 Status: Downloaded newer image for alpine:3.14 21:36:10 ---> ac73e934f311 21:36:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:36:10 ---> Running in b9590d9ff7bd 21:36:10 Removing intermediate container b9590d9ff7bd 21:36:10 ---> 478a8078b14c 21:36:10 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:36:10 ---> Running in cbed1517e928 21:36:10 Removing intermediate container cbed1517e928 21:36:10 ---> cf13f8f07bee 21:36:10 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 21:36:10 ---> Running in 89093d23f4c6 21:36:10 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:36:10 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:36:10 (1/6) Installing dumb-init (1.2.5-r1) 21:36:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:36:10 (3/6) Installing libsodium (1.0.18-r0) 21:36:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:36:10 (5/6) Installing libzmq (4.3.4-r0) 21:36:11 (6/6) Installing zeromq (4.3.4-r0) 21:36:11 Executing busybox-1.33.1-r7.trigger 21:36:11 OK: 8 MiB in 20 packages 21:36:12 Removing intermediate container 89093d23f4c6 21:36:12 ---> 9fefa13ccaa9 21:36:12 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:36:13 ---> a2da5d353695 21:36:13 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:36:13 ---> 866864344fca 21:36:13 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:36:14 ---> f2b5ca76c6ad 21:36:14 Step 18/23 : EXPOSE 59901 21:36:14 ---> Running in 1ce5afadc07a 21:36:15 Removing intermediate container 1ce5afadc07a 21:36:15 ---> a0b94c56d285 21:36:15 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:36:15 ---> Running in 19c8ef8fdfa6 21:36:15 Removing intermediate container 19c8ef8fdfa6 21:36:15 ---> 5f70e199a60a 21:36:15 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:36:15 ---> Running in d83b0ff8d8bc 21:36:15 Removing intermediate container d83b0ff8d8bc 21:36:15 ---> b42907b01b08 21:36:15 Step 21/23 : LABEL arch=arm64 21:36:15 ---> Running in 7e8ec854aeec 21:36:16 Removing intermediate container 7e8ec854aeec 21:36:16 ---> 508bf6238f89 21:36:16 Step 22/23 : LABEL git_sha=c629de7c8079fac358025f93bf429ac6524aaad4 21:36:16 ---> Running in 46f301135e09 21:36:16 Removing intermediate container 46f301135e09 21:36:16 ---> 71dbfcfef9c4 21:36:16 Step 23/23 : LABEL version=0.0.0 21:36:16 ---> Running in 6df9fb40a7a0 21:36:16 Removing intermediate container 6df9fb40a7a0 21:36:16 ---> a541df390c1d 21:36:16 [Warning] One or more build-args [ARCH] were not consumed 21:36:16 Successfully built a541df390c1d 21:36:16 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:17 21:36:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:18 arm64: Pulling from edgex-lftools-log-publisher 21:36:18 8998bd30e6a1: Pulling fs layer 21:36:18 04944245beec: Pulling fs layer 21:36:18 699f458cf7ca: Pulling fs layer 21:36:18 765212b225bb: Pulling fs layer 21:36:18 f23df028b6ca: Pulling fs layer 21:36:18 d65c8cfc05b1: Pulling fs layer 21:36:18 2437ff75d9bd: Pulling fs layer 21:36:18 765212b225bb: Waiting 21:36:18 f23df028b6ca: Waiting 21:36:18 d65c8cfc05b1: Waiting 21:36:18 2437ff75d9bd: Waiting 21:36:18 04944245beec: Verifying Checksum 21:36:18 04944245beec: Download complete 21:36:18 765212b225bb: Verifying Checksum 21:36:18 765212b225bb: Download complete 21:36:18 f23df028b6ca: Verifying Checksum 21:36:18 f23df028b6ca: Download complete 21:36:18 d65c8cfc05b1: Verifying Checksum 21:36:18 d65c8cfc05b1: Download complete 21:36:18 699f458cf7ca: Verifying Checksum 21:36:18 699f458cf7ca: Download complete 21:36:18 8998bd30e6a1: Verifying Checksum 21:36:18 8998bd30e6a1: Download complete 21:36:21 2437ff75d9bd: Verifying Checksum 21:36:21 2437ff75d9bd: Download complete 21:36:22 8998bd30e6a1: Pull complete 21:36:23 04944245beec: Pull complete 21:36:24 699f458cf7ca: Pull complete 21:36:25 765212b225bb: Pull complete 21:36:25 f23df028b6ca: Pull complete 21:36:26 d65c8cfc05b1: Pull complete 21:36:41 2437ff75d9bd: Pull complete 21:36:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:41 prd-ubuntu20.04-docker-arm64-4c-16g-19768 does not seem to be running inside a container 21:36:41 $ 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 21:36:44 $ docker top de6e77fbf76a52ad2ce57c93ceaaf8d371ffaee1545eca3ddd470fc6437c6985 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:45 ---> job-cost.sh 21:36:45 lf-activate-venv: SKIPPING 21:36:45 INFO: No Stack... 21:36:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:36:46 INFO: Archiving Costs [Pipeline] sh 21:36:47 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:36:47 + cut -d, -f6 [Pipeline] lock 21:36:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] 21:36:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] did not exist. Created. 21:36:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:48 /w/workspace/device-modbus-go/1@tmp/durable-d91c2a72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:36:49 + echo total: 0.10999999940395355 [Pipeline] stash 21:36:49 Warning: overwriting stash ‘stack-cost’ 21:36:49 Stashed 1 file(s) [Pipeline] } 21:36:49 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:36:49 $ docker stop --time=1 de6e77fbf76a52ad2ce57c93ceaaf8d371ffaee1545eca3ddd470fc6437c6985 21:36:50 $ docker rm -f de6e77fbf76a52ad2ce57c93ceaaf8d371ffaee1545eca3ddd470fc6437c6985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:36:51 provisioning config files... 21:36:51 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config491350625784106227tmp [Pipeline] { [Pipeline] sh 21:36:52 + set +x 21:36:52 + curl -s https://codecov.io/bash 21:36:52 + bash -s -- 21:36:52 21:36:52 _____ _ 21:36:52 / ____| | | 21:36:52 | | ___ __| | ___ ___ _____ __ 21:36:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:36:52 | |___| (_) | (_| | __/ (_| (_) \ V / 21:36:52 \_____\___/ \__,_|\___|\___\___/ \_/ 21:36:52 Bash-1.0.6 21:36:52 21:36:52 21:36:52 ==> git version 2.25.1 found 21:36:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:36:52 Release-Date: 2020-01-08 21:36:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:36:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:36:52 ==> Jenkins CI detected. 21:36:52 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-361 21:36:52 project root: . 21:36:52 --> token set from env 21:36:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:36:52 ==> Running gcov in . (disable via -X gcov) 21:36:52 ==> Python coveragepy not found 21:36:52 ==> Searching for coverage reports in: 21:36:52 + . 21:36:52 -> Found 1 reports 21:36:52 ==> Detecting git/mercurial file structure 21:36:52 ==> Reading reports 21:36:52 + ./coverage.out bytes=24065 21:36:52 ==> Appending adjustments 21:36:52 https://docs.codecov.io/docs/fixing-reports 21:36:52 + Found adjustments 21:36:52 ==> Gzipping contents 21:36:52 4.0K /tmp/codecov.cVtDgA.gz 21:36:52 ==> Uploading reports 21:36:52 url: https://codecov.io 21:36:52 query: branch=PR-361&commit=c629de7c8079fac358025f93bf429ac6524aaad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=361&job=&cmd_args= 21:36:52 -> Pinging Codecov 21:36:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-361&commit=c629de7c8079fac358025f93bf429ac6524aaad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=361&job=&cmd_args= 21:36:52 -> Uploading to 21:36:52 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/55DBCA73C666E3227836607328DD7E49/c629de7c8079fac358025f93bf429ac6524aaad4/eb0d198b-11df-4e1c-bdf6-7c0de50730a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T213652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=47e074acdbcebac4cf6c0a2daf1593bc7d327178a2bb18ef2c80f598cae9aa41 21:36:52 % Total % Received % Xferd Average Speed Time Time Time Current 21:36:52 Dload Upload Total Spent Left Speed 21:36:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 12329 --:--:-- --:--:-- --:--:-- 12366 21:36:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] } 21:36:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:36:54 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-361/archives ] 21:36:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-361/archives 21:36:54 total 16 21:36:54 drwxr-xr-x 3 root root 4096 Jul 12 21:29 . 21:36:54 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:29 .. 21:36:54 drwxr-xr-x 2 root root 4096 Jul 12 21:29 cost 21:36:54 -rw-r--r-- 1 root root 87 Jul 12 21:29 cost.csv 21:36:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-361/archives 21:36:54 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-361/archives 21:36:54 total 16 21:36:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:29 . 21:36:54 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:29 .. 21:36:54 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:29 cost 21:36:54 -rw-r--r-- 1 jenkins jenkins 87 Jul 12 21:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:36:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:36:55 ---> package-listing.sh 21:36:55 ++ facter osfamily 21:36:55 ++ tr '[:upper:]' '[:lower:]' 21:36:56 + OS_FAMILY=debian 21:36:56 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-361 21:36:56 + START_PACKAGES=/tmp/packages_start.txt 21:36:56 + END_PACKAGES=/tmp/packages_end.txt 21:36:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:36:56 + PACKAGES=/tmp/packages_start.txt 21:36:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-361 ']' 21:36:56 + PACKAGES=/tmp/packages_end.txt 21:36:56 + case "${OS_FAMILY}" in 21:36:56 + dpkg -l 21:36:56 + grep '^ii' 21:36:56 + '[' -f /tmp/packages_start.txt ']' 21:36:56 + '[' -f /tmp/packages_end.txt ']' 21:36:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:36:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-361 ']' 21:36:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-361/archives/ 21:36:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-361/archives/ [Pipeline] echo 21:36:56 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-361/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:36:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:57 prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container 21:36:57 $ 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-361/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-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@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 21:36:57 $ docker top 14f992827c807e06ae827e88306132c64de7c15140672d0121623c06633e1b09 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:57 + touch /tmp/pre-build-complete [Pipeline] sh 21:36:58 + mkdir -p /var/log/sysstat [Pipeline] sh 21:36:58 + ls /var/log/sa-host 21:36:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:58 provisioning config files... 21:36:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config2959143374793653871tmp [Pipeline] { [Pipeline] echo 21:36:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:36:58 ---> create-netrc.sh [Pipeline] } 21:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:36:59 ---> python-tools-install.sh [Pipeline] echo 21:36:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:36:59 ---> sudo-logs.sh 21:36:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:36:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:37:00 ---> job-cost.sh 21:37:00 lf-activate-venv: SKIPPING 21:37:00 DEBUG: total: 0.2199999988079071 21:37:00 INFO: Retrieving Stack Cost... 21:37:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:37:01 INFO: Archiving Costs [Pipeline] echo 21:37:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:37:01 ---> logs-deploy.sh 21:37:01 lf-activate-venv: SKIPPING 21:37:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-361/1 21:37:01 INFO: archiving workspace using pattern(s): 21:37:02 Archives upload complete. 21:37:02 INFO: archiving logs to Nexus 21:37:03 ---> uname -a: 21:37:03 Linux prd-ubuntu20-04-docker-8c-8g-19767 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 21:37:03 21:37:03 21:37:03 ---> lscpu: 21:37:03 Architecture: x86_64 21:37:03 CPU op-mode(s): 32-bit, 64-bit 21:37:03 Byte Order: Little Endian 21:37:03 Address sizes: 40 bits physical, 48 bits virtual 21:37:03 CPU(s): 8 21:37:03 On-line CPU(s) list: 0-7 21:37:03 Thread(s) per core: 1 21:37:03 Core(s) per socket: 1 21:37:03 Socket(s): 8 21:37:03 NUMA node(s): 1 21:37:03 Vendor ID: AuthenticAMD 21:37:03 CPU family: 23 21:37:03 Model: 49 21:37:03 Model name: AMD EPYC-Rome Processor 21:37:03 Stepping: 0 21:37:03 CPU MHz: 2799.996 21:37:03 BogoMIPS: 5599.99 21:37:03 Virtualization: AMD-V 21:37:03 Hypervisor vendor: KVM 21:37:03 Virtualization type: full 21:37:03 L1d cache: 256 KiB 21:37:03 L1i cache: 256 KiB 21:37:03 L2 cache: 4 MiB 21:37:03 L3 cache: 128 MiB 21:37:03 NUMA node0 CPU(s): 0-7 21:37:03 Vulnerability Itlb multihit: Not affected 21:37:03 Vulnerability L1tf: Not affected 21:37:03 Vulnerability Mds: Not affected 21:37:03 Vulnerability Meltdown: Not affected 21:37:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:37:03 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:37:03 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:37:03 Vulnerability Srbds: Not affected 21:37:03 Vulnerability Tsx async abort: Not affected 21:37:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:37:03 21:37:03 21:37:03 ---> nproc: 21:37:03 8 21:37:03 21:37:03 21:37:03 ---> df -h: 21:37:03 Filesystem Size Used Avail Use% Mounted on 21:37:03 overlay 155G 11G 145G 7% / 21:37:03 tmpfs 64M 0 64M 0% /dev 21:37:03 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:37:03 shm 64M 0 64M 0% /dev/shm 21:37:03 /dev/vda1 155G 11G 145G 7% /facter-os 21:37:03 21:37:03 21:37:03 ---> sar -b -r -n DEV: 21:37:03 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19767) 07/12/22 _x86_64_ (8 CPU) 21:37:03 21:37:03 21:26:25 LINUX RESTART (8 CPU) 21:37:03 21:37:03 21:27:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:37:03 21:28:01 364.94 12.52 352.42 0.00 2059.23 117085.60 0.00 21:37:03 21:29:01 128.98 0.15 128.83 0.00 8.00 22558.91 0.00 21:37:03 21:30:01 67.22 0.00 67.22 0.00 0.00 17441.63 0.00 21:37:03 21:31:01 1.48 0.00 1.48 0.00 0.00 17.48 0.00 21:37:03 21:32:01 1.32 0.02 1.30 0.00 0.13 15.06 0.00 21:37:03 21:33:01 1.55 0.00 1.55 0.00 0.00 22.53 0.00 21:37:03 21:34:01 1.00 0.00 1.00 0.00 0.00 11.20 0.00 21:37:03 21:35:01 1.07 0.00 1.07 0.00 0.00 12.93 0.00 21:37:03 21:36:01 1.07 0.00 1.07 0.00 0.00 12.80 0.00 21:37:03 21:37:01 7.33 0.25 7.08 0.00 19.33 136.13 0.00 21:37:03 Average: 57.09 1.28 55.81 0.00 205.60 15563.42 0.00 21:37:03 21:37:03 21:27:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:37:03 21:28:01 28442160 31755160 539256 1.64 157948 3373964 2100768 6.19 1140344 2861432 680 21:37:03 21:29:01 28144792 31736104 554264 1.69 162776 3630684 2037016 6.00 1292776 2984028 200 21:37:03 21:30:01 27697576 31769300 519608 1.58 172300 4052160 1792304 5.28 1280708 3392400 188 21:37:03 21:31:01 27698128 31770020 518532 1.58 172320 4052160 1792304 5.28 1280152 3392400 236 21:37:03 21:32:01 27699036 31771112 517724 1.57 172352 4052164 1811476 5.34 1279696 3392652 28 21:37:03 21:33:01 27699264 31771332 517396 1.57 172392 4052168 1811476 5.34 1279880 3392652 236 21:37:03 21:34:01 27708644 31780732 508024 1.54 172416 4052172 1811476 5.34 1270020 3392656 188 21:37:03 21:35:01 27709100 31781192 507468 1.54 172448 4052180 1811476 5.34 1270244 3392660 236 21:37:03 21:36:01 27709252 31781404 507432 1.54 172472 4052180 1811476 5.34 1270132 3392664 160 21:37:03 21:37:01 27644524 31720688 563408 1.71 172632 4053484 1976276 5.82 1328596 3389944 532 21:37:03 Average: 27815248 31763704 525311 1.60 170006 3942332 1875605 5.53 1269255 3298349 268 21:37:03 21:37:03 21:27:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:37:03 21:28:01 lo 6.17 6.17 0.60 0.60 0.00 0.00 0.00 0.00 21:37:03 21:28:01 veth65e15df 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:28:01 docker0 118.81 142.92 9.70 1125.06 0.00 0.00 0.00 0.00 21:37:03 21:28:01 ens3 475.75 343.61 6897.35 60.68 0.00 0.00 0.00 0.00 21:37:03 21:29:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 21:37:03 21:29:01 docker0 18.68 22.51 1.12 92.80 0.00 0.00 0.00 0.00 21:37:03 21:29:01 ens3 105.23 78.79 192.71 71.17 0.00 0.00 0.00 0.00 21:37:03 21:30:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 21:37:03 21:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:30:01 ens3 130.31 91.97 2524.62 56.62 0.00 0.00 0.00 0.00 21:37:03 21:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:37:03 21:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:31:01 ens3 0.58 0.62 0.04 0.05 0.00 0.00 0.00 0.00 21:37:03 21:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:32:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 21:37:03 21:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:37:03 21:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:33:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:37:03 21:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:34:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:37:03 21:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:35:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:37:03 21:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:36:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:37:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 21:37:03 21:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:37:03 21:37:01 ens3 30.65 17.25 30.63 10.29 0.00 0.00 0.00 0.00 21:37:03 Average: lo 0.97 0.97 0.09 0.09 0.00 0.00 0.00 0.00 21:37:03 Average: docker0 13.57 16.33 1.07 120.12 0.00 0.00 0.00 0.00 21:37:03 Average: ens3 73.63 52.77 954.71 19.82 0.00 0.00 0.00 0.00 21:37:03 21:37:03 21:37:03 ---> sar -P ALL: 21:37:03 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19767) 07/12/22 _x86_64_ (8 CPU) 21:37:03 21:37:03 21:26:25 LINUX RESTART (8 CPU) 21:37:03 21:37:03 21:27:02 CPU %user %nice %system %iowait %steal %idle 21:37:03 21:28:01 all 10.49 0.00 4.57 2.97 0.06 81.91 21:37:03 21:28:01 0 10.24 0.00 4.08 1.37 0.05 84.26 21:37:03 21:28:01 1 11.44 0.00 4.95 2.52 0.05 81.04 21:37:03 21:28:01 2 10.77 0.00 4.82 5.70 0.05 78.66 21:37:03 21:28:01 3 10.12 0.00 4.89 1.31 0.07 83.61 21:37:03 21:28:01 4 9.82 0.00 4.33 1.15 0.07 84.63 21:37:03 21:28:01 5 10.87 0.00 4.33 4.09 0.05 80.66 21:37:03 21:28:01 6 11.25 0.00 3.94 2.11 0.07 82.63 21:37:03 21:28:01 7 9.39 0.00 5.22 5.52 0.09 79.78 21:37:03 21:29:01 all 38.11 0.00 6.45 1.26 0.08 54.10 21:37:03 21:29:01 0 34.85 0.00 5.83 0.25 0.07 59.00 21:37:03 21:29:01 1 39.07 0.00 6.62 0.37 0.10 53.83 21:37:03 21:29:01 2 39.26 0.00 6.59 4.52 0.08 49.55 21:37:03 21:29:01 3 36.08 0.00 5.62 0.39 0.08 57.83 21:37:03 21:29:01 4 38.18 0.00 7.08 0.37 0.08 54.29 21:37:03 21:29:01 5 38.35 0.00 6.71 1.18 0.08 53.68 21:37:03 21:29:01 6 40.49 0.00 6.44 2.46 0.08 50.53 21:37:03 21:29:01 7 38.60 0.00 6.73 0.52 0.08 54.07 21:37:03 21:30:01 all 3.31 0.00 1.34 0.46 0.02 94.88 21:37:03 21:30:01 0 3.35 0.00 1.05 0.00 0.02 95.58 21:37:03 21:30:01 1 3.67 0.00 1.32 0.02 0.02 94.97 21:37:03 21:30:01 2 3.10 0.00 1.54 0.25 0.02 95.10 21:37:03 21:30:01 3 2.58 0.00 0.85 0.02 0.03 96.52 21:37:03 21:30:01 4 2.81 0.00 1.82 1.20 0.02 94.15 21:37:03 21:30:01 5 4.25 0.00 1.07 0.05 0.02 94.62 21:37:03 21:30:01 6 3.39 0.00 1.46 0.27 0.03 94.85 21:37:03 21:30:01 7 3.32 0.00 1.59 1.85 0.02 93.22 21:37:03 21:31:01 all 0.00 0.00 0.01 0.00 0.00 99.98 21:37:03 21:31:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:37:03 21:31:01 1 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:31:01 2 0.00 0.00 0.02 0.02 0.00 99.97 21:37:03 21:31:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:37:03 21:31:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:31:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:31:01 6 0.02 0.00 0.03 0.02 0.00 99.93 21:37:03 21:31:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:37:03 21:32:01 all 0.02 0.00 0.04 0.01 0.00 99.93 21:37:03 21:32:01 0 0.00 0.00 0.02 0.00 0.00 99.98 21:37:03 21:32:01 1 0.00 0.00 0.07 0.00 0.00 99.93 21:37:03 21:32:01 2 0.03 0.00 0.03 0.02 0.00 99.92 21:37:03 21:32:01 3 0.02 0.00 0.05 0.00 0.00 99.93 21:37:03 21:32:01 4 0.02 0.00 0.00 0.00 0.00 99.98 21:37:03 21:32:01 5 0.02 0.00 0.07 0.02 0.00 99.90 21:37:03 21:32:01 6 0.07 0.00 0.08 0.02 0.02 99.82 21:37:03 21:32:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:37:03 21:33:01 all 0.01 0.00 0.00 0.01 0.00 99.98 21:37:03 21:33:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:33:01 1 0.00 0.00 0.02 0.03 0.00 99.95 21:37:03 21:33:01 2 0.00 0.00 0.00 0.02 0.00 99.98 21:37:03 21:33:01 3 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:33:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:33:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:33:01 6 0.05 0.00 0.02 0.00 0.00 99.93 21:37:03 21:33:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:37:03 21:34:01 all 0.03 0.00 0.02 0.01 0.00 99.94 21:37:03 21:34:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:37:03 21:34:01 1 0.02 0.00 0.00 0.05 0.00 99.93 21:37:03 21:34:01 2 0.03 0.00 0.02 0.02 0.00 99.93 21:37:03 21:34:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:37:03 21:34:01 4 0.03 0.00 0.05 0.00 0.00 99.92 21:37:03 21:34:01 5 0.03 0.00 0.03 0.00 0.00 99.93 21:37:03 21:34:01 6 0.05 0.00 0.03 0.00 0.00 99.92 21:37:03 21:34:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:37:03 21:35:01 all 0.00 0.00 0.01 0.00 0.00 99.99 21:37:03 21:35:01 0 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:35:01 1 0.00 0.00 0.00 0.02 0.00 99.98 21:37:03 21:35:01 2 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:35:01 3 0.00 0.00 0.02 0.00 0.00 99.98 21:37:03 21:35:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:35:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:35:01 6 0.02 0.00 0.02 0.00 0.02 99.95 21:37:03 21:35:01 7 0.00 0.00 0.02 0.00 0.00 99.98 21:37:03 21:36:01 all 0.02 0.00 0.01 0.00 0.00 99.96 21:37:03 21:36:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:37:03 21:36:01 1 0.03 0.00 0.02 0.00 0.00 99.95 21:37:03 21:36:01 2 0.03 0.00 0.00 0.02 0.00 99.95 21:37:03 21:36:01 3 0.02 0.00 0.02 0.00 0.00 99.97 21:37:03 21:36:01 4 0.00 0.00 0.00 0.00 0.00 100.00 21:37:03 21:36:01 5 0.02 0.00 0.02 0.00 0.00 99.97 21:37:03 21:36:01 6 0.07 0.00 0.03 0.02 0.00 99.88 21:37:03 21:36:01 7 0.00 0.00 0.00 0.00 0.02 99.98 21:37:03 21:37:01 all 0.70 0.00 0.31 0.03 0.01 98.96 21:37:03 21:37:01 0 1.03 0.00 0.38 0.00 0.00 98.58 21:37:03 21:37:01 1 0.53 0.00 0.27 0.03 0.02 99.15 21:37:03 21:37:01 2 0.72 0.00 0.28 0.08 0.02 98.90 21:37:03 21:37:01 3 0.70 0.00 0.35 0.02 0.02 98.91 21:37:03 21:37:01 4 0.75 0.00 0.32 0.02 0.00 98.92 21:37:03 21:37:01 5 0.47 0.00 0.27 0.02 0.02 99.23 21:37:03 21:37:01 6 0.35 0.00 0.18 0.03 0.00 99.43 21:37:03 21:37:01 7 1.05 0.00 0.40 0.00 0.00 98.55 21:37:03 Average: all 5.22 0.00 1.26 0.47 0.02 93.04 21:37:03 Average: 0 4.90 0.00 1.13 0.16 0.01 93.81 21:37:03 Average: 1 5.42 0.00 1.31 0.30 0.02 92.95 21:37:03 Average: 2 5.34 0.00 1.32 1.05 0.02 92.28 21:37:03 Average: 3 4.92 0.00 1.17 0.17 0.02 93.72 21:37:03 Average: 4 5.12 0.00 1.35 0.27 0.02 93.25 21:37:03 Average: 5 5.36 0.00 1.24 0.52 0.02 92.87 21:37:03 Average: 6 5.51 0.00 1.21 0.48 0.02 92.78 21:37:03 Average: 7 5.18 0.00 1.38 0.77 0.02 92.65 21:37:03 21:37:03 21:37:03