Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1150cef3ee3943af5fba7b24690d73d6672cf6d 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-ssh13089578838550682340.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh940115366326842247.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh11976712240807369800.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh4924005374072200917.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-ssh7552213675030678043.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-38343 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 b1150cef3ee3943af5fba7b24690d73d6672cf6d (main) > 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 b1150cef3ee3943af5fba7b24690d73d6672cf6d # timeout=10 Commit message: "Merge pull request #611 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.21" > git rev-list --no-walk 0c489a3726be89f9077189728f7c6ddd3e8be6bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:17:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:15 ========================================================= 06:17:15 EdgeX Global Pipelines Version Info 06:17:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:17:16 ------------------- 06:17:16 stable info: 06:17:16 ------------------- 06:17:16 Commited By: Cherry Wang cherry@iotechsys.com 06:17:16 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:17:16 Message: update stable to v1.0.269 06:17:17 ------------------- 06:17:17 experimental info: 06:17:17 ------------------- 06:17:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:17:17 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:17:17 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:17:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1150ce [Pipeline] echo 06:17:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:18 provisioning config files... 06:17:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15523319850740966168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:18 ---> ****-login.sh 06:17:18 nexus3.edgexfoundry.org:10001 06:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:18 Configure a credential helper to remove this warning. See 06:17:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:18 06:17:18 Login Succeeded 06:17:18 nexus3.edgexfoundry.org:10002 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 nexus3.edgexfoundry.org:10003 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 nexus3.edgexfoundry.org:10004 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 ****.io 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 ---> ****-login.sh ends [Pipeline] } 06:17:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:17:20 + git rev-list -1 --merges b1150cef3ee3943af5fba7b24690d73d6672cf6d~1..b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] echo 06:17:20 -----------> git rev-list -1 --merges b1150cef3ee3943af5fba7b24690d73d6672cf6d~1..b1150cef3ee3943af5fba7b24690d73d6672cf6d b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:17:20 b1150cef3ee3943af5fba7b24690d73d6672cf6d [false] [Pipeline] sh 06:17:20 + git log --format=format:%s -1 b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] echo 06:17:20 ========================================================= 06:17:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:17:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:20 + git log --format=format:%s -1 b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] echo 06:17:20 [semverPrep] GIT_COMMIT: b1150cef3ee3943af5fba7b24690d73d6672cf6d, Commit Message: Merge pull request #611 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.21 [Pipeline] echo 06:17:20 [semverPrep] This is not a build commit. [Pipeline] sh 06:17:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:21 + grep -v github /etc/ssh/ssh_known_hosts 06:17:21 + [ -e /tmp/ssh_known_hosts ] 06:17:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:17:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:17:21 + sudo tee -a /etc/ssh/ssh_known_hosts 06:17:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:21 06:17:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:21 0.1.4: Pulling from edgex-devops/py-git-semver 06:17:21 b85a868b505f: Pulling fs layer 06:17:21 e2be974225ed: Pulling fs layer 06:17:21 339a4e72a1f5: Pulling fs layer 06:17:21 988bab9f4d93: Pulling fs layer 06:17:21 1469e6f7b9e6: Pulling fs layer 06:17:21 eaf3925da568: Pulling fs layer 06:17:21 bab4dde63d76: Pulling fs layer 06:17:21 bde34c3a00c8: Pulling fs layer 06:17:21 b352a97aabf1: Pulling fs layer 06:17:21 4872d77fe225: Pulling fs layer 06:17:21 5851b861e8e6: Pulling fs layer 06:17:21 eaf3925da568: Waiting 06:17:21 4872d77fe225: Waiting 06:17:21 5851b861e8e6: Waiting 06:17:21 bab4dde63d76: Waiting 06:17:21 bde34c3a00c8: Waiting 06:17:21 b352a97aabf1: Waiting 06:17:21 988bab9f4d93: Waiting 06:17:21 e2be974225ed: Verifying Checksum 06:17:21 e2be974225ed: Download complete 06:17:21 988bab9f4d93: Verifying Checksum 06:17:21 988bab9f4d93: Download complete 06:17:21 1469e6f7b9e6: Verifying Checksum 06:17:21 1469e6f7b9e6: Download complete 06:17:22 eaf3925da568: Download complete 06:17:22 339a4e72a1f5: Verifying Checksum 06:17:22 339a4e72a1f5: Download complete 06:17:22 bde34c3a00c8: Download complete 06:17:22 b352a97aabf1: Download complete 06:17:22 4872d77fe225: Verifying Checksum 06:17:22 4872d77fe225: Download complete 06:17:22 5851b861e8e6: Download complete 06:17:22 b85a868b505f: Verifying Checksum 06:17:22 b85a868b505f: Download complete 06:17:22 bab4dde63d76: Verifying Checksum 06:17:22 bab4dde63d76: Download complete 06:17:23 b85a868b505f: Pull complete 06:17:23 e2be974225ed: Pull complete 06:17:24 339a4e72a1f5: Pull complete 06:17:24 988bab9f4d93: Pull complete 06:17:24 1469e6f7b9e6: Pull complete 06:17:24 eaf3925da568: Pull complete 06:17:26 bab4dde63d76: Pull complete 06:17:26 bde34c3a00c8: Pull complete 06:17:26 b352a97aabf1: Pull complete 06:17:26 4872d77fe225: Pull complete 06:17:26 5851b861e8e6: Pull complete 06:17:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:27 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:17:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:17:29 $ docker top b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca -eo pid,comm 06:17:29 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:17:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:29 [ssh-agent] Looking for ssh-agent implementation... 06:17:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:29 $ docker exec b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca ssh-agent 06:17:30 SSH_AUTH_SOCK=/tmp/ssh-0t4AslV01A3M/agent.32 06:17:30 SSH_AGENT_PID=38 06:17:30 Running ssh-add (command line suppressed) 06:17:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17278731980618979710.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17278731980618979710.key) 06:17:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:30 + git tag --points-at HEAD [Pipeline] } 06:17:30 $ docker exec --env ******** --env ******** b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca ssh-agent -k 06:17:30 unset SSH_AUTH_SOCK; 06:17:30 unset SSH_AGENT_PID; 06:17:30 echo Agent pid 38 killed; 06:17:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:17:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:30 [ssh-agent] Looking for ssh-agent implementation... 06:17:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:30 $ docker exec b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca ssh-agent 06:17:30 SSH_AUTH_SOCK=/tmp/ssh-c5XOSwpPJODT/agent.71 06:17:30 SSH_AGENT_PID=77 06:17:30 Running ssh-add (command line suppressed) 06:17:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9630292185159488270.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9630292185159488270.key) 06:17:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:31 + git semver init 06:17:31 2025-02-07 06:17:31,467 [run_init] DEBUG init version:0.0.0 force:False 06:17:31 2025-02-07 06:17:31,468 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:17:31 2025-02-07 06:17:31,469 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:17:31 2025-02-07 06:17:31,469 [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:17:32 2025-02-07 06:17:32,507 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:17:32 2025-02-07 06:17:32,508 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:17:32 2025-02-07 06:17:32,508 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:32 2025-02-07 06:17:32,508 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:32 4.0.0-dev.13 [Pipeline] } 06:17:32 $ docker exec --env ******** --env ******** b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca ssh-agent -k 06:17:33 unset SSH_AUTH_SOCK; 06:17:33 unset SSH_AGENT_PID; 06:17:33 echo Agent pid 77 killed; 06:17:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:33 + git semver [Pipeline] } 06:17:33 $ docker stop --time=1 b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca 06:17:34 $ docker rm -f --volumes b2a3e2a4711fc1f00352226e1d3b0d75187938e9c5d21061be3ef2c144217bca [Pipeline] // withDockerContainer [Pipeline] sh 06:17:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:17:35 Stashed 1 file(s) [Pipeline] echo 06:17:35 [edgeXSemver]: initialized semver on version 4.0.0-dev.13 [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:17:35 provisioning config files... 06:17:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11281597092379262449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:36 ---> ****-login.sh 06:17:36 nexus3.edgexfoundry.org:10001 06:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:36 Configure a credential helper to remove this warning. See 06:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:36 06:17:36 Login Succeeded 06:17:36 nexus3.edgexfoundry.org:10002 06:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:36 Configure a credential helper to remove this warning. See 06:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:36 06:17:36 Login Succeeded 06:17:36 nexus3.edgexfoundry.org:10003 06:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:36 Configure a credential helper to remove this warning. See 06:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:36 06:17:36 Login Succeeded 06:17:36 nexus3.edgexfoundry.org:10004 06:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:36 Configure a credential helper to remove this warning. See 06:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:36 06:17:36 Login Succeeded 06:17:36 ****.io 06:17:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:17:36 Configure a credential helper to remove this warning. See 06:17:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:17:36 06:17:36 Login Succeeded 06:17:36 ---> ****-login.sh ends [Pipeline] } 06:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:17:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:17:36 ========================================================= 06:17:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:17:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:37 + 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:17:37 Sending build context to Docker daemon 18.21MB 06:17:37 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:17:37 Step 2/10 : FROM ${BASE} AS builder 06:17:37 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:17:37 da9db072f522: Pulling fs layer 06:17:37 6ef4a4ee8ca5: Pulling fs layer 06:17:37 06f05ace1117: Pulling fs layer 06:17:37 5fe327b54edc: Pulling fs layer 06:17:37 4f4fb700ef54: Pulling fs layer 06:17:37 92a5565b7b96: Pulling fs layer 06:17:37 ff9bb7016b71: Pulling fs layer 06:17:37 b67dba6c2c7d: Pulling fs layer 06:17:37 a813b0c90790: Pulling fs layer 06:17:37 4f4fb700ef54: Waiting 06:17:37 92a5565b7b96: Waiting 06:17:37 ff9bb7016b71: Waiting 06:17:37 b67dba6c2c7d: Waiting 06:17:37 a813b0c90790: Waiting 06:17:37 5fe327b54edc: Waiting 06:17:37 6ef4a4ee8ca5: Verifying Checksum 06:17:37 6ef4a4ee8ca5: Download complete 06:17:37 5fe327b54edc: Verifying Checksum 06:17:37 5fe327b54edc: Download complete 06:17:37 4f4fb700ef54: Verifying Checksum 06:17:37 4f4fb700ef54: Download complete 06:17:37 da9db072f522: Verifying Checksum 06:17:37 da9db072f522: Download complete 06:17:37 92a5565b7b96: Download complete 06:17:37 ff9bb7016b71: Verifying Checksum 06:17:37 ff9bb7016b71: Download complete 06:17:37 da9db072f522: Pull complete 06:17:37 a813b0c90790: Verifying Checksum 06:17:37 a813b0c90790: Download complete 06:17:37 6ef4a4ee8ca5: Pull complete 06:17:37 06f05ace1117: Verifying Checksum 06:17:37 06f05ace1117: Download complete 06:17:38 b67dba6c2c7d: Verifying Checksum 06:17:38 b67dba6c2c7d: Download complete 06:17:41 06f05ace1117: Pull complete 06:17:41 5fe327b54edc: Pull complete 06:17:41 4f4fb700ef54: Pull complete 06:17:41 92a5565b7b96: Pull complete 06:17:41 ff9bb7016b71: Pull complete 06:17:44 b67dba6c2c7d: Pull complete 06:17:44 a813b0c90790: Pull complete 06:17:44 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 06:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:17:44 ---> 3ba60ce46760 06:17:44 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:17:50 ---> Running in c5f14d6c12f8 06:17:50 Removing intermediate container c5f14d6c12f8 06:17:50 ---> 34ad2ef42285 06:17:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:50 ---> Running in 27646366131c 06:17:50 Removing intermediate container 27646366131c 06:17:50 ---> a746ee252918 06:17:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:17:50 ---> Running in 545b5b8c9aa7 06:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:17:50 Still waiting to schedule task 06:17:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:17:50 (1/8) Installing openssh-keygen (9.7_p1-r4) 06:17:50 (2/8) Installing libedit (20240517.3.1-r0) 06:17:50 (3/8) Installing openssh-client-common (9.7_p1-r4) 06:17:50 (4/8) Installing openssh-client-default (9.7_p1-r4) 06:17:50 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 06:17:50 (6/8) Installing openssh-server-common (9.7_p1-r4) 06:17:50 (7/8) Installing openssh-server (9.7_p1-r4) 06:17:50 (8/8) Installing openssh (9.7_p1-r4) 06:17:50 Executing busybox-1.36.1-r29.trigger 06:17:50 OK: 253 MiB in 66 packages 06:17:51 Removing intermediate container 545b5b8c9aa7 06:17:51 ---> 1ce2d741fda1 06:17:51 Step 6/10 : WORKDIR /device-modbus-go 06:17:51 ---> Running in c63f261ebeb0 06:17:51 Removing intermediate container c63f261ebeb0 06:17:51 ---> 2789057209a2 06:17:51 Step 7/10 : COPY go.mod vendor* ./ 06:17:51 ---> 157fcb117648 06:17:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:51 ---> Running in 5ab5b5a88af4 06:18:31 Removing intermediate container 5ab5b5a88af4 06:18:31 ---> 6f277dcd26b6 06:18:31 Step 9/10 : COPY . . 06:18:32 ---> 0c0aa787cc76 06:18:32 Step 10/10 : RUN ${MAKE} 06:18:32 ---> Running in 2e6faa5a6e08 06:18:32 noop 06:18:32 Removing intermediate container 2e6faa5a6e08 06:18:32 ---> 3953aaa329e6 06:18:32 Successfully built 3953aaa329e6 06:18:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:33 + docker inspect -f . ci-base-image-x86_64 06:18:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:33 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:18:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:18:33 $ docker top daf54cde6460d91cd4e095fdc5e704c78588fc45ec59efee1ffdcd64fc3b3b90 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:33 + go version 06:18:33 go version go1.23.4 linux/amd64 [Pipeline] } 06:18:33 $ docker stop --time=1 daf54cde6460d91cd4e095fdc5e704c78588fc45ec59efee1ffdcd64fc3b3b90 06:18:35 $ docker rm -f --volumes daf54cde6460d91cd4e095fdc5e704c78588fc45ec59efee1ffdcd64fc3b3b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:35 + docker inspect -f . ci-base-image-x86_64 06:18:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:35 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:18:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:18:36 $ docker top 0d215f0d7e4dc6470db1a659d122f659ae420d92f3df49bb39975822a1d27c4f -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:18:36 + make test 06:18:36 go test ./... -coverprofile=coverage.out 06:18:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:19:00 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:19:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 45.7% of statements 06:19:10 go vet ./... 06:19:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:19:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:19:15 ./bin/test-attribution-txt.sh [Pipeline] echo 06:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:19:16 $ docker stop --time=1 0d215f0d7e4dc6470db1a659d122f659ae420d92f3df49bb39975822a1d27c4f 06:19:20 $ docker rm -f --volumes 0d215f0d7e4dc6470db1a659d122f659ae420d92f3df49bb39975822a1d27c4f [Pipeline] // withDockerContainer [Pipeline] sh 06:19:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:19:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:19:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:19:22 + ls -al . 06:19:22 total 260 06:19:22 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 06:18 . 06:19:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 06:17 .. 06:19:22 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 06:17 .dockerignore 06:19:22 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 06:18 .git 06:19:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 06:17 .github 06:19:22 -rw-rw-r-- 1 jenkins jenkins 266 Feb 7 06:17 .gitignore 06:19:22 -rw-rw-r-- 1 jenkins jenkins 199 Feb 7 06:17 .golangci.yml 06:19:22 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 06:17 .semver 06:19:22 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 7 06:17 Attribution.txt 06:19:22 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 7 06:17 CHANGELOG.md 06:19:22 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 7 06:17 Dockerfile 06:19:22 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 06:17 GOVERNANCE.md 06:19:22 -rw-rw-r-- 1 jenkins jenkins 658 Feb 7 06:17 Jenkinsfile 06:19:22 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 06:17 LICENSE 06:19:22 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 7 06:17 Makefile 06:19:22 -rw-rw-r-- 1 jenkins jenkins 622 Feb 7 06:17 OWNERS.md 06:19:22 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 7 06:17 README.md 06:19:22 -rw-rw-r-- 1 jenkins jenkins 12 Feb 7 06:17 VERSION 06:19:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 06:17 bin 06:19:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 06:17 cmd 06:19:22 -rw-r--r-- 1 jenkins jenkins 26779 Feb 7 06:18 coverage.out 06:19:22 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 7 06:17 go.mod 06:19:22 -rw-rw-r-- 1 jenkins jenkins 86606 Feb 7 06:17 go.sum 06:19:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 06:17 internal 06:19:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 06:17 simulator 06:19:22 -rw-rw-r-- 1 jenkins jenkins 229 Feb 7 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:22 + 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=b1150cef3ee3943af5fba7b24690d73d6672cf6d --label arch=amd64 --label version=4.0.0-dev.13 . 06:19:22 Sending build context to Docker daemon 18.24MB 06:19:22 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 06:19:22 Step 2/23 : FROM ${BASE} AS builder 06:19:22 ---> 3953aaa329e6 06:19:22 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:19:22 ---> Running in 2cd78083165f 06:19:22 Removing intermediate container 2cd78083165f 06:19:22 ---> f14d7623d789 06:19:22 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:19:22 ---> Running in 8b450975d32e 06:19:22 Removing intermediate container 8b450975d32e 06:19:22 ---> 9483fdf82d2d 06:19:22 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:19:23 ---> Running in adbfb19ff2d5 06:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:19:24 OK: 253 MiB in 66 packages 06:19:24 Removing intermediate container adbfb19ff2d5 06:19:24 ---> 8578993f2b9e 06:19:24 Step 6/23 : WORKDIR /device-modbus-go 06:19:24 ---> Running in e46f3073e070 06:19:24 Removing intermediate container e46f3073e070 06:19:24 ---> de616756fc99 06:19:24 Step 7/23 : COPY go.mod vendor* ./ 06:19:24 ---> 96f5c4dbe13f 06:19:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:24 ---> Running in b0c78c8ec458 06:19:25 Removing intermediate container b0c78c8ec458 06:19:25 ---> 607bd902f745 06:19:25 Step 9/23 : COPY . . 06:19:26 ---> e442a57e9af5 06:19:26 Step 10/23 : RUN ${MAKE} 06:19:26 ---> Running in 94f953af1d7b 06:19:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.21 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:19:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-38344 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:19:34 Running in /w/workspace/device-modbus-go/178 [Pipeline] { [Pipeline] checkout 06:19:34 The recommended git tool is: git 06:19:42 using credential edgex-jenkins-ssh 06:19:42 Cloning the remote Git repository 06:19:42 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:19:42 > git init /w/workspace/device-modbus-go/178 # timeout=10 06:19:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:19:42 > git --version # timeout=10 06:19:42 > git --version # 'git version 2.25.1' 06:19:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:19:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:45 Avoid second fetch 06:19:45 Checking out Revision b1150cef3ee3943af5fba7b24690d73d6672cf6d (main) 06:19:46 Commit message: "Merge pull request #611 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.21" 06:19:45 > git config core.sparsecheckout # timeout=10 06:19:45 > git checkout -f b1150cef3ee3943af5fba7b24690d73d6672cf6d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:19:51 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:51 Dload Upload Total Spent Left Speed 06:19:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 33846 0 --:--:-- --:--:-- --:--:-- 33846 [Pipeline] sh 06:19:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:19:52 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 06:19:52 tee /etc/docker/daemon.new 06:19:52 { 06:19:52 "registry-mirrors": [ 06:19:52 "https://nexus3.edgexfoundry.org:10001" 06:19:52 ], 06:19:52 "bip": "10.250.0.254/24", 06:19:52 "hosts": [ 06:19:52 "tcp://0.0.0.0:5555", 06:19:52 "unix:///var/run/docker.sock" 06:19:52 ], 06:19:52 "mtu": 1458, 06:19:52 "selinux-enabled": true, 06:19:52 "seccomp-profile": "/etc/docker/seccomp.json" 06:19:52 } [Pipeline] sh 06:19:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:19:52 + sudo service docker restart 06:19:58 Removing intermediate container 94f953af1d7b 06:19:58 ---> 3ae3ed5616f3 06:19:58 Step 11/23 : FROM alpine:3.20 06:19:58 3.20: Pulling from library/alpine 06:19:58 66a3d608f3fa: Pulling fs layer 06:19:59 66a3d608f3fa: Verifying Checksum 06:19:59 66a3d608f3fa: Download complete 06:19:59 66a3d608f3fa: Pull complete 06:19:59 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:19:59 Status: Downloaded newer image for alpine:3.20 06:19:59 ---> e29df9b510ff 06:19:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 06:19:59 ---> Running in a367198122fe 06:19:59 Removing intermediate container a367198122fe 06:19:59 ---> 6cbb4cbf80d7 06:19:59 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:19:59 ---> Running in 73f4b176f1df 06:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:20:00 (1/1) Installing dumb-init (1.2.5-r3) 06:20:00 Executing busybox-1.36.1-r29.trigger 06:20:00 OK: 8 MiB in 15 packages 06:20:00 Removing intermediate container 73f4b176f1df 06:20:00 ---> 0068671dfce6 06:20:00 Step 14/23 : RUN apk --no-cache upgrade 06:20:00 ---> Running in 74b69ca97a25 06:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:20:01 OK: 8 MiB in 15 packages 06:20:01 Removing intermediate container 74b69ca97a25 06:20:01 ---> 8f8017399227 06:20:01 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:20:03 ---> 929da48d9819 06:20:03 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:20:03 ---> ad4ffbcfaa10 06:20:03 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:20:03 ---> d2edf1f61f41 06:20:03 Step 18/23 : EXPOSE 59901 06:20:03 ---> Running in 0e193609393a 06:20:03 Removing intermediate container 0e193609393a 06:20:03 ---> 6366b036e5d3 06:20:03 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:20:03 ---> Running in 8a36fba04cba 06:20:03 Removing intermediate container 8a36fba04cba 06:20:03 ---> 89ae0c1ff33f 06:20:03 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:20:03 ---> Running in 0c8e271ae7a5 06:20:03 Removing intermediate container 0c8e271ae7a5 06:20:03 ---> 0ecc12656b70 06:20:03 Step 21/23 : LABEL arch=amd64 06:20:03 ---> Running in 17ca7a81f7aa 06:20:03 Removing intermediate container 17ca7a81f7aa 06:20:03 ---> bdd8ccb5803e 06:20:03 Step 22/23 : LABEL git_sha=b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:20:03 ---> Running in 1ba5d2ffbc59 06:20:03 Removing intermediate container 1ba5d2ffbc59 06:20:03 ---> 463c7ee578af 06:20:03 Step 23/23 : LABEL version=4.0.0-dev.13 06:20:03 ---> Running in a963833fc6b7 06:20:04 Removing intermediate container a963833fc6b7 06:20:04 ---> 549c74b4b7fe 06:20:04 [Warning] One or more build-args [ARCH] were not consumed 06:20:04 Successfully built 549c74b4b7fe 06:20:04 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:20:04 provisioning config files... 06:20:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13779763252530837234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:04 ---> ****-login.sh 06:20:04 nexus3.edgexfoundry.org:10001 06:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:04 Configure a credential helper to remove this warning. See 06:20:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:04 06:20:04 Login Succeeded 06:20:04 nexus3.edgexfoundry.org:10002 06:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:04 Configure a credential helper to remove this warning. See 06:20:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:04 06:20:04 Login Succeeded 06:20:04 nexus3.edgexfoundry.org:10003 06:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:04 Configure a credential helper to remove this warning. See 06:20:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:04 06:20:04 Login Succeeded 06:20:04 nexus3.edgexfoundry.org:10004 06:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:04 Configure a credential helper to remove this warning. See 06:20:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:04 06:20:04 Login Succeeded 06:20:04 ****.io 06:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:05 Configure a credential helper to remove this warning. See 06:20:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:05 06:20:05 Login Succeeded 06:20:05 ---> ****-login.sh ends [Pipeline] } 06:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:20:05 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:20:05 b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:20:05 latest 06:20:05 4.0.0-dev.13 06:20:05 b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 06:20:05 main 06:20:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:05 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:20:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:20:05 ffc28ad493bb: Preparing 06:20:05 db8b933a2da6: Preparing 06:20:05 6c0c8812e6ed: Preparing 06:20:05 c84c25bd94bf: Preparing 06:20:05 fa2fb1177af3: Preparing 06:20:05 ce5a8cde9eee: Preparing 06:20:05 ce5a8cde9eee: Waiting 06:20:05 db8b933a2da6: Pushed 06:20:05 fa2fb1177af3: Pushed 06:20:05 ce5a8cde9eee: Layer already exists 06:20:05 c84c25bd94bf: Pushed 06:20:05 ffc28ad493bb: Pushed 06:20:09 6c0c8812e6ed: Pushed 06:20:09 b1150cef3ee3943af5fba7b24690d73d6672cf6d: digest: sha256:8cb4514c24391053408913966f7789aea6ddc3a52b2a7717f594685bd49f08c8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:20:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:20:09 ffc28ad493bb: Preparing 06:20:09 db8b933a2da6: Preparing 06:20:09 6c0c8812e6ed: Preparing 06:20:09 c84c25bd94bf: Preparing 06:20:09 fa2fb1177af3: Preparing 06:20:09 ce5a8cde9eee: Preparing 06:20:09 ce5a8cde9eee: Waiting 06:20:09 ffc28ad493bb: Layer already exists 06:20:09 c84c25bd94bf: Layer already exists 06:20:09 db8b933a2da6: Layer already exists 06:20:09 fa2fb1177af3: Layer already exists 06:20:09 6c0c8812e6ed: Layer already exists 06:20:09 ce5a8cde9eee: Layer already exists 06:20:09 latest: digest: sha256:8cb4514c24391053408913966f7789aea6ddc3a52b2a7717f594685bd49f08c8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.13 06:20:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:20:10 ffc28ad493bb: Preparing 06:20:10 db8b933a2da6: Preparing 06:20:10 6c0c8812e6ed: Preparing 06:20:10 c84c25bd94bf: Preparing 06:20:10 fa2fb1177af3: Preparing 06:20:10 ce5a8cde9eee: Preparing 06:20:10 ce5a8cde9eee: Waiting 06:20:10 fa2fb1177af3: Layer already exists 06:20:10 db8b933a2da6: Layer already exists 06:20:10 ffc28ad493bb: Layer already exists 06:20:10 c84c25bd94bf: Layer already exists 06:20:10 6c0c8812e6ed: Layer already exists 06:20:10 ce5a8cde9eee: Layer already exists 06:20:10 4.0.0-dev.13: digest: sha256:8cb4514c24391053408913966f7789aea6ddc3a52b2a7717f594685bd49f08c8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 06:20:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:20:11 ffc28ad493bb: Preparing 06:20:11 db8b933a2da6: Preparing 06:20:11 6c0c8812e6ed: Preparing 06:20:11 c84c25bd94bf: Preparing 06:20:11 fa2fb1177af3: Preparing 06:20:11 ce5a8cde9eee: Preparing 06:20:11 ce5a8cde9eee: Waiting 06:20:11 6c0c8812e6ed: Layer already exists 06:20:11 ffc28ad493bb: Layer already exists 06:20:11 fa2fb1177af3: Layer already exists 06:20:11 db8b933a2da6: Layer already exists 06:20:11 c84c25bd94bf: Layer already exists 06:20:11 ce5a8cde9eee: Layer already exists 06:20:11 b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13: digest: sha256:8cb4514c24391053408913966f7789aea6ddc3a52b2a7717f594685bd49f08c8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:20:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:20:11 ffc28ad493bb: Preparing 06:20:11 db8b933a2da6: Preparing 06:20:11 6c0c8812e6ed: Preparing 06:20:11 c84c25bd94bf: Preparing 06:20:11 fa2fb1177af3: Preparing 06:20:11 ce5a8cde9eee: Preparing 06:20:11 ffc28ad493bb: Layer already exists 06:20:11 c84c25bd94bf: Layer already exists 06:20:11 6c0c8812e6ed: Layer already exists 06:20:11 fa2fb1177af3: Layer already exists 06:20:11 db8b933a2da6: Layer already exists 06:20:11 ce5a8cde9eee: Layer already exists 06:20:11 main: digest: sha256:8cb4514c24391053408913966f7789aea6ddc3a52b2a7717f594685bd49f08c8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:20:11 ===================================================== [Pipeline] echo 06:20:12 taggedImages: 06:20:12 - nexus3.edgexfoundry.org:10004/device-modbus:b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:20:12 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:20:12 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.13 06:20:12 - nexus3.edgexfoundry.org:10004/device-modbus:b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 06:20:12 - 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:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:12 06:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:12 latest: Pulling from edgex-lftools-log-publisher 06:20:12 5eb5b503b376: Pulling fs layer 06:20:12 5c69ac0246d0: Pulling fs layer 06:20:12 ec43610c2a17: Pulling fs layer 06:20:12 3a2ae6a8a46f: Pulling fs layer 06:20:12 33b1e0a273af: Pulling fs layer 06:20:12 5d3b04190fa2: Pulling fs layer 06:20:12 2f39f015ded8: Pulling fs layer 06:20:12 5d3b04190fa2: Waiting 06:20:12 3a2ae6a8a46f: Waiting 06:20:12 33b1e0a273af: Waiting 06:20:12 2f39f015ded8: Waiting 06:20:12 5c69ac0246d0: Verifying Checksum 06:20:12 5c69ac0246d0: Download complete 06:20:12 3a2ae6a8a46f: Verifying Checksum 06:20:12 3a2ae6a8a46f: Download complete 06:20:12 33b1e0a273af: Verifying Checksum 06:20:12 33b1e0a273af: Download complete 06:20:12 5d3b04190fa2: Download complete 06:20:12 ec43610c2a17: Verifying Checksum 06:20:12 ec43610c2a17: Download complete 06:20:12 5eb5b503b376: Verifying Checksum 06:20:12 5eb5b503b376: Download complete 06:20:13 2f39f015ded8: Download complete 06:20:14 5eb5b503b376: Pull complete 06:20:14 5c69ac0246d0: Pull complete 06:20:14 ec43610c2a17: Pull complete 06:20:14 3a2ae6a8a46f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:15 provisioning config files... 06:20:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/178@tmp/config18027251770941243520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:15 33b1e0a273af: Pull complete 06:20:15 5d3b04190fa2: Pull complete 06:20:15 ---> ****-login.sh 06:20:15 nexus3.edgexfoundry.org:10001 06:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:16 Configure a credential helper to remove this warning. See 06:20:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:16 06:20:16 Login Succeeded 06:20:16 nexus3.edgexfoundry.org:10002 06:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:16 Configure a credential helper to remove this warning. See 06:20:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:16 06:20:16 Login Succeeded 06:20:16 nexus3.edgexfoundry.org:10003 06:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:16 Configure a credential helper to remove this warning. See 06:20:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:16 06:20:16 Login Succeeded 06:20:16 nexus3.edgexfoundry.org:10004 06:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:16 Configure a credential helper to remove this warning. See 06:20:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:16 06:20:16 Login Succeeded 06:20:16 ****.io 06:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:17 Configure a credential helper to remove this warning. See 06:20:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:17 06:20:17 Login Succeeded 06:20:17 ---> ****-login.sh ends [Pipeline] } 06:20:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:20:17 ========================================================= 06:20:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:20:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:17 + 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:20:19 #0 building with "default" instance using docker driver 06:20:19 06:20:19 #1 [internal] load .dockerignore 06:20:19 #1 transferring context: 182B 0.0s done 06:20:19 #1 DONE 0.1s 06:20:19 06:20:19 #2 [internal] load build definition from Dockerfile 06:20:19 #2 transferring dockerfile: 1.52kB 0.0s done 06:20:19 #2 DONE 0.1s 06:20:19 06:20:19 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:20:19 #3 DONE 0.1s 06:20:19 06:20:19 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:20:19 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 06:20:19 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.1s done 06:20:19 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 06:20:19 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 06:20:19 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 0B / 70.67MB 0.1s 06:20:19 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 2.10MB / 4.09MB 0.2s 06:20:19 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.29MB / 70.67MB 0.3s 06:20:19 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.3s done 06:20:19 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.2s done 06:20:19 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 06:20:19 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 06:20:19 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s done 06:20:19 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.4s done 06:20:19 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 0B / 98.78MB 0.4s 06:20:19 #4 ... 06:20:19 06:20:19 #5 [internal] load build context 06:20:19 #5 transferring context: 9.11MB 0.4s done 06:20:19 #5 DONE 0.5s 06:20:19 06:20:19 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:20:19 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 12.58MB / 70.67MB 0.5s 06:20:19 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.10MB / 12.74MB 0.5s 06:20:19 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 17.83MB / 70.67MB 0.6s 06:20:19 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 9.44MB / 98.78MB 0.6s 06:20:19 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 6.29MB / 12.74MB 0.6s 06:20:19 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 29.36MB / 70.67MB 0.8s 06:20:19 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 06:20:19 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 18.87MB / 98.78MB 0.8s 06:20:19 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s done 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 35.65MB / 70.67MB 0.9s 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 23.93MB / 98.78MB 0.9s 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 40.89MB / 70.67MB 1.0s 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 47.19MB / 70.67MB 1.1s 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 33.55MB / 98.78MB 1.1s 06:20:20 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.1s 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 53.48MB / 70.67MB 1.2s 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 39.85MB / 98.78MB 1.2s 06:20:20 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 06:20:20 2f39f015ded8: Pull complete 06:20:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:20:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:20:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:20 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:20:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 65.01MB / 70.67MB 1.4s 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 50.89MB / 98.78MB 1.4s 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.5s 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 56.62MB / 98.78MB 1.5s 06:20:20 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.6s done 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 61.87MB / 98.78MB 1.6s 06:20:20 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 73.40MB / 98.78MB 1.8s 06:20:20 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 06:20:21 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 81.79MB / 98.78MB 2.0s 06:20:21 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 91.23MB / 98.78MB 2.2s 06:20:21 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.4s 06:20:21 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.5s done 06:20:24 $ docker top 68ad041a63ca50abd6f565a0ce1f727b43070659589b99ea430673897618601d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:25 ---> job-cost.sh 06:20:25 lf-activate-venv: SKIPPING 06:20:25 INFO: No Stack... 06:20:25 INFO: Retrieving Pricing Info for: v3-standard-8 06:20:25 INFO: Archiving Costs [Pipeline] sh 06:20:25 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:20:25 + cut -d, -f6 [Pipeline] lock 06:20:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] 06:20:25 Resource [jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] did not exist. Created. 06:20:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:20:26 + echo total: 0.2199999988079071 [Pipeline] stash 06:20:26 Stashed 1 file(s) [Pipeline] } 06:20:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:26 $ docker stop --time=1 68ad041a63ca50abd6f565a0ce1f727b43070659589b99ea430673897618601d 06:20:27 $ docker rm -f --volumes 68ad041a63ca50abd6f565a0ce1f727b43070659589b99ea430673897618601d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:20:28 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.4s 06:20:33 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.9s 06:20:40 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 18.8s done 06:20:41 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 06:20:41 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 06:20:41 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 06:20:41 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 06:20:41 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 06:20:41 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 06:20:46 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.1s 06:20:51 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.9s done 06:20:51 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 06:20:52 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.0s done 06:20:53 #4 DONE 33.9s 06:20:53 06:20:53 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 06:20:53 #6 0.727 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:20:54 #6 1.115 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:20:55 #6 2.473 (1/8) Installing openssh-keygen (9.7_p1-r4) 06:20:55 #6 2.512 (2/8) Installing libedit (20240517.3.1-r0) 06:20:55 #6 2.523 (3/8) Installing openssh-client-common (9.7_p1-r4) 06:20:55 #6 2.583 (4/8) Installing openssh-client-default (9.7_p1-r4) 06:20:55 #6 2.607 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 06:20:55 #6 2.615 (6/8) Installing openssh-server-common (9.7_p1-r4) 06:20:55 #6 2.621 (7/8) Installing openssh-server (9.7_p1-r4) 06:20:55 #6 2.646 (8/8) Installing openssh (9.7_p1-r4) 06:20:55 #6 2.661 Executing busybox-1.36.1-r29.trigger 06:20:55 #6 2.699 OK: 245 MiB in 66 packages 06:20:57 #6 DONE 4.6s 06:20:57 06:20:57 #7 [builder 3/7] WORKDIR /device-modbus-go 06:20:57 #7 DONE 0.1s 06:20:57 06:20:57 #8 [builder 4/7] COPY go.mod vendor* ./ 06:20:57 #8 DONE 0.1s 06:20:57 06:20:57 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:21:24 #9 DONE 23.9s 06:21:24 06:21:24 #10 [builder 6/7] COPY . . 06:21:24 #10 DONE 0.3s 06:21:24 06:21:24 #11 [builder 7/7] RUN echo noop 06:21:24 #11 0.649 noop 06:21:24 #11 DONE 0.7s 06:21:24 06:21:24 #12 exporting to image 06:21:24 #12 exporting layers 06:22:03 #12 exporting layers 34.9s done 06:22:03 #12 writing image sha256:13c24711a55c2359a6bea96ba2f5a48ede44ed42008a81697a838b167bcb9e77 done 06:22:03 #12 naming to docker.io/library/ci-base-image-arm64 done 06:22:03 #12 DONE 34.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:03 + docker inspect -f . ci-base-image-arm64 06:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:04 prd-ubuntu20.04-docker-arm64-4c-16g-38344 does not seem to be running inside a container 06:22:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/178 -v /w/workspace/device-modbus-go/178:/w/workspace/device-modbus-go/178:rw,z -v /w/workspace/device-modbus-go/178@tmp:/w/workspace/device-modbus-go/178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:22:05 $ docker top 1954ed88e91ab1472ceefa069a123a3220b5f436092f876e33f85b455ead39b9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:06 + go version 06:22:06 go version go1.23.4 linux/arm64 [Pipeline] } 06:22:06 $ docker stop --time=1 1954ed88e91ab1472ceefa069a123a3220b5f436092f876e33f85b455ead39b9 06:22:07 $ docker rm -f --volumes 1954ed88e91ab1472ceefa069a123a3220b5f436092f876e33f85b455ead39b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:08 + docker inspect -f . ci-base-image-arm64 06:22:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:08 prd-ubuntu20.04-docker-arm64-4c-16g-38344 does not seem to be running inside a container 06:22:08 $ 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/178 -v /w/workspace/device-modbus-go/178:/w/workspace/device-modbus-go/178:rw,z -v /w/workspace/device-modbus-go/178@tmp:/w/workspace/device-modbus-go/178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:22:09 $ docker top f1a0076e4db0d6a802ec3a4c0db2d48e8024212c29fa08eed76bbb5d178c37a2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:09 + git config --global --add safe.directory /w/workspace/device-modbus-go/178 [Pipeline] fileExists [Pipeline] sh 06:22:10 + make test 06:22:10 go test ./... -coverprofile=coverage.out 06:22:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:24:22 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:24:22 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 45.7% of statements 06:24:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:24:22 go vet ./... 06:24:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:24:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:24:41 ./bin/test-attribution-txt.sh [Pipeline] echo 06:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:24:41 $ docker stop --time=1 f1a0076e4db0d6a802ec3a4c0db2d48e8024212c29fa08eed76bbb5d178c37a2 06:24:42 $ docker rm -f --volumes f1a0076e4db0d6a802ec3a4c0db2d48e8024212c29fa08eed76bbb5d178c37a2 [Pipeline] // withDockerContainer [Pipeline] sh 06:24:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:24:44 Warning: overwriting stash ‘coverage-report’ 06:24:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:45 + ls -al . 06:24:45 total 256 06:24:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 06:22 . 06:24:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 06:19 .. 06:24:45 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 06:19 .dockerignore 06:24:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 06:19 .git 06:24:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 06:19 .github 06:24:45 -rw-rw-r-- 1 jenkins jenkins 266 Feb 7 06:19 .gitignore 06:24:45 -rw-rw-r-- 1 jenkins jenkins 199 Feb 7 06:19 .golangci.yml 06:24:45 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 7 06:19 Attribution.txt 06:24:45 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 7 06:19 CHANGELOG.md 06:24:45 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 7 06:19 Dockerfile 06:24:45 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 06:19 GOVERNANCE.md 06:24:45 -rw-rw-r-- 1 jenkins jenkins 658 Feb 7 06:19 Jenkinsfile 06:24:45 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 06:19 LICENSE 06:24:45 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 7 06:19 Makefile 06:24:45 -rw-rw-r-- 1 jenkins jenkins 622 Feb 7 06:19 OWNERS.md 06:24:45 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 7 06:19 README.md 06:24:45 -rw-rw-r-- 1 jenkins jenkins 12 Feb 7 06:17 VERSION 06:24:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 06:19 bin 06:24:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 06:19 cmd 06:24:45 -rw-r--r-- 1 jenkins jenkins 26779 Feb 7 06:24 coverage.out 06:24:45 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 7 06:19 go.mod 06:24:45 -rw-rw-r-- 1 jenkins jenkins 86606 Feb 7 06:19 go.sum 06:24:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 06:19 internal 06:24:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 06:19 simulator 06:24:45 -rw-rw-r-- 1 jenkins jenkins 229 Feb 7 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:45 + 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=b1150cef3ee3943af5fba7b24690d73d6672cf6d --label arch=arm64 --label version=4.0.0-dev.13 . 06:24:46 #0 building with "default" instance using docker driver 06:24:46 06:24:46 #1 [internal] load .dockerignore 06:24:46 #1 transferring context: 182B done 06:24:46 #1 DONE 0.0s 06:24:46 06:24:46 #2 [internal] load build definition from Dockerfile 06:24:46 #2 transferring dockerfile: 1.52kB done 06:24:46 #2 DONE 0.0s 06:24:46 06:24:46 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 06:24:46 #3 DONE 0.0s 06:24:46 06:24:46 #4 [internal] load metadata for docker.io/library/alpine:3.20 06:24:46 #4 DONE 0.4s 06:24:47 06:24:47 #5 [internal] load build context 06:24:47 #5 transferring context: 35.29kB 0.0s done 06:24:47 #5 DONE 0.1s 06:24:47 06:24:47 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:24:47 #6 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.1s done 06:24:47 #6 ... 06:24:47 06:24:47 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 06:24:47 #7 DONE 0.2s 06:24:47 06:24:47 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:24:47 #6 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 06:24:47 #6 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 06:24:47 #6 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 06:24:47 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 2.10MB / 4.09MB 0.1s 06:24:47 #6 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.1s done 06:24:47 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 06:24:47 #6 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.5s done 06:24:48 #6 DONE 1.0s 06:24:48 06:24:48 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:24:48 #8 0.666 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:24:49 #8 0.958 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:24:50 #8 ... 06:24:50 06:24:50 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh 06:24:50 #9 0.727 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:24:50 #9 1.139 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:24:50 #9 2.558 OK: 245 MiB in 66 packages 06:24:50 #9 DONE 3.0s 06:24:50 06:24:50 #10 [builder 3/7] WORKDIR /device-modbus-go 06:24:50 #10 DONE 0.1s 06:24:50 06:24:50 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:24:50 #8 2.297 (1/1) Installing dumb-init (1.2.5-r3) 06:24:50 #8 2.311 Executing busybox-1.36.1-r29.trigger 06:24:50 #8 2.347 OK: 9 MiB in 15 packages 06:24:50 #8 ... 06:24:50 06:24:50 #11 [builder 4/7] COPY go.mod vendor* ./ 06:24:50 #11 DONE 0.1s 06:24:50 06:24:50 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:51 #12 ... 06:24:51 06:24:51 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:24:51 #8 DONE 2.7s 06:24:51 06:24:51 #13 [stage-1 3/6] RUN apk --no-cache upgrade 06:24:51 #13 0.858 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:24:51 #13 ... 06:24:51 06:24:51 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:51 #12 DONE 1.5s 06:24:52 06:24:52 #13 [stage-1 3/6] RUN apk --no-cache upgrade 06:24:52 #13 1.196 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:24:52 #13 ... 06:24:52 06:24:52 #14 [builder 6/7] COPY . . 06:24:52 #14 DONE 0.4s 06:24:52 06:24:52 #15 [builder 7/7] RUN make build 06:24:53 #15 0.701 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.21 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:24:53 #15 ... 06:24:53 06:24:53 #13 [stage-1 3/6] RUN apk --no-cache upgrade 06:24:53 #13 2.699 OK: 9 MiB in 15 packages 06:24:53 #13 DONE 3.1s 06:24:53 06:24:53 #15 [builder 7/7] RUN make build 06:27:00 #15 DONE 122.5s 06:27:00 06:27:00 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 06:27:00 #16 DONE 0.4s 06:27:00 06:27:00 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 06:27:00 #17 DONE 0.1s 06:27:00 06:27:00 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 06:27:00 #18 DONE 0.1s 06:27:00 06:27:00 #19 exporting to image 06:27:00 #19 exporting layers 06:27:00 #19 exporting layers 0.9s done 06:27:00 #19 writing image sha256:d6dd90baf6b30043ac0203083946ece84ac0088dd3d80aea49f31cb479f2d773 done 06:27:00 #19 naming to docker.io/library/device-modbus-arm64 done 06:27:00 #19 DONE 1.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:01 provisioning config files... 06:27:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/178@tmp/config15416001434496123819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:01 ---> ****-login.sh 06:27:01 nexus3.edgexfoundry.org:10001 06:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:01 Configure a credential helper to remove this warning. See 06:27:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:01 06:27:01 Login Succeeded 06:27:01 nexus3.edgexfoundry.org:10002 06:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:01 Configure a credential helper to remove this warning. See 06:27:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:01 06:27:01 Login Succeeded 06:27:01 nexus3.edgexfoundry.org:10003 06:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:02 Configure a credential helper to remove this warning. See 06:27:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:02 06:27:02 Login Succeeded 06:27:02 nexus3.edgexfoundry.org:10004 06:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:02 Configure a credential helper to remove this warning. See 06:27:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:02 06:27:02 Login Succeeded 06:27:02 ****.io 06:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:02 Configure a credential helper to remove this warning. See 06:27:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:02 06:27:02 Login Succeeded 06:27:02 ---> ****-login.sh ends [Pipeline] } 06:27:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:27:03 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:27:03 b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:27:03 latest 06:27:03 4.0.0-dev.13 06:27:03 b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 06:27:03 main 06:27:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:27:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:27:03 3d87657cbecf: Preparing 06:27:03 e8f392cff815: Preparing 06:27:03 1f8f4b880681: Preparing 06:27:03 2077cb1069e2: Preparing 06:27:03 618fc263e85d: Preparing 06:27:03 534a70dc8296: Preparing 06:27:03 534a70dc8296: Waiting 06:27:04 2077cb1069e2: Pushed 06:27:04 3d87657cbecf: Pushed 06:27:04 e8f392cff815: Pushed 06:27:04 534a70dc8296: Layer already exists 06:27:04 618fc263e85d: Pushed 06:27:10 1f8f4b880681: Pushed 06:27:10 b1150cef3ee3943af5fba7b24690d73d6672cf6d: digest: sha256:09d9ecd8222495c14ca453dd0b7dc7afbbf26774b29a08616fa95ca85d2c6fe8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:27:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:27:11 3d87657cbecf: Preparing 06:27:11 e8f392cff815: Preparing 06:27:11 1f8f4b880681: Preparing 06:27:11 2077cb1069e2: Preparing 06:27:11 618fc263e85d: Preparing 06:27:11 534a70dc8296: Preparing 06:27:11 534a70dc8296: Waiting 06:27:11 2077cb1069e2: Layer already exists 06:27:11 3d87657cbecf: Layer already exists 06:27:11 1f8f4b880681: Layer already exists 06:27:11 618fc263e85d: Layer already exists 06:27:11 e8f392cff815: Layer already exists 06:27:11 534a70dc8296: Layer already exists 06:27:11 latest: digest: sha256:09d9ecd8222495c14ca453dd0b7dc7afbbf26774b29a08616fa95ca85d2c6fe8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:12 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.13 06:27:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:27:12 3d87657cbecf: Preparing 06:27:12 e8f392cff815: Preparing 06:27:12 1f8f4b880681: Preparing 06:27:12 2077cb1069e2: Preparing 06:27:12 618fc263e85d: Preparing 06:27:12 534a70dc8296: Preparing 06:27:12 534a70dc8296: Waiting 06:27:12 618fc263e85d: Layer already exists 06:27:12 1f8f4b880681: Layer already exists 06:27:12 3d87657cbecf: Layer already exists 06:27:12 e8f392cff815: Layer already exists 06:27:12 2077cb1069e2: Layer already exists 06:27:12 534a70dc8296: Layer already exists 06:27:12 4.0.0-dev.13: digest: sha256:09d9ecd8222495c14ca453dd0b7dc7afbbf26774b29a08616fa95ca85d2c6fe8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:13 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 06:27:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:27:13 3d87657cbecf: Preparing 06:27:13 e8f392cff815: Preparing 06:27:13 1f8f4b880681: Preparing 06:27:13 2077cb1069e2: Preparing 06:27:13 618fc263e85d: Preparing 06:27:13 534a70dc8296: Preparing 06:27:13 534a70dc8296: Waiting 06:27:13 e8f392cff815: Layer already exists 06:27:13 1f8f4b880681: Layer already exists 06:27:13 618fc263e85d: Layer already exists 06:27:13 3d87657cbecf: Layer already exists 06:27:13 2077cb1069e2: Layer already exists 06:27:13 534a70dc8296: Layer already exists 06:27:13 b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13: digest: sha256:09d9ecd8222495c14ca453dd0b7dc7afbbf26774b29a08616fa95ca85d2c6fe8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:14 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:27:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:27:14 3d87657cbecf: Preparing 06:27:14 e8f392cff815: Preparing 06:27:14 1f8f4b880681: Preparing 06:27:14 2077cb1069e2: Preparing 06:27:14 618fc263e85d: Preparing 06:27:14 534a70dc8296: Preparing 06:27:14 534a70dc8296: Waiting 06:27:14 2077cb1069e2: Layer already exists 06:27:14 e8f392cff815: Layer already exists 06:27:14 618fc263e85d: Layer already exists 06:27:14 3d87657cbecf: Layer already exists 06:27:14 1f8f4b880681: Layer already exists 06:27:14 534a70dc8296: Layer already exists 06:27:14 main: digest: sha256:09d9ecd8222495c14ca453dd0b7dc7afbbf26774b29a08616fa95ca85d2c6fe8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:27:14 ===================================================== [Pipeline] echo 06:27:14 taggedImages: 06:27:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b1150cef3ee3943af5fba7b24690d73d6672cf6d 06:27:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:27:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.13 06:27:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b1150cef3ee3943af5fba7b24690d73d6672cf6d-4.0.0-dev.13 06:27:14 - 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:27:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:15 06:27:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:15 arm64: Pulling from edgex-lftools-log-publisher 06:27:15 8998bd30e6a1: Pulling fs layer 06:27:15 04944245beec: Pulling fs layer 06:27:15 699f458cf7ca: Pulling fs layer 06:27:15 765212b225bb: Pulling fs layer 06:27:15 f23df028b6ca: Pulling fs layer 06:27:15 d65c8cfc05b1: Pulling fs layer 06:27:15 2437ff75d9bd: Pulling fs layer 06:27:15 f23df028b6ca: Waiting 06:27:15 d65c8cfc05b1: Waiting 06:27:15 2437ff75d9bd: Waiting 06:27:15 765212b225bb: Waiting 06:27:15 04944245beec: Verifying Checksum 06:27:15 04944245beec: Download complete 06:27:15 765212b225bb: Verifying Checksum 06:27:15 765212b225bb: Download complete 06:27:15 f23df028b6ca: Verifying Checksum 06:27:15 f23df028b6ca: Download complete 06:27:15 d65c8cfc05b1: Verifying Checksum 06:27:15 d65c8cfc05b1: Download complete 06:27:16 699f458cf7ca: Verifying Checksum 06:27:16 699f458cf7ca: Download complete 06:27:16 8998bd30e6a1: Verifying Checksum 06:27:16 8998bd30e6a1: Download complete 06:27:18 2437ff75d9bd: Verifying Checksum 06:27:18 2437ff75d9bd: Download complete 06:27:22 8998bd30e6a1: Pull complete 06:27:23 04944245beec: Pull complete 06:27:25 699f458cf7ca: Pull complete 06:27:25 765212b225bb: Pull complete 06:27:26 f23df028b6ca: Pull complete 06:27:26 d65c8cfc05b1: Pull complete 06:27:52 2437ff75d9bd: Pull complete 06:27:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:53 prd-ubuntu20.04-docker-arm64-4c-16g-38344 does not seem to be running inside a container 06:27:53 $ 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/178 -v /w/workspace/device-modbus-go/178:/w/workspace/device-modbus-go/178:rw,z -v /w/workspace/device-modbus-go/178@tmp:/w/workspace/device-modbus-go/178@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:arm64 cat 06:27:54 $ docker top 189ba7fe7510dfb084581701870f8af2e907ce57d4788ed6ab2c6eea73acd3d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:55 ---> job-cost.sh 06:27:55 lf-activate-venv: SKIPPING 06:27:55 INFO: No Stack... 06:27:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:27:56 INFO: Archiving Costs [Pipeline] sh 06:27:57 + cat /w/workspace/device-modbus-go/178/archives/cost.csv 06:27:57 + cut -d, -f6 [Pipeline] lock 06:27:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] 06:27:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] did not exist. Created. 06:27:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:27:57 /w/workspace/device-modbus-go/178@tmp/durable-01c8751c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:27:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:27:58 Warning: overwriting stash ‘stack-cost’ 06:27:58 Stashed 1 file(s) [Pipeline] } 06:27:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-178-stack-cost] [Pipeline] // lock [Pipeline] } 06:27:58 $ docker stop --time=1 189ba7fe7510dfb084581701870f8af2e907ce57d4788ed6ab2c6eea73acd3d5 06:27:59 $ docker rm -f --volumes 189ba7fe7510dfb084581701870f8af2e907ce57d4788ed6ab2c6eea73acd3d5 [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:28:00 provisioning config files... 06:28:00 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6543014351674440841tmp [Pipeline] { [Pipeline] sh 06:28:00 + set +x 06:28:00 + bash -s -- 06:28:00 + curl -s https://codecov.io/bash 06:28:00 06:28:00 _____ _ 06:28:00 / ____| | | 06:28:00 | | ___ __| | ___ ___ _____ __ 06:28:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:28:00 | |___| (_) | (_| | __/ (_| (_) \ V / 06:28:00 \_____\___/ \__,_|\___|\___\___/ \_/ 06:28:00 Bash-1.0.6 06:28:00 06:28:00 06:28:00 ==> git version 2.25.1 found 06:28: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:28:00 Release-Date: 2020-01-08 06:28: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:28:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:28:00 ==> Jenkins CI detected. 06:28:00 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:28:00 project root: . 06:28:00 --> token set from env 06:28:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:28:00 ==> Running gcov in . (disable via -X gcov) 06:28:00 ==> Python coveragepy not found 06:28:00 ==> Searching for coverage reports in: 06:28:00 + . 06:28:00 -> Found 1 reports 06:28:00 ==> Detecting git/mercurial file structure 06:28:00 ==> Reading reports 06:28:00 + ./coverage.out bytes=26779 06:28:00 ==> Appending adjustments 06:28:00 https://docs.codecov.io/docs/fixing-reports 06:28:00 + Found adjustments 06:28:00 ==> Gzipping contents 06:28:00 8.0K /tmp/codecov.BOMaZn.gz 06:28:00 ==> Uploading reports 06:28:00 url: https://codecov.io 06:28:00 query: branch=main&commit=b1150cef3ee3943af5fba7b24690d73d6672cf6d&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:28:00 -> Pinging Codecov 06:28:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b1150cef3ee3943af5fba7b24690d73d6672cf6d&build=178&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F178%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:28:00 -> Uploading to 06:28:00 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/b1150cef3ee3943af5fba7b24690d73d6672cf6d/eaf8ade9-6e8a-469b-bdab-61f0c01b4bae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250207%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250207T062800Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=3766b8115becee0e9b635c1c71d170e87691c13b4759f24e162b782559a4cf97 06:28:00 % Total % Received % Xferd Average Speed Time Time Time Current 06:28:00 Dload Upload Total Spent Left Speed 06:28:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 35991 --:--:-- --:--:-- --:--:-- 35991 06:28:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] } 06:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:28:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:28:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:28:01 06:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:28:01 latest: Pulling from edgex-devops/edgex-snyk-go 06:28:01 43c4264eed91: Pulling fs layer 06:28:01 4cc291be95ef: Pulling fs layer 06:28:01 2ac1f1163629: Pulling fs layer 06:28:01 5c3c966382ef: Pulling fs layer 06:28:01 4f4fb700ef54: Pulling fs layer 06:28:01 d9c7d2e4e75e: Pulling fs layer 06:28:01 9c3e1370e548: Pulling fs layer 06:28:01 5c3c966382ef: Waiting 06:28:01 4f4fb700ef54: Waiting 06:28:01 9c3e1370e548: Waiting 06:28:01 d9c7d2e4e75e: Waiting 06:28:01 4cc291be95ef: Verifying Checksum 06:28:01 4cc291be95ef: Download complete 06:28:01 5c3c966382ef: Verifying Checksum 06:28:01 5c3c966382ef: Download complete 06:28:01 4f4fb700ef54: Verifying Checksum 06:28:01 4f4fb700ef54: Download complete 06:28:01 43c4264eed91: Download complete 06:28:02 43c4264eed91: Pull complete 06:28:02 d9c7d2e4e75e: Verifying Checksum 06:28:02 d9c7d2e4e75e: Download complete 06:28:02 4cc291be95ef: Pull complete 06:28:02 2ac1f1163629: Verifying Checksum 06:28:02 2ac1f1163629: Download complete 06:28:02 9c3e1370e548: Verifying Checksum 06:28:02 9c3e1370e548: Download complete 06:28:06 2ac1f1163629: Pull complete 06:28:06 5c3c966382ef: Pull complete 06:28:06 4f4fb700ef54: Pull complete 06:28:06 d9c7d2e4e75e: Pull complete 06:28:09 9c3e1370e548: Pull complete 06:28:09 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:28:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:28:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:09 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:28:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:28:13 $ docker top 24e5951649df69a2218983ecc7abc3857d4f60f0ce5370d009bb3b5d42ff8a78 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:28:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:28:14 + set -o pipefail 06:28:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:28:20 06:28:20 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:28:20 06:28:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/9252c250-6034-40e3-8e55-02b7824e6558 06:28:20 06:28:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:28:20 06:28:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:28:20 06:28:20 06:28:20 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:28:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:28:20 $ docker stop --time=1 24e5951649df69a2218983ecc7abc3857d4f60f0ce5370d009bb3b5d42ff8a78 06:28:23 $ docker rm -f --volumes 24e5951649df69a2218983ecc7abc3857d4f60f0ce5370d009bb3b5d42ff8a78 [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:28:24 + git log --format=format:%s -1 b1150cef3ee3943af5fba7b24690d73d6672cf6d [Pipeline] sh 06:28:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:25 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:26 $ docker top da967126bbad395d2982a346259282da8483f96d15a4f99f154841680a4173ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:26 [ssh-agent] Looking for ssh-agent implementation... 06:28:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:26 $ docker exec da967126bbad395d2982a346259282da8483f96d15a4f99f154841680a4173ca ssh-agent 06:28:26 SSH_AUTH_SOCK=/tmp/ssh-FLnifk4Ah89z/agent.33 06:28:26 SSH_AGENT_PID=39 06:28:26 Running ssh-add (command line suppressed) 06:28:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16827384603267457445.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16827384603267457445.key) 06:28:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:26 + git semver tag 06:28:27 2025-02-07 06:28:27,010 [run_tag] DEBUG tag force:False 06:28:27 2025-02-07 06:28:27,010 [check_head_tag] DEBUG check head tag 06:28:27 2025-02-07 06:28:27,011 [execute] INFO git cat-file --batch-check 06:28:27 2025-02-07 06:28:27,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:28:27 2025-02-07 06:28:27,016 [execute] INFO git cat-file --batch 06:28:27 2025-02-07 06:28:27,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:28:27 2025-02-07 06:28:27,043 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:27 2025-02-07 06:28:27,043 [execute] INFO git tag -a v4.0.0-dev.13 -m v4.0.0-dev.13 06:28:27 2025-02-07 06:28:27,043 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.13', '-m', 'v4.0.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:28:27 2025-02-07 06:28:27,049 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:27 4.0.0-dev.13 [Pipeline] } 06:28:27 $ docker exec --env ******** --env ******** da967126bbad395d2982a346259282da8483f96d15a4f99f154841680a4173ca ssh-agent -k 06:28:27 unset SSH_AUTH_SOCK; 06:28:27 unset SSH_AGENT_PID; 06:28:27 echo Agent pid 39 killed; 06:28:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:27 + git semver [Pipeline] } 06:28:27 $ docker stop --time=1 da967126bbad395d2982a346259282da8483f96d15a4f99f154841680a4173ca 06:28:29 $ docker rm -f --volumes da967126bbad395d2982a346259282da8483f96d15a4f99f154841680a4173ca [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:29 06:28:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:29 0.23.1-centos7: Pulling from edgex-lftools 06:28:29 ab5ef0e58194: Pulling fs layer 06:28:29 9712f1f96733: Pulling fs layer 06:28:29 63f879dbbcfc: Pulling fs layer 06:28:29 0d9ebad4ef96: Pulling fs layer 06:28:29 e9a5061849ea: Pulling fs layer 06:28:29 d747dcd14b5f: Pulling fs layer 06:28:29 2de7ff778b66: Pulling fs layer 06:28:29 e9a5061849ea: Waiting 06:28:29 d747dcd14b5f: Waiting 06:28:29 2de7ff778b66: Waiting 06:28:29 0d9ebad4ef96: Waiting 06:28:29 9712f1f96733: Verifying Checksum 06:28:29 9712f1f96733: Download complete 06:28:30 63f879dbbcfc: Verifying Checksum 06:28:30 63f879dbbcfc: Download complete 06:28:30 e9a5061849ea: Verifying Checksum 06:28:30 e9a5061849ea: Download complete 06:28:30 d747dcd14b5f: Download complete 06:28:30 ab5ef0e58194: Verifying Checksum 06:28:30 ab5ef0e58194: Download complete 06:28:30 0d9ebad4ef96: Verifying Checksum 06:28:30 0d9ebad4ef96: Download complete 06:28:30 2de7ff778b66: Verifying Checksum 06:28:30 2de7ff778b66: Download complete 06:28:33 ab5ef0e58194: Pull complete 06:28:33 9712f1f96733: Pull complete 06:28:33 63f879dbbcfc: Pull complete 06:28:38 0d9ebad4ef96: Pull complete 06:28:38 e9a5061849ea: Pull complete 06:28:38 d747dcd14b5f: Pull complete 06:28:39 2de7ff778b66: Pull complete 06:28:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:28:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:39 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:28:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:28:44 $ docker top af21934a95a9802c3e39edf114202078f7a58d4b56362be4303729ec1dc06978 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:28:44 provisioning config files... 06:28:44 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18250820453493812196tmp 06:28:44 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13555698322157301132tmp 06:28:44 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15758953438522501481tmp [Pipeline] { [Pipeline] echo 06:28:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:28:45 ---> sigul-configuration.sh 06:28:45 gpg: directory `/root/.gnupg' created 06:28:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:28:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:28:45 gpg: keyring `/root/.gnupg/secring.gpg' created 06:28:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:28:45 gpg: CAST5 encrypted data 06:28:45 gpg: encrypted with 1 passphrase 06:28:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:28:45 + mkdir /home/jenkins 06:28:45 + mkdir /home/jenkins/sigul [Pipeline] sh 06:28:45 + 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:28:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:28:46 ---> sigul-install.sh 06:28:46 Sigul already installed; skipping installation. [Pipeline] sh 06:28:46 + git tag --list 06:28:46 0.7.1 06:28:46 v1.0.0 06:28:46 v1.1.0 06:28:46 v1.1.1 06:28:46 v1.2.2 06:28:46 v1.3.0 06:28:46 v1.3.1 06:28:46 v2.0.0 06:28:46 v2.1.0 06:28:46 v2.1.1 06:28:46 v2.2.0 06:28:46 v2.3.0 06:28:46 v3.0 06:28:46 v3.0.0 06:28:46 v3.1 06:28:46 v3.1.0 06:28:46 v3.1.0-dev.1 06:28:46 v3.1.0-dev.10 06:28:46 v3.1.0-dev.11 06:28:46 v3.1.0-dev.12 06:28:46 v3.1.0-dev.13 06:28:46 v3.1.0-dev.14 06:28:46 v3.1.0-dev.15 06:28:46 v3.1.0-dev.16 06:28:46 v3.1.0-dev.17 06:28:46 v3.1.0-dev.18 06:28:46 v3.1.0-dev.19 06:28:46 v3.1.0-dev.2 06:28:46 v3.1.0-dev.20 06:28:46 v3.1.0-dev.21 06:28:46 v3.1.0-dev.22 06:28:46 v3.1.0-dev.23 06:28:46 v3.1.0-dev.24 06:28:46 v3.1.0-dev.25 06:28:46 v3.1.0-dev.3 06:28:46 v3.1.0-dev.4 06:28:46 v3.1.0-dev.5 06:28:46 v3.1.0-dev.6 06:28:46 v3.1.0-dev.7 06:28:46 v3.1.0-dev.8 06:28:46 v3.1.0-dev.9 06:28:46 v3.1.1 06:28:46 v3.1.1-dev.1 06:28:46 v3.2.0-dev.1 06:28:46 v3.2.0-dev.10 06:28:46 v3.2.0-dev.11 06:28:46 v3.2.0-dev.12 06:28:46 v3.2.0-dev.13 06:28:46 v3.2.0-dev.14 06:28:46 v3.2.0-dev.15 06:28:46 v3.2.0-dev.16 06:28:46 v3.2.0-dev.17 06:28:46 v3.2.0-dev.18 06:28:46 v3.2.0-dev.19 06:28:46 v3.2.0-dev.2 06:28:46 v3.2.0-dev.20 06:28:46 v3.2.0-dev.21 06:28:46 v3.2.0-dev.22 06:28:46 v3.2.0-dev.23 06:28:46 v3.2.0-dev.24 06:28:46 v3.2.0-dev.25 06:28:46 v3.2.0-dev.26 06:28:46 v3.2.0-dev.3 06:28:46 v3.2.0-dev.4 06:28:46 v3.2.0-dev.5 06:28:46 v3.2.0-dev.6 06:28:46 v3.2.0-dev.7 06:28:46 v3.2.0-dev.8 06:28:46 v3.2.0-dev.9 06:28:46 v4.0.0-dev.1 06:28:46 v4.0.0-dev.10 06:28:46 v4.0.0-dev.11 06:28:46 v4.0.0-dev.12 06:28:46 v4.0.0-dev.13 06:28:46 v4.0.0-dev.2 06:28:46 v4.0.0-dev.3 06:28:46 v4.0.0-dev.4 06:28:46 v4.0.0-dev.5 06:28:46 v4.0.0-dev.6 06:28:46 v4.0.0-dev.7 06:28:46 v4.0.0-dev.8 06:28:46 v4.0.0-dev.9 [Pipeline] sh 06:28:46 + lftools sign git-tag v4.0.0-dev.13 06:28:47 Signing Git tag with Sigul... 06:28:47 Signing v4.0.0-dev.13 [Pipeline] echo 06:28:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:28:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:28:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:28:48 $ docker stop --time=1 af21934a95a9802c3e39edf114202078f7a58d4b56362be4303729ec1dc06978 06:28:49 $ docker rm -f --volumes af21934a95a9802c3e39edf114202078f7a58d4b56362be4303729ec1dc06978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:28:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:50 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:50 $ docker top bbd322b8a8d6abb6ca33c78a04b9d989531c2e3776ef0e7e92243597b1e36f38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:50 [ssh-agent] Looking for ssh-agent implementation... 06:28:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:50 $ docker exec bbd322b8a8d6abb6ca33c78a04b9d989531c2e3776ef0e7e92243597b1e36f38 ssh-agent 06:28:50 SSH_AUTH_SOCK=/tmp/ssh-u09iSamXpAqt/agent.33 06:28:50 SSH_AGENT_PID=39 06:28:50 Running ssh-add (command line suppressed) 06:28:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11085914410274354293.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11085914410274354293.key) 06:28:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:51 + git semver bump pre 06:28:51 2025-02-07 06:28:51,476 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:51 2025-02-07 06:28:51,477 [bump_version] DEBUG bumping version:4.0.0-dev.13 on axis:pre with prefix:dev 06:28:51 2025-02-07 06:28:51,477 [bump_version] DEBUG bumped version:4.0.0-dev.14 06:28:51 2025-02-07 06:28:51,477 [write_version] DEBUG write version:4.0.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:28:51 2025-02-07 06:28:51,477 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:51 2025-02-07 06:28:51,477 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:51 2025-02-07 06:28:51,479 [execute] INFO git cat-file --batch-check 06:28:51 2025-02-07 06:28:51,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:51 2025-02-07 06:28:51,485 [execute] INFO git cat-file --batch 06:28:51 2025-02-07 06:28:51,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:51 2025-02-07 06:28:51,491 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:51 4.0.0-dev.14 [Pipeline] } 06:28:51 $ docker exec --env ******** --env ******** bbd322b8a8d6abb6ca33c78a04b9d989531c2e3776ef0e7e92243597b1e36f38 ssh-agent -k 06:28:51 unset SSH_AUTH_SOCK; 06:28:51 unset SSH_AGENT_PID; 06:28:51 echo Agent pid 39 killed; 06:28:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:51 + git semver [Pipeline] } 06:28:52 $ docker stop --time=1 bbd322b8a8d6abb6ca33c78a04b9d989531c2e3776ef0e7e92243597b1e36f38 06:28:53 $ docker rm -f --volumes bbd322b8a8d6abb6ca33c78a04b9d989531c2e3776ef0e7e92243597b1e36f38 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:54 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:54 $ docker top 76ffa2faddc1ff6c33f44939100a15cb4665330647fe9d4eaa933219a4c7d7ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:54 [ssh-agent] Looking for ssh-agent implementation... 06:28:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:54 $ docker exec 76ffa2faddc1ff6c33f44939100a15cb4665330647fe9d4eaa933219a4c7d7ea ssh-agent 06:28:55 SSH_AUTH_SOCK=/tmp/ssh-PR9JD1y79OUH/agent.31 06:28:55 SSH_AGENT_PID=37 06:28:55 Running ssh-add (command line suppressed) 06:28:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15083813338281826311.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15083813338281826311.key) 06:28:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:55 + git semver push 06:28:55 2025-02-07 06:28:55,660 [run_push] DEBUG push 06:28:55 2025-02-07 06:28:55,661 [execute] INFO git cat-file --batch-check 06:28:55 2025-02-07 06:28:55,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:55 2025-02-07 06:28:55,665 [execute] INFO git rev-list e045e0c953cc2217f0e20853d5337f2b58f4d587 -- 06:28:55 2025-02-07 06:28:55,666 [execute] DEBUG Popen(['git', 'rev-list', 'e045e0c953cc2217f0e20853d5337f2b58f4d587', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:28:55 2025-02-07 06:28:55,676 [execute] INFO git fetch -v origin 06:28:55 2025-02-07 06:28:55,677 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:28:56 2025-02-07 06:28:56,219 [run_push] DEBUG no remote changes detected 06:28:56 2025-02-07 06:28:56,219 [execute] INFO git push origin semver 06:28:56 2025-02-07 06:28:56,220 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:28:57 2025-02-07 06:28:56,915 [run_push] DEBUG push all version tags 06:28:57 2025-02-07 06:28:56,915 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:28:57 2025-02-07 06:28:56,915 [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:28:57 2025-02-07 06:28:57,589 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:28:57 4.0.0-dev.14 [Pipeline] } 06:28:57 $ docker exec --env ******** --env ******** 76ffa2faddc1ff6c33f44939100a15cb4665330647fe9d4eaa933219a4c7d7ea ssh-agent -k 06:28:57 unset SSH_AUTH_SOCK; 06:28:57 unset SSH_AGENT_PID; 06:28:57 echo Agent pid 37 killed; 06:28:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:58 + git semver [Pipeline] } 06:28:58 $ docker stop --time=1 76ffa2faddc1ff6c33f44939100a15cb4665330647fe9d4eaa933219a4c7d7ea 06:28:59 $ docker rm -f --volumes 76ffa2faddc1ff6c33f44939100a15cb4665330647fe9d4eaa933219a4c7d7ea [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:29:00 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:29:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:29:00 total 16 06:29:00 drwxr-xr-x 3 root root 4096 Feb 7 06:20 . 06:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 06:28 .. 06:29:00 drwxr-xr-x 2 root root 4096 Feb 7 06:20 cost 06:29:00 -rw-r--r-- 1 root root 88 Feb 7 06:20 cost.csv 06:29:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:29:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:29:00 total 16 06:29:00 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 06:20 . 06:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 06:28 .. 06:29:00 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 06:20 cost 06:29:00 -rw-r--r-- 1 jenkins jenkins 88 Feb 7 06:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:29:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:29:01 ---> package-listing.sh 06:29:01 ++ facter osfamily 06:29:01 ++ tr '[:upper:]' '[:lower:]' 06:29:01 + OS_FAMILY=debian 06:29:01 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:29:01 + START_PACKAGES=/tmp/packages_start.txt 06:29:01 + END_PACKAGES=/tmp/packages_end.txt 06:29:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:29:01 + PACKAGES=/tmp/packages_start.txt 06:29:01 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:29:01 + PACKAGES=/tmp/packages_end.txt 06:29:01 + case "${OS_FAMILY}" in 06:29:01 + dpkg -l 06:29:01 + grep '^ii' 06:29:01 + '[' -f /tmp/packages_start.txt ']' 06:29:01 + '[' -f /tmp/packages_end.txt ']' 06:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:29:01 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:29:01 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:29:01 + 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:29:01 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:29:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:02 prd-ubuntu20.04-docker-8c-8g-38343 does not seem to be running inside a container 06:29:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:29:02 $ docker top d0e5c01ea10d96c2561a0c10227079f71e0b4ea9868b1c3b92699239751c41ef -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:03 + touch /tmp/pre-build-complete [Pipeline] sh 06:29:03 + mkdir -p /var/log/sysstat [Pipeline] sh 06:29:03 + ls /var/log/sa-host 06:29:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:29:04 provisioning config files... 06:29:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9105065979978857067tmp [Pipeline] { [Pipeline] echo 06:29:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:29:04 ---> create-netrc.sh [Pipeline] } 06:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:29:04 ---> python-tools-install.sh [Pipeline] echo 06:29:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:29:05 ---> sudo-logs.sh 06:29:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:29:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:29:05 ---> job-cost.sh 06:29:05 lf-activate-venv: SKIPPING 06:29:05 DEBUG: total: 0.2199999988079071 06:29:05 INFO: Retrieving Stack Cost... 06:29:05 INFO: Retrieving Pricing Info for: v3-standard-8 06:29:06 INFO: Archiving Costs [Pipeline] echo 06:29:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:29:06 ---> logs-deploy.sh 06:29:06 lf-activate-venv: SKIPPING 06:29:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/178 06:29:06 INFO: archiving workspace using pattern(s): 06:29:07 Archives upload complete. 06:29:07 INFO: archiving logs to Nexus