Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7843eb9fff04d81f7905769d603012160cefa56 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-ssh6274277305665480579.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-ssh7900650417220276253.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-ssh1979677076249153423.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-ssh12263713216886228619.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-ssh7804818664513786041.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-39341 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 d7843eb9fff04d81f7905769d603012160cefa56 (main) Commit message: "Merge pull request #616 from weichou1229/issue-610" > 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 d7843eb9fff04d81f7905769d603012160cefa56 # timeout=10 > git rev-list --no-walk 17140d33859ac451bf7a41a9a06a7b8146968e0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:22:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:22:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:22:36 ========================================================= 14:22:36 EdgeX Global Pipelines Version Info 14:22:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:22:37 ------------------- 14:22:37 stable info: 14:22:37 ------------------- 14:22:37 Commited By: Cherry Wang cherry@iotechsys.com 14:22:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 14:22:37 Message: update stable to v1.0.269 14:22:37 ------------------- 14:22:37 experimental info: 14:22:37 ------------------- 14:22:37 Commited By: **** collab-it+edgex@linuxfoundation.org 14:22:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 14:22:37 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7843eb [Pipeline] echo 14:22:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:22:38 provisioning config files... 14:22:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3456127745173080924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:39 ---> ****-login.sh 14:22:39 nexus3.edgexfoundry.org:10001 14:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:39 Configure a credential helper to remove this warning. See 14:22:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:39 14:22:39 Login Succeeded 14:22:39 nexus3.edgexfoundry.org:10002 14:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:39 Configure a credential helper to remove this warning. See 14:22:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:39 14:22:39 Login Succeeded 14:22:39 nexus3.edgexfoundry.org:10003 14:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:39 Configure a credential helper to remove this warning. See 14:22:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:39 14:22:39 Login Succeeded 14:22:39 nexus3.edgexfoundry.org:10004 14:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:39 Configure a credential helper to remove this warning. See 14:22:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:39 14:22:39 Login Succeeded 14:22:39 ****.io 14:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:40 Configure a credential helper to remove this warning. See 14:22:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:40 14:22:40 Login Succeeded 14:22:40 ---> ****-login.sh ends [Pipeline] } 14:22:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:22:40 + git rev-list -1 --merges d7843eb9fff04d81f7905769d603012160cefa56~1..d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] echo 14:22:40 -----------> git rev-list -1 --merges d7843eb9fff04d81f7905769d603012160cefa56~1..d7843eb9fff04d81f7905769d603012160cefa56 d7843eb9fff04d81f7905769d603012160cefa56 14:22:40 d7843eb9fff04d81f7905769d603012160cefa56 [false] [Pipeline] sh 14:22:40 + git log --format=format:%s -1 d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] echo 14:22:40 ========================================================= 14:22:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:22:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:22:41 + git log --format=format:%s -1 d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] echo 14:22:41 [semverPrep] GIT_COMMIT: d7843eb9fff04d81f7905769d603012160cefa56, Commit Message: Merge pull request #616 from weichou1229/issue-610 [Pipeline] echo 14:22:41 [semverPrep] This is not a build commit. [Pipeline] sh 14:22:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:22:41 + grep -v github /etc/ssh/ssh_known_hosts 14:22:41 + [ -e /tmp/ssh_known_hosts ] 14:22:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:22:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:22:41 + sudo tee -a /etc/ssh/ssh_known_hosts 14:22:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:22:42 14:22:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:22:42 0.1.4: Pulling from edgex-devops/py-git-semver 14:22:42 b85a868b505f: Pulling fs layer 14:22:42 e2be974225ed: Pulling fs layer 14:22:42 339a4e72a1f5: Pulling fs layer 14:22:42 988bab9f4d93: Pulling fs layer 14:22:42 1469e6f7b9e6: Pulling fs layer 14:22:42 eaf3925da568: Pulling fs layer 14:22:42 bab4dde63d76: Pulling fs layer 14:22:42 bde34c3a00c8: Pulling fs layer 14:22:42 b352a97aabf1: Pulling fs layer 14:22:42 988bab9f4d93: Waiting 14:22:42 4872d77fe225: Pulling fs layer 14:22:42 5851b861e8e6: Pulling fs layer 14:22:42 1469e6f7b9e6: Waiting 14:22:42 eaf3925da568: Waiting 14:22:42 bab4dde63d76: Waiting 14:22:42 bde34c3a00c8: Waiting 14:22:42 b352a97aabf1: Waiting 14:22:42 4872d77fe225: Waiting 14:22:42 5851b861e8e6: Waiting 14:22:42 e2be974225ed: Verifying Checksum 14:22:42 e2be974225ed: Download complete 14:22:42 988bab9f4d93: Verifying Checksum 14:22:42 988bab9f4d93: Download complete 14:22:42 1469e6f7b9e6: Verifying Checksum 14:22:42 1469e6f7b9e6: Download complete 14:22:42 eaf3925da568: Verifying Checksum 14:22:42 eaf3925da568: Download complete 14:22:42 339a4e72a1f5: Verifying Checksum 14:22:42 339a4e72a1f5: Download complete 14:22:42 bde34c3a00c8: Download complete 14:22:42 b352a97aabf1: Verifying Checksum 14:22:42 b352a97aabf1: Download complete 14:22:42 4872d77fe225: Verifying Checksum 14:22:42 4872d77fe225: Download complete 14:22:42 5851b861e8e6: Verifying Checksum 14:22:42 5851b861e8e6: Download complete 14:22:42 b85a868b505f: Verifying Checksum 14:22:42 b85a868b505f: Download complete 14:22:42 bab4dde63d76: Verifying Checksum 14:22:42 bab4dde63d76: Download complete 14:22:43 b85a868b505f: Pull complete 14:22:43 e2be974225ed: Pull complete 14:22:44 339a4e72a1f5: Pull complete 14:22:44 988bab9f4d93: Pull complete 14:22:44 1469e6f7b9e6: Pull complete 14:22:45 eaf3925da568: Pull complete 14:22:46 bab4dde63d76: Pull complete 14:22:46 bde34c3a00c8: Pull complete 14:22:46 b352a97aabf1: Pull complete 14:22:46 4872d77fe225: Pull complete 14:22:46 5851b861e8e6: Pull complete 14:22:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:22:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:22:47 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:22:47 $ 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 14:22:49 $ docker top 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 -eo pid,comm 14:22:49 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). 14:22:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:22:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:22:49 [ssh-agent] Looking for ssh-agent implementation... 14:22:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:22:49 $ docker exec 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 ssh-agent 14:22:49 SSH_AUTH_SOCK=/tmp/ssh-vP47pHTOePVT/agent.32 14:22:49 SSH_AGENT_PID=38 14:22:49 Running ssh-add (command line suppressed) 14:22:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4172280755570274263.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4172280755570274263.key) 14:22:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:22:50 + git tag --points-at HEAD [Pipeline] } 14:22:50 $ docker exec --env ******** --env ******** 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 ssh-agent -k 14:22:50 unset SSH_AUTH_SOCK; 14:22:50 unset SSH_AGENT_PID; 14:22:50 echo Agent pid 38 killed; 14:22:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:22:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:22:50 [ssh-agent] Looking for ssh-agent implementation... 14:22:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:22:50 $ docker exec 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 ssh-agent 14:22:50 SSH_AUTH_SOCK=/tmp/ssh-Ydpoi3fTsXqI/agent.71 14:22:50 SSH_AGENT_PID=77 14:22:50 Running ssh-add (command line suppressed) 14:22:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15313201892620241332.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15313201892620241332.key) 14:22:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:22:51 + git semver init 14:22:51 2025-02-20 14:22:51,281 [run_init] DEBUG init version:0.0.0 force:False 14:22:51 2025-02-20 14:22:51,281 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 14:22:51 2025-02-20 14:22:51,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 14:22:51 2025-02-20 14:22:51,282 [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) 14:22:52 2025-02-20 14:22:52,282 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 14:22:52 2025-02-20 14:22:52,284 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 14:22:52 2025-02-20 14:22:52,284 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:22:52 2025-02-20 14:22:52,284 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:22:52 4.0.0-dev.17 [Pipeline] } 14:22:52 $ docker exec --env ******** --env ******** 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 ssh-agent -k 14:22:52 unset SSH_AUTH_SOCK; 14:22:52 unset SSH_AGENT_PID; 14:22:52 echo Agent pid 77 killed; 14:22:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:22:53 + git semver [Pipeline] } 14:22:53 $ docker stop --time=1 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 14:22:54 $ docker rm -f --volumes 53e4e61ac87ae138174f02a86b6309f9d0ea6df2cdaa208bec61d2a5a4734b31 [Pipeline] // withDockerContainer [Pipeline] sh 14:22:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:22:55 Stashed 1 file(s) [Pipeline] echo 14:22:55 [edgeXSemver]: initialized semver on version 4.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:22:55 provisioning config files... 14:22:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5649070785978906412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:55 ---> ****-login.sh 14:22:55 nexus3.edgexfoundry.org:10001 14:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:55 Configure a credential helper to remove this warning. See 14:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:55 14:22:55 Login Succeeded 14:22:55 nexus3.edgexfoundry.org:10002 14:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:55 Configure a credential helper to remove this warning. See 14:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:55 14:22:55 Login Succeeded 14:22:55 nexus3.edgexfoundry.org:10003 14:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:55 Configure a credential helper to remove this warning. See 14:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:55 14:22:55 Login Succeeded 14:22:55 nexus3.edgexfoundry.org:10004 14:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:55 Configure a credential helper to remove this warning. See 14:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:55 14:22:55 Login Succeeded 14:22:55 ****.io 14:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:56 Configure a credential helper to remove this warning. See 14:22:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:56 14:22:56 Login Succeeded 14:22:56 ---> ****-login.sh ends [Pipeline] } 14:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:22:56 ========================================================= 14:22:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 14:22:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:56 + 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 . 14:22:56 Sending build context to Docker daemon 18.1MB 14:22:56 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 14:22:56 Step 2/10 : FROM ${BASE} AS builder 14:22:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 14:22:56 da9db072f522: Pulling fs layer 14:22:56 6ef4a4ee8ca5: Pulling fs layer 14:22:56 06f05ace1117: Pulling fs layer 14:22:56 5fe327b54edc: Pulling fs layer 14:22:56 4f4fb700ef54: Pulling fs layer 14:22:56 5fe327b54edc: Waiting 14:22:56 92a5565b7b96: Pulling fs layer 14:22:56 4f4fb700ef54: Waiting 14:22:56 ff9bb7016b71: Pulling fs layer 14:22:56 b67dba6c2c7d: Pulling fs layer 14:22:56 92a5565b7b96: Waiting 14:22:56 ff9bb7016b71: Waiting 14:22:56 b67dba6c2c7d: Waiting 14:22:56 a813b0c90790: Pulling fs layer 14:22:56 6ef4a4ee8ca5: Download complete 14:22:56 5fe327b54edc: Verifying Checksum 14:22:56 5fe327b54edc: Download complete 14:22:56 4f4fb700ef54: Verifying Checksum 14:22:56 4f4fb700ef54: Download complete 14:22:56 da9db072f522: Download complete 14:22:56 92a5565b7b96: Verifying Checksum 14:22:56 92a5565b7b96: Download complete 14:22:56 ff9bb7016b71: Verifying Checksum 14:22:56 ff9bb7016b71: Download complete 14:22:56 da9db072f522: Pull complete 14:22:57 a813b0c90790: Verifying Checksum 14:22:57 a813b0c90790: Download complete 14:22:57 6ef4a4ee8ca5: Pull complete 14:22:57 06f05ace1117: Verifying Checksum 14:22:57 06f05ace1117: Download complete 14:22:57 b67dba6c2c7d: Verifying Checksum 14:22:57 b67dba6c2c7d: Download complete 14:23:01 06f05ace1117: Pull complete 14:23:01 5fe327b54edc: Pull complete 14:23:01 4f4fb700ef54: Pull complete 14:23:01 92a5565b7b96: Pull complete 14:23:01 ff9bb7016b71: Pull complete 14:23:03 b67dba6c2c7d: Pull complete 14:23:03 a813b0c90790: Pull complete 14:23:03 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 14:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 14:23:03 ---> 3ba60ce46760 14:23:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 14:23:08 ---> Running in aca69097874a 14:23:09 Removing intermediate container aca69097874a 14:23:09 ---> 5927bec3088b 14:23:09 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:23:09 ---> Running in a2a6e9853bb2 14:23:09 Removing intermediate container a2a6e9853bb2 14:23:09 ---> 481511ac004b 14:23:09 Step 5/10 : RUN apk add --update --no-cache make git openssh 14:23:09 ---> Running in 61f111381f87 14:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:23:10 (1/8) Installing openssh-keygen (9.7_p1-r4) 14:23:10 (2/8) Installing libedit (20240517.3.1-r0) 14:23:10 (3/8) Installing openssh-client-common (9.7_p1-r4) 14:23:10 (4/8) Installing openssh-client-default (9.7_p1-r4) 14:23:10 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 14:23:10 Still waiting to schedule task 14:23:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:23:10 (6/8) Installing openssh-server-common (9.7_p1-r4) 14:23:10 (7/8) Installing openssh-server (9.7_p1-r4) 14:23:10 (8/8) Installing openssh (9.7_p1-r4) 14:23:10 Executing busybox-1.36.1-r29.trigger 14:23:10 OK: 253 MiB in 66 packages 14:23:10 Removing intermediate container 61f111381f87 14:23:10 ---> 0488b7c69df2 14:23:10 Step 6/10 : WORKDIR /device-modbus-go 14:23:11 ---> Running in 415973e87973 14:23:11 Removing intermediate container 415973e87973 14:23:11 ---> 45851c1b2639 14:23:11 Step 7/10 : COPY go.mod vendor* ./ 14:23:11 ---> 1dad10eff1df 14:23:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:23:11 ---> Running in ff25ae4f946f 14:23:58 Removing intermediate container ff25ae4f946f 14:23:58 ---> 19f085e71374 14:23:58 Step 9/10 : COPY . . 14:23:59 ---> c3d6ce5e50cf 14:23:59 Step 10/10 : RUN ${MAKE} 14:23:59 ---> Running in 5cbd0c64d1de 14:23:59 noop 14:23:59 Removing intermediate container 5cbd0c64d1de 14:23:59 ---> 3519c2be760c 14:23:59 Successfully built 3519c2be760c 14:23:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:59 + docker inspect -f . ci-base-image-x86_64 14:23:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:59 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:23:59 $ 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 14:24:00 $ docker top f0cd172395555be5116e6489ed7870f18b4557023744a2250562e97c611d5891 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:01 + go version 14:24:01 go version go1.23.4 linux/amd64 [Pipeline] } 14:24:01 $ docker stop --time=1 f0cd172395555be5116e6489ed7870f18b4557023744a2250562e97c611d5891 14:24:02 $ docker rm -f --volumes f0cd172395555be5116e6489ed7870f18b4557023744a2250562e97c611d5891 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:02 + docker inspect -f . ci-base-image-x86_64 14:24:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:02 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:24:02 $ 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 14:24:03 $ docker top 55c670a9155013c1e9be0eecaa2a0f72071f5d4d5deb6b26f2b194d1cbd6ca69 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 14:24:03 + make test 14:24:03 go test ./... -coverprofile=coverage.out 14:24:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:24:23 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 14:24:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 45.7% of statements 14:24:33 go vet ./... 14:24:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:24:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:24:39 ./bin/test-attribution-txt.sh [Pipeline] echo 14:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:24:39 $ docker stop --time=1 55c670a9155013c1e9be0eecaa2a0f72071f5d4d5deb6b26f2b194d1cbd6ca69 14:24:42 $ docker rm -f --volumes 55c670a9155013c1e9be0eecaa2a0f72071f5d4d5deb6b26f2b194d1cbd6ca69 [Pipeline] // withDockerContainer [Pipeline] sh 14:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:24:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:24:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:24:43 + ls -al . 14:24:43 total 260 14:24:43 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 14:24 . 14:24:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 14:22 .. 14:24:43 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 14:22 .dockerignore 14:24:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 14:24 .git 14:24:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 14:22 .github 14:24:43 -rw-rw-r-- 1 jenkins jenkins 266 Feb 20 14:22 .gitignore 14:24:43 -rw-rw-r-- 1 jenkins jenkins 199 Feb 20 14:22 .golangci.yml 14:24:43 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 14:22 .semver 14:24:43 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 20 14:22 Attribution.txt 14:24:43 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 20 14:22 CHANGELOG.md 14:24:43 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 20 14:22 Dockerfile 14:24:43 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 14:22 GOVERNANCE.md 14:24:43 -rw-rw-r-- 1 jenkins jenkins 658 Feb 20 14:22 Jenkinsfile 14:24:43 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 14:22 LICENSE 14:24:43 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 20 14:22 Makefile 14:24:43 -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 14:22 OWNERS.md 14:24:43 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 20 14:22 README.md 14:24:43 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 14:22 VERSION 14:24:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 14:22 bin 14:24:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 14:22 cmd 14:24:43 -rw-r--r-- 1 jenkins jenkins 26779 Feb 20 14:24 coverage.out 14:24:43 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 20 14:22 go.mod 14:24:43 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 20 14:22 go.sum 14:24:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 14:22 internal 14:24:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 14:22 simulator 14:24:43 -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 14:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:44 + 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=d7843eb9fff04d81f7905769d603012160cefa56 --label arch=amd64 --label version=4.0.0-dev.17 . 14:24:44 Sending build context to Docker daemon 18.13MB 14:24:44 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 14:24:44 Step 2/23 : FROM ${BASE} AS builder 14:24:44 ---> 3519c2be760c 14:24:44 Step 3/23 : ARG ADD_BUILD_TAGS="" 14:24:44 ---> Running in d09209dc350e 14:24:44 Removing intermediate container d09209dc350e 14:24:44 ---> 2cf21d33ebd0 14:24:44 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:24:44 ---> Running in 3f07701fbfd5 14:24:44 Removing intermediate container 3f07701fbfd5 14:24:44 ---> 9e2fbe11c567 14:24:44 Step 5/23 : RUN apk add --update --no-cache make git openssh 14:24:44 ---> Running in 94dc25177845 14:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:24:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:24:45 OK: 253 MiB in 66 packages 14:24:45 Removing intermediate container 94dc25177845 14:24:45 ---> ea49b8716333 14:24:45 Step 6/23 : WORKDIR /device-modbus-go 14:24:45 ---> Running in 59f9fe0adefb 14:24:45 Removing intermediate container 59f9fe0adefb 14:24:45 ---> 3e49f6816c25 14:24:45 Step 7/23 : COPY go.mod vendor* ./ 14:24:45 ---> 5236b4efb875 14:24:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:24:45 ---> Running in 8329cf81910b 14:24:46 Removing intermediate container 8329cf81910b 14:24:46 ---> a2220c468ac1 14:24:46 Step 9/23 : COPY . . 14:24:46 ---> 722d54f1df5e 14:24:46 Step 10/23 : RUN ${MAKE} 14:24:46 ---> Running in c47502321dd8 14:24:47 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.17 -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 14:24:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39342 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 14:24:49 Running in /w/workspace/device-modbus-go/182 [Pipeline] { [Pipeline] checkout 14:24:49 The recommended git tool is: git 14:24:54 using credential edgex-jenkins-ssh 14:24:54 Cloning the remote Git repository 14:24:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 14:24:54 > git init /w/workspace/device-modbus-go/182 # timeout=10 14:24:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 14:24:54 > git --version # timeout=10 14:24:54 > git --version # 'git version 2.25.1' 14:24:54 using GIT_SSH to set credentials SSH Credentials for GitHub 14:24:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:24:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 14:24:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:24:57 Avoid second fetch 14:24:57 Checking out Revision d7843eb9fff04d81f7905769d603012160cefa56 (main) 14:24:58 Commit message: "Merge pull request #616 from weichou1229/issue-610" 14:24:57 > git config core.sparsecheckout # timeout=10 14:24:57 > git checkout -f d7843eb9fff04d81f7905769d603012160cefa56 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:25:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:25:03 % Total % Received % Xferd Average Speed Time Time Time Current 14:25:03 Dload Upload Total Spent Left Speed 14:25:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 63504 0 --:--:-- --:--:-- --:--:-- 63504 [Pipeline] sh 14:25:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:25:03 + sudo tee /etc/docker/daemon.new 14:25:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:25:03 { 14:25:03 "registry-mirrors": [ 14:25:03 "https://nexus3.edgexfoundry.org:10001" 14:25:03 ], 14:25:03 "bip": "10.250.0.254/24", 14:25:03 "hosts": [ 14:25:03 "tcp://0.0.0.0:5555", 14:25:03 "unix:///var/run/docker.sock" 14:25:03 ], 14:25:03 "mtu": 1458, 14:25:03 "selinux-enabled": true, 14:25:03 "seccomp-profile": "/etc/docker/seccomp.json" 14:25:03 } [Pipeline] sh 14:25:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:25:04 + sudo service docker restart 14:25:19 Removing intermediate container c47502321dd8 14:25:19 ---> 4ad110a1db24 14:25:19 Step 11/23 : FROM alpine:3.20 14:25:19 3.20: Pulling from library/alpine 14:25:19 0a9a5dfd008f: Pulling fs layer 14:25:19 0a9a5dfd008f: Download complete 14:25:19 0a9a5dfd008f: Pull complete 14:25:19 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 14:25:19 Status: Downloaded newer image for alpine:3.20 14:25:19 ---> ff221270b9fb 14:25:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 14:25:19 ---> Running in 3250d174eeca 14:25:19 Removing intermediate container 3250d174eeca 14:25:19 ---> 740fe58ab27d 14:25:19 Step 13/23 : RUN apk add --update --no-cache dumb-init 14:25:19 ---> Running in 9c2678289b4a 14:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:25:19 (1/1) Installing dumb-init (1.2.5-r3) 14:25:19 Executing busybox-1.36.1-r29.trigger 14:25:19 OK: 8 MiB in 15 packages 14:25:19 Removing intermediate container 9c2678289b4a 14:25:19 ---> d95e198bd6f6 14:25:19 Step 14/23 : RUN apk --no-cache upgrade 14:25:19 ---> Running in 67daaa90bab3 14:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:25:19 OK: 8 MiB in 15 packages 14:25:19 Removing intermediate container 67daaa90bab3 14:25:19 ---> ced24537daff 14:25:19 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 14:25:20 ---> 8a7919c60794 14:25:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 14:25:20 ---> de90337f74a4 14:25:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:25:20 ---> 47d97ec56b80 14:25:20 Step 18/23 : EXPOSE 59901 14:25:20 ---> Running in cb993f65116e 14:25:20 Removing intermediate container cb993f65116e 14:25:20 ---> 78b7c93c2929 14:25:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 14:25:20 ---> Running in 41dc8ab46b81 14:25:20 Removing intermediate container 41dc8ab46b81 14:25:20 ---> 33ef90d733c3 14:25:20 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 14:25:20 ---> Running in 7bb85f63c2f5 14:25:20 Removing intermediate container 7bb85f63c2f5 14:25:20 ---> 10e8ee86cff6 14:25:20 Step 21/23 : LABEL arch=amd64 14:25:20 ---> Running in c7fbd84dc575 14:25:20 Removing intermediate container c7fbd84dc575 14:25:20 ---> 38e0fd379714 14:25:20 Step 22/23 : LABEL git_sha=d7843eb9fff04d81f7905769d603012160cefa56 14:25:20 ---> Running in 35df4bde1b19 14:25:20 Removing intermediate container 35df4bde1b19 14:25:20 ---> 8ef995cecc5a 14:25:20 Step 23/23 : LABEL version=4.0.0-dev.17 14:25:20 ---> Running in e0827f195be6 14:25:20 Removing intermediate container e0827f195be6 14:25:20 ---> 153ae6c8e450 14:25:20 [Warning] One or more build-args [ARCH] were not consumed 14:25:20 Successfully built 153ae6c8e450 14:25:20 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:25:21 provisioning config files... 14:25:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10411645605841586562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:21 ---> ****-login.sh 14:25:21 nexus3.edgexfoundry.org:10001 14:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:21 Configure a credential helper to remove this warning. See 14:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:21 14:25:21 Login Succeeded 14:25:21 nexus3.edgexfoundry.org:10002 14:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:21 Configure a credential helper to remove this warning. See 14:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:21 14:25:21 Login Succeeded 14:25:21 nexus3.edgexfoundry.org:10003 14:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:21 Configure a credential helper to remove this warning. See 14:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:21 14:25:21 Login Succeeded 14:25:21 nexus3.edgexfoundry.org:10004 14:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:21 Configure a credential helper to remove this warning. See 14:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:21 14:25:21 Login Succeeded 14:25:21 ****.io 14:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:21 Configure a credential helper to remove this warning. See 14:25:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:21 14:25:21 Login Succeeded 14:25:21 ---> ****-login.sh ends [Pipeline] } 14:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:25:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:25:22 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 14:25:22 d7843eb9fff04d81f7905769d603012160cefa56 14:25:22 latest 14:25:22 4.0.0-dev.17 14:25:22 d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 14:25:22 main 14:25:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:25:22 provisioning config files... 14:25:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/182@tmp/config6409003868295526204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7843eb9fff04d81f7905769d603012160cefa56 14:25:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:25:22 9569e126c085: Preparing 14:25:22 81693aa801f7: Preparing 14:25:22 b2bd6aef7949: Preparing 14:25:22 65b724dccc03: Preparing 14:25:22 044fcda5850c: Preparing 14:25:22 994456c4fd7b: Preparing 14:25:22 994456c4fd7b: Waiting 14:25:22 9569e126c085: Pushed 14:25:22 65b724dccc03: Pushed 14:25:22 81693aa801f7: Pushed 14:25:22 044fcda5850c: Pushed 14:25:22 994456c4fd7b: Layer already exists 14:25:23 ---> ****-login.sh 14:25:23 nexus3.edgexfoundry.org:10001 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:23 Configure a credential helper to remove this warning. See 14:25:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:23 14:25:23 Login Succeeded 14:25:23 nexus3.edgexfoundry.org:10002 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:23 Configure a credential helper to remove this warning. See 14:25:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:23 14:25:23 Login Succeeded 14:25:24 nexus3.edgexfoundry.org:10003 14:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:24 Configure a credential helper to remove this warning. See 14:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:24 14:25:24 Login Succeeded 14:25:24 nexus3.edgexfoundry.org:10004 14:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:24 Configure a credential helper to remove this warning. See 14:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:24 14:25:24 Login Succeeded 14:25:24 ****.io 14:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:24 Configure a credential helper to remove this warning. See 14:25:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:24 14:25:24 Login Succeeded 14:25:25 ---> ****-login.sh ends [Pipeline] } 14:25:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:25:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 14:25:25 b2bd6aef7949: Pushed [Pipeline] echo 14:25:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:25:25 ========================================================= 14:25:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 14:25:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:25 d7843eb9fff04d81f7905769d603012160cefa56: digest: sha256:885189d21ca82da4e06892a45a002dc0b5edc2cddd9c85f0a5367f9039f9e332 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:25 + 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 . 14:25:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:26 Sending build context to Docker daemon 9.199MB 14:25:26 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 14:25:26 Step 2/10 : FROM ${BASE} AS builder 14:25:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 14:25:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:25:26 9569e126c085: Preparing 14:25:26 81693aa801f7: Preparing 14:25:26 b2bd6aef7949: Preparing 14:25:26 65b724dccc03: Preparing 14:25:26 044fcda5850c: Preparing 14:25:26 994456c4fd7b: Preparing 14:25:26 994456c4fd7b: Waiting 14:25:26 b2bd6aef7949: Layer already exists 14:25:26 65b724dccc03: Layer already exists 14:25:26 044fcda5850c: Layer already exists 14:25:26 9569e126c085: Layer already exists 14:25:26 81693aa801f7: Layer already exists 14:25:26 994456c4fd7b: Layer already exists 14:25:26 latest: digest: sha256:885189d21ca82da4e06892a45a002dc0b5edc2cddd9c85f0a5367f9039f9e332 size: 1573 [Pipeline] } [Pipeline] // withEnv 14:25:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:25:26 9986a736f7d3: Pulling fs layer 14:25:26 1f018df60701: Pulling fs layer 14:25:26 39f8f326b044: Pulling fs layer 14:25:26 e6a1e7a6a96a: Pulling fs layer 14:25:26 4f4fb700ef54: Pulling fs layer 14:25:26 d45d956e0dbf: Pulling fs layer 14:25:26 d7702b0d1db1: Pulling fs layer 14:25:26 5c7f0f088c93: Pulling fs layer 14:25:26 4fdc064ae6cf: Pulling fs layer 14:25:26 d45d956e0dbf: Waiting 14:25:26 d7702b0d1db1: Waiting 14:25:26 5c7f0f088c93: Waiting 14:25:26 e6a1e7a6a96a: Waiting 14:25:26 4fdc064ae6cf: Waiting 14:25:26 4f4fb700ef54: Waiting 14:25:26 1f018df60701: Verifying Checksum 14:25:26 1f018df60701: Download complete 14:25:26 e6a1e7a6a96a: Verifying Checksum 14:25:26 e6a1e7a6a96a: Download complete 14:25:26 4f4fb700ef54: Verifying Checksum 14:25:26 4f4fb700ef54: Download complete 14:25:26 d45d956e0dbf: Verifying Checksum 14:25:26 d45d956e0dbf: Download complete 14:25:26 9986a736f7d3: Verifying Checksum 14:25:26 9986a736f7d3: Download complete 14:25:26 d7702b0d1db1: Verifying Checksum 14:25:26 d7702b0d1db1: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:27 4fdc064ae6cf: Verifying Checksum 14:25:27 4fdc064ae6cf: Download complete 14:25:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.17 14:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:25:27 9569e126c085: Preparing 14:25:27 81693aa801f7: Preparing 14:25:27 b2bd6aef7949: Preparing 14:25:27 65b724dccc03: Preparing 14:25:27 044fcda5850c: Preparing 14:25:27 994456c4fd7b: Preparing 14:25:27 994456c4fd7b: Waiting 14:25:27 b2bd6aef7949: Layer already exists 14:25:27 044fcda5850c: Layer already exists 14:25:27 65b724dccc03: Layer already exists 14:25:27 9569e126c085: Layer already exists 14:25:27 81693aa801f7: Layer already exists 14:25:27 994456c4fd7b: Layer already exists 14:25:27 4.0.0-dev.17: digest: sha256:885189d21ca82da4e06892a45a002dc0b5edc2cddd9c85f0a5367f9039f9e332 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:27 9986a736f7d3: Pull complete 14:25:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 14:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:25:27 9569e126c085: Preparing 14:25:27 81693aa801f7: Preparing 14:25:27 b2bd6aef7949: Preparing 14:25:27 65b724dccc03: Preparing 14:25:27 044fcda5850c: Preparing 14:25:27 994456c4fd7b: Preparing 14:25:27 994456c4fd7b: Waiting 14:25:27 65b724dccc03: Layer already exists 14:25:27 b2bd6aef7949: Layer already exists 14:25:27 81693aa801f7: Layer already exists 14:25:27 9569e126c085: Layer already exists 14:25:27 044fcda5850c: Layer already exists 14:25:27 994456c4fd7b: Layer already exists 14:25:27 d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17: digest: sha256:885189d21ca82da4e06892a45a002dc0b5edc2cddd9c85f0a5367f9039f9e332 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:27 1f018df60701: Pull complete 14:25:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 14:25:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 14:25:28 9569e126c085: Preparing 14:25:28 81693aa801f7: Preparing 14:25:28 b2bd6aef7949: Preparing 14:25:28 65b724dccc03: Preparing 14:25:28 044fcda5850c: Preparing 14:25:28 994456c4fd7b: Preparing 14:25:28 994456c4fd7b: Waiting 14:25:28 044fcda5850c: Layer already exists 14:25:28 81693aa801f7: Layer already exists 14:25:28 65b724dccc03: Layer already exists 14:25:28 b2bd6aef7949: Layer already exists 14:25:28 9569e126c085: Layer already exists 14:25:28 994456c4fd7b: Layer already exists 14:25:28 main: digest: sha256:885189d21ca82da4e06892a45a002dc0b5edc2cddd9c85f0a5367f9039f9e332 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:25:28 ===================================================== 14:25:28 39f8f326b044: Verifying Checksum 14:25:28 39f8f326b044: Download complete [Pipeline] echo 14:25:28 taggedImages: 14:25:28 - nexus3.edgexfoundry.org:10004/device-modbus:d7843eb9fff04d81f7905769d603012160cefa56 14:25:28 - nexus3.edgexfoundry.org:10004/device-modbus:latest 14:25:28 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.17 14:25:28 - nexus3.edgexfoundry.org:10004/device-modbus:d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 14:25:28 - 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 14:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:25:28 14:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:25:29 latest: Pulling from edgex-lftools-log-publisher 14:25:29 5eb5b503b376: Pulling fs layer 14:25:29 5c69ac0246d0: Pulling fs layer 14:25:29 ec43610c2a17: Pulling fs layer 14:25:29 3a2ae6a8a46f: Pulling fs layer 14:25:29 33b1e0a273af: Pulling fs layer 14:25:29 5d3b04190fa2: Pulling fs layer 14:25:29 2f39f015ded8: Pulling fs layer 14:25:29 3a2ae6a8a46f: Waiting 14:25:29 33b1e0a273af: Waiting 14:25:29 5d3b04190fa2: Waiting 14:25:29 2f39f015ded8: Waiting 14:25:29 5c69ac0246d0: Download complete 14:25:29 3a2ae6a8a46f: Verifying Checksum 14:25:29 3a2ae6a8a46f: Download complete 14:25:29 5c7f0f088c93: Verifying Checksum 14:25:29 5c7f0f088c93: Download complete 14:25:29 33b1e0a273af: Verifying Checksum 14:25:29 33b1e0a273af: Download complete 14:25:29 5d3b04190fa2: Verifying Checksum 14:25:29 5d3b04190fa2: Download complete 14:25:29 ec43610c2a17: Verifying Checksum 14:25:29 ec43610c2a17: Download complete 14:25:29 5eb5b503b376: Verifying Checksum 14:25:29 5eb5b503b376: Download complete 14:25:29 2f39f015ded8: Download complete 14:25:30 5eb5b503b376: Pull complete 14:25:30 5c69ac0246d0: Pull complete 14:25:31 ec43610c2a17: Pull complete 14:25:31 3a2ae6a8a46f: Pull complete 14:25:31 33b1e0a273af: Pull complete 14:25:31 5d3b04190fa2: Pull complete 14:25:35 2f39f015ded8: Pull complete 14:25:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:25:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:25:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:36 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:25:36 $ 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 14:25:41 $ docker top d492a96afb3e47d4c07fbb7fd8267cd877b54c1ef276f089daafd2d39684ad8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:41 ---> job-cost.sh 14:25:41 lf-activate-venv: SKIPPING 14:25:41 INFO: No Stack... 14:25:41 INFO: Retrieving Pricing Info for: v3-standard-8 14:25:42 INFO: Archiving Costs [Pipeline] sh 14:25:42 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 14:25:42 + cut -d, -f6 [Pipeline] lock 14:25:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] 14:25:42 Resource [jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] did not exist. Created. 14:25:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:25:43 + echo total: 0.2199999988079071 [Pipeline] stash 14:25:43 Stashed 1 file(s) [Pipeline] } 14:25:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 14:25:43 $ docker stop --time=1 d492a96afb3e47d4c07fbb7fd8267cd877b54c1ef276f089daafd2d39684ad8f 14:25:44 $ docker rm -f --volumes d492a96afb3e47d4c07fbb7fd8267cd877b54c1ef276f089daafd2d39684ad8f 14:25:44 39f8f326b044: Pull complete 14:25:44 e6a1e7a6a96a: Pull complete 14:25:44 4f4fb700ef54: Pull complete 14:25:44 d45d956e0dbf: Pull complete 14:25:44 d7702b0d1db1: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:25:51 5c7f0f088c93: Pull complete 14:25:52 4fdc064ae6cf: Pull complete 14:25:52 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 14:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 14:25:52 ---> 63f30b955cb9 14:25:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 14:25:54 ---> Running in d9ae59710e2a 14:25:54 Removing intermediate container d9ae59710e2a 14:25:54 ---> 7998e04c0f40 14:25:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:25:54 ---> Running in df2d54ba3de7 14:25:55 Removing intermediate container df2d54ba3de7 14:25:55 ---> 6eacc1042556 14:25:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 14:25:55 ---> Running in 822923e617b3 14:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:25:58 (1/8) Installing openssh-keygen (9.7_p1-r4) 14:25:58 (2/8) Installing libedit (20240517.3.1-r0) 14:25:58 (3/8) Installing openssh-client-common (9.7_p1-r4) 14:25:58 (4/8) Installing openssh-client-default (9.7_p1-r4) 14:25:58 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 14:25:58 (6/8) Installing openssh-server-common (9.7_p1-r4) 14:25:58 (7/8) Installing openssh-server (9.7_p1-r4) 14:25:58 (8/8) Installing openssh (9.7_p1-r4) 14:25:58 Executing busybox-1.36.1-r29.trigger 14:25:58 OK: 245 MiB in 66 packages 14:25:59 Removing intermediate container 822923e617b3 14:25:59 ---> 6690afa21528 14:25:59 Step 6/10 : WORKDIR /device-modbus-go 14:25:59 ---> Running in cf08fdb85bcd 14:25:59 Removing intermediate container cf08fdb85bcd 14:25:59 ---> 033679e70125 14:25:59 Step 7/10 : COPY go.mod vendor* ./ 14:26:00 ---> d5f4dad01681 14:26:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:26:00 ---> Running in 16870f2db369 14:27:52 Removing intermediate container 16870f2db369 14:27:52 ---> 821677c6d717 14:27:52 Step 9/10 : COPY . . 14:27:52 ---> f969160f98db 14:27:52 Step 10/10 : RUN ${MAKE} 14:27:52 ---> Running in e548ebdfd255 14:27:52 noop 14:27:52 Removing intermediate container e548ebdfd255 14:27:52 ---> 817c21f45b4e 14:27:52 Successfully built 817c21f45b4e 14:27:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:52 + docker inspect -f . ci-base-image-arm64 14:27:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:52 prd-ubuntu20.04-docker-arm64-4c-16g-39342 does not seem to be running inside a container 14:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/182 -v /w/workspace/device-modbus-go/182:/w/workspace/device-modbus-go/182:rw,z -v /w/workspace/device-modbus-go/182@tmp:/w/workspace/device-modbus-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:27:54 $ docker top 6d8ed341bd64a3bb18c141397e627565ab83cc30051c51e79ae83879fb006633 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:54 + go version 14:27:54 go version go1.23.4 linux/arm64 [Pipeline] } 14:27:54 $ docker stop --time=1 6d8ed341bd64a3bb18c141397e627565ab83cc30051c51e79ae83879fb006633 14:27:56 $ docker rm -f --volumes 6d8ed341bd64a3bb18c141397e627565ab83cc30051c51e79ae83879fb006633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:56 + docker inspect -f . ci-base-image-arm64 14:27:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:57 prd-ubuntu20.04-docker-arm64-4c-16g-39342 does not seem to be running inside a container 14:27:57 $ 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/182 -v /w/workspace/device-modbus-go/182:/w/workspace/device-modbus-go/182:rw,z -v /w/workspace/device-modbus-go/182@tmp:/w/workspace/device-modbus-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:27:58 $ docker top 4feb59ee3119ea311e40986f9ce24271edc7ff6385e27774eb9d4df5477855b8 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/182 [Pipeline] fileExists [Pipeline] sh 14:27:59 + make test 14:27:59 go test ./... -coverprofile=coverage.out 14:28:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 14:31:11 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 14:31:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 45.7% of statements 14:31:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:31:11 go vet ./... 14:31:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:31:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:31:58 ./bin/test-attribution-txt.sh [Pipeline] echo 14:31:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:31:58 $ docker stop --time=1 4feb59ee3119ea311e40986f9ce24271edc7ff6385e27774eb9d4df5477855b8 14:32:00 $ docker rm -f --volumes 4feb59ee3119ea311e40986f9ce24271edc7ff6385e27774eb9d4df5477855b8 [Pipeline] // withDockerContainer [Pipeline] sh 14:32:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:32:02 Warning: overwriting stash ‘coverage-report’ 14:32:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:32:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:32:03 + ls -al . 14:32:03 total 256 14:32:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 14:28 . 14:32:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 14:24 .. 14:32:03 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 14:24 .dockerignore 14:32:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 14:25 .git 14:32:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 14:24 .github 14:32:03 -rw-rw-r-- 1 jenkins jenkins 266 Feb 20 14:24 .gitignore 14:32:03 -rw-rw-r-- 1 jenkins jenkins 199 Feb 20 14:24 .golangci.yml 14:32:03 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 20 14:24 Attribution.txt 14:32:03 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 20 14:24 CHANGELOG.md 14:32:03 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 20 14:24 Dockerfile 14:32:03 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 14:24 GOVERNANCE.md 14:32:03 -rw-rw-r-- 1 jenkins jenkins 658 Feb 20 14:24 Jenkinsfile 14:32:03 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 14:24 LICENSE 14:32:03 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 20 14:24 Makefile 14:32:03 -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 14:24 OWNERS.md 14:32:03 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 20 14:24 README.md 14:32:03 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 14:22 VERSION 14:32:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 14:24 bin 14:32:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 14:24 cmd 14:32:03 -rw-r--r-- 1 jenkins jenkins 26779 Feb 20 14:31 coverage.out 14:32:03 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 20 14:24 go.mod 14:32:03 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 20 14:24 go.sum 14:32:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 14:24 internal 14:32:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 14:24 simulator 14:32:03 -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 14:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:03 + 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=d7843eb9fff04d81f7905769d603012160cefa56 --label arch=arm64 --label version=4.0.0-dev.17 . 14:32:03 Sending build context to Docker daemon 9.226MB 14:32:03 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 14:32:03 Step 2/23 : FROM ${BASE} AS builder 14:32:03 ---> 817c21f45b4e 14:32:03 Step 3/23 : ARG ADD_BUILD_TAGS="" 14:32:04 ---> Running in cad2f18ae4e4 14:32:04 Removing intermediate container cad2f18ae4e4 14:32:04 ---> 282a3860b600 14:32:04 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:32:04 ---> Running in 9318e118dde6 14:32:04 Removing intermediate container 9318e118dde6 14:32:04 ---> d6378a17feef 14:32:04 Step 5/23 : RUN apk add --update --no-cache make git openssh 14:32:04 ---> Running in 54abccbdfc10 14:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:32:07 OK: 245 MiB in 66 packages 14:32:08 Removing intermediate container 54abccbdfc10 14:32:08 ---> 3cfd7247d316 14:32:08 Step 6/23 : WORKDIR /device-modbus-go 14:32:08 ---> Running in 98f67cb7be2c 14:32:08 Removing intermediate container 98f67cb7be2c 14:32:08 ---> 301ae4d89643 14:32:08 Step 7/23 : COPY go.mod vendor* ./ 14:32:09 ---> 61c9c83c219c 14:32:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:32:09 ---> Running in c61d239911a6 14:32:11 Removing intermediate container c61d239911a6 14:32:11 ---> db9eb79eb3e5 14:32:11 Step 9/23 : COPY . . 14:32:12 ---> 2f403ff797e1 14:32:12 Step 10/23 : RUN ${MAKE} 14:32:12 ---> Running in f654b69fc7bc 14:32:13 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.17 -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 14:35:20 Removing intermediate container f654b69fc7bc 14:35:20 ---> dc17ee1afbd9 14:35:20 Step 11/23 : FROM alpine:3.20 14:35:20 3.20: Pulling from library/alpine 14:35:20 94e9d8af2201: Pulling fs layer 14:35:20 94e9d8af2201: Verifying Checksum 14:35:20 94e9d8af2201: Download complete 14:35:20 94e9d8af2201: Pull complete 14:35:20 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 14:35:20 Status: Downloaded newer image for alpine:3.20 14:35:20 ---> 7aab056cecc6 14:35:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 14:35:20 ---> Running in 0d2a5fb06634 14:35:20 Removing intermediate container 0d2a5fb06634 14:35:20 ---> ef0c4f363f39 14:35:20 Step 13/23 : RUN apk add --update --no-cache dumb-init 14:35:20 ---> Running in f9d33f5bfc59 14:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:35:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:35:23 (1/1) Installing dumb-init (1.2.5-r3) 14:35:23 Executing busybox-1.36.1-r29.trigger 14:35:23 OK: 9 MiB in 15 packages 14:35:24 Removing intermediate container f9d33f5bfc59 14:35:24 ---> 040a13362fc8 14:35:24 Step 14/23 : RUN apk --no-cache upgrade 14:35:24 ---> Running in d7c50653f3ed 14:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:35:26 OK: 9 MiB in 15 packages 14:35:27 Removing intermediate container d7c50653f3ed 14:35:27 ---> 5fed4a928cb4 14:35:27 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 14:35:29 ---> 4f4a3e2c68c7 14:35:29 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 14:35:30 ---> ca4a54dfccd2 14:35:30 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 14:35:30 ---> 8f265f399100 14:35:30 Step 18/23 : EXPOSE 59901 14:35:30 ---> Running in d57c900edded 14:35:30 Removing intermediate container d57c900edded 14:35:30 ---> f0be6fad3475 14:35:30 Step 19/23 : ENTRYPOINT ["/device-modbus"] 14:35:30 ---> Running in 56fd436c66ae 14:35:31 Removing intermediate container 56fd436c66ae 14:35:31 ---> e90962e67f81 14:35:31 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 14:35:31 ---> Running in 1a038b9752df 14:35:31 Removing intermediate container 1a038b9752df 14:35:31 ---> 8d35db846901 14:35:31 Step 21/23 : LABEL arch=arm64 14:35:31 ---> Running in f2ae4e9e47e6 14:35:31 Removing intermediate container f2ae4e9e47e6 14:35:31 ---> a60fbbac6a5c 14:35:31 Step 22/23 : LABEL git_sha=d7843eb9fff04d81f7905769d603012160cefa56 14:35:31 ---> Running in cbfa14ac3299 14:35:32 Removing intermediate container cbfa14ac3299 14:35:32 ---> 56a7d6fbe4fd 14:35:32 Step 23/23 : LABEL version=4.0.0-dev.17 14:35:32 ---> Running in e0b1e25f5bff 14:35:32 Removing intermediate container e0b1e25f5bff 14:35:32 ---> 63132ef2b574 14:35:32 [Warning] One or more build-args [ARCH] were not consumed 14:35:32 Successfully built 63132ef2b574 14:35:32 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 14:35:32 provisioning config files... 14:35:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/182@tmp/config6231590384118976537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:32 ---> ****-login.sh 14:35:32 nexus3.edgexfoundry.org:10001 14:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:35:33 Configure a credential helper to remove this warning. See 14:35:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:35:33 14:35:33 Login Succeeded 14:35:33 nexus3.edgexfoundry.org:10002 14:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:35:33 Configure a credential helper to remove this warning. See 14:35:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:35:33 14:35:33 Login Succeeded 14:35:33 nexus3.edgexfoundry.org:10003 14:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:35:34 Configure a credential helper to remove this warning. See 14:35:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:35:34 14:35:34 Login Succeeded 14:35:34 nexus3.edgexfoundry.org:10004 14:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:35:34 Configure a credential helper to remove this warning. See 14:35:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:35:34 14:35:34 Login Succeeded 14:35:34 ****.io 14:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:35:34 Configure a credential helper to remove this warning. See 14:35:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:35:34 14:35:34 Login Succeeded 14:35:34 ---> ****-login.sh ends [Pipeline] } 14:35:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:35:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:35:34 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 14:35:34 d7843eb9fff04d81f7905769d603012160cefa56 14:35:34 latest 14:35:34 4.0.0-dev.17 14:35:34 d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 14:35:34 main 14:35:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7843eb9fff04d81f7905769d603012160cefa56 14:35:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:35:35 f1c4a761c4b0: Preparing 14:35:35 0829ed5499f7: Preparing 14:35:35 e578bc170332: Preparing 14:35:35 d8359a02a772: Preparing 14:35:35 65eaef71fa4b: Preparing 14:35:35 dd9c8f8612c8: Preparing 14:35:35 dd9c8f8612c8: Waiting 14:35:35 0829ed5499f7: Pushed 14:35:35 f1c4a761c4b0: Pushed 14:35:35 d8359a02a772: Pushed 14:35:35 65eaef71fa4b: Pushed 14:35:35 dd9c8f8612c8: Layer already exists 14:35:44 e578bc170332: Pushed 14:35:44 d7843eb9fff04d81f7905769d603012160cefa56: digest: sha256:3f245a4f98b8c34da4ff8b8912c4aea80a437dbe4d471b99832bd7265aac9b0f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:44 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 14:35:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:35:44 f1c4a761c4b0: Preparing 14:35:44 0829ed5499f7: Preparing 14:35:44 e578bc170332: Preparing 14:35:44 d8359a02a772: Preparing 14:35:44 65eaef71fa4b: Preparing 14:35:44 dd9c8f8612c8: Preparing 14:35:44 dd9c8f8612c8: Waiting 14:35:44 f1c4a761c4b0: Layer already exists 14:35:44 d8359a02a772: Layer already exists 14:35:44 0829ed5499f7: Layer already exists 14:35:44 e578bc170332: Layer already exists 14:35:44 65eaef71fa4b: Layer already exists 14:35:44 dd9c8f8612c8: Layer already exists 14:35:45 latest: digest: sha256:3f245a4f98b8c34da4ff8b8912c4aea80a437dbe4d471b99832bd7265aac9b0f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.17 14:35:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:35:45 f1c4a761c4b0: Preparing 14:35:45 0829ed5499f7: Preparing 14:35:45 e578bc170332: Preparing 14:35:45 d8359a02a772: Preparing 14:35:45 65eaef71fa4b: Preparing 14:35:45 dd9c8f8612c8: Preparing 14:35:45 dd9c8f8612c8: Waiting 14:35:45 f1c4a761c4b0: Layer already exists 14:35:45 0829ed5499f7: Layer already exists 14:35:45 65eaef71fa4b: Layer already exists 14:35:45 d8359a02a772: Layer already exists 14:35:45 e578bc170332: Layer already exists 14:35:45 dd9c8f8612c8: Layer already exists 14:35:45 4.0.0-dev.17: digest: sha256:3f245a4f98b8c34da4ff8b8912c4aea80a437dbe4d471b99832bd7265aac9b0f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 14:35:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:35:46 f1c4a761c4b0: Preparing 14:35:46 0829ed5499f7: Preparing 14:35:46 e578bc170332: Preparing 14:35:46 d8359a02a772: Preparing 14:35:46 65eaef71fa4b: Preparing 14:35:46 dd9c8f8612c8: Preparing 14:35:46 dd9c8f8612c8: Waiting 14:35:46 d8359a02a772: Layer already exists 14:35:46 0829ed5499f7: Layer already exists 14:35:46 e578bc170332: Layer already exists 14:35:46 65eaef71fa4b: Layer already exists 14:35:46 f1c4a761c4b0: Layer already exists 14:35:46 dd9c8f8612c8: Layer already exists 14:35:46 d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17: digest: sha256:3f245a4f98b8c34da4ff8b8912c4aea80a437dbe4d471b99832bd7265aac9b0f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 14:35:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 14:35:47 f1c4a761c4b0: Preparing 14:35:47 0829ed5499f7: Preparing 14:35:47 e578bc170332: Preparing 14:35:47 d8359a02a772: Preparing 14:35:47 65eaef71fa4b: Preparing 14:35:47 dd9c8f8612c8: Preparing 14:35:47 dd9c8f8612c8: Waiting 14:35:47 f1c4a761c4b0: Layer already exists 14:35:47 e578bc170332: Layer already exists 14:35:47 0829ed5499f7: Layer already exists 14:35:47 65eaef71fa4b: Layer already exists 14:35:47 d8359a02a772: Layer already exists 14:35:47 dd9c8f8612c8: Layer already exists 14:35:47 main: digest: sha256:3f245a4f98b8c34da4ff8b8912c4aea80a437dbe4d471b99832bd7265aac9b0f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:35:48 ===================================================== [Pipeline] echo 14:35:48 taggedImages: 14:35:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7843eb9fff04d81f7905769d603012160cefa56 14:35:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 14:35:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.17 14:35:48 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d7843eb9fff04d81f7905769d603012160cefa56-4.0.0-dev.17 14:35:48 - 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 14:35:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:35:48 14:35:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:35:48 arm64: Pulling from edgex-lftools-log-publisher 14:35:48 8998bd30e6a1: Pulling fs layer 14:35:48 04944245beec: Pulling fs layer 14:35:48 699f458cf7ca: Pulling fs layer 14:35:48 765212b225bb: Pulling fs layer 14:35:48 f23df028b6ca: Pulling fs layer 14:35:48 d65c8cfc05b1: Pulling fs layer 14:35:48 2437ff75d9bd: Pulling fs layer 14:35:48 f23df028b6ca: Waiting 14:35:48 765212b225bb: Waiting 14:35:48 d65c8cfc05b1: Waiting 14:35:48 2437ff75d9bd: Waiting 14:35:49 04944245beec: Verifying Checksum 14:35:49 04944245beec: Download complete 14:35:49 765212b225bb: Verifying Checksum 14:35:49 765212b225bb: Download complete 14:35:49 f23df028b6ca: Download complete 14:35:49 d65c8cfc05b1: Verifying Checksum 14:35:49 d65c8cfc05b1: Download complete 14:35:49 699f458cf7ca: Verifying Checksum 14:35:49 699f458cf7ca: Download complete 14:35:49 8998bd30e6a1: Download complete 14:35:52 2437ff75d9bd: Verifying Checksum 14:35:52 2437ff75d9bd: Download complete 14:35:54 8998bd30e6a1: Pull complete 14:35:54 04944245beec: Pull complete 14:35:56 699f458cf7ca: Pull complete 14:35:56 765212b225bb: Pull complete 14:35:56 f23df028b6ca: Pull complete 14:35:57 d65c8cfc05b1: Pull complete 14:36:15 2437ff75d9bd: Pull complete 14:36:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:36:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:15 prd-ubuntu20.04-docker-arm64-4c-16g-39342 does not seem to be running inside a container 14:36:15 $ 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/182 -v /w/workspace/device-modbus-go/182:/w/workspace/device-modbus-go/182:rw,z -v /w/workspace/device-modbus-go/182@tmp:/w/workspace/device-modbus-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:36:18 $ docker top c4e70bddb5648454b013bcf73fcd7d51c655d3eb25eb095f0de42920ff6794be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:19 ---> job-cost.sh 14:36:19 lf-activate-venv: SKIPPING 14:36:19 INFO: No Stack... 14:36:19 INFO: Retrieving Pricing Info for: v3-standard-4 14:36:20 INFO: Archiving Costs [Pipeline] sh 14:36:20 + cat /w/workspace/device-modbus-go/182/archives/cost.csv 14:36:20 + cut -d, -f6 [Pipeline] lock 14:36:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] 14:36:20 Resource [jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] did not exist. Created. 14:36:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:36:21 /w/workspace/device-modbus-go/182@tmp/durable-adc3a1ac/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:36:21 + echo total: 0.10999999940395355 [Pipeline] stash 14:36:21 Warning: overwriting stash ‘stack-cost’ 14:36:22 Stashed 1 file(s) [Pipeline] } 14:36:22 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 14:36:22 $ docker stop --time=1 c4e70bddb5648454b013bcf73fcd7d51c655d3eb25eb095f0de42920ff6794be 14:36:23 $ docker rm -f --volumes c4e70bddb5648454b013bcf73fcd7d51c655d3eb25eb095f0de42920ff6794be [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 14:36:24 provisioning config files... 14:36:24 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5586638109023112133tmp [Pipeline] { [Pipeline] sh 14:36:24 + set +x 14:36:24 + curl -s https://codecov.io/bash 14:36:24 + bash -s -- 14:36:24 14:36:24 _____ _ 14:36:24 / ____| | | 14:36:24 | | ___ __| | ___ ___ _____ __ 14:36:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:36:24 | |___| (_) | (_| | __/ (_| (_) \ V / 14:36:24 \_____\___/ \__,_|\___|\___\___/ \_/ 14:36:24 Bash-1.0.6 14:36:24 14:36:24 14:36:24 ==> git version 2.25.1 found 14:36:24 ==> 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 14:36:24 Release-Date: 2020-01-08 14:36:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:36:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:36:24 ==> Jenkins CI detected. 14:36:24 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 14:36:24 project root: . 14:36:24 --> token set from env 14:36:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:36:24 ==> Running gcov in . (disable via -X gcov) 14:36:24 ==> Python coveragepy not found 14:36:24 ==> Searching for coverage reports in: 14:36:24 + . 14:36:24 -> Found 1 reports 14:36:24 ==> Detecting git/mercurial file structure 14:36:24 ==> Reading reports 14:36:24 + ./coverage.out bytes=26779 14:36:24 ==> Appending adjustments 14:36:24 https://docs.codecov.io/docs/fixing-reports 14:36:24 + Found adjustments 14:36:24 ==> Gzipping contents 14:36:24 8.0K /tmp/codecov.6rW2Or.gz 14:36:24 ==> Uploading reports 14:36:24 url: https://codecov.io 14:36:24 query: branch=main&commit=d7843eb9fff04d81f7905769d603012160cefa56&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:36:24 -> Pinging Codecov 14:36:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d7843eb9fff04d81f7905769d603012160cefa56&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:36:24 -> Uploading to 14:36:24 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/d7843eb9fff04d81f7905769d603012160cefa56/7afecff8-f065-4346-be6e-89715e24d02c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250220%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250220T143624Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=0c2ae672e0723771020fbbb89d3a16f207403ae1b2ce2f78c76e0970c332dd46 14:36:24 % Total % Received % Xferd Average Speed Time Time Time Current 14:36:24 Dload Upload Total Spent Left Speed 14:36:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 23854 --:--:-- --:--:-- --:--:-- 23994 14:36:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] } 14:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:36:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:36:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:36:25 14:36:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:36:26 latest: Pulling from edgex-devops/edgex-snyk-go 14:36:26 43c4264eed91: Pulling fs layer 14:36:26 4cc291be95ef: Pulling fs layer 14:36:26 2ac1f1163629: Pulling fs layer 14:36:26 5c3c966382ef: Pulling fs layer 14:36:26 4f4fb700ef54: Pulling fs layer 14:36:26 d9c7d2e4e75e: Pulling fs layer 14:36:26 9c3e1370e548: Pulling fs layer 14:36:26 4f4fb700ef54: Waiting 14:36:26 d9c7d2e4e75e: Waiting 14:36:26 9c3e1370e548: Waiting 14:36:26 5c3c966382ef: Waiting 14:36:26 4cc291be95ef: Verifying Checksum 14:36:26 4cc291be95ef: Download complete 14:36:26 5c3c966382ef: Verifying Checksum 14:36:26 5c3c966382ef: Download complete 14:36:26 4f4fb700ef54: Verifying Checksum 14:36:26 4f4fb700ef54: Download complete 14:36:26 43c4264eed91: Download complete 14:36:26 43c4264eed91: Pull complete 14:36:26 d9c7d2e4e75e: Download complete 14:36:26 4cc291be95ef: Pull complete 14:36:26 2ac1f1163629: Verifying Checksum 14:36:26 2ac1f1163629: Download complete 14:36:27 9c3e1370e548: Verifying Checksum 14:36:27 9c3e1370e548: Download complete 14:36:30 2ac1f1163629: Pull complete 14:36:30 5c3c966382ef: Pull complete 14:36:30 4f4fb700ef54: Pull complete 14:36:30 d9c7d2e4e75e: Pull complete 14:36:33 9c3e1370e548: Pull complete 14:36:33 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 14:36:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:36:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:33 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:36:33 $ 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 14:36:37 $ docker top 46a23dc271b287d6402926a9de6fb34ced9012d7bbb21954da31e5000ae51aa4 -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 14:36:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 14:36:38 + set -o pipefail 14:36:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 14:36:44 14:36:44 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 14:36:44 14:36:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/1ec3e9ca-fbe1-4329-af23-5613d8963292 14:36:44 14:36:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:36:44 14:36:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:36:44 14:36:45 14:36:45 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 14:36:45 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:36:45 $ docker stop --time=1 46a23dc271b287d6402926a9de6fb34ced9012d7bbb21954da31e5000ae51aa4 14:36:48 $ docker rm -f --volumes 46a23dc271b287d6402926a9de6fb34ced9012d7bbb21954da31e5000ae51aa4 [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 14:36:49 + git log --format=format:%s -1 d7843eb9fff04d81f7905769d603012160cefa56 [Pipeline] sh 14:36:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:36:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:36:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:50 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:36:51 $ docker top df845357db4cda5f8e4a12b9bf6b2c321d9a9b57bdd0b21705d6257c9bf23c35 -eo pid,comm 14:36:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:36:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:36:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:36:51 [ssh-agent] Looking for ssh-agent implementation... 14:36:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:36:51 $ docker exec df845357db4cda5f8e4a12b9bf6b2c321d9a9b57bdd0b21705d6257c9bf23c35 ssh-agent 14:36:51 SSH_AUTH_SOCK=/tmp/ssh-sMjnOJGy0S6L/agent.32 14:36:51 SSH_AGENT_PID=38 14:36:51 Running ssh-add (command line suppressed) 14:36:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3589695053915695052.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3589695053915695052.key) 14:36:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:36:51 + git semver tag 14:36:51 2025-02-20 14:36:51,910 [run_tag] DEBUG tag force:False 14:36:51 2025-02-20 14:36:51,910 [check_head_tag] DEBUG check head tag 14:36:51 2025-02-20 14:36:51,912 [execute] INFO git cat-file --batch-check 14:36:51 2025-02-20 14:36:51,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 14:36:51 2025-02-20 14:36:51,915 [execute] INFO git cat-file --batch 14:36:51 2025-02-20 14:36:51,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 14:36:51 2025-02-20 14:36:51,937 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:36:51 2025-02-20 14:36:51,937 [execute] INFO git tag -a v4.0.0-dev.17 -m v4.0.0-dev.17 14:36:51 2025-02-20 14:36:51,937 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.17', '-m', 'v4.0.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 14:36:51 2025-02-20 14:36:51,942 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:36:51 4.0.0-dev.17 [Pipeline] } 14:36:52 $ docker exec --env ******** --env ******** df845357db4cda5f8e4a12b9bf6b2c321d9a9b57bdd0b21705d6257c9bf23c35 ssh-agent -k 14:36:52 unset SSH_AUTH_SOCK; 14:36:52 unset SSH_AGENT_PID; 14:36:52 echo Agent pid 38 killed; 14:36:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:36:52 + git semver [Pipeline] } 14:36:52 $ docker stop --time=1 df845357db4cda5f8e4a12b9bf6b2c321d9a9b57bdd0b21705d6257c9bf23c35 14:36:53 $ docker rm -f --volumes df845357db4cda5f8e4a12b9bf6b2c321d9a9b57bdd0b21705d6257c9bf23c35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:36:54 14:36:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:36:54 0.23.1-centos7: Pulling from edgex-lftools 14:36:54 ab5ef0e58194: Pulling fs layer 14:36:54 9712f1f96733: Pulling fs layer 14:36:54 63f879dbbcfc: Pulling fs layer 14:36:54 0d9ebad4ef96: Pulling fs layer 14:36:54 e9a5061849ea: Pulling fs layer 14:36:54 d747dcd14b5f: Pulling fs layer 14:36:54 2de7ff778b66: Pulling fs layer 14:36:54 0d9ebad4ef96: Waiting 14:36:54 e9a5061849ea: Waiting 14:36:54 d747dcd14b5f: Waiting 14:36:54 2de7ff778b66: Waiting 14:36:54 9712f1f96733: Verifying Checksum 14:36:54 9712f1f96733: Download complete 14:36:54 63f879dbbcfc: Verifying Checksum 14:36:54 63f879dbbcfc: Download complete 14:36:54 e9a5061849ea: Verifying Checksum 14:36:54 e9a5061849ea: Download complete 14:36:54 d747dcd14b5f: Verifying Checksum 14:36:54 d747dcd14b5f: Download complete 14:36:55 ab5ef0e58194: Download complete 14:36:55 0d9ebad4ef96: Verifying Checksum 14:36:55 0d9ebad4ef96: Download complete 14:36:55 2de7ff778b66: Verifying Checksum 14:36:55 2de7ff778b66: Download complete 14:36:57 ab5ef0e58194: Pull complete 14:36:58 9712f1f96733: Pull complete 14:36:58 63f879dbbcfc: Pull complete 14:37:01 0d9ebad4ef96: Pull complete 14:37:02 e9a5061849ea: Pull complete 14:37:02 d747dcd14b5f: Pull complete 14:37:03 2de7ff778b66: Pull complete 14:37:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:37:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:03 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:37:03 $ 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 14:37:06 $ docker top e474532a0b6a4884deb3fdf1db636e1ee5edf40fff7a1d42fc26b35ef57117f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:37:06 provisioning config files... 14:37:06 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16807787433373333801tmp 14:37:06 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13476563441042367739tmp 14:37:06 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2848364713151618361tmp [Pipeline] { [Pipeline] echo 14:37:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:37:07 ---> sigul-configuration.sh 14:37:07 gpg: directory `/root/.gnupg' created 14:37:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:37:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:37:07 gpg: keyring `/root/.gnupg/secring.gpg' created 14:37:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:37:07 gpg: CAST5 encrypted data 14:37:07 gpg: encrypted with 1 passphrase 14:37:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:37:07 + mkdir /home/jenkins 14:37:07 + mkdir /home/jenkins/sigul [Pipeline] sh 14:37:07 + 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 14:37:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:37:08 ---> sigul-install.sh 14:37:08 Sigul already installed; skipping installation. [Pipeline] sh 14:37:08 + git tag --list 14:37:08 0.7.1 14:37:08 v1.0.0 14:37:08 v1.1.0 14:37:08 v1.1.1 14:37:08 v1.2.2 14:37:08 v1.3.0 14:37:08 v1.3.1 14:37:08 v2.0.0 14:37:08 v2.1.0 14:37:08 v2.1.1 14:37:08 v2.2.0 14:37:08 v2.3.0 14:37:08 v3.0 14:37:08 v3.0.0 14:37:08 v3.1 14:37:08 v3.1.0 14:37:08 v3.1.0-dev.1 14:37:08 v3.1.0-dev.10 14:37:08 v3.1.0-dev.11 14:37:08 v3.1.0-dev.12 14:37:08 v3.1.0-dev.13 14:37:08 v3.1.0-dev.14 14:37:08 v3.1.0-dev.15 14:37:08 v3.1.0-dev.16 14:37:08 v3.1.0-dev.17 14:37:08 v3.1.0-dev.18 14:37:08 v3.1.0-dev.19 14:37:08 v3.1.0-dev.2 14:37:08 v3.1.0-dev.20 14:37:08 v3.1.0-dev.21 14:37:08 v3.1.0-dev.22 14:37:08 v3.1.0-dev.23 14:37:08 v3.1.0-dev.24 14:37:08 v3.1.0-dev.25 14:37:08 v3.1.0-dev.3 14:37:08 v3.1.0-dev.4 14:37:08 v3.1.0-dev.5 14:37:08 v3.1.0-dev.6 14:37:08 v3.1.0-dev.7 14:37:08 v3.1.0-dev.8 14:37:08 v3.1.0-dev.9 14:37:08 v3.1.1 14:37:08 v3.1.1-dev.1 14:37:08 v3.2.0-dev.1 14:37:08 v3.2.0-dev.10 14:37:08 v3.2.0-dev.11 14:37:08 v3.2.0-dev.12 14:37:08 v3.2.0-dev.13 14:37:08 v3.2.0-dev.14 14:37:08 v3.2.0-dev.15 14:37:08 v3.2.0-dev.16 14:37:08 v3.2.0-dev.17 14:37:08 v3.2.0-dev.18 14:37:08 v3.2.0-dev.19 14:37:08 v3.2.0-dev.2 14:37:08 v3.2.0-dev.20 14:37:08 v3.2.0-dev.21 14:37:08 v3.2.0-dev.22 14:37:08 v3.2.0-dev.23 14:37:08 v3.2.0-dev.24 14:37:08 v3.2.0-dev.25 14:37:08 v3.2.0-dev.26 14:37:08 v3.2.0-dev.3 14:37:08 v3.2.0-dev.4 14:37:08 v3.2.0-dev.5 14:37:08 v3.2.0-dev.6 14:37:08 v3.2.0-dev.7 14:37:08 v3.2.0-dev.8 14:37:08 v3.2.0-dev.9 14:37:08 v4.0.0-dev.1 14:37:08 v4.0.0-dev.10 14:37:08 v4.0.0-dev.11 14:37:08 v4.0.0-dev.12 14:37:08 v4.0.0-dev.13 14:37:08 v4.0.0-dev.14 14:37:08 v4.0.0-dev.15 14:37:08 v4.0.0-dev.16 14:37:08 v4.0.0-dev.17 14:37:08 v4.0.0-dev.2 14:37:08 v4.0.0-dev.3 14:37:08 v4.0.0-dev.4 14:37:08 v4.0.0-dev.5 14:37:08 v4.0.0-dev.6 14:37:08 v4.0.0-dev.7 14:37:08 v4.0.0-dev.8 14:37:08 v4.0.0-dev.9 [Pipeline] sh 14:37:08 + lftools sign git-tag v4.0.0-dev.17 14:37:09 Signing Git tag with Sigul... 14:37:09 Signing v4.0.0-dev.17 [Pipeline] echo 14:37:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:37:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:37:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:37:10 $ docker stop --time=1 e474532a0b6a4884deb3fdf1db636e1ee5edf40fff7a1d42fc26b35ef57117f0 14:37:11 $ docker rm -f --volumes e474532a0b6a4884deb3fdf1db636e1ee5edf40fff7a1d42fc26b35ef57117f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:37:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:37:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:37:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:12 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:37:12 $ 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 14:37:12 $ docker top ef1e780d47f2b5ff295b925cd77314911a44fe6c349333c74c393c735a809934 -eo pid,comm 14:37:12 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). 14:37:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:12 [ssh-agent] Looking for ssh-agent implementation... 14:37:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:12 $ docker exec ef1e780d47f2b5ff295b925cd77314911a44fe6c349333c74c393c735a809934 ssh-agent 14:37:12 SSH_AUTH_SOCK=/tmp/ssh-sJ9mQnRRpZ4l/agent.31 14:37:12 SSH_AGENT_PID=37 14:37:12 Running ssh-add (command line suppressed) 14:37:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3603027117946600234.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3603027117946600234.key) 14:37:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:13 + git semver bump pre 14:37:13 2025-02-20 14:37:13,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:37:13 2025-02-20 14:37:13,497 [bump_version] DEBUG bumping version:4.0.0-dev.17 on axis:pre with prefix:dev 14:37:13 2025-02-20 14:37:13,497 [bump_version] DEBUG bumped version:4.0.0-dev.18 14:37:13 2025-02-20 14:37:13,497 [write_version] DEBUG write version:4.0.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 14:37:13 2025-02-20 14:37:13,497 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:37:13 2025-02-20 14:37:13,497 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:37:13 2025-02-20 14:37:13,499 [execute] INFO git cat-file --batch-check 14:37:13 2025-02-20 14:37:13,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:37:13 2025-02-20 14:37:13,504 [execute] INFO git cat-file --batch 14:37:13 2025-02-20 14:37:13,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:37:13 2025-02-20 14:37:13,509 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:37:13 4.0.0-dev.18 [Pipeline] } 14:37:13 $ docker exec --env ******** --env ******** ef1e780d47f2b5ff295b925cd77314911a44fe6c349333c74c393c735a809934 ssh-agent -k 14:37:13 unset SSH_AUTH_SOCK; 14:37:13 unset SSH_AGENT_PID; 14:37:13 echo Agent pid 37 killed; 14:37:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:14 + git semver [Pipeline] } 14:37:14 $ docker stop --time=1 ef1e780d47f2b5ff295b925cd77314911a44fe6c349333c74c393c735a809934 14:37:15 $ docker rm -f --volumes ef1e780d47f2b5ff295b925cd77314911a44fe6c349333c74c393c735a809934 [Pipeline] // withDockerContainer [Pipeline] sh 14:37:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:37:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:16 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:37:16 $ docker top 8d80430e36154d15a2b0f38e9fb4c97e302f070975286ac3f26962d6932187d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:16 [ssh-agent] Looking for ssh-agent implementation... 14:37:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:16 $ docker exec 8d80430e36154d15a2b0f38e9fb4c97e302f070975286ac3f26962d6932187d9 ssh-agent 14:37:16 SSH_AUTH_SOCK=/tmp/ssh-QZvwYWbmG4NR/agent.32 14:37:16 SSH_AGENT_PID=38 14:37:16 Running ssh-add (command line suppressed) 14:37:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9401381281801774521.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9401381281801774521.key) 14:37:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:17 + git semver push 14:37:17 2025-02-20 14:37:17,531 [run_push] DEBUG push 14:37:17 2025-02-20 14:37:17,531 [execute] INFO git cat-file --batch-check 14:37:17 2025-02-20 14:37:17,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:37:17 2025-02-20 14:37:17,535 [execute] INFO git rev-list a1f3038f836779c645b151614cddea682ebc4587 -- 14:37:17 2025-02-20 14:37:17,535 [execute] DEBUG Popen(['git', 'rev-list', 'a1f3038f836779c645b151614cddea682ebc4587', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:37:17 2025-02-20 14:37:17,545 [execute] INFO git fetch -v origin 14:37:17 2025-02-20 14:37:17,545 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:37:18 2025-02-20 14:37:17,998 [run_push] DEBUG no remote changes detected 14:37:18 2025-02-20 14:37:17,999 [execute] INFO git push origin semver 14:37:18 2025-02-20 14:37:17,999 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:37:18 2025-02-20 14:37:18,686 [run_push] DEBUG push all version tags 14:37:18 2025-02-20 14:37:18,687 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:37:18 2025-02-20 14:37:18,687 [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) 14:37:19 2025-02-20 14:37:19,378 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 14:37:19 4.0.0-dev.18 [Pipeline] } 14:37:19 $ docker exec --env ******** --env ******** 8d80430e36154d15a2b0f38e9fb4c97e302f070975286ac3f26962d6932187d9 ssh-agent -k 14:37:19 unset SSH_AUTH_SOCK; 14:37:19 unset SSH_AGENT_PID; 14:37:19 echo Agent pid 38 killed; 14:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:20 + git semver [Pipeline] } 14:37:20 $ docker stop --time=1 8d80430e36154d15a2b0f38e9fb4c97e302f070975286ac3f26962d6932187d9 14:37:21 $ docker rm -f --volumes 8d80430e36154d15a2b0f38e9fb4c97e302f070975286ac3f26962d6932187d9 [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 14:37:22 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 14:37:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 14:37:22 total 16 14:37:22 drwxr-xr-x 3 root root 4096 Feb 20 14:25 . 14:37:22 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 14:37 .. 14:37:22 drwxr-xr-x 2 root root 4096 Feb 20 14:25 cost 14:37:22 -rw-r--r-- 1 root root 88 Feb 20 14:25 cost.csv 14:37:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 14:37:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 14:37:22 total 16 14:37:22 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 14:25 . 14:37:22 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 14:37 .. 14:37:22 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 14:25 cost 14:37:22 -rw-r--r-- 1 jenkins jenkins 88 Feb 20 14:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:37:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:37:23 ---> package-listing.sh 14:37:23 ++ facter osfamily 14:37:23 ++ tr '[:upper:]' '[:lower:]' 14:37:23 + OS_FAMILY=debian 14:37:23 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 14:37:23 + START_PACKAGES=/tmp/packages_start.txt 14:37:23 + END_PACKAGES=/tmp/packages_end.txt 14:37:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:37:23 + PACKAGES=/tmp/packages_start.txt 14:37:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 14:37:23 + PACKAGES=/tmp/packages_end.txt 14:37:23 + case "${OS_FAMILY}" in 14:37:23 + dpkg -l 14:37:23 + grep '^ii' 14:37:23 + '[' -f /tmp/packages_start.txt ']' 14:37:23 + '[' -f /tmp/packages_end.txt ']' 14:37:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:37:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 14:37:23 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 14:37:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 14:37:23 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 14:37:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:24 prd-ubuntu20.04-docker-8c-8g-39341 does not seem to be running inside a container 14:37:24 $ 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 14:37:24 $ docker top b674126b9b9be72a40f85018b3162c1e428ddfbd263cc71bbcd3097808ba43a1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:37:25 + touch /tmp/pre-build-complete [Pipeline] sh 14:37:25 + mkdir -p /var/log/sysstat [Pipeline] sh 14:37:25 + ls /var/log/sa-host 14:37:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:37:26 provisioning config files... 14:37:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1019486152762207516tmp [Pipeline] { [Pipeline] echo 14:37:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:37:26 ---> create-netrc.sh [Pipeline] } 14:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:37:26 ---> python-tools-install.sh [Pipeline] echo 14:37:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:37:26 ---> sudo-logs.sh 14:37:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:37:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:37:27 ---> job-cost.sh 14:37:27 lf-activate-venv: SKIPPING 14:37:27 DEBUG: total: 0.2199999988079071 14:37:27 INFO: Retrieving Stack Cost... 14:37:27 INFO: Retrieving Pricing Info for: v3-standard-8 14:37:28 INFO: Archiving Costs [Pipeline] echo 14:37:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:37:28 ---> logs-deploy.sh 14:37:28 lf-activate-venv: SKIPPING 14:37:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/182 14:37:28 INFO: archiving workspace using pattern(s): 14:37:29 Archives upload complete. 14:37:29 INFO: archiving logs to Nexus