Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 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-ssh18136603110013280276.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-ssh6839750541033900897.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-ssh411767412280885496.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-ssh6414086278129366432.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-ssh2278399304462872761.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-39533 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 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 (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 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 # timeout=10 Commit message: "Merge pull request #617 from weichou1229/issue-606" > git rev-list --no-walk d7843eb9fff04d81f7905769d603012160cefa56 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:01:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:01:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:01:03 ========================================================= 12:01:03 EdgeX Global Pipelines Version Info 12:01:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:01:05 ------------------- 12:01:05 stable info: 12:01:05 ------------------- 12:01:05 Commited By: Cherry Wang cherry@iotechsys.com 12:01:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:01:05 Message: update stable to v1.0.269 12:01:05 ------------------- 12:01:05 experimental info: 12:01:05 ------------------- 12:01:05 Commited By: **** collab-it+edgex@linuxfoundation.org 12:01:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 12:01:05 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:01:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fbd5f5b [Pipeline] echo 12:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:06 provisioning config files... 12:01:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2927221050352575524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:06 ---> ****-login.sh 12:01:06 nexus3.edgexfoundry.org:10001 12:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:06 Configure a credential helper to remove this warning. See 12:01:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:06 12:01:06 Login Succeeded 12:01:06 nexus3.edgexfoundry.org:10002 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 nexus3.edgexfoundry.org:10003 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 nexus3.edgexfoundry.org:10004 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 ****.io 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 ---> ****-login.sh ends [Pipeline] } 12:01:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:01:08 + git rev-list -1 --merges fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56~1..fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] echo 12:01:08 -----------> git rev-list -1 --merges fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56~1..fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:01:08 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [false] [Pipeline] sh 12:01:08 + git log --format=format:%s -1 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] echo 12:01:08 ========================================================= 12:01:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:01:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:01:08 + git log --format=format:%s -1 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] echo 12:01:08 [semverPrep] GIT_COMMIT: fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56, Commit Message: Merge pull request #617 from weichou1229/issue-606 [Pipeline] echo 12:01:08 [semverPrep] This is not a build commit. [Pipeline] sh 12:01:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:01:09 + grep -v github /etc/ssh/ssh_known_hosts 12:01:09 + [ -e /tmp/ssh_known_hosts ] 12:01:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:01:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:01:09 + sudo tee -a /etc/ssh/ssh_known_hosts 12:01:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:09 12:01:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:09 0.1.4: Pulling from edgex-devops/py-git-semver 12:01:09 b85a868b505f: Pulling fs layer 12:01:09 e2be974225ed: Pulling fs layer 12:01:09 339a4e72a1f5: Pulling fs layer 12:01:09 988bab9f4d93: Pulling fs layer 12:01:09 1469e6f7b9e6: Pulling fs layer 12:01:09 eaf3925da568: Pulling fs layer 12:01:09 bab4dde63d76: Pulling fs layer 12:01:09 bde34c3a00c8: Pulling fs layer 12:01:09 b352a97aabf1: Pulling fs layer 12:01:09 4872d77fe225: Pulling fs layer 12:01:09 5851b861e8e6: Pulling fs layer 12:01:09 eaf3925da568: Waiting 12:01:09 bab4dde63d76: Waiting 12:01:09 bde34c3a00c8: Waiting 12:01:09 b352a97aabf1: Waiting 12:01:09 5851b861e8e6: Waiting 12:01:09 988bab9f4d93: Waiting 12:01:09 1469e6f7b9e6: Waiting 12:01:09 e2be974225ed: Verifying Checksum 12:01:09 e2be974225ed: Download complete 12:01:09 988bab9f4d93: Verifying Checksum 12:01:09 988bab9f4d93: Download complete 12:01:09 1469e6f7b9e6: Verifying Checksum 12:01:09 339a4e72a1f5: Verifying Checksum 12:01:09 339a4e72a1f5: Download complete 12:01:09 eaf3925da568: Verifying Checksum 12:01:09 eaf3925da568: Download complete 12:01:09 bde34c3a00c8: Verifying Checksum 12:01:09 bde34c3a00c8: Download complete 12:01:10 b352a97aabf1: Verifying Checksum 12:01:10 b352a97aabf1: Download complete 12:01:10 4872d77fe225: Verifying Checksum 12:01:10 4872d77fe225: Download complete 12:01:10 5851b861e8e6: Download complete 12:01:10 b85a868b505f: Verifying Checksum 12:01:10 b85a868b505f: Download complete 12:01:10 bab4dde63d76: Verifying Checksum 12:01:10 bab4dde63d76: Download complete 12:01:11 b85a868b505f: Pull complete 12:01:11 e2be974225ed: Pull complete 12:01:12 339a4e72a1f5: Pull complete 12:01:12 988bab9f4d93: Pull complete 12:01:12 1469e6f7b9e6: Pull complete 12:01:12 eaf3925da568: Pull complete 12:01:14 bab4dde63d76: Pull complete 12:01:14 bde34c3a00c8: Pull complete 12:01:14 b352a97aabf1: Pull complete 12:01:14 4872d77fe225: Pull complete 12:01:14 5851b861e8e6: Pull complete 12:01:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:01:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:01:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:14 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:01:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:01:17 $ docker top b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a -eo pid,comm 12:01:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:01:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:01:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:17 [ssh-agent] Looking for ssh-agent implementation... 12:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:17 $ docker exec b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a ssh-agent 12:01:17 SSH_AUTH_SOCK=/tmp/ssh-qHiwGdguX5hm/agent.31 12:01:17 SSH_AGENT_PID=37 12:01:17 Running ssh-add (command line suppressed) 12:01:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13411054179480015663.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13411054179480015663.key) 12:01:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:18 + git tag --points-at HEAD [Pipeline] } 12:01:18 $ docker exec --env ******** --env ******** b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a ssh-agent -k 12:01:18 unset SSH_AUTH_SOCK; 12:01:18 unset SSH_AGENT_PID; 12:01:18 echo Agent pid 37 killed; 12:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:01:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:01:18 [ssh-agent] Looking for ssh-agent implementation... 12:01:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:01:18 $ docker exec b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a ssh-agent 12:01:18 SSH_AUTH_SOCK=/tmp/ssh-uI5xR1E73Vtx/agent.70 12:01:18 SSH_AGENT_PID=77 12:01:18 Running ssh-add (command line suppressed) 12:01:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2181136597915915354.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2181136597915915354.key) 12:01:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:01:19 + git semver init 12:01:19 2025-02-23 12:01:19,398 [run_init] DEBUG init version:0.0.0 force:False 12:01:19 2025-02-23 12:01:19,398 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 12:01:19 2025-02-23 12:01:19,399 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 12:01:19 2025-02-23 12:01:19,399 [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) 12:01:20 2025-02-23 12:01:20,414 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 12:01:20 2025-02-23 12:01:20,414 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 12:01:20 2025-02-23 12:01:20,414 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:20 2025-02-23 12:01:20,415 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:01:20 4.0.0-dev.18 [Pipeline] } 12:01:20 $ docker exec --env ******** --env ******** b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a ssh-agent -k 12:01:20 unset SSH_AUTH_SOCK; 12:01:20 unset SSH_AGENT_PID; 12:01:20 echo Agent pid 77 killed; 12:01:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:01:21 + git semver [Pipeline] } 12:01:21 $ docker stop --time=1 b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a 12:01:22 $ docker rm -f --volumes b99d3a0de13953fb98949537b8043a2229f53b8ca61fa18609939bf698c2e93a [Pipeline] // withDockerContainer [Pipeline] sh 12:01:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:01:23 Stashed 1 file(s) [Pipeline] echo 12:01:23 [edgeXSemver]: initialized semver on version 4.0.0-dev.18 [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 12:01:23 provisioning config files... 12:01:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5918786159491629805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:23 ---> ****-login.sh 12:01:23 nexus3.edgexfoundry.org:10001 12:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:23 Configure a credential helper to remove this warning. See 12:01:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:23 12:01:23 Login Succeeded 12:01:23 nexus3.edgexfoundry.org:10002 12:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:23 Configure a credential helper to remove this warning. See 12:01:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:23 12:01:23 Login Succeeded 12:01:23 nexus3.edgexfoundry.org:10003 12:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:24 Configure a credential helper to remove this warning. See 12:01:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:24 12:01:24 Login Succeeded 12:01:24 nexus3.edgexfoundry.org:10004 12:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:24 Configure a credential helper to remove this warning. See 12:01:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:24 12:01:24 Login Succeeded 12:01:24 ****.io 12:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:01:24 Configure a credential helper to remove this warning. See 12:01:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:01:24 12:01:24 Login Succeeded 12:01:24 ---> ****-login.sh ends [Pipeline] } 12:01:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:01:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:01:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:01:24 ========================================================= 12:01:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:01:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:25 + 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 . 12:01:25 Sending build context to Docker daemon 18.12MB 12:01:25 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 12:01:25 Step 2/10 : FROM ${BASE} AS builder 12:01:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:01:25 da9db072f522: Pulling fs layer 12:01:25 6ef4a4ee8ca5: Pulling fs layer 12:01:25 06f05ace1117: Pulling fs layer 12:01:25 5fe327b54edc: Pulling fs layer 12:01:25 4f4fb700ef54: Pulling fs layer 12:01:25 92a5565b7b96: Pulling fs layer 12:01:25 ff9bb7016b71: Pulling fs layer 12:01:25 b67dba6c2c7d: Pulling fs layer 12:01:25 a813b0c90790: Pulling fs layer 12:01:25 4f4fb700ef54: Waiting 12:01:25 5fe327b54edc: Waiting 12:01:25 ff9bb7016b71: Waiting 12:01:25 92a5565b7b96: Waiting 12:01:25 b67dba6c2c7d: Waiting 12:01:25 a813b0c90790: Waiting 12:01:25 6ef4a4ee8ca5: Verifying Checksum 12:01:25 6ef4a4ee8ca5: Download complete 12:01:25 5fe327b54edc: Verifying Checksum 12:01:25 5fe327b54edc: Download complete 12:01:25 4f4fb700ef54: Verifying Checksum 12:01:25 4f4fb700ef54: Download complete 12:01:25 92a5565b7b96: Verifying Checksum 12:01:25 92a5565b7b96: Download complete 12:01:25 da9db072f522: Download complete 12:01:25 ff9bb7016b71: Verifying Checksum 12:01:25 ff9bb7016b71: Download complete 12:01:25 a813b0c90790: Verifying Checksum 12:01:25 a813b0c90790: Download complete 12:01:25 da9db072f522: Pull complete 12:01:25 6ef4a4ee8ca5: Pull complete 12:01:25 06f05ace1117: Verifying Checksum 12:01:25 06f05ace1117: Download complete 12:01:26 b67dba6c2c7d: Download complete 12:01:29 06f05ace1117: Pull complete 12:01:29 5fe327b54edc: Pull complete 12:01:29 4f4fb700ef54: Pull complete 12:01:29 92a5565b7b96: Pull complete 12:01:29 ff9bb7016b71: Pull complete 12:01:31 b67dba6c2c7d: Pull complete 12:01:32 a813b0c90790: Pull complete 12:01:32 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 12:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:01:32 ---> 3ba60ce46760 12:01:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 12:01:35 ---> Running in c81439d0cc29 12:01:35 Removing intermediate container c81439d0cc29 12:01:35 ---> c7a144df62ca 12:01:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:01:35 ---> Running in 66340f118c8e 12:01:35 Removing intermediate container 66340f118c8e 12:01:35 ---> 90b2fdcb18bf 12:01:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 12:01:35 ---> Running in 2fc8d221c685 12:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:01:36 (1/8) Installing openssh-keygen (9.7_p1-r5) 12:01:36 (2/8) Installing libedit (20240517.3.1-r0) 12:01:36 (3/8) Installing openssh-client-common (9.7_p1-r5) 12:01:36 (4/8) Installing openssh-client-default (9.7_p1-r5) 12:01:36 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 12:01:36 (6/8) Installing openssh-server-common (9.7_p1-r5) 12:01:36 (7/8) Installing openssh-server (9.7_p1-r5) 12:01:36 (8/8) Installing openssh (9.7_p1-r5) 12:01:36 Executing busybox-1.36.1-r29.trigger 12:01:36 OK: 253 MiB in 66 packages 12:01:37 Removing intermediate container 2fc8d221c685 12:01:37 ---> 17b5468953f4 12:01:37 Step 6/10 : WORKDIR /device-modbus-go 12:01:37 ---> Running in 442fa798574b 12:01:37 Removing intermediate container 442fa798574b 12:01:37 ---> f10383a0648d 12:01:37 Step 7/10 : COPY go.mod vendor* ./ 12:01:37 ---> eab273e9767d 12:01:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:37 ---> Running in eec5fa303d67 12:01:38 Still waiting to schedule task 12:01:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:02:45 Removing intermediate container eec5fa303d67 12:02:45 ---> 6110c7f24eee 12:02:45 Step 9/10 : COPY . . 12:02:45 ---> 8a2963fdeb1e 12:02:45 Step 10/10 : RUN ${MAKE} 12:02:45 ---> Running in ed6fdfec79f3 12:02:45 noop 12:02:45 Removing intermediate container ed6fdfec79f3 12:02:45 ---> 20bb65948e68 12:02:45 Successfully built 20bb65948e68 12:02:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:45 + docker inspect -f . ci-base-image-x86_64 12:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:45 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:02:45 $ docker top c1d5d7e4263ed696bcc96d5d63c1d897fc1bf49754309249a94bc78b75ada708 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:46 + go version 12:02:46 go version go1.23.4 linux/amd64 [Pipeline] } 12:02:46 $ docker stop --time=1 c1d5d7e4263ed696bcc96d5d63c1d897fc1bf49754309249a94bc78b75ada708 12:02:47 $ docker rm -f --volumes c1d5d7e4263ed696bcc96d5d63c1d897fc1bf49754309249a94bc78b75ada708 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:48 + docker inspect -f . ci-base-image-x86_64 12:02:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:48 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:02:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:02:48 $ docker top 8bea8393604029bd563f7b3a9758700302c42a644eab3f6df619a94ddd10cf9e -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 12:02:49 + make test 12:02:49 go test ./... -coverprofile=coverage.out 12:02:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:03:13 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 12:03:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 45.2% of statements 12:03:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39534 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 12:03:13 Running in /w/workspace/device-modbus-go/183 [Pipeline] { [Pipeline] checkout 12:03:16 The recommended git tool is: git 12:03:21 using credential edgex-jenkins-ssh 12:03:21 Cloning the remote Git repository 12:03:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 12:03:21 > git init /w/workspace/device-modbus-go/183 # timeout=10 12:03:23 go vet ./... 12:03:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:03:21 > git --version # timeout=10 12:03:21 > git --version # 'git version 2.25.1' 12:03:21 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:03:23 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:03:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:03:24 Avoid second fetch 12:03:24 Checking out Revision fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 (main) 12:03:25 Commit message: "Merge pull request #617 from weichou1229/issue-606" 12:03:24 > git config core.sparsecheckout # timeout=10 12:03:24 > git checkout -f fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:03:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:03:29 ./bin/test-attribution-txt.sh [Pipeline] echo 12:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:03:29 $ docker stop --time=1 8bea8393604029bd563f7b3a9758700302c42a644eab3f6df619a94ddd10cf9e 12:03:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:03:30 % Total % Received % Xferd Average Speed Time Time Time Current 12:03:30 Dload Upload Total Spent Left Speed 12:03:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 81189 0 --:--:-- --:--:-- --:--:-- 80679 100 12828 100 12828 0 0 80679 0 --:--:-- --:--:-- --:--:-- 80175 12:03:32 $ docker rm -f --volumes 8bea8393604029bd563f7b3a9758700302c42a644eab3f6df619a94ddd10cf9e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 12:03:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:03:33 Stashed 1 file(s) [Pipeline] } 12:03:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:03:33 + sudo tee /etc/docker/daemon.new 12:03:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:03:33 { 12:03:33 "registry-mirrors": [ 12:03:33 "https://nexus3.edgexfoundry.org:10001" 12:03:33 ], 12:03:33 "bip": "10.250.0.254/24", 12:03:33 "hosts": [ 12:03:33 "tcp://0.0.0.0:5555", 12:03:33 "unix:///var/run/docker.sock" 12:03:33 ], 12:03:33 "mtu": 1458, 12:03:33 "selinux-enabled": true, 12:03:33 "seccomp-profile": "/etc/docker/seccomp.json" 12:03:33 } [Pipeline] sh 12:03:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:03:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:03:33 + ls -al . 12:03:33 total 260 12:03:33 drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 12:02 . 12:03:33 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 12:00 .. 12:03:33 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 12:00 .dockerignore 12:03:33 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 12:03 .git 12:03:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 12:00 .github 12:03:33 -rw-rw-r-- 1 jenkins jenkins 266 Feb 23 12:00 .gitignore 12:03:33 -rw-rw-r-- 1 jenkins jenkins 199 Feb 23 12:00 .golangci.yml 12:03:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 12:01 .semver 12:03:33 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 23 12:00 Attribution.txt 12:03:33 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 23 12:00 CHANGELOG.md 12:03:33 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 23 12:00 Dockerfile 12:03:33 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 12:00 GOVERNANCE.md 12:03:33 -rw-rw-r-- 1 jenkins jenkins 658 Feb 23 12:00 Jenkinsfile 12:03:33 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 12:00 LICENSE 12:03:33 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 23 12:00 Makefile 12:03:33 -rw-rw-r-- 1 jenkins jenkins 622 Feb 23 12:00 OWNERS.md 12:03:33 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 23 12:00 README.md 12:03:33 -rw-rw-r-- 1 jenkins jenkins 12 Feb 23 12:01 VERSION 12:03:33 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 12:00 bin 12:03:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 12:00 cmd 12:03:33 -rw-r--r-- 1 jenkins jenkins 26862 Feb 23 12:03 coverage.out 12:03:33 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 23 12:00 go.mod 12:03:33 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 23 12:00 go.sum 12:03:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 12:00 internal 12:03:33 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 12:00 simulator 12:03:33 -rw-rw-r-- 1 jenkins jenkins 229 Feb 23 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:34 + sudo service docker restart 12:03:34 + 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=fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 --label arch=amd64 --label version=4.0.0-dev.18 . 12:03:34 Sending build context to Docker daemon 18.14MB 12:03:34 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 12:03:34 Step 2/23 : FROM ${BASE} AS builder 12:03:34 ---> 20bb65948e68 12:03:34 Step 3/23 : ARG ADD_BUILD_TAGS="" 12:03:34 ---> Running in ecdbcdc6e7b3 12:03:34 Removing intermediate container ecdbcdc6e7b3 12:03:34 ---> 75514799ae0a 12:03:34 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:03:34 ---> Running in 28f179ce1c79 12:03:34 Removing intermediate container 28f179ce1c79 12:03:34 ---> 40632e9d130f 12:03:34 Step 5/23 : RUN apk add --update --no-cache make git openssh 12:03:34 ---> Running in 64ade6d98d49 12:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:03:35 OK: 253 MiB in 66 packages 12:03:35 Removing intermediate container 64ade6d98d49 12:03:35 ---> 6dd4e61d9f55 12:03:35 Step 6/23 : WORKDIR /device-modbus-go 12:03:36 ---> Running in 1560556bfc55 12:03:36 Removing intermediate container 1560556bfc55 12:03:36 ---> 93a89fa38fc6 12:03:36 Step 7/23 : COPY go.mod vendor* ./ 12:03:36 ---> 21aa8ae70dcf 12:03:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:36 ---> Running in 52c97f382e9c 12:03:36 Removing intermediate container 52c97f382e9c 12:03:36 ---> 49bd628afc64 12:03:36 Step 9/23 : COPY . . 12:03:37 ---> 9213a8f683f4 12:03:37 Step 10/23 : RUN ${MAKE} 12:03:37 ---> Running in a02127ddf49a 12:03:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:52 provisioning config files... 12:03:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/183@tmp/config2941824057201310040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:52 ---> ****-login.sh 12:03:52 nexus3.edgexfoundry.org:10001 12:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:53 Configure a credential helper to remove this warning. See 12:03:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:53 12:03:53 Login Succeeded 12:03:53 nexus3.edgexfoundry.org:10002 12:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:53 Configure a credential helper to remove this warning. See 12:03:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:53 12:03:53 Login Succeeded 12:03:53 nexus3.edgexfoundry.org:10003 12:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:54 Configure a credential helper to remove this warning. See 12:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:54 12:03:54 Login Succeeded 12:03:54 nexus3.edgexfoundry.org:10004 12:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:54 Configure a credential helper to remove this warning. See 12:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:54 12:03:54 Login Succeeded 12:03:54 ****.io 12:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:54 Configure a credential helper to remove this warning. See 12:03:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:54 12:03:54 Login Succeeded 12:03:54 ---> ****-login.sh ends [Pipeline] } 12:03:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:03:55 ========================================================= 12:03:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 12:03:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:55 + 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 . 12:03:55 Sending build context to Docker daemon 9.212MB 12:03:56 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 12:03:56 Step 2/10 : FROM ${BASE} AS builder 12:03:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:03:56 9986a736f7d3: Pulling fs layer 12:03:56 1f018df60701: Pulling fs layer 12:03:56 39f8f326b044: Pulling fs layer 12:03:56 e6a1e7a6a96a: Pulling fs layer 12:03:56 4f4fb700ef54: Pulling fs layer 12:03:56 d45d956e0dbf: Pulling fs layer 12:03:56 d7702b0d1db1: Pulling fs layer 12:03:56 5c7f0f088c93: Pulling fs layer 12:03:56 4fdc064ae6cf: Pulling fs layer 12:03:56 e6a1e7a6a96a: Waiting 12:03:56 4f4fb700ef54: Waiting 12:03:56 d45d956e0dbf: Waiting 12:03:56 d7702b0d1db1: Waiting 12:03:56 5c7f0f088c93: Waiting 12:03:56 4fdc064ae6cf: Waiting 12:03:56 1f018df60701: Download complete 12:03:56 e6a1e7a6a96a: Verifying Checksum 12:03:56 e6a1e7a6a96a: Download complete 12:03:56 4f4fb700ef54: Verifying Checksum 12:03:56 4f4fb700ef54: Download complete 12:03:56 d45d956e0dbf: Verifying Checksum 12:03:56 d45d956e0dbf: Download complete 12:03:56 9986a736f7d3: Verifying Checksum 12:03:56 9986a736f7d3: Download complete 12:03:56 d7702b0d1db1: Verifying Checksum 12:03:56 d7702b0d1db1: Download complete 12:03:56 4fdc064ae6cf: Verifying Checksum 12:03:56 4fdc064ae6cf: Download complete 12:03:57 9986a736f7d3: Pull complete 12:03:57 1f018df60701: Pull complete 12:03:58 39f8f326b044: Download complete 12:03:59 5c7f0f088c93: Verifying Checksum 12:03:59 5c7f0f088c93: Download complete 12:04:09 Removing intermediate container a02127ddf49a 12:04:09 ---> 063961795d64 12:04:09 Step 11/23 : FROM alpine:3.20 12:04:09 3.20: Pulling from library/alpine 12:04:09 0a9a5dfd008f: Pulling fs layer 12:04:09 0a9a5dfd008f: Verifying Checksum 12:04:09 0a9a5dfd008f: Download complete 12:04:09 0a9a5dfd008f: Pull complete 12:04:09 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 12:04:09 Status: Downloaded newer image for alpine:3.20 12:04:09 ---> ff221270b9fb 12:04:09 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 12:04:09 ---> Running in 6005a92974f5 12:04:09 Removing intermediate container 6005a92974f5 12:04:09 ---> 767d6480ce38 12:04:09 Step 13/23 : RUN apk add --update --no-cache dumb-init 12:04:09 ---> Running in f02f27ce3364 12:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:04:09 (1/1) Installing dumb-init (1.2.5-r3) 12:04:09 Executing busybox-1.36.1-r29.trigger 12:04:09 OK: 8 MiB in 15 packages 12:04:09 Removing intermediate container f02f27ce3364 12:04:09 ---> d7cf6dd34218 12:04:09 Step 14/23 : RUN apk --no-cache upgrade 12:04:09 ---> Running in 40424f4fc5eb 12:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:04:09 OK: 8 MiB in 15 packages 12:04:09 Removing intermediate container 40424f4fc5eb 12:04:09 ---> d53b9f0e67a6 12:04:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:04:10 ---> 90a5b85bea63 12:04:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:04:10 ---> 4a410512aefd 12:04:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:04:11 ---> de838a579837 12:04:11 Step 18/23 : EXPOSE 59901 12:04:11 ---> Running in 0d89368cb326 12:04:11 Removing intermediate container 0d89368cb326 12:04:11 ---> 3aed3b4daa4b 12:04:11 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:04:11 ---> Running in 23fefea42d91 12:04:11 Removing intermediate container 23fefea42d91 12:04:11 ---> 14c03a1cd68a 12:04:11 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 12:04:11 ---> Running in ed073b850e02 12:04:11 Removing intermediate container ed073b850e02 12:04:11 ---> 468ea9ecb8f7 12:04:11 Step 21/23 : LABEL arch=amd64 12:04:11 ---> Running in 5f841c225788 12:04:11 Removing intermediate container 5f841c225788 12:04:11 ---> 12eeb09ba377 12:04:11 Step 22/23 : LABEL git_sha=fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:04:11 ---> Running in 0631f1a9307e 12:04:11 Removing intermediate container 0631f1a9307e 12:04:11 ---> 1d1b9152f7d7 12:04:11 Step 23/23 : LABEL version=4.0.0-dev.18 12:04:11 ---> Running in 7773e56cc48d 12:04:11 39f8f326b044: Pull complete 12:04:11 Removing intermediate container 7773e56cc48d 12:04:11 ---> 742fd50695e7 12:04:11 [Warning] One or more build-args [ARCH] were not consumed 12:04:11 Successfully built 742fd50695e7 12:04:11 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:11 provisioning config files... 12:04:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16361722592517715716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:11 e6a1e7a6a96a: Pull complete 12:04:12 4f4fb700ef54: Pull complete 12:04:12 d45d956e0dbf: Pull complete 12:04:12 ---> ****-login.sh 12:04:12 nexus3.edgexfoundry.org:10001 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:12 Configure a credential helper to remove this warning. See 12:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:12 12:04:12 Login Succeeded 12:04:12 nexus3.edgexfoundry.org:10002 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:12 Configure a credential helper to remove this warning. See 12:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:12 12:04:12 Login Succeeded 12:04:12 nexus3.edgexfoundry.org:10003 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:12 Configure a credential helper to remove this warning. See 12:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:12 12:04:12 Login Succeeded 12:04:12 nexus3.edgexfoundry.org:10004 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:12 Configure a credential helper to remove this warning. See 12:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:12 12:04:12 Login Succeeded 12:04:12 ****.io 12:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:12 d7702b0d1db1: Pull complete 12:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:04:12 Configure a credential helper to remove this warning. See 12:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:04:12 12:04:12 Login Succeeded 12:04:12 ---> ****-login.sh ends [Pipeline] } 12:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:04:12 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 12:04:12 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:04:12 latest 12:04:12 4.0.0-dev.18 12:04:12 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 12:04:12 main 12:04:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:04:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:04:13 925bc5515d1b: Preparing 12:04:13 d1468d885416: Preparing 12:04:13 7a3bda1133f0: Preparing 12:04:13 864f229ac22c: Preparing 12:04:13 8cdd950400dc: Preparing 12:04:13 994456c4fd7b: Preparing 12:04:13 994456c4fd7b: Waiting 12:04:13 d1468d885416: Pushed 12:04:13 925bc5515d1b: Pushed 12:04:13 8cdd950400dc: Pushed 12:04:13 864f229ac22c: Pushed 12:04:13 994456c4fd7b: Layer already exists 12:04:16 7a3bda1133f0: Pushed 12:04:16 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56: digest: sha256:7402ab07924e5e7258fd4967789c9dcb94457310461510b1e3512f909e19798e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 12:04:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:04:17 925bc5515d1b: Preparing 12:04:17 d1468d885416: Preparing 12:04:17 7a3bda1133f0: Preparing 12:04:17 864f229ac22c: Preparing 12:04:17 8cdd950400dc: Preparing 12:04:17 994456c4fd7b: Preparing 12:04:17 994456c4fd7b: Waiting 12:04:17 7a3bda1133f0: Layer already exists 12:04:17 925bc5515d1b: Layer already exists 12:04:17 864f229ac22c: Layer already exists 12:04:17 8cdd950400dc: Layer already exists 12:04:17 d1468d885416: Layer already exists 12:04:17 994456c4fd7b: Layer already exists 12:04:17 latest: digest: sha256:7402ab07924e5e7258fd4967789c9dcb94457310461510b1e3512f909e19798e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.18 12:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:04:18 925bc5515d1b: Preparing 12:04:18 d1468d885416: Preparing 12:04:18 7a3bda1133f0: Preparing 12:04:18 864f229ac22c: Preparing 12:04:18 8cdd950400dc: Preparing 12:04:18 994456c4fd7b: Preparing 12:04:18 994456c4fd7b: Waiting 12:04:18 864f229ac22c: Layer already exists 12:04:18 925bc5515d1b: Layer already exists 12:04:18 7a3bda1133f0: Layer already exists 12:04:18 d1468d885416: Layer already exists 12:04:18 8cdd950400dc: Layer already exists 12:04:18 994456c4fd7b: Layer already exists 12:04:18 4.0.0-dev.18: digest: sha256:7402ab07924e5e7258fd4967789c9dcb94457310461510b1e3512f909e19798e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 12:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:04:18 925bc5515d1b: Preparing 12:04:18 d1468d885416: Preparing 12:04:18 7a3bda1133f0: Preparing 12:04:18 864f229ac22c: Preparing 12:04:18 8cdd950400dc: Preparing 12:04:18 994456c4fd7b: Preparing 12:04:18 994456c4fd7b: Waiting 12:04:18 864f229ac22c: Layer already exists 12:04:18 925bc5515d1b: Layer already exists 12:04:18 d1468d885416: Layer already exists 12:04:18 8cdd950400dc: Layer already exists 12:04:18 7a3bda1133f0: Layer already exists 12:04:18 994456c4fd7b: Layer already exists 12:04:18 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18: digest: sha256:7402ab07924e5e7258fd4967789c9dcb94457310461510b1e3512f909e19798e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 12:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:04:19 925bc5515d1b: Preparing 12:04:19 d1468d885416: Preparing 12:04:19 7a3bda1133f0: Preparing 12:04:19 864f229ac22c: Preparing 12:04:19 8cdd950400dc: Preparing 12:04:19 994456c4fd7b: Preparing 12:04:19 994456c4fd7b: Waiting 12:04:19 925bc5515d1b: Layer already exists 12:04:19 7a3bda1133f0: Layer already exists 12:04:19 8cdd950400dc: Layer already exists 12:04:19 d1468d885416: Layer already exists 12:04:19 864f229ac22c: Layer already exists 12:04:19 994456c4fd7b: Layer already exists 12:04:19 main: digest: sha256:7402ab07924e5e7258fd4967789c9dcb94457310461510b1e3512f909e19798e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:04:19 ===================================================== [Pipeline] echo 12:04:19 taggedImages: 12:04:19 - nexus3.edgexfoundry.org:10004/device-modbus:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:04:19 - nexus3.edgexfoundry.org:10004/device-modbus:latest 12:04:19 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.18 12:04:19 - nexus3.edgexfoundry.org:10004/device-modbus:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 12:04:19 - 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 12:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:20 12:04:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:20 latest: Pulling from edgex-lftools-log-publisher 12:04:20 5eb5b503b376: Pulling fs layer 12:04:20 5c69ac0246d0: Pulling fs layer 12:04:20 ec43610c2a17: Pulling fs layer 12:04:20 3a2ae6a8a46f: Pulling fs layer 12:04:20 33b1e0a273af: Pulling fs layer 12:04:20 5d3b04190fa2: Pulling fs layer 12:04:20 2f39f015ded8: Pulling fs layer 12:04:20 5d3b04190fa2: Waiting 12:04:20 2f39f015ded8: Waiting 12:04:20 3a2ae6a8a46f: Waiting 12:04:20 33b1e0a273af: Waiting 12:04:20 5c69ac0246d0: Download complete 12:04:20 3a2ae6a8a46f: Verifying Checksum 12:04:20 3a2ae6a8a46f: Download complete 12:04:20 33b1e0a273af: Verifying Checksum 12:04:20 33b1e0a273af: Download complete 12:04:20 5d3b04190fa2: Download complete 12:04:20 ec43610c2a17: Verifying Checksum 12:04:20 ec43610c2a17: Download complete 12:04:20 5eb5b503b376: Verifying Checksum 12:04:20 5eb5b503b376: Download complete 12:04:21 2f39f015ded8: Download complete 12:04:21 5eb5b503b376: Pull complete 12:04:22 5c69ac0246d0: Pull complete 12:04:22 5c7f0f088c93: Pull complete 12:04:22 ec43610c2a17: Pull complete 12:04:22 3a2ae6a8a46f: Pull complete 12:04:22 33b1e0a273af: Pull complete 12:04:22 4fdc064ae6cf: Pull complete 12:04:22 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 12:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 12:04:22 ---> 63f30b955cb9 12:04:22 Step 3/10 : ARG ADD_BUILD_TAGS="" 12:04:22 5d3b04190fa2: Pull complete 12:04:24 ---> Running in f107d89dcf42 12:04:24 Removing intermediate container f107d89dcf42 12:04:24 ---> d5fa1b738508 12:04:24 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:24 ---> Running in 7830af0c905f 12:04:24 Removing intermediate container 7830af0c905f 12:04:24 ---> 31d715e5b62f 12:04:24 Step 5/10 : RUN apk add --update --no-cache make git openssh 12:04:25 ---> Running in 264a2358f401 12:04:26 2f39f015ded8: Pull complete 12:04:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 12:04:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [Pipeline] withDockerContainer 12:04:26 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:04:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:04:27 (1/8) Installing openssh-keygen (9.7_p1-r5) 12:04:27 (2/8) Installing libedit (20240517.3.1-r0) 12:04:27 (3/8) Installing openssh-client-common (9.7_p1-r5) 12:04:27 (4/8) Installing openssh-client-default (9.7_p1-r5) 12:04:27 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 12:04:27 (6/8) Installing openssh-server-common (9.7_p1-r5) 12:04:27 (7/8) Installing openssh-server (9.7_p1-r5) 12:04:27 (8/8) Installing openssh (9.7_p1-r5) 12:04:28 Executing busybox-1.36.1-r29.trigger 12:04:28 OK: 245 MiB in 66 packages 12:04:28 $ docker top d0484a4e40beac6cd7e1b08cfc70c59cf4218f1ceac9dddcfd2c2b53336f86fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:29 Removing intermediate container 264a2358f401 12:04:29 ---> 0b4457ffb36a 12:04:29 Step 6/10 : WORKDIR /device-modbus-go 12:04:29 ---> job-cost.sh 12:04:29 lf-activate-venv: SKIPPING 12:04:29 INFO: No Stack... 12:04:29 ---> Running in 55dc48d7b7c3 12:04:29 Removing intermediate container 55dc48d7b7c3 12:04:29 ---> 6b30ff94a64e 12:04:29 Step 7/10 : COPY go.mod vendor* ./ 12:04:29 INFO: Retrieving Pricing Info for: v3-standard-8 12:04:30 ---> 5c0de25544fb 12:04:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:30 INFO: Archiving Costs [Pipeline] sh 12:04:30 ---> Running in b2cb5efe316f 12:04:30 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 12:04:30 + cut -d, -f6 [Pipeline] lock 12:04:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] 12:04:30 Resource [jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] did not exist. Created. 12:04:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:04:30 + echo total: 0.2199999988079071 [Pipeline] stash 12:04:30 Stashed 1 file(s) [Pipeline] } 12:04:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 12:04:30 $ docker stop --time=1 d0484a4e40beac6cd7e1b08cfc70c59cf4218f1ceac9dddcfd2c2b53336f86fb 12:04:31 $ docker rm -f --volumes d0484a4e40beac6cd7e1b08cfc70c59cf4218f1ceac9dddcfd2c2b53336f86fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:06 Removing intermediate container b2cb5efe316f 12:06:06 ---> 7d812b7c0d8d 12:06:06 Step 9/10 : COPY . . 12:06:08 ---> 7be99308defe 12:06:08 Step 10/10 : RUN ${MAKE} 12:06:08 ---> Running in 8f7754e0486c 12:06:09 noop 12:06:09 Removing intermediate container 8f7754e0486c 12:06:09 ---> 3e1ad4e98c42 12:06:09 Successfully built 3e1ad4e98c42 12:06:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:10 + docker inspect -f . ci-base-image-arm64 12:06:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:10 prd-ubuntu20.04-docker-arm64-4c-16g-39534 does not seem to be running inside a container 12:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/183 -v /w/workspace/device-modbus-go/183:/w/workspace/device-modbus-go/183:rw,z -v /w/workspace/device-modbus-go/183@tmp:/w/workspace/device-modbus-go/183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:06:11 $ docker top 3cc359f15e00c7a19caecfbb52e3802062eb394ba7bfc79065c940d38da029d2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:12 + go version 12:06:12 go version go1.23.4 linux/arm64 [Pipeline] } 12:06:12 $ docker stop --time=1 3cc359f15e00c7a19caecfbb52e3802062eb394ba7bfc79065c940d38da029d2 12:06:14 $ docker rm -f --volumes 3cc359f15e00c7a19caecfbb52e3802062eb394ba7bfc79065c940d38da029d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:14 + docker inspect -f . ci-base-image-arm64 12:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:14 prd-ubuntu20.04-docker-arm64-4c-16g-39534 does not seem to be running inside a container 12:06:15 $ 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/183 -v /w/workspace/device-modbus-go/183:/w/workspace/device-modbus-go/183:rw,z -v /w/workspace/device-modbus-go/183@tmp:/w/workspace/device-modbus-go/183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:06:16 $ docker top 881e54324343f050afba2c02e41ff4f390309510b1cbfde19c4bf74764f6e115 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:17 + git config --global --add safe.directory /w/workspace/device-modbus-go/183 [Pipeline] fileExists [Pipeline] sh 12:06:17 + make test 12:06:17 go test ./... -coverprofile=coverage.out 12:06:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:09:29 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 12:09:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 45.2% of statements 12:09:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:09:29 go vet ./... 12:10:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:16 ./bin/test-attribution-txt.sh [Pipeline] echo 12:10:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:10:16 $ docker stop --time=1 881e54324343f050afba2c02e41ff4f390309510b1cbfde19c4bf74764f6e115 12:10:18 $ docker rm -f --volumes 881e54324343f050afba2c02e41ff4f390309510b1cbfde19c4bf74764f6e115 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:10:20 Warning: overwriting stash ‘coverage-report’ 12:10:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:10:21 + ls -al . 12:10:21 total 256 12:10:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 12:06 . 12:10:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 12:03 .. 12:10:21 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 12:03 .dockerignore 12:10:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 12:03 .git 12:10:21 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 12:03 .github 12:10:21 -rw-rw-r-- 1 jenkins jenkins 266 Feb 23 12:03 .gitignore 12:10:21 -rw-rw-r-- 1 jenkins jenkins 199 Feb 23 12:03 .golangci.yml 12:10:21 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 23 12:03 Attribution.txt 12:10:21 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 23 12:03 CHANGELOG.md 12:10:21 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 23 12:03 Dockerfile 12:10:21 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 12:03 GOVERNANCE.md 12:10:21 -rw-rw-r-- 1 jenkins jenkins 658 Feb 23 12:03 Jenkinsfile 12:10:21 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 12:03 LICENSE 12:10:21 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 23 12:03 Makefile 12:10:21 -rw-rw-r-- 1 jenkins jenkins 622 Feb 23 12:03 OWNERS.md 12:10:21 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 23 12:03 README.md 12:10:21 -rw-rw-r-- 1 jenkins jenkins 12 Feb 23 12:01 VERSION 12:10:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 12:03 bin 12:10:21 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 12:03 cmd 12:10:21 -rw-r--r-- 1 jenkins jenkins 26862 Feb 23 12:09 coverage.out 12:10:21 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 23 12:03 go.mod 12:10:21 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 23 12:03 go.sum 12:10:21 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 12:03 internal 12:10:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 12:03 simulator 12:10:21 -rw-rw-r-- 1 jenkins jenkins 229 Feb 23 12:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:21 + 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=fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 --label arch=arm64 --label version=4.0.0-dev.18 . 12:10:22 Sending build context to Docker daemon 9.24MB 12:10:22 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 12:10:22 Step 2/23 : FROM ${BASE} AS builder 12:10:22 ---> 3e1ad4e98c42 12:10:22 Step 3/23 : ARG ADD_BUILD_TAGS="" 12:10:22 ---> Running in 5f8d83bbf5a7 12:10:22 Removing intermediate container 5f8d83bbf5a7 12:10:22 ---> 673f584aedab 12:10:22 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:10:23 ---> Running in 8287b9b95faf 12:10:23 Removing intermediate container 8287b9b95faf 12:10:23 ---> 35bd925dc009 12:10:23 Step 5/23 : RUN apk add --update --no-cache make git openssh 12:10:23 ---> Running in a0d4f594d8e8 12:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:10:25 OK: 245 MiB in 66 packages 12:10:26 Removing intermediate container a0d4f594d8e8 12:10:26 ---> 69db19346a52 12:10:26 Step 6/23 : WORKDIR /device-modbus-go 12:10:26 ---> Running in 4da99d64366d 12:10:27 Removing intermediate container 4da99d64366d 12:10:27 ---> 2bf3c3a6c691 12:10:27 Step 7/23 : COPY go.mod vendor* ./ 12:10:27 ---> c9dd9c8a20f0 12:10:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:27 ---> Running in 732f9fe5d05e 12:10:30 Removing intermediate container 732f9fe5d05e 12:10:30 ---> 75b9b14da641 12:10:30 Step 9/23 : COPY . . 12:10:31 ---> 2d138dfee09b 12:10:31 Step 10/23 : RUN ${MAKE} 12:10:31 ---> Running in 4c50e6ca63e3 12:10:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 12:13:39 Removing intermediate container 4c50e6ca63e3 12:13:39 ---> baf0384ed780 12:13:39 Step 11/23 : FROM alpine:3.20 12:13:39 3.20: Pulling from library/alpine 12:13:39 94e9d8af2201: Pulling fs layer 12:13:39 94e9d8af2201: Verifying Checksum 12:13:39 94e9d8af2201: Download complete 12:13:39 94e9d8af2201: Pull complete 12:13:39 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 12:13:39 Status: Downloaded newer image for alpine:3.20 12:13:39 ---> 7aab056cecc6 12:13:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 12:13:39 ---> Running in 176cf8885363 12:13:39 Removing intermediate container 176cf8885363 12:13:39 ---> 0d8b2c3545c9 12:13:39 Step 13/23 : RUN apk add --update --no-cache dumb-init 12:13:39 ---> Running in adb0d75837f4 12:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:13:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:13:42 (1/1) Installing dumb-init (1.2.5-r3) 12:13:42 Executing busybox-1.36.1-r29.trigger 12:13:42 OK: 9 MiB in 15 packages 12:13:43 Removing intermediate container adb0d75837f4 12:13:43 ---> ab56ccc82f6f 12:13:43 Step 14/23 : RUN apk --no-cache upgrade 12:13:43 ---> Running in 6cd2a3725de7 12:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:13:46 OK: 9 MiB in 15 packages 12:13:47 Removing intermediate container 6cd2a3725de7 12:13:47 ---> ca05b3c06ef4 12:13:47 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:13:48 ---> da22c204f84c 12:13:48 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:13:49 ---> 02f1a7a2ffa6 12:13:49 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:13:49 ---> 863f530720be 12:13:49 Step 18/23 : EXPOSE 59901 12:13:49 ---> Running in c06139c5c1e9 12:13:49 Removing intermediate container c06139c5c1e9 12:13:49 ---> ce5de3056295 12:13:49 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:13:49 ---> Running in 7af1f7bea3a0 12:13:50 Removing intermediate container 7af1f7bea3a0 12:13:50 ---> b956d8bc39be 12:13:50 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 12:13:50 ---> Running in b53c2a820486 12:13:50 Removing intermediate container b53c2a820486 12:13:50 ---> f3744b32a74e 12:13:50 Step 21/23 : LABEL arch=arm64 12:13:50 ---> Running in fbbf13a8fe7f 12:13:51 Removing intermediate container fbbf13a8fe7f 12:13:51 ---> 08fe62892a76 12:13:51 Step 22/23 : LABEL git_sha=fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:13:51 ---> Running in f5158e0009a0 12:13:51 Removing intermediate container f5158e0009a0 12:13:51 ---> f7d364558f63 12:13:51 Step 23/23 : LABEL version=4.0.0-dev.18 12:13:51 ---> Running in 2b5d3a137684 12:13:51 Removing intermediate container 2b5d3a137684 12:13:51 ---> a0efe03da161 12:13:51 [Warning] One or more build-args [ARCH] were not consumed 12:13:51 Successfully built a0efe03da161 12:13:51 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:52 provisioning config files... 12:13:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/183@tmp/config14680853300784033308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:52 ---> ****-login.sh 12:13:52 nexus3.edgexfoundry.org:10001 12:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:13:52 Configure a credential helper to remove this warning. See 12:13:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:13:52 12:13:52 Login Succeeded 12:13:52 nexus3.edgexfoundry.org:10002 12:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:13:52 Configure a credential helper to remove this warning. See 12:13:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:13:52 12:13:52 Login Succeeded 12:13:52 nexus3.edgexfoundry.org:10003 12:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:13:53 Configure a credential helper to remove this warning. See 12:13:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:13:53 12:13:53 Login Succeeded 12:13:53 nexus3.edgexfoundry.org:10004 12:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:13:53 Configure a credential helper to remove this warning. See 12:13:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:13:53 12:13:53 Login Succeeded 12:13:53 ****.io 12:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:13:54 Configure a credential helper to remove this warning. See 12:13:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:13:54 12:13:54 Login Succeeded 12:13:54 ---> ****-login.sh ends [Pipeline] } 12:13:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:13:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:13:54 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 12:13:54 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:13:54 latest 12:13:54 4.0.0-dev.18 12:13:54 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 12:13:54 main 12:13:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:13:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:13:55 96c40901bb7c: Preparing 12:13:55 168e8518e787: Preparing 12:13:55 88ba11b22aac: Preparing 12:13:55 d0f482280609: Preparing 12:13:55 f050b163b5ad: Preparing 12:13:55 dd9c8f8612c8: Preparing 12:13:55 dd9c8f8612c8: Waiting 12:13:55 f050b163b5ad: Pushed 12:13:55 96c40901bb7c: Pushed 12:13:55 168e8518e787: Pushed 12:13:55 d0f482280609: Pushed 12:13:55 dd9c8f8612c8: Layer already exists 12:14:03 88ba11b22aac: Pushed 12:14:03 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56: digest: sha256:cf7f309ec3ff101e57200297d7f02187878aa12b39ada51639ed492f52f4d644 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 12:14:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:14:04 96c40901bb7c: Preparing 12:14:04 168e8518e787: Preparing 12:14:04 88ba11b22aac: Preparing 12:14:04 d0f482280609: Preparing 12:14:04 f050b163b5ad: Preparing 12:14:04 dd9c8f8612c8: Preparing 12:14:04 dd9c8f8612c8: Waiting 12:14:04 96c40901bb7c: Layer already exists 12:14:04 f050b163b5ad: Layer already exists 12:14:04 d0f482280609: Layer already exists 12:14:04 88ba11b22aac: Layer already exists 12:14:04 168e8518e787: Layer already exists 12:14:04 dd9c8f8612c8: Layer already exists 12:14:04 latest: digest: sha256:cf7f309ec3ff101e57200297d7f02187878aa12b39ada51639ed492f52f4d644 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.18 12:14:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:14:05 96c40901bb7c: Preparing 12:14:05 168e8518e787: Preparing 12:14:05 88ba11b22aac: Preparing 12:14:05 d0f482280609: Preparing 12:14:05 f050b163b5ad: Preparing 12:14:05 dd9c8f8612c8: Preparing 12:14:05 dd9c8f8612c8: Waiting 12:14:05 d0f482280609: Layer already exists 12:14:05 88ba11b22aac: Layer already exists 12:14:05 f050b163b5ad: Layer already exists 12:14:05 96c40901bb7c: Layer already exists 12:14:05 168e8518e787: Layer already exists 12:14:05 dd9c8f8612c8: Layer already exists 12:14:05 4.0.0-dev.18: digest: sha256:cf7f309ec3ff101e57200297d7f02187878aa12b39ada51639ed492f52f4d644 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 12:14:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:14:05 96c40901bb7c: Preparing 12:14:05 168e8518e787: Preparing 12:14:05 88ba11b22aac: Preparing 12:14:05 d0f482280609: Preparing 12:14:05 f050b163b5ad: Preparing 12:14:05 dd9c8f8612c8: Preparing 12:14:05 dd9c8f8612c8: Waiting 12:14:05 88ba11b22aac: Layer already exists 12:14:05 d0f482280609: Layer already exists 12:14:05 f050b163b5ad: Layer already exists 12:14:05 96c40901bb7c: Layer already exists 12:14:05 168e8518e787: Layer already exists 12:14:05 dd9c8f8612c8: Layer already exists 12:14:05 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18: digest: sha256:cf7f309ec3ff101e57200297d7f02187878aa12b39ada51639ed492f52f4d644 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 12:14:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:14:06 96c40901bb7c: Preparing 12:14:06 168e8518e787: Preparing 12:14:06 88ba11b22aac: Preparing 12:14:06 d0f482280609: Preparing 12:14:06 f050b163b5ad: Preparing 12:14:06 dd9c8f8612c8: Preparing 12:14:06 dd9c8f8612c8: Waiting 12:14:06 88ba11b22aac: Layer already exists 12:14:06 96c40901bb7c: Layer already exists 12:14:06 d0f482280609: Layer already exists 12:14:06 168e8518e787: Layer already exists 12:14:06 f050b163b5ad: Layer already exists 12:14:06 dd9c8f8612c8: Layer already exists 12:14:06 main: digest: sha256:cf7f309ec3ff101e57200297d7f02187878aa12b39ada51639ed492f52f4d644 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:14:06 ===================================================== [Pipeline] echo 12:14:07 taggedImages: 12:14:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 12:14:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 12:14:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.18 12:14:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56-4.0.0-dev.18 12:14:07 - 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 12:14:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:07 12:14:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:07 arm64: Pulling from edgex-lftools-log-publisher 12:14:07 8998bd30e6a1: Pulling fs layer 12:14:07 04944245beec: Pulling fs layer 12:14:07 699f458cf7ca: Pulling fs layer 12:14:07 765212b225bb: Pulling fs layer 12:14:07 f23df028b6ca: Pulling fs layer 12:14:07 d65c8cfc05b1: Pulling fs layer 12:14:07 2437ff75d9bd: Pulling fs layer 12:14:07 f23df028b6ca: Waiting 12:14:07 d65c8cfc05b1: Waiting 12:14:07 2437ff75d9bd: Waiting 12:14:07 765212b225bb: Waiting 12:14:07 04944245beec: Verifying Checksum 12:14:07 04944245beec: Download complete 12:14:07 765212b225bb: Verifying Checksum 12:14:07 765212b225bb: Download complete 12:14:07 f23df028b6ca: Verifying Checksum 12:14:07 f23df028b6ca: Download complete 12:14:07 d65c8cfc05b1: Verifying Checksum 12:14:07 d65c8cfc05b1: Download complete 12:14:08 699f458cf7ca: Verifying Checksum 12:14:08 699f458cf7ca: Download complete 12:14:08 8998bd30e6a1: Verifying Checksum 12:14:08 8998bd30e6a1: Download complete 12:14:11 2437ff75d9bd: Verifying Checksum 12:14:11 2437ff75d9bd: Download complete 12:14:13 8998bd30e6a1: Pull complete 12:14:13 04944245beec: Pull complete 12:14:15 699f458cf7ca: Pull complete 12:14:15 765212b225bb: Pull complete 12:14:15 f23df028b6ca: Pull complete 12:14:16 d65c8cfc05b1: Pull complete 12:14:34 2437ff75d9bd: Pull complete 12:14:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:34 prd-ubuntu20.04-docker-arm64-4c-16g-39534 does not seem to be running inside a container 12:14:34 $ 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/183 -v /w/workspace/device-modbus-go/183:/w/workspace/device-modbus-go/183:rw,z -v /w/workspace/device-modbus-go/183@tmp:/w/workspace/device-modbus-go/183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:14:37 $ docker top 821267c8432131e80b5aa82030129f0eba0bcbdb7a56a94f56457a54149589f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:38 ---> job-cost.sh 12:14:38 lf-activate-venv: SKIPPING 12:14:38 INFO: No Stack... 12:14:38 INFO: Retrieving Pricing Info for: v3-standard-4 12:14:39 INFO: Archiving Costs [Pipeline] sh 12:14:39 + cat /w/workspace/device-modbus-go/183/archives/cost.csv 12:14:39 + cut -d, -f6 [Pipeline] lock 12:14:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] 12:14:39 Resource [jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] did not exist. Created. 12:14:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:14:40 /w/workspace/device-modbus-go/183@tmp/durable-1717576d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:14:40 + echo total: 0.10999999940395355 [Pipeline] stash 12:14:41 Warning: overwriting stash ‘stack-cost’ 12:14:41 Stashed 1 file(s) [Pipeline] } 12:14:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-183-stack-cost] [Pipeline] // lock [Pipeline] } 12:14:41 $ docker stop --time=1 821267c8432131e80b5aa82030129f0eba0bcbdb7a56a94f56457a54149589f6 12:14:42 $ docker rm -f --volumes 821267c8432131e80b5aa82030129f0eba0bcbdb7a56a94f56457a54149589f6 [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 12:14:43 provisioning config files... 12:14:43 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1568080124633492858tmp [Pipeline] { [Pipeline] sh 12:14:43 + set +x 12:14:43 + curl -s https://codecov.io/bash 12:14:43 + bash -s -- 12:14:43 12:14:43 _____ _ 12:14:43 / ____| | | 12:14:43 | | ___ __| | ___ ___ _____ __ 12:14:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:14:43 | |___| (_) | (_| | __/ (_| (_) \ V / 12:14:43 \_____\___/ \__,_|\___|\___\___/ \_/ 12:14:43 Bash-1.0.6 12:14:43 12:14:43 12:14:43 ==> git version 2.25.1 found 12:14:43 ==> 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 12:14:43 Release-Date: 2020-01-08 12:14:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:14:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:14:43 ==> Jenkins CI detected. 12:14:43 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 12:14:43 project root: . 12:14:43 --> token set from env 12:14:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:14:43 ==> Running gcov in . (disable via -X gcov) 12:14:43 ==> Python coveragepy not found 12:14:43 ==> Searching for coverage reports in: 12:14:43 + . 12:14:43 -> Found 1 reports 12:14:43 ==> Detecting git/mercurial file structure 12:14:43 ==> Reading reports 12:14:43 + ./coverage.out bytes=26862 12:14:43 ==> Appending adjustments 12:14:43 https://docs.codecov.io/docs/fixing-reports 12:14:43 + Found adjustments 12:14:43 ==> Gzipping contents 12:14:43 8.0K /tmp/codecov.017agp.gz 12:14:43 ==> Uploading reports 12:14:43 url: https://codecov.io 12:14:43 query: branch=main&commit=fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:14:43 -> Pinging Codecov 12:14:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56&build=183&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F183%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:14:43 -> Uploading to 12:14:43 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56/5b95cd9e-1377-4c3a-96e9-8cdeab435c4d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250223%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250223T121443Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=cb88fd1ba00f034f91912593313e63a6b44d5f456cf9f916cfc06a7584d038ac 12:14:43 % Total % Received % Xferd Average Speed Time Time Time Current 12:14:43 Dload Upload Total Spent Left Speed 12:14:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 25831 --:--:-- --:--:-- --:--:-- 25831 12:14:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] } 12:14:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:14:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:14:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:14:44 12:14:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:14:44 latest: Pulling from edgex-devops/edgex-snyk-go 12:14:44 43c4264eed91: Pulling fs layer 12:14:44 4cc291be95ef: Pulling fs layer 12:14:44 2ac1f1163629: Pulling fs layer 12:14:44 5c3c966382ef: Pulling fs layer 12:14:44 4f4fb700ef54: Pulling fs layer 12:14:44 d9c7d2e4e75e: Pulling fs layer 12:14:44 5c3c966382ef: Waiting 12:14:44 4f4fb700ef54: Waiting 12:14:44 9c3e1370e548: Pulling fs layer 12:14:44 d9c7d2e4e75e: Waiting 12:14:44 4cc291be95ef: Download complete 12:14:44 5c3c966382ef: Verifying Checksum 12:14:44 5c3c966382ef: Download complete 12:14:44 4f4fb700ef54: Download complete 12:14:44 43c4264eed91: Verifying Checksum 12:14:44 43c4264eed91: Download complete 12:14:44 d9c7d2e4e75e: Verifying Checksum 12:14:44 d9c7d2e4e75e: Download complete 12:14:44 43c4264eed91: Pull complete 12:14:44 4cc291be95ef: Pull complete 12:14:45 2ac1f1163629: Verifying Checksum 12:14:45 2ac1f1163629: Download complete 12:14:45 9c3e1370e548: Verifying Checksum 12:14:45 9c3e1370e548: Download complete 12:14:49 2ac1f1163629: Pull complete 12:14:49 5c3c966382ef: Pull complete 12:14:49 4f4fb700ef54: Pull complete 12:14:49 d9c7d2e4e75e: Pull complete 12:14:52 9c3e1370e548: Pull complete 12:14:52 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 12:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:14:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:52 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 12:14:55 $ docker top 42d9b8c3fcdf51694a67fb65a45c389fae4c9952830c93f390d23150feda4aa9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 12:14:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 12:14:56 + set -o pipefail 12:14:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 12:15:02 12:15:02 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 12:15:02 12:15:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/a87d7d4d-c8f2-44b6-8684-075694364590 12:15:02 12:15:02 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:15:02 12:15:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:15:02 [Pipeline] } 12:15:02 $ docker stop --time=1 42d9b8c3fcdf51694a67fb65a45c389fae4c9952830c93f390d23150feda4aa9 12:15:06 $ docker rm -f --volumes 42d9b8c3fcdf51694a67fb65a45c389fae4c9952830c93f390d23150feda4aa9 [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 12:15:06 + git log --format=format:%s -1 fbd5f5be4ff6530c225baeee50f7bcaef7f6ef56 [Pipeline] sh 12:15:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:15:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:15:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:07 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:15:08 $ docker top bdb3ede3daec73122d549dfce6cd0763d782afc56b26988b635543668ac86827 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:15:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:15:08 [ssh-agent] Looking for ssh-agent implementation... 12:15:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:15:08 $ docker exec bdb3ede3daec73122d549dfce6cd0763d782afc56b26988b635543668ac86827 ssh-agent 12:15:08 SSH_AUTH_SOCK=/tmp/ssh-6vZSetx7SESq/agent.32 12:15:08 SSH_AGENT_PID=38 12:15:08 Running ssh-add (command line suppressed) 12:15:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4302722057763076631.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4302722057763076631.key) 12:15:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:15:09 + git semver tag 12:15:09 2025-02-23 12:15:09,224 [run_tag] DEBUG tag force:False 12:15:09 2025-02-23 12:15:09,224 [check_head_tag] DEBUG check head tag 12:15:09 2025-02-23 12:15:09,225 [execute] INFO git cat-file --batch-check 12:15:09 2025-02-23 12:15:09,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 12:15:09 2025-02-23 12:15:09,229 [execute] INFO git cat-file --batch 12:15:09 2025-02-23 12:15:09,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 12:15:09 2025-02-23 12:15:09,256 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:09 2025-02-23 12:15:09,256 [execute] INFO git tag -a v4.0.0-dev.18 -m v4.0.0-dev.18 12:15:09 2025-02-23 12:15:09,256 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.18', '-m', 'v4.0.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 12:15:09 2025-02-23 12:15:09,262 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:09 4.0.0-dev.18 [Pipeline] } 12:15:09 $ docker exec --env ******** --env ******** bdb3ede3daec73122d549dfce6cd0763d782afc56b26988b635543668ac86827 ssh-agent -k 12:15:09 unset SSH_AUTH_SOCK; 12:15:09 unset SSH_AGENT_PID; 12:15:09 echo Agent pid 38 killed; 12:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:15:09 + git semver [Pipeline] } 12:15:10 $ docker stop --time=1 bdb3ede3daec73122d549dfce6cd0763d782afc56b26988b635543668ac86827 12:15:11 $ docker rm -f --volumes bdb3ede3daec73122d549dfce6cd0763d782afc56b26988b635543668ac86827 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:15:11 12:15:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:15:12 0.23.1-centos7: Pulling from edgex-lftools 12:15:12 ab5ef0e58194: Pulling fs layer 12:15:12 9712f1f96733: Pulling fs layer 12:15:12 63f879dbbcfc: Pulling fs layer 12:15:12 0d9ebad4ef96: Pulling fs layer 12:15:12 e9a5061849ea: Pulling fs layer 12:15:12 d747dcd14b5f: Pulling fs layer 12:15:12 2de7ff778b66: Pulling fs layer 12:15:12 e9a5061849ea: Waiting 12:15:12 0d9ebad4ef96: Waiting 12:15:12 d747dcd14b5f: Waiting 12:15:12 2de7ff778b66: Waiting 12:15:12 9712f1f96733: Download complete 12:15:12 63f879dbbcfc: Verifying Checksum 12:15:12 63f879dbbcfc: Download complete 12:15:12 e9a5061849ea: Verifying Checksum 12:15:12 e9a5061849ea: Download complete 12:15:12 0d9ebad4ef96: Verifying Checksum 12:15:12 0d9ebad4ef96: Download complete 12:15:12 d747dcd14b5f: Verifying Checksum 12:15:12 d747dcd14b5f: Download complete 12:15:12 ab5ef0e58194: Verifying Checksum 12:15:12 ab5ef0e58194: Download complete 12:15:12 2de7ff778b66: Verifying Checksum 12:15:12 2de7ff778b66: Download complete 12:15:15 ab5ef0e58194: Pull complete 12:15:15 9712f1f96733: Pull complete 12:15:15 63f879dbbcfc: Pull complete 12:15:20 0d9ebad4ef96: Pull complete 12:15:20 e9a5061849ea: Pull complete 12:15:20 d747dcd14b5f: Pull complete 12:15:21 2de7ff778b66: Pull complete 12:15:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:15:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:15:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:21 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:15:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:15:25 $ docker top 6a325804c8f28f8e450668c1c8d69f5ec464db31b9331a83359be1d5237d5544 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:15:25 provisioning config files... 12:15:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7964987550678138976tmp 12:15:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14168079593082290027tmp 12:15:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15566478473265694549tmp [Pipeline] { [Pipeline] echo 12:15:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:15:25 ---> sigul-configuration.sh 12:15:25 gpg: directory `/root/.gnupg' created 12:15:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:15:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:15:25 gpg: keyring `/root/.gnupg/secring.gpg' created 12:15:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:15:25 gpg: CAST5 encrypted data 12:15:25 gpg: encrypted with 1 passphrase 12:15:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:15:26 + mkdir /home/jenkins 12:15:26 + mkdir /home/jenkins/sigul [Pipeline] sh 12:15:26 + 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 12:15:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:15:26 ---> sigul-install.sh 12:15:26 Sigul already installed; skipping installation. [Pipeline] sh 12:15:27 + git tag --list 12:15:27 0.7.1 12:15:27 v1.0.0 12:15:27 v1.1.0 12:15:27 v1.1.1 12:15:27 v1.2.2 12:15:27 v1.3.0 12:15:27 v1.3.1 12:15:27 v2.0.0 12:15:27 v2.1.0 12:15:27 v2.1.1 12:15:27 v2.2.0 12:15:27 v2.3.0 12:15:27 v3.0 12:15:27 v3.0.0 12:15:27 v3.1 12:15:27 v3.1.0 12:15:27 v3.1.0-dev.1 12:15:27 v3.1.0-dev.10 12:15:27 v3.1.0-dev.11 12:15:27 v3.1.0-dev.12 12:15:27 v3.1.0-dev.13 12:15:27 v3.1.0-dev.14 12:15:27 v3.1.0-dev.15 12:15:27 v3.1.0-dev.16 12:15:27 v3.1.0-dev.17 12:15:27 v3.1.0-dev.18 12:15:27 v3.1.0-dev.19 12:15:27 v3.1.0-dev.2 12:15:27 v3.1.0-dev.20 12:15:27 v3.1.0-dev.21 12:15:27 v3.1.0-dev.22 12:15:27 v3.1.0-dev.23 12:15:27 v3.1.0-dev.24 12:15:27 v3.1.0-dev.25 12:15:27 v3.1.0-dev.3 12:15:27 v3.1.0-dev.4 12:15:27 v3.1.0-dev.5 12:15:27 v3.1.0-dev.6 12:15:27 v3.1.0-dev.7 12:15:27 v3.1.0-dev.8 12:15:27 v3.1.0-dev.9 12:15:27 v3.1.1 12:15:27 v3.1.1-dev.1 12:15:27 v3.2.0-dev.1 12:15:27 v3.2.0-dev.10 12:15:27 v3.2.0-dev.11 12:15:27 v3.2.0-dev.12 12:15:27 v3.2.0-dev.13 12:15:27 v3.2.0-dev.14 12:15:27 v3.2.0-dev.15 12:15:27 v3.2.0-dev.16 12:15:27 v3.2.0-dev.17 12:15:27 v3.2.0-dev.18 12:15:27 v3.2.0-dev.19 12:15:27 v3.2.0-dev.2 12:15:27 v3.2.0-dev.20 12:15:27 v3.2.0-dev.21 12:15:27 v3.2.0-dev.22 12:15:27 v3.2.0-dev.23 12:15:27 v3.2.0-dev.24 12:15:27 v3.2.0-dev.25 12:15:27 v3.2.0-dev.26 12:15:27 v3.2.0-dev.3 12:15:27 v3.2.0-dev.4 12:15:27 v3.2.0-dev.5 12:15:27 v3.2.0-dev.6 12:15:27 v3.2.0-dev.7 12:15:27 v3.2.0-dev.8 12:15:27 v3.2.0-dev.9 12:15:27 v4.0.0-dev.1 12:15:27 v4.0.0-dev.10 12:15:27 v4.0.0-dev.11 12:15:27 v4.0.0-dev.12 12:15:27 v4.0.0-dev.13 12:15:27 v4.0.0-dev.14 12:15:27 v4.0.0-dev.15 12:15:27 v4.0.0-dev.16 12:15:27 v4.0.0-dev.17 12:15:27 v4.0.0-dev.18 12:15:27 v4.0.0-dev.2 12:15:27 v4.0.0-dev.3 12:15:27 v4.0.0-dev.4 12:15:27 v4.0.0-dev.5 12:15:27 v4.0.0-dev.6 12:15:27 v4.0.0-dev.7 12:15:27 v4.0.0-dev.8 12:15:27 v4.0.0-dev.9 [Pipeline] sh 12:15:27 + lftools sign git-tag v4.0.0-dev.18 12:15:28 Signing Git tag with Sigul... 12:15:28 Signing v4.0.0-dev.18 [Pipeline] echo 12:15:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:15:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:15:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:15:28 $ docker stop --time=1 6a325804c8f28f8e450668c1c8d69f5ec464db31b9331a83359be1d5237d5544 12:15:30 $ docker rm -f --volumes 6a325804c8f28f8e450668c1c8d69f5ec464db31b9331a83359be1d5237d5544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:15:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:15:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:15:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:31 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:15:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:15:31 $ docker top 2e4ad49ffd6e0981e401a20683184c8dd78f3f21ec954ad89bcfc9c14d91c336 -eo pid,comm 12:15:31 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). 12:15:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:15:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:15:31 [ssh-agent] Looking for ssh-agent implementation... 12:15:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:15:31 $ docker exec 2e4ad49ffd6e0981e401a20683184c8dd78f3f21ec954ad89bcfc9c14d91c336 ssh-agent 12:15:31 SSH_AUTH_SOCK=/tmp/ssh-hc97hHC9JeFB/agent.31 12:15:31 SSH_AGENT_PID=37 12:15:31 Running ssh-add (command line suppressed) 12:15:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4249607080607741576.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4249607080607741576.key) 12:15:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:15:32 + git semver bump pre 12:15:32 2025-02-23 12:15:32,436 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:32 2025-02-23 12:15:32,436 [bump_version] DEBUG bumping version:4.0.0-dev.18 on axis:pre with prefix:dev 12:15:32 2025-02-23 12:15:32,436 [bump_version] DEBUG bumped version:4.0.0-dev.19 12:15:32 2025-02-23 12:15:32,436 [write_version] DEBUG write version:4.0.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 12:15:32 2025-02-23 12:15:32,436 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:32 2025-02-23 12:15:32,436 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:32 2025-02-23 12:15:32,438 [execute] INFO git cat-file --batch-check 12:15:32 2025-02-23 12:15:32,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:15:32 2025-02-23 12:15:32,445 [execute] INFO git cat-file --batch 12:15:32 2025-02-23 12:15:32,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:15:32 2025-02-23 12:15:32,451 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:32 4.0.0-dev.19 [Pipeline] } 12:15:32 $ docker exec --env ******** --env ******** 2e4ad49ffd6e0981e401a20683184c8dd78f3f21ec954ad89bcfc9c14d91c336 ssh-agent -k 12:15:32 unset SSH_AUTH_SOCK; 12:15:32 unset SSH_AGENT_PID; 12:15:32 echo Agent pid 37 killed; 12:15:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:15:32 + git semver [Pipeline] } 12:15:33 $ docker stop --time=1 2e4ad49ffd6e0981e401a20683184c8dd78f3f21ec954ad89bcfc9c14d91c336 12:15:34 $ docker rm -f --volumes 2e4ad49ffd6e0981e401a20683184c8dd78f3f21ec954ad89bcfc9c14d91c336 [Pipeline] // withDockerContainer [Pipeline] sh 12:15:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:15:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:35 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:15:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:15:35 $ docker top 4510e5fcc85a9ff6a54761d2f4b4e06203b6d7b81058a3e9d0f352ed5f1d691d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:15:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:15:35 [ssh-agent] Looking for ssh-agent implementation... 12:15:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:15:35 $ docker exec 4510e5fcc85a9ff6a54761d2f4b4e06203b6d7b81058a3e9d0f352ed5f1d691d ssh-agent 12:15:35 SSH_AUTH_SOCK=/tmp/ssh-f8nq5agXKtYX/agent.31 12:15:35 SSH_AGENT_PID=37 12:15:35 Running ssh-add (command line suppressed) 12:15:36 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16018918632274015991.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16018918632274015991.key) 12:15:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:15:36 + git semver push 12:15:36 2025-02-23 12:15:36,570 [run_push] DEBUG push 12:15:36 2025-02-23 12:15:36,571 [execute] INFO git cat-file --batch-check 12:15:36 2025-02-23 12:15:36,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:15:36 2025-02-23 12:15:36,575 [execute] INFO git rev-list fe92a3279b57eee89dfc2b6f3d116a0164e42c49 -- 12:15:36 2025-02-23 12:15:36,576 [execute] DEBUG Popen(['git', 'rev-list', 'fe92a3279b57eee89dfc2b6f3d116a0164e42c49', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:15:36 2025-02-23 12:15:36,587 [execute] INFO git fetch -v origin 12:15:36 2025-02-23 12:15:36,587 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:15:37 2025-02-23 12:15:37,034 [run_push] DEBUG no remote changes detected 12:15:37 2025-02-23 12:15:37,034 [execute] INFO git push origin semver 12:15:37 2025-02-23 12:15:37,035 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:15:37 2025-02-23 12:15:37,680 [run_push] DEBUG push all version tags 12:15:37 2025-02-23 12:15:37,680 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:15:37 2025-02-23 12:15:37,681 [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) 12:15:38 2025-02-23 12:15:38,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:15:38 4.0.0-dev.19 [Pipeline] } 12:15:38 $ docker exec --env ******** --env ******** 4510e5fcc85a9ff6a54761d2f4b4e06203b6d7b81058a3e9d0f352ed5f1d691d ssh-agent -k 12:15:38 unset SSH_AUTH_SOCK; 12:15:38 unset SSH_AGENT_PID; 12:15:38 echo Agent pid 37 killed; 12:15:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:15:39 + git semver [Pipeline] } 12:15:39 $ docker stop --time=1 4510e5fcc85a9ff6a54761d2f4b4e06203b6d7b81058a3e9d0f352ed5f1d691d 12:15:40 $ docker rm -f --volumes 4510e5fcc85a9ff6a54761d2f4b4e06203b6d7b81058a3e9d0f352ed5f1d691d [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 12:15:41 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 12:15:41 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 12:15:41 total 16 12:15:41 drwxr-xr-x 3 root root 4096 Feb 23 12:04 . 12:15:41 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 12:15 .. 12:15:41 drwxr-xr-x 2 root root 4096 Feb 23 12:04 cost 12:15:41 -rw-r--r-- 1 root root 88 Feb 23 12:04 cost.csv 12:15:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 12:15:41 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 12:15:41 total 16 12:15:41 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 12:04 . 12:15:41 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 12:15 .. 12:15:41 drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 12:04 cost 12:15:41 -rw-r--r-- 1 jenkins jenkins 88 Feb 23 12:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:15:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:15:42 ---> package-listing.sh 12:15:42 ++ facter osfamily 12:15:42 ++ tr '[:upper:]' '[:lower:]' 12:15:42 + OS_FAMILY=debian 12:15:42 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 12:15:42 + START_PACKAGES=/tmp/packages_start.txt 12:15:42 + END_PACKAGES=/tmp/packages_end.txt 12:15:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:15:42 + PACKAGES=/tmp/packages_start.txt 12:15:42 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 12:15:42 + PACKAGES=/tmp/packages_end.txt 12:15:42 + case "${OS_FAMILY}" in 12:15:42 + dpkg -l 12:15:42 + grep '^ii' 12:15:42 + '[' -f /tmp/packages_start.txt ']' 12:15:42 + '[' -f /tmp/packages_end.txt ']' 12:15:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:15:42 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 12:15:42 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 12:15:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 12:15:42 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 12:15:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:43 prd-ubuntu20.04-docker-8c-8g-39533 does not seem to be running inside a container 12:15:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:15:43 $ docker top 6696c92eba5b5056056b184ef9089c71e68e5b8e617213ce2f5be20a705b7fa0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:44 + touch /tmp/pre-build-complete [Pipeline] sh 12:15:44 + mkdir -p /var/log/sysstat [Pipeline] sh 12:15:44 + ls /var/log/sa-host 12:15:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:44 provisioning config files... 12:15:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2039604692973857492tmp [Pipeline] { [Pipeline] echo 12:15:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:15:45 ---> create-netrc.sh [Pipeline] } 12:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:15:45 ---> python-tools-install.sh [Pipeline] echo 12:15:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:15:45 ---> sudo-logs.sh 12:15:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:15:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:15:46 ---> job-cost.sh 12:15:46 lf-activate-venv: SKIPPING 12:15:46 DEBUG: total: 0.2199999988079071 12:15:46 INFO: Retrieving Stack Cost... 12:15:46 INFO: Retrieving Pricing Info for: v3-standard-8 12:15:47 INFO: Archiving Costs [Pipeline] echo 12:15:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:15:47 ---> logs-deploy.sh 12:15:47 lf-activate-venv: SKIPPING 12:15:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/183 12:15:47 INFO: archiving workspace using pattern(s): 12:15:48 Archives upload complete. 12:15:48 INFO: archiving logs to Nexus