Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 462304afa108fd3c86843309948b2784e829767d+bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (52fafb549d1d1c78bc62e071ea98b531668bab79) 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-ssh13398927911596674608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11300995852070060997.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11466619153612593841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14121077601509469301.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8605142088198079595.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2845’ Running on prd-ubuntu20.04-docker-8c-8g-2854 in /w/workspace/xfoundry_device-modbus-go_PR-401 [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-401 # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit 462304afa108fd3c86843309948b2784e829767d > 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/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 462304afa108fd3c86843309948b2784e829767d # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 Merge succeeded, producing 9195f598ab7089561b895c4493459a4cdf662368 Checking out Revision 9195f598ab7089561b895c4493459a4cdf662368 (PR-401) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9195f598ab7089561b895c4493459a4cdf662368 # timeout=10 Commit message: "Merge commit 'bb2f4bd64c3941eb86d6cd8a035d25878e21dc53' into HEAD" > git rev-list --no-walk 462304afa108fd3c86843309948b2784e829767d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:09 ========================================================= 00:54:09 EdgeX Global Pipelines Version Info 00:54:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:10 ------------------- 00:54:10 stable info: 00:54:10 ------------------- 00:54:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:54:10 Message: update stable to v1.0.244 00:54:10 ------------------- 00:54:10 experimental info: 00:54:10 ------------------- 00:54:10 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:54:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9195f598ab7089561b895c4493459a4cdf662368 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9195f59 [Pipeline] echo 00:54:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:11 provisioning config files... 00:54:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-401@tmp/config2362789012835628690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:12 ---> docker-login.sh 00:54:12 nexus3.edgexfoundry.org:10001 00:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:12 Configure a credential helper to remove this warning. See 00:54:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:12 00:54:12 Login Succeeded 00:54:12 nexus3.edgexfoundry.org:10002 00:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:12 Configure a credential helper to remove this warning. See 00:54:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:12 00:54:12 Login Succeeded 00:54:12 nexus3.edgexfoundry.org:10003 00:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:12 Configure a credential helper to remove this warning. See 00:54:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:12 00:54:12 Login Succeeded 00:54:12 nexus3.edgexfoundry.org:10004 00:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:12 Configure a credential helper to remove this warning. See 00:54:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:12 00:54:12 Login Succeeded 00:54:12 docker.io 00:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:13 Configure a credential helper to remove this warning. See 00:54:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:13 00:54:13 Login Succeeded 00:54:13 ---> docker-login.sh ends [Pipeline] } 00:54:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:13 + git rev-list -1 --merges 9195f598ab7089561b895c4493459a4cdf662368~1..9195f598ab7089561b895c4493459a4cdf662368 [Pipeline] echo 00:54:13 -----------> git rev-list -1 --merges 9195f598ab7089561b895c4493459a4cdf662368~1..9195f598ab7089561b895c4493459a4cdf662368 9195f598ab7089561b895c4493459a4cdf662368 00:54:13 9195f598ab7089561b895c4493459a4cdf662368 [false] [Pipeline] sh 00:54:13 + git log --format=format:%s -1 9195f598ab7089561b895c4493459a4cdf662368 [Pipeline] echo 00:54:13 ========================================================= 00:54:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:14 + git log --format=format:%s -1 9195f598ab7089561b895c4493459a4cdf662368 [Pipeline] echo 00:54:14 [semverPrep] GIT_COMMIT: 9195f598ab7089561b895c4493459a4cdf662368, Commit Message: Merge commit 'bb2f4bd64c3941eb86d6cd8a035d25878e21dc53' into HEAD [Pipeline] echo 00:54:14 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:14 + grep -v github /etc/ssh/ssh_known_hosts 00:54:14 + [ -e /tmp/ssh_known_hosts ] 00:54:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:14 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:14 00:54:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:15 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:15 b85a868b505f: Pulling fs layer 00:54:15 e2be974225ed: Pulling fs layer 00:54:15 339a4e72a1f5: Pulling fs layer 00:54:15 988bab9f4d93: Pulling fs layer 00:54:15 1469e6f7b9e6: Pulling fs layer 00:54:15 eaf3925da568: Pulling fs layer 00:54:15 bab4dde63d76: Pulling fs layer 00:54:15 bde34c3a00c8: Pulling fs layer 00:54:15 b352a97aabf1: Pulling fs layer 00:54:15 4872d77fe225: Pulling fs layer 00:54:15 5851b861e8e6: Pulling fs layer 00:54:15 1469e6f7b9e6: Waiting 00:54:15 eaf3925da568: Waiting 00:54:15 bab4dde63d76: Waiting 00:54:15 5851b861e8e6: Waiting 00:54:15 bde34c3a00c8: Waiting 00:54:15 4872d77fe225: Waiting 00:54:15 b352a97aabf1: Waiting 00:54:15 988bab9f4d93: Waiting 00:54:15 e2be974225ed: Verifying Checksum 00:54:15 e2be974225ed: Download complete 00:54:15 988bab9f4d93: Verifying Checksum 00:54:15 988bab9f4d93: Download complete 00:54:15 1469e6f7b9e6: Verifying Checksum 00:54:15 1469e6f7b9e6: Download complete 00:54:15 eaf3925da568: Verifying Checksum 00:54:15 eaf3925da568: Download complete 00:54:15 339a4e72a1f5: Verifying Checksum 00:54:15 339a4e72a1f5: Download complete 00:54:15 bde34c3a00c8: Download complete 00:54:15 b85a868b505f: Verifying Checksum 00:54:15 b85a868b505f: Download complete 00:54:15 4872d77fe225: Verifying Checksum 00:54:15 4872d77fe225: Download complete 00:54:15 5851b861e8e6: Verifying Checksum 00:54:15 5851b861e8e6: Download complete 00:54:15 b352a97aabf1: Download complete 00:54:16 bab4dde63d76: Download complete 00:54:16 b85a868b505f: Pull complete 00:54:16 e2be974225ed: Pull complete 00:54:17 339a4e72a1f5: Pull complete 00:54:17 988bab9f4d93: Pull complete 00:54:17 1469e6f7b9e6: Pull complete 00:54:17 eaf3925da568: Pull complete 00:54:19 bab4dde63d76: Pull complete 00:54:19 bde34c3a00c8: Pull complete 00:54:19 b352a97aabf1: Pull complete 00:54:19 4872d77fe225: Pull complete 00:54:19 5851b861e8e6: Pull complete 00:54:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:19 prd-ubuntu20.04-docker-8c-8g-2854 does not seem to be running inside a container 00:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-401 -v /w/workspace/xfoundry_device-modbus-go_PR-401:/w/workspace/xfoundry_device-modbus-go_PR-401:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-401@tmp:/w/workspace/xfoundry_device-modbus-go_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:22 $ docker top 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 -eo pid,comm 00:54:22 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). 00:54:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:22 [ssh-agent] Looking for ssh-agent implementation... 00:54:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:22 $ docker exec 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 ssh-agent 00:54:22 SSH_AUTH_SOCK=/tmp/ssh-IN6yM2G6TAQo/agent.32 00:54:22 SSH_AGENT_PID=38 00:54:22 Running ssh-add (command line suppressed) 00:54:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-401@tmp/private_key_17415895943106700370.key (/w/workspace/xfoundry_device-modbus-go_PR-401@tmp/private_key_17415895943106700370.key) 00:54:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:22 + git tag --points-at HEAD [Pipeline] } 00:54:22 $ docker exec --env ******** --env ******** 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 ssh-agent -k 00:54:23 unset SSH_AUTH_SOCK; 00:54:23 unset SSH_AGENT_PID; 00:54:23 echo Agent pid 38 killed; 00:54:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:23 [ssh-agent] Looking for ssh-agent implementation... 00:54:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:23 $ docker exec 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 ssh-agent 00:54:23 SSH_AUTH_SOCK=/tmp/ssh-UOrhuwYsxWcp/agent.70 00:54:23 SSH_AGENT_PID=76 00:54:23 Running ssh-add (command line suppressed) 00:54:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-401@tmp/private_key_13728881479655682785.key (/w/workspace/xfoundry_device-modbus-go_PR-401@tmp/private_key_13728881479655682785.key) 00:54:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:23 + git semver init 00:54:23 2023-01-18 00:54:23,836 [run_init] DEBUG init version:0.0.0 force:False 00:54:23 2023-01-18 00:54:23,836 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-401/.semver 00:54:23 2023-01-18 00:54:23,837 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-401/.semver 00:54:23 2023-01-18 00:54:23,837 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-401/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-401, universal_newlines=False, shell=None, istream=None) 00:54:24 2023-01-18 00:54:24,717 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-401/.git/info/exclude 00:54:24 2023-01-18 00:54:24,718 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-401/.semver/PR-401 with force:False 00:54:24 2023-01-18 00:54:24,718 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-401/.semver/PR-401 00:54:24 2023-01-18 00:54:24,720 [execute] INFO git cat-file --batch-check 00:54:24 2023-01-18 00:54:24,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) 00:54:24 2023-01-18 00:54:24,725 [execute] INFO git cat-file --batch 00:54:24 2023-01-18 00:54:24,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) 00:54:24 2023-01-18 00:54:24,731 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-401/.semver/PR-401 00:54:24 0.0.0 [Pipeline] } 00:54:24 $ docker exec --env ******** --env ******** 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 ssh-agent -k 00:54:24 unset SSH_AUTH_SOCK; 00:54:24 unset SSH_AGENT_PID; 00:54:24 echo Agent pid 76 killed; 00:54:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:25 + git semver [Pipeline] } 00:54:25 $ docker stop --time=1 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 00:54:26 $ docker rm -f --volumes 5423e644e7035ac63d6ef926fe3ce987022f8a4c38fb79ca2a70d1e1d25a6d92 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:27 Stashed 1 file(s) [Pipeline] echo 00:54: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 00:54:27 provisioning config files... 00:54:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-401@tmp/config12351570221038309461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:27 ---> docker-login.sh 00:54:27 nexus3.edgexfoundry.org:10001 00:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:27 Configure a credential helper to remove this warning. See 00:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:27 00:54:27 Login Succeeded 00:54:27 nexus3.edgexfoundry.org:10002 00:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:27 Configure a credential helper to remove this warning. See 00:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:27 00:54:27 Login Succeeded 00:54:27 nexus3.edgexfoundry.org:10003 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10004 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 docker.io 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 ---> docker-login.sh ends [Pipeline] } 00:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:28 ========================================================= 00:54:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:54:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:28 + 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 . 00:54:28 Sending build context to Docker daemon 6.341MB 00:54:28 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 00:54:28 Step 2/10 : FROM ${BASE} AS builder 00:54:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:28 213ec9aee27d: Pulling fs layer 00:54:28 4583459ba037: Pulling fs layer 00:54:28 93c1e223e6f2: Pulling fs layer 00:54:28 53926ce57604: Pulling fs layer 00:54:28 21b2b0c7a3f4: Pulling fs layer 00:54:28 22ff95d597cd: Pulling fs layer 00:54:28 12d6caf4c0d1: Pulling fs layer 00:54:28 96b7cbca73a9: Pulling fs layer 00:54:28 a7acece74701: Pulling fs layer 00:54:28 12d6caf4c0d1: Waiting 00:54:28 96b7cbca73a9: Waiting 00:54:28 53926ce57604: Waiting 00:54:28 a7acece74701: Waiting 00:54:28 21b2b0c7a3f4: Waiting 00:54:28 22ff95d597cd: Waiting 00:54:28 93c1e223e6f2: Verifying Checksum 00:54:28 93c1e223e6f2: Download complete 00:54:29 4583459ba037: Verifying Checksum 00:54:29 4583459ba037: Download complete 00:54:29 21b2b0c7a3f4: Verifying Checksum 00:54:29 21b2b0c7a3f4: Download complete 00:54:29 22ff95d597cd: Verifying Checksum 00:54:29 22ff95d597cd: Download complete 00:54:29 213ec9aee27d: Verifying Checksum 00:54:29 213ec9aee27d: Download complete 00:54:29 12d6caf4c0d1: Download complete 00:54:29 213ec9aee27d: Pull complete 00:54:29 4583459ba037: Pull complete 00:54:29 93c1e223e6f2: Pull complete 00:54:30 53926ce57604: Verifying Checksum 00:54:30 53926ce57604: Download complete 00:54:30 96b7cbca73a9: Verifying Checksum 00:54:30 96b7cbca73a9: Download complete 00:54:30 a7acece74701: Verifying Checksum 00:54:30 a7acece74701: Download complete 00:54:35 53926ce57604: Pull complete 00:54:35 21b2b0c7a3f4: Pull complete 00:54:35 22ff95d597cd: Pull complete 00:54:35 12d6caf4c0d1: Pull complete 00:54:36 96b7cbca73a9: Pull complete 00:54:37 a7acece74701: Pull complete 00:54:37 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:54:37 ---> db6d94c90886 00:54:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:54:40 ---> Running in bbe94e8c1193 00:54:40 Removing intermediate container bbe94e8c1193 00:54:40 ---> bd566170612b 00:54:40 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:40 ---> Running in d18daa6c8c2a 00:54:40 Removing intermediate container d18daa6c8c2a 00:54:40 ---> 003d4c41f712 00:54:40 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:54:40 ---> Running in a44a0a540e39 00:54:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:54:41 (1/8) Installing openssh-keygen (9.0_p1-r2) 00:54:41 (2/8) Installing libedit (20210910.3.1-r0) 00:54:41 (3/8) Installing openssh-client-common (9.0_p1-r2) 00:54:41 (4/8) Installing openssh-client-default (9.0_p1-r2) 00:54:41 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 00:54:41 (6/8) Installing openssh-server-common (9.0_p1-r2) 00:54:41 (7/8) Installing openssh-server (9.0_p1-r2) 00:54:41 (8/8) Installing openssh (9.0_p1-r2) 00:54:41 Executing busybox-1.35.0-r17.trigger 00:54:41 OK: 217 MiB in 59 packages 00:54:42 Removing intermediate container a44a0a540e39 00:54:42 ---> 39f5cd65ba4b 00:54:42 Step 6/10 : WORKDIR /device-modbus-go 00:54:42 ---> Running in 18e47cec8c4c 00:54:42 Removing intermediate container 18e47cec8c4c 00:54:42 ---> 36ef269d6621 00:54:42 Step 7/10 : COPY go.mod vendor* ./ 00:54:42 Still waiting to schedule task 00:54:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2853’ 00:54:42 ---> 6297cfbfbb3f 00:54:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:42 ---> Running in bed3c93b8a6e 00:55:09 Removing intermediate container bed3c93b8a6e 00:55:09 ---> bfa651c1814b 00:55:09 Step 9/10 : COPY . . 00:55:09 ---> 2cf8c97730cb 00:55:09 Step 10/10 : RUN ${MAKE} 00:55:09 ---> Running in 10339ba167e3 00:55:09 noop 00:55:09 Removing intermediate container 10339ba167e3 00:55:09 ---> 173a17ec830e 00:55:09 Successfully built 173a17ec830e 00:55:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:09 + docker inspect -f . ci-base-image-x86_64 00:55:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:09 prd-ubuntu20.04-docker-8c-8g-2854 does not seem to be running inside a container 00:55:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-401 -v /w/workspace/xfoundry_device-modbus-go_PR-401:/w/workspace/xfoundry_device-modbus-go_PR-401:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-401@tmp:/w/workspace/xfoundry_device-modbus-go_PR-401@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 ******** ci-base-image-x86_64 cat 00:55:09 $ docker top 10ee38347658fc6ac22bf48a623d27885b6d8e465caeffeda4b2dfaccd0dda64 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:10 + go version 00:55:10 go version go1.18.7 linux/amd64 [Pipeline] } 00:55:10 $ docker stop --time=1 10ee38347658fc6ac22bf48a623d27885b6d8e465caeffeda4b2dfaccd0dda64 00:55:11 $ docker rm -f --volumes 10ee38347658fc6ac22bf48a623d27885b6d8e465caeffeda4b2dfaccd0dda64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:11 + docker inspect -f . ci-base-image-x86_64 00:55:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:11 prd-ubuntu20.04-docker-8c-8g-2854 does not seem to be running inside a container 00:55:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-401 -v /w/workspace/xfoundry_device-modbus-go_PR-401:/w/workspace/xfoundry_device-modbus-go_PR-401:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-401@tmp:/w/workspace/xfoundry_device-modbus-go_PR-401@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 ******** ci-base-image-x86_64 cat 00:55:12 $ docker top d52a4e7d5d5e2b9db1bfc800df53e70cfa122cff31121e3ed980dd3820d5dbbb -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:12 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-401 [Pipeline] fileExists [Pipeline] sh 00:55:12 + make test 00:55:12 go test ./... -coverprofile=coverage.out 00:55:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:55:19 # github.com/edgexfoundry/go-mod-messaging/v3/clients 00:55:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: 00:55:19 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 00:55:19 have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 00:55:19 want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 00:55:19 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 00:55:21 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 00:55:21 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes 00:55:21 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo 00:55:21 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 00:55:21 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes 00:55:21 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes 00:55:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 00:55:21 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 00:55:21 $ docker stop --time=1 d52a4e7d5d5e2b9db1bfc800df53e70cfa122cff31121e3ed980dd3820d5dbbb 00:55:23 $ docker rm -f --volumes d52a4e7d5d5e2b9db1bfc800df53e70cfa122cff31121e3ed980dd3820d5dbbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:24 00:55:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:24 latest: Pulling from edgex-lftools-log-publisher 00:55:24 5eb5b503b376: Pulling fs layer 00:55:24 5c69ac0246d0: Pulling fs layer 00:55:24 ec43610c2a17: Pulling fs layer 00:55:24 3a2ae6a8a46f: Pulling fs layer 00:55:24 33b1e0a273af: Pulling fs layer 00:55:24 5d3b04190fa2: Pulling fs layer 00:55:24 2f39f015ded8: Pulling fs layer 00:55:24 3a2ae6a8a46f: Waiting 00:55:24 33b1e0a273af: Waiting 00:55:24 5d3b04190fa2: Waiting 00:55:24 2f39f015ded8: Waiting 00:55:24 5c69ac0246d0: Verifying Checksum 00:55:24 5c69ac0246d0: Download complete 00:55:24 3a2ae6a8a46f: Verifying Checksum 00:55:24 3a2ae6a8a46f: Download complete 00:55:24 33b1e0a273af: Verifying Checksum 00:55:24 33b1e0a273af: Download complete 00:55:24 5d3b04190fa2: Verifying Checksum 00:55:24 5d3b04190fa2: Download complete 00:55:25 ec43610c2a17: Verifying Checksum 00:55:25 ec43610c2a17: Download complete 00:55:25 5eb5b503b376: Verifying Checksum 00:55:25 5eb5b503b376: Download complete 00:55:26 2f39f015ded8: Download complete 00:55:26 5eb5b503b376: Pull complete 00:55:26 5c69ac0246d0: Pull complete 00:55:26 ec43610c2a17: Pull complete 00:55:26 3a2ae6a8a46f: Pull complete 00:55:27 33b1e0a273af: Pull complete 00:55:27 5d3b04190fa2: Pull complete 00:55:31 2f39f015ded8: Pull complete 00:55:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:55:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:31 prd-ubuntu20.04-docker-8c-8g-2854 does not seem to be running inside a container 00:55:31 $ 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-401 -v /w/workspace/xfoundry_device-modbus-go_PR-401:/w/workspace/xfoundry_device-modbus-go_PR-401:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-401@tmp:/w/workspace/xfoundry_device-modbus-go_PR-401@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 00:55:34 $ docker top f39e58967f82fa6bea3129f8ac82d5bb124b1bc58c8a923a7b81222f8a1a0235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:35 ---> job-cost.sh 00:55:35 lf-activate-venv: SKIPPING 00:55:35 INFO: No Stack... 00:55:35 INFO: Retrieving Pricing Info for: v3-standard-8 00:55:35 INFO: Archiving Costs [Pipeline] sh 00:55:35 + cat /w/workspace/xfoundry_device-modbus-go_PR-401/archives/cost.csv 00:55:35 + cut -d, -f6 [Pipeline] lock 00:55:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] 00:55:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] did not exist. Created. 00:55:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:36 + echo total: 0.2199999988079071 [Pipeline] stash 00:55:36 Stashed 1 file(s) [Pipeline] } 00:55:36 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:36 $ docker stop --time=1 f39e58967f82fa6bea3129f8ac82d5bb124b1bc58c8a923a7b81222f8a1a0235 00:55:37 $ docker rm -f --volumes f39e58967f82fa6bea3129f8ac82d5bb124b1bc58c8a923a7b81222f8a1a0235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:55:37 Failed in branch amd64 00:58:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2855 in /w/workspace/xfoundry_device-modbus-go_PR-401 [Pipeline] { [Pipeline] ws 00:58:02 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:58:02 Selected Git installation does not exist. Using Default 00:58:02 The recommended git tool is: NONE 00:58:08 using credential edgex-jenkins-ssh 00:58:08 Cloning the remote Git repository 00:58:08 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:08 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:58:08 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:08 > git --version # timeout=10 00:58:08 > git --version # 'git version 2.25.1' 00:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:11 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit 462304afa108fd3c86843309948b2784e829767d 00:58:11 Merge succeeded, producing 38a51ef77b08ac68e100d1ff415f236654956a9f 00:58:11 Checking out Revision 38a51ef77b08ac68e100d1ff415f236654956a9f (PR-401) 00:58:10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:11 > git config core.sparsecheckout # timeout=10 00:58:11 > git checkout -f 462304afa108fd3c86843309948b2784e829767d # timeout=10 00:58:11 > git remote # timeout=10 00:58:11 > git config --get remote.origin.url # timeout=10 00:58:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:11 > git merge bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 00:58:11 > git rev-parse HEAD^{commit} # timeout=10 00:58:11 > git config core.sparsecheckout # timeout=10 00:58:11 > git checkout -f 38a51ef77b08ac68e100d1ff415f236654956a9f # timeout=10 00:58:14 Commit message: "Merge commit 'bb2f4bd64c3941eb86d6cd8a035d25878e21dc53' into HEAD" 00:58:14 > git rev-list --no-walk 462304afa108fd3c86843309948b2784e829767d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:58:16 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:16 Dload Upload Total Spent Left Speed 00:58:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 00:58:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:58:17 + sudo tee /etc/docker/daemon.new 00:58:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:58:17 { 00:58:17 "registry-mirrors": [ 00:58:17 "https://nexus3.edgexfoundry.org:10001" 00:58:17 ], 00:58:17 "bip": "10.250.0.254/24", 00:58:17 "hosts": [ 00:58:17 "tcp://0.0.0.0:5555", 00:58:17 "unix:///var/run/docker.sock" 00:58:17 ], 00:58:17 "mtu": 1458, 00:58:17 "selinux-enabled": true, 00:58:17 "seccomp-profile": "/etc/docker/seccomp.json" 00:58:17 } [Pipeline] sh 00:58:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:58:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:35 provisioning config files... 00:58:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2031765021571322464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:36 ---> docker-login.sh 00:58:36 nexus3.edgexfoundry.org:10001 00:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:36 Configure a credential helper to remove this warning. See 00:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:36 00:58:36 Login Succeeded 00:58:36 nexus3.edgexfoundry.org:10002 00:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:37 Configure a credential helper to remove this warning. See 00:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:37 00:58:37 Login Succeeded 00:58:37 nexus3.edgexfoundry.org:10003 00:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:37 Configure a credential helper to remove this warning. See 00:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:37 00:58:37 Login Succeeded 00:58:37 nexus3.edgexfoundry.org:10004 00:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:38 Configure a credential helper to remove this warning. See 00:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:38 00:58:38 Login Succeeded 00:58:38 docker.io 00:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:38 Configure a credential helper to remove this warning. See 00:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:38 00:58:38 Login Succeeded 00:58:38 ---> docker-login.sh ends [Pipeline] } 00:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:58:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:58:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:58:38 ========================================================= 00:58:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:58:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:39 + 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 . 00:58:39 Sending build context to Docker daemon 3.305MB 00:58:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 00:58:39 Step 2/10 : FROM ${BASE} AS builder 00:58:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:58:39 9b18e9b68314: Pulling fs layer 00:58:39 35d82f9e3411: Pulling fs layer 00:58:39 e16973657156: Pulling fs layer 00:58:39 fc693d55d65f: Pulling fs layer 00:58:39 7e9fc2657dce: Pulling fs layer 00:58:39 dda99020689f: Pulling fs layer 00:58:39 db1c61fa0a46: Pulling fs layer 00:58:39 891c053d2c06: Pulling fs layer 00:58:39 fc693d55d65f: Waiting 00:58:39 dda99020689f: Waiting 00:58:39 7e9fc2657dce: Waiting 00:58:39 db1c61fa0a46: Waiting 00:58:39 891c053d2c06: Waiting 00:58:39 e16973657156: Verifying Checksum 00:58:39 e16973657156: Download complete 00:58:39 35d82f9e3411: Verifying Checksum 00:58:39 35d82f9e3411: Download complete 00:58:39 7e9fc2657dce: Download complete 00:58:39 dda99020689f: Verifying Checksum 00:58:39 dda99020689f: Download complete 00:58:39 9b18e9b68314: Verifying Checksum 00:58:39 9b18e9b68314: Download complete 00:58:40 9b18e9b68314: Pull complete 00:58:41 891c053d2c06: Verifying Checksum 00:58:41 891c053d2c06: Download complete 00:58:41 35d82f9e3411: Pull complete 00:58:41 e16973657156: Pull complete 00:58:42 db1c61fa0a46: Verifying Checksum 00:58:42 db1c61fa0a46: Download complete 00:58:43 fc693d55d65f: Verifying Checksum 00:58:43 fc693d55d65f: Download complete 00:58:55 fc693d55d65f: Pull complete 00:58:55 7e9fc2657dce: Pull complete 00:58:55 dda99020689f: Pull complete 00:59:02 db1c61fa0a46: Pull complete 00:59:03 891c053d2c06: Pull complete 00:59:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:59:03 ---> f96f9c87975a 00:59:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:59:05 ---> Running in e3c9d26cb878 00:59:05 Removing intermediate container e3c9d26cb878 00:59:05 ---> e91c2cf7d089 00:59:05 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:05 ---> Running in 48ba55088e86 00:59:06 Removing intermediate container 48ba55088e86 00:59:06 ---> 5df0d3125e5b 00:59:06 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:59:06 ---> Running in badf3b8cd4b9 00:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:59:08 (1/8) Installing openssh-keygen (9.0_p1-r2) 00:59:08 (2/8) Installing libedit (20210910.3.1-r0) 00:59:08 (3/8) Installing openssh-client-common (9.0_p1-r2) 00:59:08 (4/8) Installing openssh-client-default (9.0_p1-r2) 00:59:08 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 00:59:08 (6/8) Installing openssh-server-common (9.0_p1-r2) 00:59:08 (7/8) Installing openssh-server (9.0_p1-r2) 00:59:08 (8/8) Installing openssh (9.0_p1-r2) 00:59:08 Executing busybox-1.35.0-r17.trigger 00:59:08 OK: 228 MiB in 59 packages 00:59:09 Removing intermediate container badf3b8cd4b9 00:59:09 ---> 34ae9e955954 00:59:09 Step 6/10 : WORKDIR /device-modbus-go 00:59:10 ---> Running in 04d9a7ed2bde 00:59:10 Removing intermediate container 04d9a7ed2bde 00:59:10 ---> c30050a0419f 00:59:10 Step 7/10 : COPY go.mod vendor* ./ 00:59:11 ---> cb0ff69608ba 00:59:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:11 ---> Running in e26977090841 01:00:18 Removing intermediate container e26977090841 01:00:18 ---> 58454d1b4192 01:00:18 Step 9/10 : COPY . . 01:00:18 ---> 6505d3d8925a 01:00:18 Step 10/10 : RUN ${MAKE} 01:00:18 ---> Running in 01edd08c09f3 01:00:18 noop 01:00:18 Removing intermediate container 01edd08c09f3 01:00:18 ---> 70453123633a 01:00:18 Successfully built 70453123633a 01:00:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:19 + docker inspect -f . ci-base-image-arm64 01:00:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:19 prd-ubuntu20.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container 01:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:20 $ docker top cb2c7fdc7208046a7f008dd4f27c657595b1ddfc25db27c04f6c70a4456c299b -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:21 + go version 01:00:21 go version go1.18.7 linux/arm64 [Pipeline] } 01:00:21 $ docker stop --time=1 cb2c7fdc7208046a7f008dd4f27c657595b1ddfc25db27c04f6c70a4456c299b 01:00:23 $ docker rm -f --volumes cb2c7fdc7208046a7f008dd4f27c657595b1ddfc25db27c04f6c70a4456c299b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:23 + docker inspect -f . ci-base-image-arm64 01:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:23 prd-ubuntu20.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container 01:00:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:25 $ docker top 0380f444a750df75e85f011e047b3fb2df24aad924595eda29ac7e46127c968c -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:26 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:00:26 + make test 01:00:26 go test ./... -coverprofile=coverage.out 01:00:28 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:01:25 # github.com/edgexfoundry/go-mod-messaging/v3/clients 01:01:25 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: 01:01:25 *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) 01:01:25 have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 01:01:25 want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) 01:01:25 /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo 01:01:37 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 01:01:37 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes 01:01:37 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo 01:01:37 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 01:01:37 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes 01:01:37 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes 01:01:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 01:01:49 make: *** [Makefile:30: unittest] Error 2 [Pipeline] } 01:01:49 $ docker stop --time=1 0380f444a750df75e85f011e047b3fb2df24aad924595eda29ac7e46127c968c 01:01:51 $ docker rm -f --volumes 0380f444a750df75e85f011e047b3fb2df24aad924595eda29ac7e46127c968c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:52 01:01:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:53 arm64: Pulling from edgex-lftools-log-publisher 01:01:53 8998bd30e6a1: Pulling fs layer 01:01:53 04944245beec: Pulling fs layer 01:01:53 699f458cf7ca: Pulling fs layer 01:01:53 765212b225bb: Pulling fs layer 01:01:53 f23df028b6ca: Pulling fs layer 01:01:53 d65c8cfc05b1: Pulling fs layer 01:01:53 2437ff75d9bd: Pulling fs layer 01:01:53 f23df028b6ca: Waiting 01:01:53 d65c8cfc05b1: Waiting 01:01:53 2437ff75d9bd: Waiting 01:01:53 765212b225bb: Waiting 01:01:53 04944245beec: Verifying Checksum 01:01:53 04944245beec: Download complete 01:01:53 765212b225bb: Download complete 01:01:53 f23df028b6ca: Download complete 01:01:53 d65c8cfc05b1: Verifying Checksum 01:01:53 d65c8cfc05b1: Download complete 01:01:53 699f458cf7ca: Verifying Checksum 01:01:53 699f458cf7ca: Download complete 01:01:53 8998bd30e6a1: Verifying Checksum 01:01:53 8998bd30e6a1: Download complete 01:01:55 2437ff75d9bd: Verifying Checksum 01:01:55 2437ff75d9bd: Download complete 01:01:57 8998bd30e6a1: Pull complete 01:01:58 04944245beec: Pull complete 01:01:59 699f458cf7ca: Pull complete 01:01:59 765212b225bb: Pull complete 01:02:00 f23df028b6ca: Pull complete 01:02:01 d65c8cfc05b1: Pull complete 01:02:16 2437ff75d9bd: Pull complete 01:02:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:02:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:16 prd-ubuntu20.04-docker-arm64-4c-16g-2855 does not seem to be running inside a container 01:02:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:02:19 $ docker top 678900bdef5493574e74463ab6f688b90bf0c7aefbea1ecf94f4c91ec129f4bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:20 ---> job-cost.sh 01:02:20 lf-activate-venv: SKIPPING 01:02:20 INFO: No Stack... 01:02:22 INFO: Retrieving Pricing Info for: v3-standard-4 01:02:22 INFO: Archiving Costs [Pipeline] sh 01:02:23 + cut -d, -f6 01:02:23 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 01:02:23 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] 01:02:23 Resource [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] did not exist. Created. 01:02:23 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:02:23 /w/workspace/device-modbus-go/2@tmp/durable-9a0fa3ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:02:24 + echo total: 0.10999999940395355 [Pipeline] stash 01:02:24 Warning: overwriting stash ‘stack-cost’ 01:02:25 Stashed 1 file(s) [Pipeline] } 01:02:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-401-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:02:25 $ docker stop --time=1 678900bdef5493574e74463ab6f688b90bf0c7aefbea1ecf94f4c91ec129f4bc 01:02:26 $ docker rm -f --volumes 678900bdef5493574e74463ab6f688b90bf0c7aefbea1ecf94f4c91ec129f4bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:02:27 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:02:27 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-401/archives ] 01:02:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-401/archives 01:02:27 total 16 01:02:27 drwxr-xr-x 3 root root 4096 Jan 18 00:55 . 01:02:27 drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 00:55 .. 01:02:27 drwxr-xr-x 2 root root 4096 Jan 18 00:55 cost 01:02:27 -rw-r--r-- 1 root root 88 Jan 18 00:55 cost.csv 01:02:27 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-401/archives 01:02:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-401/archives 01:02:27 total 16 01:02:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 00:55 . 01:02:27 drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 00:55 .. 01:02:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 00:55 cost 01:02:27 -rw-r--r-- 1 jenkins jenkins 88 Jan 18 00:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:02:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:02:28 ---> package-listing.sh 01:02:28 ++ facter osfamily 01:02:28 ++ tr '[:upper:]' '[:lower:]' 01:02:29 + OS_FAMILY=debian 01:02:29 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-401 01:02:29 + START_PACKAGES=/tmp/packages_start.txt 01:02:29 + END_PACKAGES=/tmp/packages_end.txt 01:02:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:02:29 + PACKAGES=/tmp/packages_start.txt 01:02:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-401 ']' 01:02:29 + PACKAGES=/tmp/packages_end.txt 01:02:29 + case "${OS_FAMILY}" in 01:02:29 + dpkg -l 01:02:29 + grep '^ii' 01:02:29 + '[' -f /tmp/packages_start.txt ']' 01:02:29 + '[' -f /tmp/packages_end.txt ']' 01:02:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:02:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-401 ']' 01:02:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-401/archives/ 01:02:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-401/archives/ [Pipeline] echo 01:02:29 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-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:02:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:02:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:30 prd-ubuntu20.04-docker-8c-8g-2854 does not seem to be running inside a container 01:02:30 $ 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-401/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-401 -v /w/workspace/xfoundry_device-modbus-go_PR-401:/w/workspace/xfoundry_device-modbus-go_PR-401:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-401@tmp:/w/workspace/xfoundry_device-modbus-go_PR-401@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:02:30 $ docker top 42dbf18b5e3a7fc4b9429650f03b52e84dca0e4c644a9f18c448c7df974308ba -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:02:30 + mkdir -p /var/log/sysstat [Pipeline] sh 01:02:31 + ls /var/log/sa-host 01:02:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:31 provisioning config files... 01:02:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-401@tmp/config110404696988593180tmp [Pipeline] { [Pipeline] echo 01:02:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:02:31 ---> create-netrc.sh [Pipeline] } 01:02:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:02:32 ---> python-tools-install.sh [Pipeline] echo 01:02:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:02:32 ---> sudo-logs.sh 01:02:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:02:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:02:32 ---> job-cost.sh 01:02:32 lf-activate-venv: SKIPPING 01:02:32 DEBUG: total: 0.2199999988079071 01:02:32 INFO: Retrieving Stack Cost... 01:02:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:02:33 INFO: Archiving Costs [Pipeline] echo 01:02:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:02:33 ---> logs-deploy.sh 01:02:33 lf-activate-venv: SKIPPING 01:02:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-401/2 01:02:33 INFO: archiving workspace using pattern(s): 01:02:34 Archives upload complete. 01:02:34 INFO: archiving logs to Nexus 01:02:35 ---> uname -a: 01:02:35 Linux prd-ubuntu20-04-docker-8c-8g-2854 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:02:35 01:02:35 01:02:35 ---> lscpu: 01:02:35 Architecture: x86_64 01:02:35 CPU op-mode(s): 32-bit, 64-bit 01:02:35 Byte Order: Little Endian 01:02:35 Address sizes: 40 bits physical, 48 bits virtual 01:02:35 CPU(s): 8 01:02:35 On-line CPU(s) list: 0-7 01:02:35 Thread(s) per core: 1 01:02:35 Core(s) per socket: 1 01:02:35 Socket(s): 8 01:02:35 NUMA node(s): 1 01:02:35 Vendor ID: AuthenticAMD 01:02:35 CPU family: 23 01:02:35 Model: 49 01:02:35 Model name: AMD EPYC-Rome Processor 01:02:35 Stepping: 0 01:02:35 CPU MHz: 2799.998 01:02:35 BogoMIPS: 5599.99 01:02:35 Virtualization: AMD-V 01:02:35 Hypervisor vendor: KVM 01:02:35 Virtualization type: full 01:02:35 L1d cache: 256 KiB 01:02:35 L1i cache: 256 KiB 01:02:35 L2 cache: 4 MiB 01:02:35 L3 cache: 128 MiB 01:02:35 NUMA node0 CPU(s): 0-7 01:02:35 Vulnerability Itlb multihit: Not affected 01:02:35 Vulnerability L1tf: Not affected 01:02:35 Vulnerability Mds: Not affected 01:02:35 Vulnerability Meltdown: Not affected 01:02:35 Vulnerability Mmio stale data: Not affected 01:02:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:02:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:02:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:02:35 Vulnerability Srbds: Not affected 01:02:35 Vulnerability Tsx async abort: Not affected 01:02:35 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 01:02:35 01:02:35 01:02:35 ---> nproc: 01:02:35 8 01:02:35 01:02:35 01:02:35 ---> df -h: 01:02:35 Filesystem Size Used Avail Use% Mounted on 01:02:35 overlay 155G 12G 144G 8% / 01:02:35 tmpfs 64M 0 64M 0% /dev 01:02:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:02:35 shm 64M 0 64M 0% /dev/shm 01:02:35 /dev/vda1 155G 12G 144G 8% /facter-os 01:02:35 01:02:35 01:02:35 ---> sar -b -r -n DEV: 01:02:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2854) 01/18/23 _x86_64_ (8 CPU) 01:02:35 01:02:35 00:53:30 LINUX RESTART (8 CPU) 01:02:35 01:02:35 00:54:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:02:35 00:55:01 381.76 15.54 366.22 0.00 1946.49 115344.59 0.00 01:02:35 00:56:01 92.17 0.22 91.95 0.00 17.73 35426.76 0.00 01:02:35 00:57:01 1.57 0.00 1.57 0.00 0.00 18.95 0.00 01:02:35 00:58:01 1.17 0.00 1.17 0.00 0.00 14.13 0.00 01:02:35 00:59:01 53.37 10.58 42.79 0.00 5154.87 8789.20 0.00 01:02:35 01:00:02 6.02 0.02 6.00 0.00 0.13 123.05 0.00 01:02:35 01:01:01 1.41 0.00 1.41 0.00 0.00 16.40 0.00 01:02:35 01:02:01 1.60 0.00 1.60 0.00 0.00 19.06 0.00 01:02:35 Average: 67.53 3.30 64.23 0.00 891.77 20013.81 0.00 01:02:35 01:02:35 00:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:02:35 00:55:01 27997364 31570088 735192 2.24 135788 3607536 1897356 5.59 1168468 3243160 391096 01:02:35 00:56:01 28038824 31577388 725392 2.21 144908 3564284 1785656 5.26 1170804 3193772 356 01:02:35 00:57:01 28038984 31577708 724820 2.20 144936 3564284 1785656 5.26 1170556 3193772 8 01:02:35 00:58:01 28042928 31581704 720764 2.19 144984 3564288 1785656 5.26 1166568 3193776 132 01:02:35 00:59:01 27511164 31555892 730996 2.22 178996 4019576 1815504 5.35 1491364 3362712 928 01:02:35 01:00:02 27521276 31561220 726292 2.21 177588 4016316 1801324 5.31 1487256 3359452 44 01:02:35 01:01:01 27528120 31568136 719372 2.19 177676 4016324 1801324 5.31 1480864 3359460 8 01:02:35 01:02:01 27528072 31568120 719252 2.19 177748 4016328 1801324 5.31 1480884 3359460 56 01:02:35 Average: 27775842 31570032 725260 2.21 160328 3796117 1809225 5.33 1327096 3283196 49078 01:02:35 01:02:35 00:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:02:35 00:55:01 ens3 609.43 478.99 7821.72 104.45 0.00 0.00 0.00 0.00 01:02:35 00:55:01 docker0 168.13 200.80 13.60 1837.43 0.00 0.00 0.00 0.00 01:02:35 00:55:01 lo 6.53 6.53 0.63 0.63 0.00 0.00 0.00 0.00 01:02:35 00:56:01 ens3 123.30 89.19 2553.32 20.15 0.00 0.00 0.00 0.00 01:02:35 00:56:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 01:02:35 00:56:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 01:02:35 00:57:01 ens3 0.42 0.00 0.03 0.00 0.00 0.00 0.00 0.00 01:02:35 00:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 00:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 00:58:01 ens3 0.35 0.13 0.03 0.01 0.00 0.00 0.00 0.00 01:02:35 00:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 00:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:02:35 00:59:01 ens3 159.57 98.67 2756.29 7.20 0.00 0.00 0.00 0.00 01:02:35 00:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 00:59:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 01:02:35 01:00:02 ens3 0.45 0.35 0.03 0.02 0.00 0.00 0.00 0.00 01:02:35 01:00:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 01:00:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:02:35 01:01:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 01:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 01:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 01:02:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 01:02:35 01:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:02:35 01:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:02:35 Average: ens3 111.96 83.62 1645.04 16.52 0.00 0.00 0.00 0.00 01:02:35 Average: docker0 21.07 25.17 1.70 230.22 0.00 0.00 0.00 0.00 01:02:35 Average: lo 1.11 1.11 0.10 0.10 0.00 0.00 0.00 0.00 01:02:35 01:02:35 01:02:35 ---> sar -P ALL: 01:02:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2854) 01/18/23 _x86_64_ (8 CPU) 01:02:35 01:02:35 00:53:30 LINUX RESTART (8 CPU) 01:02:35 01:02:35 00:54:01 CPU %user %nice %system %iowait %steal %idle 01:02:35 00:55:01 all 11.39 0.00 4.43 2.84 0.07 81.27 01:02:35 00:55:01 0 11.61 0.00 3.39 0.12 0.08 84.80 01:02:35 00:55:01 1 12.44 0.00 4.46 0.66 0.07 82.37 01:02:35 00:55:01 2 10.70 0.00 4.13 0.12 0.08 84.96 01:02:35 00:55:01 3 10.07 0.00 5.22 3.52 0.05 81.13 01:02:35 00:55:01 4 13.03 0.00 5.73 7.82 0.05 73.36 01:02:35 00:55:01 5 11.40 0.00 4.54 7.52 0.07 76.47 01:02:35 00:55:01 6 10.17 0.00 3.65 2.69 0.07 83.42 01:02:35 00:55:01 7 11.73 0.00 4.33 0.22 0.08 83.63 01:02:35 00:56:01 all 13.66 0.00 3.29 1.43 0.04 81.58 01:02:35 00:56:01 0 14.06 0.00 3.39 3.69 0.05 78.81 01:02:35 00:56:01 1 13.12 0.00 2.91 0.39 0.07 83.52 01:02:35 00:56:01 2 14.25 0.00 2.76 0.20 0.03 82.76 01:02:35 00:56:01 3 13.31 0.00 3.46 1.13 0.05 82.05 01:02:35 00:56:01 4 13.46 0.00 3.97 3.08 0.05 79.45 01:02:35 00:56:01 5 13.82 0.00 3.61 1.14 0.03 81.40 01:02:35 00:56:01 6 13.69 0.00 3.09 1.53 0.03 81.66 01:02:35 00:56:01 7 13.60 0.00 3.10 0.29 0.03 82.97 01:02:35 00:57:01 all 0.07 0.00 0.01 0.00 0.01 99.90 01:02:35 00:57:01 0 0.02 0.00 0.02 0.00 0.03 99.93 01:02:35 00:57:01 1 0.02 0.00 0.02 0.00 0.02 99.95 01:02:35 00:57:01 2 0.52 0.00 0.05 0.00 0.03 99.40 01:02:35 00:57:01 3 0.02 0.00 0.00 0.02 0.00 99.97 01:02:35 00:57:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:02:35 00:57:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:02:35 00:57:01 6 0.00 0.00 0.00 0.00 0.00 100.00 01:02:35 00:57:01 7 0.00 0.00 0.02 0.02 0.02 99.95 01:02:35 00:58:01 all 0.09 0.00 0.01 0.01 0.01 99.88 01:02:35 00:58:01 0 0.03 0.00 0.02 0.00 0.00 99.95 01:02:35 00:58:01 1 0.03 0.00 0.02 0.00 0.02 99.93 01:02:35 00:58:01 2 0.48 0.00 0.02 0.00 0.02 99.48 01:02:35 00:58:01 3 0.00 0.00 0.02 0.07 0.02 99.90 01:02:35 00:58:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:02:35 00:58:01 5 0.08 0.00 0.00 0.00 0.02 99.90 01:02:35 00:58:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:02:35 00:58:01 7 0.03 0.00 0.02 0.02 0.00 99.93 01:02:35 00:59:01 all 2.19 0.00 1.42 0.75 0.03 95.61 01:02:35 00:59:01 0 1.42 0.00 1.30 0.13 0.03 97.12 01:02:35 00:59:01 1 1.00 0.00 1.84 0.05 0.03 97.08 01:02:35 00:59:01 2 3.42 0.00 0.99 0.30 0.02 95.27 01:02:35 00:59:01 3 2.52 0.00 0.84 2.44 0.03 94.17 01:02:35 00:59:01 4 2.49 0.00 2.82 0.73 0.03 93.92 01:02:35 00:59:01 5 2.66 0.00 1.09 1.10 0.03 95.11 01:02:35 00:59:01 6 2.37 0.00 1.62 0.57 0.02 95.43 01:02:35 00:59:01 7 1.63 0.00 0.89 0.64 0.05 96.80 01:02:35 01:00:02 all 0.11 0.00 0.09 0.04 0.01 99.76 01:02:35 01:00:02 0 0.13 0.00 0.05 0.00 0.00 99.82 01:02:35 01:00:02 1 0.03 0.00 0.07 0.02 0.00 99.88 01:02:35 01:00:02 2 0.08 0.00 0.12 0.02 0.02 99.77 01:02:35 01:00:02 3 0.08 0.00 0.08 0.27 0.02 99.55 01:02:35 01:00:02 4 0.03 0.00 0.08 0.00 0.00 99.88 01:02:35 01:00:02 5 0.32 0.00 0.17 0.00 0.00 99.52 01:02:35 01:00:02 6 0.05 0.00 0.05 0.02 0.02 99.87 01:02:35 01:00:02 7 0.17 0.00 0.07 0.00 0.00 99.77 01:02:35 01:01:01 all 0.02 0.00 0.01 0.00 0.01 99.96 01:02:35 01:01:01 0 0.03 0.00 0.00 0.00 0.02 99.95 01:02:35 01:01:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:02:35 01:01:01 2 0.03 0.00 0.00 0.00 0.02 99.95 01:02:35 01:01:01 3 0.00 0.00 0.00 0.03 0.02 99.95 01:02:35 01:01:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:02:35 01:01:01 5 0.02 0.00 0.02 0.00 0.00 99.97 01:02:35 01:01:01 6 0.03 0.00 0.03 0.00 0.02 99.92 01:02:35 01:01:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:02:35 01:02:01 all 0.04 0.00 0.01 0.00 0.01 99.94 01:02:35 01:02:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:02:35 01:02:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:02:35 01:02:01 2 0.17 0.00 0.00 0.02 0.02 99.80 01:02:35 01:02:01 3 0.02 0.00 0.02 0.02 0.02 99.93 01:02:35 01:02:01 4 0.02 0.00 0.02 0.00 0.02 99.95 01:02:35 01:02:01 5 0.02 0.00 0.02 0.00 0.02 99.95 01:02:35 01:02:01 6 0.03 0.00 0.03 0.00 0.03 99.90 01:02:35 01:02:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:02:35 Average: all 3.43 0.00 1.15 0.63 0.02 94.76 01:02:35 Average: 0 3.40 0.00 1.02 0.49 0.03 95.07 01:02:35 Average: 1 3.31 0.00 1.16 0.14 0.03 95.36 01:02:35 Average: 2 3.70 0.00 1.01 0.08 0.03 95.19 01:02:35 Average: 3 3.24 0.00 1.20 0.94 0.03 94.59 01:02:35 Average: 4 3.61 0.00 1.57 1.44 0.02 93.35 01:02:35 Average: 5 3.53 0.00 1.18 1.22 0.02 94.05 01:02:35 Average: 6 3.28 0.00 1.06 0.60 0.02 95.04 01:02:35 Average: 7 3.38 0.00 1.05 0.15 0.02 95.41 01:02:35 01:02:35 01:02:35