Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1a68168e1b466f81fb38e733dbe2211c06120b2a 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-ssh13195248061140158283.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh18280592092374384941.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16547793616039642730.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6093837632302610587.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-ssh2762688168092801053.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-8998 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 1a68168e1b466f81fb38e733dbe2211c06120b2a (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#458)" > 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 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 > git rev-list --no-walk 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:27:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:27:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:27:10 ========================================================= 21:27:10 EdgeX Global Pipelines Version Info 21:27:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:27:11 ------------------- 21:27:11 stable info: 21:27:11 ------------------- 21:27:11 Commited By: Bill Mahoney bill.mahoney@intel.com 21:27:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:27:11 Message: update stable to v1.0.248 21:27:11 ------------------- 21:27:11 experimental info: 21:27:11 ------------------- 21:27:11 Commited By: **** collab-it+edgex@linuxfoundation.org 21:27:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:27:11 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a68168 [Pipeline] echo 21:27:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:12 provisioning config files... 21:27:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16943594014177634744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:12 ---> docker-login.sh 21:27:12 nexus3.edgexfoundry.org:10001 21:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:13 Configure a credential helper to remove this warning. See 21:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:13 21:27:13 Login Succeeded 21:27:13 nexus3.edgexfoundry.org:10002 21:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:13 Configure a credential helper to remove this warning. See 21:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:13 21:27:13 Login Succeeded 21:27:13 nexus3.edgexfoundry.org:10003 21:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:13 Configure a credential helper to remove this warning. See 21:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:13 21:27:13 Login Succeeded 21:27:13 nexus3.edgexfoundry.org:10004 21:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:13 Configure a credential helper to remove this warning. See 21:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:13 21:27:13 Login Succeeded 21:27:13 docker.io 21:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:13 Configure a credential helper to remove this warning. See 21:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:13 21:27:13 Login Succeeded 21:27:13 ---> docker-login.sh ends [Pipeline] } 21:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:27:14 + git rev-list -1 --merges 1a68168e1b466f81fb38e733dbe2211c06120b2a~1..1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo 21:27:14 -----------> git rev-list -1 --merges 1a68168e1b466f81fb38e733dbe2211c06120b2a~1..1a68168e1b466f81fb38e733dbe2211c06120b2a 1a68168e1b466f81fb38e733dbe2211c06120b2a [false] [Pipeline] sh 21:27:14 + git log --format=format:%s -1 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo 21:27:14 ========================================================= 21:27:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:27:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:27:14 + git log --format=format:%s -1 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] echo 21:27:14 [semverPrep] GIT_COMMIT: 1a68168e1b466f81fb38e733dbe2211c06120b2a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#458) [Pipeline] echo 21:27:14 [semverPrep] This is not a build commit. [Pipeline] sh 21:27:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:15 + grep -v github /etc/ssh/ssh_known_hosts 21:27:15 + [ -e /tmp/ssh_known_hosts ] 21:27:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:27:15 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:27:15 sudo tee -a /etc/ssh/ssh_known_hosts 21:27:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:15 21:27:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:16 0.1.4: Pulling from edgex-devops/py-git-semver 21:27:16 b85a868b505f: Pulling fs layer 21:27:16 e2be974225ed: Pulling fs layer 21:27:16 339a4e72a1f5: Pulling fs layer 21:27:16 988bab9f4d93: Pulling fs layer 21:27:16 1469e6f7b9e6: Pulling fs layer 21:27:16 eaf3925da568: Pulling fs layer 21:27:16 bab4dde63d76: Pulling fs layer 21:27:16 bde34c3a00c8: Pulling fs layer 21:27:16 b352a97aabf1: Pulling fs layer 21:27:16 4872d77fe225: Pulling fs layer 21:27:16 5851b861e8e6: Pulling fs layer 21:27:16 4872d77fe225: Waiting 21:27:16 5851b861e8e6: Waiting 21:27:16 988bab9f4d93: Waiting 21:27:16 bab4dde63d76: Waiting 21:27:16 bde34c3a00c8: Waiting 21:27:16 b352a97aabf1: Waiting 21:27:16 1469e6f7b9e6: Waiting 21:27:16 eaf3925da568: Waiting 21:27:16 e2be974225ed: Download complete 21:27:16 988bab9f4d93: Download complete 21:27:16 1469e6f7b9e6: Verifying Checksum 21:27:16 1469e6f7b9e6: Download complete 21:27:16 eaf3925da568: Verifying Checksum 21:27:16 eaf3925da568: Download complete 21:27:16 339a4e72a1f5: Download complete 21:27:16 bde34c3a00c8: Download complete 21:27:16 b352a97aabf1: Download complete 21:27:16 4872d77fe225: Verifying Checksum 21:27:16 4872d77fe225: Download complete 21:27:16 5851b861e8e6: Verifying Checksum 21:27:16 5851b861e8e6: Download complete 21:27:16 b85a868b505f: Verifying Checksum 21:27:16 b85a868b505f: Download complete 21:27:16 bab4dde63d76: Verifying Checksum 21:27:16 bab4dde63d76: Download complete 21:27:17 b85a868b505f: Pull complete 21:27:17 e2be974225ed: Pull complete 21:27:18 339a4e72a1f5: Pull complete 21:27:18 988bab9f4d93: Pull complete 21:27:18 1469e6f7b9e6: Pull complete 21:27:18 eaf3925da568: Pull complete 21:27:20 bab4dde63d76: Pull complete 21:27:20 bde34c3a00c8: Pull complete 21:27:20 b352a97aabf1: Pull complete 21:27:20 4872d77fe225: Pull complete 21:27:20 5851b861e8e6: Pull complete 21:27:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:20 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:27:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:27:23 $ docker top 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 -eo pid,comm 21:27:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:27:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:23 [ssh-agent] Looking for ssh-agent implementation... 21:27:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:23 $ docker exec 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent 21:27:23 SSH_AUTH_SOCK=/tmp/ssh-fA6yglCj2MsR/agent.32 21:27:23 SSH_AGENT_PID=38 21:27:23 Running ssh-add (command line suppressed) 21:27:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2737591759635090766.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2737591759635090766.key) 21:27:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:24 + git tag --points-at HEAD [Pipeline] } 21:27:24 $ docker exec --env ******** --env ******** 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent -k 21:27:24 unset SSH_AUTH_SOCK; 21:27:24 unset SSH_AGENT_PID; 21:27:24 echo Agent pid 38 killed; 21:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:27:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:24 [ssh-agent] Looking for ssh-agent implementation... 21:27:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:24 $ docker exec 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent 21:27:24 SSH_AUTH_SOCK=/tmp/ssh-rI0sryuZSQvm/agent.69 21:27:24 SSH_AGENT_PID=75 21:27:24 Running ssh-add (command line suppressed) 21:27:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_815473220082028314.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_815473220082028314.key) 21:27:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:25 + git semver init 21:27:25 2023-04-18 21:27:25,146 [run_init] DEBUG init version:0.0.0 force:False 21:27:25 2023-04-18 21:27:25,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 21:27:25 2023-04-18 21:27:25,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 21:27:25 2023-04-18 21:27:25,147 [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) 21:27:26 2023-04-18 21:27:25,939 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 21:27:26 2023-04-18 21:27:25,940 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 21:27:26 2023-04-18 21:27:25,940 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:27:26 2023-04-18 21:27:25,940 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:27:26 3.0.0-dev.29 [Pipeline] } 21:27:26 $ docker exec --env ******** --env ******** 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 ssh-agent -k 21:27:26 unset SSH_AUTH_SOCK; 21:27:26 unset SSH_AGENT_PID; 21:27:26 echo Agent pid 75 killed; 21:27:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:26 + git semver [Pipeline] } 21:27:26 $ docker stop --time=1 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 21:27:28 $ docker rm -f --volumes 2eb866db92f306c2889f3c3131fb1c81901a90b6d3448aabc08d2395fcbe7667 [Pipeline] // withDockerContainer [Pipeline] sh 21:27:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:27:28 Stashed 1 file(s) [Pipeline] echo 21:27:28 [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:28 provisioning config files... 21:27:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9276720344523613545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:29 ---> docker-login.sh 21:27:29 nexus3.edgexfoundry.org:10001 21:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:29 Configure a credential helper to remove this warning. See 21:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:29 21:27:29 Login Succeeded 21:27:29 nexus3.edgexfoundry.org:10002 21:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:29 Configure a credential helper to remove this warning. See 21:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:29 21:27:29 Login Succeeded 21:27:29 nexus3.edgexfoundry.org:10003 21:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:29 Configure a credential helper to remove this warning. See 21:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:29 21:27:29 Login Succeeded 21:27:29 nexus3.edgexfoundry.org:10004 21:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:29 Configure a credential helper to remove this warning. See 21:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:29 21:27:29 Login Succeeded 21:27:29 docker.io 21:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:29 Configure a credential helper to remove this warning. See 21:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:29 21:27:29 Login Succeeded 21:27:29 ---> docker-login.sh ends [Pipeline] } 21:27:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:27:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:29 ========================================================= 21:27:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:27:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:30 + 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 . 21:27:30 Sending build context to Docker daemon 6.436MB 21:27:30 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:27:30 Step 2/10 : FROM ${BASE} AS builder 21:27:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:27:30 63b65145d645: Pulling fs layer 21:27:30 a2d21d5440eb: Pulling fs layer 21:27:30 935e6c44a52c: Pulling fs layer 21:27:30 94cc34f8dd06: Pulling fs layer 21:27:30 30dea6a524f1: Pulling fs layer 21:27:30 a2aff8979fd8: Pulling fs layer 21:27:30 6808be2612f2: Pulling fs layer 21:27:30 f25807f1079a: Pulling fs layer 21:27:30 94cc34f8dd06: Waiting 21:27:30 6808be2612f2: Waiting 21:27:30 f25807f1079a: Waiting 21:27:30 30dea6a524f1: Waiting 21:27:30 a2aff8979fd8: Waiting 21:27:30 a2d21d5440eb: Download complete 21:27:30 94cc34f8dd06: Verifying Checksum 21:27:30 94cc34f8dd06: Download complete 21:27:30 63b65145d645: Verifying Checksum 21:27:30 63b65145d645: Download complete 21:27:30 30dea6a524f1: Verifying Checksum 21:27:30 30dea6a524f1: Download complete 21:27:30 a2aff8979fd8: Verifying Checksum 21:27:30 a2aff8979fd8: Download complete 21:27:30 63b65145d645: Pull complete 21:27:30 a2d21d5440eb: Pull complete 21:27:30 f25807f1079a: Verifying Checksum 21:27:30 f25807f1079a: Download complete 21:27:30 935e6c44a52c: Verifying Checksum 21:27:30 935e6c44a52c: Download complete 21:27:31 6808be2612f2: Verifying Checksum 21:27:31 6808be2612f2: Download complete 21:27:34 935e6c44a52c: Pull complete 21:27:34 94cc34f8dd06: Pull complete 21:27:34 30dea6a524f1: Pull complete 21:27:34 a2aff8979fd8: Pull complete 21:27:36 6808be2612f2: Pull complete 21:27:37 f25807f1079a: Pull complete 21:27:37 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:27:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:27:37 ---> 3b553350e43f 21:27:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:27:41 ---> Running in 9ee3a4629c61 21:27:41 Removing intermediate container 9ee3a4629c61 21:27:41 ---> fc5add4bc7b1 21:27:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:27:41 ---> Running in c84109ffe58e 21:27:41 Removing intermediate container c84109ffe58e 21:27:41 ---> 15203165a69a 21:27:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:27:41 ---> Running in a0ed96504383 21:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:27:42 (1/8) Installing openssh-keygen (9.1_p1-r2) 21:27:42 (2/8) Installing libedit (20221030.3.1-r0) 21:27:42 (3/8) Installing openssh-client-common (9.1_p1-r2) 21:27:42 (4/8) Installing openssh-client-default (9.1_p1-r2) 21:27:42 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 21:27:42 (6/8) Installing openssh-server-common (9.1_p1-r2) 21:27:42 (7/8) Installing openssh-server (9.1_p1-r2) 21:27:42 (8/8) Installing openssh (9.1_p1-r2) 21:27:42 Executing busybox-1.35.0-r29.trigger 21:27:42 OK: 270 MiB in 61 packages 21:27:42 Removing intermediate container a0ed96504383 21:27:42 ---> 21f0137c8abc 21:27:42 Step 6/10 : WORKDIR /device-modbus-go 21:27:42 ---> Running in 4f6456e1ef72 21:27:42 Removing intermediate container 4f6456e1ef72 21:27:42 ---> 08a1ae24efe7 21:27:42 Step 7/10 : COPY go.mod vendor* ./ 21:27:43 ---> f3237df75fc5 21:27:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:43 ---> Running in 96e83fb72067 21:27:43 Still waiting to schedule task 21:27:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8996’ is offline 21:28:15 Removing intermediate container 96e83fb72067 21:28:15 ---> 708394ae2b5f 21:28:15 Step 9/10 : COPY . . 21:28:15 ---> 1a1c9c8b37d3 21:28:15 Step 10/10 : RUN ${MAKE} 21:28:15 ---> Running in bb708adda5cc 21:28:15 noop 21:28:15 Removing intermediate container bb708adda5cc 21:28:15 ---> 04959cf201b7 21:28:15 Successfully built 04959cf201b7 21:28:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:15 + docker inspect -f . ci-base-image-x86_64 21:28:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:15 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:28:15 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:28:15 $ docker top bcbd331301cf6bef7b5edb3ca979cce8b24967d99049b1dff2f841b35e959e01 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:16 + go version 21:28:16 go version go1.20.2 linux/amd64 [Pipeline] } 21:28:16 $ docker stop --time=1 bcbd331301cf6bef7b5edb3ca979cce8b24967d99049b1dff2f841b35e959e01 21:28:17 $ docker rm -f --volumes bcbd331301cf6bef7b5edb3ca979cce8b24967d99049b1dff2f841b35e959e01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:17 + docker inspect -f . ci-base-image-x86_64 21:28:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:17 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:28:17 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:28:18 $ docker top 06512c54ce9be3cdf0558ab82608753592359a03a9dcdfa291b9af7988be4e1d -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 21:28:18 + make test 21:28:18 go test ./... -coverprofile=coverage.out 21:28:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:28:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:28:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.4% of statements 21:28:42 go vet ./... 21:28:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:28:44 $ docker stop --time=1 06512c54ce9be3cdf0558ab82608753592359a03a9dcdfa291b9af7988be4e1d 21:28:48 $ docker rm -f --volumes 06512c54ce9be3cdf0558ab82608753592359a03a9dcdfa291b9af7988be4e1d [Pipeline] // withDockerContainer [Pipeline] sh 21:28:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:28:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:28:49 + ls -al . 21:28:49 total 180 21:28:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 21:28 . 21:28:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:27 .. 21:28:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 21:27 .dockerignore 21:28:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:27 .git 21:28:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:27 .github 21:28:49 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 21:27 .gitignore 21:28:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:27 .golangci.yml 21:28:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:27 .semver 21:28:49 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 21:27 Attribution.txt 21:28:49 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 21:27 CHANGELOG.md 21:28:49 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 21:27 Dockerfile 21:28:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:27 GOVERNANCE.md 21:28:49 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 21:27 Jenkinsfile 21:28:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:27 LICENSE 21:28:49 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 21:27 Makefile 21:28:49 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 21:27 OWNERS.md 21:28:49 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 21:27 README.md 21:28:49 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 21:27 VERSION 21:28:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:27 bin 21:28:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:27 cmd 21:28:49 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 21:28 coverage.out 21:28:49 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 21:27 go.mod 21:28:49 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 18 21:27 go.sum 21:28:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:27 internal 21:28:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:27 simulator 21:28:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:27 snap 21:28:49 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:49 + 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=1a68168e1b466f81fb38e733dbe2211c06120b2a --label arch=amd64 --label version=3.0.0-dev.29 . 21:28:49 Sending build context to Docker daemon 6.461MB 21:28:49 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:28:49 Step 2/22 : FROM ${BASE} AS builder 21:28:49 ---> 04959cf201b7 21:28:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:28:49 ---> Running in d808cefb3a4a 21:28:49 Removing intermediate container d808cefb3a4a 21:28:49 ---> 45ca7218725e 21:28:49 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:49 ---> Running in 2b68bbb9767d 21:28:49 Removing intermediate container 2b68bbb9767d 21:28:49 ---> 0a8019650ff6 21:28:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:28:49 ---> Running in d3c095436c51 21:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:28:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:28:50 OK: 270 MiB in 61 packages 21:28:51 Removing intermediate container d3c095436c51 21:28:51 ---> ed58deaacde8 21:28:51 Step 6/22 : WORKDIR /device-modbus-go 21:28:51 ---> Running in 1ff4a5a7d5b6 21:28:51 Removing intermediate container 1ff4a5a7d5b6 21:28:51 ---> 3acf47dd2846 21:28:51 Step 7/22 : COPY go.mod vendor* ./ 21:28:51 ---> 9cb5573f4e05 21:28:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:51 ---> Running in 6d57b6a020c4 21:28:52 Removing intermediate container 6d57b6a020c4 21:28:52 ---> 0ace10e72a09 21:28:52 Step 9/22 : COPY . . 21:28:52 ---> 7e10c7041bb2 21:28:52 Step 10/22 : RUN ${MAKE} 21:28:52 ---> Running in b352ef1cb150 21:28:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:29:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9001 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:29:13 Running in /w/workspace/device-modbus-go/95 [Pipeline] { [Pipeline] checkout 21:29:13 Selected Git installation does not exist. Using Default 21:29:13 The recommended git tool is: NONE 21:29:14 Removing intermediate container b352ef1cb150 21:29:14 ---> cafb72751675 21:29:14 Step 11/22 : FROM alpine:3.17 21:29:14 3.17: Pulling from library/alpine 21:29:14 f56be85fc22e: Pulling fs layer 21:29:14 f56be85fc22e: Download complete 21:29:14 f56be85fc22e: Pull complete 21:29:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:29:14 Status: Downloaded newer image for alpine:3.17 21:29:14 ---> 9ed4aefc74f6 21:29:14 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:29:14 ---> Running in 1aba6e3074b2 21:29:14 Removing intermediate container 1aba6e3074b2 21:29:14 ---> ef5906476d22 21:29:14 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:29:14 ---> Running in 83a8692e30e2 21:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:29:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:29:14 (1/1) Installing dumb-init (1.2.5-r2) 21:29:14 Executing busybox-1.35.0-r29.trigger 21:29:14 OK: 7 MiB in 16 packages 21:29:14 Removing intermediate container 83a8692e30e2 21:29:14 ---> 2c5f14c09579 21:29:14 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:29:15 ---> ae00236d75f7 21:29:15 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:29:15 ---> 17c2b6f76d26 21:29:15 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:29:15 ---> 8fae2b7cf553 21:29:15 Step 17/22 : EXPOSE 59901 21:29:15 ---> Running in 88ff6cbf7ea7 21:29:15 Removing intermediate container 88ff6cbf7ea7 21:29:15 ---> 6fffba73e0e3 21:29:15 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:29:15 ---> Running in f7f4f0482234 21:29:15 Removing intermediate container f7f4f0482234 21:29:15 ---> 74c6d42f1d32 21:29:15 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:29:15 ---> Running in c93d34b0b251 21:29:15 Removing intermediate container c93d34b0b251 21:29:15 ---> 29f433e80cbf 21:29:15 Step 20/22 : LABEL arch=amd64 21:29:15 ---> Running in 9edd61ea3836 21:29:15 Removing intermediate container 9edd61ea3836 21:29:15 ---> e927bd5464bc 21:29:15 Step 21/22 : LABEL git_sha=1a68168e1b466f81fb38e733dbe2211c06120b2a 21:29:16 ---> Running in 8de2ce12fb72 21:29:16 Removing intermediate container 8de2ce12fb72 21:29:16 ---> 6d9ad81a8c50 21:29:16 Step 22/22 : LABEL version=3.0.0-dev.29 21:29:16 ---> Running in 3eb94e742996 21:29:16 Removing intermediate container 3eb94e742996 21:29:16 ---> f3cdc55d3955 21:29:16 [Warning] One or more build-args [ARCH] were not consumed 21:29:16 Successfully built f3cdc55d3955 21:29:16 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:16 provisioning config files... 21:29:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12452594426782065033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:16 ---> docker-login.sh 21:29:16 nexus3.edgexfoundry.org:10001 21:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:16 Configure a credential helper to remove this warning. See 21:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:16 21:29:16 Login Succeeded 21:29:16 nexus3.edgexfoundry.org:10002 21:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:16 Configure a credential helper to remove this warning. See 21:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:16 21:29:16 Login Succeeded 21:29:16 nexus3.edgexfoundry.org:10003 21:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:16 Configure a credential helper to remove this warning. See 21:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:16 21:29:16 Login Succeeded 21:29:16 nexus3.edgexfoundry.org:10004 21:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:16 Configure a credential helper to remove this warning. See 21:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:16 21:29:16 Login Succeeded 21:29:16 docker.io 21:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:17 Configure a credential helper to remove this warning. See 21:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:17 21:29:17 Login Succeeded 21:29:17 ---> docker-login.sh ends [Pipeline] } 21:29:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:17 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 21:29:17 1a68168e1b466f81fb38e733dbe2211c06120b2a 21:29:17 latest 21:29:17 3.0.0-dev.29 21:29:17 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 21:29:17 main 21:29:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a 21:29:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:29:17 e7900bdc87f0: Preparing 21:29:17 bdaa9b7c2544: Preparing 21:29:17 a3844e0dcfe1: Preparing 21:29:17 14e2103064c5: Preparing 21:29:17 f1417ff83b31: Preparing 21:29:17 f1417ff83b31: Layer already exists 21:29:17 bdaa9b7c2544: Pushed 21:29:17 e7900bdc87f0: Pushed 21:29:17 14e2103064c5: Pushed 21:29:18 using credential edgex-jenkins-ssh 21:29:18 Cloning the remote Git repository 21:29:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:29:18 > git init /w/workspace/device-modbus-go/95 # timeout=10 21:29:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:29:18 > git --version # timeout=10 21:29:18 > git --version # 'git version 2.25.1' 21:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:29:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:20 Avoid second fetch 21:29:20 Checking out Revision 1a68168e1b466f81fb38e733dbe2211c06120b2a (main) 21:29:21 a3844e0dcfe1: Pushed 21:29:21 1a68168e1b466f81fb38e733dbe2211c06120b2a: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:21 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#458)" 21:29:21 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 21:29:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:29:21 e7900bdc87f0: Preparing 21:29:21 bdaa9b7c2544: Preparing 21:29:21 a3844e0dcfe1: Preparing 21:29:21 14e2103064c5: Preparing 21:29:21 f1417ff83b31: Preparing 21:29:21 e7900bdc87f0: Layer already exists 21:29:21 f1417ff83b31: Layer already exists 21:29:21 14e2103064c5: Layer already exists 21:29:21 a3844e0dcfe1: Layer already exists 21:29:21 bdaa9b7c2544: Layer already exists 21:29:21 latest: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 21:29:20 > git config core.sparsecheckout # timeout=10 21:29:20 > git checkout -f 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv 21:29:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:29:22 % Total % Received % Xferd Average Speed Time Time Time Current 21:29:22 Dload Upload Total Spent Left Speed 21:29:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.29 21:29:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:29:22 e7900bdc87f0: Preparing 21:29:22 bdaa9b7c2544: Preparing 21:29:22 a3844e0dcfe1: Preparing 21:29:22 14e2103064c5: Preparing 21:29:22 f1417ff83b31: Preparing 21:29:22 e7900bdc87f0: Layer already exists 21:29:22 a3844e0dcfe1: Layer already exists 21:29:22 14e2103064c5: Layer already exists 21:29:22 bdaa9b7c2544: Layer already exists 21:29:22 f1417ff83b31: Layer already exists 21:29:22 3.0.0-dev.29: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:29:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:29:23 + sudo tee /etc/docker/daemon.new 21:29:23 { 21:29:23 "registry-mirrors": [ 21:29:23 "https://nexus3.edgexfoundry.org:10001" 21:29:23 ], 21:29:23 "bip": "10.250.0.254/24", 21:29:23 "hosts": [ 21:29:23 "tcp://0.0.0.0:5555", 21:29:23 "unix:///var/run/docker.sock" 21:29:23 ], 21:29:23 "mtu": 1458, 21:29:23 "selinux-enabled": true, 21:29:23 "seccomp-profile": "/etc/docker/seccomp.json" 21:29:23 } [Pipeline] sh 21:29:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 21:29:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:29:23 e7900bdc87f0: Preparing 21:29:23 bdaa9b7c2544: Preparing 21:29:23 a3844e0dcfe1: Preparing 21:29:23 14e2103064c5: Preparing 21:29:23 f1417ff83b31: Preparing 21:29:23 14e2103064c5: Layer already exists 21:29:23 bdaa9b7c2544: Layer already exists 21:29:23 f1417ff83b31: Layer already exists 21:29:23 e7900bdc87f0: Layer already exists 21:29:23 a3844e0dcfe1: Layer already exists 21:29:23 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:29:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:23 + sudo service docker restart 21:29:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 21:29:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:29:23 e7900bdc87f0: Preparing 21:29:23 bdaa9b7c2544: Preparing 21:29:23 a3844e0dcfe1: Preparing 21:29:23 14e2103064c5: Preparing 21:29:23 f1417ff83b31: Preparing 21:29:23 14e2103064c5: Layer already exists 21:29:23 e7900bdc87f0: Layer already exists 21:29:23 a3844e0dcfe1: Layer already exists 21:29:23 bdaa9b7c2544: Layer already exists 21:29:23 f1417ff83b31: Layer already exists 21:29:23 main: digest: sha256:75694da6a974809be364e42c80363d2c9243342d8ac10456ee0f529defa0dbb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:29:23 ===================================================== [Pipeline] echo 21:29:23 taggedImages: 21:29:23 - nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a 21:29:23 - nexus3.edgexfoundry.org:10004/device-modbus:latest 21:29:23 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.29 21:29:23 - nexus3.edgexfoundry.org:10004/device-modbus:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 21:29:23 - 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 21:29:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:24 21:29:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:24 latest: Pulling from edgex-lftools-log-publisher 21:29:24 5eb5b503b376: Pulling fs layer 21:29:24 5c69ac0246d0: Pulling fs layer 21:29:24 ec43610c2a17: Pulling fs layer 21:29:24 3a2ae6a8a46f: Pulling fs layer 21:29:24 33b1e0a273af: Pulling fs layer 21:29:24 5d3b04190fa2: Pulling fs layer 21:29:24 3a2ae6a8a46f: Waiting 21:29:24 5d3b04190fa2: Waiting 21:29:24 2f39f015ded8: Pulling fs layer 21:29:24 2f39f015ded8: Waiting 21:29:24 5c69ac0246d0: Download complete 21:29:24 3a2ae6a8a46f: Download complete 21:29:24 ec43610c2a17: Verifying Checksum 21:29:24 ec43610c2a17: Download complete 21:29:24 33b1e0a273af: Verifying Checksum 21:29:24 33b1e0a273af: Download complete 21:29:24 5d3b04190fa2: Verifying Checksum 21:29:24 5d3b04190fa2: Download complete 21:29:24 5eb5b503b376: Verifying Checksum 21:29:24 5eb5b503b376: Download complete 21:29:25 2f39f015ded8: Verifying Checksum 21:29:25 2f39f015ded8: Download complete 21:29:26 5eb5b503b376: Pull complete 21:29:26 5c69ac0246d0: Pull complete 21:29:26 ec43610c2a17: Pull complete 21:29:26 3a2ae6a8a46f: Pull complete 21:29:27 33b1e0a273af: Pull complete 21:29:27 5d3b04190fa2: Pull complete 21:29:32 2f39f015ded8: Pull complete 21:29:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:32 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:29:32 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:29:35 $ docker top c4f3b1e14a5e399f0df38a11910ce75d47a1d78386f00d5cd5357fb5f39dda12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:36 ---> job-cost.sh 21:29:36 lf-activate-venv: SKIPPING 21:29:36 INFO: No Stack... 21:29:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:29:36 INFO: Archiving Costs [Pipeline] sh 21:29:36 + cut -d, -f6 21:29:36 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [Pipeline] lock 21:29:36 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] 21:29:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] did not exist. Created. 21:29:36 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:29:37 + echo total: 0.2199999988079071 [Pipeline] stash 21:29:37 Stashed 1 file(s) [Pipeline] } 21:29:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 21:29:37 $ docker stop --time=1 c4f3b1e14a5e399f0df38a11910ce75d47a1d78386f00d5cd5357fb5f39dda12 21:29:38 $ docker rm -f --volumes c4f3b1e14a5e399f0df38a11910ce75d47a1d78386f00d5cd5357fb5f39dda12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:42 provisioning config files... 21:29:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/95@tmp/config237549567966271654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:42 ---> docker-login.sh 21:29:42 nexus3.edgexfoundry.org:10001 21:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:43 Configure a credential helper to remove this warning. See 21:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:43 21:29:43 Login Succeeded 21:29:43 nexus3.edgexfoundry.org:10002 21:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:43 Configure a credential helper to remove this warning. See 21:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:43 21:29:43 Login Succeeded 21:29:43 nexus3.edgexfoundry.org:10003 21:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:44 Configure a credential helper to remove this warning. See 21:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:44 21:29:44 Login Succeeded 21:29:44 nexus3.edgexfoundry.org:10004 21:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:44 Configure a credential helper to remove this warning. See 21:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:44 21:29:44 Login Succeeded 21:29:44 docker.io 21:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:44 Configure a credential helper to remove this warning. See 21:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:44 21:29:44 Login Succeeded 21:29:44 ---> docker-login.sh ends [Pipeline] } 21:29:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:29:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:45 ========================================================= 21:29:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:29:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:45 + 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 . 21:29:45 Sending build context to Docker daemon 3.357MB 21:29:45 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:29:45 Step 2/10 : FROM ${BASE} AS builder 21:29:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:29:46 af6eaf76a39c: Pulling fs layer 21:29:46 55522c791124: Pulling fs layer 21:29:46 ce5c4a1c91eb: Pulling fs layer 21:29:46 169dfbe0d373: Pulling fs layer 21:29:46 e1ff8fa3b103: Pulling fs layer 21:29:46 52ebb69f0ebf: Pulling fs layer 21:29:46 5abe8eddf0d5: Pulling fs layer 21:29:46 e1ff8fa3b103: Waiting 21:29:46 52ebb69f0ebf: Waiting 21:29:46 5abe8eddf0d5: Waiting 21:29:46 169dfbe0d373: Waiting 21:29:46 55522c791124: Verifying Checksum 21:29:46 55522c791124: Download complete 21:29:46 169dfbe0d373: Verifying Checksum 21:29:46 169dfbe0d373: Download complete 21:29:46 e1ff8fa3b103: Verifying Checksum 21:29:46 e1ff8fa3b103: Download complete 21:29:46 af6eaf76a39c: Verifying Checksum 21:29:46 af6eaf76a39c: Download complete 21:29:47 af6eaf76a39c: Pull complete 21:29:47 5abe8eddf0d5: Verifying Checksum 21:29:47 5abe8eddf0d5: Download complete 21:29:47 55522c791124: Pull complete 21:29:48 ce5c4a1c91eb: Verifying Checksum 21:29:48 ce5c4a1c91eb: Download complete 21:29:48 52ebb69f0ebf: Verifying Checksum 21:29:48 52ebb69f0ebf: Download complete 21:29:58 ce5c4a1c91eb: Pull complete 21:29:58 169dfbe0d373: Pull complete 21:29:58 e1ff8fa3b103: Pull complete 21:30:05 52ebb69f0ebf: Pull complete 21:30:07 5abe8eddf0d5: Pull complete 21:30:07 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:30:07 ---> 6cb57ee374ae 21:30:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:30:08 ---> Running in 50e70169c5a0 21:30:09 Removing intermediate container 50e70169c5a0 21:30:09 ---> 14350c8c174d 21:30:09 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:09 ---> Running in 640c3c6aac57 21:30:09 Removing intermediate container 640c3c6aac57 21:30:09 ---> b4d86b17c253 21:30:09 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:30:09 ---> Running in 6ea857f21c21 21:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:30:12 (1/8) Installing openssh-keygen (9.1_p1-r2) 21:30:12 (2/8) Installing libedit (20221030.3.1-r0) 21:30:12 (3/8) Installing openssh-client-common (9.1_p1-r2) 21:30:12 (4/8) Installing openssh-client-default (9.1_p1-r2) 21:30:12 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 21:30:12 (6/8) Installing openssh-server-common (9.1_p1-r2) 21:30:12 (7/8) Installing openssh-server (9.1_p1-r2) 21:30:12 (8/8) Installing openssh (9.1_p1-r2) 21:30:12 Executing busybox-1.35.0-r29.trigger 21:30:12 OK: 270 MiB in 61 packages 21:30:13 Removing intermediate container 6ea857f21c21 21:30:13 ---> 08577ac54d34 21:30:13 Step 6/10 : WORKDIR /device-modbus-go 21:30:13 ---> Running in 0b6f865cae32 21:30:13 Removing intermediate container 0b6f865cae32 21:30:13 ---> 0ff18fd074e6 21:30:13 Step 7/10 : COPY go.mod vendor* ./ 21:30:14 ---> 44cce8eb4b70 21:30:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:14 ---> Running in c5fe3f9e3efa 21:31:22 Removing intermediate container c5fe3f9e3efa 21:31:22 ---> f8ffc66d8c4c 21:31:22 Step 9/10 : COPY . . 21:31:22 ---> c5ceb0f13f2e 21:31:22 Step 10/10 : RUN ${MAKE} 21:31:22 ---> Running in 06ce113ce972 21:31:22 noop 21:31:22 Removing intermediate container 06ce113ce972 21:31:22 ---> 2fa2d11d7efe 21:31:22 Successfully built 2fa2d11d7efe 21:31:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:22 + docker inspect -f . ci-base-image-arm64 21:31:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:23 prd-ubuntu20.04-docker-arm64-4c-16g-9001 does not seem to be running inside a container 21:31:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/95 -v /w/workspace/device-modbus-go/95:/w/workspace/device-modbus-go/95:rw,z -v /w/workspace/device-modbus-go/95@tmp:/w/workspace/device-modbus-go/95@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 21:31:25 $ docker top 15b6ddae497a839ab765a18b18690d66b6da7b6fbb6efa8f666a48a16cb0c817 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:26 + go version 21:31:26 go version go1.20.2 linux/arm64 [Pipeline] } 21:31:26 $ docker stop --time=1 15b6ddae497a839ab765a18b18690d66b6da7b6fbb6efa8f666a48a16cb0c817 21:31:28 $ docker rm -f --volumes 15b6ddae497a839ab765a18b18690d66b6da7b6fbb6efa8f666a48a16cb0c817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:29 + docker inspect -f . ci-base-image-arm64 21:31:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:29 prd-ubuntu20.04-docker-arm64-4c-16g-9001 does not seem to be running inside a container 21:31:29 $ 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/95 -v /w/workspace/device-modbus-go/95:/w/workspace/device-modbus-go/95:rw,z -v /w/workspace/device-modbus-go/95@tmp:/w/workspace/device-modbus-go/95@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 21:31:31 $ docker top 4754074b2e9271a1b6d83d7a0cf2bfa6a9553cd555a4631b85769e21c2d8b1fd -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/95 [Pipeline] fileExists [Pipeline] sh 21:31:33 + make test 21:31:33 go test ./... -coverprofile=coverage.out 21:32:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:34:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:34:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.068s coverage: 47.4% of statements 21:34:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:34:05 go vet ./... 21:34:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:34:44 $ docker stop --time=1 4754074b2e9271a1b6d83d7a0cf2bfa6a9553cd555a4631b85769e21c2d8b1fd 21:34:46 $ docker rm -f --volumes 4754074b2e9271a1b6d83d7a0cf2bfa6a9553cd555a4631b85769e21c2d8b1fd [Pipeline] // withDockerContainer [Pipeline] sh 21:34:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:34:47 Warning: overwriting stash ‘coverage-report’ 21:34:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:34:49 + ls -al . 21:34:49 total 176 21:34:49 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:31 . 21:34:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:29 .. 21:34:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 21:29 .dockerignore 21:34:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:29 .git 21:34:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:29 .github 21:34:49 -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 21:29 .gitignore 21:34:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:29 .golangci.yml 21:34:49 -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 21:29 Attribution.txt 21:34:49 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 21:29 CHANGELOG.md 21:34:49 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 21:29 Dockerfile 21:34:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:29 GOVERNANCE.md 21:34:49 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 21:29 Jenkinsfile 21:34:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 21:29 LICENSE 21:34:49 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 21:29 Makefile 21:34:49 -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 21:29 OWNERS.md 21:34:49 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 21:29 README.md 21:34:49 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 21:27 VERSION 21:34:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:29 bin 21:34:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:29 cmd 21:34:49 -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 21:34 coverage.out 21:34:49 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 21:29 go.mod 21:34:49 -rw-rw-r-- 1 jenkins jenkins 31785 Apr 18 21:29 go.sum 21:34:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:29 internal 21:34:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:29 simulator 21:34:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:29 snap 21:34:49 -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 21:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:49 + 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=1a68168e1b466f81fb38e733dbe2211c06120b2a --label arch=arm64 --label version=3.0.0-dev.29 . 21:34:49 Sending build context to Docker daemon 3.382MB 21:34:49 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:34:49 Step 2/22 : FROM ${BASE} AS builder 21:34:49 ---> 2fa2d11d7efe 21:34:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:34:49 ---> Running in 965b258f7a42 21:34:50 Removing intermediate container 965b258f7a42 21:34:50 ---> 87b9cb54e103 21:34:50 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:50 ---> Running in b594315c9349 21:34:50 Removing intermediate container b594315c9349 21:34:50 ---> 348ed9da6ed9 21:34:50 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:34:50 ---> Running in 8b4051a84c55 21:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:34:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:34:53 OK: 270 MiB in 61 packages 21:34:54 Removing intermediate container 8b4051a84c55 21:34:54 ---> a5b90dd031fe 21:34:54 Step 6/22 : WORKDIR /device-modbus-go 21:34:54 ---> Running in ae30758b0139 21:34:54 Removing intermediate container ae30758b0139 21:34:54 ---> 7a7a2185ba0a 21:34:54 Step 7/22 : COPY go.mod vendor* ./ 21:34:55 ---> b95bcb261281 21:34:55 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:55 ---> Running in b7724b0af325 21:34:58 Removing intermediate container b7724b0af325 21:34:58 ---> 1f547b51c4a8 21:34:58 Step 9/22 : COPY . . 21:34:59 ---> 45c938abef7a 21:34:59 Step 10/22 : RUN ${MAKE} 21:34:59 ---> Running in 85521e92c76a 21:35:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:37:37 Removing intermediate container 85521e92c76a 21:37:37 ---> cc0911f9fd40 21:37:37 Step 11/22 : FROM alpine:3.17 21:37:37 3.17: Pulling from library/alpine 21:37:37 c41833b44d91: Pulling fs layer 21:37:37 c41833b44d91: Verifying Checksum 21:37:37 c41833b44d91: Download complete 21:37:37 c41833b44d91: Pull complete 21:37:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:37:37 Status: Downloaded newer image for alpine:3.17 21:37:37 ---> 51e60588ff2c 21:37:37 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:37:37 ---> Running in af1de8bbb108 21:37:37 Removing intermediate container af1de8bbb108 21:37:37 ---> b94770a9256e 21:37:37 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:37:37 ---> Running in 4ce1b1573b5a 21:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:37:37 (1/1) Installing dumb-init (1.2.5-r2) 21:37:37 Executing busybox-1.35.0-r29.trigger 21:37:37 OK: 8 MiB in 16 packages 21:37:37 Removing intermediate container 4ce1b1573b5a 21:37:37 ---> d1609df5def2 21:37:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:37:37 ---> 1d30ece2ee77 21:37:37 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:37:37 ---> b51003058bca 21:37:37 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:37:37 ---> 71767becb440 21:37:37 Step 17/22 : EXPOSE 59901 21:37:37 ---> Running in 7ec92d7e27f2 21:37:37 Removing intermediate container 7ec92d7e27f2 21:37:37 ---> 2759549a53bb 21:37:37 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:37:37 ---> Running in 150fd470df40 21:37:37 Removing intermediate container 150fd470df40 21:37:37 ---> 7907bab55f6c 21:37:37 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:37:37 ---> Running in 7d2c09849a44 21:37:37 Removing intermediate container 7d2c09849a44 21:37:37 ---> e7d0f9029440 21:37:37 Step 20/22 : LABEL arch=arm64 21:37:37 ---> Running in 936443b2fb54 21:37:37 Removing intermediate container 936443b2fb54 21:37:37 ---> 0a66f0c414b0 21:37:37 Step 21/22 : LABEL git_sha=1a68168e1b466f81fb38e733dbe2211c06120b2a 21:37:37 ---> Running in a6d8b7a23318 21:37:37 Removing intermediate container a6d8b7a23318 21:37:37 ---> c86a79fd48ef 21:37:37 Step 22/22 : LABEL version=3.0.0-dev.29 21:37:37 ---> Running in e1cb7bcb15b8 21:37:37 Removing intermediate container e1cb7bcb15b8 21:37:37 ---> 9a152713594b 21:37:37 [Warning] One or more build-args [ARCH] were not consumed 21:37:37 Successfully built 9a152713594b 21:37:37 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 21:37:37 provisioning config files... 21:37:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/95@tmp/config7870880847128097070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:38 ---> docker-login.sh 21:37:38 nexus3.edgexfoundry.org:10001 21:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:38 Configure a credential helper to remove this warning. See 21:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:38 21:37:38 Login Succeeded 21:37:38 nexus3.edgexfoundry.org:10002 21:37:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:38 Configure a credential helper to remove this warning. See 21:37:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:38 21:37:38 Login Succeeded 21:37:38 nexus3.edgexfoundry.org:10003 21:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:39 Configure a credential helper to remove this warning. See 21:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:39 21:37:39 Login Succeeded 21:37:39 nexus3.edgexfoundry.org:10004 21:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:39 Configure a credential helper to remove this warning. See 21:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:39 21:37:39 Login Succeeded 21:37:39 docker.io 21:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:39 Configure a credential helper to remove this warning. See 21:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:39 21:37:39 Login Succeeded 21:37:39 ---> docker-login.sh ends [Pipeline] } 21:37:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:39 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:37:39 1a68168e1b466f81fb38e733dbe2211c06120b2a 21:37:39 latest 21:37:39 3.0.0-dev.29 21:37:39 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 21:37:39 main 21:37:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a 21:37:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:37:40 405386a1cbe5: Preparing 21:37:40 bac8e889c81b: Preparing 21:37:40 dbfd37340e0f: Preparing 21:37:40 ef0befc48f25: Preparing 21:37:40 26cbea5cba74: Preparing 21:37:40 26cbea5cba74: Layer already exists 21:37:40 405386a1cbe5: Pushed 21:37:40 ef0befc48f25: Pushed 21:37:40 bac8e889c81b: Pushed 21:37:46 dbfd37340e0f: Pushed 21:37:46 1a68168e1b466f81fb38e733dbe2211c06120b2a: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:37:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:37:46 405386a1cbe5: Preparing 21:37:46 bac8e889c81b: Preparing 21:37:46 dbfd37340e0f: Preparing 21:37:46 ef0befc48f25: Preparing 21:37:46 26cbea5cba74: Preparing 21:37:46 26cbea5cba74: Layer already exists 21:37:46 ef0befc48f25: Layer already exists 21:37:46 405386a1cbe5: Layer already exists 21:37:46 dbfd37340e0f: Layer already exists 21:37:46 bac8e889c81b: Layer already exists 21:37:47 latest: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.29 21:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:37:47 405386a1cbe5: Preparing 21:37:47 bac8e889c81b: Preparing 21:37:47 dbfd37340e0f: Preparing 21:37:47 ef0befc48f25: Preparing 21:37:47 26cbea5cba74: Preparing 21:37:47 dbfd37340e0f: Layer already exists 21:37:47 ef0befc48f25: Layer already exists 21:37:47 405386a1cbe5: Layer already exists 21:37:47 26cbea5cba74: Layer already exists 21:37:47 bac8e889c81b: Layer already exists 21:37:48 3.0.0-dev.29: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 21:37:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:37:49 405386a1cbe5: Preparing 21:37:49 bac8e889c81b: Preparing 21:37:49 dbfd37340e0f: Preparing 21:37:49 ef0befc48f25: Preparing 21:37:49 26cbea5cba74: Preparing 21:37:49 26cbea5cba74: Layer already exists 21:37:49 bac8e889c81b: Layer already exists 21:37:49 405386a1cbe5: Layer already exists 21:37:49 ef0befc48f25: Layer already exists 21:37:49 dbfd37340e0f: Layer already exists 21:37:49 1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:37:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:37:49 405386a1cbe5: Preparing 21:37:49 bac8e889c81b: Preparing 21:37:49 dbfd37340e0f: Preparing 21:37:49 ef0befc48f25: Preparing 21:37:49 26cbea5cba74: Preparing 21:37:49 26cbea5cba74: Layer already exists 21:37:49 dbfd37340e0f: Layer already exists 21:37:49 405386a1cbe5: Layer already exists 21:37:49 bac8e889c81b: Layer already exists 21:37:49 ef0befc48f25: Layer already exists 21:37:49 main: digest: sha256:072fe90370c22aab3cca65690d7f1ada7d817bc195f2919ae56362bf7acfc170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:37:50 ===================================================== [Pipeline] echo 21:37:50 taggedImages: 21:37:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a 21:37:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:37:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.29 21:37:50 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1a68168e1b466f81fb38e733dbe2211c06120b2a-3.0.0-dev.29 21:37:50 - 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 21:37:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:50 21:37:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:37:50 arm64: Pulling from edgex-lftools-log-publisher 21:37:50 8998bd30e6a1: Pulling fs layer 21:37:50 04944245beec: Pulling fs layer 21:37:50 699f458cf7ca: Pulling fs layer 21:37:50 765212b225bb: Pulling fs layer 21:37:50 f23df028b6ca: Pulling fs layer 21:37:50 d65c8cfc05b1: Pulling fs layer 21:37:50 2437ff75d9bd: Pulling fs layer 21:37:50 765212b225bb: Waiting 21:37:50 f23df028b6ca: Waiting 21:37:50 2437ff75d9bd: Waiting 21:37:50 d65c8cfc05b1: Waiting 21:37:51 04944245beec: Verifying Checksum 21:37:51 04944245beec: Download complete 21:37:51 765212b225bb: Verifying Checksum 21:37:51 765212b225bb: Download complete 21:37:51 f23df028b6ca: Verifying Checksum 21:37:51 f23df028b6ca: Download complete 21:37:51 d65c8cfc05b1: Verifying Checksum 21:37:51 d65c8cfc05b1: Download complete 21:37:51 699f458cf7ca: Verifying Checksum 21:37:51 699f458cf7ca: Download complete 21:37:51 8998bd30e6a1: Verifying Checksum 21:37:51 8998bd30e6a1: Download complete 21:37:54 2437ff75d9bd: Verifying Checksum 21:37:55 8998bd30e6a1: Pull complete 21:37:56 04944245beec: Pull complete 21:37:57 699f458cf7ca: Pull complete 21:37:57 765212b225bb: Pull complete 21:37:58 f23df028b6ca: Pull complete 21:37:58 d65c8cfc05b1: Pull complete 21:38:13 2437ff75d9bd: Pull complete 21:38:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:38:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:38:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:13 prd-ubuntu20.04-docker-arm64-4c-16g-9001 does not seem to be running inside a container 21:38:13 $ 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/95 -v /w/workspace/device-modbus-go/95:/w/workspace/device-modbus-go/95:rw,z -v /w/workspace/device-modbus-go/95@tmp:/w/workspace/device-modbus-go/95@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 21:38:16 $ docker top f21ec6aa080c541967ec59b3ebfd0bed3ee495e3d5c1a24eedc0f43e96022291 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:17 ---> job-cost.sh 21:38:17 lf-activate-venv: SKIPPING 21:38:17 INFO: No Stack... 21:38:17 INFO: Retrieving Pricing Info for: v3-standard-4 21:38:18 INFO: Archiving Costs [Pipeline] sh 21:38:19 + cat /w/workspace/device-modbus-go/95/archives/cost.csv 21:38:19 + cut -d, -f6 [Pipeline] lock 21:38:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] 21:38:19 Resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] did not exist. Created. 21:38:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:19 /w/workspace/device-modbus-go/95@tmp/durable-6da0f350/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:38:20 + echo total: 0.10999999940395355 [Pipeline] stash 21:38:20 Warning: overwriting stash ‘stack-cost’ 21:38:20 Stashed 1 file(s) [Pipeline] } 21:38:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:20 $ docker stop --time=1 f21ec6aa080c541967ec59b3ebfd0bed3ee495e3d5c1a24eedc0f43e96022291 21:38:22 $ docker rm -f --volumes f21ec6aa080c541967ec59b3ebfd0bed3ee495e3d5c1a24eedc0f43e96022291 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:38:22 provisioning config files... 21:38:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17408903715808680342tmp [Pipeline] { [Pipeline] sh 21:38:22 + set +x 21:38:22 + curl -s https://codecov.io/bash 21:38:22 + bash -s -- 21:38:22 21:38:22 _____ _ 21:38:22 / ____| | | 21:38:22 | | ___ __| | ___ ___ _____ __ 21:38:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:38:22 | |___| (_) | (_| | __/ (_| (_) \ V / 21:38:22 \_____\___/ \__,_|\___|\___\___/ \_/ 21:38:22 Bash-1.0.6 21:38:22 21:38:22 21:38:22 ==> git version 2.25.1 found 21:38:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:38:22 Release-Date: 2020-01-08 21:38:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:38:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:38:22 ==> Jenkins CI detected. 21:38:22 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 21:38:22 project root: . 21:38:22 --> token set from env 21:38:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:38:22 ==> Running gcov in . (disable via -X gcov) 21:38:22 ==> Python coveragepy not found 21:38:22 ==> Searching for coverage reports in: 21:38:22 + . 21:38:22 -> Found 1 reports 21:38:22 ==> Detecting git/mercurial file structure 21:38:23 ==> Reading reports 21:38:23 + ./coverage.out bytes=24160 21:38:23 ==> Appending adjustments 21:38:23 https://docs.codecov.io/docs/fixing-reports 21:38:23 + Found adjustments 21:38:23 ==> Gzipping contents 21:38:23 4.0K /tmp/codecov.woYVy6.gz 21:38:23 ==> Uploading reports 21:38:23 url: https://codecov.io 21:38:23 query: branch=main&commit=1a68168e1b466f81fb38e733dbe2211c06120b2a&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:38:23 -> Pinging Codecov 21:38:23 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=1a68168e1b466f81fb38e733dbe2211c06120b2a&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:38:23 -> Uploading to 21:38:23 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/1a68168e1b466f81fb38e733dbe2211c06120b2a/1912ada3-93a8-4ede-aa1f-c0da657938b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T213823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6545a0868e039fc4e9db1a49a8640e09bfe7a9cb2655f5d57e72f7f878dea47 21:38:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:23 Dload Upload Total Spent Left Speed 21:38:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16987 --:--:-- --:--:-- --:--:-- 16987 21:38:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] } 21:38:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:38:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:38:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:24 21:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:38:24 df9b9388f04a: Pulling fs layer 21:38:24 52dc419b0ee2: Pulling fs layer 21:38:24 25bc292e5bac: Pulling fs layer 21:38:24 114826534d7a: Pulling fs layer 21:38:24 4657fd5d0bcf: Pulling fs layer 21:38:24 6ad1cebc031e: Pulling fs layer 21:38:24 8a3aa393b2d8: Pulling fs layer 21:38:24 114826534d7a: Waiting 21:38:24 4657fd5d0bcf: Waiting 21:38:24 6ad1cebc031e: Waiting 21:38:24 8a3aa393b2d8: Waiting 21:38:24 25bc292e5bac: Verifying Checksum 21:38:24 25bc292e5bac: Download complete 21:38:24 52dc419b0ee2: Verifying Checksum 21:38:24 52dc419b0ee2: Download complete 21:38:24 4657fd5d0bcf: Download complete 21:38:24 df9b9388f04a: Download complete 21:38:24 6ad1cebc031e: Verifying Checksum 21:38:24 6ad1cebc031e: Download complete 21:38:24 df9b9388f04a: Pull complete 21:38:24 52dc419b0ee2: Pull complete 21:38:25 25bc292e5bac: Pull complete 21:38:25 114826534d7a: Verifying Checksum 21:38:25 114826534d7a: Download complete 21:38:25 8a3aa393b2d8: Verifying Checksum 21:38:25 8a3aa393b2d8: Download complete 21:38:28 114826534d7a: Pull complete 21:38:28 4657fd5d0bcf: Pull complete 21:38:29 6ad1cebc031e: Pull complete 21:38:31 8a3aa393b2d8: Pull complete 21:38:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:38:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:32 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:38:32 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:38:35 $ docker top dd42c5ee5d8ec4f4d5167005b9b7f1391efbcdc6156460c42276531b1f1a8063 -eo pid,comm [Pipeline] { [Pipeline] echo 21:38:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 21:38:36 + set -o pipefail 21:38:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 21:38:40 21:38:40 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 21:38:40 21:38:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/9a4e7d42-c94d-4344-9d98-85118e94ecbd 21:38:40 21:38:40 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:38:40 21:38:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:38:40 21:38:40 21:38:40 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:38:40 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:38:40 More details here: https://snyk.co/ue1NS [Pipeline] } 21:38:40 $ docker stop --time=1 dd42c5ee5d8ec4f4d5167005b9b7f1391efbcdc6156460c42276531b1f1a8063 21:38:43 $ docker rm -f --volumes dd42c5ee5d8ec4f4d5167005b9b7f1391efbcdc6156460c42276531b1f1a8063 [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 21:38:43 + git log --format=format:%s -1 1a68168e1b466f81fb38e733dbe2211c06120b2a [Pipeline] sh 21:38:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:38:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:38:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:44 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:38:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:38:45 $ docker top fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:38:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:45 [ssh-agent] Looking for ssh-agent implementation... 21:38:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:45 $ docker exec fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c ssh-agent 21:38:45 SSH_AUTH_SOCK=/tmp/ssh-Q6ZAYU4VygM0/agent.31 21:38:45 SSH_AGENT_PID=37 21:38:45 Running ssh-add (command line suppressed) 21:38:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9293368688696055051.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9293368688696055051.key) 21:38:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:45 + git semver tag 21:38:46 2023-04-18 21:38:46,076 [run_tag] DEBUG tag force:False 21:38:46 2023-04-18 21:38:46,077 [check_head_tag] DEBUG check head tag 21:38:46 2023-04-18 21:38:46,078 [execute] INFO git cat-file --batch-check 21:38:46 2023-04-18 21:38:46,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:38:46 2023-04-18 21:38:46,082 [execute] INFO git cat-file --batch 21:38:46 2023-04-18 21:38:46,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:38:46 2023-04-18 21:38:46,106 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:38:46 2023-04-18 21:38:46,106 [execute] INFO git tag -a v3.0.0-dev.29 -m v3.0.0-dev.29 21:38:46 2023-04-18 21:38:46,106 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.29', '-m', 'v3.0.0-dev.29'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 21:38:46 2023-04-18 21:38:46,112 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:38:46 3.0.0-dev.29 [Pipeline] } 21:38:46 $ docker exec --env ******** --env ******** fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c ssh-agent -k 21:38:46 unset SSH_AUTH_SOCK; 21:38:46 unset SSH_AGENT_PID; 21:38:46 echo Agent pid 37 killed; 21:38:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:46 + git semver [Pipeline] } 21:38:46 $ docker stop --time=1 fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c 21:38:48 $ docker rm -f --volumes fe5bc83585aac807d4fcfc4ff00201f0face53cefdc3aeae0ad3df144122010c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:48 21:38:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:48 0.23.1-centos7: Pulling from edgex-lftools 21:38:48 ab5ef0e58194: Pulling fs layer 21:38:48 9712f1f96733: Pulling fs layer 21:38:48 63f879dbbcfc: Pulling fs layer 21:38:48 0d9ebad4ef96: Pulling fs layer 21:38:48 e9a5061849ea: Pulling fs layer 21:38:48 d747dcd14b5f: Pulling fs layer 21:38:48 2de7ff778b66: Pulling fs layer 21:38:48 e9a5061849ea: Waiting 21:38:48 2de7ff778b66: Waiting 21:38:48 0d9ebad4ef96: Waiting 21:38:48 9712f1f96733: Verifying Checksum 21:38:48 9712f1f96733: Download complete 21:38:49 63f879dbbcfc: Verifying Checksum 21:38:49 63f879dbbcfc: Download complete 21:38:49 e9a5061849ea: Verifying Checksum 21:38:49 e9a5061849ea: Download complete 21:38:49 d747dcd14b5f: Verifying Checksum 21:38:49 d747dcd14b5f: Download complete 21:38:49 0d9ebad4ef96: Verifying Checksum 21:38:49 0d9ebad4ef96: Download complete 21:38:49 ab5ef0e58194: Verifying Checksum 21:38:49 ab5ef0e58194: Download complete 21:38:49 2de7ff778b66: Verifying Checksum 21:38:49 2de7ff778b66: Download complete 21:38:52 ab5ef0e58194: Pull complete 21:38:52 9712f1f96733: Pull complete 21:38:53 63f879dbbcfc: Pull complete 21:38:57 0d9ebad4ef96: Pull complete 21:38:57 e9a5061849ea: Pull complete 21:38:57 d747dcd14b5f: Pull complete 21:38:59 2de7ff778b66: Pull complete 21:38:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:38:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:38:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:59 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:38:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:39:04 $ docker top dcda8d2f9b3bab7091fba4c3bacd77d4400990c883a74387d3f43e42631bc467 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:39:04 provisioning config files... 21:39:04 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10893122657131604735tmp 21:39:04 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7961214892514339467tmp 21:39:04 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3451038627226235615tmp [Pipeline] { [Pipeline] echo 21:39:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:39:05 ---> sigul-configuration.sh 21:39:05 gpg: directory `/root/.gnupg' created 21:39:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:39:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:39:05 gpg: keyring `/root/.gnupg/secring.gpg' created 21:39:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:39:05 gpg: CAST5 encrypted data 21:39:05 gpg: encrypted with 1 passphrase 21:39:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:39:05 + mkdir /home/jenkins 21:39:05 + mkdir /home/jenkins/sigul [Pipeline] sh 21:39:05 + 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 21:39:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:39:05 ---> sigul-install.sh 21:39:05 Sigul already installed; skipping installation. [Pipeline] sh 21:39:06 + git tag --list 21:39:06 0.7.1 21:39:06 v1.0.0 21:39:06 v1.1.0 21:39:06 v1.1.1 21:39:06 v1.2.2 21:39:06 v1.3.0 21:39:06 v1.3.1 21:39:06 v2.0.0 21:39:06 v2.1.0 21:39:06 v2.1.1 21:39:06 v2.1.1-dev.1 21:39:06 v2.1.1-dev.2 21:39:06 v2.1.1-dev.3 21:39:06 v2.2.0 21:39:06 v2.2.1-dev.1 21:39:06 v2.2.1-dev.2 21:39:06 v2.2.1-dev.3 21:39:06 v2.2.1-dev.4 21:39:06 v2.2.1-dev.5 21:39:06 v2.2.1-dev.6 21:39:06 v2.2.1-dev.7 21:39:06 v2.3.0 21:39:06 v2.3.0-dev.10 21:39:06 v2.3.0-dev.11 21:39:06 v2.3.0-dev.12 21:39:06 v2.3.0-dev.13 21:39:06 v2.3.0-dev.14 21:39:06 v2.3.0-dev.15 21:39:06 v2.3.0-dev.16 21:39:06 v2.3.0-dev.17 21:39:06 v2.3.0-dev.18 21:39:06 v2.3.0-dev.19 21:39:06 v2.3.0-dev.20 21:39:06 v2.3.0-dev.21 21:39:06 v2.3.0-dev.22 21:39:06 v2.3.0-dev.23 21:39:06 v2.3.0-dev.24 21:39:06 v2.3.0-dev.25 21:39:06 v2.3.0-dev.7 21:39:06 v2.3.0-dev.8 21:39:06 v2.3.0-dev.9 21:39:06 v3.0.0-dev.1 21:39:06 v3.0.0-dev.10 21:39:06 v3.0.0-dev.11 21:39:06 v3.0.0-dev.12 21:39:06 v3.0.0-dev.13 21:39:06 v3.0.0-dev.14 21:39:06 v3.0.0-dev.15 21:39:06 v3.0.0-dev.16 21:39:06 v3.0.0-dev.17 21:39:06 v3.0.0-dev.18 21:39:06 v3.0.0-dev.19 21:39:06 v3.0.0-dev.2 21:39:06 v3.0.0-dev.20 21:39:06 v3.0.0-dev.21 21:39:06 v3.0.0-dev.22 21:39:06 v3.0.0-dev.23 21:39:06 v3.0.0-dev.24 21:39:06 v3.0.0-dev.25 21:39:06 v3.0.0-dev.26 21:39:06 v3.0.0-dev.27 21:39:06 v3.0.0-dev.28 21:39:06 v3.0.0-dev.29 21:39:06 v3.0.0-dev.3 21:39:06 v3.0.0-dev.4 21:39:06 v3.0.0-dev.5 21:39:06 v3.0.0-dev.6 21:39:06 v3.0.0-dev.7 21:39:06 v3.0.0-dev.8 21:39:06 v3.0.0-dev.9 [Pipeline] sh 21:39:06 + lftools sign git-tag v3.0.0-dev.29 21:39:07 Signing Git tag with Sigul... 21:39:07 Signing v3.0.0-dev.29 [Pipeline] echo 21:39:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:39:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:39:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:39:07 $ docker stop --time=1 dcda8d2f9b3bab7091fba4c3bacd77d4400990c883a74387d3f43e42631bc467 21:39:08 $ docker rm -f --volumes dcda8d2f9b3bab7091fba4c3bacd77d4400990c883a74387d3f43e42631bc467 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:39:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:39:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:09 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:39:09 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:39:10 $ docker top 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa -eo pid,comm 21:39:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:39:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:10 [ssh-agent] Looking for ssh-agent implementation... 21:39:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:10 $ docker exec 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa ssh-agent 21:39:10 SSH_AUTH_SOCK=/tmp/ssh-fBPNMqWRI6O3/agent.33 21:39:10 SSH_AGENT_PID=39 21:39:10 Running ssh-add (command line suppressed) 21:39:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6585027816001152177.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6585027816001152177.key) 21:39:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:11 + git semver bump pre 21:39:11 2023-04-18 21:39:11,247 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:39:11 2023-04-18 21:39:11,247 [bump_version] DEBUG bumping version:3.0.0-dev.29 on axis:pre with prefix:dev 21:39:11 2023-04-18 21:39:11,247 [bump_version] DEBUG bumped version:3.0.0-dev.30 21:39:11 2023-04-18 21:39:11,247 [write_version] DEBUG write version:3.0.0-dev.30 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 21:39:11 2023-04-18 21:39:11,247 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:39:11 2023-04-18 21:39:11,247 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:39:11 2023-04-18 21:39:11,249 [execute] INFO git cat-file --batch-check 21:39:11 2023-04-18 21:39:11,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:39:11 2023-04-18 21:39:11,253 [execute] INFO git cat-file --batch 21:39:11 2023-04-18 21:39:11,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:39:11 2023-04-18 21:39:11,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:39:11 3.0.0-dev.30 [Pipeline] } 21:39:11 $ docker exec --env ******** --env ******** 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa ssh-agent -k 21:39:11 unset SSH_AUTH_SOCK; 21:39:11 unset SSH_AGENT_PID; 21:39:11 echo Agent pid 39 killed; 21:39:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:11 + git semver [Pipeline] } 21:39:12 $ docker stop --time=1 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa 21:39:13 $ docker rm -f --volumes 463c78ade38691424c714247c83d766a977452d491c241f205274feb22a9c9fa [Pipeline] // withDockerContainer [Pipeline] sh 21:39:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:39:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:14 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:39:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:39:14 $ docker top 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:14 [ssh-agent] Looking for ssh-agent implementation... 21:39:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:14 $ docker exec 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a ssh-agent 21:39:14 SSH_AUTH_SOCK=/tmp/ssh-N7YjA5iUqwPN/agent.32 21:39:14 SSH_AGENT_PID=38 21:39:14 Running ssh-add (command line suppressed) 21:39:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10610778236778572187.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10610778236778572187.key) 21:39:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:15 + git semver push 21:39:15 2023-04-18 21:39:15,298 [run_push] DEBUG push 21:39:15 2023-04-18 21:39:15,299 [execute] INFO git cat-file --batch-check 21:39:15 2023-04-18 21:39:15,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:39:15 2023-04-18 21:39:15,304 [execute] INFO git rev-list 886861a95d05be95b6634d82207d5aa1931046fe -- 21:39:15 2023-04-18 21:39:15,304 [execute] DEBUG Popen(['git', 'rev-list', '886861a95d05be95b6634d82207d5aa1931046fe', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:39:15 2023-04-18 21:39:15,314 [execute] INFO git fetch -v origin 21:39:15 2023-04-18 21:39:15,314 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:39:15 2023-04-18 21:39:15,814 [run_push] DEBUG no remote changes detected 21:39:15 2023-04-18 21:39:15,815 [execute] INFO git push origin semver 21:39:15 2023-04-18 21:39:15,816 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:39:16 2023-04-18 21:39:16,551 [run_push] DEBUG push all version tags 21:39:16 2023-04-18 21:39:16,552 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:39:16 2023-04-18 21:39:16,553 [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) 21:39:17 2023-04-18 21:39:17,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:39:17 3.0.0-dev.30 [Pipeline] } 21:39:17 $ docker exec --env ******** --env ******** 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a ssh-agent -k 21:39:17 unset SSH_AUTH_SOCK; 21:39:17 unset SSH_AGENT_PID; 21:39:17 echo Agent pid 38 killed; 21:39:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:17 + git semver [Pipeline] } 21:39:18 $ docker stop --time=1 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a 21:39:19 $ docker rm -f --volumes 086d616b210bc89cffedb34394a7ce8ecae90b95acd86e4a7566aae2ebf79f9a [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 21:39:20 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 21:39:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:39:20 total 16 21:39:20 drwxr-xr-x 3 root root 4096 Apr 18 21:29 . 21:39:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 21:39 .. 21:39:20 drwxr-xr-x 2 root root 4096 Apr 18 21:29 cost 21:39:20 -rw-r--r-- 1 root root 87 Apr 18 21:29 cost.csv 21:39:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 21:39:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:39:20 total 16 21:39:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:29 . 21:39:20 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 21:39 .. 21:39:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 21:29 cost 21:39:20 -rw-r--r-- 1 jenkins jenkins 87 Apr 18 21:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:39:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:39:21 ---> package-listing.sh 21:39:21 ++ facter osfamily 21:39:21 ++ tr '[:upper:]' '[:lower:]' 21:39:21 + OS_FAMILY=debian 21:39:21 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 21:39:21 + START_PACKAGES=/tmp/packages_start.txt 21:39:21 + END_PACKAGES=/tmp/packages_end.txt 21:39:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:39:21 + PACKAGES=/tmp/packages_start.txt 21:39:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:39:21 + PACKAGES=/tmp/packages_end.txt 21:39:21 + case "${OS_FAMILY}" in 21:39:21 + dpkg -l 21:39:21 + grep '^ii' 21:39:21 + '[' -f /tmp/packages_start.txt ']' 21:39:21 + '[' -f /tmp/packages_end.txt ']' 21:39:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:39:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:39:21 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 21:39:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 21:39:21 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 21:39:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:22 prd-ubuntu20.04-docker-8c-8g-8998 does not seem to be running inside a container 21:39:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:39:22 $ docker top d7349667772a3c37f6b2ec569fa64ccb0c6fe0f54e1b9c29933e43d0f424e851 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:22 + touch /tmp/pre-build-complete [Pipeline] sh 21:39:23 + mkdir -p /var/log/sysstat [Pipeline] sh 21:39:23 + ls /var/log/sa-host 21:39:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:23 provisioning config files... 21:39:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18139921961983867749tmp [Pipeline] { [Pipeline] echo 21:39:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:39:23 ---> create-netrc.sh [Pipeline] } 21:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:39:24 ---> python-tools-install.sh [Pipeline] echo 21:39:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:39:24 ---> sudo-logs.sh 21:39:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:39:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:39:24 ---> job-cost.sh 21:39:24 lf-activate-venv: SKIPPING 21:39:24 DEBUG: total: 0.2199999988079071 21:39:24 INFO: Retrieving Stack Cost... 21:39:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:25 INFO: Archiving Costs [Pipeline] echo 21:39:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:39:25 ---> logs-deploy.sh 21:39:25 lf-activate-venv: SKIPPING 21:39:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/95 21:39:25 INFO: archiving workspace using pattern(s): 21:39:26 Archives upload complete. 21:39:27 INFO: archiving logs to Nexus