Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 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-ssh8308026186720071185.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh882853530496479540.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15045614358580893385.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7473406829749815689.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-ssh547330441225501879.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-6117 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 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (main) Commit message: "refactor!: Change configuration and devices files format to YAML (#445)" > 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 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 > git rev-list --no-walk 63f56b440389908500f57809a79af5893e194475 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:53:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:53:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:05 ========================================================= 20:53:05 EdgeX Global Pipelines Version Info 20:53:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:53:06 ------------------- 20:53:06 stable info: 20:53:06 ------------------- 20:53:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:53:06 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:53:06 Message: update stable to v1.0.245 20:53:07 ------------------- 20:53:07 experimental info: 20:53:07 ------------------- 20:53:07 Commited By: **** collab-it+edgex@linuxfoundation.org 20:53:07 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:53:07 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 053db68 [Pipeline] echo 20:53:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:07 provisioning config files... 20:53:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9126513142163446977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:08 ---> docker-login.sh 20:53:08 nexus3.edgexfoundry.org:10001 20:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:08 Configure a credential helper to remove this warning. See 20:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:08 20:53:08 Login Succeeded 20:53:08 nexus3.edgexfoundry.org:10002 20:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:08 Configure a credential helper to remove this warning. See 20:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:08 20:53:08 Login Succeeded 20:53:08 nexus3.edgexfoundry.org:10003 20:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:08 Configure a credential helper to remove this warning. See 20:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:08 20:53:08 Login Succeeded 20:53:08 nexus3.edgexfoundry.org:10004 20:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:08 Configure a credential helper to remove this warning. See 20:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:08 20:53:08 Login Succeeded 20:53:08 docker.io 20:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:09 Configure a credential helper to remove this warning. See 20:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:09 20:53:09 Login Succeeded 20:53:09 ---> docker-login.sh ends [Pipeline] } 20:53:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:53:09 + git rev-list -1 --merges 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9~1..053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo 20:53:09 -----------> git rev-list -1 --merges 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9~1..053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [false] [Pipeline] sh 20:53:09 + git log --format=format:%s -1 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo 20:53:09 ========================================================= 20:53:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:53:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:10 + git log --format=format:%s -1 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] echo 20:53:10 [semverPrep] GIT_COMMIT: 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9, Commit Message: refactor!: Change configuration and devices files format to YAML (#445) [Pipeline] echo 20:53:10 [semverPrep] This is not a build commit. [Pipeline] sh 20:53:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:10 + grep -v github /etc/ssh/ssh_known_hosts 20:53:10 + [ -e /tmp/ssh_known_hosts ] 20:53:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:53:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:53:10 + sudo tee -a /etc/ssh/ssh_known_hosts 20:53:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:11 20:53:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:11 0.1.4: Pulling from edgex-devops/py-git-semver 20:53:11 b85a868b505f: Pulling fs layer 20:53:11 e2be974225ed: Pulling fs layer 20:53:11 339a4e72a1f5: Pulling fs layer 20:53:11 988bab9f4d93: Pulling fs layer 20:53:11 1469e6f7b9e6: Pulling fs layer 20:53:11 eaf3925da568: Pulling fs layer 20:53:11 bab4dde63d76: Pulling fs layer 20:53:11 bde34c3a00c8: Pulling fs layer 20:53:11 b352a97aabf1: Pulling fs layer 20:53:11 4872d77fe225: Pulling fs layer 20:53:11 5851b861e8e6: Pulling fs layer 20:53:11 988bab9f4d93: Waiting 20:53:11 1469e6f7b9e6: Waiting 20:53:11 bab4dde63d76: Waiting 20:53:11 bde34c3a00c8: Waiting 20:53:11 b352a97aabf1: Waiting 20:53:11 eaf3925da568: Waiting 20:53:11 4872d77fe225: Waiting 20:53:11 5851b861e8e6: Waiting 20:53:11 e2be974225ed: Verifying Checksum 20:53:11 e2be974225ed: Download complete 20:53:11 988bab9f4d93: Verifying Checksum 20:53:11 988bab9f4d93: Download complete 20:53:11 1469e6f7b9e6: Verifying Checksum 20:53:11 1469e6f7b9e6: Download complete 20:53:11 339a4e72a1f5: Verifying Checksum 20:53:11 339a4e72a1f5: Download complete 20:53:11 eaf3925da568: Verifying Checksum 20:53:11 eaf3925da568: Download complete 20:53:11 bde34c3a00c8: Download complete 20:53:11 b352a97aabf1: Download complete 20:53:11 4872d77fe225: Verifying Checksum 20:53:11 4872d77fe225: Download complete 20:53:11 5851b861e8e6: Verifying Checksum 20:53:11 5851b861e8e6: Download complete 20:53:11 b85a868b505f: Verifying Checksum 20:53:11 b85a868b505f: Download complete 20:53:11 bab4dde63d76: Verifying Checksum 20:53:11 bab4dde63d76: Download complete 20:53:12 b85a868b505f: Pull complete 20:53:12 e2be974225ed: Pull complete 20:53:13 339a4e72a1f5: Pull complete 20:53:13 988bab9f4d93: Pull complete 20:53:13 1469e6f7b9e6: Pull complete 20:53:13 eaf3925da568: Pull complete 20:53:15 bab4dde63d76: Pull complete 20:53:15 bde34c3a00c8: Pull complete 20:53:15 b352a97aabf1: Pull complete 20:53:15 4872d77fe225: Pull complete 20:53:15 5851b861e8e6: Pull complete 20:53:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:53:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:15 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 20:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:17 $ docker top afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 -eo pid,comm 20:53:17 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). 20:53:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:17 [ssh-agent] Looking for ssh-agent implementation... 20:53:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:17 $ docker exec afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent 20:53:17 SSH_AUTH_SOCK=/tmp/ssh-vFmvBpz9wWYo/agent.33 20:53:17 SSH_AGENT_PID=39 20:53:17 Running ssh-add (command line suppressed) 20:53:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15863716719105713479.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15863716719105713479.key) 20:53:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:18 + git tag --points-at HEAD [Pipeline] } 20:53:18 $ docker exec --env ******** --env ******** afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent -k 20:53:18 unset SSH_AUTH_SOCK; 20:53:18 unset SSH_AGENT_PID; 20:53:18 echo Agent pid 39 killed; 20:53:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:53:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:18 [ssh-agent] Looking for ssh-agent implementation... 20:53:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:18 $ docker exec afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent 20:53:18 SSH_AUTH_SOCK=/tmp/ssh-oxHqzKGzyDUb/agent.71 20:53:18 SSH_AGENT_PID=77 20:53:18 Running ssh-add (command line suppressed) 20:53:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10633505604376569491.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10633505604376569491.key) 20:53:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:18 + git semver init 20:53:19 2023-03-28 20:53:19,166 [run_init] DEBUG init version:0.0.0 force:False 20:53:19 2023-03-28 20:53:19,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 20:53:19 2023-03-28 20:53:19,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 20:53:19 2023-03-28 20:53:19,170 [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) 20:53:20 2023-03-28 20:53:19,958 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 20:53:20 2023-03-28 20:53:19,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 20:53:20 2023-03-28 20:53:19,959 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:20 2023-03-28 20:53:19,959 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 20:53:20 3.0.0-dev.23 [Pipeline] } 20:53:20 $ docker exec --env ******** --env ******** afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 ssh-agent -k 20:53:20 unset SSH_AUTH_SOCK; 20:53:20 unset SSH_AGENT_PID; 20:53:20 echo Agent pid 77 killed; 20:53:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:20 + git semver [Pipeline] } 20:53:20 $ docker stop --time=1 afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 20:53:22 $ docker rm -f --volumes afefb2e3d2f20c9a2e05ef54cb9daeb9aa2974301e50806023a7f31191adbd97 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:53:22 Stashed 1 file(s) [Pipeline] echo 20:53:22 [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [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 20:53:22 provisioning config files... 20:53:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6766225962147146739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:23 ---> docker-login.sh 20:53:23 nexus3.edgexfoundry.org:10001 20:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:23 Configure a credential helper to remove this warning. See 20:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:23 20:53:23 Login Succeeded 20:53:23 nexus3.edgexfoundry.org:10002 20:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:23 Configure a credential helper to remove this warning. See 20:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:23 20:53:23 Login Succeeded 20:53:23 nexus3.edgexfoundry.org:10003 20:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:23 Configure a credential helper to remove this warning. See 20:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:23 20:53:23 Login Succeeded 20:53:23 nexus3.edgexfoundry.org:10004 20:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:23 Configure a credential helper to remove this warning. See 20:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:23 20:53:23 Login Succeeded 20:53:23 docker.io 20:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:23 Configure a credential helper to remove this warning. See 20:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:23 20:53:23 Login Succeeded 20:53:23 ---> docker-login.sh ends [Pipeline] } 20:53:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:23 ========================================================= 20:53:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:53:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + 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 . 20:53:24 Sending build context to Docker daemon 6.402MB 20:53:24 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:53:24 Step 2/10 : FROM ${BASE} AS builder 20:53:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:53:24 63b65145d645: Pulling fs layer 20:53:24 a2d21d5440eb: Pulling fs layer 20:53:24 935e6c44a52c: Pulling fs layer 20:53:24 94cc34f8dd06: Pulling fs layer 20:53:24 30dea6a524f1: Pulling fs layer 20:53:24 a2aff8979fd8: Pulling fs layer 20:53:24 6808be2612f2: Pulling fs layer 20:53:24 f25807f1079a: Pulling fs layer 20:53:24 94cc34f8dd06: Waiting 20:53:24 f25807f1079a: Waiting 20:53:24 6808be2612f2: Waiting 20:53:24 30dea6a524f1: Waiting 20:53:24 a2d21d5440eb: Download complete 20:53:24 94cc34f8dd06: Verifying Checksum 20:53:24 94cc34f8dd06: Download complete 20:53:24 30dea6a524f1: Verifying Checksum 20:53:24 30dea6a524f1: Download complete 20:53:24 63b65145d645: Verifying Checksum 20:53:24 63b65145d645: Download complete 20:53:24 a2aff8979fd8: Verifying Checksum 20:53:24 a2aff8979fd8: Download complete 20:53:24 63b65145d645: Pull complete 20:53:24 a2d21d5440eb: Pull complete 20:53:24 f25807f1079a: Verifying Checksum 20:53:24 f25807f1079a: Download complete 20:53:24 935e6c44a52c: Verifying Checksum 20:53:24 935e6c44a52c: Download complete 20:53:24 6808be2612f2: Verifying Checksum 20:53:24 6808be2612f2: Download complete 20:53:28 935e6c44a52c: Pull complete 20:53:28 94cc34f8dd06: Pull complete 20:53:28 30dea6a524f1: Pull complete 20:53:28 a2aff8979fd8: Pull complete 20:53:30 6808be2612f2: Pull complete 20:53:31 f25807f1079a: Pull complete 20:53:31 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:53:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:53:31 ---> 3b553350e43f 20:53:31 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:53:32 ---> Running in 8df94489ec19 20:53:32 Removing intermediate container 8df94489ec19 20:53:32 ---> 959e30a7204e 20:53:32 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:32 ---> Running in 542ae0605321 20:53:32 Removing intermediate container 542ae0605321 20:53:32 ---> 12b3dd626acd 20:53:32 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:53:32 ---> Running in 357da29c57c8 20:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:53:33 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:53:33 (2/8) Installing libedit (20221030.3.1-r0) 20:53:33 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:53:33 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:53:33 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:53:33 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:53:33 (7/8) Installing openssh-server (9.1_p1-r2) 20:53:33 (8/8) Installing openssh (9.1_p1-r2) 20:53:33 Executing busybox-1.35.0-r29.trigger 20:53:33 OK: 270 MiB in 61 packages 20:53:34 Removing intermediate container 357da29c57c8 20:53:34 ---> d6d0e569f8c1 20:53:34 Step 6/10 : WORKDIR /device-modbus-go 20:53:34 ---> Running in 063b5ff85539 20:53:34 Removing intermediate container 063b5ff85539 20:53:34 ---> 8f03a47a9b41 20:53:34 Step 7/10 : COPY go.mod vendor* ./ 20:53:34 ---> dd7029538f5a 20:53:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:34 ---> Running in ab6b3e254c98 20:53:37 Still waiting to schedule task 20:53:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6107’ is offline 20:53:56 Removing intermediate container ab6b3e254c98 20:53:56 ---> 827aafb5ed3f 20:53:56 Step 9/10 : COPY . . 20:53:56 ---> afcaad78d68d 20:53:56 Step 10/10 : RUN ${MAKE} 20:53:56 ---> Running in e1f23d27f299 20:53:56 noop 20:53:56 Removing intermediate container e1f23d27f299 20:53:56 ---> 2eb480c1706f 20:53:56 Successfully built 2eb480c1706f 20:53:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:56 + docker inspect -f . ci-base-image-x86_64 20:53:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:56 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 20:53:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:53:57 $ docker top bb5b83dcea92a121c0335bba3e63d65313f9f624758b24c6337a818d5d3fb2cd -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:57 + go version 20:53:57 go version go1.20.2 linux/amd64 [Pipeline] } 20:53:57 $ docker stop --time=1 bb5b83dcea92a121c0335bba3e63d65313f9f624758b24c6337a818d5d3fb2cd 20:53:58 $ docker rm -f --volumes bb5b83dcea92a121c0335bba3e63d65313f9f624758b24c6337a818d5d3fb2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:59 + docker inspect -f . ci-base-image-x86_64 20:53:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:59 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 20:53:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:53:59 $ docker top 2865e457cb38c99c44b3c084adf4faf12edc0873b8545c7042b8c0f38e8bbde7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:59 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 20:54:00 + make test 20:54:00 go test ./... -coverprofile=coverage.out 20:54:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:54:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:54:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 20:54:19 go vet ./... 20:54:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:22 ./bin/test-attribution-txt.sh [Pipeline] echo 20:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:54:22 $ docker stop --time=1 2865e457cb38c99c44b3c084adf4faf12edc0873b8545c7042b8c0f38e8bbde7 20:54:24 $ docker rm -f --volumes 2865e457cb38c99c44b3c084adf4faf12edc0873b8545c7042b8c0f38e8bbde7 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:54:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:26 + ls -al . 20:54:26 total 180 20:54:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:54 . 20:54:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:53 .. 20:54:26 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:53 .dockerignore 20:54:26 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:53 .git 20:54:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:53 .github 20:54:26 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:53 .gitignore 20:54:26 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:53 .golangci.yml 20:54:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:53 .semver 20:54:26 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:53 Attribution.txt 20:54:26 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:53 CHANGELOG.md 20:54:26 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:53 Dockerfile 20:54:26 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:53 GOVERNANCE.md 20:54:26 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:53 Jenkinsfile 20:54:26 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:53 LICENSE 20:54:26 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:53 Makefile 20:54:26 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:53 OWNERS.md 20:54:26 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:53 README.md 20:54:26 -rw-rw-r-- 1 jenkins jenkins 12 Mar 28 20:53 VERSION 20:54:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:53 bin 20:54:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:53 cmd 20:54:26 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 20:54 coverage.out 20:54:26 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:53 go.mod 20:54:26 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:53 go.sum 20:54:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:53 internal 20:54:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:53 simulator 20:54:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:53 snap 20:54:26 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:26 + 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=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 --label arch=amd64 --label version=3.0.0-dev.23 . 20:54:26 Sending build context to Docker daemon 6.427MB 20:54:26 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:54:26 Step 2/22 : FROM ${BASE} AS builder 20:54:26 ---> 2eb480c1706f 20:54:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:54:26 ---> Running in 0632d55fdd99 20:54:26 Removing intermediate container 0632d55fdd99 20:54:26 ---> b8ad30053af4 20:54:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:26 ---> Running in da9f998f372b 20:54:27 Removing intermediate container da9f998f372b 20:54:27 ---> 1454e32e978a 20:54:27 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:54:27 ---> Running in b9fd51df2a93 20:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:54:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:54:28 OK: 270 MiB in 61 packages 20:54:28 Removing intermediate container b9fd51df2a93 20:54:28 ---> 28ed489839e0 20:54:28 Step 6/22 : WORKDIR /device-modbus-go 20:54:28 ---> Running in 43785e1d9268 20:54:28 Removing intermediate container 43785e1d9268 20:54:28 ---> 8c9019b074f2 20:54:28 Step 7/22 : COPY go.mod vendor* ./ 20:54:28 ---> 19697e019cbd 20:54:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:28 ---> Running in 02c3452b55a0 20:54:29 Removing intermediate container 02c3452b55a0 20:54:29 ---> 3a4e555d2ddc 20:54:29 Step 9/22 : COPY . . 20:54:29 ---> cecd545d3585 20:54:29 Step 10/22 : RUN ${MAKE} 20:54:29 ---> Running in bbd0685681dc 20:54:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:54:48 Removing intermediate container bbd0685681dc 20:54:48 ---> 0cd7732ad80a 20:54:48 Step 11/22 : FROM alpine:3.17 20:54:48 3.17: Pulling from library/alpine 20:54:48 63b65145d645: Already exists 20:54:48 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:54:48 Status: Downloaded newer image for alpine:3.17 20:54:48 ---> b2aa39c304c2 20:54:48 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:54:48 ---> Running in f5b977f61928 20:54:48 Removing intermediate container f5b977f61928 20:54:48 ---> 701d24e3166d 20:54:48 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:54:48 ---> Running in 294be5a04d86 20:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:54:48 (1/1) Installing dumb-init (1.2.5-r2) 20:54:48 Executing busybox-1.35.0-r29.trigger 20:54:48 OK: 7 MiB in 16 packages 20:54:48 Removing intermediate container 294be5a04d86 20:54:48 ---> bb602b72831b 20:54:48 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:54:48 ---> c94f728d5300 20:54:48 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:54:49 ---> f3c819b2d726 20:54:49 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:54:49 ---> 311ef35d4cc1 20:54:49 Step 17/22 : EXPOSE 59901 20:54:49 ---> Running in c457839eaff8 20:54:49 Removing intermediate container c457839eaff8 20:54:49 ---> a528cff126fd 20:54:49 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:54:49 ---> Running in c31450cb87ef 20:54:49 Removing intermediate container c31450cb87ef 20:54:49 ---> 51e34656e5d3 20:54:49 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:54:49 ---> Running in 4133e2606e45 20:54:49 Removing intermediate container 4133e2606e45 20:54:49 ---> 1b04f41b0ea6 20:54:49 Step 20/22 : LABEL arch=amd64 20:54:49 ---> Running in 9a1c284a625b 20:54:49 Removing intermediate container 9a1c284a625b 20:54:49 ---> 0da0b4e40c95 20:54:49 Step 21/22 : LABEL git_sha=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 20:54:49 ---> Running in 70443d55ed80 20:54:49 Removing intermediate container 70443d55ed80 20:54:49 ---> eafe98fba188 20:54:49 Step 22/22 : LABEL version=3.0.0-dev.23 20:54:49 ---> Running in abee41700061 20:54:49 Removing intermediate container abee41700061 20:54:49 ---> 7daa766b3b9f 20:54:49 [Warning] One or more build-args [ARCH] were not consumed 20:54:49 Successfully built 7daa766b3b9f 20:54:49 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:50 provisioning config files... 20:54:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7601889985400328496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:50 ---> docker-login.sh 20:54:50 nexus3.edgexfoundry.org:10001 20:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:50 Configure a credential helper to remove this warning. See 20:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:50 20:54:50 Login Succeeded 20:54:50 nexus3.edgexfoundry.org:10002 20:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:50 Configure a credential helper to remove this warning. See 20:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:50 20:54:50 Login Succeeded 20:54:50 nexus3.edgexfoundry.org:10003 20:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:50 Configure a credential helper to remove this warning. See 20:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:50 20:54:50 Login Succeeded 20:54:50 nexus3.edgexfoundry.org:10004 20:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:50 Configure a credential helper to remove this warning. See 20:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:50 20:54:50 Login Succeeded 20:54:50 docker.io 20:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:50 Configure a credential helper to remove this warning. See 20:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:50 20:54:50 Login Succeeded 20:54:50 ---> docker-login.sh ends [Pipeline] } 20:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:50 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 20:54:50 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 20:54:50 latest 20:54:50 3.0.0-dev.23 20:54:50 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 20:54:50 main 20:54:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 20:54:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:54:51 1a96cad42047: Preparing 20:54:51 4015ae3829ae: Preparing 20:54:51 95559758e9b1: Preparing 20:54:51 025efcd7a802: Preparing 20:54:51 7cd52847ad77: Preparing 20:54:51 7cd52847ad77: Layer already exists 20:54:51 4015ae3829ae: Pushed 20:54:51 025efcd7a802: Pushed 20:54:51 1a96cad42047: Pushed 20:54:54 95559758e9b1: Pushed 20:54:54 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:54 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 20:54:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:54:54 1a96cad42047: Preparing 20:54:54 4015ae3829ae: Preparing 20:54:54 95559758e9b1: Preparing 20:54:54 025efcd7a802: Preparing 20:54:54 7cd52847ad77: Preparing 20:54:54 4015ae3829ae: Layer already exists 20:54:54 7cd52847ad77: Layer already exists 20:54:54 1a96cad42047: Layer already exists 20:54:54 95559758e9b1: Layer already exists 20:54:54 025efcd7a802: Layer already exists 20:54:54 latest: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.23 20:54:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:54:55 1a96cad42047: Preparing 20:54:55 4015ae3829ae: Preparing 20:54:55 95559758e9b1: Preparing 20:54:55 025efcd7a802: Preparing 20:54:55 7cd52847ad77: Preparing 20:54:55 1a96cad42047: Layer already exists 20:54:55 95559758e9b1: Layer already exists 20:54:55 7cd52847ad77: Layer already exists 20:54:55 4015ae3829ae: Layer already exists 20:54:55 025efcd7a802: Layer already exists 20:54:55 3.0.0-dev.23: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 20:54:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:54:55 1a96cad42047: Preparing 20:54:55 4015ae3829ae: Preparing 20:54:55 95559758e9b1: Preparing 20:54:55 025efcd7a802: Preparing 20:54:55 7cd52847ad77: Preparing 20:54:55 7cd52847ad77: Layer already exists 20:54:55 025efcd7a802: Layer already exists 20:54:55 95559758e9b1: Layer already exists 20:54:55 4015ae3829ae: Layer already exists 20:54:55 1a96cad42047: Layer already exists 20:54:55 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:56 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 20:54:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 20:54:56 1a96cad42047: Preparing 20:54:56 4015ae3829ae: Preparing 20:54:56 95559758e9b1: Preparing 20:54:56 025efcd7a802: Preparing 20:54:56 7cd52847ad77: Preparing 20:54:56 95559758e9b1: Layer already exists 20:54:56 025efcd7a802: Layer already exists 20:54:56 1a96cad42047: Layer already exists 20:54:56 4015ae3829ae: Layer already exists 20:54:56 7cd52847ad77: Layer already exists 20:54:56 main: digest: sha256:dd61b8804e4dba8a588d001368e8f19908b3fa07edaa096b2b5e626af051a365 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:56 ===================================================== [Pipeline] echo 20:54:56 taggedImages: 20:54:56 - nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 20:54:56 - nexus3.edgexfoundry.org:10004/device-modbus:latest 20:54:56 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.23 20:54:56 - nexus3.edgexfoundry.org:10004/device-modbus:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 20:54:56 - 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 20:54:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:56 20:54:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:57 latest: Pulling from edgex-lftools-log-publisher 20:54:57 5eb5b503b376: Pulling fs layer 20:54:57 5c69ac0246d0: Pulling fs layer 20:54:57 ec43610c2a17: Pulling fs layer 20:54:57 3a2ae6a8a46f: Pulling fs layer 20:54:57 33b1e0a273af: Pulling fs layer 20:54:57 5d3b04190fa2: Pulling fs layer 20:54:57 2f39f015ded8: Pulling fs layer 20:54:57 5d3b04190fa2: Waiting 20:54:57 3a2ae6a8a46f: Waiting 20:54:57 33b1e0a273af: Waiting 20:54:57 2f39f015ded8: Waiting 20:54:57 5c69ac0246d0: Verifying Checksum 20:54:57 5c69ac0246d0: Download complete 20:54:57 3a2ae6a8a46f: Verifying Checksum 20:54:57 3a2ae6a8a46f: Download complete 20:54:57 33b1e0a273af: Verifying Checksum 20:54:57 33b1e0a273af: Download complete 20:54:57 5d3b04190fa2: Verifying Checksum 20:54:57 5d3b04190fa2: Download complete 20:54:57 ec43610c2a17: Verifying Checksum 20:54:57 5eb5b503b376: Verifying Checksum 20:54:57 5eb5b503b376: Download complete 20:54:58 2f39f015ded8: Download complete 20:54:58 5eb5b503b376: Pull complete 20:54:58 5c69ac0246d0: Pull complete 20:54:59 ec43610c2a17: Pull complete 20:54:59 3a2ae6a8a46f: Pull complete 20:54:59 33b1e0a273af: Pull complete 20:54:59 5d3b04190fa2: Pull complete 20:55:03 2f39f015ded8: Pull complete 20:55:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:55:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:03 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 20:55:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:55:05 $ docker top 3b82ca7df8d29de2cb5281454d2d7c895fd8c0e3a545edbce84cb924f288f27d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:06 ---> job-cost.sh 20:55:06 lf-activate-venv: SKIPPING 20:55:06 INFO: No Stack... 20:55:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:55:06 INFO: Archiving Costs [Pipeline] sh 20:55:06 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 20:55:06 + cut -d, -f6 [Pipeline] lock 20:55:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] 20:55:06 Resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] did not exist. Created. 20:55:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:07 + echo total: 0.2199999988079071 [Pipeline] stash 20:55:07 Stashed 1 file(s) [Pipeline] } 20:55:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 20:55:07 $ docker stop --time=1 3b82ca7df8d29de2cb5281454d2d7c895fd8c0e3a545edbce84cb924f288f27d 20:55:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6119 in /w/workspace/gexfoundry_device-modbus-go_main 20:55:08 $ docker rm -f --volumes 3b82ca7df8d29de2cb5281454d2d7c895fd8c0e3a545edbce84cb924f288f27d [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 20:55:08 Running in /w/workspace/device-modbus-go/89 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:55:08 Selected Git installation does not exist. Using Default 20:55:08 The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } 20:55:14 using credential edgex-jenkins-ssh 20:55:14 Cloning the remote Git repository 20:55:14 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:55:14 > git init /w/workspace/device-modbus-go/89 # timeout=10 20:55:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:55:14 > git --version # timeout=10 20:55:14 > git --version # 'git version 2.25.1' 20:55:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:55:16 Avoid second fetch 20:55:16 Checking out Revision 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (main) 20:55:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:16 > git config core.sparsecheckout # timeout=10 20:55:16 > git checkout -f 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 20:55:17 Commit message: "refactor!: Change configuration and devices files format to YAML (#445)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:55:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:18 Dload Upload Total Spent Left Speed 20:55:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 20:55:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:55:19 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 20:55:19 20:55:19 { 20:55:19 "registry-mirrors": [ 20:55:19 "https://nexus3.edgexfoundry.org:10001" 20:55:19 ], 20:55:19 "bip": "10.250.0.254/24", 20:55:19 "hosts": [ 20:55:19 "tcp://0.0.0.0:5555", 20:55:19 "unix:///var/run/docker.sock" 20:55:19 ], 20:55:19 "mtu": 1458, 20:55:19 "selinux-enabled": true, 20:55:19 "seccomp-profile": "/etc/docker/seccomp.json" 20:55:19 } [Pipeline] sh 20:55:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:55:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:38 provisioning config files... 20:55:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/89@tmp/config2377495198895258345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:38 ---> docker-login.sh 20:55:38 nexus3.edgexfoundry.org:10001 20:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:39 Configure a credential helper to remove this warning. See 20:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:39 20:55:39 Login Succeeded 20:55:39 nexus3.edgexfoundry.org:10002 20:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:39 Configure a credential helper to remove this warning. See 20:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:39 20:55:39 Login Succeeded 20:55:39 nexus3.edgexfoundry.org:10003 20:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:39 Configure a credential helper to remove this warning. See 20:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:39 20:55:39 Login Succeeded 20:55:39 nexus3.edgexfoundry.org:10004 20:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:40 Configure a credential helper to remove this warning. See 20:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:40 20:55:40 Login Succeeded 20:55:40 docker.io 20:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:40 Configure a credential helper to remove this warning. See 20:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:40 20:55:40 Login Succeeded 20:55:40 ---> docker-login.sh ends [Pipeline] } 20:55:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:40 ========================================================= 20:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:55:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:41 + 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 . 20:55:41 Sending build context to Docker daemon 3.34MB 20:55:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:55:41 Step 2/10 : FROM ${BASE} AS builder 20:55:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:41 af6eaf76a39c: Pulling fs layer 20:55:41 55522c791124: Pulling fs layer 20:55:41 ce5c4a1c91eb: Pulling fs layer 20:55:41 169dfbe0d373: Pulling fs layer 20:55:41 e1ff8fa3b103: Pulling fs layer 20:55:41 52ebb69f0ebf: Pulling fs layer 20:55:41 5abe8eddf0d5: Pulling fs layer 20:55:41 169dfbe0d373: Waiting 20:55:41 e1ff8fa3b103: Waiting 20:55:41 52ebb69f0ebf: Waiting 20:55:41 5abe8eddf0d5: Waiting 20:55:41 55522c791124: Download complete 20:55:41 169dfbe0d373: Verifying Checksum 20:55:41 169dfbe0d373: Download complete 20:55:41 e1ff8fa3b103: Verifying Checksum 20:55:41 e1ff8fa3b103: Download complete 20:55:41 af6eaf76a39c: Download complete 20:55:42 af6eaf76a39c: Pull complete 20:55:43 5abe8eddf0d5: Verifying Checksum 20:55:43 5abe8eddf0d5: Download complete 20:55:43 55522c791124: Pull complete 20:55:44 ce5c4a1c91eb: Verifying Checksum 20:55:44 ce5c4a1c91eb: Download complete 20:55:44 52ebb69f0ebf: Verifying Checksum 20:55:44 52ebb69f0ebf: Download complete 20:55:57 ce5c4a1c91eb: Pull complete 20:55:57 169dfbe0d373: Pull complete 20:55:57 e1ff8fa3b103: Pull complete 20:56:03 52ebb69f0ebf: Pull complete 20:56:06 5abe8eddf0d5: Pull complete 20:56:06 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:56:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:56:06 ---> 6cb57ee374ae 20:56:06 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:56:08 ---> Running in d9490a1b5c1b 20:56:08 Removing intermediate container d9490a1b5c1b 20:56:08 ---> 48c719e06e8f 20:56:08 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:08 ---> Running in fe9e48377137 20:56:08 Removing intermediate container fe9e48377137 20:56:08 ---> 3071d2bd2a22 20:56:08 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:56:08 ---> Running in 944bb1017a01 20:56:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:56:11 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:56:11 (2/8) Installing libedit (20221030.3.1-r0) 20:56:11 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:56:11 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:56:11 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:56:11 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:56:11 (7/8) Installing openssh-server (9.1_p1-r2) 20:56:11 (8/8) Installing openssh (9.1_p1-r2) 20:56:11 Executing busybox-1.35.0-r29.trigger 20:56:11 OK: 270 MiB in 61 packages 20:56:13 Removing intermediate container 944bb1017a01 20:56:13 ---> 1fcce8c9bf6b 20:56:13 Step 6/10 : WORKDIR /device-modbus-go 20:56:13 ---> Running in 932110d84153 20:56:13 Removing intermediate container 932110d84153 20:56:13 ---> 571f4a317384 20:56:13 Step 7/10 : COPY go.mod vendor* ./ 20:56:14 ---> 371eb5dc5fbd 20:56:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:14 ---> Running in f1a2d4ee6e29 20:57:22 Removing intermediate container f1a2d4ee6e29 20:57:22 ---> 770997151eb9 20:57:22 Step 9/10 : COPY . . 20:57:22 ---> 5449fe71b8c7 20:57:22 Step 10/10 : RUN ${MAKE} 20:57:22 ---> Running in 3e2bd4e2bfca 20:57:22 noop 20:57:22 Removing intermediate container 3e2bd4e2bfca 20:57:22 ---> 5260e203baa2 20:57:22 Successfully built 5260e203baa2 20:57:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:22 + docker inspect -f . ci-base-image-arm64 20:57:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:22 prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container 20:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/89 -v /w/workspace/device-modbus-go/89:/w/workspace/device-modbus-go/89:rw,z -v /w/workspace/device-modbus-go/89@tmp:/w/workspace/device-modbus-go/89@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 20:57:23 $ docker top 5ec581f31a2111084d96a65d04b854131a2ec010615bca13b3557e159c32e58b -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:24 + go version 20:57:24 go version go1.20.2 linux/arm64 [Pipeline] } 20:57:24 $ docker stop --time=1 5ec581f31a2111084d96a65d04b854131a2ec010615bca13b3557e159c32e58b 20:57:26 $ docker rm -f --volumes 5ec581f31a2111084d96a65d04b854131a2ec010615bca13b3557e159c32e58b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:26 + docker inspect -f . ci-base-image-arm64 20:57:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:26 prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container 20:57:27 $ 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/89 -v /w/workspace/device-modbus-go/89:/w/workspace/device-modbus-go/89:rw,z -v /w/workspace/device-modbus-go/89@tmp:/w/workspace/device-modbus-go/89@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 20:57:28 $ docker top 06a2da9137ccbdb21e0ebe057d1ebc905eb1a44a7ad2b55e99f46a4f8feb0855 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:28 + git config --global --add safe.directory /w/workspace/device-modbus-go/89 [Pipeline] fileExists [Pipeline] sh 20:57:29 + make test 20:57:29 go test ./... -coverprofile=coverage.out 20:58:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:00:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:00:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 48.0% of statements 21:00:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:00:14 go vet ./... 21:00:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:53 $ docker stop --time=1 06a2da9137ccbdb21e0ebe057d1ebc905eb1a44a7ad2b55e99f46a4f8feb0855 21:00:55 $ docker rm -f --volumes 06a2da9137ccbdb21e0ebe057d1ebc905eb1a44a7ad2b55e99f46a4f8feb0855 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:56 Warning: overwriting stash ‘coverage-report’ 21:00:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:58 + ls -al . 21:00:58 total 176 21:00:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:57 . 21:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:55 .. 21:00:58 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:55 .dockerignore 21:00:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:55 .git 21:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:55 .github 21:00:58 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:55 .gitignore 21:00:58 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:55 .golangci.yml 21:00:58 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:55 Attribution.txt 21:00:58 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:55 CHANGELOG.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:55 Dockerfile 21:00:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:55 GOVERNANCE.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:55 Jenkinsfile 21:00:58 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:55 LICENSE 21:00:58 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:55 Makefile 21:00:58 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:55 OWNERS.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:55 README.md 21:00:58 -rw-rw-r-- 1 jenkins jenkins 12 Mar 28 20:53 VERSION 21:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:55 bin 21:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:55 cmd 21:00:58 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 21:00 coverage.out 21:00:58 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:55 go.mod 21:00:58 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:55 go.sum 21:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:55 internal 21:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:55 simulator 21:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:55 snap 21:00:58 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:58 + 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=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 --label arch=arm64 --label version=3.0.0-dev.23 . 21:00:58 Sending build context to Docker daemon 3.365MB 21:00:58 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:00:58 Step 2/22 : FROM ${BASE} AS builder 21:00:58 ---> 5260e203baa2 21:00:58 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:00:58 ---> Running in c779f9018261 21:00:59 Removing intermediate container c779f9018261 21:00:59 ---> 0c0001ad4463 21:00:59 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:59 ---> Running in 505bd2a61863 21:00:59 Removing intermediate container 505bd2a61863 21:00:59 ---> 2a4840d20638 21:00:59 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:00:59 ---> Running in 7efac26afe12 21:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:02 OK: 270 MiB in 61 packages 21:01:03 Removing intermediate container 7efac26afe12 21:01:03 ---> 4dffd783232e 21:01:03 Step 6/22 : WORKDIR /device-modbus-go 21:01:03 ---> Running in bff78ffbf584 21:01:03 Removing intermediate container bff78ffbf584 21:01:03 ---> f4ca3f7ecc04 21:01:03 Step 7/22 : COPY go.mod vendor* ./ 21:01:03 ---> 61693ef1aede 21:01:03 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:03 ---> Running in 15bf62fc714e 21:01:06 Removing intermediate container 15bf62fc714e 21:01:06 ---> 1c5a27e99c3e 21:01:06 Step 9/22 : COPY . . 21:01:08 ---> 8730ed8173b0 21:01:08 Step 10/22 : RUN ${MAKE} 21:01:08 ---> Running in 86b3c4c558e6 21:01:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:03:45 Removing intermediate container 86b3c4c558e6 21:03:45 ---> 9c47267bcde6 21:03:45 Step 11/22 : FROM alpine:3.17 21:03:45 3.17: Pulling from library/alpine 21:03:45 af6eaf76a39c: Already exists 21:03:45 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:03:45 Status: Downloaded newer image for alpine:3.17 21:03:45 ---> d74e625d9115 21:03:45 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:03:45 ---> Running in 5542408028a7 21:03:45 Removing intermediate container 5542408028a7 21:03:45 ---> 54df1048f600 21:03:45 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:03:45 ---> Running in fa6409c97cc7 21:03:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:03:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:03:45 (1/1) Installing dumb-init (1.2.5-r2) 21:03:45 Executing busybox-1.35.0-r29.trigger 21:03:45 OK: 8 MiB in 16 packages 21:03:45 Removing intermediate container fa6409c97cc7 21:03:45 ---> 5fdf4fa77039 21:03:45 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:03:46 ---> 8dda7d2c8623 21:03:46 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:03:47 ---> a20c689b54ca 21:03:47 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:03:47 ---> 386143d9c6c6 21:03:47 Step 17/22 : EXPOSE 59901 21:03:47 ---> Running in 6cb9b54636cd 21:03:48 Removing intermediate container 6cb9b54636cd 21:03:48 ---> ae6227937ae3 21:03:48 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:03:48 ---> Running in 3c7e69cbe164 21:03:48 Removing intermediate container 3c7e69cbe164 21:03:48 ---> ef92b9adc4e0 21:03:48 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:03:48 ---> Running in 4346c5d5ec8e 21:03:48 Removing intermediate container 4346c5d5ec8e 21:03:48 ---> d9636a10d65d 21:03:48 Step 20/22 : LABEL arch=arm64 21:03:49 ---> Running in 4ea21bbc6198 21:03:49 Removing intermediate container 4ea21bbc6198 21:03:49 ---> 3fdc3f4b28ac 21:03:49 Step 21/22 : LABEL git_sha=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 21:03:49 ---> Running in ea5923d6c0b1 21:03:49 Removing intermediate container ea5923d6c0b1 21:03:49 ---> 103922a851cb 21:03:49 Step 22/22 : LABEL version=3.0.0-dev.23 21:03:49 ---> Running in 51603e6489e6 21:03:50 Removing intermediate container 51603e6489e6 21:03:50 ---> 97bb34de41a0 21:03:50 [Warning] One or more build-args [ARCH] were not consumed 21:03:50 Successfully built 97bb34de41a0 21:03:50 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:03:50 provisioning config files... 21:03:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/89@tmp/config9390360293963465204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:50 ---> docker-login.sh 21:03:50 nexus3.edgexfoundry.org:10001 21:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:50 Configure a credential helper to remove this warning. See 21:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:50 21:03:50 Login Succeeded 21:03:50 nexus3.edgexfoundry.org:10002 21:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:51 Configure a credential helper to remove this warning. See 21:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:51 21:03:51 Login Succeeded 21:03:51 nexus3.edgexfoundry.org:10003 21:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:51 Configure a credential helper to remove this warning. See 21:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:51 21:03:51 Login Succeeded 21:03:51 nexus3.edgexfoundry.org:10004 21:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:52 Configure a credential helper to remove this warning. See 21:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:52 21:03:52 Login Succeeded 21:03:52 docker.io 21:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:52 Configure a credential helper to remove this warning. See 21:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:52 21:03:52 Login Succeeded 21:03:52 ---> docker-login.sh ends [Pipeline] } 21:03:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:03:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:52 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:03:52 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 21:03:52 latest 21:03:52 3.0.0-dev.23 21:03:52 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 21:03:52 main 21:03:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 21:03:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:03:53 93714dada01b: Preparing 21:03:53 82ca8b57d26f: Preparing 21:03:53 55a275cc4579: Preparing 21:03:53 53d09a7627cd: Preparing 21:03:53 edf70074bd40: Preparing 21:03:53 edf70074bd40: Layer already exists 21:03:53 82ca8b57d26f: Pushed 21:03:53 93714dada01b: Pushed 21:03:53 53d09a7627cd: Pushed 21:03:59 55a275cc4579: Pushed 21:03:59 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:04:00 93714dada01b: Preparing 21:04:00 82ca8b57d26f: Preparing 21:04:00 55a275cc4579: Preparing 21:04:00 53d09a7627cd: Preparing 21:04:00 edf70074bd40: Preparing 21:04:00 55a275cc4579: Layer already exists 21:04:00 93714dada01b: Layer already exists 21:04:00 82ca8b57d26f: Layer already exists 21:04:00 53d09a7627cd: Layer already exists 21:04:00 edf70074bd40: Layer already exists 21:04:00 latest: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.23 21:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:04:00 93714dada01b: Preparing 21:04:00 82ca8b57d26f: Preparing 21:04:00 55a275cc4579: Preparing 21:04:00 53d09a7627cd: Preparing 21:04:00 edf70074bd40: Preparing 21:04:01 edf70074bd40: Layer already exists 21:04:01 55a275cc4579: Layer already exists 21:04:01 82ca8b57d26f: Layer already exists 21:04:01 53d09a7627cd: Layer already exists 21:04:01 93714dada01b: Layer already exists 21:04:01 3.0.0-dev.23: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 21:04:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:04:01 93714dada01b: Preparing 21:04:01 82ca8b57d26f: Preparing 21:04:01 55a275cc4579: Preparing 21:04:01 53d09a7627cd: Preparing 21:04:01 edf70074bd40: Preparing 21:04:01 55a275cc4579: Layer already exists 21:04:01 53d09a7627cd: Layer already exists 21:04:01 82ca8b57d26f: Layer already exists 21:04:01 edf70074bd40: Layer already exists 21:04:01 93714dada01b: Layer already exists 21:04:01 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:04:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:04:02 93714dada01b: Preparing 21:04:02 82ca8b57d26f: Preparing 21:04:02 55a275cc4579: Preparing 21:04:02 53d09a7627cd: Preparing 21:04:02 edf70074bd40: Preparing 21:04:02 53d09a7627cd: Layer already exists 21:04:02 55a275cc4579: Layer already exists 21:04:02 82ca8b57d26f: Layer already exists 21:04:02 93714dada01b: Layer already exists 21:04:02 edf70074bd40: Layer already exists 21:04:02 main: digest: sha256:b04a5ab3b5a44eb10a67353e8a250d8228dc8b9fbe72184b593bd3f8cd439b2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:04:02 ===================================================== [Pipeline] echo 21:04:02 taggedImages: 21:04:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 21:04:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:04:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.23 21:04:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:053db68f2108a7cf22f6c86d4ad59a87daeaa2c9-3.0.0-dev.23 21:04:02 - 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:04:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:03 21:04:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:03 arm64: Pulling from edgex-lftools-log-publisher 21:04:03 8998bd30e6a1: Pulling fs layer 21:04:03 04944245beec: Pulling fs layer 21:04:03 699f458cf7ca: Pulling fs layer 21:04:03 765212b225bb: Pulling fs layer 21:04:03 f23df028b6ca: Pulling fs layer 21:04:03 d65c8cfc05b1: Pulling fs layer 21:04:03 2437ff75d9bd: Pulling fs layer 21:04:03 765212b225bb: Waiting 21:04:03 f23df028b6ca: Waiting 21:04:03 d65c8cfc05b1: Waiting 21:04:03 04944245beec: Verifying Checksum 21:04:03 04944245beec: Download complete 21:04:03 765212b225bb: Verifying Checksum 21:04:03 765212b225bb: Download complete 21:04:03 f23df028b6ca: Verifying Checksum 21:04:03 f23df028b6ca: Download complete 21:04:03 d65c8cfc05b1: Download complete 21:04:04 699f458cf7ca: Verifying Checksum 21:04:04 699f458cf7ca: Download complete 21:04:04 8998bd30e6a1: Download complete 21:04:06 2437ff75d9bd: Verifying Checksum 21:04:06 2437ff75d9bd: Download complete 21:04:08 8998bd30e6a1: Pull complete 21:04:08 04944245beec: Pull complete 21:04:10 699f458cf7ca: Pull complete 21:04:10 765212b225bb: Pull complete 21:04:11 f23df028b6ca: Pull complete 21:04:11 d65c8cfc05b1: Pull complete 21:04:26 2437ff75d9bd: Pull complete 21:04:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:26 prd-ubuntu20.04-docker-arm64-4c-16g-6119 does not seem to be running inside a container 21:04:26 $ 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/89 -v /w/workspace/device-modbus-go/89:/w/workspace/device-modbus-go/89:rw,z -v /w/workspace/device-modbus-go/89@tmp:/w/workspace/device-modbus-go/89@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:04:29 $ docker top f3018c79611ff0d4d8386425b0dc98ec4f17b597b3b31e2959c5f40d05bb0c12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:30 ---> job-cost.sh 21:04:30 lf-activate-venv: SKIPPING 21:04:30 INFO: No Stack... 21:04:30 INFO: Retrieving Pricing Info for: v3-standard-4 21:04:31 INFO: Archiving Costs [Pipeline] sh 21:04:32 + cat /w/workspace/device-modbus-go/89/archives/cost.csv 21:04:32 + cut -d, -f6 [Pipeline] lock 21:04:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] 21:04:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] did not exist. Created. 21:04:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:04:33 /w/workspace/device-modbus-go/89@tmp/durable-5547fd2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:04:33 + echo total: 0.10999999940395355 [Pipeline] stash 21:04:33 Warning: overwriting stash ‘stack-cost’ 21:04:33 Stashed 1 file(s) [Pipeline] } 21:04:34 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 21:04:34 $ docker stop --time=1 f3018c79611ff0d4d8386425b0dc98ec4f17b597b3b31e2959c5f40d05bb0c12 21:04:36 $ docker rm -f --volumes f3018c79611ff0d4d8386425b0dc98ec4f17b597b3b31e2959c5f40d05bb0c12 [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:04:36 provisioning config files... 21:04:36 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9936237910906776861tmp [Pipeline] { [Pipeline] sh 21:04:36 + set +x 21:04:36 + curl -s https://codecov.io/bash 21:04:36 + bash -s -- 21:04:36 21:04:36 _____ _ 21:04:36 / ____| | | 21:04:36 | | ___ __| | ___ ___ _____ __ 21:04:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:04:36 | |___| (_) | (_| | __/ (_| (_) \ V / 21:04:36 \_____\___/ \__,_|\___|\___\___/ \_/ 21:04:36 Bash-1.0.6 21:04:36 21:04:36 21:04:36 ==> git version 2.25.1 found 21:04:36 ==> 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:04:36 Release-Date: 2020-01-08 21:04:36 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:04:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:04:36 ==> Jenkins CI detected. 21:04:36 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 21:04:36 project root: . 21:04:36 --> token set from env 21:04:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:04:36 ==> Running gcov in . (disable via -X gcov) 21:04:36 ==> Python coveragepy not found 21:04:36 ==> Searching for coverage reports in: 21:04:36 + . 21:04:37 -> Found 1 reports 21:04:37 ==> Detecting git/mercurial file structure 21:04:37 ==> Reading reports 21:04:37 + ./coverage.out bytes=23739 21:04:37 ==> Appending adjustments 21:04:37 https://docs.codecov.io/docs/fixing-reports 21:04:37 + Found adjustments 21:04:37 ==> Gzipping contents 21:04:37 4.0K /tmp/codecov.okrz7l.gz 21:04:37 ==> Uploading reports 21:04:37 url: https://codecov.io 21:04:37 query: branch=main&commit=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:04:37 -> Pinging Codecov 21:04:37 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=053db68f2108a7cf22f6c86d4ad59a87daeaa2c9&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:04:37 -> Uploading to 21:04:37 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/053db68f2108a7cf22f6c86d4ad59a87daeaa2c9/db2dd92b-0afb-488f-956d-5545f8968cbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T210437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7931d017adb63f3bf79b56c9d76798118cb907a6075124401ee614d31ac8191d 21:04:37 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:37 Dload Upload Total Spent Left Speed 21:04:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 14911 --:--:-- --:--:-- --:--:-- 14854 100 3877 0 0 100 3877 0 14911 --:--:-- --:--:-- --:--:-- 14854 21:04:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] } 21:04:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:04:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:04:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:04:38 21:04:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:04:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:04:38 df9b9388f04a: Pulling fs layer 21:04:38 52dc419b0ee2: Pulling fs layer 21:04:38 25bc292e5bac: Pulling fs layer 21:04:38 114826534d7a: Pulling fs layer 21:04:38 4657fd5d0bcf: Pulling fs layer 21:04:38 6ad1cebc031e: Pulling fs layer 21:04:38 8a3aa393b2d8: Pulling fs layer 21:04:38 4657fd5d0bcf: Waiting 21:04:38 114826534d7a: Waiting 21:04:38 8a3aa393b2d8: Waiting 21:04:38 25bc292e5bac: Verifying Checksum 21:04:38 25bc292e5bac: Download complete 21:04:38 52dc419b0ee2: Verifying Checksum 21:04:38 52dc419b0ee2: Download complete 21:04:38 4657fd5d0bcf: Verifying Checksum 21:04:38 4657fd5d0bcf: Download complete 21:04:38 df9b9388f04a: Verifying Checksum 21:04:38 df9b9388f04a: Download complete 21:04:38 6ad1cebc031e: Verifying Checksum 21:04:38 6ad1cebc031e: Download complete 21:04:38 df9b9388f04a: Pull complete 21:04:38 52dc419b0ee2: Pull complete 21:04:38 25bc292e5bac: Pull complete 21:04:39 114826534d7a: Verifying Checksum 21:04:39 114826534d7a: Download complete 21:04:39 8a3aa393b2d8: Verifying Checksum 21:04:39 8a3aa393b2d8: Download complete 21:04:42 114826534d7a: Pull complete 21:04:42 4657fd5d0bcf: Pull complete 21:04:42 6ad1cebc031e: Pull complete 21:04:45 8a3aa393b2d8: Pull complete 21:04:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:04:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:45 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 21:04:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:04:47 $ docker top 4dc4f1ad0cd37ee53a5bb1813e36ee8e2add083539012ae3c1e6d05d0d9907c1 -eo pid,comm [Pipeline] { [Pipeline] echo 21:04:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 21:04:47 + set -o pipefail 21:04:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 21:04:54 21:04:54 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 21:04:54 21:04:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/44f8c41c-5143-47ef-b0b9-4b327e5832d8 21:04:54 21:04:54 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:04:54 21:04:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:04:54 21:04:57 21:04:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:04:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:04:57 More details here: https://snyk.co/ue1NS [Pipeline] } 21:04:57 $ docker stop --time=1 4dc4f1ad0cd37ee53a5bb1813e36ee8e2add083539012ae3c1e6d05d0d9907c1 21:04:59 $ docker rm -f --volumes 4dc4f1ad0cd37ee53a5bb1813e36ee8e2add083539012ae3c1e6d05d0d9907c1 [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:05:00 + git log --format=format:%s -1 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 [Pipeline] sh 21:05:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:00 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 21:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:05:01 $ docker top 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 -eo pid,comm 21:05:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:05:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:01 [ssh-agent] Looking for ssh-agent implementation... 21:05:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:01 $ docker exec 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 ssh-agent 21:05:01 SSH_AUTH_SOCK=/tmp/ssh-CapTGo2zN1HE/agent.32 21:05:01 SSH_AGENT_PID=38 21:05:01 Running ssh-add (command line suppressed) 21:05:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9333273548030253318.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9333273548030253318.key) 21:05:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:02 + git semver tag 21:05:02 2023-03-28 21:05:02,268 [run_tag] DEBUG tag force:False 21:05:02 2023-03-28 21:05:02,268 [check_head_tag] DEBUG check head tag 21:05:02 2023-03-28 21:05:02,269 [execute] INFO git cat-file --batch-check 21:05:02 2023-03-28 21:05:02,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:05:02 2023-03-28 21:05:02,272 [execute] INFO git cat-file --batch 21:05:02 2023-03-28 21:05:02,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:05:02 2023-03-28 21:05:02,294 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:02 2023-03-28 21:05:02,294 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 21:05:02 2023-03-28 21:05:02,294 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 21:05:02 2023-03-28 21:05:02,297 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:02 3.0.0-dev.23 [Pipeline] } 21:05:02 $ docker exec --env ******** --env ******** 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 ssh-agent -k 21:05:02 unset SSH_AUTH_SOCK; 21:05:02 unset SSH_AGENT_PID; 21:05:02 echo Agent pid 38 killed; 21:05:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:02 + git semver [Pipeline] } 21:05:03 $ docker stop --time=1 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 21:05:04 $ docker rm -f --volumes 298b18ef76acc1b5b1aa01a61f28300dd7aae736ea6f94a3cb297827a9d79c73 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:04 21:05:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:05 0.23.1-centos7: Pulling from edgex-lftools 21:05:05 ab5ef0e58194: Pulling fs layer 21:05:05 9712f1f96733: Pulling fs layer 21:05:05 63f879dbbcfc: Pulling fs layer 21:05:05 0d9ebad4ef96: Pulling fs layer 21:05:05 e9a5061849ea: Pulling fs layer 21:05:05 d747dcd14b5f: Pulling fs layer 21:05:05 2de7ff778b66: Pulling fs layer 21:05:05 d747dcd14b5f: Waiting 21:05:05 0d9ebad4ef96: Waiting 21:05:05 e9a5061849ea: Waiting 21:05:05 2de7ff778b66: Waiting 21:05:05 9712f1f96733: Verifying Checksum 21:05:05 9712f1f96733: Download complete 21:05:05 63f879dbbcfc: Verifying Checksum 21:05:05 63f879dbbcfc: Download complete 21:05:05 e9a5061849ea: Verifying Checksum 21:05:05 e9a5061849ea: Download complete 21:05:05 d747dcd14b5f: Verifying Checksum 21:05:05 d747dcd14b5f: Download complete 21:05:05 ab5ef0e58194: Verifying Checksum 21:05:05 ab5ef0e58194: Download complete 21:05:05 0d9ebad4ef96: Download complete 21:05:05 2de7ff778b66: Verifying Checksum 21:05:05 2de7ff778b66: Download complete 21:05:08 ab5ef0e58194: Pull complete 21:05:08 9712f1f96733: Pull complete 21:05:08 63f879dbbcfc: Pull complete 21:05:11 0d9ebad4ef96: Pull complete 21:05:12 e9a5061849ea: Pull complete 21:05:12 d747dcd14b5f: Pull complete 21:05:13 2de7ff778b66: Pull complete 21:05:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:13 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 21:05:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:05:15 $ docker top d6d911e08b96777a05515466f10740cd36c538d4a577639bd3447b38c6ec14ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:05:15 provisioning config files... 21:05:15 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12777470680202874986tmp 21:05:15 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17807565498508715017tmp 21:05:15 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14989037176125727702tmp [Pipeline] { [Pipeline] echo 21:05:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:05:15 ---> sigul-configuration.sh 21:05:15 gpg: directory `/root/.gnupg' created 21:05:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:05:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:05:15 gpg: keyring `/root/.gnupg/secring.gpg' created 21:05:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:05:15 gpg: CAST5 encrypted data 21:05:15 gpg: encrypted with 1 passphrase 21:05:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:05:15 + mkdir /home/jenkins 21:05:15 + mkdir /home/jenkins/sigul [Pipeline] sh 21:05:16 + 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:05:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:05:16 ---> sigul-install.sh 21:05:16 Sigul already installed; skipping installation. [Pipeline] sh 21:05:16 + git tag --list 21:05:16 0.7.1 21:05:16 v1.0.0 21:05:16 v1.1.0 21:05:16 v1.1.1 21:05:16 v1.2.2 21:05:16 v1.3.0 21:05:16 v1.3.1 21:05:16 v2.0.0 21:05:16 v2.1.0 21:05:16 v2.1.1 21:05:16 v2.1.1-dev.1 21:05:16 v2.1.1-dev.2 21:05:16 v2.1.1-dev.3 21:05:16 v2.2.0 21:05:16 v2.2.1-dev.1 21:05:16 v2.2.1-dev.2 21:05:16 v2.2.1-dev.3 21:05:16 v2.2.1-dev.4 21:05:16 v2.2.1-dev.5 21:05:16 v2.2.1-dev.6 21:05:16 v2.2.1-dev.7 21:05:16 v2.3.0 21:05:16 v2.3.0-dev.10 21:05:16 v2.3.0-dev.11 21:05:16 v2.3.0-dev.12 21:05:16 v2.3.0-dev.13 21:05:16 v2.3.0-dev.14 21:05:16 v2.3.0-dev.15 21:05:16 v2.3.0-dev.16 21:05:16 v2.3.0-dev.17 21:05:16 v2.3.0-dev.18 21:05:16 v2.3.0-dev.19 21:05:16 v2.3.0-dev.20 21:05:16 v2.3.0-dev.21 21:05:16 v2.3.0-dev.22 21:05:16 v2.3.0-dev.23 21:05:16 v2.3.0-dev.24 21:05:16 v2.3.0-dev.25 21:05:16 v2.3.0-dev.7 21:05:16 v2.3.0-dev.8 21:05:16 v2.3.0-dev.9 21:05:16 v3.0.0-dev.1 21:05:16 v3.0.0-dev.10 21:05:16 v3.0.0-dev.11 21:05:16 v3.0.0-dev.12 21:05:16 v3.0.0-dev.13 21:05:16 v3.0.0-dev.14 21:05:16 v3.0.0-dev.15 21:05:16 v3.0.0-dev.16 21:05:16 v3.0.0-dev.17 21:05:16 v3.0.0-dev.18 21:05:16 v3.0.0-dev.19 21:05:16 v3.0.0-dev.2 21:05:16 v3.0.0-dev.20 21:05:16 v3.0.0-dev.21 21:05:16 v3.0.0-dev.22 21:05:16 v3.0.0-dev.23 21:05:16 v3.0.0-dev.3 21:05:16 v3.0.0-dev.4 21:05:16 v3.0.0-dev.5 21:05:16 v3.0.0-dev.6 21:05:16 v3.0.0-dev.7 21:05:16 v3.0.0-dev.8 21:05:16 v3.0.0-dev.9 [Pipeline] sh 21:05:17 + lftools sign git-tag v3.0.0-dev.23 21:05:17 Signing Git tag with Sigul... 21:05:17 Signing v3.0.0-dev.23 [Pipeline] echo 21:05:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:05:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:05:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:05:18 $ docker stop --time=1 d6d911e08b96777a05515466f10740cd36c538d4a577639bd3447b38c6ec14ac 21:05:19 $ docker rm -f --volumes d6d911e08b96777a05515466f10740cd36c538d4a577639bd3447b38c6ec14ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:05:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:20 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 21:05: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:05:20 $ docker top 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:20 [ssh-agent] Looking for ssh-agent implementation... 21:05:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:20 $ docker exec 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 ssh-agent 21:05:20 SSH_AUTH_SOCK=/tmp/ssh-74TkjyfTHKv9/agent.32 21:05:20 SSH_AGENT_PID=38 21:05:20 Running ssh-add (command line suppressed) 21:05:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1482763903818925584.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1482763903818925584.key) 21:05:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:21 + git semver bump pre 21:05:21 2023-03-28 21:05:21,521 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:21 2023-03-28 21:05:21,522 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev 21:05:21 2023-03-28 21:05:21,522 [bump_version] DEBUG bumped version:3.0.0-dev.24 21:05:21 2023-03-28 21:05:21,522 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 21:05:21 2023-03-28 21:05:21,522 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:21 2023-03-28 21:05:21,522 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:21 2023-03-28 21:05:21,526 [execute] INFO git cat-file --batch-check 21:05:21 2023-03-28 21:05:21,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:21 2023-03-28 21:05:21,532 [execute] INFO git cat-file --batch 21:05:21 2023-03-28 21:05:21,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:21 2023-03-28 21:05:21,537 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:21 3.0.0-dev.24 [Pipeline] } 21:05:21 $ docker exec --env ******** --env ******** 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 ssh-agent -k 21:05:21 unset SSH_AUTH_SOCK; 21:05:21 unset SSH_AGENT_PID; 21:05:21 echo Agent pid 38 killed; 21:05:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:22 + git semver [Pipeline] } 21:05:22 $ docker stop --time=1 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 21:05:23 $ docker rm -f --volumes 4daf6c22e97e8d55774876543596d445386cfc5e785901a519c3ef7c12b5b1a7 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:24 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 21:05:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:05:24 $ docker top 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b -eo pid,comm 21:05:24 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:05:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:24 [ssh-agent] Looking for ssh-agent implementation... 21:05:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:24 $ docker exec 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b ssh-agent 21:05:24 SSH_AUTH_SOCK=/tmp/ssh-yPK5tqMvM8me/agent.33 21:05:24 SSH_AGENT_PID=39 21:05:24 Running ssh-add (command line suppressed) 21:05:25 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3966137808861421584.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3966137808861421584.key) 21:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:25 + git semver push 21:05:25 2023-03-28 21:05:25,552 [run_push] DEBUG push 21:05:25 2023-03-28 21:05:25,553 [execute] INFO git cat-file --batch-check 21:05:25 2023-03-28 21:05:25,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:25 2023-03-28 21:05:25,557 [execute] INFO git rev-list 98852e315f023cb056bf29657fda6248da7f0f1f -- 21:05:25 2023-03-28 21:05:25,557 [execute] DEBUG Popen(['git', 'rev-list', '98852e315f023cb056bf29657fda6248da7f0f1f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:05:25 2023-03-28 21:05:25,565 [execute] INFO git fetch -v origin 21:05:25 2023-03-28 21:05:25,566 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:05:26 2023-03-28 21:05:26,049 [run_push] DEBUG no remote changes detected 21:05:26 2023-03-28 21:05:26,049 [execute] INFO git push origin semver 21:05:26 2023-03-28 21:05:26,050 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:05:27 2023-03-28 21:05:26,821 [run_push] DEBUG push all version tags 21:05:27 2023-03-28 21:05:26,821 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:05:27 2023-03-28 21:05:26,821 [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:05:27 2023-03-28 21:05:27,575 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:05:27 3.0.0-dev.24 [Pipeline] } 21:05:27 $ docker exec --env ******** --env ******** 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b ssh-agent -k 21:05:27 unset SSH_AUTH_SOCK; 21:05:27 unset SSH_AGENT_PID; 21:05:27 echo Agent pid 39 killed; 21:05:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:28 + git semver [Pipeline] } 21:05:28 $ docker stop --time=1 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b 21:05:29 $ docker rm -f --volumes 82b1fd5187596336df242c895012bba0bcfc5b3e1d8bf8e55958079bb31e367b [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:05:30 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 21:05:30 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:05:30 total 16 21:05:30 drwxr-xr-x 3 root root 4096 Mar 28 20:55 . 21:05:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 21:05 .. 21:05:30 drwxr-xr-x 2 root root 4096 Mar 28 20:55 cost 21:05:30 -rw-r--r-- 1 root root 87 Mar 28 20:55 cost.csv 21:05:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 21:05:30 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:05:30 total 16 21:05:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:55 . 21:05:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 21:05 .. 21:05:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:55 cost 21:05:30 -rw-r--r-- 1 jenkins jenkins 87 Mar 28 20:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:05:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:05:31 ---> package-listing.sh 21:05:31 ++ facter osfamily 21:05:31 ++ tr '[:upper:]' '[:lower:]' 21:05:31 + OS_FAMILY=debian 21:05:31 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 21:05:31 + START_PACKAGES=/tmp/packages_start.txt 21:05:31 + END_PACKAGES=/tmp/packages_end.txt 21:05:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:05:31 + PACKAGES=/tmp/packages_start.txt 21:05:31 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:05:31 + PACKAGES=/tmp/packages_end.txt 21:05:31 + case "${OS_FAMILY}" in 21:05:31 + dpkg -l 21:05:31 + grep '^ii' 21:05:31 + '[' -f /tmp/packages_start.txt ']' 21:05:31 + '[' -f /tmp/packages_end.txt ']' 21:05:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:05:31 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:05:31 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 21:05:31 + 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:05:31 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:05:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:32 prd-ubuntu20.04-docker-8c-8g-6117 does not seem to be running inside a container 21:05:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:05:32 $ docker top b563bfaa59ffc34bdcebec1a6053966486696efabb24be7f6b007eccc4477ecc -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:33 + touch /tmp/pre-build-complete [Pipeline] sh 21:05:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:05:33 + ls /var/log/sa-host 21:05:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:33 provisioning config files... 21:05:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2378013155504766681tmp [Pipeline] { [Pipeline] echo 21:05:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:05:34 ---> create-netrc.sh [Pipeline] } 21:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:05:34 ---> python-tools-install.sh [Pipeline] echo 21:05:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:05:34 ---> sudo-logs.sh 21:05:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:05:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:05:35 ---> job-cost.sh 21:05:35 lf-activate-venv: SKIPPING 21:05:35 DEBUG: total: 0.2199999988079071 21:05:35 INFO: Retrieving Stack Cost... 21:05:35 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:36 INFO: Archiving Costs [Pipeline] echo 21:05:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:05:36 ---> logs-deploy.sh 21:05:36 lf-activate-venv: SKIPPING 21:05:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/89 21:05:36 INFO: archiving workspace using pattern(s): 21:05:37 Archives upload complete. 21:05:37 INFO: archiving logs to Nexus