Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d71636c60b8b9ed9f948421f9983ca52d9baac39 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-ssh2566757225153204936.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh10698483113909745080.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15081923919600169340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2822574037397601014.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-ssh18202509552464786975.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] ========================================================= [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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-5702’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5713 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 d71636c60b8b9ed9f948421f9983ca52d9baac39 (main) Commit message: "Merge pull request #560 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24" > 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 d71636c60b8b9ed9f948421f9983ca52d9baac39 # timeout=10 > git rev-list --no-walk bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:53 ========================================================= 05:59:53 EdgeX Global Pipelines Version Info 05:59:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:54 ------------------- 05:59:54 stable info: 05:59:54 ------------------- 05:59:54 Commited By: Ginny Guan ginny@iotechsys.com 05:59:54 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:59:54 Message: update stable to v1.0.260 05:59:55 ------------------- 05:59:55 experimental info: 05:59:55 ------------------- 05:59:55 Commited By: Ginny Guan ginny@iotechsys.com 05:59:55 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:59:55 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d71636c [Pipeline] echo 05:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:55 provisioning config files... 05:59:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2664424180911139700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:56 ---> ****-login.sh 05:59:56 nexus3.edgexfoundry.org:10001 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 nexus3.edgexfoundry.org:10002 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 nexus3.edgexfoundry.org:10003 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 nexus3.edgexfoundry.org:10004 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 ****.io 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:57 Configure a credential helper to remove this warning. See 05:59:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:57 05:59:57 Login Succeeded 05:59:57 ---> ****-login.sh ends [Pipeline] } 05:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:57 + git rev-list -1 --merges d71636c60b8b9ed9f948421f9983ca52d9baac39~1..d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] echo 05:59:57 -----------> git rev-list -1 --merges d71636c60b8b9ed9f948421f9983ca52d9baac39~1..d71636c60b8b9ed9f948421f9983ca52d9baac39 d71636c60b8b9ed9f948421f9983ca52d9baac39 05:59:57 d71636c60b8b9ed9f948421f9983ca52d9baac39 [false] [Pipeline] sh 05:59:57 + git log --format=format:%s -1 d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] echo 05:59:57 ========================================================= 05:59:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:58 + git log --format=format:%s -1 d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] echo 05:59:58 [semverPrep] GIT_COMMIT: d71636c60b8b9ed9f948421f9983ca52d9baac39, Commit Message: Merge pull request #560 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24 [Pipeline] echo 05:59:58 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:58 + grep -v github /etc/ssh/ssh_known_hosts 05:59:58 + [ -e /tmp/ssh_known_hosts ] 05:59:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:58 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:58 05:59:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:59 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:59 b85a868b505f: Pulling fs layer 05:59:59 e2be974225ed: Pulling fs layer 05:59:59 339a4e72a1f5: Pulling fs layer 05:59:59 988bab9f4d93: Pulling fs layer 05:59:59 1469e6f7b9e6: Pulling fs layer 05:59:59 eaf3925da568: Pulling fs layer 05:59:59 bab4dde63d76: Pulling fs layer 05:59:59 bde34c3a00c8: Pulling fs layer 05:59:59 b352a97aabf1: Pulling fs layer 05:59:59 4872d77fe225: Pulling fs layer 05:59:59 5851b861e8e6: Pulling fs layer 05:59:59 b352a97aabf1: Waiting 05:59:59 988bab9f4d93: Waiting 05:59:59 bde34c3a00c8: Waiting 05:59:59 4872d77fe225: Waiting 05:59:59 1469e6f7b9e6: Waiting 05:59:59 bab4dde63d76: Waiting 05:59:59 eaf3925da568: Waiting 05:59:59 5851b861e8e6: Waiting 05:59:59 e2be974225ed: Download complete 05:59:59 988bab9f4d93: Verifying Checksum 05:59:59 988bab9f4d93: Download complete 05:59:59 1469e6f7b9e6: Verifying Checksum 05:59:59 1469e6f7b9e6: Download complete 05:59:59 339a4e72a1f5: Verifying Checksum 05:59:59 339a4e72a1f5: Download complete 05:59:59 eaf3925da568: Verifying Checksum 05:59:59 eaf3925da568: Download complete 05:59:59 bde34c3a00c8: Download complete 05:59:59 b352a97aabf1: Verifying Checksum 05:59:59 b352a97aabf1: Download complete 05:59:59 4872d77fe225: Verifying Checksum 05:59:59 4872d77fe225: Download complete 05:59:59 5851b861e8e6: Download complete 05:59:59 b85a868b505f: Verifying Checksum 05:59:59 b85a868b505f: Download complete 05:59:59 bab4dde63d76: Verifying Checksum 05:59:59 bab4dde63d76: Download complete 06:00:00 b85a868b505f: Pull complete 06:00:00 e2be974225ed: Pull complete 06:00:01 339a4e72a1f5: Pull complete 06:00:01 988bab9f4d93: Pull complete 06:00:01 1469e6f7b9e6: Pull complete 06:00:01 eaf3925da568: Pull complete 06:00:03 bab4dde63d76: Pull complete 06:00:03 bde34c3a00c8: Pull complete 06:00:03 b352a97aabf1: Pull complete 06:00:03 4872d77fe225: Pull complete 06:00:03 5851b861e8e6: Pull complete 06:00:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:03 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:00:03 $ 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 06:00:07 $ docker top b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 -eo pid,comm 06:00:07 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). 06:00:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:07 [ssh-agent] Looking for ssh-agent implementation... 06:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:07 $ docker exec b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 ssh-agent 06:00:07 SSH_AUTH_SOCK=/tmp/ssh-SEcZGl7bBG7L/agent.32 06:00:07 SSH_AGENT_PID=38 06:00:07 Running ssh-add (command line suppressed) 06:00:07 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13632823787941316363.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13632823787941316363.key) 06:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:07 + git tag --points-at HEAD [Pipeline] } 06:00:07 $ docker exec --env ******** --env ******** b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 ssh-agent -k 06:00:08 unset SSH_AUTH_SOCK; 06:00:08 unset SSH_AGENT_PID; 06:00:08 echo Agent pid 38 killed; 06:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:08 [ssh-agent] Looking for ssh-agent implementation... 06:00:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:08 $ docker exec b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 ssh-agent 06:00:08 SSH_AUTH_SOCK=/tmp/ssh-VYmLQG5i3FC9/agent.71 06:00:08 SSH_AGENT_PID=77 06:00:08 Running ssh-add (command line suppressed) 06:00:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3422109174152973367.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3422109174152973367.key) 06:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:08 + git semver init 06:00:09 2024-07-16 06:00:08,969 [run_init] DEBUG init version:0.0.0 force:False 06:00:09 2024-07-16 06:00:08,970 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:00:09 2024-07-16 06:00:08,970 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:00:09 2024-07-16 06:00:08,971 [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) 06:00:10 2024-07-16 06:00:10,016 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:00:10 2024-07-16 06:00:10,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:00:10 2024-07-16 06:00:10,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:00:10 2024-07-16 06:00:10,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:00:10 3.2.0-dev.17 [Pipeline] } 06:00:10 $ docker exec --env ******** --env ******** b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 ssh-agent -k 06:00:10 unset SSH_AUTH_SOCK; 06:00:10 unset SSH_AGENT_PID; 06:00:10 echo Agent pid 77 killed; 06:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:10 + git semver [Pipeline] } 06:00:11 $ docker stop --time=1 b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 06:00:12 $ docker rm -f --volumes b80d45f21b8ac69ebb2c6a2edee609622f8aa4715c1084355049898df7d5f8c8 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:13 Stashed 1 file(s) [Pipeline] echo 06:00:13 [edgeXSemver]: initialized semver on version 3.2.0-dev.17 [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 06:00:13 provisioning config files... 06:00:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13831792719565421136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:13 ---> ****-login.sh 06:00:13 nexus3.edgexfoundry.org:10001 06:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:13 Configure a credential helper to remove this warning. See 06:00:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:13 06:00:13 Login Succeeded 06:00:13 nexus3.edgexfoundry.org:10002 06:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:13 Configure a credential helper to remove this warning. See 06:00:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:13 06:00:13 Login Succeeded 06:00:14 nexus3.edgexfoundry.org:10003 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 nexus3.edgexfoundry.org:10004 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:14 Configure a credential helper to remove this warning. See 06:00:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:14 06:00:14 Login Succeeded 06:00:14 ****.io 06:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:15 Configure a credential helper to remove this warning. See 06:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:15 06:00:15 Login Succeeded 06:00:15 ---> ****-login.sh ends [Pipeline] } 06:00:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:00:15 ========================================================= 06:00:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:00:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:00:15 Sending build context to Docker daemon 17.79MB 06:00:15 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:00:15 Step 2/10 : FROM ${BASE} AS builder 06:00:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:15 619be1103602: Pulling fs layer 06:00:15 7862e08f4a3e: Pulling fs layer 06:00:15 5df492c9dc93: Pulling fs layer 06:00:15 7629e6793208: Pulling fs layer 06:00:15 4f4fb700ef54: Pulling fs layer 06:00:15 fb5054dd5b73: Pulling fs layer 06:00:15 eeca6798cff9: Pulling fs layer 06:00:15 aa269ceb94a6: Pulling fs layer 06:00:15 ada007ff1a6a: Pulling fs layer 06:00:15 7629e6793208: Waiting 06:00:15 4f4fb700ef54: Waiting 06:00:15 fb5054dd5b73: Waiting 06:00:15 eeca6798cff9: Waiting 06:00:15 aa269ceb94a6: Waiting 06:00:15 7862e08f4a3e: Verifying Checksum 06:00:15 7862e08f4a3e: Download complete 06:00:15 7629e6793208: Verifying Checksum 06:00:15 7629e6793208: Download complete 06:00:15 4f4fb700ef54: Verifying Checksum 06:00:15 4f4fb700ef54: Download complete 06:00:15 fb5054dd5b73: Download complete 06:00:15 619be1103602: Verifying Checksum 06:00:15 619be1103602: Download complete 06:00:15 eeca6798cff9: Verifying Checksum 06:00:15 eeca6798cff9: Download complete 06:00:16 619be1103602: Pull complete 06:00:16 ada007ff1a6a: Download complete 06:00:16 7862e08f4a3e: Pull complete 06:00:16 5df492c9dc93: Verifying Checksum 06:00:16 5df492c9dc93: Download complete 06:00:16 aa269ceb94a6: Verifying Checksum 06:00:16 aa269ceb94a6: Download complete 06:00:19 5df492c9dc93: Pull complete 06:00:19 7629e6793208: Pull complete 06:00:19 4f4fb700ef54: Pull complete 06:00:19 fb5054dd5b73: Pull complete 06:00:19 eeca6798cff9: Pull complete 06:00:22 aa269ceb94a6: Pull complete 06:00:22 ada007ff1a6a: Pull complete 06:00:22 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:00:22 ---> f489d0715acc 06:00:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:00:27 ---> Running in e92f798b27a2 06:00:27 Removing intermediate container e92f798b27a2 06:00:27 ---> db1998b1ad66 06:00:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:27 ---> Running in 7f10914023c9 06:00:27 Removing intermediate container 7f10914023c9 06:00:27 ---> 11ac368d5ef0 06:00:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:00:27 ---> Running in 4fe1c1289c78 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:00:28 Still waiting to schedule task 06:00:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:00:28 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:00:28 (2/8) Installing libedit (20221030.3.1-r1) 06:00:28 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:00:28 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:00:28 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:00:28 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:00:28 (7/8) Installing openssh-server (9.3_p2-r2) 06:00:28 (8/8) Installing openssh (9.3_p2-r2) 06:00:28 Executing busybox-1.36.1-r5.trigger 06:00:28 OK: 270 MiB in 60 packages 06:00:28 Removing intermediate container 4fe1c1289c78 06:00:28 ---> 6acd34a658d5 06:00:28 Step 6/10 : WORKDIR /device-modbus-go 06:00:28 ---> Running in e0ccb83f7ef8 06:00:29 Removing intermediate container e0ccb83f7ef8 06:00:29 ---> 2e8525d3d27d 06:00:29 Step 7/10 : COPY go.mod vendor* ./ 06:00:29 ---> 7d673ab73093 06:00:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:29 ---> Running in 6b019ad55380 06:01:25 Removing intermediate container 6b019ad55380 06:01:25 ---> a88dc5bd11e7 06:01:25 Step 9/10 : COPY . . 06:01:25 ---> 8d931debec90 06:01:25 Step 10/10 : RUN ${MAKE} 06:01:25 ---> Running in 046a1fad7581 06:01:25 noop 06:01:25 Removing intermediate container 046a1fad7581 06:01:25 ---> c4cfeb5d5317 06:01:25 Successfully built c4cfeb5d5317 06:01:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:25 + docker inspect -f . ci-base-image-x86_64 06:01:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:25 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:01:25 $ 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 06:01:26 $ docker top b8fd6f630bba734018269a3233e0da3e6bc31b182abcabb17654fd735e89c0fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:26 + go version 06:01:26 go version go1.21.9 linux/amd64 [Pipeline] } 06:01:26 $ docker stop --time=1 b8fd6f630bba734018269a3233e0da3e6bc31b182abcabb17654fd735e89c0fc 06:01:27 $ docker rm -f --volumes b8fd6f630bba734018269a3233e0da3e6bc31b182abcabb17654fd735e89c0fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:28 + docker inspect -f . ci-base-image-x86_64 06:01:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:28 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:01:28 $ 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 06:01:28 $ docker top 3716c0fdc5bdee099ebfdfbae05662ec8c38c0099ebf3066283414146972042b -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:01:29 + make test 06:01:29 go test ./... -coverprofile=coverage.out 06:01:30 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:01:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:01:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.9% of statements 06:02:02 go vet ./... 06:02:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:08 ./bin/test-attribution-txt.sh 06:02:08 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:02:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:02:08 $ docker stop --time=1 3716c0fdc5bdee099ebfdfbae05662ec8c38c0099ebf3066283414146972042b 06:02:13 $ docker rm -f --volumes 3716c0fdc5bdee099ebfdfbae05662ec8c38c0099ebf3066283414146972042b [Pipeline] // withDockerContainer [Pipeline] sh 06:02:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:14 + ls -al . 06:02:14 total 272 06:02:14 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 06:01 . 06:02:14 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 05:59 .. 06:02:14 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 05:59 .dockerignore 06:02:14 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 06:01 .git 06:02:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:59 .github 06:02:14 -rw-rw-r-- 1 jenkins jenkins 266 Jul 16 05:59 .gitignore 06:02:14 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 05:59 .golangci.yml 06:02:14 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 06:00 .semver 06:02:14 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 16 05:59 Attribution.txt 06:02:14 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 16 05:59 CHANGELOG.md 06:02:14 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 16 05:59 Dockerfile 06:02:14 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 05:59 GOVERNANCE.md 06:02:14 -rw-rw-r-- 1 jenkins jenkins 658 Jul 16 05:59 Jenkinsfile 06:02:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 05:59 LICENSE 06:02:14 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 16 05:59 Makefile 06:02:14 -rw-rw-r-- 1 jenkins jenkins 622 Jul 16 05:59 OWNERS.md 06:02:14 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 16 05:59 README.md 06:02:14 -rw-rw-r-- 1 jenkins jenkins 12 Jul 16 06:00 VERSION 06:02:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:59 bin 06:02:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:59 cmd 06:02:14 -rw-r--r-- 1 jenkins jenkins 24601 Jul 16 06:01 coverage.out 06:02:14 -rw-rw-r-- 1 jenkins jenkins 7184 Jul 16 05:59 go.mod 06:02:14 -rw-rw-r-- 1 jenkins jenkins 102270 Jul 16 05:59 go.sum 06:02:14 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:59 internal 06:02:14 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:59 simulator 06:02:14 -rw-rw-r-- 1 jenkins jenkins 229 Jul 16 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:14 + 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=d71636c60b8b9ed9f948421f9983ca52d9baac39 --label arch=amd64 --label version=3.2.0-dev.17 . 06:02:14 Sending build context to Docker daemon 17.82MB 06:02:14 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:02:14 Step 2/23 : FROM ${BASE} AS builder 06:02:14 ---> c4cfeb5d5317 06:02:14 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:02:15 ---> Running in 9fd0da3aabae 06:02:15 Removing intermediate container 9fd0da3aabae 06:02:15 ---> e20bd0de6836 06:02:15 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:15 ---> Running in 5572de36dcc6 06:02:15 Removing intermediate container 5572de36dcc6 06:02:15 ---> 6121c11a334b 06:02:15 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:02:15 ---> Running in 54d0aac5fb9a 06:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:16 OK: 270 MiB in 60 packages 06:02:16 Removing intermediate container 54d0aac5fb9a 06:02:16 ---> 431b72810df8 06:02:16 Step 6/23 : WORKDIR /device-modbus-go 06:02:16 ---> Running in fc33fbb5f0fc 06:02:16 Removing intermediate container fc33fbb5f0fc 06:02:16 ---> f93a4f61ce38 06:02:16 Step 7/23 : COPY go.mod vendor* ./ 06:02:16 ---> 018a0f81109c 06:02:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:16 ---> Running in 693e5bd2d158 06:02:17 Removing intermediate container 693e5bd2d158 06:02:17 ---> 9190305e8b1f 06:02:17 Step 9/23 : COPY . . 06:02:18 ---> 34db76305141 06:02:18 Step 10/23 : RUN ${MAKE} 06:02:18 ---> Running in 4861d28ccc60 06:02:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:02:50 Removing intermediate container 4861d28ccc60 06:02:50 ---> d7c4af7fa7d6 06:02:50 Step 11/23 : FROM alpine:3.18 06:02:50 3.18: Pulling from library/alpine 06:02:50 73baa7ef167e: Pulling fs layer 06:02:50 73baa7ef167e: Verifying Checksum 06:02:50 73baa7ef167e: Download complete 06:02:50 73baa7ef167e: Pull complete 06:02:50 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:02:50 Status: Downloaded newer image for alpine:3.18 06:02:50 ---> 8fd7cac70a4a 06:02:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:02:50 ---> Running in 5565584b236c 06:02:50 Removing intermediate container 5565584b236c 06:02:50 ---> 525e82d830a3 06:02:50 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:02:50 ---> Running in e37113dc9d98 06:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:51 (1/1) Installing dumb-init (1.2.5-r2) 06:02:51 Executing busybox-1.36.1-r7.trigger 06:02:51 OK: 7 MiB in 16 packages 06:02:51 Removing intermediate container e37113dc9d98 06:02:51 ---> fa6f6deea115 06:02:51 Step 14/23 : RUN apk --no-cache upgrade 06:02:51 ---> Running in 87e76bca79e4 06:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:51 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 06:02:51 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 06:02:51 OK: 7 MiB in 16 packages 06:02:52 Removing intermediate container 87e76bca79e4 06:02:52 ---> 0cb34fa61101 06:02:52 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:02:53 ---> a657303242ee 06:02:53 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:02:53 ---> be493f0d42c9 06:02:53 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:02:53 ---> f378debd528c 06:02:53 Step 18/23 : EXPOSE 59901 06:02:53 ---> Running in 45374b68e41a 06:02:54 Removing intermediate container 45374b68e41a 06:02:54 ---> fc639b05cc69 06:02:54 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:02:54 ---> Running in ca009d331129 06:02:54 Removing intermediate container ca009d331129 06:02:54 ---> 806b7c6dae1c 06:02:54 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:02:54 ---> Running in 791761ff164c 06:02:54 Removing intermediate container 791761ff164c 06:02:54 ---> dc22e9b6eef7 06:02:54 Step 21/23 : LABEL arch=amd64 06:02:54 ---> Running in 30054a8556ba 06:02:54 Removing intermediate container 30054a8556ba 06:02:54 ---> 3a4d9e16da24 06:02:54 Step 22/23 : LABEL git_sha=d71636c60b8b9ed9f948421f9983ca52d9baac39 06:02:54 ---> Running in 7befb1fa5149 06:02:54 Removing intermediate container 7befb1fa5149 06:02:54 ---> d44f21ebaaaf 06:02:54 Step 23/23 : LABEL version=3.2.0-dev.17 06:02:54 ---> Running in 64d5741cc482 06:02:54 Removing intermediate container 64d5741cc482 06:02:54 ---> 2d869e4e8293 06:02:54 [Warning] One or more build-args [ARCH] were not consumed 06:02:54 Successfully built 2d869e4e8293 06:02:54 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:54 provisioning config files... 06:02:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4685162383205514859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:55 ---> ****-login.sh 06:02:55 nexus3.edgexfoundry.org:10001 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 nexus3.edgexfoundry.org:10002 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 nexus3.edgexfoundry.org:10003 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 nexus3.edgexfoundry.org:10004 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 ****.io 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 ---> ****-login.sh ends [Pipeline] } 06:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:02:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:02:55 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:02:55 d71636c60b8b9ed9f948421f9983ca52d9baac39 06:02:55 latest 06:02:55 3.2.0-dev.17 06:02:55 d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 06:02:55 main 06:02:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d71636c60b8b9ed9f948421f9983ca52d9baac39 06:02:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:02:56 af0a10fa0a01: Preparing 06:02:56 ac020a26ba16: Preparing 06:02:56 516b4172d6fc: Preparing 06:02:56 673ff91a6df3: Preparing 06:02:56 8a05c36afd0f: Preparing 06:02:56 63ec0bd56cf3: Preparing 06:02:56 ac020a26ba16: Pushed 06:02:56 af0a10fa0a01: Pushed 06:02:56 8a05c36afd0f: Pushed 06:02:56 63ec0bd56cf3: Layer already exists 06:02:56 673ff91a6df3: Pushed 06:02:59 516b4172d6fc: Pushed 06:02:59 d71636c60b8b9ed9f948421f9983ca52d9baac39: digest: sha256:d191aa0671b7ab4a5f1d3d8a0da7187fde76663f60a9cba1ca8e4611d4bdcc9a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:03:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:03:00 af0a10fa0a01: Preparing 06:03:00 ac020a26ba16: Preparing 06:03:00 516b4172d6fc: Preparing 06:03:00 673ff91a6df3: Preparing 06:03:00 8a05c36afd0f: Preparing 06:03:00 63ec0bd56cf3: Preparing 06:03:00 63ec0bd56cf3: Waiting 06:03:00 673ff91a6df3: Layer already exists 06:03:00 ac020a26ba16: Layer already exists 06:03:00 af0a10fa0a01: Layer already exists 06:03:00 516b4172d6fc: Layer already exists 06:03:00 8a05c36afd0f: Layer already exists 06:03:00 63ec0bd56cf3: Layer already exists 06:03:00 latest: digest: sha256:d191aa0671b7ab4a5f1d3d8a0da7187fde76663f60a9cba1ca8e4611d4bdcc9a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.17 06:03:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:03:00 af0a10fa0a01: Preparing 06:03:00 ac020a26ba16: Preparing 06:03:00 516b4172d6fc: Preparing 06:03:00 673ff91a6df3: Preparing 06:03:00 8a05c36afd0f: Preparing 06:03:00 63ec0bd56cf3: Preparing 06:03:00 63ec0bd56cf3: Waiting 06:03:00 516b4172d6fc: Layer already exists 06:03:00 ac020a26ba16: Layer already exists 06:03:00 673ff91a6df3: Layer already exists 06:03:00 af0a10fa0a01: Layer already exists 06:03:00 8a05c36afd0f: Layer already exists 06:03:00 63ec0bd56cf3: Layer already exists 06:03:00 3.2.0-dev.17: digest: sha256:d191aa0671b7ab4a5f1d3d8a0da7187fde76663f60a9cba1ca8e4611d4bdcc9a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5715 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { 06:03:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 [Pipeline] ws 06:03:01 Running in /w/workspace/device-modbus-go/156 [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] checkout [Pipeline] sh 06:03:02 The recommended git tool is: git 06:03:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 06:03:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:03:02 af0a10fa0a01: Preparing 06:03:02 ac020a26ba16: Preparing 06:03:02 516b4172d6fc: Preparing 06:03:02 673ff91a6df3: Preparing 06:03:02 8a05c36afd0f: Preparing 06:03:02 63ec0bd56cf3: Preparing 06:03:02 63ec0bd56cf3: Waiting 06:03:02 af0a10fa0a01: Layer already exists 06:03:02 8a05c36afd0f: Layer already exists 06:03:02 516b4172d6fc: Layer already exists 06:03:02 673ff91a6df3: Layer already exists 06:03:02 ac020a26ba16: Layer already exists 06:03:02 63ec0bd56cf3: Layer already exists 06:03:02 d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17: digest: sha256:d191aa0671b7ab4a5f1d3d8a0da7187fde76663f60a9cba1ca8e4611d4bdcc9a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:03:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:03:03 af0a10fa0a01: Preparing 06:03:03 ac020a26ba16: Preparing 06:03:03 516b4172d6fc: Preparing 06:03:03 673ff91a6df3: Preparing 06:03:03 8a05c36afd0f: Preparing 06:03:03 63ec0bd56cf3: Preparing 06:03:03 63ec0bd56cf3: Waiting 06:03:03 af0a10fa0a01: Layer already exists 06:03:03 ac020a26ba16: Layer already exists 06:03:03 516b4172d6fc: Layer already exists 06:03:03 8a05c36afd0f: Layer already exists 06:03:03 673ff91a6df3: Layer already exists 06:03:03 63ec0bd56cf3: Layer already exists 06:03:03 main: digest: sha256:d191aa0671b7ab4a5f1d3d8a0da7187fde76663f60a9cba1ca8e4611d4bdcc9a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:03:03 ===================================================== [Pipeline] echo 06:03:03 taggedImages: 06:03:03 - nexus3.edgexfoundry.org:10004/device-modbus:d71636c60b8b9ed9f948421f9983ca52d9baac39 06:03:03 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:03:03 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.17 06:03:03 - nexus3.edgexfoundry.org:10004/device-modbus:d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 06:03:03 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:03 06:03:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:03 latest: Pulling from edgex-lftools-log-publisher 06:03:03 5eb5b503b376: Pulling fs layer 06:03:03 5c69ac0246d0: Pulling fs layer 06:03:03 ec43610c2a17: Pulling fs layer 06:03:03 3a2ae6a8a46f: Pulling fs layer 06:03:03 33b1e0a273af: Pulling fs layer 06:03:03 5d3b04190fa2: Pulling fs layer 06:03:03 2f39f015ded8: Pulling fs layer 06:03:03 3a2ae6a8a46f: Waiting 06:03:03 2f39f015ded8: Waiting 06:03:03 33b1e0a273af: Waiting 06:03:03 5c69ac0246d0: Verifying Checksum 06:03:03 5c69ac0246d0: Download complete 06:03:03 3a2ae6a8a46f: Verifying Checksum 06:03:03 3a2ae6a8a46f: Download complete 06:03:03 33b1e0a273af: Verifying Checksum 06:03:03 33b1e0a273af: Download complete 06:03:03 5d3b04190fa2: Verifying Checksum 06:03:03 5d3b04190fa2: Download complete 06:03:03 ec43610c2a17: Verifying Checksum 06:03:03 ec43610c2a17: Download complete 06:03:04 5eb5b503b376: Verifying Checksum 06:03:04 5eb5b503b376: Download complete 06:03:04 2f39f015ded8: Download complete 06:03:05 5eb5b503b376: Pull complete 06:03:05 5c69ac0246d0: Pull complete 06:03:05 ec43610c2a17: Pull complete 06:03:05 3a2ae6a8a46f: Pull complete 06:03:05 33b1e0a273af: Pull complete 06:03:05 5d3b04190fa2: Pull complete 06:03:10 using credential edgex-jenkins-ssh 06:03:10 Cloning the remote Git repository 06:03:10 2f39f015ded8: Pull complete 06:03:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:10 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:03:10 $ 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 06:03:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:03:10 > git init /w/workspace/device-modbus-go/156 # timeout=10 06:03:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:03:10 > git --version # timeout=10 06:03:10 > git --version # 'git version 2.25.1' 06:03:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:03:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:14 Avoid second fetch 06:03:14 Checking out Revision d71636c60b8b9ed9f948421f9983ca52d9baac39 (main) 06:03:14 > git config core.sparsecheckout # timeout=10 06:03:14 > git checkout -f d71636c60b8b9ed9f948421f9983ca52d9baac39 # timeout=10 06:03:14 Commit message: "Merge pull request #560 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.24" 06:03:15 $ docker top 1ca6bf669a4b31612bdb4fe44adc338ad3d76ad176c3789a1c611e8f7c89f7f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:15 ---> job-cost.sh 06:03:15 lf-activate-venv: SKIPPING 06:03:15 INFO: No Stack... 06:03:16 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:16 INFO: Archiving Costs [Pipeline] sh 06:03:16 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:03:16 + cut -d, -f6 [Pipeline] lock 06:03:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] 06:03:16 Resource [jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] did not exist. Created. 06:03:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:16 + echo total: 0.2199999988079071 [Pipeline] stash 06:03:16 Stashed 1 file(s) [Pipeline] } 06:03:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 06:03:16 $ docker stop --time=1 1ca6bf669a4b31612bdb4fe44adc338ad3d76ad176c3789a1c611e8f7c89f7f5 06:03:18 $ docker rm -f --volumes 1ca6bf669a4b31612bdb4fe44adc338ad3d76ad176c3789a1c611e8f7c89f7f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:19 Dload Upload Total Spent Left Speed 06:03:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh 06:03:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:20 + sudo tee /etc/docker/daemon.new 06:03:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:20 { 06:03:20 "registry-mirrors": [ 06:03:20 "https://nexus3.edgexfoundry.org:10001" 06:03:20 ], 06:03:20 "bip": "10.250.0.254/24", 06:03:20 "hosts": [ 06:03:20 "tcp://0.0.0.0:5555", 06:03:20 "unix:///var/run/docker.sock" 06:03:20 ], 06:03:20 "mtu": 1458, 06:03:20 "selinux-enabled": true, 06:03:20 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:20 } [Pipeline] sh 06:03:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:39 provisioning config files... 06:03:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/156@tmp/config10197170886143707188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:39 ---> ****-login.sh 06:03:39 nexus3.edgexfoundry.org:10001 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 nexus3.edgexfoundry.org:10002 06:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:40 Configure a credential helper to remove this warning. See 06:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:40 06:03:40 Login Succeeded 06:03:40 nexus3.edgexfoundry.org:10003 06:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:41 Configure a credential helper to remove this warning. See 06:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:41 06:03:41 Login Succeeded 06:03:41 nexus3.edgexfoundry.org:10004 06:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:41 Configure a credential helper to remove this warning. See 06:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:41 06:03:41 Login Succeeded 06:03:41 ****.io 06:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:42 Configure a credential helper to remove this warning. See 06:03:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:42 06:03:42 Login Succeeded 06:03:42 ---> ****-login.sh ends [Pipeline] } 06:03:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:42 ========================================================= 06:03:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:03:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:03:43 Sending build context to Docker daemon 9.032MB 06:03:43 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:03:43 Step 2/10 : FROM ${BASE} AS builder 06:03:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:43 c6b39de5b339: Pulling fs layer 06:03:43 a69c41024577: Pulling fs layer 06:03:43 d6de4b400683: Pulling fs layer 06:03:43 35cb2a7552d0: Pulling fs layer 06:03:43 4f4fb700ef54: Pulling fs layer 06:03:43 464afbd9ba4c: Pulling fs layer 06:03:43 00f215d4a9da: Pulling fs layer 06:03:43 d496ad576159: Pulling fs layer 06:03:43 00f215d4a9da: Waiting 06:03:43 d496ad576159: Waiting 06:03:43 4f4fb700ef54: Waiting 06:03:43 464afbd9ba4c: Waiting 06:03:43 35cb2a7552d0: Waiting 06:03:43 a69c41024577: Verifying Checksum 06:03:43 a69c41024577: Download complete 06:03:43 35cb2a7552d0: Download complete 06:03:43 4f4fb700ef54: Verifying Checksum 06:03:43 4f4fb700ef54: Download complete 06:03:43 464afbd9ba4c: Verifying Checksum 06:03:43 464afbd9ba4c: Download complete 06:03:44 d496ad576159: Verifying Checksum 06:03:44 d496ad576159: Download complete 06:03:44 c6b39de5b339: Pull complete 06:03:45 a69c41024577: Pull complete 06:03:45 d6de4b400683: Verifying Checksum 06:03:45 d6de4b400683: Download complete 06:03:46 00f215d4a9da: Download complete 06:03:58 d6de4b400683: Pull complete 06:03:58 35cb2a7552d0: Pull complete 06:03:58 4f4fb700ef54: Pull complete 06:03:59 464afbd9ba4c: Pull complete 06:04:09 00f215d4a9da: Pull complete 06:04:10 d496ad576159: Pull complete 06:04:10 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:04:10 ---> f246e2811388 06:04:10 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:11 ---> Running in 0bfb0d3a5e5c 06:04:11 Removing intermediate container 0bfb0d3a5e5c 06:04:11 ---> 81bca60260a9 06:04:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:11 ---> Running in 48cc057eef6c 06:04:12 Removing intermediate container 48cc057eef6c 06:04:12 ---> caa0dc04712f 06:04:12 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:12 ---> Running in 4aed24395ebf 06:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:04:14 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:04:14 (2/8) Installing libedit (20221030.3.1-r1) 06:04:14 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:04:14 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:04:14 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:04:14 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:04:14 (7/8) Installing openssh-server (9.3_p2-r2) 06:04:14 (8/8) Installing openssh (9.3_p2-r2) 06:04:14 Executing busybox-1.36.1-r5.trigger 06:04:14 OK: 272 MiB in 60 packages 06:04:16 Removing intermediate container 4aed24395ebf 06:04:16 ---> da4a3c589082 06:04:16 Step 6/10 : WORKDIR /device-modbus-go 06:04:16 ---> Running in 7068b9af8af5 06:04:16 Removing intermediate container 7068b9af8af5 06:04:16 ---> 954e31313806 06:04:16 Step 7/10 : COPY go.mod vendor* ./ 06:04:17 ---> 8fa03011384e 06:04:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:17 ---> Running in 15e3bd62cd13 06:06:09 Removing intermediate container 15e3bd62cd13 06:06:09 ---> 9d0201135e86 06:06:09 Step 9/10 : COPY . . 06:06:09 ---> fe3ef371e11e 06:06:09 Step 10/10 : RUN ${MAKE} 06:06:09 ---> Running in 5dcc88386ed3 06:06:09 noop 06:06:09 Removing intermediate container 5dcc88386ed3 06:06:09 ---> 268827039c8e 06:06:09 Successfully built 268827039c8e 06:06:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:09 + docker inspect -f . ci-base-image-arm64 06:06:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:09 prd-ubuntu20.04-docker-arm64-4c-16g-5715 does not seem to be running inside a container 06:06:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/156 -v /w/workspace/device-modbus-go/156:/w/workspace/device-modbus-go/156:rw,z -v /w/workspace/device-modbus-go/156@tmp:/w/workspace/device-modbus-go/156@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 06:06:11 $ docker top c13fb86875e29b72f476aaa428b7abc1fd48a9479f90576419af58574a820b37 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:11 + go version 06:06:11 go version go1.21.9 linux/arm64 [Pipeline] } 06:06:11 $ docker stop --time=1 c13fb86875e29b72f476aaa428b7abc1fd48a9479f90576419af58574a820b37 06:06:13 $ docker rm -f --volumes c13fb86875e29b72f476aaa428b7abc1fd48a9479f90576419af58574a820b37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:14 + docker inspect -f . ci-base-image-arm64 06:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:14 prd-ubuntu20.04-docker-arm64-4c-16g-5715 does not seem to be running inside a container 06:06:14 $ 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/156 -v /w/workspace/device-modbus-go/156:/w/workspace/device-modbus-go/156:rw,z -v /w/workspace/device-modbus-go/156@tmp:/w/workspace/device-modbus-go/156@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 06:06:15 $ docker top 520948ce01cb7a300f22548f3c537c6ca4d06e6c46f76f2903fe653442c507cd -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:16 + git config --global --add safe.directory /w/workspace/device-modbus-go/156 [Pipeline] fileExists [Pipeline] sh 06:06:17 + make test 06:06:17 go test ./... -coverprofile=coverage.out 06:06:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:09:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:09:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.9% of statements 06:09:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:09:45 go vet ./... 06:10:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:24 ./bin/test-attribution-txt.sh 06:10:24 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:10:24 $ docker stop --time=1 520948ce01cb7a300f22548f3c537c6ca4d06e6c46f76f2903fe653442c507cd 06:10:26 $ docker rm -f --volumes 520948ce01cb7a300f22548f3c537c6ca4d06e6c46f76f2903fe653442c507cd [Pipeline] // withDockerContainer [Pipeline] sh 06:10:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:27 Warning: overwriting stash ‘coverage-report’ 06:10:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:29 + ls -al . 06:10:29 total 268 06:10:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 06:06 . 06:10:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 06:03 .. 06:10:29 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 06:03 .dockerignore 06:10:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 06:03 .git 06:10:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 06:03 .github 06:10:29 -rw-rw-r-- 1 jenkins jenkins 266 Jul 16 06:03 .gitignore 06:10:29 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 06:03 .golangci.yml 06:10:29 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 16 06:03 Attribution.txt 06:10:29 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 16 06:03 CHANGELOG.md 06:10:29 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 16 06:03 Dockerfile 06:10:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 06:03 GOVERNANCE.md 06:10:29 -rw-rw-r-- 1 jenkins jenkins 658 Jul 16 06:03 Jenkinsfile 06:10:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 06:03 LICENSE 06:10:29 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 16 06:03 Makefile 06:10:29 -rw-rw-r-- 1 jenkins jenkins 622 Jul 16 06:03 OWNERS.md 06:10:29 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 16 06:03 README.md 06:10:29 -rw-rw-r-- 1 jenkins jenkins 12 Jul 16 06:00 VERSION 06:10:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 06:03 bin 06:10:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 06:03 cmd 06:10:29 -rw-r--r-- 1 jenkins jenkins 24601 Jul 16 06:09 coverage.out 06:10:29 -rw-rw-r-- 1 jenkins jenkins 7184 Jul 16 06:03 go.mod 06:10:29 -rw-rw-r-- 1 jenkins jenkins 102270 Jul 16 06:03 go.sum 06:10:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 06:03 internal 06:10:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 06:03 simulator 06:10:29 -rw-rw-r-- 1 jenkins jenkins 229 Jul 16 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:29 + 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=d71636c60b8b9ed9f948421f9983ca52d9baac39 --label arch=arm64 --label version=3.2.0-dev.17 . 06:10:30 Sending build context to Docker daemon 9.057MB 06:10:30 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:10:30 Step 2/23 : FROM ${BASE} AS builder 06:10:30 ---> 268827039c8e 06:10:30 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:10:30 ---> Running in b6cbb234b5fc 06:10:30 Removing intermediate container b6cbb234b5fc 06:10:30 ---> 53acde55bcfb 06:10:30 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:10:30 ---> Running in d3f55e36e9b0 06:10:30 Removing intermediate container d3f55e36e9b0 06:10:30 ---> 24a69f95cb34 06:10:30 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:10:30 ---> Running in 69c3b3960987 06:10:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:10:33 OK: 272 MiB in 60 packages 06:10:34 Removing intermediate container 69c3b3960987 06:10:34 ---> e963df86bbc3 06:10:34 Step 6/23 : WORKDIR /device-modbus-go 06:10:34 ---> Running in 02cbeca36152 06:10:34 Removing intermediate container 02cbeca36152 06:10:34 ---> e4febd672aee 06:10:34 Step 7/23 : COPY go.mod vendor* ./ 06:10:35 ---> 3c1526d460ab 06:10:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:35 ---> Running in 7b54bff98886 06:10:37 Removing intermediate container 7b54bff98886 06:10:37 ---> 6db0387deaa1 06:10:37 Step 9/23 : COPY . . 06:10:38 ---> a0f0aff752bc 06:10:38 Step 10/23 : RUN ${MAKE} 06:10:38 ---> Running in dd9107971dc6 06:10:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:14:01 Removing intermediate container dd9107971dc6 06:14:01 ---> c3949984157f 06:14:01 Step 11/23 : FROM alpine:3.18 06:14:01 3.18: Pulling from library/alpine 06:14:01 5c905c7ebe2f: Pulling fs layer 06:14:01 5c905c7ebe2f: Verifying Checksum 06:14:01 5c905c7ebe2f: Download complete 06:14:01 5c905c7ebe2f: Pull complete 06:14:01 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:14:01 Status: Downloaded newer image for alpine:3.18 06:14:01 ---> dec292d02e07 06:14:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:14:01 ---> Running in 2fe21f17b738 06:14:01 Removing intermediate container 2fe21f17b738 06:14:01 ---> 0d14a108a397 06:14:01 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:14:01 ---> Running in 97ed03100cce 06:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:14:01 (1/1) Installing dumb-init (1.2.5-r2) 06:14:01 Executing busybox-1.36.1-r7.trigger 06:14:01 OK: 8 MiB in 16 packages 06:14:01 Removing intermediate container 97ed03100cce 06:14:01 ---> 4df793642dff 06:14:01 Step 14/23 : RUN apk --no-cache upgrade 06:14:01 ---> Running in 7841fe11bcdf 06:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:14:01 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 06:14:01 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 06:14:01 OK: 8 MiB in 16 packages 06:14:01 Removing intermediate container 7841fe11bcdf 06:14:01 ---> 46d47da99f30 06:14:01 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:14:01 ---> 3ebd560731b7 06:14:01 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:14:02 ---> 7a8c11fff7ec 06:14:02 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:14:02 ---> 7e96bf9c7f4f 06:14:02 Step 18/23 : EXPOSE 59901 06:14:02 ---> Running in e01a07f7f2e4 06:14:02 Removing intermediate container e01a07f7f2e4 06:14:02 ---> 449f5538557c 06:14:02 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:14:02 ---> Running in 6a15f592268c 06:14:03 Removing intermediate container 6a15f592268c 06:14:03 ---> b322d0302a4e 06:14:03 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:14:03 ---> Running in 96df043ae5f5 06:14:03 Removing intermediate container 96df043ae5f5 06:14:03 ---> a253ae799ad2 06:14:03 Step 21/23 : LABEL arch=arm64 06:14:03 ---> Running in fb9e839b4993 06:14:03 Removing intermediate container fb9e839b4993 06:14:03 ---> e968ee692187 06:14:03 Step 22/23 : LABEL git_sha=d71636c60b8b9ed9f948421f9983ca52d9baac39 06:14:03 ---> Running in f2a59e9c5859 06:14:04 Removing intermediate container f2a59e9c5859 06:14:04 ---> 9bd361037938 06:14:04 Step 23/23 : LABEL version=3.2.0-dev.17 06:14:04 ---> Running in 3ea73246cec2 06:14:04 Removing intermediate container 3ea73246cec2 06:14:04 ---> d0c834314089 06:14:04 [Warning] One or more build-args [ARCH] were not consumed 06:14:04 Successfully built d0c834314089 06:14:04 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 06:14:04 provisioning config files... 06:14:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/156@tmp/config14335122378083803844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:05 ---> ****-login.sh 06:14:05 nexus3.edgexfoundry.org:10001 06:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:05 Configure a credential helper to remove this warning. See 06:14:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:05 06:14:05 Login Succeeded 06:14:05 nexus3.edgexfoundry.org:10002 06:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:05 Configure a credential helper to remove this warning. See 06:14:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:05 06:14:05 Login Succeeded 06:14:05 nexus3.edgexfoundry.org:10003 06:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:06 Configure a credential helper to remove this warning. See 06:14:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:06 06:14:06 Login Succeeded 06:14:06 nexus3.edgexfoundry.org:10004 06:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:06 Configure a credential helper to remove this warning. See 06:14:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:06 06:14:06 Login Succeeded 06:14:06 ****.io 06:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:14:06 Configure a credential helper to remove this warning. See 06:14:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:14:06 06:14:06 Login Succeeded 06:14:06 ---> ****-login.sh ends [Pipeline] } 06:14:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:14:07 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:14:07 d71636c60b8b9ed9f948421f9983ca52d9baac39 06:14:07 latest 06:14:07 3.2.0-dev.17 06:14:07 d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 06:14:07 main 06:14:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d71636c60b8b9ed9f948421f9983ca52d9baac39 06:14:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:07 894fad857438: Preparing 06:14:07 a1b7c022c277: Preparing 06:14:07 d747ebc57d74: Preparing 06:14:07 8891d31bad80: Preparing 06:14:07 688a2967df62: Preparing 06:14:07 da707bb00cb8: Preparing 06:14:07 da707bb00cb8: Waiting 06:14:08 a1b7c022c277: Pushed 06:14:08 688a2967df62: Pushed 06:14:08 894fad857438: Pushed 06:14:08 da707bb00cb8: Layer already exists 06:14:08 8891d31bad80: Pushed 06:14:14 d747ebc57d74: Pushed 06:14:14 d71636c60b8b9ed9f948421f9983ca52d9baac39: digest: sha256:ad933b542ec23751271ef32b1ae892690af38a4993bdcd18227bcb2b263aa09b size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:14:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:15 894fad857438: Preparing 06:14:15 a1b7c022c277: Preparing 06:14:15 d747ebc57d74: Preparing 06:14:15 8891d31bad80: Preparing 06:14:15 688a2967df62: Preparing 06:14:15 da707bb00cb8: Preparing 06:14:15 da707bb00cb8: Waiting 06:14:15 a1b7c022c277: Layer already exists 06:14:15 d747ebc57d74: Layer already exists 06:14:15 8891d31bad80: Layer already exists 06:14:15 688a2967df62: Layer already exists 06:14:15 894fad857438: Layer already exists 06:14:15 da707bb00cb8: Layer already exists 06:14:15 latest: digest: sha256:ad933b542ec23751271ef32b1ae892690af38a4993bdcd18227bcb2b263aa09b size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:15 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.17 06:14:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:16 894fad857438: Preparing 06:14:16 a1b7c022c277: Preparing 06:14:16 d747ebc57d74: Preparing 06:14:16 8891d31bad80: Preparing 06:14:16 688a2967df62: Preparing 06:14:16 da707bb00cb8: Preparing 06:14:16 da707bb00cb8: Waiting 06:14:16 a1b7c022c277: Layer already exists 06:14:16 688a2967df62: Layer already exists 06:14:16 8891d31bad80: Layer already exists 06:14:16 d747ebc57d74: Layer already exists 06:14:16 894fad857438: Layer already exists 06:14:16 da707bb00cb8: Layer already exists 06:14:16 3.2.0-dev.17: digest: sha256:ad933b542ec23751271ef32b1ae892690af38a4993bdcd18227bcb2b263aa09b size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 06:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:17 894fad857438: Preparing 06:14:17 a1b7c022c277: Preparing 06:14:17 d747ebc57d74: Preparing 06:14:17 8891d31bad80: Preparing 06:14:17 688a2967df62: Preparing 06:14:17 da707bb00cb8: Preparing 06:14:17 da707bb00cb8: Waiting 06:14:17 894fad857438: Layer already exists 06:14:17 d747ebc57d74: Layer already exists 06:14:17 688a2967df62: Layer already exists 06:14:17 8891d31bad80: Layer already exists 06:14:17 a1b7c022c277: Layer already exists 06:14:17 da707bb00cb8: Layer already exists 06:14:17 d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17: digest: sha256:ad933b542ec23751271ef32b1ae892690af38a4993bdcd18227bcb2b263aa09b size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:14:17 894fad857438: Preparing 06:14:17 a1b7c022c277: Preparing 06:14:17 d747ebc57d74: Preparing 06:14:17 8891d31bad80: Preparing 06:14:17 688a2967df62: Preparing 06:14:17 da707bb00cb8: Preparing 06:14:17 da707bb00cb8: Waiting 06:14:17 894fad857438: Layer already exists 06:14:17 a1b7c022c277: Layer already exists 06:14:17 d747ebc57d74: Layer already exists 06:14:17 688a2967df62: Layer already exists 06:14:17 8891d31bad80: Layer already exists 06:14:17 da707bb00cb8: Layer already exists 06:14:17 main: digest: sha256:ad933b542ec23751271ef32b1ae892690af38a4993bdcd18227bcb2b263aa09b size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:14:18 ===================================================== [Pipeline] echo 06:14:18 taggedImages: 06:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d71636c60b8b9ed9f948421f9983ca52d9baac39 06:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.17 06:14:18 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d71636c60b8b9ed9f948421f9983ca52d9baac39-3.2.0-dev.17 06:14:18 - 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 06:14:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:18 06:14:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:19 arm64: Pulling from edgex-lftools-log-publisher 06:14:19 8998bd30e6a1: Pulling fs layer 06:14:19 04944245beec: Pulling fs layer 06:14:19 699f458cf7ca: Pulling fs layer 06:14:19 765212b225bb: Pulling fs layer 06:14:19 f23df028b6ca: Pulling fs layer 06:14:19 d65c8cfc05b1: Pulling fs layer 06:14:19 2437ff75d9bd: Pulling fs layer 06:14:19 f23df028b6ca: Waiting 06:14:19 d65c8cfc05b1: Waiting 06:14:19 2437ff75d9bd: Waiting 06:14:19 765212b225bb: Waiting 06:14:19 04944245beec: Verifying Checksum 06:14:19 04944245beec: Download complete 06:14:19 765212b225bb: Verifying Checksum 06:14:19 765212b225bb: Download complete 06:14:19 f23df028b6ca: Verifying Checksum 06:14:19 f23df028b6ca: Download complete 06:14:19 d65c8cfc05b1: Verifying Checksum 06:14:19 d65c8cfc05b1: Download complete 06:14:19 699f458cf7ca: Verifying Checksum 06:14:19 699f458cf7ca: Download complete 06:14:19 8998bd30e6a1: Verifying Checksum 06:14:19 8998bd30e6a1: Download complete 06:14:22 2437ff75d9bd: Verifying Checksum 06:14:22 2437ff75d9bd: Download complete 06:14:25 8998bd30e6a1: Pull complete 06:14:25 04944245beec: Pull complete 06:14:26 699f458cf7ca: Pull complete 06:14:26 765212b225bb: Pull complete 06:14:27 f23df028b6ca: Pull complete 06:14:27 d65c8cfc05b1: Pull complete 06:14:46 2437ff75d9bd: Pull complete 06:14:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:14:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:14:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-5715 does not seem to be running inside a container 06:14:46 $ 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/156 -v /w/workspace/device-modbus-go/156:/w/workspace/device-modbus-go/156:rw,z -v /w/workspace/device-modbus-go/156@tmp:/w/workspace/device-modbus-go/156@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 06:14:48 $ docker top 9ad88addc627bea991de2e73417c32b5669240ace67d4b5cf252c31f36090104 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:49 ---> job-cost.sh 06:14:49 lf-activate-venv: SKIPPING 06:14:49 INFO: No Stack... 06:14:50 INFO: Retrieving Pricing Info for: v3-standard-4 06:14:50 INFO: Archiving Costs [Pipeline] sh 06:14:51 + cat /w/workspace/device-modbus-go/156/archives/cost.csv 06:14:51 + cut -d, -f6 [Pipeline] lock 06:14:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] 06:14:51 Resource [jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] did not exist. Created. 06:14:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:14:52 /w/workspace/device-modbus-go/156@tmp/durable-dbc401e0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:14:52 + echo total: 0.10999999940395355 [Pipeline] stash 06:14:52 Warning: overwriting stash ‘stack-cost’ 06:14:53 Stashed 1 file(s) [Pipeline] } 06:14:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 06:14:53 $ docker stop --time=1 9ad88addc627bea991de2e73417c32b5669240ace67d4b5cf252c31f36090104 06:14:54 $ docker rm -f --volumes 9ad88addc627bea991de2e73417c32b5669240ace67d4b5cf252c31f36090104 [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 06:14:55 provisioning config files... 06:14:55 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1450508983268047920tmp [Pipeline] { [Pipeline] sh 06:14:55 + set +x 06:14:55 + + bash -s -- 06:14:55 curl -s https://codecov.io/bash 06:14:55 06:14:55 _____ _ 06:14:55 / ____| | | 06:14:55 | | ___ __| | ___ ___ _____ __ 06:14:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:14:55 | |___| (_) | (_| | __/ (_| (_) \ V / 06:14:55 \_____\___/ \__,_|\___|\___\___/ \_/ 06:14:55 Bash-1.0.6 06:14:55 06:14:55 06:14:55 ==> git version 2.25.1 found 06:14:55 ==> 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 06:14:55 Release-Date: 2020-01-08 06:14:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:14:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:14:55 ==> Jenkins CI detected. 06:14:55 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:14:55 project root: . 06:14:55 --> token set from env 06:14:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:14:55 ==> Running gcov in . (disable via -X gcov) 06:14:55 ==> Python coveragepy not found 06:14:55 ==> Searching for coverage reports in: 06:14:55 + . 06:14:55 -> Found 1 reports 06:14:55 ==> Detecting git/mercurial file structure 06:14:55 ==> Reading reports 06:14:55 + ./coverage.out bytes=24601 06:14:55 ==> Appending adjustments 06:14:55 https://docs.codecov.io/docs/fixing-reports 06:14:55 + Found adjustments 06:14:55 ==> Gzipping contents 06:14:55 4.0K /tmp/codecov.MSYz4p.gz 06:14:55 ==> Uploading reports 06:14:55 url: https://codecov.io 06:14:55 query: branch=main&commit=d71636c60b8b9ed9f948421f9983ca52d9baac39&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:14:55 -> Pinging Codecov 06:14:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d71636c60b8b9ed9f948421f9983ca52d9baac39&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:14:55 -> Uploading to 06:14:55 https://storage.googleapis.com/codecov/v4/raw/2024-07-16/55DBCA73C666E3227836607328DD7E49/d71636c60b8b9ed9f948421f9983ca52d9baac39/a5278572-c2a7-49c2-aa0b-6e5203cf225c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T061455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10a5800ddc43469dbdc25c880a54484cd1092d5cc575e3fccbc3732c8511f372 06:14:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:55 Dload Upload Total Spent Left Speed 06:14:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15011 --:--:-- --:--:-- --:--:-- 15011 06:14:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] } 06:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:14:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:14:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:14:56 06:14:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:14:56 latest: Pulling from edgex-devops/edgex-snyk-go 06:14:56 619be1103602: Already exists 06:14:56 f8ea3408117e: Pulling fs layer 06:14:56 91320369b822: Pulling fs layer 06:14:56 0406650e8295: Pulling fs layer 06:14:56 4f4fb700ef54: Pulling fs layer 06:14:56 96d80e3f36e1: Pulling fs layer 06:14:56 bcf3aedb951c: Pulling fs layer 06:14:56 96d80e3f36e1: Waiting 06:14:56 bcf3aedb951c: Waiting 06:14:56 4f4fb700ef54: Waiting 06:14:56 0406650e8295: Verifying Checksum 06:14:56 0406650e8295: Download complete 06:14:56 f8ea3408117e: Verifying Checksum 06:14:56 f8ea3408117e: Download complete 06:14:56 4f4fb700ef54: Verifying Checksum 06:14:56 4f4fb700ef54: Download complete 06:14:56 f8ea3408117e: Pull complete 06:14:57 96d80e3f36e1: Verifying Checksum 06:14:57 96d80e3f36e1: Download complete 06:14:57 91320369b822: Verifying Checksum 06:14:57 91320369b822: Download complete 06:14:57 bcf3aedb951c: Verifying Checksum 06:14:57 bcf3aedb951c: Download complete 06:15:00 91320369b822: Pull complete 06:15:00 0406650e8295: Pull complete 06:15:00 4f4fb700ef54: Pull complete 06:15:00 96d80e3f36e1: Pull complete 06:15:03 bcf3aedb951c: Pull complete 06:15:03 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 06:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:15:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:03 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:15:03 $ 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:latest cat 06:15:07 $ docker top a40161c92c9478faf8a49537b71824eff01c9ff4e9fb77fc6a01f44597e49d99 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:15:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:15:08 + set -o pipefail 06:15:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:15:16 06:15:16 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:15:16 06:15:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/be1ebc55-5252-4a9c-86ac-ae23d876b556 06:15:16 06:15:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:15:16 06:15:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:15:16 [Pipeline] } 06:15:16 $ docker stop --time=1 a40161c92c9478faf8a49537b71824eff01c9ff4e9fb77fc6a01f44597e49d99 06:15:21 $ docker rm -f --volumes a40161c92c9478faf8a49537b71824eff01c9ff4e9fb77fc6a01f44597e49d99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:15:22 + git log --format=format:%s -1 d71636c60b8b9ed9f948421f9983ca52d9baac39 [Pipeline] sh 06:15:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:22 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:15:22 $ 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 06:15:23 $ docker top c9299de662744d07fb5badd7dbce3b24699ca877a8bb53a82880bfa33df429ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:23 [ssh-agent] Looking for ssh-agent implementation... 06:15:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:23 $ docker exec c9299de662744d07fb5badd7dbce3b24699ca877a8bb53a82880bfa33df429ef ssh-agent 06:15:23 SSH_AUTH_SOCK=/tmp/ssh-Vxgv5hI7uUi8/agent.32 06:15:23 SSH_AGENT_PID=38 06:15:23 Running ssh-add (command line suppressed) 06:15:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10784678413564675195.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10784678413564675195.key) 06:15:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:24 + git semver tag 06:15:24 2024-07-16 06:15:24,274 [run_tag] DEBUG tag force:False 06:15:24 2024-07-16 06:15:24,274 [check_head_tag] DEBUG check head tag 06:15:24 2024-07-16 06:15:24,275 [execute] INFO git cat-file --batch-check 06:15:24 2024-07-16 06:15:24,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:15:24 2024-07-16 06:15:24,278 [execute] INFO git cat-file --batch 06:15:24 2024-07-16 06:15:24,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:15:24 2024-07-16 06:15:24,298 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:24 2024-07-16 06:15:24,298 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 06:15:24 2024-07-16 06:15:24,298 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.17', '-m', 'v3.2.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:15:24 2024-07-16 06:15:24,303 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:24 3.2.0-dev.17 [Pipeline] } 06:15:24 $ docker exec --env ******** --env ******** c9299de662744d07fb5badd7dbce3b24699ca877a8bb53a82880bfa33df429ef ssh-agent -k 06:15:24 unset SSH_AUTH_SOCK; 06:15:24 unset SSH_AGENT_PID; 06:15:24 echo Agent pid 38 killed; 06:15:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:24 + git semver [Pipeline] } 06:15:25 $ docker stop --time=1 c9299de662744d07fb5badd7dbce3b24699ca877a8bb53a82880bfa33df429ef 06:15:26 $ docker rm -f --volumes c9299de662744d07fb5badd7dbce3b24699ca877a8bb53a82880bfa33df429ef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:15:26 06:15:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:15:27 0.23.1-centos7: Pulling from edgex-lftools 06:15:27 ab5ef0e58194: Pulling fs layer 06:15:27 9712f1f96733: Pulling fs layer 06:15:27 63f879dbbcfc: Pulling fs layer 06:15:27 0d9ebad4ef96: Pulling fs layer 06:15:27 e9a5061849ea: Pulling fs layer 06:15:27 d747dcd14b5f: Pulling fs layer 06:15:27 2de7ff778b66: Pulling fs layer 06:15:27 e9a5061849ea: Waiting 06:15:27 d747dcd14b5f: Waiting 06:15:27 2de7ff778b66: Waiting 06:15:27 0d9ebad4ef96: Waiting 06:15:27 9712f1f96733: Verifying Checksum 06:15:27 9712f1f96733: Download complete 06:15:27 63f879dbbcfc: Verifying Checksum 06:15:27 63f879dbbcfc: Download complete 06:15:27 e9a5061849ea: Verifying Checksum 06:15:27 e9a5061849ea: Download complete 06:15:27 d747dcd14b5f: Verifying Checksum 06:15:27 d747dcd14b5f: Download complete 06:15:27 ab5ef0e58194: Verifying Checksum 06:15:27 ab5ef0e58194: Download complete 06:15:27 0d9ebad4ef96: Verifying Checksum 06:15:27 0d9ebad4ef96: Download complete 06:15:27 2de7ff778b66: Download complete 06:15:30 ab5ef0e58194: Pull complete 06:15:30 9712f1f96733: Pull complete 06:15:30 63f879dbbcfc: Pull complete 06:15:35 0d9ebad4ef96: Pull complete 06:15:35 e9a5061849ea: Pull complete 06:15:35 d747dcd14b5f: Pull complete 06:15:36 2de7ff778b66: Pull complete 06:15:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:15:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:36 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:15:36 $ 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 06:15:41 $ docker top e7235966e1a8bd6285e7bedb3b31db9cdfe4a88491559365b319446d71c92847 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:15:41 provisioning config files... 06:15:41 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5369115916921092720tmp 06:15:41 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17598666548699077319tmp 06:15:41 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9398432288199102573tmp [Pipeline] { [Pipeline] echo 06:15:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:15:41 ---> sigul-configuration.sh 06:15:41 gpg: directory `/root/.gnupg' created 06:15:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:15:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:15:41 gpg: keyring `/root/.gnupg/secring.gpg' created 06:15:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:15:41 gpg: CAST5 encrypted data 06:15:41 gpg: encrypted with 1 passphrase 06:15:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:15:42 + mkdir /home/jenkins 06:15:42 + mkdir /home/jenkins/sigul [Pipeline] sh 06:15:42 + 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 06:15:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:42 ---> sigul-install.sh 06:15:42 Sigul already installed; skipping installation. [Pipeline] sh 06:15:42 + git tag --list 06:15:42 0.7.1 06:15:42 v1.0.0 06:15:42 v1.1.0 06:15:42 v1.1.1 06:15:42 v1.2.2 06:15:42 v1.3.0 06:15:42 v1.3.1 06:15:42 v2.0.0 06:15:42 v2.1.0 06:15:42 v2.1.1 06:15:42 v2.2.0 06:15:42 v2.3.0 06:15:42 v3.0 06:15:42 v3.0.0 06:15:42 v3.1 06:15:42 v3.1.0 06:15:42 v3.1.0-dev.1 06:15:42 v3.1.0-dev.10 06:15:42 v3.1.0-dev.11 06:15:42 v3.1.0-dev.12 06:15:42 v3.1.0-dev.13 06:15:42 v3.1.0-dev.14 06:15:42 v3.1.0-dev.15 06:15:42 v3.1.0-dev.16 06:15:42 v3.1.0-dev.17 06:15:42 v3.1.0-dev.18 06:15:42 v3.1.0-dev.19 06:15:42 v3.1.0-dev.2 06:15:42 v3.1.0-dev.20 06:15:42 v3.1.0-dev.21 06:15:42 v3.1.0-dev.22 06:15:42 v3.1.0-dev.23 06:15:42 v3.1.0-dev.24 06:15:42 v3.1.0-dev.25 06:15:42 v3.1.0-dev.3 06:15:42 v3.1.0-dev.4 06:15:42 v3.1.0-dev.5 06:15:42 v3.1.0-dev.6 06:15:42 v3.1.0-dev.7 06:15:42 v3.1.0-dev.8 06:15:42 v3.1.0-dev.9 06:15:42 v3.1.1 06:15:42 v3.1.1-dev.1 06:15:42 v3.2.0-dev.1 06:15:42 v3.2.0-dev.10 06:15:42 v3.2.0-dev.11 06:15:42 v3.2.0-dev.12 06:15:42 v3.2.0-dev.13 06:15:42 v3.2.0-dev.14 06:15:42 v3.2.0-dev.15 06:15:42 v3.2.0-dev.16 06:15:42 v3.2.0-dev.17 06:15:42 v3.2.0-dev.2 06:15:42 v3.2.0-dev.3 06:15:42 v3.2.0-dev.4 06:15:42 v3.2.0-dev.5 06:15:42 v3.2.0-dev.6 06:15:42 v3.2.0-dev.7 06:15:42 v3.2.0-dev.8 06:15:42 v3.2.0-dev.9 [Pipeline] sh 06:15:43 + lftools sign git-tag v3.2.0-dev.17 06:15:43 Signing Git tag with Sigul... 06:15:43 Signing v3.2.0-dev.17 [Pipeline] echo 06:15:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:15:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:15:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:15:44 $ docker stop --time=1 e7235966e1a8bd6285e7bedb3b31db9cdfe4a88491559365b319446d71c92847 06:15:45 $ docker rm -f --volumes e7235966e1a8bd6285e7bedb3b31db9cdfe4a88491559365b319446d71c92847 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:15:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:46 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:15:46 $ 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 06:15:46 $ docker top c35b64f966b7887ddc24bfe88ebc76ed99d84f1c15ddd0d73089506d2854b1ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:47 [ssh-agent] Looking for ssh-agent implementation... 06:15:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:47 $ docker exec c35b64f966b7887ddc24bfe88ebc76ed99d84f1c15ddd0d73089506d2854b1ef ssh-agent 06:15:47 SSH_AUTH_SOCK=/tmp/ssh-lpHofGYQUcA2/agent.34 06:15:47 SSH_AGENT_PID=40 06:15:47 Running ssh-add (command line suppressed) 06:15:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2248341775396483424.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2248341775396483424.key) 06:15:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:47 + git semver bump pre 06:15:47 2024-07-16 06:15:47,884 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:47 2024-07-16 06:15:47,884 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev 06:15:47 2024-07-16 06:15:47,884 [bump_version] DEBUG bumped version:3.2.0-dev.18 06:15:47 2024-07-16 06:15:47,884 [write_version] DEBUG write version:3.2.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:15:47 2024-07-16 06:15:47,884 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:47 2024-07-16 06:15:47,884 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:47 2024-07-16 06:15:47,886 [execute] INFO git cat-file --batch-check 06:15:47 2024-07-16 06:15:47,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:15:47 2024-07-16 06:15:47,891 [execute] INFO git cat-file --batch 06:15:47 2024-07-16 06:15:47,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:15:47 2024-07-16 06:15:47,897 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:47 3.2.0-dev.18 [Pipeline] } 06:15:47 $ docker exec --env ******** --env ******** c35b64f966b7887ddc24bfe88ebc76ed99d84f1c15ddd0d73089506d2854b1ef ssh-agent -k 06:15:48 unset SSH_AUTH_SOCK; 06:15:48 unset SSH_AGENT_PID; 06:15:48 echo Agent pid 40 killed; 06:15:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:48 + git semver [Pipeline] } 06:15:48 $ docker stop --time=1 c35b64f966b7887ddc24bfe88ebc76ed99d84f1c15ddd0d73089506d2854b1ef 06:15:50 $ docker rm -f --volumes c35b64f966b7887ddc24bfe88ebc76ed99d84f1c15ddd0d73089506d2854b1ef [Pipeline] // withDockerContainer [Pipeline] sh 06:15:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:50 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:15:50 $ 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 06:15:51 $ docker top f21ce66b8a09130c2151ba46808969d01f34b07d2fcce4a33f9c222192a42544 -eo pid,comm 06:15:51 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). 06:15:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:51 [ssh-agent] Looking for ssh-agent implementation... 06:15:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:51 $ docker exec f21ce66b8a09130c2151ba46808969d01f34b07d2fcce4a33f9c222192a42544 ssh-agent 06:15:51 SSH_AUTH_SOCK=/tmp/ssh-j3dcJM0sayiz/agent.32 06:15:51 SSH_AGENT_PID=38 06:15:51 Running ssh-add (command line suppressed) 06:15:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15945935032830562049.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15945935032830562049.key) 06:15:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:51 + git semver push 06:15:52 2024-07-16 06:15:52,085 [run_push] DEBUG push 06:15:52 2024-07-16 06:15:52,085 [execute] INFO git cat-file --batch-check 06:15:52 2024-07-16 06:15:52,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:15:52 2024-07-16 06:15:52,090 [execute] INFO git rev-list fc897525dfcf8dcd33f15dbb54a910d299b306e1 -- 06:15:52 2024-07-16 06:15:52,090 [execute] DEBUG Popen(['git', 'rev-list', 'fc897525dfcf8dcd33f15dbb54a910d299b306e1', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:15:52 2024-07-16 06:15:52,099 [execute] INFO git fetch -v origin 06:15:52 2024-07-16 06:15:52,099 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:15:52 2024-07-16 06:15:52,540 [run_push] DEBUG no remote changes detected 06:15:52 2024-07-16 06:15:52,541 [execute] INFO git push origin semver 06:15:52 2024-07-16 06:15:52,541 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:15:53 2024-07-16 06:15:53,418 [run_push] DEBUG push all version tags 06:15:53 2024-07-16 06:15:53,419 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:15:53 2024-07-16 06:15:53,419 [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) 06:15:54 2024-07-16 06:15:54,127 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:15:54 3.2.0-dev.18 [Pipeline] } 06:15:54 $ docker exec --env ******** --env ******** f21ce66b8a09130c2151ba46808969d01f34b07d2fcce4a33f9c222192a42544 ssh-agent -k 06:15:54 unset SSH_AUTH_SOCK; 06:15:54 unset SSH_AGENT_PID; 06:15:54 echo Agent pid 38 killed; 06:15:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:54 + git semver [Pipeline] } 06:15:54 $ docker stop --time=1 f21ce66b8a09130c2151ba46808969d01f34b07d2fcce4a33f9c222192a42544 06:15:56 $ docker rm -f --volumes f21ce66b8a09130c2151ba46808969d01f34b07d2fcce4a33f9c222192a42544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:15:56 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:15:56 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:15:56 total 16 06:15:56 drwxr-xr-x 3 root root 4096 Jul 16 06:03 . 06:15:56 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 06:15 .. 06:15:56 drwxr-xr-x 2 root root 4096 Jul 16 06:03 cost 06:15:56 -rw-r--r-- 1 root root 88 Jul 16 06:03 cost.csv 06:15:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:15:56 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:15:56 total 16 06:15:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 06:03 . 06:15:56 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 06:15 .. 06:15:56 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 06:03 cost 06:15:56 -rw-r--r-- 1 jenkins jenkins 88 Jul 16 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:58 ---> package-listing.sh 06:15:58 ++ facter osfamily 06:15:58 ++ tr '[:upper:]' '[:lower:]' 06:15:58 + OS_FAMILY=debian 06:15:58 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:15:58 + START_PACKAGES=/tmp/packages_start.txt 06:15:58 + END_PACKAGES=/tmp/packages_end.txt 06:15:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:58 + PACKAGES=/tmp/packages_start.txt 06:15:58 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:15:58 + PACKAGES=/tmp/packages_end.txt 06:15:58 + case "${OS_FAMILY}" in 06:15:58 + dpkg -l 06:15:58 + grep '^ii' 06:15:58 + '[' -f /tmp/packages_start.txt ']' 06:15:58 + '[' -f /tmp/packages_end.txt ']' 06:15:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:58 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:15:58 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:15:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:15:58 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 06:15:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:59 prd-ubuntu20.04-docker-8c-8g-5713 does not seem to be running inside a container 06:15:59 $ 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 06:15:59 $ docker top cb3375355d55dd490ca6c1c1fdafb5b803f5e1a2f6aaaa1ed57c76b9bf8ab70e -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:16:00 + mkdir -p /var/log/sysstat [Pipeline] sh 06:16:00 + ls /var/log/sa-host 06:16:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:00 provisioning config files... 06:16:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3586239534631131453tmp [Pipeline] { [Pipeline] echo 06:16:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:16:00 ---> create-netrc.sh [Pipeline] } 06:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:16:01 ---> python-tools-install.sh [Pipeline] echo 06:16:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:16:01 ---> sudo-logs.sh 06:16:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:16:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:16:01 ---> job-cost.sh 06:16:01 lf-activate-venv: SKIPPING 06:16:01 DEBUG: total: 0.2199999988079071 06:16:01 INFO: Retrieving Stack Cost... 06:16:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:02 INFO: Archiving Costs [Pipeline] echo 06:16:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:16:02 ---> logs-deploy.sh 06:16:02 lf-activate-venv: SKIPPING 06:16:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/156 06:16:02 INFO: archiving workspace using pattern(s): 06:16:03 Archives upload complete. 06:16:03 INFO: archiving logs to Nexus