Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f15f281678cccf9a75033b18da75fe627dd9e87 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-ssh14088698137690527850.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh8762817734733463380.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh12549896586808558464.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh1056397339374556640.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-ssh7465669805875637161.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41036 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 2f15f281678cccf9a75033b18da75fe627dd9e87 (main) Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" > 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 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 > git rev-list --no-walk 1571cd281177acf178a7c7817f8e90373c2c7062 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:04:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:04:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:04:11 ========================================================= 06:04:11 EdgeX Global Pipelines Version Info 06:04:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:04:12 ------------------- 06:04:12 stable info: 06:04:12 ------------------- 06:04:12 Commited By: Cherry Wang cherry@iotechsys.com 06:04:12 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 06:04:12 Message: update stable to v1.0.271 06:04:12 ------------------- 06:04:12 experimental info: 06:04:12 ------------------- 06:04:12 Commited By: **** collab-it+edgex@linuxfoundation.org 06:04:12 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 06:04:12 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:04:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f15f28 [Pipeline] echo 06:04:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:13 provisioning config files... 06:04:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17153502524403249039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:13 ---> ****-login.sh 06:04:13 nexus3.edgexfoundry.org:10001 06:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:14 Configure a credential helper to remove this warning. See 06:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:14 06:04:14 Login Succeeded 06:04:14 nexus3.edgexfoundry.org:10002 06:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:14 Configure a credential helper to remove this warning. See 06:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:14 06:04:14 Login Succeeded 06:04:14 nexus3.edgexfoundry.org:10003 06:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:14 Configure a credential helper to remove this warning. See 06:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:14 06:04:14 Login Succeeded 06:04:14 nexus3.edgexfoundry.org:10004 06:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:14 Configure a credential helper to remove this warning. See 06:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:14 06:04:14 Login Succeeded 06:04:14 ****.io 06:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:14 Configure a credential helper to remove this warning. See 06:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:14 06:04:14 Login Succeeded 06:04:14 ---> ****-login.sh ends [Pipeline] } 06:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:04:15 + git rev-list -1 --merges 2f15f281678cccf9a75033b18da75fe627dd9e87~1..2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 06:04:15 -----------> git rev-list -1 --merges 2f15f281678cccf9a75033b18da75fe627dd9e87~1..2f15f281678cccf9a75033b18da75fe627dd9e87 2f15f281678cccf9a75033b18da75fe627dd9e87 06:04:15 2f15f281678cccf9a75033b18da75fe627dd9e87 [false] [Pipeline] sh 06:04:15 + git log --format=format:%s -1 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 06:04:15 ========================================================= 06:04:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:04:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:15 + git log --format=format:%s -1 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] echo 06:04:15 [semverPrep] GIT_COMMIT: 2f15f281678cccf9a75033b18da75fe627dd9e87, Commit Message: Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0 [Pipeline] echo 06:04:15 [semverPrep] This is not a build commit. [Pipeline] sh 06:04:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:04:16 + grep -v github /etc/ssh/ssh_known_hosts 06:04:16 + [ -e /tmp/ssh_known_hosts ] 06:04:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:04:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:04:16 + sudo tee -a /etc/ssh/ssh_known_hosts 06:04:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:16 06:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:16 0.1.4: Pulling from edgex-devops/py-git-semver 06:04:16 b85a868b505f: Pulling fs layer 06:04:16 e2be974225ed: Pulling fs layer 06:04:16 339a4e72a1f5: Pulling fs layer 06:04:16 988bab9f4d93: Pulling fs layer 06:04:16 1469e6f7b9e6: Pulling fs layer 06:04:16 eaf3925da568: Pulling fs layer 06:04:16 bab4dde63d76: Pulling fs layer 06:04:16 bde34c3a00c8: Pulling fs layer 06:04:16 b352a97aabf1: Pulling fs layer 06:04:16 4872d77fe225: Pulling fs layer 06:04:16 5851b861e8e6: Pulling fs layer 06:04:16 bab4dde63d76: Waiting 06:04:16 4872d77fe225: Waiting 06:04:16 bde34c3a00c8: Waiting 06:04:16 b352a97aabf1: Waiting 06:04:16 5851b861e8e6: Waiting 06:04:16 1469e6f7b9e6: Waiting 06:04:16 eaf3925da568: Waiting 06:04:16 988bab9f4d93: Waiting 06:04:16 e2be974225ed: Download complete 06:04:16 988bab9f4d93: Verifying Checksum 06:04:16 988bab9f4d93: Download complete 06:04:16 1469e6f7b9e6: Verifying Checksum 06:04:16 1469e6f7b9e6: Download complete 06:04:16 eaf3925da568: Download complete 06:04:17 339a4e72a1f5: Verifying Checksum 06:04:17 339a4e72a1f5: Download complete 06:04:17 bde34c3a00c8: Verifying Checksum 06:04:17 bde34c3a00c8: Download complete 06:04:17 b352a97aabf1: Verifying Checksum 06:04:17 b352a97aabf1: Download complete 06:04:17 4872d77fe225: Verifying Checksum 06:04:17 4872d77fe225: Download complete 06:04:17 5851b861e8e6: Verifying Checksum 06:04:17 5851b861e8e6: Download complete 06:04:17 b85a868b505f: Verifying Checksum 06:04:17 b85a868b505f: Download complete 06:04:17 bab4dde63d76: Verifying Checksum 06:04:17 bab4dde63d76: Download complete 06:04:18 b85a868b505f: Pull complete 06:04:18 e2be974225ed: Pull complete 06:04:18 339a4e72a1f5: Pull complete 06:04:18 988bab9f4d93: Pull complete 06:04:19 1469e6f7b9e6: Pull complete 06:04:19 eaf3925da568: Pull complete 06:04:20 bab4dde63d76: Pull complete 06:04:20 bde34c3a00c8: Pull complete 06:04:20 b352a97aabf1: Pull complete 06:04:20 4872d77fe225: Pull complete 06:04:20 5851b861e8e6: Pull complete 06:04:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:04:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:21 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:04:22 $ docker top fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba -eo pid,comm 06:04:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:04:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:22 [ssh-agent] Looking for ssh-agent implementation... 06:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:23 $ docker exec fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba ssh-agent 06:04:23 SSH_AUTH_SOCK=/tmp/ssh-wzYJ3WWEUtDg/agent.32 06:04:23 SSH_AGENT_PID=38 06:04:23 Running ssh-add (command line suppressed) 06:04:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7195754829514134378.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7195754829514134378.key) 06:04:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:23 + git tag --points-at HEAD [Pipeline] } 06:04:23 $ docker exec --env ******** --env ******** fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba ssh-agent -k 06:04:23 unset SSH_AUTH_SOCK; 06:04:23 unset SSH_AGENT_PID; 06:04:23 echo Agent pid 38 killed; 06:04:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:23 [ssh-agent] Looking for ssh-agent implementation... 06:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:23 $ docker exec fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba ssh-agent 06:04:23 SSH_AUTH_SOCK=/tmp/ssh-ZYuVpOOb77vy/agent.71 06:04:23 SSH_AGENT_PID=77 06:04:23 Running ssh-add (command line suppressed) 06:04:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3020942204275663134.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3020942204275663134.key) 06:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:24 + git semver init 06:04:24 2025-03-12 06:04:24,464 [run_init] DEBUG init version:0.0.0 force:False 06:04:24 2025-03-12 06:04:24,465 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:04:24 2025-03-12 06:04:24,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:04:24 2025-03-12 06:04:24,466 [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:04:25 2025-03-12 06:04:25,592 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:04:25 2025-03-12 06:04:25,593 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:04:25 2025-03-12 06:04:25,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:04:25 2025-03-12 06:04:25,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:04:25 4.0.0-dev.21 [Pipeline] } 06:04:25 $ docker exec --env ******** --env ******** fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba ssh-agent -k 06:04:26 unset SSH_AUTH_SOCK; 06:04:26 unset SSH_AGENT_PID; 06:04:26 echo Agent pid 77 killed; 06:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:04:26 + git semver [Pipeline] } 06:04:26 $ docker stop --time=1 fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba 06:04:27 $ docker rm -f --volumes fd0fa88b2a82441f6e2d07dcd6091ac21c16aee7555bf1e2ea4d05be8a67c0ba [Pipeline] // withDockerContainer [Pipeline] sh 06:04:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:04:28 Stashed 1 file(s) [Pipeline] echo 06:04:28 [edgeXSemver]: initialized semver on version 4.0.0-dev.21 [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:04:28 provisioning config files... 06:04:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12234069328453980029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:28 ---> ****-login.sh 06:04:28 nexus3.edgexfoundry.org:10001 06:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:28 Configure a credential helper to remove this warning. See 06:04:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:28 06:04:28 Login Succeeded 06:04:28 nexus3.edgexfoundry.org:10002 06:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:28 Configure a credential helper to remove this warning. See 06:04:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:28 06:04:28 Login Succeeded 06:04:28 nexus3.edgexfoundry.org:10003 06:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:29 Configure a credential helper to remove this warning. See 06:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:29 06:04:29 Login Succeeded 06:04:29 nexus3.edgexfoundry.org:10004 06:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:29 Configure a credential helper to remove this warning. See 06:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:29 06:04:29 Login Succeeded 06:04:29 ****.io 06:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:04:29 Configure a credential helper to remove this warning. See 06:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:04:29 06:04:29 Login Succeeded 06:04:29 ---> ****-login.sh ends [Pipeline] } 06:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:04:29 ========================================================= 06:04:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:04:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:04:29 Sending build context to Docker daemon 18.2MB 06:04:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:04:29 Step 2/10 : FROM ${BASE} AS builder 06:04:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:29 da9db072f522: Pulling fs layer 06:04:29 6ef4a4ee8ca5: Pulling fs layer 06:04:29 06f05ace1117: Pulling fs layer 06:04:29 5fe327b54edc: Pulling fs layer 06:04:29 4f4fb700ef54: Pulling fs layer 06:04:29 92a5565b7b96: Pulling fs layer 06:04:29 ff9bb7016b71: Pulling fs layer 06:04:29 b67dba6c2c7d: Pulling fs layer 06:04:29 5fe327b54edc: Waiting 06:04:29 a813b0c90790: Pulling fs layer 06:04:29 4f4fb700ef54: Waiting 06:04:29 92a5565b7b96: Waiting 06:04:29 ff9bb7016b71: Waiting 06:04:29 b67dba6c2c7d: Waiting 06:04:29 a813b0c90790: Waiting 06:04:29 6ef4a4ee8ca5: Verifying Checksum 06:04:29 6ef4a4ee8ca5: Download complete 06:04:30 5fe327b54edc: Verifying Checksum 06:04:30 5fe327b54edc: Download complete 06:04:30 4f4fb700ef54: Verifying Checksum 06:04:30 4f4fb700ef54: Download complete 06:04:30 da9db072f522: Download complete 06:04:30 92a5565b7b96: Verifying Checksum 06:04:30 92a5565b7b96: Download complete 06:04:30 ff9bb7016b71: Verifying Checksum 06:04:30 ff9bb7016b71: Download complete 06:04:30 da9db072f522: Pull complete 06:04:30 6ef4a4ee8ca5: Pull complete 06:04:30 a813b0c90790: Verifying Checksum 06:04:30 06f05ace1117: Verifying Checksum 06:04:30 06f05ace1117: Download complete 06:04:30 b67dba6c2c7d: Verifying Checksum 06:04:30 b67dba6c2c7d: Download complete 06:04:34 06f05ace1117: Pull complete 06:04:34 5fe327b54edc: Pull complete 06:04:34 4f4fb700ef54: Pull complete 06:04:34 92a5565b7b96: Pull complete 06:04:34 ff9bb7016b71: Pull complete 06:04:36 b67dba6c2c7d: Pull complete 06:04:37 a813b0c90790: Pull complete 06:04:37 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 06:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:04:37 ---> 3ba60ce46760 06:04:37 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:04:39 ---> Running in 52655943f5c2 06:04:39 Removing intermediate container 52655943f5c2 06:04:39 ---> db89b6afa460 06:04:39 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:39 ---> Running in f15a3236ff08 06:04:39 Removing intermediate container f15a3236ff08 06:04:39 ---> 6be215e3aa7f 06:04:39 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:04:39 ---> Running in 667d34dbfd76 06:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:04:40 (1/8) Installing openssh-keygen (9.7_p1-r5) 06:04:40 (2/8) Installing libedit (20240517.3.1-r0) 06:04:40 (3/8) Installing openssh-client-common (9.7_p1-r5) 06:04:40 (4/8) Installing openssh-client-default (9.7_p1-r5) 06:04:40 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 06:04:40 (6/8) Installing openssh-server-common (9.7_p1-r5) 06:04:40 (7/8) Installing openssh-server (9.7_p1-r5) 06:04:40 (8/8) Installing openssh (9.7_p1-r5) 06:04:40 Executing busybox-1.36.1-r29.trigger 06:04:40 OK: 253 MiB in 66 packages 06:04:41 Removing intermediate container 667d34dbfd76 06:04:41 ---> f898cda0517a 06:04:41 Step 6/10 : WORKDIR /device-modbus-go 06:04:41 ---> Running in f96f2a91a759 06:04:41 Removing intermediate container f96f2a91a759 06:04:41 ---> e7af59b320cd 06:04:41 Step 7/10 : COPY go.mod vendor* ./ 06:04:41 ---> 44291a484fa9 06:04:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:41 ---> Running in 7fb0bf5656ed 06:04:43 Still waiting to schedule task 06:04:43 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:05:13 Removing intermediate container 7fb0bf5656ed 06:05:13 ---> d960ed57a4aa 06:05:13 Step 9/10 : COPY . . 06:05:13 ---> 534af5b677b4 06:05:13 Step 10/10 : RUN ${MAKE} 06:05:13 ---> Running in 56cc2b880784 06:05:13 noop 06:05:13 Removing intermediate container 56cc2b880784 06:05:13 ---> b4f8dc3fd3e7 06:05:13 Successfully built b4f8dc3fd3e7 06:05:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:13 + docker inspect -f . ci-base-image-x86_64 06:05:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:14 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:05:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:05:14 $ docker top 7affd33153958830d9546edbdd6a3e24c6ec08cbbe5227833e49b7e14701e25c -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:14 + go version 06:05:14 go version go1.23.4 linux/amd64 [Pipeline] } 06:05:14 $ docker stop --time=1 7affd33153958830d9546edbdd6a3e24c6ec08cbbe5227833e49b7e14701e25c 06:05:16 $ docker rm -f --volumes 7affd33153958830d9546edbdd6a3e24c6ec08cbbe5227833e49b7e14701e25c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:16 + docker inspect -f . ci-base-image-x86_64 06:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:16 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:05:16 $ docker top af295de1468806c6c3011f48c290ee957e7a0e2964d59b4a2c461d69761f7128 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:05:17 + make test 06:05:17 go test ./... -coverprofile=coverage.out 06:05:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:05:40 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:05:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 45.2% of statements 06:05:50 go vet ./... 06:05:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:56 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:05:56 $ docker stop --time=1 af295de1468806c6c3011f48c290ee957e7a0e2964d59b4a2c461d69761f7128 06:05:58 $ docker rm -f --volumes af295de1468806c6c3011f48c290ee957e7a0e2964d59b4a2c461d69761f7128 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:06:00 + ls -al . 06:06:00 total 260 06:06:00 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 06:05 . 06:06:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 06:04 .. 06:06:00 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 06:04 .dockerignore 06:06:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 06:05 .git 06:06:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 06:04 .github 06:06:00 -rw-rw-r-- 1 jenkins jenkins 266 Mar 12 06:04 .gitignore 06:06:00 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 06:04 .golangci.yml 06:06:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 06:04 .semver 06:06:00 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 12 06:04 Attribution.txt 06:06:00 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 12 06:04 CHANGELOG.md 06:06:00 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 12 06:04 Dockerfile 06:06:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 06:04 GOVERNANCE.md 06:06:00 -rw-rw-r-- 1 jenkins jenkins 658 Mar 12 06:04 Jenkinsfile 06:06:00 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 06:04 LICENSE 06:06:00 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 12 06:04 Makefile 06:06:00 -rw-rw-r-- 1 jenkins jenkins 622 Mar 12 06:04 OWNERS.md 06:06:00 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 12 06:04 README.md 06:06:00 -rw-rw-r-- 1 jenkins jenkins 12 Mar 12 06:04 VERSION 06:06:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 06:04 bin 06:06:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 06:04 cmd 06:06:00 -rw-r--r-- 1 jenkins jenkins 26862 Mar 12 06:05 coverage.out 06:06:00 -rw-rw-r-- 1 jenkins jenkins 6295 Mar 12 06:04 go.mod 06:06:00 -rw-rw-r-- 1 jenkins jenkins 86874 Mar 12 06:04 go.sum 06:06:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 06:04 internal 06:06:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 06:04 simulator 06:06:00 -rw-rw-r-- 1 jenkins jenkins 229 Mar 12 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:00 + 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=2f15f281678cccf9a75033b18da75fe627dd9e87 --label arch=amd64 --label version=4.0.0-dev.21 . 06:06:00 Sending build context to Docker daemon 18.23MB 06:06:00 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 06:06:00 Step 2/23 : FROM ${BASE} AS builder 06:06:00 ---> b4f8dc3fd3e7 06:06:00 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:06:00 ---> Running in 0b23fa4bad06 06:06:00 Removing intermediate container 0b23fa4bad06 06:06:00 ---> 889ed3e3edec 06:06:00 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:00 ---> Running in 237bb571c81b 06:06:00 Removing intermediate container 237bb571c81b 06:06:00 ---> f3323e3214d3 06:06:00 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:06:00 ---> Running in ade9ed7227e9 06:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:01 OK: 253 MiB in 66 packages 06:06:02 Removing intermediate container ade9ed7227e9 06:06:02 ---> b3e047148244 06:06:02 Step 6/23 : WORKDIR /device-modbus-go 06:06:02 ---> Running in 5c46a7188a2a 06:06:02 Removing intermediate container 5c46a7188a2a 06:06:02 ---> 14ac0ae76c0d 06:06:02 Step 7/23 : COPY go.mod vendor* ./ 06:06:02 ---> dab15744651f 06:06:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:02 ---> Running in 483adb789f55 06:06:02 Removing intermediate container 483adb789f55 06:06:02 ---> 0de416ba3a00 06:06:02 Step 9/23 : COPY . . 06:06:03 ---> c9bd14d39a5e 06:06:03 Step 10/23 : RUN ${MAKE} 06:06:03 ---> Running in 80434e30f577 06:06:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:06:35 Removing intermediate container 80434e30f577 06:06:35 ---> 0b50fd070ed9 06:06:35 Step 11/23 : FROM alpine:3.20 06:06:35 3.20: Pulling from library/alpine 06:06:35 0a9a5dfd008f: Pulling fs layer 06:06:35 0a9a5dfd008f: Download complete 06:06:35 0a9a5dfd008f: Pull complete 06:06:35 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:06:35 Status: Downloaded newer image for alpine:3.20 06:06:35 ---> ff221270b9fb 06:06:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 06:06:35 ---> Running in 48dd44bdc8d3 06:06:35 Removing intermediate container 48dd44bdc8d3 06:06:35 ---> 38eaf6f982e6 06:06:35 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:06:35 ---> Running in c7e8adf042a4 06:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:35 (1/1) Installing dumb-init (1.2.5-r3) 06:06:35 Executing busybox-1.36.1-r29.trigger 06:06:35 OK: 8 MiB in 15 packages 06:06:35 Removing intermediate container c7e8adf042a4 06:06:35 ---> b12243f0d4c9 06:06:35 Step 14/23 : RUN apk --no-cache upgrade 06:06:35 ---> Running in d1ed3ff5b495 06:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:36 OK: 8 MiB in 15 packages 06:06:36 Removing intermediate container d1ed3ff5b495 06:06:36 ---> c9e747f6f478 06:06:36 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:06:36 ---> 8ba808d0a5f6 06:06:36 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:06:37 ---> 89958be03117 06:06:37 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:06:37 ---> 8fd8ae6f7578 06:06:37 Step 18/23 : EXPOSE 59901 06:06:37 ---> Running in 0236361ef576 06:06:37 Removing intermediate container 0236361ef576 06:06:37 ---> 48dd2f086042 06:06:37 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:06:37 ---> Running in 359406010d20 06:06:37 Removing intermediate container 359406010d20 06:06:37 ---> ff15162ac8a2 06:06:37 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:06:37 ---> Running in ccf863c44bbf 06:06:37 Removing intermediate container ccf863c44bbf 06:06:37 ---> 4f22e18c03e7 06:06:37 Step 21/23 : LABEL arch=amd64 06:06:37 ---> Running in c67b4d1dbf97 06:06:37 Removing intermediate container c67b4d1dbf97 06:06:37 ---> bfe147d639f2 06:06:37 Step 22/23 : LABEL git_sha=2f15f281678cccf9a75033b18da75fe627dd9e87 06:06:37 ---> Running in b885cb60ff79 06:06:37 Removing intermediate container b885cb60ff79 06:06:37 ---> 1c8a213b4578 06:06:37 Step 23/23 : LABEL version=4.0.0-dev.21 06:06:37 ---> Running in 174fe705b3da 06:06:38 Removing intermediate container 174fe705b3da 06:06:38 ---> dadee8cf462e 06:06:38 [Warning] One or more build-args [ARCH] were not consumed 06:06:38 Successfully built dadee8cf462e 06:06:38 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:06:38 provisioning config files... 06:06:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7991130076274696039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:38 ---> ****-login.sh 06:06:38 nexus3.edgexfoundry.org:10001 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10002 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10003 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10004 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 ****.io 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 ---> ****-login.sh ends [Pipeline] } 06:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:06:39 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:06:39 2f15f281678cccf9a75033b18da75fe627dd9e87 06:06:39 latest 06:06:39 4.0.0-dev.21 06:06:39 2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 06:06:39 main 06:06:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:39 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 06:06:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:39 268b0f7b6e3c: Preparing 06:06:39 bf2cc0fac9d5: Preparing 06:06:39 29d5c017f3a2: Preparing 06:06:39 7b402d7169fb: Preparing 06:06:39 6be5974ff52a: Preparing 06:06:39 994456c4fd7b: Preparing 06:06:39 994456c4fd7b: Waiting 06:06:39 268b0f7b6e3c: Pushed 06:06:39 6be5974ff52a: Pushed 06:06:39 7b402d7169fb: Pushed 06:06:39 994456c4fd7b: Layer already exists 06:06:39 bf2cc0fac9d5: Pushed 06:06:44 29d5c017f3a2: Pushed 06:06:44 2f15f281678cccf9a75033b18da75fe627dd9e87: digest: sha256:ba2f05056189401bb8cb1d4ce7c8a3127cc1cf8d822aabb655017d59b4ce2947 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:06:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:44 268b0f7b6e3c: Preparing 06:06:44 bf2cc0fac9d5: Preparing 06:06:44 29d5c017f3a2: Preparing 06:06:44 7b402d7169fb: Preparing 06:06:44 6be5974ff52a: Preparing 06:06:44 994456c4fd7b: Preparing 06:06:44 268b0f7b6e3c: Layer already exists 06:06:44 29d5c017f3a2: Layer already exists 06:06:44 6be5974ff52a: Layer already exists 06:06:44 bf2cc0fac9d5: Layer already exists 06:06:44 7b402d7169fb: Layer already exists 06:06:44 994456c4fd7b: Layer already exists 06:06:44 latest: digest: sha256:ba2f05056189401bb8cb1d4ce7c8a3127cc1cf8d822aabb655017d59b4ce2947 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.21 06:06:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:45 268b0f7b6e3c: Preparing 06:06:45 bf2cc0fac9d5: Preparing 06:06:45 29d5c017f3a2: Preparing 06:06:45 7b402d7169fb: Preparing 06:06:45 6be5974ff52a: Preparing 06:06:45 994456c4fd7b: Preparing 06:06:45 994456c4fd7b: Waiting 06:06:45 29d5c017f3a2: Layer already exists 06:06:45 268b0f7b6e3c: Layer already exists 06:06:45 7b402d7169fb: Layer already exists 06:06:45 bf2cc0fac9d5: Layer already exists 06:06:45 6be5974ff52a: Layer already exists 06:06:45 994456c4fd7b: Layer already exists 06:06:45 4.0.0-dev.21: digest: sha256:ba2f05056189401bb8cb1d4ce7c8a3127cc1cf8d822aabb655017d59b4ce2947 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 06:06:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:46 268b0f7b6e3c: Preparing 06:06:46 bf2cc0fac9d5: Preparing 06:06:46 29d5c017f3a2: Preparing 06:06:46 7b402d7169fb: Preparing 06:06:46 6be5974ff52a: Preparing 06:06:46 994456c4fd7b: Preparing 06:06:46 994456c4fd7b: Waiting 06:06:46 6be5974ff52a: Layer already exists 06:06:46 7b402d7169fb: Layer already exists 06:06:46 bf2cc0fac9d5: Layer already exists 06:06:46 268b0f7b6e3c: Layer already exists 06:06:46 29d5c017f3a2: Layer already exists 06:06:46 994456c4fd7b: Layer already exists 06:06:46 2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21: digest: sha256:ba2f05056189401bb8cb1d4ce7c8a3127cc1cf8d822aabb655017d59b4ce2947 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:06:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:06:46 268b0f7b6e3c: Preparing 06:06:46 bf2cc0fac9d5: Preparing 06:06:46 29d5c017f3a2: Preparing 06:06:46 7b402d7169fb: Preparing 06:06:46 6be5974ff52a: Preparing 06:06:46 994456c4fd7b: Preparing 06:06:46 994456c4fd7b: Waiting 06:06:46 bf2cc0fac9d5: Layer already exists 06:06:46 268b0f7b6e3c: Layer already exists 06:06:46 29d5c017f3a2: Layer already exists 06:06:46 7b402d7169fb: Layer already exists 06:06:46 6be5974ff52a: Layer already exists 06:06:46 994456c4fd7b: Layer already exists 06:06:46 main: digest: sha256:ba2f05056189401bb8cb1d4ce7c8a3127cc1cf8d822aabb655017d59b4ce2947 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:06:46 ===================================================== [Pipeline] echo 06:06:46 taggedImages: 06:06:46 - nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87 06:06:46 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:06:46 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.21 06:06:46 - nexus3.edgexfoundry.org:10004/device-modbus:2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 06:06:46 - 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:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:47 06:06:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:47 latest: Pulling from edgex-lftools-log-publisher 06:06:47 5eb5b503b376: Pulling fs layer 06:06:47 5c69ac0246d0: Pulling fs layer 06:06:47 ec43610c2a17: Pulling fs layer 06:06:47 3a2ae6a8a46f: Pulling fs layer 06:06:47 33b1e0a273af: Pulling fs layer 06:06:47 5d3b04190fa2: Pulling fs layer 06:06:47 2f39f015ded8: Pulling fs layer 06:06:47 5d3b04190fa2: Waiting 06:06:47 33b1e0a273af: Waiting 06:06:47 3a2ae6a8a46f: Waiting 06:06:47 2f39f015ded8: Waiting 06:06:47 5c69ac0246d0: Verifying Checksum 06:06:47 5c69ac0246d0: Download complete 06:06:47 3a2ae6a8a46f: Download complete 06:06:47 33b1e0a273af: Verifying Checksum 06:06:47 33b1e0a273af: Download complete 06:06:47 5d3b04190fa2: Download complete 06:06:47 ec43610c2a17: Download complete 06:06:47 5eb5b503b376: Verifying Checksum 06:06:47 5eb5b503b376: Download complete 06:06:48 2f39f015ded8: Download complete 06:06:48 5eb5b503b376: Pull complete 06:06:49 5c69ac0246d0: Pull complete 06:06:49 ec43610c2a17: Pull complete 06:06:49 3a2ae6a8a46f: Pull complete 06:06:49 33b1e0a273af: Pull complete 06:06:49 5d3b04190fa2: Pull complete 06:06:54 2f39f015ded8: Pull complete 06:06:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:54 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:06:56 $ docker top c7901f5350d92e7845c7ff7c8213ddcaf1f8faa2648474cb02c1437334ba527e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:56 ---> job-cost.sh 06:06:56 lf-activate-venv: SKIPPING 06:06:56 INFO: No Stack... 06:06:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:57 INFO: Archiving Costs [Pipeline] sh 06:06:57 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:06:57 + cut -d, -f6 [Pipeline] lock 06:06:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] 06:06:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] did not exist. Created. 06:06:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:57 Stashed 1 file(s) [Pipeline] } 06:06:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:57 $ docker stop --time=1 c7901f5350d92e7845c7ff7c8213ddcaf1f8faa2648474cb02c1437334ba527e 06:06:59 $ docker rm -f --volumes c7901f5350d92e7845c7ff7c8213ddcaf1f8faa2648474cb02c1437334ba527e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:08:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41037 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:08:15 Running in /w/workspace/device-modbus-go/186 [Pipeline] { [Pipeline] checkout 06:08:18 The recommended git tool is: git 06:08:23 using credential edgex-jenkins-ssh 06:08:23 Cloning the remote Git repository 06:08:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:08:24 > git init /w/workspace/device-modbus-go/186 # timeout=10 06:08:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:08:24 > git --version # timeout=10 06:08:24 > git --version # 'git version 2.25.1' 06:08:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:08:26 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:08:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:08:27 Avoid second fetch 06:08:27 Checking out Revision 2f15f281678cccf9a75033b18da75fe627dd9e87 (main) 06:08:28 Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" 06:08:27 > git config core.sparsecheckout # timeout=10 06:08:27 > git checkout -f 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:08:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:33 Dload Upload Total Spent Left Speed 06:08:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 250k 0 --:--:-- --:--:-- --:--:-- 250k [Pipeline] sh 06:08:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:08:33 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 06:08:33 /etc/docker/daemon.new 06:08:33 { 06:08:33 "registry-mirrors": [ 06:08:33 "https://nexus3.edgexfoundry.org:10001" 06:08:33 ], 06:08:33 "bip": "10.250.0.254/24", 06:08:33 "hosts": [ 06:08:33 "tcp://0.0.0.0:5555", 06:08:33 "unix:///var/run/docker.sock" 06:08:33 ], 06:08:33 "mtu": 1458, 06:08:33 "selinux-enabled": true, 06:08:33 "seccomp-profile": "/etc/docker/seccomp.json" 06:08:33 } [Pipeline] sh 06:08:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:08:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:52 provisioning config files... 06:08:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/186@tmp/config2264811498739795493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:53 ---> ****-login.sh 06:08:53 nexus3.edgexfoundry.org:10001 06:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:53 Configure a credential helper to remove this warning. See 06:08:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:53 06:08:53 Login Succeeded 06:08:53 nexus3.edgexfoundry.org:10002 06:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:54 Configure a credential helper to remove this warning. See 06:08:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:54 06:08:54 Login Succeeded 06:08:54 nexus3.edgexfoundry.org:10003 06:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:54 Configure a credential helper to remove this warning. See 06:08:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:54 06:08:54 Login Succeeded 06:08:54 nexus3.edgexfoundry.org:10004 06:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:55 Configure a credential helper to remove this warning. See 06:08:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:55 06:08:55 Login Succeeded 06:08:55 ****.io 06:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:55 Configure a credential helper to remove this warning. See 06:08:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:55 06:08:55 Login Succeeded 06:08:55 ---> ****-login.sh ends [Pipeline] } 06:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:08:56 ========================================================= 06:08:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:08:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:08:56 Sending build context to Docker daemon 9.263MB 06:08:56 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:08:56 Step 2/10 : FROM ${BASE} AS builder 06:08:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:08:56 9986a736f7d3: Pulling fs layer 06:08:56 1f018df60701: Pulling fs layer 06:08:56 39f8f326b044: Pulling fs layer 06:08:56 e6a1e7a6a96a: Pulling fs layer 06:08:56 4f4fb700ef54: Pulling fs layer 06:08:56 d45d956e0dbf: Pulling fs layer 06:08:56 d7702b0d1db1: Pulling fs layer 06:08:56 5c7f0f088c93: Pulling fs layer 06:08:56 4fdc064ae6cf: Pulling fs layer 06:08:56 e6a1e7a6a96a: Waiting 06:08:56 4f4fb700ef54: Waiting 06:08:56 d45d956e0dbf: Waiting 06:08:56 d7702b0d1db1: Waiting 06:08:56 5c7f0f088c93: Waiting 06:08:56 4fdc064ae6cf: Waiting 06:08:56 1f018df60701: Verifying Checksum 06:08:56 1f018df60701: Download complete 06:08:56 e6a1e7a6a96a: Verifying Checksum 06:08:56 e6a1e7a6a96a: Download complete 06:08:56 4f4fb700ef54: Verifying Checksum 06:08:56 4f4fb700ef54: Download complete 06:08:57 d45d956e0dbf: Verifying Checksum 06:08:57 d45d956e0dbf: Download complete 06:08:57 9986a736f7d3: Download complete 06:08:57 d7702b0d1db1: Verifying Checksum 06:08:57 d7702b0d1db1: Download complete 06:08:57 4fdc064ae6cf: Verifying Checksum 06:08:57 4fdc064ae6cf: Download complete 06:08:58 9986a736f7d3: Pull complete 06:08:59 1f018df60701: Pull complete 06:08:59 39f8f326b044: Verifying Checksum 06:08:59 39f8f326b044: Download complete 06:09:00 5c7f0f088c93: Verifying Checksum 06:09:00 5c7f0f088c93: Download complete 06:09:15 39f8f326b044: Pull complete 06:09:15 e6a1e7a6a96a: Pull complete 06:09:15 4f4fb700ef54: Pull complete 06:09:15 d45d956e0dbf: Pull complete 06:09:15 d7702b0d1db1: Pull complete 06:09:23 5c7f0f088c93: Pull complete 06:09:24 4fdc064ae6cf: Pull complete 06:09:24 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:09:24 ---> 63f30b955cb9 06:09:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:09:25 ---> Running in 7150e7f6a5e6 06:09:25 Removing intermediate container 7150e7f6a5e6 06:09:25 ---> 6ed2f5797ab4 06:09:25 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:25 ---> Running in 272e1f83a82d 06:09:26 Removing intermediate container 272e1f83a82d 06:09:26 ---> f7a15e5555d6 06:09:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:09:26 ---> Running in 848852691f90 06:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:09:29 (1/8) Installing openssh-keygen (9.7_p1-r5) 06:09:29 (2/8) Installing libedit (20240517.3.1-r0) 06:09:29 (3/8) Installing openssh-client-common (9.7_p1-r5) 06:09:29 (4/8) Installing openssh-client-default (9.7_p1-r5) 06:09:29 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 06:09:29 (6/8) Installing openssh-server-common (9.7_p1-r5) 06:09:29 (7/8) Installing openssh-server (9.7_p1-r5) 06:09:29 (8/8) Installing openssh (9.7_p1-r5) 06:09:29 Executing busybox-1.36.1-r29.trigger 06:09:29 OK: 245 MiB in 66 packages 06:09:31 Removing intermediate container 848852691f90 06:09:31 ---> cb950d47c976 06:09:31 Step 6/10 : WORKDIR /device-modbus-go 06:09:31 ---> Running in 1ceaa983c24b 06:09:31 Removing intermediate container 1ceaa983c24b 06:09:31 ---> 95ef26699ad4 06:09:31 Step 7/10 : COPY go.mod vendor* ./ 06:09:32 ---> 7b206c82ba4c 06:09:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:32 ---> Running in 7543619078aa 06:11:09 Removing intermediate container 7543619078aa 06:11:09 ---> 036c087a3d21 06:11:09 Step 9/10 : COPY . . 06:11:10 ---> a8b6e05ddca9 06:11:10 Step 10/10 : RUN ${MAKE} 06:11:10 ---> Running in fc1da452169a 06:11:11 noop 06:11:12 Removing intermediate container fc1da452169a 06:11:12 ---> f074fbe914ba 06:11:12 Successfully built f074fbe914ba 06:11:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:12 + docker inspect -f . ci-base-image-arm64 06:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:12 prd-ubuntu20.04-docker-arm64-4c-16g-41037 does not seem to be running inside a container 06:11:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/186 -v /w/workspace/device-modbus-go/186:/w/workspace/device-modbus-go/186:rw,z -v /w/workspace/device-modbus-go/186@tmp:/w/workspace/device-modbus-go/186@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:11:14 $ docker top fc88de4a2b5b68541311bd6998ceda1e81b33a7b83e7dc7556eb10933ca229ce -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:14 + go version 06:11:14 go version go1.23.4 linux/arm64 [Pipeline] } 06:11:14 $ docker stop --time=1 fc88de4a2b5b68541311bd6998ceda1e81b33a7b83e7dc7556eb10933ca229ce 06:11:16 $ docker rm -f --volumes fc88de4a2b5b68541311bd6998ceda1e81b33a7b83e7dc7556eb10933ca229ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:17 + docker inspect -f . ci-base-image-arm64 06:11:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:17 prd-ubuntu20.04-docker-arm64-4c-16g-41037 does not seem to be running inside a container 06:11:17 $ 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/186 -v /w/workspace/device-modbus-go/186:/w/workspace/device-modbus-go/186:rw,z -v /w/workspace/device-modbus-go/186@tmp:/w/workspace/device-modbus-go/186@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:11:18 $ docker top 41822e67d9ab2ccf94e6087e8bb4277e8f1f0ce30711180f6cd5c77b1f1b7521 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:18 + git config --global --add safe.directory /w/workspace/device-modbus-go/186 [Pipeline] fileExists [Pipeline] sh 06:11:19 + make test 06:11:19 go test ./... -coverprofile=coverage.out 06:11:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:14:46 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:14:46 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 45.2% of statements 06:14:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:14:46 go vet ./... 06:15:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:15:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:15:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:15:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:15:33 $ docker stop --time=1 41822e67d9ab2ccf94e6087e8bb4277e8f1f0ce30711180f6cd5c77b1f1b7521 06:15:35 $ docker rm -f --volumes 41822e67d9ab2ccf94e6087e8bb4277e8f1f0ce30711180f6cd5c77b1f1b7521 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:15:37 Warning: overwriting stash ‘coverage-report’ 06:15:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:15:38 + ls -al . 06:15:38 total 256 06:15:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 06:11 . 06:15:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 06:08 .. 06:15:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 12 06:08 .dockerignore 06:15:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 06:08 .git 06:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 06:08 .github 06:15:38 -rw-rw-r-- 1 jenkins jenkins 266 Mar 12 06:08 .gitignore 06:15:38 -rw-rw-r-- 1 jenkins jenkins 199 Mar 12 06:08 .golangci.yml 06:15:38 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 12 06:08 Attribution.txt 06:15:38 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 12 06:08 CHANGELOG.md 06:15:38 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 12 06:08 Dockerfile 06:15:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 06:08 GOVERNANCE.md 06:15:38 -rw-rw-r-- 1 jenkins jenkins 658 Mar 12 06:08 Jenkinsfile 06:15:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 06:08 LICENSE 06:15:38 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 12 06:08 Makefile 06:15:38 -rw-rw-r-- 1 jenkins jenkins 622 Mar 12 06:08 OWNERS.md 06:15:38 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 12 06:08 README.md 06:15:38 -rw-rw-r-- 1 jenkins jenkins 12 Mar 12 06:04 VERSION 06:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 06:08 bin 06:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 06:08 cmd 06:15:38 -rw-r--r-- 1 jenkins jenkins 26862 Mar 12 06:14 coverage.out 06:15:38 -rw-rw-r-- 1 jenkins jenkins 6295 Mar 12 06:08 go.mod 06:15:38 -rw-rw-r-- 1 jenkins jenkins 86874 Mar 12 06:08 go.sum 06:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 06:08 internal 06:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 06:08 simulator 06:15:38 -rw-rw-r-- 1 jenkins jenkins 229 Mar 12 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:38 + 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=2f15f281678cccf9a75033b18da75fe627dd9e87 --label arch=arm64 --label version=4.0.0-dev.21 . 06:15:38 Sending build context to Docker daemon 9.29MB 06:15:39 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 06:15:39 Step 2/23 : FROM ${BASE} AS builder 06:15:39 ---> f074fbe914ba 06:15:39 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:15:39 ---> Running in 0714feb840b3 06:15:39 Removing intermediate container 0714feb840b3 06:15:39 ---> 993134e24145 06:15:39 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:39 ---> Running in ebe3980d1b9e 06:15:40 Removing intermediate container ebe3980d1b9e 06:15:40 ---> 662735f17908 06:15:40 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:15:40 ---> Running in 0762dd6e6658 06:15:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:15:42 OK: 245 MiB in 66 packages 06:15:43 Removing intermediate container 0762dd6e6658 06:15:43 ---> 308a54e73fc9 06:15:43 Step 6/23 : WORKDIR /device-modbus-go 06:15:43 ---> Running in 92b802ef89c2 06:15:43 Removing intermediate container 92b802ef89c2 06:15:43 ---> 6396b812ff12 06:15:43 Step 7/23 : COPY go.mod vendor* ./ 06:15:44 ---> 2c73940b0963 06:15:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:44 ---> Running in b7344a12cb98 06:15:47 Removing intermediate container b7344a12cb98 06:15:47 ---> ce9be2009b67 06:15:47 Step 9/23 : COPY . . 06:15:47 ---> 20f0691589c4 06:15:47 Step 10/23 : RUN ${MAKE} 06:15:47 ---> Running in 0ac7348d7bdd 06:15:48 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:18:55 Removing intermediate container 0ac7348d7bdd 06:18:55 ---> 9d807c21dc26 06:18:55 Step 11/23 : FROM alpine:3.20 06:18:55 3.20: Pulling from library/alpine 06:18:56 94e9d8af2201: Pulling fs layer 06:18:56 94e9d8af2201: Verifying Checksum 06:18:56 94e9d8af2201: Download complete 06:18:57 94e9d8af2201: Pull complete 06:18:57 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:18:57 Status: Downloaded newer image for alpine:3.20 06:18:57 ---> 7aab056cecc6 06:18:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 06:18:57 ---> Running in 119c295c1472 06:18:57 Removing intermediate container 119c295c1472 06:18:57 ---> 79c9e422c30d 06:18:57 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:18:57 ---> Running in c0b2ef7127de 06:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:19:00 (1/1) Installing dumb-init (1.2.5-r3) 06:19:00 Executing busybox-1.36.1-r29.trigger 06:19:00 OK: 9 MiB in 15 packages 06:19:01 Removing intermediate container c0b2ef7127de 06:19:01 ---> 22aec45b166d 06:19:01 Step 14/23 : RUN apk --no-cache upgrade 06:19:01 ---> Running in af01d6b7a80f 06:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:19:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:19:03 OK: 9 MiB in 15 packages 06:19:04 Removing intermediate container af01d6b7a80f 06:19:04 ---> 826d7fcea936 06:19:04 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:19:05 ---> f7ac53b7f603 06:19:05 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:19:06 ---> 4b4fe989a571 06:19:06 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:19:06 ---> d9f491931a28 06:19:06 Step 18/23 : EXPOSE 59901 06:19:07 ---> Running in 7e084c41c4b7 06:19:07 Removing intermediate container 7e084c41c4b7 06:19:07 ---> 9ce725f26f19 06:19:07 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:19:07 ---> Running in 77c9f5abc187 06:19:07 Removing intermediate container 77c9f5abc187 06:19:07 ---> e0c7a90fb666 06:19:07 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:19:07 ---> Running in 893f0f1128e0 06:19:07 Removing intermediate container 893f0f1128e0 06:19:07 ---> 481ca1326be6 06:19:07 Step 21/23 : LABEL arch=arm64 06:19:07 ---> Running in bd46aef7aa36 06:19:08 Removing intermediate container bd46aef7aa36 06:19:08 ---> b1574dfd2a18 06:19:08 Step 22/23 : LABEL git_sha=2f15f281678cccf9a75033b18da75fe627dd9e87 06:19:08 ---> Running in bc3d9c97c354 06:19:08 Removing intermediate container bc3d9c97c354 06:19:08 ---> d5aa84f54a09 06:19:08 Step 23/23 : LABEL version=4.0.0-dev.21 06:19:08 ---> Running in db5438ff8c29 06:19:08 Removing intermediate container db5438ff8c29 06:19:08 ---> 07b45bec3d9d 06:19:08 [Warning] One or more build-args [ARCH] were not consumed 06:19:08 Successfully built 07b45bec3d9d 06:19:08 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:19:09 provisioning config files... 06:19:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/186@tmp/config14463675974591808975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:09 ---> ****-login.sh 06:19:09 nexus3.edgexfoundry.org:10001 06:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:09 Configure a credential helper to remove this warning. See 06:19:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:09 06:19:09 Login Succeeded 06:19:09 nexus3.edgexfoundry.org:10002 06:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:09 Configure a credential helper to remove this warning. See 06:19:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:09 06:19:09 Login Succeeded 06:19:09 nexus3.edgexfoundry.org:10003 06:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:10 Configure a credential helper to remove this warning. See 06:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:10 06:19:10 Login Succeeded 06:19:10 nexus3.edgexfoundry.org:10004 06:19:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:10 Configure a credential helper to remove this warning. See 06:19:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:10 06:19:10 Login Succeeded 06:19:10 ****.io 06:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:19:11 Configure a credential helper to remove this warning. See 06:19:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:19:11 06:19:11 Login Succeeded 06:19:11 ---> ****-login.sh ends [Pipeline] } 06:19:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:19:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:19:11 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:19:11 2f15f281678cccf9a75033b18da75fe627dd9e87 06:19:11 latest 06:19:11 4.0.0-dev.21 06:19:11 2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 06:19:11 main 06:19:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 06:19:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:19:12 6036790aec04: Preparing 06:19:12 3bc98257f68e: Preparing 06:19:12 61db8288e861: Preparing 06:19:12 b91820429c48: Preparing 06:19:12 6523f7f3911a: Preparing 06:19:12 dd9c8f8612c8: Preparing 06:19:12 dd9c8f8612c8: Waiting 06:19:12 3bc98257f68e: Pushed 06:19:12 6036790aec04: Pushed 06:19:12 b91820429c48: Pushed 06:19:12 dd9c8f8612c8: Layer already exists 06:19:12 6523f7f3911a: Pushed 06:19:20 61db8288e861: Pushed 06:19:20 2f15f281678cccf9a75033b18da75fe627dd9e87: digest: sha256:4da244a4ca25b681862946d0a6cc491083535621c647fbb9a9fb3e75c394861e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:19:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:19:21 6036790aec04: Preparing 06:19:21 3bc98257f68e: Preparing 06:19:21 61db8288e861: Preparing 06:19:21 b91820429c48: Preparing 06:19:21 6523f7f3911a: Preparing 06:19:21 dd9c8f8612c8: Preparing 06:19:21 dd9c8f8612c8: Waiting 06:19:21 61db8288e861: Layer already exists 06:19:21 6523f7f3911a: Layer already exists 06:19:21 6036790aec04: Layer already exists 06:19:21 b91820429c48: Layer already exists 06:19:21 3bc98257f68e: Layer already exists 06:19:21 dd9c8f8612c8: Layer already exists 06:19:21 latest: digest: sha256:4da244a4ca25b681862946d0a6cc491083535621c647fbb9a9fb3e75c394861e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:21 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.21 06:19:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:19:22 6036790aec04: Preparing 06:19:22 3bc98257f68e: Preparing 06:19:22 61db8288e861: Preparing 06:19:22 b91820429c48: Preparing 06:19:22 6523f7f3911a: Preparing 06:19:22 dd9c8f8612c8: Preparing 06:19:22 dd9c8f8612c8: Waiting 06:19:22 3bc98257f68e: Layer already exists 06:19:22 61db8288e861: Layer already exists 06:19:22 b91820429c48: Layer already exists 06:19:22 6523f7f3911a: Layer already exists 06:19:22 6036790aec04: Layer already exists 06:19:22 dd9c8f8612c8: Layer already exists 06:19:22 4.0.0-dev.21: digest: sha256:4da244a4ca25b681862946d0a6cc491083535621c647fbb9a9fb3e75c394861e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 06:19:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:19:23 6036790aec04: Preparing 06:19:23 3bc98257f68e: Preparing 06:19:23 61db8288e861: Preparing 06:19:23 b91820429c48: Preparing 06:19:23 6523f7f3911a: Preparing 06:19:23 dd9c8f8612c8: Preparing 06:19:23 dd9c8f8612c8: Waiting 06:19:23 61db8288e861: Layer already exists 06:19:23 6523f7f3911a: Layer already exists 06:19:23 6036790aec04: Layer already exists 06:19:23 3bc98257f68e: Layer already exists 06:19:23 b91820429c48: Layer already exists 06:19:23 dd9c8f8612c8: Layer already exists 06:19:23 2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21: digest: sha256:4da244a4ca25b681862946d0a6cc491083535621c647fbb9a9fb3e75c394861e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:19:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:19:23 6036790aec04: Preparing 06:19:23 3bc98257f68e: Preparing 06:19:23 61db8288e861: Preparing 06:19:23 b91820429c48: Preparing 06:19:23 6523f7f3911a: Preparing 06:19:23 dd9c8f8612c8: Preparing 06:19:23 dd9c8f8612c8: Waiting 06:19:23 b91820429c48: Layer already exists 06:19:23 3bc98257f68e: Layer already exists 06:19:23 6036790aec04: Layer already exists 06:19:23 6523f7f3911a: Layer already exists 06:19:23 61db8288e861: Layer already exists 06:19:23 dd9c8f8612c8: Layer already exists 06:19:23 main: digest: sha256:4da244a4ca25b681862946d0a6cc491083535621c647fbb9a9fb3e75c394861e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:19:24 ===================================================== [Pipeline] echo 06:19:24 taggedImages: 06:19:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87 06:19:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:19:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.21 06:19:24 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2f15f281678cccf9a75033b18da75fe627dd9e87-4.0.0-dev.21 06:19:24 - 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:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:24 06:19:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:25 arm64: Pulling from edgex-lftools-log-publisher 06:19:25 8998bd30e6a1: Pulling fs layer 06:19:25 04944245beec: Pulling fs layer 06:19:25 699f458cf7ca: Pulling fs layer 06:19:25 765212b225bb: Pulling fs layer 06:19:25 f23df028b6ca: Pulling fs layer 06:19:25 d65c8cfc05b1: Pulling fs layer 06:19:25 2437ff75d9bd: Pulling fs layer 06:19:25 765212b225bb: Waiting 06:19:25 f23df028b6ca: Waiting 06:19:25 d65c8cfc05b1: Waiting 06:19:25 2437ff75d9bd: Waiting 06:19:25 04944245beec: Verifying Checksum 06:19:25 04944245beec: Download complete 06:19:25 765212b225bb: Verifying Checksum 06:19:25 765212b225bb: Download complete 06:19:25 f23df028b6ca: Verifying Checksum 06:19:25 f23df028b6ca: Download complete 06:19:25 d65c8cfc05b1: Verifying Checksum 06:19:25 d65c8cfc05b1: Download complete 06:19:25 699f458cf7ca: Verifying Checksum 06:19:25 699f458cf7ca: Download complete 06:19:25 8998bd30e6a1: Verifying Checksum 06:19:25 8998bd30e6a1: Download complete 06:19:28 2437ff75d9bd: Verifying Checksum 06:19:28 2437ff75d9bd: Download complete 06:19:30 8998bd30e6a1: Pull complete 06:19:30 04944245beec: Pull complete 06:19:32 699f458cf7ca: Pull complete 06:19:32 765212b225bb: Pull complete 06:19:33 f23df028b6ca: Pull complete 06:19:33 d65c8cfc05b1: Pull complete 06:19:51 2437ff75d9bd: Pull complete 06:19:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:19:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:19:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:51 prd-ubuntu20.04-docker-arm64-4c-16g-41037 does not seem to be running inside a container 06:19:52 $ 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/186 -v /w/workspace/device-modbus-go/186:/w/workspace/device-modbus-go/186:rw,z -v /w/workspace/device-modbus-go/186@tmp:/w/workspace/device-modbus-go/186@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:19:54 $ docker top 66330ff55de774f8bdec62b9acb2b8c8bb88a93798e05e49ddaf426ea788805c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:55 ---> job-cost.sh 06:19:55 lf-activate-venv: SKIPPING 06:19:55 INFO: No Stack... 06:19:56 INFO: Retrieving Pricing Info for: v3-standard-4 06:19:56 INFO: Archiving Costs [Pipeline] sh 06:19:57 + cut -d, -f6 06:19:57 + cat /w/workspace/device-modbus-go/186/archives/cost.csv [Pipeline] lock 06:19:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] 06:19:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] did not exist. Created. 06:19:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:19:57 /w/workspace/device-modbus-go/186@tmp/durable-ca345af3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:19:58 + echo total: 0.10999999940395355 [Pipeline] stash 06:19:58 Warning: overwriting stash ‘stack-cost’ 06:19:58 Stashed 1 file(s) [Pipeline] } 06:19:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-186-stack-cost] [Pipeline] // lock [Pipeline] } 06:19:58 $ docker stop --time=1 66330ff55de774f8bdec62b9acb2b8c8bb88a93798e05e49ddaf426ea788805c 06:19:59 $ docker rm -f --volumes 66330ff55de774f8bdec62b9acb2b8c8bb88a93798e05e49ddaf426ea788805c [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:20:00 provisioning config files... 06:20:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4935606556896087075tmp [Pipeline] { [Pipeline] sh 06:20:00 + set +x 06:20:00 + bash -s -- 06:20:00 + curl -s https://codecov.io/bash 06:20:00 06:20:00 _____ _ 06:20:00 / ____| | | 06:20:00 | | ___ __| | ___ ___ _____ __ 06:20:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:20:00 | |___| (_) | (_| | __/ (_| (_) \ V / 06:20:00 \_____\___/ \__,_|\___|\___\___/ \_/ 06:20:00 Bash-1.0.6 06:20:00 06:20:00 06:20:00 ==> git version 2.25.1 found 06:20:00 ==> 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:20:00 Release-Date: 2020-01-08 06:20:00 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:20:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:20:00 ==> Jenkins CI detected. 06:20:00 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:20:00 project root: . 06:20:00 --> token set from env 06:20:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:20:00 ==> Running gcov in . (disable via -X gcov) 06:20:00 ==> Python coveragepy not found 06:20:00 ==> Searching for coverage reports in: 06:20:00 + . 06:20:00 -> Found 1 reports 06:20:00 ==> Detecting git/mercurial file structure 06:20:00 ==> Reading reports 06:20:00 + ./coverage.out bytes=26862 06:20:00 ==> Appending adjustments 06:20:00 https://docs.codecov.io/docs/fixing-reports 06:20:00 + Found adjustments 06:20:00 ==> Gzipping contents 06:20:00 8.0K /tmp/codecov.thWu1w.gz 06:20:00 ==> Uploading reports 06:20:00 url: https://codecov.io 06:20:00 query: branch=main&commit=2f15f281678cccf9a75033b18da75fe627dd9e87&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:00 -> Pinging Codecov 06:20:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2f15f281678cccf9a75033b18da75fe627dd9e87&build=186&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F186%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:20:01 -> Uploading to 06:20:01 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/2f15f281678cccf9a75033b18da75fe627dd9e87/d16f8c85-d3f9-4e69-b523-b40a45e501e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T062000Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=d257a85af406207993da35c6dfd6ba2d0dafeece2e3b7acc7985d448d7196368 06:20:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:01 Dload Upload Total Spent Left Speed 06:20:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 17220 --:--:-- --:--:-- --:--:-- 17220 06:20:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] } 06:20:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:20:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:20:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:20:01 06:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:20:02 latest: Pulling from edgex-devops/edgex-snyk-go 06:20:02 43c4264eed91: Pulling fs layer 06:20:02 4cc291be95ef: Pulling fs layer 06:20:02 2ac1f1163629: Pulling fs layer 06:20:02 5c3c966382ef: Pulling fs layer 06:20:02 4f4fb700ef54: Pulling fs layer 06:20:02 d9c7d2e4e75e: Pulling fs layer 06:20:02 9c3e1370e548: Pulling fs layer 06:20:02 5c3c966382ef: Waiting 06:20:02 4f4fb700ef54: Waiting 06:20:02 d9c7d2e4e75e: Waiting 06:20:02 9c3e1370e548: Waiting 06:20:02 4cc291be95ef: Verifying Checksum 06:20:02 5c3c966382ef: Verifying Checksum 06:20:02 5c3c966382ef: Download complete 06:20:02 4f4fb700ef54: Verifying Checksum 06:20:02 4f4fb700ef54: Download complete 06:20:02 43c4264eed91: Download complete 06:20:02 43c4264eed91: Pull complete 06:20:02 4cc291be95ef: Pull complete 06:20:02 d9c7d2e4e75e: Verifying Checksum 06:20:02 d9c7d2e4e75e: Download complete 06:20:02 2ac1f1163629: Verifying Checksum 06:20:02 2ac1f1163629: Download complete 06:20:03 9c3e1370e548: Verifying Checksum 06:20:03 9c3e1370e548: Download complete 06:20:06 2ac1f1163629: Pull complete 06:20:06 5c3c966382ef: Pull complete 06:20:06 4f4fb700ef54: Pull complete 06:20:06 d9c7d2e4e75e: Pull complete 06:20:10 9c3e1370e548: Pull complete 06:20:10 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:20:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:20:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:10 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:20:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:20:12 $ docker top c1d23e169ca9e9e098d11e77eb0259ca3b8dec12ea89fd29f75734bfdd308f39 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:20:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:20:13 + set -o pipefail 06:20:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:20:18 06:20:18 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:20:18 06:20:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/86599f9a-2a9f-4339-9ace-4e9083ea3eaa 06:20:18 06:20:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:20:18 06:20:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:20:18 06:20:18 06:20:18 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:20:18 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:20:18 $ docker stop --time=1 c1d23e169ca9e9e098d11e77eb0259ca3b8dec12ea89fd29f75734bfdd308f39 06:20:21 $ docker rm -f --volumes c1d23e169ca9e9e098d11e77eb0259ca3b8dec12ea89fd29f75734bfdd308f39 [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:20:21 + git log --format=format:%s -1 2f15f281678cccf9a75033b18da75fe627dd9e87 [Pipeline] sh 06:20:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:20:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:22 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:20: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:20:23 $ docker top aec125e461b2d40fb329d20a26132b4b01bfe491c6c77203d0491dec3f7287f9 -eo pid,comm 06:20:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:20:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:23 [ssh-agent] Looking for ssh-agent implementation... 06:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:23 $ docker exec aec125e461b2d40fb329d20a26132b4b01bfe491c6c77203d0491dec3f7287f9 ssh-agent 06:20:23 SSH_AUTH_SOCK=/tmp/ssh-WMLn2ZiSLZvN/agent.32 06:20:23 SSH_AGENT_PID=38 06:20:23 Running ssh-add (command line suppressed) 06:20:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4983699809095040267.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4983699809095040267.key) 06:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:23 + git semver tag 06:20:24 2025-03-12 06:20:24,039 [run_tag] DEBUG tag force:False 06:20:24 2025-03-12 06:20:24,039 [check_head_tag] DEBUG check head tag 06:20:24 2025-03-12 06:20:24,040 [execute] INFO git cat-file --batch-check 06:20:24 2025-03-12 06:20:24,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:20:24 2025-03-12 06:20:24,044 [execute] INFO git cat-file --batch 06:20:24 2025-03-12 06:20:24,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:20:24 2025-03-12 06:20:24,068 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:24 2025-03-12 06:20:24,068 [execute] INFO git tag -a v4.0.0-dev.21 -m v4.0.0-dev.21 06:20:24 2025-03-12 06:20:24,068 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.21', '-m', 'v4.0.0-dev.21'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:20:24 2025-03-12 06:20:24,074 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:24 4.0.0-dev.21 [Pipeline] } 06:20:24 $ docker exec --env ******** --env ******** aec125e461b2d40fb329d20a26132b4b01bfe491c6c77203d0491dec3f7287f9 ssh-agent -k 06:20:24 unset SSH_AUTH_SOCK; 06:20:24 unset SSH_AGENT_PID; 06:20:24 echo Agent pid 38 killed; 06:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:24 + git semver [Pipeline] } 06:20:24 $ docker stop --time=1 aec125e461b2d40fb329d20a26132b4b01bfe491c6c77203d0491dec3f7287f9 06:20:26 $ docker rm -f --volumes aec125e461b2d40fb329d20a26132b4b01bfe491c6c77203d0491dec3f7287f9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:20:26 06:20:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:20:26 0.23.1-centos7: Pulling from edgex-lftools 06:20:26 ab5ef0e58194: Pulling fs layer 06:20:26 9712f1f96733: Pulling fs layer 06:20:26 63f879dbbcfc: Pulling fs layer 06:20:26 0d9ebad4ef96: Pulling fs layer 06:20:26 e9a5061849ea: Pulling fs layer 06:20:26 d747dcd14b5f: Pulling fs layer 06:20:26 2de7ff778b66: Pulling fs layer 06:20:26 0d9ebad4ef96: Waiting 06:20:26 2de7ff778b66: Waiting 06:20:26 e9a5061849ea: Waiting 06:20:26 d747dcd14b5f: Waiting 06:20:26 9712f1f96733: Verifying Checksum 06:20:26 9712f1f96733: Download complete 06:20:27 63f879dbbcfc: Verifying Checksum 06:20:27 63f879dbbcfc: Download complete 06:20:27 e9a5061849ea: Verifying Checksum 06:20:27 e9a5061849ea: Download complete 06:20:27 d747dcd14b5f: Download complete 06:20:27 0d9ebad4ef96: Verifying Checksum 06:20:27 0d9ebad4ef96: Download complete 06:20:27 ab5ef0e58194: Verifying Checksum 06:20:27 ab5ef0e58194: Download complete 06:20:27 2de7ff778b66: Verifying Checksum 06:20:27 2de7ff778b66: Download complete 06:20:30 ab5ef0e58194: Pull complete 06:20:30 9712f1f96733: Pull complete 06:20:30 63f879dbbcfc: Pull complete 06:20:35 0d9ebad4ef96: Pull complete 06:20:35 e9a5061849ea: Pull complete 06:20:35 d747dcd14b5f: Pull complete 06:20:36 2de7ff778b66: Pull complete 06:20:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:20:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:36 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:20: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:20:39 $ docker top d992053806c0c41ffa2b297d3a6aec73b1bb58ca285e629eb9ccc4530b7b30c7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:20:39 provisioning config files... 06:20:39 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6518097532486571124tmp 06:20:39 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4966288146467250888tmp 06:20:39 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7493918689941616872tmp [Pipeline] { [Pipeline] echo 06:20:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:20:39 ---> sigul-configuration.sh 06:20:39 gpg: directory `/root/.gnupg' created 06:20:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:20:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:20:39 gpg: keyring `/root/.gnupg/secring.gpg' created 06:20:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:20:39 gpg: CAST5 encrypted data 06:20:39 gpg: encrypted with 1 passphrase 06:20:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:20:39 + mkdir /home/jenkins 06:20:39 + mkdir /home/jenkins/sigul [Pipeline] sh 06:20:40 + 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:20:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:20:40 ---> sigul-install.sh 06:20:40 Sigul already installed; skipping installation. [Pipeline] sh 06:20:40 + git tag --list 06:20:40 0.7.1 06:20:40 v1.0.0 06:20:40 v1.1.0 06:20:40 v1.1.1 06:20:40 v1.2.2 06:20:40 v1.3.0 06:20:40 v1.3.1 06:20:40 v2.0.0 06:20:40 v2.1.0 06:20:40 v2.1.1 06:20:40 v2.2.0 06:20:40 v2.3.0 06:20:40 v3.0 06:20:40 v3.0.0 06:20:40 v3.1 06:20:40 v3.1.0 06:20:40 v3.1.0-dev.1 06:20:40 v3.1.0-dev.10 06:20:40 v3.1.0-dev.11 06:20:40 v3.1.0-dev.12 06:20:40 v3.1.0-dev.13 06:20:40 v3.1.0-dev.14 06:20:40 v3.1.0-dev.15 06:20:40 v3.1.0-dev.16 06:20:40 v3.1.0-dev.17 06:20:40 v3.1.0-dev.18 06:20:40 v3.1.0-dev.19 06:20:40 v3.1.0-dev.2 06:20:40 v3.1.0-dev.20 06:20:40 v3.1.0-dev.21 06:20:40 v3.1.0-dev.22 06:20:40 v3.1.0-dev.23 06:20:40 v3.1.0-dev.24 06:20:40 v3.1.0-dev.25 06:20:40 v3.1.0-dev.3 06:20:40 v3.1.0-dev.4 06:20:40 v3.1.0-dev.5 06:20:40 v3.1.0-dev.6 06:20:40 v3.1.0-dev.7 06:20:40 v3.1.0-dev.8 06:20:40 v3.1.0-dev.9 06:20:40 v3.1.1 06:20:40 v3.1.1-dev.1 06:20:40 v3.2.0-dev.1 06:20:40 v3.2.0-dev.10 06:20:40 v3.2.0-dev.11 06:20:40 v3.2.0-dev.12 06:20:40 v3.2.0-dev.13 06:20:40 v3.2.0-dev.14 06:20:40 v3.2.0-dev.15 06:20:40 v3.2.0-dev.16 06:20:40 v3.2.0-dev.17 06:20:40 v3.2.0-dev.18 06:20:40 v3.2.0-dev.19 06:20:40 v3.2.0-dev.2 06:20:40 v3.2.0-dev.20 06:20:40 v3.2.0-dev.21 06:20:40 v3.2.0-dev.22 06:20:40 v3.2.0-dev.23 06:20:40 v3.2.0-dev.24 06:20:40 v3.2.0-dev.25 06:20:40 v3.2.0-dev.26 06:20:40 v3.2.0-dev.3 06:20:40 v3.2.0-dev.4 06:20:40 v3.2.0-dev.5 06:20:40 v3.2.0-dev.6 06:20:40 v3.2.0-dev.7 06:20:40 v3.2.0-dev.8 06:20:40 v3.2.0-dev.9 06:20:40 v4.0.0-dev.1 06:20:40 v4.0.0-dev.10 06:20:40 v4.0.0-dev.11 06:20:40 v4.0.0-dev.12 06:20:40 v4.0.0-dev.13 06:20:40 v4.0.0-dev.14 06:20:40 v4.0.0-dev.15 06:20:40 v4.0.0-dev.16 06:20:40 v4.0.0-dev.17 06:20:40 v4.0.0-dev.18 06:20:40 v4.0.0-dev.19 06:20:40 v4.0.0-dev.2 06:20:40 v4.0.0-dev.20 06:20:40 v4.0.0-dev.21 06:20:40 v4.0.0-dev.3 06:20:40 v4.0.0-dev.4 06:20:40 v4.0.0-dev.5 06:20:40 v4.0.0-dev.6 06:20:40 v4.0.0-dev.7 06:20:40 v4.0.0-dev.8 06:20:40 v4.0.0-dev.9 [Pipeline] sh 06:20:40 + lftools sign git-tag v4.0.0-dev.21 06:20:41 Signing Git tag with Sigul... 06:20:41 Signing v4.0.0-dev.21 [Pipeline] echo 06:20:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:20:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:20:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:20:42 $ docker stop --time=1 d992053806c0c41ffa2b297d3a6aec73b1bb58ca285e629eb9ccc4530b7b30c7 06:20:43 $ docker rm -f --volumes d992053806c0c41ffa2b297d3a6aec73b1bb58ca285e629eb9ccc4530b7b30c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:20:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:20:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:20:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:44 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:20:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:20:44 $ docker top 9e350943e2806ad22d9ad7229404816c3f5eb3aacb6a2caeeb5999959ea17b29 -eo pid,comm 06:20:44 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:20:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:44 [ssh-agent] Looking for ssh-agent implementation... 06:20:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:44 $ docker exec 9e350943e2806ad22d9ad7229404816c3f5eb3aacb6a2caeeb5999959ea17b29 ssh-agent 06:20:45 SSH_AUTH_SOCK=/tmp/ssh-hyzEbEyzTQHT/agent.32 06:20:45 SSH_AGENT_PID=38 06:20:45 Running ssh-add (command line suppressed) 06:20:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2636257940309656111.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2636257940309656111.key) 06:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:45 + git semver bump pre 06:20:45 2025-03-12 06:20:45,581 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:45 2025-03-12 06:20:45,581 [bump_version] DEBUG bumping version:4.0.0-dev.21 on axis:pre with prefix:dev 06:20:45 2025-03-12 06:20:45,581 [bump_version] DEBUG bumped version:4.0.0-dev.22 06:20:45 2025-03-12 06:20:45,581 [write_version] DEBUG write version:4.0.0-dev.22 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:20:45 2025-03-12 06:20:45,581 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:45 2025-03-12 06:20:45,581 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:45 2025-03-12 06:20:45,584 [execute] INFO git cat-file --batch-check 06:20:45 2025-03-12 06:20:45,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:20:45 2025-03-12 06:20:45,590 [execute] INFO git cat-file --batch 06:20:45 2025-03-12 06:20:45,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:20:45 2025-03-12 06:20:45,596 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:45 4.0.0-dev.22 [Pipeline] } 06:20:45 $ docker exec --env ******** --env ******** 9e350943e2806ad22d9ad7229404816c3f5eb3aacb6a2caeeb5999959ea17b29 ssh-agent -k 06:20:45 unset SSH_AUTH_SOCK; 06:20:45 unset SSH_AGENT_PID; 06:20:45 echo Agent pid 38 killed; 06:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:46 + git semver [Pipeline] } 06:20:46 $ docker stop --time=1 9e350943e2806ad22d9ad7229404816c3f5eb3aacb6a2caeeb5999959ea17b29 06:20:47 $ docker rm -f --volumes 9e350943e2806ad22d9ad7229404816c3f5eb3aacb6a2caeeb5999959ea17b29 [Pipeline] // withDockerContainer [Pipeline] sh 06:20:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:20:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:20:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:48 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:20:48 $ docker top bdbd57b6e0be675ed8b5454dad462d1318edad38de458ca9dc6b1dca4613c900 -eo pid,comm 06:20:48 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:20:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:48 [ssh-agent] Looking for ssh-agent implementation... 06:20:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:48 $ docker exec bdbd57b6e0be675ed8b5454dad462d1318edad38de458ca9dc6b1dca4613c900 ssh-agent 06:20:49 SSH_AUTH_SOCK=/tmp/ssh-RXKRnJUAUtRT/agent.32 06:20:49 SSH_AGENT_PID=38 06:20:49 Running ssh-add (command line suppressed) 06:20:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18346790246930240871.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18346790246930240871.key) 06:20:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:49 + git semver push 06:20:49 2025-03-12 06:20:49,687 [run_push] DEBUG push 06:20:49 2025-03-12 06:20:49,688 [execute] INFO git cat-file --batch-check 06:20:49 2025-03-12 06:20:49,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:20:49 2025-03-12 06:20:49,693 [execute] INFO git rev-list be5f6a0c1eb0d8b53f166f89f6b8c41cc8f43b19 -- 06:20:49 2025-03-12 06:20:49,693 [execute] DEBUG Popen(['git', 'rev-list', 'be5f6a0c1eb0d8b53f166f89f6b8c41cc8f43b19', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:20:49 2025-03-12 06:20:49,700 [execute] INFO git fetch -v origin 06:20:49 2025-03-12 06:20:49,700 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:20:50 2025-03-12 06:20:50,282 [run_push] DEBUG no remote changes detected 06:20:50 2025-03-12 06:20:50,283 [execute] INFO git push origin semver 06:20:50 2025-03-12 06:20:50,283 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:20:51 2025-03-12 06:20:51,138 [run_push] DEBUG push all version tags 06:20:51 2025-03-12 06:20:51,138 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:20:51 2025-03-12 06:20:51,139 [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:20:52 2025-03-12 06:20:52,003 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:20:52 4.0.0-dev.22 [Pipeline] } 06:20:52 $ docker exec --env ******** --env ******** bdbd57b6e0be675ed8b5454dad462d1318edad38de458ca9dc6b1dca4613c900 ssh-agent -k 06:20:52 unset SSH_AUTH_SOCK; 06:20:52 unset SSH_AGENT_PID; 06:20:52 echo Agent pid 38 killed; 06:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:52 + git semver [Pipeline] } 06:20:52 $ docker stop --time=1 bdbd57b6e0be675ed8b5454dad462d1318edad38de458ca9dc6b1dca4613c900 06:20:54 $ docker rm -f --volumes bdbd57b6e0be675ed8b5454dad462d1318edad38de458ca9dc6b1dca4613c900 [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:20:54 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:20:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:20:54 total 16 06:20:54 drwxr-xr-x 3 root root 4096 Mar 12 06:06 . 06:20:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 06:20 .. 06:20:54 drwxr-xr-x 2 root root 4096 Mar 12 06:06 cost 06:20:54 -rw-r--r-- 1 root root 88 Mar 12 06:06 cost.csv 06:20:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:20:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:20:54 total 16 06:20:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 06:06 . 06:20:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 06:20 .. 06:20:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 06:06 cost 06:20:54 -rw-r--r-- 1 jenkins jenkins 88 Mar 12 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:20:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:20:56 ---> package-listing.sh 06:20:56 ++ facter osfamily 06:20:56 ++ tr '[:upper:]' '[:lower:]' 06:20:56 + OS_FAMILY=debian 06:20:56 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:20:56 + START_PACKAGES=/tmp/packages_start.txt 06:20:56 + END_PACKAGES=/tmp/packages_end.txt 06:20:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:20:56 + PACKAGES=/tmp/packages_start.txt 06:20:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:20:56 + PACKAGES=/tmp/packages_end.txt 06:20:56 + case "${OS_FAMILY}" in 06:20:56 + dpkg -l 06:20:56 + grep '^ii' 06:20:56 + '[' -f /tmp/packages_start.txt ']' 06:20:56 + '[' -f /tmp/packages_end.txt ']' 06:20:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:20:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:20:56 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:20:56 + 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:20:56 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:20:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:57 prd-ubuntu20.04-docker-8c-8g-41036 does not seem to be running inside a container 06:20:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:20:57 $ docker top be4b2edd2c15bbfcaa16a8cae7771cba027d6089d62ceec6fc0967fe08dc7923 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:57 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:58 + mkdir -p /var/log/sysstat [Pipeline] sh 06:20:58 + ls /var/log/sa-host 06:20:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:58 provisioning config files... 06:20:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8334588433205848168tmp [Pipeline] { [Pipeline] echo 06:20:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:58 ---> create-netrc.sh [Pipeline] } 06:20:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:20:59 ---> python-tools-install.sh [Pipeline] echo 06:20:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:59 ---> sudo-logs.sh 06:20:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:20:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:59 ---> job-cost.sh 06:20:59 lf-activate-venv: SKIPPING 06:20:59 DEBUG: total: 0.2199999988079071 06:20:59 INFO: Retrieving Stack Cost... 06:21:00 INFO: Retrieving Pricing Info for: v3-standard-8 06:21:00 INFO: Archiving Costs [Pipeline] echo 06:21:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:00 ---> logs-deploy.sh 06:21:00 lf-activate-venv: SKIPPING 06:21:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/186 06:21:00 INFO: archiving workspace using pattern(s): 06:21:01 Archives upload complete. 06:21:01 INFO: archiving logs to Nexus