Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f916d0fb32b877ff84da90d820eba295f5bd4a5a 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-ssh3859022573586417434.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-ssh15873199553222110844.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-ssh17222560772828210106.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-ssh893783118674343971.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-ssh16775472350167248974.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-36938 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 f916d0fb32b877ff84da90d820eba295f5bd4a5a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f916d0fb32b877ff84da90d820eba295f5bd4a5a # timeout=10 Commit message: "Merge pull request #608 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19" > git rev-list --no-walk 55a903a4e4241ed304b874eba174be4eba37eb89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:05:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:05:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:05:45 ========================================================= 06:05:45 EdgeX Global Pipelines Version Info 06:05:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:05:46 ------------------- 06:05:46 stable info: 06:05:46 ------------------- 06:05:46 Commited By: Cherry Wang cherry@iotechsys.com 06:05:46 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:05:46 Message: update stable to v1.0.269 06:05:47 ------------------- 06:05:47 experimental info: 06:05:47 ------------------- 06:05:47 Commited By: **** collab-it+edgex@linuxfoundation.org 06:05:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 06:05:47 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f916d0f [Pipeline] echo 06:05:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:47 provisioning config files... 06:05:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9566325517183423251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:48 ---> ****-login.sh 06:05:48 nexus3.edgexfoundry.org:10001 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 nexus3.edgexfoundry.org:10002 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 nexus3.edgexfoundry.org:10003 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 nexus3.edgexfoundry.org:10004 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:48 Configure a credential helper to remove this warning. See 06:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:48 06:05:48 Login Succeeded 06:05:48 ****.io 06:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:05:49 Configure a credential helper to remove this warning. See 06:05:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:05:49 06:05:49 Login Succeeded 06:05:49 ---> ****-login.sh ends [Pipeline] } 06:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:05:49 + git rev-list -1 --merges f916d0fb32b877ff84da90d820eba295f5bd4a5a~1..f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] echo 06:05:49 -----------> git rev-list -1 --merges f916d0fb32b877ff84da90d820eba295f5bd4a5a~1..f916d0fb32b877ff84da90d820eba295f5bd4a5a f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:05:49 f916d0fb32b877ff84da90d820eba295f5bd4a5a [false] [Pipeline] sh 06:05:49 + git log --format=format:%s -1 f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] echo 06:05:50 ========================================================= 06:05:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:05:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:50 + git log --format=format:%s -1 f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] echo 06:05:50 [semverPrep] GIT_COMMIT: f916d0fb32b877ff84da90d820eba295f5bd4a5a, Commit Message: Merge pull request #608 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19 [Pipeline] echo 06:05:50 [semverPrep] This is not a build commit. [Pipeline] sh 06:05:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:05:50 + grep -v github /etc/ssh/ssh_known_hosts 06:05:50 + [ -e /tmp/ssh_known_hosts ] 06:05:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:05:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:05:50 + sudo tee -a /etc/ssh/ssh_known_hosts 06:05:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:51 06:05:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:51 0.1.4: Pulling from edgex-devops/py-git-semver 06:05:51 b85a868b505f: Pulling fs layer 06:05:51 e2be974225ed: Pulling fs layer 06:05:51 339a4e72a1f5: Pulling fs layer 06:05:51 988bab9f4d93: Pulling fs layer 06:05:51 1469e6f7b9e6: Pulling fs layer 06:05:51 eaf3925da568: Pulling fs layer 06:05:51 bab4dde63d76: Pulling fs layer 06:05:51 bde34c3a00c8: Pulling fs layer 06:05:51 b352a97aabf1: Pulling fs layer 06:05:51 4872d77fe225: Pulling fs layer 06:05:51 5851b861e8e6: Pulling fs layer 06:05:51 988bab9f4d93: Waiting 06:05:51 1469e6f7b9e6: Waiting 06:05:51 b352a97aabf1: Waiting 06:05:51 4872d77fe225: Waiting 06:05:51 5851b861e8e6: Waiting 06:05:51 eaf3925da568: Waiting 06:05:51 bab4dde63d76: Waiting 06:05:51 bde34c3a00c8: Waiting 06:05:51 e2be974225ed: Download complete 06:05:51 988bab9f4d93: Verifying Checksum 06:05:51 988bab9f4d93: Download complete 06:05:51 1469e6f7b9e6: Verifying Checksum 06:05:51 1469e6f7b9e6: Download complete 06:05:51 339a4e72a1f5: Verifying Checksum 06:05:51 339a4e72a1f5: Download complete 06:05:51 eaf3925da568: Download complete 06:05:51 bde34c3a00c8: Download complete 06:05:51 b352a97aabf1: Download complete 06:05:51 4872d77fe225: Download complete 06:05:51 5851b861e8e6: Verifying Checksum 06:05:51 5851b861e8e6: Download complete 06:05:52 b85a868b505f: Verifying Checksum 06:05:52 b85a868b505f: Download complete 06:05:52 bab4dde63d76: Verifying Checksum 06:05:52 bab4dde63d76: Download complete 06:05:52 b85a868b505f: Pull complete 06:05:53 e2be974225ed: Pull complete 06:05:53 339a4e72a1f5: Pull complete 06:05:53 988bab9f4d93: Pull complete 06:05:54 1469e6f7b9e6: Pull complete 06:05:54 eaf3925da568: Pull complete 06:05:55 bab4dde63d76: Pull complete 06:05:55 bde34c3a00c8: Pull complete 06:05:55 b352a97aabf1: Pull complete 06:05:55 4872d77fe225: Pull complete 06:05:55 5851b861e8e6: Pull complete 06:05:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:05:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:56 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:05:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:05:57 $ docker top 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 -eo pid,comm 06:05:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:05:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:05:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:05:57 [ssh-agent] Looking for ssh-agent implementation... 06:05:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:05:57 $ docker exec 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 ssh-agent 06:05:57 SSH_AUTH_SOCK=/tmp/ssh-1vKZJVEJUddQ/agent.31 06:05:57 SSH_AGENT_PID=37 06:05:57 Running ssh-add (command line suppressed) 06:05:57 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_426149590007052194.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_426149590007052194.key) 06:05:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:05:58 + git tag --points-at HEAD [Pipeline] } 06:05:58 $ docker exec --env ******** --env ******** 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 ssh-agent -k 06:05:58 unset SSH_AUTH_SOCK; 06:05:58 unset SSH_AGENT_PID; 06:05:58 echo Agent pid 37 killed; 06:05:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:05:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:05:58 [ssh-agent] Looking for ssh-agent implementation... 06:05:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:05:58 $ docker exec 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 ssh-agent 06:05:58 SSH_AUTH_SOCK=/tmp/ssh-TvqhodmZ7qKd/agent.70 06:05:58 SSH_AGENT_PID=76 06:05:58 Running ssh-add (command line suppressed) 06:05:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13035482729437708487.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13035482729437708487.key) 06:05:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:05:59 + git semver init 06:05:59 2025-01-17 06:05:59,168 [run_init] DEBUG init version:0.0.0 force:False 06:05:59 2025-01-17 06:05:59,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:05:59 2025-01-17 06:05:59,169 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:05:59 2025-01-17 06:05:59,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:06:00 2025-01-17 06:06:00,085 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:06:00 2025-01-17 06:06:00,086 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:06:00 2025-01-17 06:06:00,086 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:06:00 2025-01-17 06:06:00,086 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:06:00 4.0.0-dev.11 [Pipeline] } 06:06:00 $ docker exec --env ******** --env ******** 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 ssh-agent -k 06:06:00 unset SSH_AUTH_SOCK; 06:06:00 unset SSH_AGENT_PID; 06:06:00 echo Agent pid 76 killed; 06:06:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:00 + git semver [Pipeline] } 06:06:00 $ docker stop --time=1 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 06:06:02 $ docker rm -f --volumes 8e9f381e0f43f36ac766f159daa968a3f71e9cf463841436feb23a32cc965513 [Pipeline] // withDockerContainer [Pipeline] sh 06:06:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:06:02 Stashed 1 file(s) [Pipeline] echo 06:06:02 [edgeXSemver]: initialized semver on version 4.0.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:03 provisioning config files... 06:06:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17622309325178584005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:03 ---> ****-login.sh 06:06:03 nexus3.edgexfoundry.org:10001 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 nexus3.edgexfoundry.org:10002 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 nexus3.edgexfoundry.org:10003 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 nexus3.edgexfoundry.org:10004 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 ****.io 06:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:06:03 Configure a credential helper to remove this warning. See 06:06:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:06:03 06:06:03 Login Succeeded 06:06:03 ---> ****-login.sh ends [Pipeline] } 06:06:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:06:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:06:04 ========================================================= 06:06:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:06:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:06:04 Sending build context to Docker daemon 18.18MB 06:06:04 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:06:04 Step 2/10 : FROM ${BASE} AS builder 06:06:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:06:04 da9db072f522: Pulling fs layer 06:06:04 6ef4a4ee8ca5: Pulling fs layer 06:06:04 06f05ace1117: Pulling fs layer 06:06:04 5fe327b54edc: Pulling fs layer 06:06:04 4f4fb700ef54: Pulling fs layer 06:06:04 92a5565b7b96: Pulling fs layer 06:06:04 ff9bb7016b71: Pulling fs layer 06:06:04 b67dba6c2c7d: Pulling fs layer 06:06:04 a813b0c90790: Pulling fs layer 06:06:04 5fe327b54edc: Waiting 06:06:04 ff9bb7016b71: Waiting 06:06:04 b67dba6c2c7d: Waiting 06:06:04 4f4fb700ef54: Waiting 06:06:04 a813b0c90790: Waiting 06:06:04 92a5565b7b96: Waiting 06:06:04 6ef4a4ee8ca5: Verifying Checksum 06:06:04 6ef4a4ee8ca5: Download complete 06:06:04 5fe327b54edc: Verifying Checksum 06:06:04 5fe327b54edc: Download complete 06:06:04 4f4fb700ef54: Verifying Checksum 06:06:04 4f4fb700ef54: Download complete 06:06:04 92a5565b7b96: Verifying Checksum 06:06:04 92a5565b7b96: Download complete 06:06:04 da9db072f522: Download complete 06:06:04 ff9bb7016b71: Verifying Checksum 06:06:04 ff9bb7016b71: Download complete 06:06:04 da9db072f522: Pull complete 06:06:04 6ef4a4ee8ca5: Pull complete 06:06:04 a813b0c90790: Verifying Checksum 06:06:04 a813b0c90790: Download complete 06:06:05 06f05ace1117: Verifying Checksum 06:06:05 06f05ace1117: Download complete 06:06:05 b67dba6c2c7d: Verifying Checksum 06:06:05 b67dba6c2c7d: Download complete 06:06:08 06f05ace1117: Pull complete 06:06:08 5fe327b54edc: Pull complete 06:06:08 4f4fb700ef54: Pull complete 06:06:08 92a5565b7b96: Pull complete 06:06:08 ff9bb7016b71: Pull complete 06:06:11 b67dba6c2c7d: Pull complete 06:06:11 a813b0c90790: Pull complete 06:06:11 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 06:06:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:06:11 ---> 3ba60ce46760 06:06:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:06:13 ---> Running in 33b12a9a45a9 06:06:13 Removing intermediate container 33b12a9a45a9 06:06:13 ---> a6981f83dffd 06:06:13 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:06:13 ---> Running in 7e9330c95c54 06:06:13 Removing intermediate container 7e9330c95c54 06:06:13 ---> ecbe4082c769 06:06:13 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:06:13 ---> Running in a91bcaa851a1 06:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:06:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:06:14 (1/8) Installing openssh-keygen (9.7_p1-r4) 06:06:14 (2/8) Installing libedit (20240517.3.1-r0) 06:06:14 (3/8) Installing openssh-client-common (9.7_p1-r4) 06:06:14 (4/8) Installing openssh-client-default (9.7_p1-r4) 06:06:14 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 06:06:14 (6/8) Installing openssh-server-common (9.7_p1-r4) 06:06:14 (7/8) Installing openssh-server (9.7_p1-r4) 06:06:14 (8/8) Installing openssh (9.7_p1-r4) 06:06:14 Executing busybox-1.36.1-r29.trigger 06:06:14 OK: 253 MiB in 66 packages 06:06:14 Removing intermediate container a91bcaa851a1 06:06:14 ---> 89a17b7f48ac 06:06:14 Step 6/10 : WORKDIR /device-modbus-go 06:06:14 ---> Running in 05dcdd3c7b45 06:06:14 Removing intermediate container 05dcdd3c7b45 06:06:14 ---> 72e78764e189 06:06:14 Step 7/10 : COPY go.mod vendor* ./ 06:06:15 ---> 583c8b48e092 06:06:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:06:15 ---> Running in eccabcca5a70 06:06:17 Still waiting to schedule task 06:06:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:06:53 Removing intermediate container eccabcca5a70 06:06:53 ---> cce5dde81e87 06:06:53 Step 9/10 : COPY . . 06:06:53 ---> 29cf1405a3b4 06:06:53 Step 10/10 : RUN ${MAKE} 06:06:53 ---> Running in cac1fc76753d 06:06:53 noop 06:06:54 Removing intermediate container cac1fc76753d 06:06:54 ---> 0c1052173357 06:06:54 Successfully built 0c1052173357 06:06:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:54 + docker inspect -f . ci-base-image-x86_64 06:06:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:54 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:06:55 $ docker top 7338d20155a7a11870e4503c93fc510d03f242a928eddfaf3522d754a3b143ad -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:55 + go version 06:06:55 go version go1.23.4 linux/amd64 [Pipeline] } 06:06:55 $ docker stop --time=1 7338d20155a7a11870e4503c93fc510d03f242a928eddfaf3522d754a3b143ad 06:06:56 $ docker rm -f --volumes 7338d20155a7a11870e4503c93fc510d03f242a928eddfaf3522d754a3b143ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:57 + docker inspect -f . ci-base-image-x86_64 06:06:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:57 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:06:57 $ docker top 9238da5a479154afb79ebed9cc94eb71fb61847a4a0fae9cf26336ddd2c695d1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:06:58 + make test 06:06:58 go test ./... -coverprofile=coverage.out 06:06:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:07:18 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:07:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 48.0% of statements 06:07:28 go vet ./... 06:07:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:07:33 $ docker stop --time=1 9238da5a479154afb79ebed9cc94eb71fb61847a4a0fae9cf26336ddd2c695d1 06:07:35 $ docker rm -f --volumes 9238da5a479154afb79ebed9cc94eb71fb61847a4a0fae9cf26336ddd2c695d1 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:07:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:37 + ls -al . 06:07:37 total 260 06:07:37 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 06:06 . 06:07:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:05 .. 06:07:37 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 06:05 .dockerignore 06:07:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:07 .git 06:07:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:05 .github 06:07:37 -rw-rw-r-- 1 jenkins jenkins 266 Jan 17 06:05 .gitignore 06:07:37 -rw-rw-r-- 1 jenkins jenkins 199 Jan 17 06:05 .golangci.yml 06:07:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 06:06 .semver 06:07:37 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 17 06:05 Attribution.txt 06:07:37 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 17 06:05 CHANGELOG.md 06:07:37 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 17 06:05 Dockerfile 06:07:37 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 06:05 GOVERNANCE.md 06:07:37 -rw-rw-r-- 1 jenkins jenkins 658 Jan 17 06:05 Jenkinsfile 06:07:37 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 06:05 LICENSE 06:07:37 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 17 06:05 Makefile 06:07:37 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 06:05 OWNERS.md 06:07:37 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 17 06:05 README.md 06:07:37 -rw-rw-r-- 1 jenkins jenkins 12 Jan 17 06:06 VERSION 06:07:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:05 bin 06:07:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:05 cmd 06:07:37 -rw-r--r-- 1 jenkins jenkins 25464 Jan 17 06:07 coverage.out 06:07:37 -rw-rw-r-- 1 jenkins jenkins 6390 Jan 17 06:05 go.mod 06:07:37 -rw-rw-r-- 1 jenkins jenkins 86976 Jan 17 06:05 go.sum 06:07:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:05 internal 06:07:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:05 simulator 06:07:37 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:37 + 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=f916d0fb32b877ff84da90d820eba295f5bd4a5a --label arch=amd64 --label version=4.0.0-dev.11 . 06:07:37 Sending build context to Docker daemon 18.21MB 06:07:37 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 06:07:37 Step 2/23 : FROM ${BASE} AS builder 06:07:37 ---> 0c1052173357 06:07:37 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:07:37 ---> Running in 19dd157747c2 06:07:38 Removing intermediate container 19dd157747c2 06:07:38 ---> 4eae2005bea2 06:07:38 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:38 ---> Running in b6a38bf4c51e 06:07:38 Removing intermediate container b6a38bf4c51e 06:07:38 ---> 26125c5bfe30 06:07:38 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:07:38 ---> Running in 439647fa0be6 06:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:07:39 OK: 253 MiB in 66 packages 06:07:39 Removing intermediate container 439647fa0be6 06:07:39 ---> 872c05dd14c0 06:07:39 Step 6/23 : WORKDIR /device-modbus-go 06:07:39 ---> Running in 8b5b1ac90f38 06:07:39 Removing intermediate container 8b5b1ac90f38 06:07:39 ---> 593d5b183316 06:07:39 Step 7/23 : COPY go.mod vendor* ./ 06:07:40 ---> 1f2316704405 06:07:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:40 ---> Running in fecd1547c89a 06:07:40 Removing intermediate container fecd1547c89a 06:07:40 ---> 765ff5f418e6 06:07:40 Step 9/23 : COPY . . 06:07:41 ---> 592ccb6434cc 06:07:41 Step 10/23 : RUN ${MAKE} 06:07:41 ---> Running in a37448f6f395 06:07:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:08:07 Removing intermediate container a37448f6f395 06:08:07 ---> 964b6ec1badb 06:08:07 Step 11/23 : FROM alpine:3.20 06:08:07 3.20: Pulling from library/alpine 06:08:07 66a3d608f3fa: Pulling fs layer 06:08:07 66a3d608f3fa: Verifying Checksum 06:08:07 66a3d608f3fa: Download complete 06:08:07 66a3d608f3fa: Pull complete 06:08:07 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:08:07 Status: Downloaded newer image for alpine:3.20 06:08:07 ---> e29df9b510ff 06:08:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 06:08:07 ---> Running in 18e9af04216c 06:08:07 Removing intermediate container 18e9af04216c 06:08:07 ---> 00289ac1f304 06:08:07 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:08:07 ---> Running in 5ce1d9808401 06:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:08:07 (1/1) Installing dumb-init (1.2.5-r3) 06:08:07 Executing busybox-1.36.1-r29.trigger 06:08:07 OK: 8 MiB in 15 packages 06:08:08 Removing intermediate container 5ce1d9808401 06:08:08 ---> bd58fa68d35f 06:08:08 Step 14/23 : RUN apk --no-cache upgrade 06:08:08 ---> Running in 91a18166214a 06:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:08:08 OK: 8 MiB in 15 packages 06:08:09 Removing intermediate container 91a18166214a 06:08:09 ---> 2dcf4bc692cf 06:08:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:08:09 ---> d8446100b106 06:08:09 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:08:09 ---> 6386b8ef4ccc 06:08:09 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:08:09 ---> 28e6be4f8673 06:08:09 Step 18/23 : EXPOSE 59901 06:08:09 ---> Running in 92cbd8d7804e 06:08:10 Removing intermediate container 92cbd8d7804e 06:08:10 ---> f0d187381f00 06:08:10 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:08:10 ---> Running in 8e9859d906ad 06:08:10 Removing intermediate container 8e9859d906ad 06:08:10 ---> 84aea8078e21 06:08:10 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:08:10 ---> Running in 1a2cb0f29007 06:08:10 Removing intermediate container 1a2cb0f29007 06:08:10 ---> 8f588c80ce9d 06:08:10 Step 21/23 : LABEL arch=amd64 06:08:10 ---> Running in d60ca78e4421 06:08:10 Removing intermediate container d60ca78e4421 06:08:10 ---> 72c2481dddc9 06:08:10 Step 22/23 : LABEL git_sha=f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:08:10 ---> Running in 287e4fc3a1c0 06:08:10 Removing intermediate container 287e4fc3a1c0 06:08:10 ---> 09f2bc65c78a 06:08:10 Step 23/23 : LABEL version=4.0.0-dev.11 06:08:10 ---> Running in c82de02d054d 06:08:10 Removing intermediate container c82de02d054d 06:08:10 ---> 08b8fca9d1ef 06:08:10 [Warning] One or more build-args [ARCH] were not consumed 06:08:10 Successfully built 08b8fca9d1ef 06:08:10 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:10 provisioning config files... 06:08:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6248725625260410440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:10 ---> ****-login.sh 06:08:10 nexus3.edgexfoundry.org:10001 06:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:10 Configure a credential helper to remove this warning. See 06:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:10 06:08:10 Login Succeeded 06:08:10 nexus3.edgexfoundry.org:10002 06:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:10 Configure a credential helper to remove this warning. See 06:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:10 06:08:10 Login Succeeded 06:08:10 nexus3.edgexfoundry.org:10003 06:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:11 Configure a credential helper to remove this warning. See 06:08:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:11 06:08:11 Login Succeeded 06:08:11 nexus3.edgexfoundry.org:10004 06:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:11 Configure a credential helper to remove this warning. See 06:08:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:11 06:08:11 Login Succeeded 06:08:11 ****.io 06:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:11 Configure a credential helper to remove this warning. See 06:08:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:11 06:08:11 Login Succeeded 06:08:11 ---> ****-login.sh ends [Pipeline] } 06:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:08:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:11 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:08:11 f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:08:11 latest 06:08:11 4.0.0-dev.11 06:08:11 f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 06:08:11 main 06:08:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:08:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:08:12 405d2f82eb14: Preparing 06:08:12 e9dd5296ffe2: Preparing 06:08:12 1410431dd1f6: Preparing 06:08:12 bb25bd7ed63b: Preparing 06:08:12 2d9c1de67494: Preparing 06:08:12 ce5a8cde9eee: Preparing 06:08:12 405d2f82eb14: Pushed 06:08:12 e9dd5296ffe2: Pushed 06:08:12 bb25bd7ed63b: Pushed 06:08:12 2d9c1de67494: Pushed 06:08:12 ce5a8cde9eee: Layer already exists 06:08:15 1410431dd1f6: Pushed 06:08:15 f916d0fb32b877ff84da90d820eba295f5bd4a5a: digest: sha256:bffed822da0ded92656bc25319cdfb55dfaca9cf6118184da7ecc08d1ad8848f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:08:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:08:16 405d2f82eb14: Preparing 06:08:16 e9dd5296ffe2: Preparing 06:08:16 1410431dd1f6: Preparing 06:08:16 bb25bd7ed63b: Preparing 06:08:16 2d9c1de67494: Preparing 06:08:16 ce5a8cde9eee: Preparing 06:08:16 ce5a8cde9eee: Waiting 06:08:16 bb25bd7ed63b: Layer already exists 06:08:16 405d2f82eb14: Layer already exists 06:08:16 2d9c1de67494: Layer already exists 06:08:16 e9dd5296ffe2: Layer already exists 06:08:16 1410431dd1f6: Layer already exists 06:08:16 ce5a8cde9eee: Layer already exists 06:08:16 latest: digest: sha256:bffed822da0ded92656bc25319cdfb55dfaca9cf6118184da7ecc08d1ad8848f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.11 06:08:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:08:16 405d2f82eb14: Preparing 06:08:16 e9dd5296ffe2: Preparing 06:08:16 1410431dd1f6: Preparing 06:08:16 bb25bd7ed63b: Preparing 06:08:16 2d9c1de67494: Preparing 06:08:16 ce5a8cde9eee: Preparing 06:08:16 ce5a8cde9eee: Waiting 06:08:16 405d2f82eb14: Layer already exists 06:08:16 e9dd5296ffe2: Layer already exists 06:08:16 2d9c1de67494: Layer already exists 06:08:16 1410431dd1f6: Layer already exists 06:08:16 bb25bd7ed63b: Layer already exists 06:08:16 ce5a8cde9eee: Layer already exists 06:08:16 4.0.0-dev.11: digest: sha256:bffed822da0ded92656bc25319cdfb55dfaca9cf6118184da7ecc08d1ad8848f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 06:08:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:08:17 405d2f82eb14: Preparing 06:08:17 e9dd5296ffe2: Preparing 06:08:17 1410431dd1f6: Preparing 06:08:17 bb25bd7ed63b: Preparing 06:08:17 2d9c1de67494: Preparing 06:08:17 ce5a8cde9eee: Preparing 06:08:17 405d2f82eb14: Layer already exists 06:08:17 1410431dd1f6: Layer already exists 06:08:17 2d9c1de67494: Layer already exists 06:08:17 bb25bd7ed63b: Layer already exists 06:08:17 e9dd5296ffe2: Layer already exists 06:08:17 ce5a8cde9eee: Layer already exists 06:08:17 f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11: digest: sha256:bffed822da0ded92656bc25319cdfb55dfaca9cf6118184da7ecc08d1ad8848f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:08:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:08:18 405d2f82eb14: Preparing 06:08:18 e9dd5296ffe2: Preparing 06:08:18 1410431dd1f6: Preparing 06:08:18 bb25bd7ed63b: Preparing 06:08:18 2d9c1de67494: Preparing 06:08:18 ce5a8cde9eee: Preparing 06:08:18 ce5a8cde9eee: Waiting 06:08:18 2d9c1de67494: Layer already exists 06:08:18 e9dd5296ffe2: Layer already exists 06:08:18 bb25bd7ed63b: Layer already exists 06:08:18 405d2f82eb14: Layer already exists 06:08:18 1410431dd1f6: Layer already exists 06:08:18 ce5a8cde9eee: Layer already exists 06:08:18 main: digest: sha256:bffed822da0ded92656bc25319cdfb55dfaca9cf6118184da7ecc08d1ad8848f size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:08:18 ===================================================== [Pipeline] echo 06:08:18 taggedImages: 06:08:18 - nexus3.edgexfoundry.org:10004/device-modbus:f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:08:18 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:08:18 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.11 06:08:18 - nexus3.edgexfoundry.org:10004/device-modbus:f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 06:08:18 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:18 06:08:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:18 latest: Pulling from edgex-lftools-log-publisher 06:08:18 5eb5b503b376: Pulling fs layer 06:08:18 5c69ac0246d0: Pulling fs layer 06:08:18 ec43610c2a17: Pulling fs layer 06:08:18 3a2ae6a8a46f: Pulling fs layer 06:08:18 33b1e0a273af: Pulling fs layer 06:08:18 5d3b04190fa2: Pulling fs layer 06:08:18 2f39f015ded8: Pulling fs layer 06:08:18 3a2ae6a8a46f: Waiting 06:08:18 33b1e0a273af: Waiting 06:08:18 5d3b04190fa2: Waiting 06:08:18 2f39f015ded8: Waiting 06:08:19 5c69ac0246d0: Download complete 06:08:19 3a2ae6a8a46f: Verifying Checksum 06:08:19 3a2ae6a8a46f: Download complete 06:08:19 33b1e0a273af: Verifying Checksum 06:08:19 33b1e0a273af: Download complete 06:08:19 5d3b04190fa2: Download complete 06:08:19 ec43610c2a17: Verifying Checksum 06:08:19 ec43610c2a17: Download complete 06:08:19 5eb5b503b376: Verifying Checksum 06:08:19 5eb5b503b376: Download complete 06:08:20 2f39f015ded8: Download complete 06:08:20 5eb5b503b376: Pull complete 06:08:20 5c69ac0246d0: Pull complete 06:08:21 ec43610c2a17: Pull complete 06:08:21 3a2ae6a8a46f: Pull complete 06:08:21 33b1e0a273af: Pull complete 06:08:21 5d3b04190fa2: Pull complete 06:08:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-36940 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:08:22 Running in /w/workspace/device-modbus-go/176 [Pipeline] { [Pipeline] checkout 06:08:22 The recommended git tool is: git 06:08:25 2f39f015ded8: Pull complete 06:08:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:25 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:08:28 using credential edgex-jenkins-ssh 06:08:28 Cloning the remote Git repository 06:08:28 $ docker top 56fcab4533f944aa3835502c92f6704f4846ad4cf04b45e9abdc0a610165c2e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:28 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:08:28 > git init /w/workspace/device-modbus-go/176 # timeout=10 06:08:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:08:28 > git --version # timeout=10 06:08:28 > git --version # 'git version 2.25.1' 06:08:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:28 ---> job-cost.sh 06:08:28 lf-activate-venv: SKIPPING 06:08:28 INFO: No Stack... 06:08:29 INFO: Retrieving Pricing Info for: v3-standard-8 06:08:29 INFO: Archiving Costs [Pipeline] sh 06:08:29 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:08:29 + cut -d, -f6 [Pipeline] lock 06:08:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] 06:08:29 Resource [jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] did not exist. Created. 06:08:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:30 + echo total: 0.2199999988079071 06:08:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] stash 06:08:30 Stashed 1 file(s) [Pipeline] } 06:08:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 06:08:30 $ docker stop --time=1 56fcab4533f944aa3835502c92f6704f4846ad4cf04b45e9abdc0a610165c2e0 06:08:31 $ docker rm -f --volumes 56fcab4533f944aa3835502c92f6704f4846ad4cf04b45e9abdc0a610165c2e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 06:08:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:08:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } 06:08:31 Avoid second fetch 06:08:31 Checking out Revision f916d0fb32b877ff84da90d820eba295f5bd4a5a (main) 06:08:32 Commit message: "Merge pull request #608 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.19" 06:08:31 > git config core.sparsecheckout # timeout=10 06:08:31 > git checkout -f f916d0fb32b877ff84da90d820eba295f5bd4a5a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:08:37 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:37 Dload Upload Total Spent Left Speed 06:08:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 73302 0 --:--:-- --:--:-- --:--:-- 73302 [Pipeline] sh 06:08:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:08:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 06:08:37 sudo tee /etc/docker/daemon.new 06:08:37 { 06:08:37 "registry-mirrors": [ 06:08:37 "https://nexus3.edgexfoundry.org:10001" 06:08:37 ], 06:08:37 "bip": "10.250.0.254/24", 06:08:37 "hosts": [ 06:08:37 "tcp://0.0.0.0:5555", 06:08:37 "unix:///var/run/docker.sock" 06:08:37 ], 06:08:37 "mtu": 1458, 06:08:37 "selinux-enabled": true, 06:08:37 "seccomp-profile": "/etc/docker/seccomp.json" 06:08:37 } [Pipeline] sh 06:08:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:08:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:56 provisioning config files... 06:08:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/176@tmp/config17305572001269096164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:57 ---> ****-login.sh 06:08:57 nexus3.edgexfoundry.org:10001 06:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:57 Configure a credential helper to remove this warning. See 06:08:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:57 06:08:57 Login Succeeded 06:08:57 nexus3.edgexfoundry.org:10002 06:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:58 Configure a credential helper to remove this warning. See 06:08:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:58 06:08:58 Login Succeeded 06:08:58 nexus3.edgexfoundry.org:10003 06:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:58 Configure a credential helper to remove this warning. See 06:08:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:58 06:08:58 Login Succeeded 06:08:58 nexus3.edgexfoundry.org:10004 06:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:58 Configure a credential helper to remove this warning. See 06:08:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:58 06:08:58 Login Succeeded 06:08:58 ****.io 06:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:59 Configure a credential helper to remove this warning. See 06:08:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:59 06:08:59 Login Succeeded 06:08:59 ---> ****-login.sh ends [Pipeline] } 06:08:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:08:59 ========================================================= 06:08:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:08:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:09:01 #0 building with "default" instance using docker driver 06:09:01 06:09:01 #1 [internal] load build definition from Dockerfile 06:09:01 #1 transferring dockerfile: 1.52kB 0.0s done 06:09:01 #1 DONE 0.1s 06:09:01 06:09:01 #2 [internal] load .dockerignore 06:09:01 #2 transferring context: 182B done 06:09:01 #2 DONE 0.1s 06:09:01 06:09:01 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:09:01 #3 DONE 0.1s 06:09:01 06:09:01 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:09:01 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 0.0s done 06:09:01 #4 sha256:63f30b955cb97fcd3b0f66c958b490aa2c7b3743d97e3fa179989d7288cc1b86 4.16kB / 4.16kB done 06:09:01 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 2.10MB / 4.09MB 0.2s 06:09:01 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 3.15MB / 70.67MB 0.2s 06:09:01 #4 sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 2.20kB / 2.20kB done 06:09:01 #4 sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 293.53kB / 293.53kB 0.1s done 06:09:01 #4 sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 126B / 126B 0.2s done 06:09:01 #4 sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 4.09MB / 4.09MB 0.3s done 06:09:01 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 7.34MB / 70.67MB 0.3s 06:09:01 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 06:09:01 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 06:09:01 #4 sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 441B / 441B 0.3s done 06:09:01 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 10.94MB / 70.67MB 0.4s 06:09:01 #4 sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 93B / 93B 0.3s done 06:09:01 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 2.10MB / 98.78MB 0.4s 06:09:01 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 0B / 12.74MB 0.4s 06:09:01 #4 ... 06:09:01 06:09:01 #5 [internal] load build context 06:09:01 #5 transferring context: 9.09MB 0.4s done 06:09:01 #5 DONE 0.5s 06:09:01 06:09:01 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine@sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:09:01 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 15.38MB / 70.67MB 0.5s 06:09:01 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.10MB / 12.74MB 0.5s 06:09:01 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 19.92MB / 70.67MB 0.6s 06:09:01 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 10.49MB / 98.78MB 0.6s 06:09:01 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 5.24MB / 12.74MB 0.6s 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 29.36MB / 70.67MB 0.8s 06:09:02 #4 extracting sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b 0.5s done 06:09:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 19.92MB / 98.78MB 0.8s 06:09:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 34.34MB / 70.67MB 0.9s 06:09:02 #4 sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 12.74MB / 12.74MB 0.8s done 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 39.85MB / 70.67MB 1.0s 06:09:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 29.36MB / 98.78MB 1.0s 06:09:02 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 50.33MB / 70.67MB 1.2s 06:09:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 38.80MB / 98.78MB 1.2s 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 55.57MB / 70.67MB 1.3s 06:09:02 #4 extracting sha256:1f018df607018fc7afb0d728a2fb6f074513e3643d68602c853060c087051a65 0.2s done 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 61.79MB / 70.67MB 1.4s 06:09:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 49.25MB / 98.78MB 1.4s 06:09:02 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 1.6s 06:09:02 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 60.82MB / 98.78MB 1.6s 06:09:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 67.11MB / 98.78MB 1.7s 06:09:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 73.40MB / 98.78MB 1.8s 06:09:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 79.69MB / 98.78MB 1.9s 06:09:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 85.98MB / 98.78MB 2.0s 06:09:03 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.2s 06:09:04 #4 sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 70.67MB / 70.67MB 2.7s done 06:09:04 #4 sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 98.78MB / 98.78MB 2.9s done 06:09:04 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 06:09:11 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 6.3s 06:09:16 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 11.4s 06:09:23 #4 extracting sha256:39f8f326b04424eb2027d1f0e3255fe568d71a5567f894a08cd86605ebe51c58 18.8s done 06:09:24 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 06:09:24 #4 extracting sha256:e6a1e7a6a96ab105c50cf54b70ed26c096e88ddd84d8a3473261c7f86b776356 done 06:09:24 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 06:09:24 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 06:09:24 #4 extracting sha256:d45d956e0dbfc71dc6db285af02877352bcad8f33faf81c6565624cf2fb9c1f1 done 06:09:24 #4 extracting sha256:d7702b0d1db1c4c128a6e3d3cbfac245e99cde78e26b05477ad200fe93059ae7 done 06:09:25 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 0.1s 06:09:30 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 5.3s 06:09:33 #4 extracting sha256:5c7f0f088c931c3ba46dae34adea94e543b36d32b649804bf332142d4ca519c3 8.3s done 06:09:33 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 06:09:35 #4 extracting sha256:4fdc064ae6cf8fe03812a1e02f59422b521989b5c1d3e5186ceb8b27d7592f89 2.0s done 06:09:35 #4 DONE 34.5s 06:09:35 06:09:35 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 06:09:36 #6 0.744 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:09:36 #6 1.095 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:09:38 #6 2.612 (1/8) Installing openssh-keygen (9.7_p1-r4) 06:09:38 #6 2.640 (2/8) Installing libedit (20240517.3.1-r0) 06:09:38 #6 2.653 (3/8) Installing openssh-client-common (9.7_p1-r4) 06:09:38 #6 2.718 (4/8) Installing openssh-client-default (9.7_p1-r4) 06:09:38 #6 2.745 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 06:09:38 #6 2.757 (6/8) Installing openssh-server-common (9.7_p1-r4) 06:09:38 #6 2.763 (7/8) Installing openssh-server (9.7_p1-r4) 06:09:38 #6 2.870 (8/8) Installing openssh (9.7_p1-r4) 06:09:38 #6 2.887 Executing busybox-1.36.1-r29.trigger 06:09:38 #6 2.926 OK: 245 MiB in 66 packages 06:09:40 #6 DONE 4.8s 06:09:40 06:09:40 #7 [builder 3/7] WORKDIR /device-modbus-go 06:09:40 #7 DONE 0.1s 06:09:40 06:09:40 #8 [builder 4/7] COPY go.mod vendor* ./ 06:09:40 #8 DONE 0.1s 06:09:40 06:09:40 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:13 #9 DONE 28.8s 06:10:13 06:10:13 #10 [builder 6/7] COPY . . 06:10:13 #10 DONE 0.3s 06:10:13 06:10:13 #11 [builder 7/7] RUN echo noop 06:10:13 #11 0.644 noop 06:10:13 #11 DONE 0.7s 06:10:13 06:10:13 #12 exporting to image 06:10:13 #12 exporting layers 06:10:45 #12 exporting layers 32.8s done 06:10:45 #12 writing image sha256:0396006cf01bd767307cb7ae51f4b121a6c8548a7041077b4522befea4111e48 done 06:10:45 #12 naming to docker.io/library/ci-base-image-arm64 done 06:10:45 #12 DONE 32.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:45 + docker inspect -f . ci-base-image-arm64 06:10:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:46 prd-ubuntu20.04-docker-arm64-4c-16g-36940 does not seem to be running inside a container 06:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/176 -v /w/workspace/device-modbus-go/176:/w/workspace/device-modbus-go/176:rw,z -v /w/workspace/device-modbus-go/176@tmp:/w/workspace/device-modbus-go/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:10:47 $ docker top c1d1c1f6de985d654e68ffed8cda8017c845d00842f2670d30c3cdbc10336952 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:48 + go version 06:10:48 go version go1.23.4 linux/arm64 [Pipeline] } 06:10:48 $ docker stop --time=1 c1d1c1f6de985d654e68ffed8cda8017c845d00842f2670d30c3cdbc10336952 06:10:50 $ docker rm -f --volumes c1d1c1f6de985d654e68ffed8cda8017c845d00842f2670d30c3cdbc10336952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:50 + docker inspect -f . ci-base-image-arm64 06:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-36940 does not seem to be running inside a container 06:10:51 $ 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/176 -v /w/workspace/device-modbus-go/176:/w/workspace/device-modbus-go/176:rw,z -v /w/workspace/device-modbus-go/176@tmp:/w/workspace/device-modbus-go/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:10:52 $ docker top d4fc0a8bf3366dbbba3b341e641fe8211aa50b3accea3885d55a82c49f39d0fe -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/176 [Pipeline] fileExists [Pipeline] sh 06:10:53 + make test 06:10:53 go test ./... -coverprofile=coverage.out 06:10:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:13:05 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:13:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 48.0% of statements 06:13:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:13:05 go vet ./... 06:13:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:13:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:13:31 ./bin/test-attribution-txt.sh [Pipeline] echo 06:13:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:13:31 $ docker stop --time=1 d4fc0a8bf3366dbbba3b341e641fe8211aa50b3accea3885d55a82c49f39d0fe 06:13:33 $ docker rm -f --volumes d4fc0a8bf3366dbbba3b341e641fe8211aa50b3accea3885d55a82c49f39d0fe [Pipeline] // withDockerContainer [Pipeline] sh 06:13:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:13:35 Warning: overwriting stash ‘coverage-report’ 06:13:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:13:37 + ls -al . 06:13:37 total 256 06:13:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:10 . 06:13:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 06:08 .. 06:13:37 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 06:08 .dockerignore 06:13:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 06:08 .git 06:13:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:08 .github 06:13:37 -rw-rw-r-- 1 jenkins jenkins 266 Jan 17 06:08 .gitignore 06:13:37 -rw-rw-r-- 1 jenkins jenkins 199 Jan 17 06:08 .golangci.yml 06:13:37 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 17 06:08 Attribution.txt 06:13:37 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 17 06:08 CHANGELOG.md 06:13:37 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 17 06:08 Dockerfile 06:13:37 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 06:08 GOVERNANCE.md 06:13:37 -rw-rw-r-- 1 jenkins jenkins 658 Jan 17 06:08 Jenkinsfile 06:13:37 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 06:08 LICENSE 06:13:37 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 17 06:08 Makefile 06:13:37 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 06:08 OWNERS.md 06:13:37 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 17 06:08 README.md 06:13:37 -rw-rw-r-- 1 jenkins jenkins 12 Jan 17 06:06 VERSION 06:13:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:08 bin 06:13:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:08 cmd 06:13:37 -rw-r--r-- 1 jenkins jenkins 25464 Jan 17 06:12 coverage.out 06:13:37 -rw-rw-r-- 1 jenkins jenkins 6390 Jan 17 06:08 go.mod 06:13:37 -rw-rw-r-- 1 jenkins jenkins 86976 Jan 17 06:08 go.sum 06:13:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 06:08 internal 06:13:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 06:08 simulator 06:13:37 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:37 + 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=f916d0fb32b877ff84da90d820eba295f5bd4a5a --label arch=arm64 --label version=4.0.0-dev.11 . 06:13:38 #0 building with "default" instance using docker driver 06:13:38 06:13:38 #1 [internal] load build definition from Dockerfile 06:13:38 #1 transferring dockerfile: 1.52kB 0.0s done 06:13:38 #1 DONE 0.0s 06:13:38 06:13:38 #2 [internal] load .dockerignore 06:13:38 #2 transferring context: 182B 0.0s done 06:13:38 #2 DONE 0.0s 06:13:38 06:13:38 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 06:13:38 #3 DONE 0.0s 06:13:38 06:13:38 #4 [internal] load metadata for docker.io/library/alpine:3.20 06:13:39 #4 DONE 0.8s 06:13:39 06:13:39 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:13:39 #5 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:13:39 #5 ... 06:13:39 06:13:39 #6 [internal] load build context 06:13:39 #6 transferring context: 33.88kB 0.1s done 06:13:39 #6 DONE 0.2s 06:13:39 06:13:39 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 06:13:39 #7 DONE 0.3s 06:13:39 06:13:39 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 06:13:39 #5 resolve docker.io/library/alpine:3.20@sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 0.2s done 06:13:39 #5 sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 9.22kB / 9.22kB done 06:13:39 #5 sha256:f398c8d5c6b54212a0d71bd3d9c6e08b2c2df51210f837187a6eb1280a284fdb 1.02kB / 1.02kB done 06:13:39 #5 sha256:f4194d9e8c10bd78a88786968a5d481b1c4cfe6c2676d732972c852d0f88a460 597B / 597B done 06:13:39 #5 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 1.05MB / 4.09MB 0.2s 06:13:39 #5 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 2.10MB / 4.09MB 0.3s 06:13:39 #5 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 3.15MB / 4.09MB 0.4s 06:13:39 #5 sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 4.09MB / 4.09MB 0.4s done 06:13:39 #5 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 06:13:40 #5 extracting sha256:0152682790bba2052e0b7dc52872083c01ea53c598fe87e3fe3eab5f9d4228cb 0.6s done 06:13:42 #5 DONE 2.9s 06:13:42 06:13:42 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:13:43 #8 1.758 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:13:43 #8 2.087 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:13:44 #8 ... 06:13:44 06:13:44 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh 06:13:44 #9 2.762 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:13:44 #9 3.222 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:13:44 #9 4.699 OK: 245 MiB in 66 packages 06:13:44 #9 DONE 5.1s 06:13:44 06:13:44 #10 [builder 3/7] WORKDIR /device-modbus-go 06:13:44 #10 DONE 0.1s 06:13:44 06:13:44 #11 [builder 4/7] COPY go.mod vendor* ./ 06:13:44 #11 DONE 0.2s 06:13:44 06:13:44 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 06:13:45 #8 3.848 (1/1) Installing dumb-init (1.2.5-r3) 06:13:45 #8 3.863 Executing busybox-1.36.1-r29.trigger 06:13:45 #8 3.896 OK: 9 MiB in 15 packages 06:13:46 #8 DONE 4.4s 06:13:46 06:13:46 #12 [stage-1 3/6] RUN apk --no-cache upgrade 06:13:46 #12 ... 06:13:46 06:13:46 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:46 #13 DONE 1.9s 06:13:46 06:13:46 #14 [builder 6/7] COPY . . 06:13:47 #14 DONE 0.4s 06:13:47 06:13:47 #15 [builder 7/7] RUN make build 06:13:48 #15 0.784 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:13:50 #15 ... 06:13:50 06:13:50 #12 [stage-1 3/6] RUN apk --no-cache upgrade 06:13:50 #12 1.230 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:13:50 #12 1.548 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:13:50 #12 3.248 OK: 9 MiB in 15 packages 06:13:50 #12 DONE 3.7s 06:13:50 06:13:50 #15 [builder 7/7] RUN make build 06:15:56 #15 DONE 125.3s 06:15:56 06:15:56 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 06:15:56 #16 DONE 0.3s 06:15:56 06:15:56 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 06:15:56 #17 DONE 0.1s 06:15:56 06:15:56 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 06:15:56 #18 DONE 0.1s 06:15:56 06:15:56 #19 exporting to image 06:15:56 #19 exporting layers 06:15:56 #19 exporting layers 0.4s done 06:15:56 #19 writing image sha256:549030da908526c7b09f4e01b40f7909c993989752c623ec5895ccd7702e77fb done 06:15:56 #19 naming to docker.io/library/device-modbus-arm64 done 06:15:56 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:57 provisioning config files... 06:15:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/176@tmp/config4307458334739509355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:57 ---> ****-login.sh 06:15:57 nexus3.edgexfoundry.org:10001 06:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:57 Configure a credential helper to remove this warning. See 06:15:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:57 06:15:57 Login Succeeded 06:15:57 nexus3.edgexfoundry.org:10002 06:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:58 Configure a credential helper to remove this warning. See 06:15:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:58 06:15:58 Login Succeeded 06:15:58 nexus3.edgexfoundry.org:10003 06:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:58 Configure a credential helper to remove this warning. See 06:15:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:58 06:15:58 Login Succeeded 06:15:58 nexus3.edgexfoundry.org:10004 06:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:58 Configure a credential helper to remove this warning. See 06:15:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:58 06:15:58 Login Succeeded 06:15:58 ****.io 06:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:15:58 Configure a credential helper to remove this warning. See 06:15:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:15:58 06:15:58 Login Succeeded 06:15:58 ---> ****-login.sh ends [Pipeline] } 06:15:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:15:59 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:15:59 f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:15:59 latest 06:15:59 4.0.0-dev.11 06:15:59 f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 06:15:59 main 06:15:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:15:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:15:59 f289923d004c: Preparing 06:15:59 ca30557dcbfe: Preparing 06:15:59 e179d33c0863: Preparing 06:15:59 5056e76e6467: Preparing 06:15:59 117bed0fb309: Preparing 06:15:59 534a70dc8296: Preparing 06:15:59 534a70dc8296: Waiting 06:15:59 ca30557dcbfe: Pushed 06:15:59 117bed0fb309: Pushed 06:15:59 5056e76e6467: Pushed 06:15:59 f289923d004c: Pushed 06:15:59 534a70dc8296: Layer already exists 06:16:08 e179d33c0863: Pushed 06:16:08 f916d0fb32b877ff84da90d820eba295f5bd4a5a: digest: sha256:6b262def0184e055e260378cb11615bf03321ffd2bb528188c5f160ec7ee6f2e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:16:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:16:08 f289923d004c: Preparing 06:16:08 ca30557dcbfe: Preparing 06:16:08 e179d33c0863: Preparing 06:16:08 5056e76e6467: Preparing 06:16:08 117bed0fb309: Preparing 06:16:08 534a70dc8296: Preparing 06:16:08 534a70dc8296: Waiting 06:16:08 117bed0fb309: Layer already exists 06:16:08 ca30557dcbfe: Layer already exists 06:16:08 5056e76e6467: Layer already exists 06:16:08 e179d33c0863: Layer already exists 06:16:08 f289923d004c: Layer already exists 06:16:08 534a70dc8296: Layer already exists 06:16:09 latest: digest: sha256:6b262def0184e055e260378cb11615bf03321ffd2bb528188c5f160ec7ee6f2e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.11 06:16:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:16:09 f289923d004c: Preparing 06:16:09 ca30557dcbfe: Preparing 06:16:09 e179d33c0863: Preparing 06:16:09 5056e76e6467: Preparing 06:16:09 117bed0fb309: Preparing 06:16:09 534a70dc8296: Preparing 06:16:09 534a70dc8296: Waiting 06:16:09 f289923d004c: Layer already exists 06:16:09 5056e76e6467: Layer already exists 06:16:09 117bed0fb309: Layer already exists 06:16:09 ca30557dcbfe: Layer already exists 06:16:09 e179d33c0863: Layer already exists 06:16:09 534a70dc8296: Layer already exists 06:16:09 4.0.0-dev.11: digest: sha256:6b262def0184e055e260378cb11615bf03321ffd2bb528188c5f160ec7ee6f2e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 06:16:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:16:10 f289923d004c: Preparing 06:16:10 ca30557dcbfe: Preparing 06:16:10 e179d33c0863: Preparing 06:16:10 5056e76e6467: Preparing 06:16:10 117bed0fb309: Preparing 06:16:10 534a70dc8296: Preparing 06:16:10 534a70dc8296: Waiting 06:16:10 5056e76e6467: Layer already exists 06:16:10 ca30557dcbfe: Layer already exists 06:16:10 e179d33c0863: Layer already exists 06:16:10 f289923d004c: Layer already exists 06:16:10 117bed0fb309: Layer already exists 06:16:10 534a70dc8296: Layer already exists 06:16:11 f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11: digest: sha256:6b262def0184e055e260378cb11615bf03321ffd2bb528188c5f160ec7ee6f2e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:16:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:16:11 f289923d004c: Preparing 06:16:11 ca30557dcbfe: Preparing 06:16:11 e179d33c0863: Preparing 06:16:11 5056e76e6467: Preparing 06:16:11 117bed0fb309: Preparing 06:16:11 534a70dc8296: Preparing 06:16:11 534a70dc8296: Waiting 06:16:11 ca30557dcbfe: Layer already exists 06:16:11 f289923d004c: Layer already exists 06:16:11 117bed0fb309: Layer already exists 06:16:11 5056e76e6467: Layer already exists 06:16:11 e179d33c0863: Layer already exists 06:16:11 534a70dc8296: Layer already exists 06:16:12 main: digest: sha256:6b262def0184e055e260378cb11615bf03321ffd2bb528188c5f160ec7ee6f2e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:16:12 ===================================================== [Pipeline] echo 06:16:12 taggedImages: 06:16:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f916d0fb32b877ff84da90d820eba295f5bd4a5a 06:16:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:16:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.11 06:16:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:f916d0fb32b877ff84da90d820eba295f5bd4a5a-4.0.0-dev.11 06:16:12 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:16:12 06:16:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:16:13 arm64: Pulling from edgex-lftools-log-publisher 06:16:13 8998bd30e6a1: Pulling fs layer 06:16:13 04944245beec: Pulling fs layer 06:16:13 699f458cf7ca: Pulling fs layer 06:16:13 765212b225bb: Pulling fs layer 06:16:13 f23df028b6ca: Pulling fs layer 06:16:13 d65c8cfc05b1: Pulling fs layer 06:16:13 2437ff75d9bd: Pulling fs layer 06:16:13 765212b225bb: Waiting 06:16:13 f23df028b6ca: Waiting 06:16:13 d65c8cfc05b1: Waiting 06:16:13 2437ff75d9bd: Waiting 06:16:13 04944245beec: Verifying Checksum 06:16:13 04944245beec: Download complete 06:16:13 765212b225bb: Download complete 06:16:13 f23df028b6ca: Verifying Checksum 06:16:13 f23df028b6ca: Download complete 06:16:13 d65c8cfc05b1: Verifying Checksum 06:16:13 d65c8cfc05b1: Download complete 06:16:13 699f458cf7ca: Verifying Checksum 06:16:13 699f458cf7ca: Download complete 06:16:13 8998bd30e6a1: Download complete 06:16:15 2437ff75d9bd: Verifying Checksum 06:16:15 2437ff75d9bd: Download complete 06:16:21 8998bd30e6a1: Pull complete 06:16:21 04944245beec: Pull complete 06:16:23 699f458cf7ca: Pull complete 06:16:23 765212b225bb: Pull complete 06:16:24 f23df028b6ca: Pull complete 06:16:24 d65c8cfc05b1: Pull complete 06:16:50 2437ff75d9bd: Pull complete 06:16:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:16:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:16:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:50 prd-ubuntu20.04-docker-arm64-4c-16g-36940 does not seem to be running inside a container 06:16:50 $ 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/176 -v /w/workspace/device-modbus-go/176:/w/workspace/device-modbus-go/176:rw,z -v /w/workspace/device-modbus-go/176@tmp:/w/workspace/device-modbus-go/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:16:52 $ docker top 66c684543f21edf876974686d71f46e411f771c2a0162df9c7f76fc3b702f435 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:53 ---> job-cost.sh 06:16:53 lf-activate-venv: SKIPPING 06:16:53 INFO: No Stack... 06:16:54 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:54 INFO: Archiving Costs [Pipeline] sh 06:16:55 + cat /w/workspace/device-modbus-go/176/archives/cost.csv 06:16:55 + cut -d, -f6 [Pipeline] lock 06:16:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] 06:16:55 Resource [jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] did not exist. Created. 06:16:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:55 /w/workspace/device-modbus-go/176@tmp/durable-61a4b592/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:16:56 + echo total: 0.2199999988079071 [Pipeline] stash 06:16:56 Warning: overwriting stash ‘stack-cost’ 06:16:56 Stashed 1 file(s) [Pipeline] } 06:16:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:56 $ docker stop --time=1 66c684543f21edf876974686d71f46e411f771c2a0162df9c7f76fc3b702f435 06:16:57 $ docker rm -f --volumes 66c684543f21edf876974686d71f46e411f771c2a0162df9c7f76fc3b702f435 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:16:57 provisioning config files... 06:16:57 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2223247266363677005tmp [Pipeline] { [Pipeline] sh 06:16:58 + set +x 06:16:58 + curl -s https://codecov.io/bash 06:16:58 + bash -s -- 06:16:58 06:16:58 _____ _ 06:16:58 / ____| | | 06:16:58 | | ___ __| | ___ ___ _____ __ 06:16:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:16:58 | |___| (_) | (_| | __/ (_| (_) \ V / 06:16:58 \_____\___/ \__,_|\___|\___\___/ \_/ 06:16:58 Bash-1.0.6 06:16:58 06:16:58 06:16:58 ==> git version 2.25.1 found 06:16:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:16:58 Release-Date: 2020-01-08 06:16:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:16:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:16:58 ==> Jenkins CI detected. 06:16:58 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:16:58 project root: . 06:16:58 --> token set from env 06:16:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:16:58 ==> Running gcov in . (disable via -X gcov) 06:16:58 ==> Python coveragepy not found 06:16:58 ==> Searching for coverage reports in: 06:16:58 + . 06:16:58 -> Found 1 reports 06:16:58 ==> Detecting git/mercurial file structure 06:16:58 ==> Reading reports 06:16:58 + ./coverage.out bytes=25464 06:16:58 ==> Appending adjustments 06:16:58 https://docs.codecov.io/docs/fixing-reports 06:16:58 + Found adjustments 06:16:58 ==> Gzipping contents 06:16:58 4.0K /tmp/codecov.rJcMlc.gz 06:16:58 ==> Uploading reports 06:16:58 url: https://codecov.io 06:16:58 query: branch=main&commit=f916d0fb32b877ff84da90d820eba295f5bd4a5a&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:16:58 -> Pinging Codecov 06:16:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f916d0fb32b877ff84da90d820eba295f5bd4a5a&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:16:58 -> Uploading to 06:16:58 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/f916d0fb32b877ff84da90d820eba295f5bd4a5a/3c820e37-51d5-4d95-a1e2-655da5f792e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250117%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250117T061658Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7b71d6347571213b487932fff704c8718dced5b9f4d2439de8bf85dc79a5cf28 06:16:58 % Total % Received % Xferd Average Speed Time Time Time Current 06:16:58 Dload Upload Total Spent Left Speed 06:16:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 25532 --:--:-- --:--:-- --:--:-- 25532 06:16:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] } 06:16:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:16:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:16:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:16:59 06:16:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:16:59 latest: Pulling from edgex-devops/edgex-snyk-go 06:16:59 43c4264eed91: Pulling fs layer 06:16:59 4cc291be95ef: Pulling fs layer 06:16:59 2ac1f1163629: Pulling fs layer 06:16:59 5c3c966382ef: Pulling fs layer 06:16:59 4f4fb700ef54: Pulling fs layer 06:16:59 d9c7d2e4e75e: Pulling fs layer 06:16:59 9c3e1370e548: Pulling fs layer 06:16:59 5c3c966382ef: Waiting 06:16:59 4f4fb700ef54: Waiting 06:16:59 d9c7d2e4e75e: Waiting 06:16:59 9c3e1370e548: Waiting 06:16:59 4cc291be95ef: Verifying Checksum 06:16:59 4cc291be95ef: Download complete 06:16:59 5c3c966382ef: Verifying Checksum 06:16:59 5c3c966382ef: Download complete 06:16:59 4f4fb700ef54: Verifying Checksum 06:16:59 4f4fb700ef54: Download complete 06:16:59 43c4264eed91: Download complete 06:16:59 43c4264eed91: Pull complete 06:16:59 d9c7d2e4e75e: Verifying Checksum 06:16:59 d9c7d2e4e75e: Download complete 06:16:59 4cc291be95ef: Pull complete 06:17:00 2ac1f1163629: Download complete 06:17:00 9c3e1370e548: Verifying Checksum 06:17:00 9c3e1370e548: Download complete 06:17:04 2ac1f1163629: Pull complete 06:17:04 5c3c966382ef: Pull complete 06:17:04 4f4fb700ef54: Pull complete 06:17:04 d9c7d2e4e75e: Pull complete 06:17:07 9c3e1370e548: Pull complete 06:17:07 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:17:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:07 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:17:09 $ docker top 4aa31e5ba8d4f257073e0bae953cf48e83977bea9299a28a42a7456125f13ed4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:17:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:17:10 + set -o pipefail 06:17:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:17:16 06:17:16 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:17:16 06:17:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/df3543ef-c487-4a98-bd48-c256039ae626 06:17:16 06:17:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:17:16 06:17:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:17:16 06:17:16 06:17:16 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:17:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:17:17 $ docker stop --time=1 4aa31e5ba8d4f257073e0bae953cf48e83977bea9299a28a42a7456125f13ed4 06:17:19 $ docker rm -f --volumes 4aa31e5ba8d4f257073e0bae953cf48e83977bea9299a28a42a7456125f13ed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:20 + git log --format=format:%s -1 f916d0fb32b877ff84da90d820eba295f5bd4a5a [Pipeline] sh 06:17:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:21 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:17:21 $ docker top 72675dd021a1eae42984c84f3ef217601e229ed27a2dcc5f66f1d965c7532911 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:21 [ssh-agent] Looking for ssh-agent implementation... 06:17:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:21 $ docker exec 72675dd021a1eae42984c84f3ef217601e229ed27a2dcc5f66f1d965c7532911 ssh-agent 06:17:22 SSH_AUTH_SOCK=/tmp/ssh-2Az9JpKmW09n/agent.32 06:17:22 SSH_AGENT_PID=38 06:17:22 Running ssh-add (command line suppressed) 06:17:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5660855129321989649.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5660855129321989649.key) 06:17:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:22 + git semver tag 06:17:22 2025-01-17 06:17:22,712 [run_tag] DEBUG tag force:False 06:17:22 2025-01-17 06:17:22,712 [check_head_tag] DEBUG check head tag 06:17:22 2025-01-17 06:17:22,713 [execute] INFO git cat-file --batch-check 06:17:22 2025-01-17 06:17:22,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:17:22 2025-01-17 06:17:22,717 [execute] INFO git cat-file --batch 06:17:22 2025-01-17 06:17:22,718 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:17:22 2025-01-17 06:17:22,739 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:22 2025-01-17 06:17:22,739 [execute] INFO git tag -a v4.0.0-dev.11 -m v4.0.0-dev.11 06:17:22 2025-01-17 06:17:22,739 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.11', '-m', 'v4.0.0-dev.11'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:17:22 2025-01-17 06:17:22,745 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:22 4.0.0-dev.11 [Pipeline] } 06:17:22 $ docker exec --env ******** --env ******** 72675dd021a1eae42984c84f3ef217601e229ed27a2dcc5f66f1d965c7532911 ssh-agent -k 06:17:22 unset SSH_AUTH_SOCK; 06:17:22 unset SSH_AGENT_PID; 06:17:22 echo Agent pid 38 killed; 06:17:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:23 + git semver [Pipeline] } 06:17:23 $ docker stop --time=1 72675dd021a1eae42984c84f3ef217601e229ed27a2dcc5f66f1d965c7532911 06:17:24 $ docker rm -f --volumes 72675dd021a1eae42984c84f3ef217601e229ed27a2dcc5f66f1d965c7532911 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:25 06:17:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:25 0.23.1-centos7: Pulling from edgex-lftools 06:17:25 ab5ef0e58194: Pulling fs layer 06:17:25 9712f1f96733: Pulling fs layer 06:17:25 63f879dbbcfc: Pulling fs layer 06:17:25 0d9ebad4ef96: Pulling fs layer 06:17:25 e9a5061849ea: Pulling fs layer 06:17:25 d747dcd14b5f: Pulling fs layer 06:17:25 2de7ff778b66: Pulling fs layer 06:17:25 0d9ebad4ef96: Waiting 06:17:25 e9a5061849ea: Waiting 06:17:25 d747dcd14b5f: Waiting 06:17:25 9712f1f96733: Verifying Checksum 06:17:25 9712f1f96733: Download complete 06:17:25 63f879dbbcfc: Verifying Checksum 06:17:25 63f879dbbcfc: Download complete 06:17:26 e9a5061849ea: Verifying Checksum 06:17:26 e9a5061849ea: Download complete 06:17:26 d747dcd14b5f: Verifying Checksum 06:17:26 0d9ebad4ef96: Verifying Checksum 06:17:26 0d9ebad4ef96: Download complete 06:17:26 ab5ef0e58194: Download complete 06:17:26 2de7ff778b66: Verifying Checksum 06:17:26 2de7ff778b66: Download complete 06:17:28 ab5ef0e58194: Pull complete 06:17:28 9712f1f96733: Pull complete 06:17:29 63f879dbbcfc: Pull complete 06:17:33 0d9ebad4ef96: Pull complete 06:17:33 e9a5061849ea: Pull complete 06:17:33 d747dcd14b5f: Pull complete 06:17:34 2de7ff778b66: Pull complete 06:17:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:17:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:34 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:17:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:17:37 $ docker top ac7f589108d4e35bd73b3efa4f0fa67cdb6f3ddb598b4539806c3fb0b2edb103 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:17:37 provisioning config files... 06:17:37 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8942990977928523445tmp 06:17:37 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14028800820759160717tmp 06:17:37 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5410102066469433549tmp [Pipeline] { [Pipeline] echo 06:17:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:17:37 ---> sigul-configuration.sh 06:17:37 gpg: directory `/root/.gnupg' created 06:17:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:17:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:17:37 gpg: keyring `/root/.gnupg/secring.gpg' created 06:17:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:17:37 gpg: CAST5 encrypted data 06:17:37 gpg: encrypted with 1 passphrase 06:17:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:17:37 + mkdir /home/jenkins 06:17:37 + mkdir /home/jenkins/sigul [Pipeline] sh 06:17:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:17:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:17:38 ---> sigul-install.sh 06:17:38 Sigul already installed; skipping installation. [Pipeline] sh 06:17:38 + git tag --list 06:17:38 0.7.1 06:17:38 v1.0.0 06:17:38 v1.1.0 06:17:38 v1.1.1 06:17:38 v1.2.2 06:17:38 v1.3.0 06:17:38 v1.3.1 06:17:38 v2.0.0 06:17:38 v2.1.0 06:17:38 v2.1.1 06:17:38 v2.2.0 06:17:38 v2.3.0 06:17:38 v3.0 06:17:38 v3.0.0 06:17:38 v3.1 06:17:38 v3.1.0 06:17:38 v3.1.0-dev.1 06:17:38 v3.1.0-dev.10 06:17:38 v3.1.0-dev.11 06:17:38 v3.1.0-dev.12 06:17:38 v3.1.0-dev.13 06:17:38 v3.1.0-dev.14 06:17:38 v3.1.0-dev.15 06:17:38 v3.1.0-dev.16 06:17:38 v3.1.0-dev.17 06:17:38 v3.1.0-dev.18 06:17:38 v3.1.0-dev.19 06:17:38 v3.1.0-dev.2 06:17:38 v3.1.0-dev.20 06:17:38 v3.1.0-dev.21 06:17:38 v3.1.0-dev.22 06:17:38 v3.1.0-dev.23 06:17:38 v3.1.0-dev.24 06:17:38 v3.1.0-dev.25 06:17:38 v3.1.0-dev.3 06:17:38 v3.1.0-dev.4 06:17:38 v3.1.0-dev.5 06:17:38 v3.1.0-dev.6 06:17:38 v3.1.0-dev.7 06:17:38 v3.1.0-dev.8 06:17:38 v3.1.0-dev.9 06:17:38 v3.1.1 06:17:38 v3.1.1-dev.1 06:17:38 v3.2.0-dev.1 06:17:38 v3.2.0-dev.10 06:17:38 v3.2.0-dev.11 06:17:38 v3.2.0-dev.12 06:17:38 v3.2.0-dev.13 06:17:38 v3.2.0-dev.14 06:17:38 v3.2.0-dev.15 06:17:38 v3.2.0-dev.16 06:17:38 v3.2.0-dev.17 06:17:38 v3.2.0-dev.18 06:17:38 v3.2.0-dev.19 06:17:38 v3.2.0-dev.2 06:17:38 v3.2.0-dev.20 06:17:38 v3.2.0-dev.21 06:17:38 v3.2.0-dev.22 06:17:38 v3.2.0-dev.23 06:17:38 v3.2.0-dev.24 06:17:38 v3.2.0-dev.25 06:17:38 v3.2.0-dev.26 06:17:38 v3.2.0-dev.3 06:17:38 v3.2.0-dev.4 06:17:38 v3.2.0-dev.5 06:17:38 v3.2.0-dev.6 06:17:38 v3.2.0-dev.7 06:17:38 v3.2.0-dev.8 06:17:38 v3.2.0-dev.9 06:17:38 v4.0.0-dev.1 06:17:38 v4.0.0-dev.10 06:17:38 v4.0.0-dev.11 06:17:38 v4.0.0-dev.2 06:17:38 v4.0.0-dev.3 06:17:38 v4.0.0-dev.4 06:17:38 v4.0.0-dev.5 06:17:38 v4.0.0-dev.6 06:17:38 v4.0.0-dev.7 06:17:38 v4.0.0-dev.8 06:17:38 v4.0.0-dev.9 [Pipeline] sh 06:17:39 + lftools sign git-tag v4.0.0-dev.11 06:17:39 Signing Git tag with Sigul... 06:17:39 Signing v4.0.0-dev.11 [Pipeline] echo 06:17:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:17:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:17:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:17:40 $ docker stop --time=1 ac7f589108d4e35bd73b3efa4f0fa67cdb6f3ddb598b4539806c3fb0b2edb103 06:17:41 $ docker rm -f --volumes ac7f589108d4e35bd73b3efa4f0fa67cdb6f3ddb598b4539806c3fb0b2edb103 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:17:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:42 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:17:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:17:42 $ docker top 942d28474075ee1c42fe15dd87164c824b40af850de88c7384408f3375509c77 -eo pid,comm 06:17:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:17:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:42 [ssh-agent] Looking for ssh-agent implementation... 06:17:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:42 $ docker exec 942d28474075ee1c42fe15dd87164c824b40af850de88c7384408f3375509c77 ssh-agent 06:17:43 SSH_AUTH_SOCK=/tmp/ssh-0rS7ticj7Wjc/agent.31 06:17:43 SSH_AGENT_PID=37 06:17:43 Running ssh-add (command line suppressed) 06:17:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10191542785542216308.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10191542785542216308.key) 06:17:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:43 + git semver bump pre 06:17:43 2025-01-17 06:17:43,636 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:43 2025-01-17 06:17:43,636 [bump_version] DEBUG bumping version:4.0.0-dev.11 on axis:pre with prefix:dev 06:17:43 2025-01-17 06:17:43,636 [bump_version] DEBUG bumped version:4.0.0-dev.12 06:17:43 2025-01-17 06:17:43,636 [write_version] DEBUG write version:4.0.0-dev.12 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:17:43 2025-01-17 06:17:43,636 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:43 2025-01-17 06:17:43,636 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:43 2025-01-17 06:17:43,638 [execute] INFO git cat-file --batch-check 06:17:43 2025-01-17 06:17:43,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:17:43 2025-01-17 06:17:43,643 [execute] INFO git cat-file --batch 06:17:43 2025-01-17 06:17:43,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:17:43 2025-01-17 06:17:43,649 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:43 4.0.0-dev.12 [Pipeline] } 06:17:43 $ docker exec --env ******** --env ******** 942d28474075ee1c42fe15dd87164c824b40af850de88c7384408f3375509c77 ssh-agent -k 06:17:43 unset SSH_AUTH_SOCK; 06:17:43 unset SSH_AGENT_PID; 06:17:43 echo Agent pid 37 killed; 06:17:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:44 + git semver [Pipeline] } 06:17:44 $ docker stop --time=1 942d28474075ee1c42fe15dd87164c824b40af850de88c7384408f3375509c77 06:17:45 $ docker rm -f --volumes 942d28474075ee1c42fe15dd87164c824b40af850de88c7384408f3375509c77 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:46 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:17:46 $ docker top 1f21e222a868cec0473d07284fc89e123aba3fb3aaea211b3c77a0ce8c955015 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:46 [ssh-agent] Looking for ssh-agent implementation... 06:17:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:47 $ docker exec 1f21e222a868cec0473d07284fc89e123aba3fb3aaea211b3c77a0ce8c955015 ssh-agent 06:17:47 SSH_AUTH_SOCK=/tmp/ssh-mdw6pj9W7E1w/agent.31 06:17:47 SSH_AGENT_PID=37 06:17:47 Running ssh-add (command line suppressed) 06:17:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16093956462724151056.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16093956462724151056.key) 06:17:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:47 + git semver push 06:17:47 2025-01-17 06:17:47,696 [run_push] DEBUG push 06:17:47 2025-01-17 06:17:47,697 [execute] INFO git cat-file --batch-check 06:17:47 2025-01-17 06:17:47,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:17:47 2025-01-17 06:17:47,701 [execute] INFO git rev-list a820bd14188e53d044ac5498dd53c1238f2edc6e -- 06:17:47 2025-01-17 06:17:47,701 [execute] DEBUG Popen(['git', 'rev-list', 'a820bd14188e53d044ac5498dd53c1238f2edc6e', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:17:47 2025-01-17 06:17:47,711 [execute] INFO git fetch -v origin 06:17:47 2025-01-17 06:17:47,711 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:17:48 2025-01-17 06:17:48,157 [run_push] DEBUG no remote changes detected 06:17:48 2025-01-17 06:17:48,157 [execute] INFO git push origin semver 06:17:48 2025-01-17 06:17:48,158 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:17:48 2025-01-17 06:17:48,822 [run_push] DEBUG push all version tags 06:17:48 2025-01-17 06:17:48,823 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:17:48 2025-01-17 06:17:48,823 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:17:49 2025-01-17 06:17:49,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:17:49 4.0.0-dev.12 [Pipeline] } 06:17:49 $ docker exec --env ******** --env ******** 1f21e222a868cec0473d07284fc89e123aba3fb3aaea211b3c77a0ce8c955015 ssh-agent -k 06:17:49 unset SSH_AUTH_SOCK; 06:17:49 unset SSH_AGENT_PID; 06:17:49 echo Agent pid 37 killed; 06:17:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:49 + git semver [Pipeline] } 06:17:50 $ docker stop --time=1 1f21e222a868cec0473d07284fc89e123aba3fb3aaea211b3c77a0ce8c955015 06:17:51 $ docker rm -f --volumes 1f21e222a868cec0473d07284fc89e123aba3fb3aaea211b3c77a0ce8c955015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:17:52 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:17:52 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:17:52 total 16 06:17:52 drwxr-xr-x 3 root root 4096 Jan 17 06:08 . 06:17:52 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 06:17 .. 06:17:52 drwxr-xr-x 2 root root 4096 Jan 17 06:08 cost 06:17:52 -rw-r--r-- 1 root root 88 Jan 17 06:08 cost.csv 06:17:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:17:52 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:17:52 total 16 06:17:52 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 06:08 . 06:17:52 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 06:17 .. 06:17:52 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 06:08 cost 06:17:52 -rw-r--r-- 1 jenkins jenkins 88 Jan 17 06:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:17:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:17:53 ---> package-listing.sh 06:17:53 ++ facter osfamily 06:17:53 ++ tr '[:upper:]' '[:lower:]' 06:17:53 + OS_FAMILY=debian 06:17:53 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:17:53 + START_PACKAGES=/tmp/packages_start.txt 06:17:53 + END_PACKAGES=/tmp/packages_end.txt 06:17:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:17:53 + PACKAGES=/tmp/packages_start.txt 06:17:53 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:17:53 + PACKAGES=/tmp/packages_end.txt 06:17:53 + case "${OS_FAMILY}" in 06:17:53 + dpkg -l 06:17:53 + grep '^ii' 06:17:53 + '[' -f /tmp/packages_start.txt ']' 06:17:53 + '[' -f /tmp/packages_end.txt ']' 06:17:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:17:53 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:17:53 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:17:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:17:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:17:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:54 prd-ubuntu20.04-docker-8c-8g-36938 does not seem to be running inside a container 06:17:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:54 $ docker top 1cbff133f60a070a258b08c5428393e7e700b96308cdedaf8f85855ace7a5543 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:17:55 + mkdir -p /var/log/sysstat [Pipeline] sh 06:17:55 + ls /var/log/sa-host 06:17:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:55 provisioning config files... 06:17:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14336363333763000413tmp [Pipeline] { [Pipeline] echo 06:17:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:17:56 ---> create-netrc.sh [Pipeline] } 06:17:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:17:56 ---> python-tools-install.sh [Pipeline] echo 06:17:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:17:56 ---> sudo-logs.sh 06:17:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:17:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:17:57 ---> job-cost.sh 06:17:57 lf-activate-venv: SKIPPING 06:17:57 DEBUG: total: 0.2199999988079071 06:17:57 INFO: Retrieving Stack Cost... 06:17:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:58 INFO: Archiving Costs [Pipeline] echo 06:17:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:17:58 ---> logs-deploy.sh 06:17:58 lf-activate-venv: SKIPPING 06:17:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/176 06:17:58 INFO: archiving workspace using pattern(s): 06:17:59 Archives upload complete. 06:17:59 INFO: archiving logs to Nexus