Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e1e3f9b0a00566f3add41dca9941190c71764c6 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-ssh6432696254192490707.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8769703877554740085.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5691863977638842328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh1918151923158118106.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3570966910568010048.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3202 in /w/workspace/gexfoundry_device-modbus-go_main [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/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7e1e3f9b0a00566f3add41dca9941190c71764c6 (main) Commit message: "Merge pull request #494 from jackchenjc/pkg-errors-removal" > 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 core.sparsecheckout # timeout=10 > git checkout -f 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 > git rev-list --no-walk 06c6c40304b77554eb9683b844624724d2909e81 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:06:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:06:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:06:55 ========================================================= 10:06:55 EdgeX Global Pipelines Version Info 10:06:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:06:56 ------------------- 10:06:56 stable info: 10:06:56 ------------------- 10:06:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:06:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:06:56 Message: update stable to v1.0.250 10:06:56 ------------------- 10:06:56 experimental info: 10:06:56 ------------------- 10:06:56 Commited By: **** collab-it+edgex@linuxfoundation.org 10:06:56 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:06:56 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e1e3f9 [Pipeline] echo 10:06:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:06:57 provisioning config files... 10:06:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14638183754740003269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:06:57 ---> docker-login.sh 10:06:57 nexus3.edgexfoundry.org:10001 10:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:58 Configure a credential helper to remove this warning. See 10:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:58 10:06:58 Login Succeeded 10:06:58 nexus3.edgexfoundry.org:10002 10:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:58 Configure a credential helper to remove this warning. See 10:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:58 10:06:58 Login Succeeded 10:06:58 nexus3.edgexfoundry.org:10003 10:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:58 Configure a credential helper to remove this warning. See 10:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:58 10:06:58 Login Succeeded 10:06:58 nexus3.edgexfoundry.org:10004 10:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:58 Configure a credential helper to remove this warning. See 10:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:58 10:06:58 Login Succeeded 10:06:58 docker.io 10:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:06:58 Configure a credential helper to remove this warning. See 10:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:06:58 10:06:58 Login Succeeded 10:06:58 ---> docker-login.sh ends [Pipeline] } 10:06:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:06:59 + git rev-list -1 --merges 7e1e3f9b0a00566f3add41dca9941190c71764c6~1..7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo 10:06:59 -----------> git rev-list -1 --merges 7e1e3f9b0a00566f3add41dca9941190c71764c6~1..7e1e3f9b0a00566f3add41dca9941190c71764c6 7e1e3f9b0a00566f3add41dca9941190c71764c6 10:06:59 7e1e3f9b0a00566f3add41dca9941190c71764c6 [false] [Pipeline] sh 10:06:59 + git log --format=format:%s -1 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo 10:06:59 ========================================================= 10:06:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:06:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:06:59 + git log --format=format:%s -1 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] echo 10:06:59 [semverPrep] GIT_COMMIT: 7e1e3f9b0a00566f3add41dca9941190c71764c6, Commit Message: Merge pull request #494 from jackchenjc/pkg-errors-removal [Pipeline] echo 10:06:59 [semverPrep] This is not a build commit. [Pipeline] sh 10:07:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:07:00 + grep -v github /etc/ssh/ssh_known_hosts 10:07:00 + [ -e /tmp/ssh_known_hosts ] 10:07:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:07:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:07:00 + sudo tee -a /etc/ssh/ssh_known_hosts 10:07:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:00 10:07:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:00 0.1.4: Pulling from edgex-devops/py-git-semver 10:07:00 b85a868b505f: Pulling fs layer 10:07:00 e2be974225ed: Pulling fs layer 10:07:00 339a4e72a1f5: Pulling fs layer 10:07:00 988bab9f4d93: Pulling fs layer 10:07:00 1469e6f7b9e6: Pulling fs layer 10:07:00 eaf3925da568: Pulling fs layer 10:07:00 bab4dde63d76: Pulling fs layer 10:07:00 bde34c3a00c8: Pulling fs layer 10:07:00 b352a97aabf1: Pulling fs layer 10:07:00 4872d77fe225: Pulling fs layer 10:07:00 988bab9f4d93: Waiting 10:07:00 eaf3925da568: Waiting 10:07:00 bab4dde63d76: Waiting 10:07:00 1469e6f7b9e6: Waiting 10:07:00 bde34c3a00c8: Waiting 10:07:00 b352a97aabf1: Waiting 10:07:00 5851b861e8e6: Pulling fs layer 10:07:00 4872d77fe225: Waiting 10:07:00 5851b861e8e6: Waiting 10:07:00 e2be974225ed: Download complete 10:07:00 988bab9f4d93: Download complete 10:07:01 1469e6f7b9e6: Verifying Checksum 10:07:01 1469e6f7b9e6: Download complete 10:07:01 eaf3925da568: Download complete 10:07:01 339a4e72a1f5: Verifying Checksum 10:07:01 339a4e72a1f5: Download complete 10:07:01 bde34c3a00c8: Verifying Checksum 10:07:01 bde34c3a00c8: Download complete 10:07:01 b352a97aabf1: Download complete 10:07:01 4872d77fe225: Verifying Checksum 10:07:01 4872d77fe225: Download complete 10:07:01 5851b861e8e6: Verifying Checksum 10:07:01 5851b861e8e6: Download complete 10:07:01 b85a868b505f: Verifying Checksum 10:07:01 b85a868b505f: Download complete 10:07:01 bab4dde63d76: Verifying Checksum 10:07:01 bab4dde63d76: Download complete 10:07:02 b85a868b505f: Pull complete 10:07:02 e2be974225ed: Pull complete 10:07:03 339a4e72a1f5: Pull complete 10:07:03 988bab9f4d93: Pull complete 10:07:03 1469e6f7b9e6: Pull complete 10:07:03 eaf3925da568: Pull complete 10:07:05 bab4dde63d76: Pull complete 10:07:05 bde34c3a00c8: Pull complete 10:07:05 b352a97aabf1: Pull complete 10:07:05 4872d77fe225: Pull complete 10:07:05 5851b861e8e6: Pull complete 10:07:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:05 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:07:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:07:08 $ docker top 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 -eo pid,comm 10:07:08 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). 10:07:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:08 [ssh-agent] Looking for ssh-agent implementation... 10:07:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:09 $ docker exec 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent 10:07:09 SSH_AUTH_SOCK=/tmp/ssh-lL29xhhI6SvL/agent.32 10:07:09 SSH_AGENT_PID=38 10:07:09 Running ssh-add (command line suppressed) 10:07:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6558819480540420774.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6558819480540420774.key) 10:07:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:09 + git tag --points-at HEAD [Pipeline] } 10:07:09 $ docker exec --env ******** --env ******** 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent -k 10:07:09 unset SSH_AUTH_SOCK; 10:07:09 unset SSH_AGENT_PID; 10:07:09 echo Agent pid 38 killed; 10:07:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:07:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:09 [ssh-agent] Looking for ssh-agent implementation... 10:07:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:09 $ docker exec 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent 10:07:09 SSH_AUTH_SOCK=/tmp/ssh-1buk4WoZJ5kp/agent.69 10:07:09 SSH_AGENT_PID=75 10:07:09 Running ssh-add (command line suppressed) 10:07:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13820472426414499612.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13820472426414499612.key) 10:07:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:10 + git semver init 10:07:10 2023-08-09 10:07:10,618 [run_init] DEBUG init version:0.0.0 force:False 10:07:10 2023-08-09 10:07:10,619 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 10:07:10 2023-08-09 10:07:10,619 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:07:10 2023-08-09 10:07:10,619 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 10:07:11 2023-08-09 10:07:11,418 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 10:07:11 2023-08-09 10:07:11,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 10:07:11 2023-08-09 10:07:11,419 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:07:11 2023-08-09 10:07:11,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:07:11 3.1.0-dev.3 [Pipeline] } 10:07:11 $ docker exec --env ******** --env ******** 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 ssh-agent -k 10:07:11 unset SSH_AUTH_SOCK; 10:07:11 unset SSH_AGENT_PID; 10:07:11 echo Agent pid 75 killed; 10:07:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:12 + git semver [Pipeline] } 10:07:12 $ docker stop --time=1 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 10:07:13 $ docker rm -f --volumes 08b7c0f50f21f9dc4b17328d7ac518b47d0b7c88fedc0e188ad9d88f58e12771 [Pipeline] // withDockerContainer [Pipeline] sh 10:07:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:07:14 Stashed 1 file(s) [Pipeline] echo 10:07:14 [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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 10:07:14 provisioning config files... 10:07:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12848763665754253977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:14 ---> docker-login.sh 10:07:14 nexus3.edgexfoundry.org:10001 10:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:14 Configure a credential helper to remove this warning. See 10:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:14 10:07:14 Login Succeeded 10:07:14 nexus3.edgexfoundry.org:10002 10:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:14 Configure a credential helper to remove this warning. See 10:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:14 10:07:14 Login Succeeded 10:07:14 nexus3.edgexfoundry.org:10003 10:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:14 Configure a credential helper to remove this warning. See 10:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:14 10:07:14 Login Succeeded 10:07:14 nexus3.edgexfoundry.org:10004 10:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:14 Configure a credential helper to remove this warning. See 10:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:14 10:07:14 Login Succeeded 10:07:14 docker.io 10:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:15 Configure a credential helper to remove this warning. See 10:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:15 10:07:15 Login Succeeded 10:07:15 ---> docker-login.sh ends [Pipeline] } 10:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:15 ========================================================= 10:07:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:07:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:07:15 Sending build context to Docker daemon 6.398MB 10:07:15 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 10:07:15 Step 2/10 : FROM ${BASE} AS builder 10:07:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:07:16 4db1b89c0bd1: Pulling fs layer 10:07:16 6911f1a30b25: Pulling fs layer 10:07:16 e194b8c5c2a9: Pulling fs layer 10:07:16 6863d3e3a2b1: Pulling fs layer 10:07:16 ec0bb842ea78: Pulling fs layer 10:07:16 40a00589a448: Pulling fs layer 10:07:16 ec0bb842ea78: Waiting 10:07:16 6c08303d61cc: Pulling fs layer 10:07:16 6863d3e3a2b1: Waiting 10:07:16 40a00589a448: Waiting 10:07:16 798269fcf238: Pulling fs layer 10:07:16 6c08303d61cc: Waiting 10:07:16 798269fcf238: Waiting 10:07:16 6911f1a30b25: Download complete 10:07:16 6863d3e3a2b1: Verifying Checksum 10:07:16 6863d3e3a2b1: Download complete 10:07:16 ec0bb842ea78: Download complete 10:07:16 4db1b89c0bd1: Verifying Checksum 10:07:16 4db1b89c0bd1: Download complete 10:07:16 40a00589a448: Verifying Checksum 10:07:16 40a00589a448: Download complete 10:07:16 4db1b89c0bd1: Pull complete 10:07:16 6911f1a30b25: Pull complete 10:07:16 798269fcf238: Verifying Checksum 10:07:16 798269fcf238: Download complete 10:07:16 e194b8c5c2a9: Verifying Checksum 10:07:16 e194b8c5c2a9: Download complete 10:07:16 6c08303d61cc: Verifying Checksum 10:07:16 6c08303d61cc: Download complete 10:07:20 e194b8c5c2a9: Pull complete 10:07:20 6863d3e3a2b1: Pull complete 10:07:20 ec0bb842ea78: Pull complete 10:07:20 40a00589a448: Pull complete 10:07:23 6c08303d61cc: Pull complete 10:07:23 798269fcf238: Pull complete 10:07:23 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:07:23 ---> ec979cd7f677 10:07:23 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:07:29 ---> Running in 53fa29723231 10:07:29 Removing intermediate container 53fa29723231 10:07:29 ---> 02e66c021d46 10:07:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:07:29 ---> Running in 7aeabb92b651 10:07:29 Removing intermediate container 7aeabb92b651 10:07:29 ---> 378e86d03332 10:07:29 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:07:29 ---> Running in 589d5a165d31 10:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:07:29 Still waiting to schedule task 10:07:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3203’ is offline 10:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:07:29 (1/8) Installing openssh-keygen (9.1_p1-r4) 10:07:29 (2/8) Installing libedit (20221030.3.1-r0) 10:07:29 (3/8) Installing openssh-client-common (9.1_p1-r4) 10:07:29 (4/8) Installing openssh-client-default (9.1_p1-r4) 10:07:29 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 10:07:29 (6/8) Installing openssh-server-common (9.1_p1-r4) 10:07:29 (7/8) Installing openssh-server (9.1_p1-r4) 10:07:29 (8/8) Installing openssh (9.1_p1-r4) 10:07:29 Executing busybox-1.35.0-r29.trigger 10:07:29 OK: 270 MiB in 61 packages 10:07:30 Removing intermediate container 589d5a165d31 10:07:30 ---> 478467a41997 10:07:30 Step 6/10 : WORKDIR /device-modbus-go 10:07:30 ---> Running in b6769e9b37a2 10:07:30 Removing intermediate container b6769e9b37a2 10:07:30 ---> 281947c6cba6 10:07:30 Step 7/10 : COPY go.mod vendor* ./ 10:07:30 ---> 998c2ac28f6f 10:07:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:07:30 ---> Running in 8823c8efe50f 10:08:09 Removing intermediate container 8823c8efe50f 10:08:09 ---> 40c7b160fc13 10:08:09 Step 9/10 : COPY . . 10:08:09 ---> 83fd9e5d613a 10:08:09 Step 10/10 : RUN ${MAKE} 10:08:09 ---> Running in 6c3a99826b83 10:08:09 noop 10:08:09 Removing intermediate container 6c3a99826b83 10:08:09 ---> 934335e1e614 10:08:09 Successfully built 934335e1e614 10:08:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:09 + docker inspect -f . ci-base-image-x86_64 10:08:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:09 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 10:08:10 $ docker top 5210dc7a39d42b58bdcbfb64d73feaa5c3b2f327d34329b3434a28c962977bd4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:10 + go version 10:08:10 go version go1.20.6 linux/amd64 [Pipeline] } 10:08:10 $ docker stop --time=1 5210dc7a39d42b58bdcbfb64d73feaa5c3b2f327d34329b3434a28c962977bd4 10:08:11 $ docker rm -f --volumes 5210dc7a39d42b58bdcbfb64d73feaa5c3b2f327d34329b3434a28c962977bd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:12 + docker inspect -f . ci-base-image-x86_64 10:08:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:12 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 10:08:12 $ docker top b9b559b56f2c4de6d7457119db7891501d7e33756cf40515dd4947c20ad40fd8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 10:08:13 + make test 10:08:13 go test ./... -coverprofile=coverage.out 10:08:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:08:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:08:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements 10:08:33 go vet ./... 10:08:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:37 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:37 $ docker stop --time=1 b9b559b56f2c4de6d7457119db7891501d7e33756cf40515dd4947c20ad40fd8 10:08:41 $ docker rm -f --volumes b9b559b56f2c4de6d7457119db7891501d7e33756cf40515dd4947c20ad40fd8 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:08:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:42 + ls -al . 10:08:42 total 188 10:08:42 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:08 . 10:08:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:06 .. 10:08:42 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:06 .dockerignore 10:08:42 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:07 .git 10:08:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:06 .github 10:08:42 -rw-rw-r-- 1 jenkins jenkins 331 Aug 9 10:06 .gitignore 10:08:42 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:06 .golangci.yml 10:08:42 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:07 .semver 10:08:42 -rw-rw-r-- 1 jenkins jenkins 10032 Aug 9 10:06 Attribution.txt 10:08:42 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 9 10:06 CHANGELOG.md 10:08:42 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 9 10:06 Dockerfile 10:08:42 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:06 GOVERNANCE.md 10:08:42 -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:06 Jenkinsfile 10:08:42 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:06 LICENSE 10:08:42 -rw-rw-r-- 1 jenkins jenkins 1705 Aug 9 10:06 Makefile 10:08:42 -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 10:06 OWNERS.md 10:08:42 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 9 10:06 README.md 10:08:42 -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:07 VERSION 10:08:42 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:06 bin 10:08:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:06 cmd 10:08:42 -rw-r--r-- 1 jenkins jenkins 24160 Aug 9 10:08 coverage.out 10:08:42 -rw-rw-r-- 1 jenkins jenkins 3405 Aug 9 10:06 go.mod 10:08:42 -rw-rw-r-- 1 jenkins jenkins 31664 Aug 9 10:06 go.sum 10:08:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:06 internal 10:08:42 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:06 simulator 10:08:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:06 snap 10:08:42 -rw-rw-r-- 1 jenkins jenkins 229 Aug 9 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:42 + 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=7e1e3f9b0a00566f3add41dca9941190c71764c6 --label arch=amd64 --label version=3.1.0-dev.3 . 10:08:42 Sending build context to Docker daemon 6.423MB 10:08:42 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 10:08:42 Step 2/22 : FROM ${BASE} AS builder 10:08:42 ---> 934335e1e614 10:08:42 Step 3/22 : ARG ADD_BUILD_TAGS="" 10:08:43 ---> Running in a1b9e87116ca 10:08:43 Removing intermediate container a1b9e87116ca 10:08:43 ---> c7c2e09f1fe1 10:08:43 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:43 ---> Running in 4f3032e38694 10:08:43 Removing intermediate container 4f3032e38694 10:08:43 ---> cef181bbb692 10:08:43 Step 5/22 : RUN apk add --update --no-cache make git openssh 10:08:43 ---> Running in 58d69953c2cf 10:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:08:43 OK: 270 MiB in 61 packages 10:08:44 Removing intermediate container 58d69953c2cf 10:08:44 ---> 4bdeeb109fda 10:08:44 Step 6/22 : WORKDIR /device-modbus-go 10:08:44 ---> Running in 57badcbfd593 10:08:44 Removing intermediate container 57badcbfd593 10:08:44 ---> e49e84080f8e 10:08:44 Step 7/22 : COPY go.mod vendor* ./ 10:08:44 ---> e37627a841e0 10:08:44 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:44 ---> Running in e571f4e24160 10:08:45 Removing intermediate container e571f4e24160 10:08:45 ---> 58a3c0fb48e3 10:08:45 Step 9/22 : COPY . . 10:08:45 ---> 2691d1c66db0 10:08:45 Step 10/22 : RUN ${MAKE} 10:08:45 ---> Running in d32141370b60 10:08:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:09:07 Removing intermediate container d32141370b60 10:09:07 ---> 3f5e885c2cc1 10:09:07 Step 11/22 : FROM alpine:3.17 10:09:07 3.17: Pulling from library/alpine 10:09:07 9398808236ff: Pulling fs layer 10:09:07 9398808236ff: Verifying Checksum 10:09:07 9398808236ff: Download complete 10:09:07 9398808236ff: Pull complete 10:09:07 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:09:07 Status: Downloaded newer image for alpine:3.17 10:09:07 ---> 1e0b8b5322fc 10:09:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:09:07 ---> Running in d9928c793d6b 10:09:07 Removing intermediate container d9928c793d6b 10:09:07 ---> 1020acf32feb 10:09:07 Step 13/22 : RUN apk add --update --no-cache dumb-init 10:09:07 ---> Running in 18b86c83a480 10:09:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:09:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:09:07 (1/1) Installing dumb-init (1.2.5-r2) 10:09:07 Executing busybox-1.35.0-r29.trigger 10:09:07 OK: 7 MiB in 16 packages 10:09:07 Removing intermediate container 18b86c83a480 10:09:07 ---> d89a7d956910 10:09:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 10:09:08 ---> 760c377d6d12 10:09:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 10:09:08 ---> 2a518879afe2 10:09:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:09:08 ---> 37828b4e6eb2 10:09:08 Step 17/22 : EXPOSE 59901 10:09:08 ---> Running in c3e0410028a5 10:09:08 Removing intermediate container c3e0410028a5 10:09:08 ---> b61a8a9230d5 10:09:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 10:09:08 ---> Running in 2f22f632fe37 10:09:08 Removing intermediate container 2f22f632fe37 10:09:08 ---> 15383621d7e9 10:09:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:09:08 ---> Running in 47645de86575 10:09:09 Removing intermediate container 47645de86575 10:09:09 ---> 8046e958f1e2 10:09:09 Step 20/22 : LABEL arch=amd64 10:09:09 ---> Running in 876bbce5d832 10:09:09 Removing intermediate container 876bbce5d832 10:09:09 ---> bf345f84075f 10:09:09 Step 21/22 : LABEL git_sha=7e1e3f9b0a00566f3add41dca9941190c71764c6 10:09:09 ---> Running in 5bbcffcda1ce 10:09:09 Removing intermediate container 5bbcffcda1ce 10:09:09 ---> c19f07989153 10:09:09 Step 22/22 : LABEL version=3.1.0-dev.3 10:09:09 ---> Running in f5e8cd4c4706 10:09:09 Removing intermediate container f5e8cd4c4706 10:09:09 ---> 3022354e6d95 10:09:09 [Warning] One or more build-args [ARCH] were not consumed 10:09:09 Successfully built 3022354e6d95 10:09:09 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:09 provisioning config files... 10:09:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6845304709854541355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:09 ---> docker-login.sh 10:09:09 nexus3.edgexfoundry.org:10001 10:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:09 Configure a credential helper to remove this warning. See 10:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:09 10:09:09 Login Succeeded 10:09:09 nexus3.edgexfoundry.org:10002 10:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:09 Configure a credential helper to remove this warning. See 10:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:09 10:09:09 Login Succeeded 10:09:09 nexus3.edgexfoundry.org:10003 10:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:09 Configure a credential helper to remove this warning. See 10:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:09 10:09:09 Login Succeeded 10:09:09 nexus3.edgexfoundry.org:10004 10:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:09 Configure a credential helper to remove this warning. See 10:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:09 10:09:09 Login Succeeded 10:09:09 docker.io 10:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:10 Configure a credential helper to remove this warning. See 10:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:10 10:09:10 Login Succeeded 10:09:10 ---> docker-login.sh ends [Pipeline] } 10:09:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:09:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:09:10 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 10:09:10 7e1e3f9b0a00566f3add41dca9941190c71764c6 10:09:10 latest 10:09:10 3.1.0-dev.3 10:09:10 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 10:09:10 main 10:09:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6 10:09:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:09:10 ad69f4f130bd: Preparing 10:09:10 36b795557fc8: Preparing 10:09:10 a203bc3a9e0c: Preparing 10:09:10 6c560475ceca: Preparing 10:09:10 36b50b131297: Preparing 10:09:10 36b50b131297: Layer already exists 10:09:10 36b795557fc8: Pushed 10:09:10 ad69f4f130bd: Pushed 10:09:10 6c560475ceca: Pushed 10:09:13 a203bc3a9e0c: Pushed 10:09:13 7e1e3f9b0a00566f3add41dca9941190c71764c6: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 10:09:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:09:14 ad69f4f130bd: Preparing 10:09:14 36b795557fc8: Preparing 10:09:14 a203bc3a9e0c: Preparing 10:09:14 6c560475ceca: Preparing 10:09:14 36b50b131297: Preparing 10:09:14 a203bc3a9e0c: Layer already exists 10:09:14 ad69f4f130bd: Layer already exists 10:09:14 36b50b131297: Layer already exists 10:09:14 36b795557fc8: Layer already exists 10:09:14 6c560475ceca: Layer already exists 10:09:14 latest: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.3 10:09:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:09:15 ad69f4f130bd: Preparing 10:09:15 36b795557fc8: Preparing 10:09:15 a203bc3a9e0c: Preparing 10:09:15 6c560475ceca: Preparing 10:09:15 36b50b131297: Preparing 10:09:15 ad69f4f130bd: Layer already exists 10:09:15 a203bc3a9e0c: Layer already exists 10:09:15 6c560475ceca: Layer already exists 10:09:15 36b50b131297: Layer already exists 10:09:15 36b795557fc8: Layer already exists 10:09:15 3.1.0-dev.3: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 10:09:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:09:15 ad69f4f130bd: Preparing 10:09:15 36b795557fc8: Preparing 10:09:15 a203bc3a9e0c: Preparing 10:09:15 6c560475ceca: Preparing 10:09:15 36b50b131297: Preparing 10:09:15 36b795557fc8: Layer already exists 10:09:15 ad69f4f130bd: Layer already exists 10:09:15 36b50b131297: Layer already exists 10:09:15 6c560475ceca: Layer already exists 10:09:15 a203bc3a9e0c: Layer already exists 10:09:15 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 10:09:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:09:16 ad69f4f130bd: Preparing 10:09:16 36b795557fc8: Preparing 10:09:16 a203bc3a9e0c: Preparing 10:09:16 6c560475ceca: Preparing 10:09:16 36b50b131297: Preparing 10:09:16 ad69f4f130bd: Layer already exists 10:09:16 36b50b131297: Layer already exists 10:09:16 6c560475ceca: Layer already exists 10:09:16 a203bc3a9e0c: Layer already exists 10:09:16 36b795557fc8: Layer already exists 10:09:16 main: digest: sha256:2c13776d6f3ef5aa5e1f2b9f223348b490bf03a28ee73ac0c1dd9634e71c2a0a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:09:16 ===================================================== [Pipeline] echo 10:09:16 taggedImages: 10:09:16 - nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6 10:09:16 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:09:16 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.3 10:09:16 - nexus3.edgexfoundry.org:10004/device-modbus:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 10:09:16 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [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 10:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:17 10:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:18 latest: Pulling from edgex-lftools-log-publisher 10:09:18 5eb5b503b376: Pulling fs layer 10:09:18 5c69ac0246d0: Pulling fs layer 10:09:18 ec43610c2a17: Pulling fs layer 10:09:18 3a2ae6a8a46f: Pulling fs layer 10:09:18 33b1e0a273af: Pulling fs layer 10:09:18 5d3b04190fa2: Pulling fs layer 10:09:18 2f39f015ded8: Pulling fs layer 10:09:18 33b1e0a273af: Waiting 10:09:18 5d3b04190fa2: Waiting 10:09:18 3a2ae6a8a46f: Waiting 10:09:18 2f39f015ded8: Waiting 10:09:18 5c69ac0246d0: Download complete 10:09:18 3a2ae6a8a46f: Verifying Checksum 10:09:18 3a2ae6a8a46f: Download complete 10:09:18 33b1e0a273af: Verifying Checksum 10:09:18 33b1e0a273af: Download complete 10:09:18 5d3b04190fa2: Verifying Checksum 10:09:18 5d3b04190fa2: Download complete 10:09:18 ec43610c2a17: Verifying Checksum 10:09:18 ec43610c2a17: Download complete 10:09:18 5eb5b503b376: Verifying Checksum 10:09:18 5eb5b503b376: Download complete 10:09:18 2f39f015ded8: Verifying Checksum 10:09:19 5eb5b503b376: Pull complete 10:09:20 5c69ac0246d0: Pull complete 10:09:20 ec43610c2a17: Pull complete 10:09:20 3a2ae6a8a46f: Pull complete 10:09:20 33b1e0a273af: Pull complete 10:09:20 5d3b04190fa2: Pull complete 10:09:24 2f39f015ded8: Pull complete 10:09:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:25 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:09:25 $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:09:30 $ docker top 84b3e5fca30c63f15d5989d2322b0afc2b13b182727d9a2960c96e7253a044e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:30 ---> job-cost.sh 10:09:30 lf-activate-venv: SKIPPING 10:09:30 INFO: No Stack... 10:09:30 INFO: Retrieving Pricing Info for: v3-standard-8 10:09:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3205 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 10:09:30 Running in /w/workspace/device-modbus-go/116 [Pipeline] { [Pipeline] checkout 10:09:30 Selected Git installation does not exist. Using Default 10:09:30 The recommended git tool is: NONE 10:09:31 INFO: Archiving Costs [Pipeline] sh 10:09:31 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 10:09:31 + cut -d, -f6 [Pipeline] lock 10:09:31 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] 10:09:31 Resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] did not exist. Created. 10:09:31 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:31 + echo total: 0.2199999988079071 [Pipeline] stash 10:09:31 Stashed 1 file(s) [Pipeline] } 10:09:31 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 10:09:31 $ docker stop --time=1 84b3e5fca30c63f15d5989d2322b0afc2b13b182727d9a2960c96e7253a044e8 10:09:33 $ docker rm -f --volumes 84b3e5fca30c63f15d5989d2322b0afc2b13b182727d9a2960c96e7253a044e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:09:36 using credential edgex-jenkins-ssh 10:09:36 Cloning the remote Git repository 10:09:36 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:09:36 > git init /w/workspace/device-modbus-go/116 # timeout=10 10:09:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:09:37 > git --version # timeout=10 10:09:37 > git --version # 'git version 2.25.1' 10:09:37 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:09:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:39 Avoid second fetch 10:09:39 Checking out Revision 7e1e3f9b0a00566f3add41dca9941190c71764c6 (main) 10:09:39 > git config core.sparsecheckout # timeout=10 10:09:39 > git checkout -f 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 10:09:39 Commit message: "Merge pull request #494 from jackchenjc/pkg-errors-removal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:09:40 % Total % Received % Xferd Average Speed Time Time Time Current 10:09:40 Dload Upload Total Spent Left Speed 10:09:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 10:09:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:09:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:09:41 + sudo tee /etc/docker/daemon.new 10:09:41 { 10:09:41 "registry-mirrors": [ 10:09:41 "https://nexus3.edgexfoundry.org:10001" 10:09:41 ], 10:09:41 "bip": "10.250.0.254/24", 10:09:41 "hosts": [ 10:09:41 "tcp://0.0.0.0:5555", 10:09:41 "unix:///var/run/docker.sock" 10:09:41 ], 10:09:41 "mtu": 1458, 10:09:41 "selinux-enabled": true, 10:09:41 "seccomp-profile": "/etc/docker/seccomp.json" 10:09:41 } [Pipeline] sh 10:09:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:09:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:00 provisioning config files... 10:10:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/116@tmp/config3068354761972931010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:01 ---> docker-login.sh 10:10:01 nexus3.edgexfoundry.org:10001 10:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:01 Configure a credential helper to remove this warning. See 10:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:01 10:10:01 Login Succeeded 10:10:01 nexus3.edgexfoundry.org:10002 10:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:01 Configure a credential helper to remove this warning. See 10:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:01 10:10:01 Login Succeeded 10:10:02 nexus3.edgexfoundry.org:10003 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:02 Configure a credential helper to remove this warning. See 10:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:02 10:10:02 Login Succeeded 10:10:02 nexus3.edgexfoundry.org:10004 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:02 Configure a credential helper to remove this warning. See 10:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:02 10:10:02 Login Succeeded 10:10:02 docker.io 10:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:03 Configure a credential helper to remove this warning. See 10:10:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:03 10:10:03 Login Succeeded 10:10:03 ---> docker-login.sh ends [Pipeline] } 10:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:03 ========================================================= 10:10:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:10:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:10:04 Sending build context to Docker daemon 3.313MB 10:10:04 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 10:10:04 Step 2/10 : FROM ${BASE} AS builder 10:10:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:04 edb6bdbacee9: Pulling fs layer 10:10:04 5f9638ab2659: Pulling fs layer 10:10:04 8d51d6327a98: Pulling fs layer 10:10:04 8b374f2dd631: Pulling fs layer 10:10:04 ec14aa9079de: Pulling fs layer 10:10:04 2f466654f4bb: Pulling fs layer 10:10:04 554e91adad29: Pulling fs layer 10:10:04 ec14aa9079de: Waiting 10:10:04 2f466654f4bb: Waiting 10:10:04 554e91adad29: Waiting 10:10:04 8b374f2dd631: Waiting 10:10:04 5f9638ab2659: Verifying Checksum 10:10:04 5f9638ab2659: Download complete 10:10:04 8b374f2dd631: Verifying Checksum 10:10:04 8b374f2dd631: Download complete 10:10:04 ec14aa9079de: Verifying Checksum 10:10:04 ec14aa9079de: Download complete 10:10:04 edb6bdbacee9: Verifying Checksum 10:10:04 edb6bdbacee9: Download complete 10:10:06 edb6bdbacee9: Pull complete 10:10:06 554e91adad29: Verifying Checksum 10:10:06 554e91adad29: Download complete 10:10:07 2f466654f4bb: Verifying Checksum 10:10:07 2f466654f4bb: Download complete 10:10:07 8d51d6327a98: Download complete 10:10:08 5f9638ab2659: Pull complete 10:10:21 8d51d6327a98: Pull complete 10:10:21 8b374f2dd631: Pull complete 10:10:21 ec14aa9079de: Pull complete 10:10:26 2f466654f4bb: Pull complete 10:10:29 554e91adad29: Pull complete 10:10:29 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:10:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:10:29 ---> 1e15ea492957 10:10:29 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:10:31 ---> Running in a91f2caf1a71 10:10:31 Removing intermediate container a91f2caf1a71 10:10:31 ---> a336fcb743e4 10:10:31 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:10:31 ---> Running in 535e5d67fdee 10:10:31 Removing intermediate container 535e5d67fdee 10:10:31 ---> 71da7ebd3617 10:10:31 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:10:31 ---> Running in 0c9b1c634b21 10:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:10:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:10:34 (1/8) Installing openssh-keygen (9.1_p1-r4) 10:10:34 (2/8) Installing libedit (20221030.3.1-r0) 10:10:34 (3/8) Installing openssh-client-common (9.1_p1-r4) 10:10:34 (4/8) Installing openssh-client-default (9.1_p1-r4) 10:10:34 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 10:10:34 (6/8) Installing openssh-server-common (9.1_p1-r4) 10:10:34 (7/8) Installing openssh-server (9.1_p1-r4) 10:10:34 (8/8) Installing openssh (9.1_p1-r4) 10:10:34 Executing busybox-1.35.0-r29.trigger 10:10:34 OK: 270 MiB in 61 packages 10:10:36 Removing intermediate container 0c9b1c634b21 10:10:36 ---> 813f560ac5d4 10:10:36 Step 6/10 : WORKDIR /device-modbus-go 10:10:36 ---> Running in e2384deecef4 10:10:36 Removing intermediate container e2384deecef4 10:10:36 ---> 886d85be29cd 10:10:36 Step 7/10 : COPY go.mod vendor* ./ 10:10:37 ---> 40dd4b6f4aa4 10:10:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:37 ---> Running in 04e46ddc1243 10:11:45 Removing intermediate container 04e46ddc1243 10:11:45 ---> 70bef7f9d035 10:11:45 Step 9/10 : COPY . . 10:11:45 ---> 93af448b86b7 10:11:45 Step 10/10 : RUN ${MAKE} 10:11:45 ---> Running in 7bb7a74b6294 10:11:45 noop 10:11:45 Removing intermediate container 7bb7a74b6294 10:11:45 ---> 929117ef2b54 10:11:45 Successfully built 929117ef2b54 10:11:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:45 + docker inspect -f . ci-base-image-arm64 10:11:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:46 prd-ubuntu20.04-docker-arm64-4c-16g-3205 does not seem to be running inside a container 10:11:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/116 -v /w/workspace/device-modbus-go/116:/w/workspace/device-modbus-go/116:rw,z -v /w/workspace/device-modbus-go/116@tmp:/w/workspace/device-modbus-go/116@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 ******** ci-base-image-arm64 cat 10:11:47 $ docker top 00076b238356e807f91406a3530eb7983259887a016c00b373d34371b71e1b59 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:48 + go version 10:11:48 go version go1.20.6 linux/arm64 [Pipeline] } 10:11:48 $ docker stop --time=1 00076b238356e807f91406a3530eb7983259887a016c00b373d34371b71e1b59 10:11:49 $ docker rm -f --volumes 00076b238356e807f91406a3530eb7983259887a016c00b373d34371b71e1b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:50 + docker inspect -f . ci-base-image-arm64 10:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:50 prd-ubuntu20.04-docker-arm64-4c-16g-3205 does not seem to be running inside a container 10:11:50 $ 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/116 -v /w/workspace/device-modbus-go/116:/w/workspace/device-modbus-go/116:rw,z -v /w/workspace/device-modbus-go/116@tmp:/w/workspace/device-modbus-go/116@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 ******** ci-base-image-arm64 cat 10:11:51 $ docker top 87fdfcb2e29e9af8ffcbb1b5709ba127ec4e7ac1102a9e455a7fe34de77340db -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/116 [Pipeline] fileExists [Pipeline] sh 10:11:53 + make test 10:11:53 go test ./... -coverprofile=coverage.out 10:12:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:14:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:14:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.4% of statements 10:14:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:14:41 go vet ./... 10:15:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:15:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:15:14 ./bin/test-attribution-txt.sh [Pipeline] echo 10:15:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:15:14 $ docker stop --time=1 87fdfcb2e29e9af8ffcbb1b5709ba127ec4e7ac1102a9e455a7fe34de77340db 10:15:15 $ docker rm -f --volumes 87fdfcb2e29e9af8ffcbb1b5709ba127ec4e7ac1102a9e455a7fe34de77340db [Pipeline] // withDockerContainer [Pipeline] sh 10:15:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:15:17 Warning: overwriting stash ‘coverage-report’ 10:15:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:15:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:15:18 + ls -al . 10:15:18 total 184 10:15:18 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:11 . 10:15:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:09 .. 10:15:18 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 10:09 .dockerignore 10:15:18 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:09 .git 10:15:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 .github 10:15:18 -rw-rw-r-- 1 jenkins jenkins 331 Aug 9 10:09 .gitignore 10:15:18 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:09 .golangci.yml 10:15:18 -rw-rw-r-- 1 jenkins jenkins 10032 Aug 9 10:09 Attribution.txt 10:15:18 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 9 10:09 CHANGELOG.md 10:15:18 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 9 10:09 Dockerfile 10:15:18 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:09 GOVERNANCE.md 10:15:18 -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:09 Jenkinsfile 10:15:18 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:09 LICENSE 10:15:18 -rw-rw-r-- 1 jenkins jenkins 1705 Aug 9 10:09 Makefile 10:15:18 -rw-rw-r-- 1 jenkins jenkins 622 Aug 9 10:09 OWNERS.md 10:15:18 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 9 10:09 README.md 10:15:18 -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:07 VERSION 10:15:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:09 bin 10:15:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 cmd 10:15:18 -rw-r--r-- 1 jenkins jenkins 24160 Aug 9 10:14 coverage.out 10:15:18 -rw-rw-r-- 1 jenkins jenkins 3405 Aug 9 10:09 go.mod 10:15:18 -rw-rw-r-- 1 jenkins jenkins 31664 Aug 9 10:09 go.sum 10:15:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:09 internal 10:15:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:09 simulator 10:15:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:09 snap 10:15:18 -rw-rw-r-- 1 jenkins jenkins 229 Aug 9 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:18 + 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=7e1e3f9b0a00566f3add41dca9941190c71764c6 --label arch=arm64 --label version=3.1.0-dev.3 . 10:15:19 Sending build context to Docker daemon 3.338MB 10:15:19 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 10:15:19 Step 2/22 : FROM ${BASE} AS builder 10:15:19 ---> 929117ef2b54 10:15:19 Step 3/22 : ARG ADD_BUILD_TAGS="" 10:15:20 ---> Running in 7658b6b4b0e0 10:15:20 Removing intermediate container 7658b6b4b0e0 10:15:20 ---> 73ba713815b2 10:15:20 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:15:20 ---> Running in 0af22664948e 10:15:20 Removing intermediate container 0af22664948e 10:15:20 ---> 521a49dc092e 10:15:20 Step 5/22 : RUN apk add --update --no-cache make git openssh 10:15:20 ---> Running in e83a3dba5dc9 10:15:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:15:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:15:26 OK: 270 MiB in 61 packages 10:15:27 Removing intermediate container e83a3dba5dc9 10:15:27 ---> 6152d1969010 10:15:27 Step 6/22 : WORKDIR /device-modbus-go 10:15:27 ---> Running in 6df5d2af9f93 10:15:27 Removing intermediate container 6df5d2af9f93 10:15:27 ---> 5004fbaff46c 10:15:27 Step 7/22 : COPY go.mod vendor* ./ 10:15:28 ---> 3f19cf2d53cc 10:15:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:28 ---> Running in 7ab4ab776d46 10:15:31 Removing intermediate container 7ab4ab776d46 10:15:31 ---> 211199ccb6cd 10:15:31 Step 9/22 : COPY . . 10:15:33 ---> 2123eb2b026c 10:15:33 Step 10/22 : RUN ${MAKE} 10:15:33 ---> Running in d45267d12bc9 10:15:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 10:18:11 Removing intermediate container d45267d12bc9 10:18:11 ---> 92fbef2f2ddc 10:18:11 Step 11/22 : FROM alpine:3.17 10:18:11 3.17: Pulling from library/alpine 10:18:11 4060ece20d7a: Pulling fs layer 10:18:11 4060ece20d7a: Verifying Checksum 10:18:11 4060ece20d7a: Download complete 10:18:11 4060ece20d7a: Pull complete 10:18:11 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:18:11 Status: Downloaded newer image for alpine:3.17 10:18:11 ---> 8650cd65339b 10:18:11 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:18:11 ---> Running in 9765df637f04 10:18:11 Removing intermediate container 9765df637f04 10:18:11 ---> 8dda4859a1c4 10:18:11 Step 13/22 : RUN apk add --update --no-cache dumb-init 10:18:11 ---> Running in 495fec77d0d4 10:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:18:11 (1/1) Installing dumb-init (1.2.5-r2) 10:18:11 Executing busybox-1.35.0-r29.trigger 10:18:11 OK: 8 MiB in 16 packages 10:18:11 Removing intermediate container 495fec77d0d4 10:18:11 ---> 53062bb24f5e 10:18:11 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 10:18:11 ---> d6c0a621d04c 10:18:11 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 10:18:11 ---> d34a6775b85a 10:18:11 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:18:11 ---> 69a4a92881d2 10:18:11 Step 17/22 : EXPOSE 59901 10:18:11 ---> Running in 8616428ce68d 10:18:11 Removing intermediate container 8616428ce68d 10:18:11 ---> 550207f8c35d 10:18:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 10:18:11 ---> Running in a4e43b4234a6 10:18:11 Removing intermediate container a4e43b4234a6 10:18:11 ---> 4df45c745709 10:18:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:18:11 ---> Running in f2a581bd98bc 10:18:11 Removing intermediate container f2a581bd98bc 10:18:11 ---> b2fcf4c67c77 10:18:11 Step 20/22 : LABEL arch=arm64 10:18:11 ---> Running in ddaa1d7f93b5 10:18:11 Removing intermediate container ddaa1d7f93b5 10:18:11 ---> f0fcafacd191 10:18:11 Step 21/22 : LABEL git_sha=7e1e3f9b0a00566f3add41dca9941190c71764c6 10:18:11 ---> Running in d017210a38b7 10:18:11 Removing intermediate container d017210a38b7 10:18:11 ---> b7f713893ca2 10:18:11 Step 22/22 : LABEL version=3.1.0-dev.3 10:18:11 ---> Running in c345d1edbd6d 10:18:11 Removing intermediate container c345d1edbd6d 10:18:11 ---> 43a9b660c090 10:18:11 [Warning] One or more build-args [ARCH] were not consumed 10:18:11 Successfully built 43a9b660c090 10:18:11 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:11 provisioning config files... 10:18:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/116@tmp/config6975122923874162910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:11 ---> docker-login.sh 10:18:11 nexus3.edgexfoundry.org:10001 10:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:12 Configure a credential helper to remove this warning. See 10:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:12 10:18:12 Login Succeeded 10:18:12 nexus3.edgexfoundry.org:10002 10:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:12 Configure a credential helper to remove this warning. See 10:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:12 10:18:12 Login Succeeded 10:18:12 nexus3.edgexfoundry.org:10003 10:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:13 Configure a credential helper to remove this warning. See 10:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:13 10:18:13 Login Succeeded 10:18:13 nexus3.edgexfoundry.org:10004 10:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:13 Configure a credential helper to remove this warning. See 10:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:13 10:18:13 Login Succeeded 10:18:13 docker.io 10:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:14 Configure a credential helper to remove this warning. See 10:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:14 10:18:14 Login Succeeded 10:18:14 ---> docker-login.sh ends [Pipeline] } 10:18:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:14 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 10:18:14 7e1e3f9b0a00566f3add41dca9941190c71764c6 10:18:14 latest 10:18:14 3.1.0-dev.3 10:18:14 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 10:18:14 main 10:18:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6 10:18:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:18:14 684611b55141: Preparing 10:18:14 b6779138629e: Preparing 10:18:14 7029137388a2: Preparing 10:18:14 c2e31ad8af90: Preparing 10:18:14 d2d9d24a8c2a: Preparing 10:18:14 d2d9d24a8c2a: Layer already exists 10:18:15 684611b55141: Pushed 10:18:15 b6779138629e: Pushed 10:18:15 c2e31ad8af90: Pushed 10:18:20 7029137388a2: Pushed 10:18:20 7e1e3f9b0a00566f3add41dca9941190c71764c6: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:18:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:18:21 684611b55141: Preparing 10:18:21 b6779138629e: Preparing 10:18:21 7029137388a2: Preparing 10:18:21 c2e31ad8af90: Preparing 10:18:21 d2d9d24a8c2a: Preparing 10:18:21 c2e31ad8af90: Layer already exists 10:18:21 b6779138629e: Layer already exists 10:18:21 d2d9d24a8c2a: Layer already exists 10:18:21 684611b55141: Layer already exists 10:18:21 7029137388a2: Layer already exists 10:18:21 latest: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.3 10:18:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:18:21 684611b55141: Preparing 10:18:21 b6779138629e: Preparing 10:18:21 7029137388a2: Preparing 10:18:21 c2e31ad8af90: Preparing 10:18:21 d2d9d24a8c2a: Preparing 10:18:21 d2d9d24a8c2a: Layer already exists 10:18:21 c2e31ad8af90: Layer already exists 10:18:21 b6779138629e: Layer already exists 10:18:21 7029137388a2: Layer already exists 10:18:21 684611b55141: Layer already exists 10:18:21 3.1.0-dev.3: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 10:18:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:18:22 684611b55141: Preparing 10:18:22 b6779138629e: Preparing 10:18:22 7029137388a2: Preparing 10:18:22 c2e31ad8af90: Preparing 10:18:22 d2d9d24a8c2a: Preparing 10:18:22 b6779138629e: Layer already exists 10:18:22 c2e31ad8af90: Layer already exists 10:18:22 7029137388a2: Layer already exists 10:18:22 684611b55141: Layer already exists 10:18:22 d2d9d24a8c2a: Layer already exists 10:18:22 7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 10:18:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:18:23 684611b55141: Preparing 10:18:23 b6779138629e: Preparing 10:18:23 7029137388a2: Preparing 10:18:23 c2e31ad8af90: Preparing 10:18:23 d2d9d24a8c2a: Preparing 10:18:23 b6779138629e: Layer already exists 10:18:23 684611b55141: Layer already exists 10:18:23 d2d9d24a8c2a: Layer already exists 10:18:23 7029137388a2: Layer already exists 10:18:23 c2e31ad8af90: Layer already exists 10:18:23 main: digest: sha256:da19d7c93df942e556bab39c1b5d57c6e4de0884ce8fae62f9d8c3bbb6e4e36e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:18:23 ===================================================== [Pipeline] echo 10:18:23 taggedImages: 10:18:23 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6 10:18:23 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:18:23 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.3 10:18:23 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7e1e3f9b0a00566f3add41dca9941190c71764c6-3.1.0-dev.3 10:18:23 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:18:24 10:18:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:18:24 arm64: Pulling from edgex-lftools-log-publisher 10:18:24 8998bd30e6a1: Pulling fs layer 10:18:24 04944245beec: Pulling fs layer 10:18:24 699f458cf7ca: Pulling fs layer 10:18:24 765212b225bb: Pulling fs layer 10:18:24 f23df028b6ca: Pulling fs layer 10:18:24 d65c8cfc05b1: Pulling fs layer 10:18:24 2437ff75d9bd: Pulling fs layer 10:18:24 765212b225bb: Waiting 10:18:24 f23df028b6ca: Waiting 10:18:24 d65c8cfc05b1: Waiting 10:18:24 2437ff75d9bd: Waiting 10:18:24 04944245beec: Verifying Checksum 10:18:24 04944245beec: Download complete 10:18:24 765212b225bb: Verifying Checksum 10:18:24 765212b225bb: Download complete 10:18:24 f23df028b6ca: Verifying Checksum 10:18:24 f23df028b6ca: Download complete 10:18:24 d65c8cfc05b1: Verifying Checksum 10:18:24 d65c8cfc05b1: Download complete 10:18:25 699f458cf7ca: Verifying Checksum 10:18:25 699f458cf7ca: Download complete 10:18:25 8998bd30e6a1: Download complete 10:18:27 2437ff75d9bd: Verifying Checksum 10:18:27 2437ff75d9bd: Download complete 10:18:29 8998bd30e6a1: Pull complete 10:18:29 04944245beec: Pull complete 10:18:31 699f458cf7ca: Pull complete 10:18:31 765212b225bb: Pull complete 10:18:32 f23df028b6ca: Pull complete 10:18:32 d65c8cfc05b1: Pull complete 10:18:47 2437ff75d9bd: Pull complete 10:18:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:18:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:18:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:47 prd-ubuntu20.04-docker-arm64-4c-16g-3205 does not seem to be running inside a container 10:18:47 $ 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/116 -v /w/workspace/device-modbus-go/116:/w/workspace/device-modbus-go/116:rw,z -v /w/workspace/device-modbus-go/116@tmp:/w/workspace/device-modbus-go/116@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:18:50 $ docker top f59b9a8eb1561398d035cc159580b32e4a23e3d8bec02af2ff0c9333a7dacff6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:51 ---> job-cost.sh 10:18:51 lf-activate-venv: SKIPPING 10:18:51 INFO: No Stack... 10:18:51 INFO: Retrieving Pricing Info for: v3-standard-4 10:18:52 INFO: Archiving Costs [Pipeline] sh 10:18:53 + + cat /w/workspace/device-modbus-go/116/archives/cost.csv 10:18:53 cut -d, -f6 [Pipeline] lock 10:18:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] 10:18:53 Resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] did not exist. Created. 10:18:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:18:54 /w/workspace/device-modbus-go/116@tmp/durable-e4551533/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:18:54 + echo total: 0.10999999940395355 [Pipeline] stash 10:18:54 Warning: overwriting stash ‘stack-cost’ 10:18:54 Stashed 1 file(s) [Pipeline] } 10:18:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 10:18:54 $ docker stop --time=1 f59b9a8eb1561398d035cc159580b32e4a23e3d8bec02af2ff0c9333a7dacff6 10:18:56 $ docker rm -f --volumes f59b9a8eb1561398d035cc159580b32e4a23e3d8bec02af2ff0c9333a7dacff6 [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 10:18:56 provisioning config files... 10:18:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1579202628662026792tmp [Pipeline] { [Pipeline] sh 10:18:57 + set +x 10:18:57 + curl -s https://codecov.io/bash+ 10:18:57 bash -s -- 10:18:57 10:18:57 _____ _ 10:18:57 / ____| | | 10:18:57 | | ___ __| | ___ ___ _____ __ 10:18:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:18:57 | |___| (_) | (_| | __/ (_| (_) \ V / 10:18:57 \_____\___/ \__,_|\___|\___\___/ \_/ 10:18:57 Bash-1.0.6 10:18:57 10:18:57 10:18:57 ==> git version 2.25.1 found 10:18:57 ==> 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 10:18:57 Release-Date: 2020-01-08 10:18:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:18:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:18:57 ==> Jenkins CI detected. 10:18:57 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 10:18:57 project root: . 10:18:57 --> token set from env 10:18:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:18:57 ==> Running gcov in . (disable via -X gcov) 10:18:57 ==> Python coveragepy not found 10:18:57 ==> Searching for coverage reports in: 10:18:57 + . 10:18:57 -> Found 1 reports 10:18:57 ==> Detecting git/mercurial file structure 10:18:57 ==> Reading reports 10:18:57 + ./coverage.out bytes=24160 10:18:57 ==> Appending adjustments 10:18:57 https://docs.codecov.io/docs/fixing-reports 10:18:57 + Found adjustments 10:18:57 ==> Gzipping contents 10:18:57 4.0K /tmp/codecov.6DtBPM.gz 10:18:57 ==> Uploading reports 10:18:57 url: https://codecov.io 10:18:57 query: branch=main&commit=7e1e3f9b0a00566f3add41dca9941190c71764c6&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:18:57 -> Pinging Codecov 10:18:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=7e1e3f9b0a00566f3add41dca9941190c71764c6&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:18:57 -> Uploading to 10:18:57 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/55DBCA73C666E3227836607328DD7E49/7e1e3f9b0a00566f3add41dca9941190c71764c6/bd93ca46-4155-40b4-a396-d9afb04d988f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T101857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c081fe082e45e3068ae32c9e40601b7ed1172de9e5f88ba6996b3f08500472f 10:18:57 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:57 Dload Upload Total Spent Left Speed 10:18:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21560 --:--:-- --:--:-- --:--:-- 21560 10:18:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] } 10:18:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:18:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:18:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:18:58 10:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:18:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:18:58 df9b9388f04a: Pulling fs layer 10:18:58 52dc419b0ee2: Pulling fs layer 10:18:58 25bc292e5bac: Pulling fs layer 10:18:58 114826534d7a: Pulling fs layer 10:18:58 4657fd5d0bcf: Pulling fs layer 10:18:58 6ad1cebc031e: Pulling fs layer 10:18:58 8a3aa393b2d8: Pulling fs layer 10:18:58 6ad1cebc031e: Waiting 10:18:58 114826534d7a: Waiting 10:18:58 8a3aa393b2d8: Waiting 10:18:58 25bc292e5bac: Download complete 10:18:58 52dc419b0ee2: Download complete 10:18:58 4657fd5d0bcf: Download complete 10:18:58 df9b9388f04a: Download complete 10:18:58 6ad1cebc031e: Verifying Checksum 10:18:58 6ad1cebc031e: Download complete 10:18:58 df9b9388f04a: Pull complete 10:18:58 52dc419b0ee2: Pull complete 10:18:59 25bc292e5bac: Pull complete 10:18:59 114826534d7a: Verifying Checksum 10:18:59 114826534d7a: Download complete 10:18:59 8a3aa393b2d8: Verifying Checksum 10:18:59 8a3aa393b2d8: Download complete 10:19:02 114826534d7a: Pull complete 10:19:02 4657fd5d0bcf: Pull complete 10:19:03 6ad1cebc031e: Pull complete 10:19:06 8a3aa393b2d8: Pull complete 10:19:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:19:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:06 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:19:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:19:13 $ docker top a8163cff890423f998f7b56dbb4ef3fc3b447884f888166f4d04792911be5fb2 -eo pid,comm [Pipeline] { [Pipeline] echo 10:19:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 10:19:13 + set -o pipefail 10:19:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 10:19:17 10:19:17 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 10:19:17 10:19:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d98c464d-307d-415d-a3ad-4deeeff5dc29 10:19:17 10:19:17 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 10:19:17 10:19:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:19:17 10:19:19 10:19:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:19:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:19:19 More details here: https://snyk.co/ue1NS 10:19:19 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:19:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:19:19 $ docker stop --time=1 a8163cff890423f998f7b56dbb4ef3fc3b447884f888166f4d04792911be5fb2 10:19:24 $ docker rm -f --volumes a8163cff890423f998f7b56dbb4ef3fc3b447884f888166f4d04792911be5fb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:19:25 + git log --format=format:%s -1 7e1e3f9b0a00566f3add41dca9941190c71764c6 [Pipeline] sh 10:19:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:19:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:19:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:26 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:19:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:19:27 $ docker top bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 -eo pid,comm 10:19:27 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). 10:19:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:19:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:19:27 [ssh-agent] Looking for ssh-agent implementation... 10:19:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:19:27 $ docker exec bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 ssh-agent 10:19:27 SSH_AUTH_SOCK=/tmp/ssh-PioqkxoPSX5x/agent.14 10:19:27 SSH_AGENT_PID=20 10:19:27 Running ssh-add (command line suppressed) 10:19:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6766222337839385591.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6766222337839385591.key) 10:19:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:19:28 + git semver tag 10:19:28 2023-08-09 10:19:28,550 [run_tag] DEBUG tag force:False 10:19:28 2023-08-09 10:19:28,550 [check_head_tag] DEBUG check head tag 10:19:28 2023-08-09 10:19:28,550 [execute] INFO git cat-file --batch-check 10:19:28 2023-08-09 10:19:28,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 10:19:28 2023-08-09 10:19:28,555 [execute] INFO git cat-file --batch 10:19:28 2023-08-09 10:19:28,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 10:19:28 2023-08-09 10:19:28,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:19:28 2023-08-09 10:19:28,564 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 10:19:28 2023-08-09 10:19:28,564 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 10:19:28 2023-08-09 10:19:28,568 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:19:28 3.1.0-dev.3 [Pipeline] } 10:19:28 $ docker exec --env ******** --env ******** bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 ssh-agent -k 10:19:28 unset SSH_AUTH_SOCK; 10:19:28 unset SSH_AGENT_PID; 10:19:28 echo Agent pid 20 killed; 10:19:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:19:29 + git semver [Pipeline] } 10:19:29 $ docker stop --time=1 bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 10:19:31 $ docker rm -f --volumes bd75f473e618d7fb0a31475a0be0a2684a6ac497f395945d4e9e7b06f3cde4b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:32 10:19:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:33 0.23.1-centos7: Pulling from edgex-lftools 10:19:33 ab5ef0e58194: Pulling fs layer 10:19:33 9712f1f96733: Pulling fs layer 10:19:33 63f879dbbcfc: Pulling fs layer 10:19:33 0d9ebad4ef96: Pulling fs layer 10:19:33 e9a5061849ea: Pulling fs layer 10:19:33 d747dcd14b5f: Pulling fs layer 10:19:33 2de7ff778b66: Pulling fs layer 10:19:33 d747dcd14b5f: Waiting 10:19:33 0d9ebad4ef96: Waiting 10:19:33 e9a5061849ea: Waiting 10:19:33 9712f1f96733: Verifying Checksum 10:19:33 9712f1f96733: Download complete 10:19:33 63f879dbbcfc: Verifying Checksum 10:19:33 63f879dbbcfc: Download complete 10:19:33 0d9ebad4ef96: Verifying Checksum 10:19:33 0d9ebad4ef96: Download complete 10:19:33 ab5ef0e58194: Verifying Checksum 10:19:33 ab5ef0e58194: Download complete 10:19:33 d747dcd14b5f: Verifying Checksum 10:19:33 d747dcd14b5f: Download complete 10:19:33 e9a5061849ea: Verifying Checksum 10:19:33 e9a5061849ea: Download complete 10:19:34 2de7ff778b66: Verifying Checksum 10:19:34 2de7ff778b66: Download complete 10:19:37 ab5ef0e58194: Pull complete 10:19:37 9712f1f96733: Pull complete 10:19:38 63f879dbbcfc: Pull complete 10:19:42 0d9ebad4ef96: Pull complete 10:19:43 e9a5061849ea: Pull complete 10:19:43 d747dcd14b5f: Pull complete 10:19:44 2de7ff778b66: Pull complete 10:19:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:19:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:45 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:19:55 $ docker top 34d262d2bff8ca602aea08ef26c5fbcddcc638fd1f29e3115c40200da6990f76 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:19:55 provisioning config files... 10:19:55 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6917684187524535640tmp 10:19:55 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1001158183288709577tmp 10:19:56 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16566369997424883744tmp [Pipeline] { [Pipeline] echo 10:19:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:19:56 ---> sigul-configuration.sh 10:19:56 gpg: directory `/root/.gnupg' created 10:19:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:19:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:19:56 gpg: keyring `/root/.gnupg/secring.gpg' created 10:19:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:19:56 gpg: CAST5 encrypted data 10:19:56 gpg: encrypted with 1 passphrase 10:19:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:19:56 + mkdir /home/jenkins 10:19:56 + mkdir /home/jenkins/sigul [Pipeline] sh 10:19:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:19:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:19:57 ---> sigul-install.sh 10:19:57 Sigul already installed; skipping installation. [Pipeline] sh 10:19:57 + git tag --list 10:19:57 0.7.1 10:19:57 v1.0.0 10:19:57 v1.1.0 10:19:57 v1.1.1 10:19:57 v1.2.2 10:19:57 v1.3.0 10:19:57 v1.3.1 10:19:57 v2.0.0 10:19:57 v2.1.0 10:19:57 v2.1.1 10:19:57 v2.2.0 10:19:57 v2.3.0 10:19:57 v3.0 10:19:57 v3.0.0 10:19:57 v3.1.0-dev.1 10:19:57 v3.1.0-dev.2 10:19:57 v3.1.0-dev.3 [Pipeline] sh 10:19:57 + lftools sign git-tag v3.1.0-dev.3 10:19:58 Signing Git tag with Sigul... 10:19:58 Signing v3.1.0-dev.3 [Pipeline] echo 10:19:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:19:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:19:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:19:58 $ docker stop --time=1 34d262d2bff8ca602aea08ef26c5fbcddcc638fd1f29e3115c40200da6990f76 10:20:00 $ docker rm -f --volumes 34d262d2bff8ca602aea08ef26c5fbcddcc638fd1f29e3115c40200da6990f76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:20:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:01 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:20:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:01 $ docker top 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 -eo pid,comm 10:20:01 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). 10:20:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:01 [ssh-agent] Looking for ssh-agent implementation... 10:20:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:01 $ docker exec 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 ssh-agent 10:20:01 SSH_AUTH_SOCK=/tmp/ssh-danUlUXoC8FZ/agent.32 10:20:01 SSH_AGENT_PID=38 10:20:01 Running ssh-add (command line suppressed) 10:20:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15249720277708967747.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15249720277708967747.key) 10:20:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:02 + git semver bump pre 10:20:02 2023-08-09 10:20:02,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:02 2023-08-09 10:20:02,301 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev 10:20:02 2023-08-09 10:20:02,301 [bump_version] DEBUG bumped version:3.1.0-dev.4 10:20:02 2023-08-09 10:20:02,301 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 10:20:02 2023-08-09 10:20:02,301 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:02 2023-08-09 10:20:02,301 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:02 2023-08-09 10:20:02,302 [execute] INFO git cat-file --batch-check 10:20:02 2023-08-09 10:20:02,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:02 2023-08-09 10:20:02,307 [execute] INFO git cat-file --batch 10:20:02 2023-08-09 10:20:02,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:02 2023-08-09 10:20:02,312 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:02 3.1.0-dev.4 [Pipeline] } 10:20:02 $ docker exec --env ******** --env ******** 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 ssh-agent -k 10:20:02 unset SSH_AUTH_SOCK; 10:20:02 unset SSH_AGENT_PID; 10:20:02 echo Agent pid 38 killed; 10:20:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:02 + git semver [Pipeline] } 10:20:03 $ docker stop --time=1 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 10:20:04 $ docker rm -f --volumes 8e798fde6fc0571f2dc9610b66e0800851925a546402514047b10ad83834a0d3 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:05 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:20:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:05 $ docker top efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 -eo pid,comm 10:20:05 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). 10:20:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:06 [ssh-agent] Looking for ssh-agent implementation... 10:20:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:06 $ docker exec efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 ssh-agent 10:20:06 SSH_AUTH_SOCK=/tmp/ssh-cH5NPOh00Xf2/agent.32 10:20:06 SSH_AGENT_PID=38 10:20:06 Running ssh-add (command line suppressed) 10:20:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2186193648113442514.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2186193648113442514.key) 10:20:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:06 + git semver push 10:20:06 2023-08-09 10:20:06,920 [run_push] DEBUG push 10:20:06 2023-08-09 10:20:06,921 [execute] INFO git cat-file --batch-check 10:20:06 2023-08-09 10:20:06,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:06 2023-08-09 10:20:06,924 [execute] INFO git rev-list 4e2504600ce79b7d39901e120077c8ffe5f9d0ea -- 10:20:06 2023-08-09 10:20:06,924 [execute] DEBUG Popen(['git', 'rev-list', '4e2504600ce79b7d39901e120077c8ffe5f9d0ea', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:20:06 2023-08-09 10:20:06,936 [execute] INFO git fetch -v origin 10:20:06 2023-08-09 10:20:06,937 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:20:07 2023-08-09 10:20:07,435 [run_push] DEBUG no remote changes detected 10:20:07 2023-08-09 10:20:07,436 [execute] INFO git push origin semver 10:20:07 2023-08-09 10:20:07,436 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:20:08 2023-08-09 10:20:08,254 [run_push] DEBUG push all version tags 10:20:08 2023-08-09 10:20:08,255 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:20:08 2023-08-09 10:20:08,255 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 10:20:09 2023-08-09 10:20:09,063 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:20:09 3.1.0-dev.4 [Pipeline] } 10:20:09 $ docker exec --env ******** --env ******** efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 ssh-agent -k 10:20:09 unset SSH_AUTH_SOCK; 10:20:09 unset SSH_AGENT_PID; 10:20:09 echo Agent pid 38 killed; 10:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:09 + git semver [Pipeline] } 10:20:10 $ docker stop --time=1 efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 10:20:12 $ docker rm -f --volumes efddd46819ac5ecd142621fd15c154bc48b5e4e216547af84b11c05a0e1420e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 10:20:12 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 10:20:12 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:20:12 total 16 10:20:12 drwxr-xr-x 3 root root 4096 Aug 9 10:09 . 10:20:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:19 .. 10:20:12 drwxr-xr-x 2 root root 4096 Aug 9 10:09 cost 10:20:12 -rw-r--r-- 1 root root 88 Aug 9 10:09 cost.csv 10:20:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 10:20:12 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 10:20:12 total 16 10:20:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:09 . 10:20:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 10:19 .. 10:20:12 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:09 cost 10:20:12 -rw-r--r-- 1 jenkins jenkins 88 Aug 9 10:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:20:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:14 ---> package-listing.sh 10:20:14 ++ facter osfamily 10:20:14 ++ tr '[:upper:]' '[:lower:]' 10:20:14 + OS_FAMILY=debian 10:20:14 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 10:20:14 + START_PACKAGES=/tmp/packages_start.txt 10:20:14 + END_PACKAGES=/tmp/packages_end.txt 10:20:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:14 + PACKAGES=/tmp/packages_start.txt 10:20:14 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:20:14 + PACKAGES=/tmp/packages_end.txt 10:20:14 + case "${OS_FAMILY}" in 10:20:14 + dpkg -l 10:20:14 + grep '^ii' 10:20:14 + '[' -f /tmp/packages_start.txt ']' 10:20:14 + '[' -f /tmp/packages_end.txt ']' 10:20:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:14 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 10:20:14 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 10:20:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 10:20:14 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:20:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:15 prd-ubuntu20.04-docker-8c-8g-3202 does not seem to be running inside a container 10:20:15 $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:20:17 $ docker top 29d2d208ed1817dba610bc2b6853fb36d92c357586258bce46b5a055bc333d4c -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:17 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:17 + mkdir -p /var/log/sysstat [Pipeline] sh 10:20:18 + ls /var/log/sa-host 10:20:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:18 provisioning config files... 10:20:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15114726860024207751tmp [Pipeline] { [Pipeline] echo 10:20:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:18 ---> create-netrc.sh [Pipeline] } 10:20:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:20:18 ---> python-tools-install.sh [Pipeline] echo 10:20:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:19 ---> sudo-logs.sh 10:20:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:19 ---> job-cost.sh 10:20:19 lf-activate-venv: SKIPPING 10:20:19 DEBUG: total: 0.2199999988079071 10:20:19 INFO: Retrieving Stack Cost... 10:20:19 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:20 INFO: Archiving Costs [Pipeline] echo 10:20:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:20 ---> logs-deploy.sh 10:20:20 lf-activate-venv: SKIPPING 10:20:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/116 10:20:20 INFO: archiving workspace using pattern(s): 10:20:21 Archives upload complete. 10:20:21 INFO: archiving logs to Nexus