Pull request #387 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc rather than 0842174cf64c70e314751488866d1c1f9e581358 Obtained Jenkinsfile from fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 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-ssh8400405517788458304.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17129593460299630544.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-387/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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12414987956358920682.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh17389318375215592611.key Verifying host key using known hosts file > 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-387/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-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2673819097774454380.key Verifying host key using known hosts file > 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117184 in /w/workspace/xfoundry_device-modbus-go_PR-387 [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-387 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit 0842174cf64c70e314751488866d1c1f9e581358 Merge succeeded, producing 0842174cf64c70e314751488866d1c1f9e581358 Checking out Revision 0842174cf64c70e314751488866d1c1f9e581358 (PR-387) > git config core.sparsecheckout # timeout=10 > git checkout -f 0842174cf64c70e314751488866d1c1f9e581358 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0842174cf64c70e314751488866d1c1f9e581358 # timeout=10 Commit message: "update versions, address feedback" > git rev-list --no-walk fedc178e360bd096d52c4780e1d622283b62252c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:30:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:30:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:30:08 ========================================================= 16:30:08 EdgeX Global Pipelines Version Info 16:30:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:30:09 ------------------- 16:30:09 stable info: 16:30:09 ------------------- 16:30:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:30:09 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:30:09 Message: update stable to v1.0.243 16:30:10 ------------------- 16:30:10 experimental info: 16:30:10 ------------------- 16:30:10 Commited By: **** collab-it+edgex@linuxfoundation.org 16:30:10 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:30:10 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0842174cf64c70e314751488866d1c1f9e581358 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0842174 [Pipeline] echo 16:30:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:10 provisioning config files... 16:30:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config11512574225955956210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:11 ---> docker-login.sh 16:30:11 nexus3.edgexfoundry.org:10001 16:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:12 Configure a credential helper to remove this warning. See 16:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:12 16:30:12 Login Succeeded 16:30:12 nexus3.edgexfoundry.org:10002 16:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:12 Configure a credential helper to remove this warning. See 16:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:12 16:30:12 Login Succeeded 16:30:12 nexus3.edgexfoundry.org:10003 16:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:12 Configure a credential helper to remove this warning. See 16:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:12 16:30:12 Login Succeeded 16:30:12 nexus3.edgexfoundry.org:10004 16:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:12 Configure a credential helper to remove this warning. See 16:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:12 16:30:12 Login Succeeded 16:30:12 docker.io 16:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:12 Configure a credential helper to remove this warning. See 16:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:12 16:30:12 Login Succeeded 16:30:12 ---> docker-login.sh ends [Pipeline] } 16:30:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:30:13 + git rev-list -1 --merges 0842174cf64c70e314751488866d1c1f9e581358~1..0842174cf64c70e314751488866d1c1f9e581358 [Pipeline] echo 16:30:13 -----------> git rev-list -1 --merges 0842174cf64c70e314751488866d1c1f9e581358~1..0842174cf64c70e314751488866d1c1f9e581358 0842174cf64c70e314751488866d1c1f9e581358 [false] [Pipeline] sh 16:30:13 + git log --format=format:%s -1 0842174cf64c70e314751488866d1c1f9e581358 [Pipeline] echo 16:30:13 ========================================================= 16:30:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:30:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:14 + git log --format=format:%s -1 0842174cf64c70e314751488866d1c1f9e581358 [Pipeline] echo 16:30:14 [semverPrep] GIT_COMMIT: 0842174cf64c70e314751488866d1c1f9e581358, Commit Message: update versions, address feedback [Pipeline] echo 16:30:14 [semverPrep] This is not a build commit. [Pipeline] sh 16:30:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:30:14 + grep -v github /etc/ssh/ssh_known_hosts 16:30:14 + [ -e /tmp/ssh_known_hosts ] 16:30:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:30:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:30:14 + sudo tee -a /etc/ssh/ssh_known_hosts 16:30:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:14 16:30:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:15 0.1.4: Pulling from edgex-devops/py-git-semver 16:30:15 b85a868b505f: Pulling fs layer 16:30:15 e2be974225ed: Pulling fs layer 16:30:15 339a4e72a1f5: Pulling fs layer 16:30:15 988bab9f4d93: Pulling fs layer 16:30:15 1469e6f7b9e6: Pulling fs layer 16:30:15 eaf3925da568: Pulling fs layer 16:30:15 bab4dde63d76: Pulling fs layer 16:30:15 bde34c3a00c8: Pulling fs layer 16:30:15 988bab9f4d93: Waiting 16:30:15 1469e6f7b9e6: Waiting 16:30:15 eaf3925da568: Waiting 16:30:15 bde34c3a00c8: Waiting 16:30:15 bab4dde63d76: Waiting 16:30:15 b352a97aabf1: Pulling fs layer 16:30:15 4872d77fe225: Pulling fs layer 16:30:15 5851b861e8e6: Pulling fs layer 16:30:15 b352a97aabf1: Waiting 16:30:15 4872d77fe225: Waiting 16:30:15 5851b861e8e6: Waiting 16:30:15 e2be974225ed: Download complete 16:30:15 988bab9f4d93: Verifying Checksum 16:30:15 988bab9f4d93: Download complete 16:30:15 1469e6f7b9e6: Verifying Checksum 16:30:15 1469e6f7b9e6: Download complete 16:30:15 339a4e72a1f5: Verifying Checksum 16:30:15 339a4e72a1f5: Download complete 16:30:15 eaf3925da568: Download complete 16:30:15 bde34c3a00c8: Verifying Checksum 16:30:15 bde34c3a00c8: Download complete 16:30:15 b352a97aabf1: Verifying Checksum 16:30:15 b352a97aabf1: Download complete 16:30:15 4872d77fe225: Verifying Checksum 16:30:15 4872d77fe225: Download complete 16:30:15 5851b861e8e6: Download complete 16:30:15 b85a868b505f: Verifying Checksum 16:30:15 b85a868b505f: Download complete 16:30:15 bab4dde63d76: Verifying Checksum 16:30:15 bab4dde63d76: Download complete 16:30:16 b85a868b505f: Pull complete 16:30:16 e2be974225ed: Pull complete 16:30:16 339a4e72a1f5: Pull complete 16:30:17 988bab9f4d93: Pull complete 16:30:17 1469e6f7b9e6: Pull complete 16:30:17 eaf3925da568: Pull complete 16:30:19 bab4dde63d76: Pull complete 16:30:19 bde34c3a00c8: Pull complete 16:30:19 b352a97aabf1: Pull complete 16:30:19 4872d77fe225: Pull complete 16:30:19 5851b861e8e6: Pull complete 16:30:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:30:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:19 prd-ubuntu20.04-docker-8c-8g-117184 does not seem to be running inside a container 16:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:30:22 $ docker top e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 -eo pid,comm 16:30: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). 16:30:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:30:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:22 [ssh-agent] Looking for ssh-agent implementation... 16:30:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:22 $ docker exec e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 ssh-agent 16:30:22 SSH_AUTH_SOCK=/tmp/ssh-ARBJDJYizoKc/agent.31 16:30:22 SSH_AGENT_PID=37 16:30:22 Running ssh-add (command line suppressed) 16:30:22 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_4896137512740761743.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_4896137512740761743.key) 16:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:23 + git tag --points-at HEAD [Pipeline] } 16:30:23 $ docker exec --env ******** --env ******** e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 ssh-agent -k 16:30:23 unset SSH_AUTH_SOCK; 16:30:23 unset SSH_AGENT_PID; 16:30:23 echo Agent pid 37 killed; 16:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:30:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:30:23 [ssh-agent] Looking for ssh-agent implementation... 16:30:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:30:23 $ docker exec e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 ssh-agent 16:30:23 SSH_AUTH_SOCK=/tmp/ssh-zImhWlBakxjn/agent.69 16:30:23 SSH_AGENT_PID=75 16:30:23 Running ssh-add (command line suppressed) 16:30:23 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_4703856676164723722.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_4703856676164723722.key) 16:30:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:30:23 + git semver init 16:30:24 2022-10-26 16:30:24,139 [run_init] DEBUG init version:0.0.0 force:False 16:30:24 2022-10-26 16:30:24,140 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver 16:30:24 2022-10-26 16:30:24,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-387/.semver 16:30:24 2022-10-26 16:30:24,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-387/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387, universal_newlines=False, shell=None, istream=None) 16:30:25 2022-10-26 16:30:25,072 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.git/info/exclude 16:30:25 2022-10-26 16:30:25,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 with force:False 16:30:25 2022-10-26 16:30:25,073 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 16:30:25 2022-10-26 16:30:25,077 [execute] INFO git cat-file --batch-check 16:30:25 2022-10-26 16:30:25,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) 16:30:25 2022-10-26 16:30:25,083 [execute] INFO git cat-file --batch 16:30:25 2022-10-26 16:30:25,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) 16:30:25 2022-10-26 16:30:25,088 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 16:30:25 0.0.0 [Pipeline] } 16:30:25 $ docker exec --env ******** --env ******** e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 ssh-agent -k 16:30:25 unset SSH_AUTH_SOCK; 16:30:25 unset SSH_AGENT_PID; 16:30:25 echo Agent pid 75 killed; 16:30:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:30:25 + git semver [Pipeline] } 16:30:25 $ docker stop --time=1 e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 16:30:27 $ docker rm -f e4db161858b1a97a1287bc4f7c12264033d2f62d676478c2009b0e70a672b088 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:30:27 Stashed 1 file(s) [Pipeline] echo 16:30: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 16:30:27 provisioning config files... 16:30:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config11718244971080155102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:28 ---> docker-login.sh 16:30:28 nexus3.edgexfoundry.org:10001 16:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:28 Configure a credential helper to remove this warning. See 16:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:28 16:30:28 Login Succeeded 16:30:28 nexus3.edgexfoundry.org:10002 16:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:28 Configure a credential helper to remove this warning. See 16:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:28 16:30:28 Login Succeeded 16:30:28 nexus3.edgexfoundry.org:10003 16:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:28 Configure a credential helper to remove this warning. See 16:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:28 16:30:28 Login Succeeded 16:30:28 nexus3.edgexfoundry.org:10004 16:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:28 Configure a credential helper to remove this warning. See 16:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:28 16:30:28 Login Succeeded 16:30:28 docker.io 16:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:28 Configure a credential helper to remove this warning. See 16:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:28 16:30:28 Login Succeeded 16:30:28 ---> docker-login.sh ends [Pipeline] } 16:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:28 ========================================================= 16:30:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:30:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30: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 . 16:30:29 Sending build context to Docker daemon 6.275MB 16:30:29 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:30:29 Step 2/10 : FROM ${BASE} AS builder 16:30:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:30:29 213ec9aee27d: Pulling fs layer 16:30:29 4583459ba037: Pulling fs layer 16:30:29 93c1e223e6f2: Pulling fs layer 16:30:29 53926ce57604: Pulling fs layer 16:30:29 21b2b0c7a3f4: Pulling fs layer 16:30:29 30f14e443154: Pulling fs layer 16:30:29 801331c1e519: Pulling fs layer 16:30:29 99cc6dd402b0: Pulling fs layer 16:30:29 7d9ed39f4882: Pulling fs layer 16:30:29 801331c1e519: Waiting 16:30:29 99cc6dd402b0: Waiting 16:30:29 53926ce57604: Waiting 16:30:29 30f14e443154: Waiting 16:30:29 7d9ed39f4882: Waiting 16:30:29 93c1e223e6f2: Verifying Checksum 16:30:29 93c1e223e6f2: Download complete 16:30:29 4583459ba037: Verifying Checksum 16:30:29 4583459ba037: Download complete 16:30:29 21b2b0c7a3f4: Verifying Checksum 16:30:29 21b2b0c7a3f4: Download complete 16:30:29 30f14e443154: Download complete 16:30:29 213ec9aee27d: Verifying Checksum 16:30:29 213ec9aee27d: Download complete 16:30:29 801331c1e519: Download complete 16:30:29 213ec9aee27d: Pull complete 16:30:30 7d9ed39f4882: Verifying Checksum 16:30:30 7d9ed39f4882: Download complete 16:30:30 4583459ba037: Pull complete 16:30:30 99cc6dd402b0: Verifying Checksum 16:30:30 99cc6dd402b0: Download complete 16:30:30 53926ce57604: Verifying Checksum 16:30:30 53926ce57604: Download complete 16:30:30 93c1e223e6f2: Pull complete 16:30:34 53926ce57604: Pull complete 16:30:34 21b2b0c7a3f4: Pull complete 16:30:34 30f14e443154: Pull complete 16:30:34 801331c1e519: Pull complete 16:30:36 99cc6dd402b0: Pull complete 16:30:37 7d9ed39f4882: Pull complete 16:30:37 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:30:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:30:37 ---> 1dedd983c030 16:30:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:30:42 Still waiting to schedule task 16:30:42 ‘prd-centos7-builder-2c-1g-117178’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:30:42 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117185’ is offline 16:30:43 ---> Running in 5a49b332f972 16:30:44 Removing intermediate container 5a49b332f972 16:30:44 ---> d8e08e9b143d 16:30:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:30:45 ---> Running in 84bb77f04aa1 16:30:45 Removing intermediate container 84bb77f04aa1 16:30:45 ---> bc06a2be2c33 16:30:45 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:30:45 ---> Running in 4d4da248097f 16:30:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:30:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:30:46 (1/8) Installing openssh-keygen (9.0_p1-r2) 16:30:46 (2/8) Installing libedit (20210910.3.1-r0) 16:30:46 (3/8) Installing openssh-client-common (9.0_p1-r2) 16:30:46 (4/8) Installing openssh-client-default (9.0_p1-r2) 16:30:46 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 16:30:46 (6/8) Installing openssh-server-common (9.0_p1-r2) 16:30:46 (7/8) Installing openssh-server (9.0_p1-r2) 16:30:46 (8/8) Installing openssh (9.0_p1-r2) 16:30:46 Executing busybox-1.35.0-r17.trigger 16:30:46 OK: 217 MiB in 59 packages 16:30:47 Removing intermediate container 4d4da248097f 16:30:47 ---> ee0b9932cb4a 16:30:47 Step 6/10 : WORKDIR /device-modbus-go 16:30:47 ---> Running in 83fad2dcb10e 16:30:47 Removing intermediate container 83fad2dcb10e 16:30:47 ---> 562f5e03ee71 16:30:47 Step 7/10 : COPY go.mod vendor* ./ 16:30:47 ---> 81e63716aff0 16:30:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:47 ---> Running in 8eaa868875a6 16:31:19 Removing intermediate container 8eaa868875a6 16:31:19 ---> e2eaea0c93f6 16:31:19 Step 9/10 : COPY . . 16:31:19 ---> 2e0e3857be77 16:31:19 Step 10/10 : RUN ${MAKE} 16:31:19 ---> Running in 4c78913460b3 16:31:19 noop 16:31:19 Removing intermediate container 4c78913460b3 16:31:19 ---> 16d4c83290cd 16:31:19 Successfully built 16d4c83290cd 16:31:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:19 + docker inspect -f . ci-base-image-x86_64 16:31:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:19 prd-ubuntu20.04-docker-8c-8g-117184 does not seem to be running inside a container 16:31:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:20 $ docker top 2a97db10074a9c3910687e86089c3694f71b652c75199337f0e47d89a5e1299b -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:20 + go version 16:31:20 go version go1.18.7 linux/amd64 [Pipeline] } 16:31:20 $ docker stop --time=1 2a97db10074a9c3910687e86089c3694f71b652c75199337f0e47d89a5e1299b 16:31:21 $ docker rm -f 2a97db10074a9c3910687e86089c3694f71b652c75199337f0e47d89a5e1299b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:22 + docker inspect -f . ci-base-image-x86_64 16:31:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:22 prd-ubuntu20.04-docker-8c-8g-117184 does not seem to be running inside a container 16:31:22 $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:22 $ docker top 887f8cf046d0606b0c6a54ac4b136e96437e5793fedc87847263ba3e337694ef -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:23 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] fileExists [Pipeline] sh 16:31:23 + make test 16:31:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:31:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:31:31 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:31:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 16:31:38 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." 16:31:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:31:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:40 ./bin/test-attribution-txt.sh [Pipeline] echo 16:31:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:31:40 $ docker stop --time=1 887f8cf046d0606b0c6a54ac4b136e96437e5793fedc87847263ba3e337694ef 16:31:42 $ docker rm -f 887f8cf046d0606b0c6a54ac4b136e96437e5793fedc87847263ba3e337694ef [Pipeline] // withDockerContainer [Pipeline] sh 16:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:31:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:31:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:43 + ls -al . 16:31:43 total 196 16:31:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:31 . 16:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:30 .. 16:31:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 16:30 .dockerignore 16:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:31 .git 16:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:30 .github 16:31:43 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 16:30 .gitignore 16:31:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 16:30 .golangci.yml 16:31:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:30 .semver 16:31:43 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 16:30 Attribution.txt 16:31:43 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 16:30 CHANGELOG.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 1517 Oct 26 16:30 Dockerfile 16:31:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:30 GOVERNANCE.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 16:30 Jenkinsfile 16:31:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 16:30 LICENSE 16:31:43 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 16:30 Makefile 16:31:43 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 16:30 OWNERS.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 16:30 README.md 16:31:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:30 VERSION 16:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:30 bin 16:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:30 cmd 16:31:43 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 16:31 coverage.out 16:31:43 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 16:30 go.mod 16:31:43 -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 16:30 go.sum 16:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:30 internal 16:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:30 simulator 16:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:30 snap 16:31:43 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 16:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:43 + 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=0842174cf64c70e314751488866d1c1f9e581358 --label arch=amd64 --label version=0.0.0 . 16:31:43 Sending build context to Docker daemon 6.299MB 16:31:43 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:31:43 Step 2/23 : FROM ${BASE} AS builder 16:31:43 ---> 16d4c83290cd 16:31:43 Step 3/23 : ARG ADD_BUILD_TAGS="" 16:31:43 ---> Running in f27c2879eaca 16:31:43 Removing intermediate container f27c2879eaca 16:31:43 ---> f450861ff109 16:31:43 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:31:44 ---> Running in 12a20d099d89 16:31:44 Removing intermediate container 12a20d099d89 16:31:44 ---> 97b943c6983b 16:31:44 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 16:31:44 ---> Running in 81e58671c132 16:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:31:44 OK: 217 MiB in 59 packages 16:31:44 Removing intermediate container 81e58671c132 16:31:44 ---> cf39aee7e363 16:31:44 Step 6/23 : WORKDIR /device-modbus-go 16:31:44 ---> Running in 2c68e3d899be 16:31:45 Removing intermediate container 2c68e3d899be 16:31:45 ---> 9106c179142d 16:31:45 Step 7/23 : COPY go.mod vendor* ./ 16:31:45 ---> d9625415074a 16:31:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:45 ---> Running in 7364408763f1 16:31:45 Removing intermediate container 7364408763f1 16:31:45 ---> ada43f8e8a02 16:31:45 Step 9/23 : COPY . . 16:31:46 ---> ee143e6ed6d8 16:31:46 Step 10/23 : RUN ${MAKE} 16:31:46 ---> Running in 569fb6fb1787 16:31:46 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 16:32:08 Removing intermediate container 569fb6fb1787 16:32:08 ---> bd921c8de5c5 16:32:08 Step 11/23 : FROM alpine:3.14 16:32:08 3.14: Pulling from library/alpine 16:32:08 c7ed990a2339: Pulling fs layer 16:32:08 c7ed990a2339: Verifying Checksum 16:32:08 c7ed990a2339: Download complete 16:32:08 c7ed990a2339: Pull complete 16:32:08 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 16:32:08 Status: Downloaded newer image for alpine:3.14 16:32:08 ---> dd53f409bf0b 16:32:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:32:08 ---> Running in 7850ecbd5686 16:32:08 Removing intermediate container 7850ecbd5686 16:32:08 ---> eaef5cad3728 16:32:08 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:32:08 ---> Running in 1dd23160a27e 16:32:08 Removing intermediate container 1dd23160a27e 16:32:08 ---> 1a26aeb69c51 16:32:08 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 16:32:08 ---> Running in e5e8e7469f13 16:32:08 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:32:08 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:32:09 (1/6) Installing dumb-init (1.2.5-r1) 16:32:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:32:09 (3/6) Installing libsodium (1.0.18-r0) 16:32:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:32:10 (5/6) Installing libzmq (4.3.4-r0) 16:32:11 (6/6) Installing zeromq (4.3.4-r0) 16:32:11 Executing busybox-1.33.1-r8.trigger 16:32:11 OK: 8 MiB in 20 packages 16:32:11 Removing intermediate container e5e8e7469f13 16:32:11 ---> 8870eb370f4d 16:32:11 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 16:32:12 ---> dc92d93af1b8 16:32:12 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 16:32:12 ---> d95326ca43fe 16:32:12 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:32:12 ---> e45ba13df69f 16:32:12 Step 18/23 : EXPOSE 59901 16:32:12 ---> Running in 313f43122236 16:32:12 Removing intermediate container 313f43122236 16:32:12 ---> ef1c688b130a 16:32:12 Step 19/23 : ENTRYPOINT ["/device-modbus"] 16:32:12 ---> Running in 1f1c6519eef2 16:32:12 Removing intermediate container 1f1c6519eef2 16:32:12 ---> e8009d146965 16:32:12 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:32:12 ---> Running in f5a593f6cff0 16:32:12 Removing intermediate container f5a593f6cff0 16:32:12 ---> d4fa1e83e79d 16:32:12 Step 21/23 : LABEL arch=amd64 16:32:12 ---> Running in 38c09dfb2323 16:32:12 Removing intermediate container 38c09dfb2323 16:32:12 ---> f0decfb2489c 16:32:12 Step 22/23 : LABEL git_sha=0842174cf64c70e314751488866d1c1f9e581358 16:32:12 ---> Running in 394f722fd9bb 16:32:13 Removing intermediate container 394f722fd9bb 16:32:13 ---> 26687fe04c7f 16:32:13 Step 23/23 : LABEL version=0.0.0 16:32:13 ---> Running in d0097d6cef82 16:32:13 Removing intermediate container d0097d6cef82 16:32:13 ---> f4da2752ad77 16:32:13 [Warning] One or more build-args [ARCH] were not consumed 16:32:13 Successfully built f4da2752ad77 16:32:13 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 16:32:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:13 16:32:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:13 latest: Pulling from edgex-lftools-log-publisher 16:32:13 5eb5b503b376: Pulling fs layer 16:32:13 5c69ac0246d0: Pulling fs layer 16:32:13 ec43610c2a17: Pulling fs layer 16:32:13 3a2ae6a8a46f: Pulling fs layer 16:32:13 33b1e0a273af: Pulling fs layer 16:32:13 5d3b04190fa2: Pulling fs layer 16:32:13 2f39f015ded8: Pulling fs layer 16:32:13 33b1e0a273af: Waiting 16:32:13 5d3b04190fa2: Waiting 16:32:13 2f39f015ded8: Waiting 16:32:13 5c69ac0246d0: Verifying Checksum 16:32:13 5c69ac0246d0: Download complete 16:32:13 3a2ae6a8a46f: Verifying Checksum 16:32:13 3a2ae6a8a46f: Download complete 16:32:13 ec43610c2a17: Verifying Checksum 16:32:13 ec43610c2a17: Download complete 16:32:14 33b1e0a273af: Verifying Checksum 16:32:14 33b1e0a273af: Download complete 16:32:14 5d3b04190fa2: Download complete 16:32:14 5eb5b503b376: Verifying Checksum 16:32:14 5eb5b503b376: Download complete 16:32:14 2f39f015ded8: Download complete 16:32:15 5eb5b503b376: Pull complete 16:32:15 5c69ac0246d0: Pull complete 16:32:16 ec43610c2a17: Pull complete 16:32:16 3a2ae6a8a46f: Pull complete 16:32:16 33b1e0a273af: Pull complete 16:32:16 5d3b04190fa2: Pull complete 16:32:21 2f39f015ded8: Pull complete 16:32:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:32:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:21 prd-ubuntu20.04-docker-8c-8g-117184 does not seem to be running inside a container 16:32:21 $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:32:24 $ docker top 83b842b7fe4f49a3a9beefb0f4bcbb0b56aa04b2f3754bb86ca956cad7c2a33b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:24 ---> job-cost.sh 16:32:24 lf-activate-venv: SKIPPING 16:32:24 INFO: No Stack... 16:32:24 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:25 INFO: Archiving Costs [Pipeline] sh 16:32:25 + cat /w/workspace/xfoundry_device-modbus-go_PR-387/archives/cost.csv 16:32:25 + cut -d, -f6 [Pipeline] lock 16:32:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] 16:32:25 Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] did not exist. Created. 16:32:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:32:25 + echo total: 0.2199999988079071 [Pipeline] stash 16:32:25 Stashed 1 file(s) [Pipeline] } 16:32:25 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:32:25 $ docker stop --time=1 83b842b7fe4f49a3a9beefb0f4bcbb0b56aa04b2f3754bb86ca956cad7c2a33b 16:32:26 $ docker rm -f 83b842b7fe4f49a3a9beefb0f4bcbb0b56aa04b2f3754bb86ca956cad7c2a33b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:00:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117197 in /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] { [Pipeline] ws 17:00:33 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 17:00:33 Selected Git installation does not exist. Using Default 17:00:33 The recommended git tool is: NONE 17:00:38 using credential edgex-jenkins-ssh 17:00:38 Cloning the remote Git repository 17:00:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:00:38 > git init /w/workspace/device-modbus-go/2 # timeout=10 17:00:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:00:38 > git --version # timeout=10 17:00:38 > git --version # 'git version 2.25.1' 17:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:38 Verifying host key using known hosts file 17:00:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:00:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:40 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:00:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:41 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit 0842174cf64c70e314751488866d1c1f9e581358 17:00:41 Merge succeeded, producing 0842174cf64c70e314751488866d1c1f9e581358 17:00:41 Checking out Revision 0842174cf64c70e314751488866d1c1f9e581358 (PR-387) 17:00:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:00:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:00:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:41 Verifying host key using known hosts file 17:00:41 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:00:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:00:41 > git config core.sparsecheckout # timeout=10 17:00:41 > git checkout -f 0842174cf64c70e314751488866d1c1f9e581358 # timeout=10 17:00:41 > git remote # timeout=10 17:00:41 > git config --get remote.origin.url # timeout=10 17:00:41 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:41 Verifying host key using known hosts file 17:00:41 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:00:41 > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 17:00:41 > git rev-parse HEAD^{commit} # timeout=10 17:00:41 > git config core.sparsecheckout # timeout=10 17:00:41 > git checkout -f 0842174cf64c70e314751488866d1c1f9e581358 # timeout=10 17:00:45 Commit message: "update versions, address feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:00:46 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:46 Dload Upload Total Spent Left Speed 17:00:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 95469 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 17:00:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:00:47 + sudo tee /etc/docker/daemon.new 17:00:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:00:47 { 17:00:47 "registry-mirrors": [ 17:00:47 "https://nexus3.edgexfoundry.org:10001" 17:00:47 ], 17:00:47 "bip": "10.250.0.254/24", 17:00:47 "hosts": [ 17:00:47 "tcp://0.0.0.0:5555", 17:00:47 "unix:///var/run/docker.sock" 17:00:47 ], 17:00:47 "mtu": 1458, 17:00:47 "selinux-enabled": true, 17:00:47 "seccomp-profile": "/etc/docker/seccomp.json" 17:00:47 } [Pipeline] sh 17:00:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:00:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:06 provisioning config files... 17:01:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7164619213726849554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:06 ---> docker-login.sh 17:01:06 nexus3.edgexfoundry.org:10001 17:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:07 Configure a credential helper to remove this warning. See 17:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:07 17:01:07 Login Succeeded 17:01:07 nexus3.edgexfoundry.org:10002 17:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:07 Configure a credential helper to remove this warning. See 17:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:07 17:01:07 Login Succeeded 17:01:07 nexus3.edgexfoundry.org:10003 17:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:07 Configure a credential helper to remove this warning. See 17:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:07 17:01:07 Login Succeeded 17:01:07 nexus3.edgexfoundry.org:10004 17:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:08 Configure a credential helper to remove this warning. See 17:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:08 17:01:08 Login Succeeded 17:01:08 docker.io 17:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:08 Configure a credential helper to remove this warning. See 17:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:08 17:01:08 Login Succeeded 17:01:08 ---> docker-login.sh ends [Pipeline] } 17:01:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:08 ========================================================= 17:01:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:01:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:09 + 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 . 17:01:09 Sending build context to Docker daemon 3.306MB 17:01:09 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:01:09 Step 2/10 : FROM ${BASE} AS builder 17:01:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:01:09 9b18e9b68314: Pulling fs layer 17:01:09 d32db5db7311: Pulling fs layer 17:01:09 d0c4b47475fc: Pulling fs layer 17:01:09 5831b945b038: Pulling fs layer 17:01:09 86bbec2aaacd: Pulling fs layer 17:01:09 e10730c5d714: Pulling fs layer 17:01:09 5dd5c2283517: Pulling fs layer 17:01:09 d5ac0230b979: Pulling fs layer 17:01:09 5831b945b038: Waiting 17:01:09 e10730c5d714: Waiting 17:01:09 5dd5c2283517: Waiting 17:01:09 86bbec2aaacd: Waiting 17:01:09 d5ac0230b979: Waiting 17:01:09 d0c4b47475fc: Verifying Checksum 17:01:09 d0c4b47475fc: Download complete 17:01:09 d32db5db7311: Verifying Checksum 17:01:09 d32db5db7311: Download complete 17:01:09 86bbec2aaacd: Verifying Checksum 17:01:09 86bbec2aaacd: Download complete 17:01:09 e10730c5d714: Verifying Checksum 17:01:09 e10730c5d714: Download complete 17:01:09 9b18e9b68314: Verifying Checksum 17:01:09 9b18e9b68314: Download complete 17:01:10 9b18e9b68314: Pull complete 17:01:10 d5ac0230b979: Verifying Checksum 17:01:10 d5ac0230b979: Download complete 17:01:11 d32db5db7311: Pull complete 17:01:11 d0c4b47475fc: Pull complete 17:01:11 5dd5c2283517: Verifying Checksum 17:01:11 5dd5c2283517: Download complete 17:01:12 5831b945b038: Verifying Checksum 17:01:12 5831b945b038: Download complete 17:01:25 5831b945b038: Pull complete 17:01:25 86bbec2aaacd: Pull complete 17:01:25 e10730c5d714: Pull complete 17:01:30 5dd5c2283517: Pull complete 17:01:31 d5ac0230b979: Pull complete 17:01:31 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 17:01:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:01:31 ---> 59b3b1a385d4 17:01:31 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:01:33 ---> Running in a1b28097923e 17:01:33 Removing intermediate container a1b28097923e 17:01:33 ---> bc6f3684348f 17:01:33 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:01:33 ---> Running in 1baa15c3272a 17:01:34 Removing intermediate container 1baa15c3272a 17:01:34 ---> 19ff6d6a7ce5 17:01:34 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:01:34 ---> Running in 9229016076a7 17:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:01:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:01:36 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:01:36 (2/8) Installing libedit (20210910.3.1-r0) 17:01:36 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:01:36 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:01:36 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:01:36 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:01:36 (7/8) Installing openssh-server (9.0_p1-r2) 17:01:36 (8/8) Installing openssh (9.0_p1-r2) 17:01:36 Executing busybox-1.35.0-r17.trigger 17:01:36 OK: 228 MiB in 59 packages 17:01:37 Removing intermediate container 9229016076a7 17:01:37 ---> e1a74ce21d48 17:01:37 Step 6/10 : WORKDIR /device-modbus-go 17:01:37 ---> Running in 66ae9e626266 17:01:38 Removing intermediate container 66ae9e626266 17:01:38 ---> 667eb9afa0a2 17:01:38 Step 7/10 : COPY go.mod vendor* ./ 17:01:38 ---> 4a39dcefee23 17:01:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:38 ---> Running in eaf44b05749a 17:02:35 Removing intermediate container eaf44b05749a 17:02:35 ---> 7301be8df943 17:02:35 Step 9/10 : COPY . . 17:02:35 ---> 3e96f8a8f585 17:02:35 Step 10/10 : RUN ${MAKE} 17:02:35 ---> Running in bf7d6adff185 17:02:35 noop 17:02:35 Removing intermediate container bf7d6adff185 17:02:35 ---> d4099955babb 17:02:35 Successfully built d4099955babb 17:02:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:35 + docker inspect -f . ci-base-image-arm64 17:02:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:35 prd-ubuntu20.04-docker-arm64-4c-16g-117197 does not seem to be running inside a container 17:02:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:02:36 $ docker top 3d4d446610a9148e1ace80393743c8ce2756a3da2b2c6821f3d3e8ec10e74109 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:37 + go version 17:02:37 go version go1.18.7 linux/arm64 [Pipeline] } 17:02:37 $ docker stop --time=1 3d4d446610a9148e1ace80393743c8ce2756a3da2b2c6821f3d3e8ec10e74109 17:02:39 $ docker rm -f 3d4d446610a9148e1ace80393743c8ce2756a3da2b2c6821f3d3e8ec10e74109 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:39 + docker inspect -f . ci-base-image-arm64 17:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:39 prd-ubuntu20.04-docker-arm64-4c-16g-117197 does not seem to be running inside a container 17:02:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:02:40 $ docker top c9cb976f6585c47b9457ccce809a413a5db476d98bbce93d4328f3100f30023e -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:41 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 17:02:41 + make test 17:02:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:02:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:04:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:04:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.7% of statements 17:04:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:04:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:04:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:04:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:04:23 ./bin/test-attribution-txt.sh [Pipeline] echo 17:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:04:23 $ docker stop --time=1 c9cb976f6585c47b9457ccce809a413a5db476d98bbce93d4328f3100f30023e 17:04:25 $ docker rm -f c9cb976f6585c47b9457ccce809a413a5db476d98bbce93d4328f3100f30023e [Pipeline] // withDockerContainer [Pipeline] sh 17:04:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:04:26 Warning: overwriting stash ‘coverage-report’ 17:04:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:04:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:04:27 + ls -al . 17:04:27 total 192 17:04:27 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 17:02 . 17:04:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:00 .. 17:04:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 17:00 .dockerignore 17:04:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:00 .git 17:04:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:00 .github 17:04:27 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 17:00 .gitignore 17:04:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 17:00 .golangci.yml 17:04:27 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 17:00 Attribution.txt 17:04:27 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 17:00 CHANGELOG.md 17:04:27 -rw-rw-r-- 1 jenkins jenkins 1517 Oct 26 17:00 Dockerfile 17:04:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 17:00 GOVERNANCE.md 17:04:27 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 17:00 Jenkinsfile 17:04:27 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 17:00 LICENSE 17:04:27 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 17:00 Makefile 17:04:27 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 17:00 OWNERS.md 17:04:27 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 17:00 README.md 17:04:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:30 VERSION 17:04:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 17:00 bin 17:04:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:00 cmd 17:04:27 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 17:04 coverage.out 17:04:27 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 17:00 go.mod 17:04:27 -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 17:00 go.sum 17:04:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:00 internal 17:04:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 17:00 simulator 17:04:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:00 snap 17:04:27 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 17:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:27 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0842174cf64c70e314751488866d1c1f9e581358 --label arch=arm64 --label version=0.0.0 . 17:04:28 Sending build context to Docker daemon 3.33MB 17:04:28 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:04:28 Step 2/23 : FROM ${BASE} AS builder 17:04:28 ---> d4099955babb 17:04:28 Step 3/23 : ARG ADD_BUILD_TAGS="" 17:04:28 ---> Running in bf0c0886cf62 17:04:28 Removing intermediate container bf0c0886cf62 17:04:28 ---> aca006338dcb 17:04:28 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:04:28 ---> Running in 4ea024710521 17:04:29 Removing intermediate container 4ea024710521 17:04:29 ---> 84510acaec56 17:04:29 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 17:04:29 ---> Running in acf0946af1cc 17:04:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:04:31 OK: 228 MiB in 59 packages 17:04:32 Removing intermediate container acf0946af1cc 17:04:32 ---> fbf4fac4ca6a 17:04:32 Step 6/23 : WORKDIR /device-modbus-go 17:04:32 ---> Running in 87cf27c87304 17:04:32 Removing intermediate container 87cf27c87304 17:04:32 ---> 83cb5031a261 17:04:32 Step 7/23 : COPY go.mod vendor* ./ 17:04:33 ---> 63060c3ddf8b 17:04:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:04:33 ---> Running in 507c5d70a7e1 17:04:34 Removing intermediate container 507c5d70a7e1 17:04:34 ---> eeff35c20056 17:04:34 Step 9/23 : COPY . . 17:04:35 ---> 39cea9bd78ab 17:04:35 Step 10/23 : RUN ${MAKE} 17:04:35 ---> Running in 1a273ab4f26c 17:04:36 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 17:07:13 Removing intermediate container 1a273ab4f26c 17:07:13 ---> d15305637b92 17:07:13 Step 11/23 : FROM alpine:3.14 17:07:13 3.14: Pulling from library/alpine 17:07:13 90cda3b7c325: Pulling fs layer 17:07:13 90cda3b7c325: Verifying Checksum 17:07:13 90cda3b7c325: Download complete 17:07:13 90cda3b7c325: Pull complete 17:07:13 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 17:07:13 Status: Downloaded newer image for alpine:3.14 17:07:13 ---> 376ba31ae3da 17:07:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:07:13 ---> Running in d82d879780a2 17:07:13 Removing intermediate container d82d879780a2 17:07:13 ---> 2523f1b9e065 17:07:13 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:13 ---> Running in ce876e21fa60 17:07:13 Removing intermediate container ce876e21fa60 17:07:13 ---> 560d02d632f6 17:07:13 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 17:07:13 ---> Running in 65c6607780b7 17:07:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:07:13 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:07:13 (1/6) Installing dumb-init (1.2.5-r1) 17:07:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:07:13 (3/6) Installing libsodium (1.0.18-r0) 17:07:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:07:13 (5/6) Installing libzmq (4.3.4-r0) 17:07:13 (6/6) Installing zeromq (4.3.4-r0) 17:07:13 Executing busybox-1.33.1-r8.trigger 17:07:13 OK: 8 MiB in 20 packages 17:07:13 Removing intermediate container 65c6607780b7 17:07:13 ---> 430da23bf9dd 17:07:13 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 17:07:15 ---> 70b664c0da67 17:07:15 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 17:07:15 ---> a434586fad2a 17:07:15 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:07:15 ---> 251a31ceb508 17:07:15 Step 18/23 : EXPOSE 59901 17:07:16 ---> Running in 647a606712f7 17:07:16 Removing intermediate container 647a606712f7 17:07:16 ---> c150303c8424 17:07:16 Step 19/23 : ENTRYPOINT ["/device-modbus"] 17:07:16 ---> Running in cb17e6ae59e6 17:07:16 Removing intermediate container cb17e6ae59e6 17:07:16 ---> b943055775c6 17:07:16 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:07:16 ---> Running in 180526d0d214 17:07:16 Removing intermediate container 180526d0d214 17:07:16 ---> abc7a87a597b 17:07:16 Step 21/23 : LABEL arch=arm64 17:07:16 ---> Running in d195134b8228 17:07:17 Removing intermediate container d195134b8228 17:07:17 ---> 8c1a0f7aed46 17:07:17 Step 22/23 : LABEL git_sha=0842174cf64c70e314751488866d1c1f9e581358 17:07:17 ---> Running in d86b9157581a 17:07:17 Removing intermediate container d86b9157581a 17:07:17 ---> cbdd4541b427 17:07:17 Step 23/23 : LABEL version=0.0.0 17:07:17 ---> Running in 37449dd0be2d 17:07:17 Removing intermediate container 37449dd0be2d 17:07:17 ---> 4235fc321ebb 17:07:17 [Warning] One or more build-args [ARCH] were not consumed 17:07:17 Successfully built 4235fc321ebb 17:07:17 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 17:07:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:18 17:07:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:18 arm64: Pulling from edgex-lftools-log-publisher 17:07:18 8998bd30e6a1: Pulling fs layer 17:07:18 04944245beec: Pulling fs layer 17:07:18 699f458cf7ca: Pulling fs layer 17:07:18 765212b225bb: Pulling fs layer 17:07:18 f23df028b6ca: Pulling fs layer 17:07:18 d65c8cfc05b1: Pulling fs layer 17:07:18 2437ff75d9bd: Pulling fs layer 17:07:18 f23df028b6ca: Waiting 17:07:18 d65c8cfc05b1: Waiting 17:07:18 2437ff75d9bd: Waiting 17:07:18 765212b225bb: Waiting 17:07:18 04944245beec: Verifying Checksum 17:07:18 04944245beec: Download complete 17:07:18 765212b225bb: Verifying Checksum 17:07:18 765212b225bb: Download complete 17:07:18 f23df028b6ca: Verifying Checksum 17:07:18 f23df028b6ca: Download complete 17:07:18 d65c8cfc05b1: Verifying Checksum 17:07:18 d65c8cfc05b1: Download complete 17:07:18 699f458cf7ca: Verifying Checksum 17:07:18 699f458cf7ca: Download complete 17:07:19 8998bd30e6a1: Verifying Checksum 17:07:19 8998bd30e6a1: Download complete 17:07:21 2437ff75d9bd: Verifying Checksum 17:07:21 2437ff75d9bd: Download complete 17:07:23 8998bd30e6a1: Pull complete 17:07:23 04944245beec: Pull complete 17:07:25 699f458cf7ca: Pull complete 17:07:25 765212b225bb: Pull complete 17:07:25 f23df028b6ca: Pull complete 17:07:26 d65c8cfc05b1: Pull complete 17:07:41 2437ff75d9bd: Pull complete 17:07:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:41 prd-ubuntu20.04-docker-arm64-4c-16g-117197 does not seem to be running inside a container 17:07: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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:07:43 $ docker top 5954bcf90a11f0b7d32bf0228f703c294ebdb464b28a126052add9f1e4f2799d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:44 ---> job-cost.sh 17:07:44 lf-activate-venv: SKIPPING 17:07:44 INFO: No Stack... 17:07:45 INFO: Retrieving Pricing Info for: v3-standard-4 17:07:45 INFO: Archiving Costs [Pipeline] sh 17:07:46 + cut -d, -f6 17:07:46 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 17:07:46 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] 17:07:46 Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] did not exist. Created. 17:07:46 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:47 /w/workspace/device-modbus-go/2@tmp/durable-ecce7aea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:07:47 + echo total: 0.10999999940395355 [Pipeline] stash 17:07:47 Warning: overwriting stash ‘stack-cost’ 17:07:47 Stashed 1 file(s) [Pipeline] } 17:07:47 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:47 $ docker stop --time=1 5954bcf90a11f0b7d32bf0228f703c294ebdb464b28a126052add9f1e4f2799d 17:07:49 $ docker rm -f 5954bcf90a11f0b7d32bf0228f703c294ebdb464b28a126052add9f1e4f2799d [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 17:07:49 provisioning config files... 17:07:49 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config2935705341778981362tmp [Pipeline] { [Pipeline] sh 17:07:49 + set +x 17:07:49 + curl -s https://codecov.io/bash 17:07:49 + bash -s -- 17:07:49 17:07:49 _____ _ 17:07:49 / ____| | | 17:07:49 | | ___ __| | ___ ___ _____ __ 17:07:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:07:49 | |___| (_) | (_| | __/ (_| (_) \ V / 17:07:49 \_____\___/ \__,_|\___|\___\___/ \_/ 17:07:49 Bash-1.0.6 17:07:49 17:07:49 17:07:49 ==> git version 2.25.1 found 17:07:49 ==> 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 17:07:49 Release-Date: 2020-01-08 17:07:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:07:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:07:49 ==> Jenkins CI detected. 17:07:49 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-387 17:07:49 project root: . 17:07:49 --> token set from env 17:07:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:07:49 ==> Running gcov in . (disable via -X gcov) 17:07:49 ==> Python coveragepy not found 17:07:49 ==> Searching for coverage reports in: 17:07:49 + . 17:07:49 -> Found 1 reports 17:07:49 ==> Detecting git/mercurial file structure 17:07:50 ==> Reading reports 17:07:50 + ./coverage.out bytes=23241 17:07:50 ==> Appending adjustments 17:07:50 https://docs.codecov.io/docs/fixing-reports 17:07:50 + Found adjustments 17:07:50 ==> Gzipping contents 17:07:50 4.0K /tmp/codecov.9KxCSA.gz 17:07:50 ==> Uploading reports 17:07:50 url: https://codecov.io 17:07:50 query: branch=PR-387&commit=0842174cf64c70e314751488866d1c1f9e581358&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= 17:07:50 -> Pinging Codecov 17:07:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-387&commit=0842174cf64c70e314751488866d1c1f9e581358&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= 17:07:50 -> Uploading to 17:07:50 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/0842174cf64c70e314751488866d1c1f9e581358/a318eebb-3952-416e-88fa-f611811a5167.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T170750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89808c21ee33d1941a69e3092fea7d6ada47d998844235ac988944358252b6c6 17:07:50 % Total % Received % Xferd Average Speed Time Time Time Current 17:07:50 Dload Upload Total Spent Left Speed 17:07:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 15567 --:--:-- --:--:-- --:--:-- 15567 17:07:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0842174cf64c70e314751488866d1c1f9e581358 [Pipeline] } 17:07:50 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 17:07:51 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-387/archives ] 17:07:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives 17:07:51 total 16 17:07:51 drwxr-xr-x 3 root root 4096 Oct 26 16:32 . 17:07:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 16:32 .. 17:07:51 drwxr-xr-x 2 root root 4096 Oct 26 16:32 cost 17:07:51 -rw-r--r-- 1 root root 88 Oct 26 16:32 cost.csv 17:07:51 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-387/archives 17:07:51 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives 17:07:51 total 16 17:07:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:32 . 17:07:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 16:32 .. 17:07:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 16:32 cost 17:07:51 -rw-r--r-- 1 jenkins jenkins 88 Oct 26 16:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:07:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:07:52 ---> package-listing.sh 17:07:52 ++ tr '[:upper:]' '[:lower:]' 17:07:52 ++ facter osfamily 17:07:52 + OS_FAMILY=debian 17:07:52 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-387 17:07:52 + START_PACKAGES=/tmp/packages_start.txt 17:07:52 + END_PACKAGES=/tmp/packages_end.txt 17:07:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:07:52 + PACKAGES=/tmp/packages_start.txt 17:07:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' 17:07:52 + PACKAGES=/tmp/packages_end.txt 17:07:52 + case "${OS_FAMILY}" in 17:07:52 + dpkg -l 17:07:52 + grep '^ii' 17:07:52 + '[' -f /tmp/packages_start.txt ']' 17:07:52 + '[' -f /tmp/packages_end.txt ']' 17:07:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:07:52 + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' 17:07:52 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ 17:07:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [Pipeline] echo 17:07:52 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:07:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:53 prd-ubuntu20.04-docker-8c-8g-117184 does not seem to be running inside a container 17:07:53 $ 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-387/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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:07:54 $ docker top 0562d3ea3c2a63de5758ac41e7c0fddeaa05c1fea9476990cc680055839f9b8e -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:07:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:07:55 + ls /var/log/sa-host 17:07:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:55 provisioning config files... 17:07:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config5498499737239247134tmp [Pipeline] { [Pipeline] echo 17:07:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:07:55 ---> create-netrc.sh [Pipeline] } 17:07:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:07:55 ---> python-tools-install.sh [Pipeline] echo 17:07:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:07:56 ---> sudo-logs.sh 17:07:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:07:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:07:56 ---> job-cost.sh 17:07:56 lf-activate-venv: SKIPPING 17:07:56 DEBUG: total: 0.2199999988079071 17:07:56 INFO: Retrieving Stack Cost... 17:07:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:07:57 INFO: Archiving Costs [Pipeline] echo 17:07:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:07:57 ---> logs-deploy.sh 17:07:57 lf-activate-venv: SKIPPING 17:07:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-387/2 17:07:57 INFO: archiving workspace using pattern(s): 17:07:58 Archives upload complete. 17:07:58 INFO: archiving logs to Nexus 17:07:59 ---> uname -a: 17:07:59 Linux prd-ubuntu20-04-docker-8c-8g-117184 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:07:59 17:07:59 17:07:59 ---> lscpu: 17:07:59 Architecture: x86_64 17:07:59 CPU op-mode(s): 32-bit, 64-bit 17:07:59 Byte Order: Little Endian 17:07:59 Address sizes: 40 bits physical, 48 bits virtual 17:07:59 CPU(s): 8 17:07:59 On-line CPU(s) list: 0-7 17:07:59 Thread(s) per core: 1 17:07:59 Core(s) per socket: 1 17:07:59 Socket(s): 8 17:07:59 NUMA node(s): 1 17:07:59 Vendor ID: AuthenticAMD 17:07:59 CPU family: 23 17:07:59 Model: 49 17:07:59 Model name: AMD EPYC-Rome Processor 17:07:59 Stepping: 0 17:07:59 CPU MHz: 2799.956 17:07:59 BogoMIPS: 5599.91 17:07:59 Virtualization: AMD-V 17:07:59 Hypervisor vendor: KVM 17:07:59 Virtualization type: full 17:07:59 L1d cache: 256 KiB 17:07:59 L1i cache: 256 KiB 17:07:59 L2 cache: 4 MiB 17:07:59 L3 cache: 128 MiB 17:07:59 NUMA node0 CPU(s): 0-7 17:07:59 Vulnerability Itlb multihit: Not affected 17:07:59 Vulnerability L1tf: Not affected 17:07:59 Vulnerability Mds: Not affected 17:07:59 Vulnerability Meltdown: Not affected 17:07:59 Vulnerability Mmio stale data: Not affected 17:07:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:07:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:07:59 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:07:59 Vulnerability Srbds: Not affected 17:07:59 Vulnerability Tsx async abort: Not affected 17:07:59 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 17:07:59 17:07:59 17:07:59 ---> nproc: 17:07:59 8 17:07:59 17:07:59