Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aac4c7d4bf7ab00be6801211183b9038e4c857bf 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-ssh12286540197674094825.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5481001432646907109.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3694419543563928974.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh10973977498160323659.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-ssh18398152047217749551.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26240’ Running on prd-ubuntu20.04-docker-8c-8g-26244 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 > 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 Avoid second fetch Checking out Revision aac4c7d4bf7ab00be6801211183b9038e4c857bf (main) Commit message: "Merge pull request #592 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.6" > git config core.sparsecheckout # timeout=10 > git checkout -f aac4c7d4bf7ab00be6801211183b9038e4c857bf # timeout=10 > git rev-list --no-walk 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:53:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:48 ========================================================= 05:53:48 EdgeX Global Pipelines Version Info 05:53:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:48 ------------------- 05:53:48 stable info: 05:53:48 ------------------- 05:53:48 Commited By: Ginny Guan ginny@iotechsys.com 05:53:48 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:53:48 Message: update stable to v1.0.265 05:53:49 ------------------- 05:53:49 experimental info: 05:53:49 ------------------- 05:53:49 Commited By: Cherry Wang cherry@iotechsys.com 05:53:49 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:53:49 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aac4c7d [Pipeline] echo 05:53:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:50 provisioning config files... 05:53:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6561576376981348186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:50 ---> ****-login.sh 05:53:50 nexus3.edgexfoundry.org:10001 05:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:50 Configure a credential helper to remove this warning. See 05:53:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:50 05:53:50 Login Succeeded 05:53:50 nexus3.edgexfoundry.org:10002 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 nexus3.edgexfoundry.org:10003 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 nexus3.edgexfoundry.org:10004 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 ****.io 05:53:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:51 Configure a credential helper to remove this warning. See 05:53:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:51 05:53:51 Login Succeeded 05:53:51 ---> ****-login.sh ends [Pipeline] } 05:53:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:53:52 + git rev-list -1 --merges aac4c7d4bf7ab00be6801211183b9038e4c857bf~1..aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] echo 05:53:52 -----------> git rev-list -1 --merges aac4c7d4bf7ab00be6801211183b9038e4c857bf~1..aac4c7d4bf7ab00be6801211183b9038e4c857bf aac4c7d4bf7ab00be6801211183b9038e4c857bf 05:53:52 aac4c7d4bf7ab00be6801211183b9038e4c857bf [false] [Pipeline] sh 05:53:52 + git log --format=format:%s -1 aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] echo 05:53:52 ========================================================= 05:53:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:53:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:52 + git log --format=format:%s -1 aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] echo 05:53:52 [semverPrep] GIT_COMMIT: aac4c7d4bf7ab00be6801211183b9038e4c857bf, Commit Message: Merge pull request #592 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.6 [Pipeline] echo 05:53:52 [semverPrep] This is not a build commit. [Pipeline] sh 05:53:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:53:53 + grep -v github /etc/ssh/ssh_known_hosts 05:53:53 + [ -e /tmp/ssh_known_hosts ] 05:53:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:53:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:53:53 + sudo tee -a /etc/ssh/ssh_known_hosts 05:53:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:53 05:53:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:53 0.1.4: Pulling from edgex-devops/py-git-semver 05:53:53 b85a868b505f: Pulling fs layer 05:53:53 e2be974225ed: Pulling fs layer 05:53:53 339a4e72a1f5: Pulling fs layer 05:53:53 988bab9f4d93: Pulling fs layer 05:53:53 1469e6f7b9e6: Pulling fs layer 05:53:53 eaf3925da568: Pulling fs layer 05:53:53 bab4dde63d76: Pulling fs layer 05:53:53 bde34c3a00c8: Pulling fs layer 05:53:53 b352a97aabf1: Pulling fs layer 05:53:53 4872d77fe225: Pulling fs layer 05:53:53 5851b861e8e6: Pulling fs layer 05:53:53 988bab9f4d93: Waiting 05:53:53 1469e6f7b9e6: Waiting 05:53:53 eaf3925da568: Waiting 05:53:53 bab4dde63d76: Waiting 05:53:53 bde34c3a00c8: Waiting 05:53:53 b352a97aabf1: Waiting 05:53:53 4872d77fe225: Waiting 05:53:53 5851b861e8e6: Waiting 05:53:53 e2be974225ed: Verifying Checksum 05:53:53 e2be974225ed: Download complete 05:53:53 988bab9f4d93: Verifying Checksum 05:53:53 988bab9f4d93: Download complete 05:53:53 1469e6f7b9e6: Verifying Checksum 05:53:53 1469e6f7b9e6: Download complete 05:53:53 339a4e72a1f5: Verifying Checksum 05:53:53 339a4e72a1f5: Download complete 05:53:53 eaf3925da568: Download complete 05:53:54 bde34c3a00c8: Verifying Checksum 05:53:54 bde34c3a00c8: Download complete 05:53:54 b352a97aabf1: Download complete 05:53:54 4872d77fe225: Download complete 05:53:54 5851b861e8e6: Verifying Checksum 05:53:54 5851b861e8e6: Download complete 05:53:54 b85a868b505f: Verifying Checksum 05:53:54 b85a868b505f: Download complete 05:53:54 bab4dde63d76: Verifying Checksum 05:53:54 bab4dde63d76: Download complete 05:53:55 b85a868b505f: Pull complete 05:53:55 e2be974225ed: Pull complete 05:53:55 339a4e72a1f5: Pull complete 05:53:55 988bab9f4d93: Pull complete 05:53:56 1469e6f7b9e6: Pull complete 05:53:56 eaf3925da568: Pull complete 05:53:57 bab4dde63d76: Pull complete 05:53:57 bde34c3a00c8: Pull complete 05:53:58 b352a97aabf1: Pull complete 05:53:58 4872d77fe225: Pull complete 05:53:58 5851b861e8e6: Pull complete 05:53:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:58 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 05:53:58 $ 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 05:54:01 $ docker top d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc -eo pid,comm 05:54:01 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). 05:54:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:01 [ssh-agent] Looking for ssh-agent implementation... 05:54:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:01 $ docker exec d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc ssh-agent 05:54:01 SSH_AUTH_SOCK=/tmp/ssh-1E4Wb1HxBkx8/agent.32 05:54:01 SSH_AGENT_PID=38 05:54:01 Running ssh-add (command line suppressed) 05:54:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1194333746599009061.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1194333746599009061.key) 05:54:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:02 + git tag --points-at HEAD [Pipeline] } 05:54:02 $ docker exec --env ******** --env ******** d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc ssh-agent -k 05:54:02 unset SSH_AUTH_SOCK; 05:54:02 unset SSH_AGENT_PID; 05:54:02 echo Agent pid 38 killed; 05:54:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:54:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:02 [ssh-agent] Looking for ssh-agent implementation... 05:54:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:02 $ docker exec d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc ssh-agent 05:54:02 SSH_AUTH_SOCK=/tmp/ssh-9kuKL8ZQBYMf/agent.71 05:54:02 SSH_AGENT_PID=77 05:54:02 Running ssh-add (command line suppressed) 05:54:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13302046521776461208.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13302046521776461208.key) 05:54:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:02 + git semver init 05:54:03 2024-11-12 05:54:03,125 [run_init] DEBUG init version:0.0.0 force:False 05:54:03 2024-11-12 05:54:03,126 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:54:03 2024-11-12 05:54:03,126 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:54:03 2024-11-12 05:54:03,127 [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) 05:54:04 2024-11-12 05:54:04,068 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:54:04 2024-11-12 05:54:04,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:54:04 2024-11-12 05:54:04,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:54:04 2024-11-12 05:54:04,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:54:04 4.0.0-dev.5 [Pipeline] } 05:54:04 $ docker exec --env ******** --env ******** d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc ssh-agent -k 05:54:04 unset SSH_AUTH_SOCK; 05:54:04 unset SSH_AGENT_PID; 05:54:04 echo Agent pid 77 killed; 05:54:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:04 + git semver [Pipeline] } 05:54:04 $ docker stop --time=1 d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc 05:54:06 $ docker rm -f --volumes d3b39cc560c2eb1ec710e0529b9812ac5fb77b6f45caca654cbf7929f9c302fc [Pipeline] // withDockerContainer [Pipeline] sh 05:54:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:54:06 Stashed 1 file(s) [Pipeline] echo 05:54:06 [edgeXSemver]: initialized semver on version 4.0.0-dev.5 [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 05:54:06 provisioning config files... 05:54:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11729271680246613992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:07 ---> ****-login.sh 05:54:07 nexus3.edgexfoundry.org:10001 05:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:07 Configure a credential helper to remove this warning. See 05:54:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:07 05:54:07 Login Succeeded 05:54:07 nexus3.edgexfoundry.org:10002 05:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:07 Configure a credential helper to remove this warning. See 05:54:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:07 05:54:07 Login Succeeded 05:54:07 nexus3.edgexfoundry.org:10003 05:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:07 Configure a credential helper to remove this warning. See 05:54:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:07 05:54:07 Login Succeeded 05:54:07 nexus3.edgexfoundry.org:10004 05:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:07 Configure a credential helper to remove this warning. See 05:54:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:07 05:54:07 Login Succeeded 05:54:07 ****.io 05:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:07 Configure a credential helper to remove this warning. See 05:54:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:07 05:54:07 Login Succeeded 05:54:07 ---> ****-login.sh ends [Pipeline] } 05:54:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:07 ========================================================= 05:54:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:54:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:08 + 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 . 05:54:08 Sending build context to Docker daemon 18.03MB 05:54:08 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:54:08 Step 2/10 : FROM ${BASE} AS builder 05:54:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:54:08 43c4264eed91: Pulling fs layer 05:54:08 4cc291be95ef: Pulling fs layer 05:54:08 2ac1f1163629: Pulling fs layer 05:54:08 5c3c966382ef: Pulling fs layer 05:54:08 4f4fb700ef54: Pulling fs layer 05:54:08 5d5c8e513c77: Pulling fs layer 05:54:08 9f66e0745190: Pulling fs layer 05:54:08 4f4fb700ef54: Waiting 05:54:08 5d5c8e513c77: Waiting 05:54:08 5c3c966382ef: Waiting 05:54:08 f49a43e4bbc0: Pulling fs layer 05:54:08 9f66e0745190: Waiting 05:54:08 561ebcabdf7f: Pulling fs layer 05:54:08 f49a43e4bbc0: Waiting 05:54:08 4cc291be95ef: Verifying Checksum 05:54:08 4cc291be95ef: Download complete 05:54:08 5c3c966382ef: Download complete 05:54:08 4f4fb700ef54: Download complete 05:54:08 5d5c8e513c77: Verifying Checksum 05:54:08 5d5c8e513c77: Download complete 05:54:08 43c4264eed91: Download complete 05:54:08 9f66e0745190: Verifying Checksum 05:54:08 9f66e0745190: Download complete 05:54:08 43c4264eed91: Pull complete 05:54:08 4cc291be95ef: Pull complete 05:54:08 561ebcabdf7f: Verifying Checksum 05:54:08 561ebcabdf7f: Download complete 05:54:08 2ac1f1163629: Verifying Checksum 05:54:08 2ac1f1163629: Download complete 05:54:09 f49a43e4bbc0: Verifying Checksum 05:54:09 f49a43e4bbc0: Download complete 05:54:11 2ac1f1163629: Pull complete 05:54:11 5c3c966382ef: Pull complete 05:54:12 4f4fb700ef54: Pull complete 05:54:12 5d5c8e513c77: Pull complete 05:54:12 9f66e0745190: Pull complete 05:54:14 f49a43e4bbc0: Pull complete 05:54:14 561ebcabdf7f: Pull complete 05:54:14 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:54:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:54:14 ---> 3a752c3f9dda 05:54:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:54:19 ---> Running in bf50ac61d3f8 05:54:19 Removing intermediate container bf50ac61d3f8 05:54:19 ---> 3babefde1fa4 05:54:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:54:19 ---> Running in 37be53ca2eca 05:54:19 Removing intermediate container 37be53ca2eca 05:54:19 ---> 73456fc32218 05:54:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:54:19 ---> Running in ba6cb7e6aa53 05:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:54:19 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:54:20 (2/8) Installing libedit (20240517.3.1-r0) 05:54:20 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:54:20 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:54:20 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:54:20 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:54:20 (7/8) Installing openssh-server (9.7_p1-r4) 05:54:20 (8/8) Installing openssh (9.7_p1-r4) 05:54:20 Executing busybox-1.36.1-r29.trigger 05:54:20 OK: 252 MiB in 62 packages 05:54:20 Removing intermediate container ba6cb7e6aa53 05:54:20 ---> 71e775bae110 05:54:20 Step 6/10 : WORKDIR /device-modbus-go 05:54:20 ---> Running in 05c2c93ddfe7 05:54:20 Removing intermediate container 05c2c93ddfe7 05:54:20 ---> ddbf6c2001bc 05:54:20 Step 7/10 : COPY go.mod vendor* ./ 05:54:20 ---> 5d8a1da506de 05:54:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:21 ---> Running in 88bd2c6fed67 05:54:21 Still waiting to schedule task 05:54:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26242’ is offline 05:55:07 Removing intermediate container 88bd2c6fed67 05:55:07 ---> d66765fa74a6 05:55:07 Step 9/10 : COPY . . 05:55:07 ---> c93218c9090c 05:55:07 Step 10/10 : RUN ${MAKE} 05:55:07 ---> Running in b0384d01006b 05:55:07 noop 05:55:07 Removing intermediate container b0384d01006b 05:55:07 ---> 1ac1c542d801 05:55:07 Successfully built 1ac1c542d801 05:55:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:08 + docker inspect -f . ci-base-image-x86_64 05:55:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:08 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 05:55:08 $ 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 05:55:08 $ docker top d0e3916e1add8ff61923d9597c9d1651821ce4a9756f23e2845abab6183ec12c -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:08 + go version 05:55:08 go version go1.23.2 linux/amd64 [Pipeline] } 05:55:08 $ docker stop --time=1 d0e3916e1add8ff61923d9597c9d1651821ce4a9756f23e2845abab6183ec12c 05:55:10 $ docker rm -f --volumes d0e3916e1add8ff61923d9597c9d1651821ce4a9756f23e2845abab6183ec12c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:10 + docker inspect -f . ci-base-image-x86_64 05:55:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:10 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 05:55:10 $ 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 05:55:11 $ docker top 9482b8dedbdd40286b67053c38f23a6f77b6e08d5f99b1d9082a7e34c7fd1047 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:55:11 + make test 05:55:11 go test ./... -coverprofile=coverage.out 05:55:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:55:31 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:55:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.006s coverage: 48.0% of statements 05:55:43 go vet ./... 05:55:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:55:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:55:49 ./bin/test-attribution-txt.sh [Pipeline] echo 05:55:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:55:49 $ docker stop --time=1 9482b8dedbdd40286b67053c38f23a6f77b6e08d5f99b1d9082a7e34c7fd1047 05:55:53 $ docker rm -f --volumes 9482b8dedbdd40286b67053c38f23a6f77b6e08d5f99b1d9082a7e34c7fd1047 [Pipeline] // withDockerContainer [Pipeline] sh 05:55:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:55:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:54 + ls -al . 05:55:54 total 260 05:55:54 drwxrwxr-x 9 jenkins jenkins 4096 Nov 12 05:55 . 05:55:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 05:53 .. 05:55:54 -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 05:53 .dockerignore 05:55:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 05:55 .git 05:55:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:53 .github 05:55:54 -rw-rw-r-- 1 jenkins jenkins 266 Nov 12 05:53 .gitignore 05:55:54 -rw-rw-r-- 1 jenkins jenkins 199 Nov 12 05:53 .golangci.yml 05:55:54 drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 05:54 .semver 05:55:54 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 12 05:53 Attribution.txt 05:55:54 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 12 05:53 CHANGELOG.md 05:55:54 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 12 05:53 Dockerfile 05:55:54 -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 05:53 GOVERNANCE.md 05:55:54 -rw-rw-r-- 1 jenkins jenkins 658 Nov 12 05:53 Jenkinsfile 05:55:54 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 05:53 LICENSE 05:55:54 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 12 05:53 Makefile 05:55:54 -rw-rw-r-- 1 jenkins jenkins 622 Nov 12 05:53 OWNERS.md 05:55:54 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 12 05:53 README.md 05:55:54 -rw-rw-r-- 1 jenkins jenkins 11 Nov 12 05:54 VERSION 05:55:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:53 bin 05:55:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:53 cmd 05:55:54 -rw-r--r-- 1 jenkins jenkins 25464 Nov 12 05:55 coverage.out 05:55:54 -rw-rw-r-- 1 jenkins jenkins 6441 Nov 12 05:53 go.mod 05:55:54 -rw-rw-r-- 1 jenkins jenkins 87679 Nov 12 05:53 go.sum 05:55:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:53 internal 05:55:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:53 simulator 05:55:54 -rw-rw-r-- 1 jenkins jenkins 229 Nov 12 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:55 + 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=aac4c7d4bf7ab00be6801211183b9038e4c857bf --label arch=amd64 --label version=4.0.0-dev.5 . 05:55:55 Sending build context to Docker daemon 18.05MB 05:55:55 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:55:55 Step 2/23 : FROM ${BASE} AS builder 05:55:55 ---> 1ac1c542d801 05:55:55 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:55:55 ---> Running in 7e299462cb4d 05:55:55 Removing intermediate container 7e299462cb4d 05:55:55 ---> 370cbb19d4ed 05:55:55 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:55:55 ---> Running in 0784963d1dad 05:55:55 Removing intermediate container 0784963d1dad 05:55:55 ---> 77a23d384791 05:55:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:55:55 ---> Running in bf31b5dbf8fb 05:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:55:56 OK: 252 MiB in 62 packages 05:55:56 Removing intermediate container bf31b5dbf8fb 05:55:56 ---> 4f13cf3b7a92 05:55:56 Step 6/23 : WORKDIR /device-modbus-go 05:55:56 ---> Running in 1ab1dac827c7 05:55:56 Removing intermediate container 1ab1dac827c7 05:55:56 ---> 7a520e55466c 05:55:56 Step 7/23 : COPY go.mod vendor* ./ 05:55:57 ---> 93147407ae9f 05:55:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:55:57 ---> Running in c997bf1550e7 05:55:57 Removing intermediate container c997bf1550e7 05:55:57 ---> 4fce15559726 05:55:57 Step 9/23 : COPY . . 05:55:58 ---> 511bb22801b3 05:55:58 Step 10/23 : RUN ${MAKE} 05:55:58 ---> Running in f49548665f89 05:55:59 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:56:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26247 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:56:09 Running in /w/workspace/device-modbus-go/170 [Pipeline] { [Pipeline] checkout 05:56:12 The recommended git tool is: git 05:56:17 using credential edgex-jenkins-ssh 05:56:17 Cloning the remote Git repository 05:56:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:56:18 > git init /w/workspace/device-modbus-go/170 # timeout=10 05:56:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:56:18 > git --version # timeout=10 05:56:18 > git --version # 'git version 2.25.1' 05:56:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:21 Avoid second fetch 05:56:21 Checking out Revision aac4c7d4bf7ab00be6801211183b9038e4c857bf (main) 05:56:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:56:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:21 > git config core.sparsecheckout # timeout=10 05:56:21 > git checkout -f aac4c7d4bf7ab00be6801211183b9038e4c857bf # timeout=10 05:56:21 Commit message: "Merge pull request #592 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:56:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:56:26 Dload Upload Total Spent Left Speed 05:56:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87863 0 --:--:-- --:--:-- --:--:-- 87863 [Pipeline] sh 05:56:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:56:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:56:27 + sudo tee /etc/docker/daemon.new 05:56:27 { 05:56:27 "registry-mirrors": [ 05:56:27 "https://nexus3.edgexfoundry.org:10001" 05:56:27 ], 05:56:27 "bip": "10.250.0.254/24", 05:56:27 "hosts": [ 05:56:27 "tcp://0.0.0.0:5555", 05:56:27 "unix:///var/run/docker.sock" 05:56:27 ], 05:56:27 "mtu": 1458, 05:56:27 "selinux-enabled": true, 05:56:27 "seccomp-profile": "/etc/docker/seccomp.json" 05:56:27 } [Pipeline] sh 05:56:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:56:27 + sudo service docker restart 05:56:31 Removing intermediate container f49548665f89 05:56:31 ---> 0e14a552c022 05:56:31 Step 11/23 : FROM alpine:3.20 05:56:31 3.20: Pulling from library/alpine 05:56:31 da9db072f522: Pulling fs layer 05:56:31 da9db072f522: Verifying Checksum 05:56:31 da9db072f522: Download complete 05:56:31 da9db072f522: Pull complete 05:56:31 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 05:56:31 Status: Downloaded newer image for alpine:3.20 05:56:31 ---> 63b790fccc90 05:56:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:56:31 ---> Running in 56089b64819f 05:56:31 Removing intermediate container 56089b64819f 05:56:31 ---> fa66e5932eaa 05:56:31 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:56:32 ---> Running in 2717e9a576a6 05:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:56:32 (1/1) Installing dumb-init (1.2.5-r3) 05:56:32 Executing busybox-1.36.1-r29.trigger 05:56:32 OK: 8 MiB in 15 packages 05:56:33 Removing intermediate container 2717e9a576a6 05:56:33 ---> 2f4af45cf9bb 05:56:33 Step 14/23 : RUN apk --no-cache upgrade 05:56:33 ---> Running in 360277dd07fc 05:56:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:56:33 Upgrading critical system libraries and apk-tools: 05:56:33 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:56:33 Executing busybox-1.36.1-r29.trigger 05:56:34 Continuing the upgrade transaction with new apk-tools: 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:56:34 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 05:56:34 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 05:56:34 OK: 8 MiB in 15 packages 05:56:34 Removing intermediate container 360277dd07fc 05:56:34 ---> fbb995552ed1 05:56:34 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:56:35 ---> e01276b31a56 05:56:35 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:56:36 ---> a42afc2fcb60 05:56:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:56:36 ---> ed8497ad3e6c 05:56:36 Step 18/23 : EXPOSE 59901 05:56:36 ---> Running in ec10ecabb566 05:56:36 Removing intermediate container ec10ecabb566 05:56:36 ---> ffc19ce7bb8c 05:56:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:56:36 ---> Running in 8ed935d68dc2 05:56:36 Removing intermediate container 8ed935d68dc2 05:56:36 ---> b97502d468cb 05:56:36 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:56:36 ---> Running in 6950e312f4f5 05:56:36 Removing intermediate container 6950e312f4f5 05:56:36 ---> c39c949d3d77 05:56:36 Step 21/23 : LABEL arch=amd64 05:56:36 ---> Running in 6ff8af602d77 05:56:36 Removing intermediate container 6ff8af602d77 05:56:36 ---> cee25ebaea0a 05:56:36 Step 22/23 : LABEL git_sha=aac4c7d4bf7ab00be6801211183b9038e4c857bf 05:56:36 ---> Running in df12b909f307 05:56:36 Removing intermediate container df12b909f307 05:56:36 ---> 012ee3ad3d20 05:56:36 Step 23/23 : LABEL version=4.0.0-dev.5 05:56:36 ---> Running in dce172327105 05:56:36 Removing intermediate container dce172327105 05:56:36 ---> 1b3f9a215835 05:56:36 [Warning] One or more build-args [ARCH] were not consumed 05:56:36 Successfully built 1b3f9a215835 05:56:36 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:36 provisioning config files... 05:56:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7734913694388662072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:36 ---> ****-login.sh 05:56:36 nexus3.edgexfoundry.org:10001 05:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:36 Configure a credential helper to remove this warning. See 05:56:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:36 05:56:36 Login Succeeded 05:56:36 nexus3.edgexfoundry.org:10002 05:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:36 Configure a credential helper to remove this warning. See 05:56:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:36 05:56:36 Login Succeeded 05:56:36 nexus3.edgexfoundry.org:10003 05:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:37 Configure a credential helper to remove this warning. See 05:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:37 05:56:37 Login Succeeded 05:56:37 nexus3.edgexfoundry.org:10004 05:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:37 Configure a credential helper to remove this warning. See 05:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:37 05:56:37 Login Succeeded 05:56:37 ****.io 05:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:37 Configure a credential helper to remove this warning. See 05:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:37 05:56:37 Login Succeeded 05:56:37 ---> ****-login.sh ends [Pipeline] } 05:56:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:56:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:37 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:56:37 aac4c7d4bf7ab00be6801211183b9038e4c857bf 05:56:37 latest 05:56:37 4.0.0-dev.5 05:56:37 aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 05:56:37 main 05:56:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus:aac4c7d4bf7ab00be6801211183b9038e4c857bf 05:56:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:56:38 08cbd09f6549: Preparing 05:56:38 c1ae141dc699: Preparing 05:56:38 a0a1ebfe8659: Preparing 05:56:38 c200b645560c: Preparing 05:56:38 114179a5c0e2: Preparing 05:56:38 75654b8eeebd: Preparing 05:56:38 75654b8eeebd: Waiting 05:56:38 114179a5c0e2: Pushed 05:56:38 08cbd09f6549: Pushed 05:56:38 c1ae141dc699: Pushed 05:56:38 c200b645560c: Pushed 05:56:39 75654b8eeebd: Pushed 05:56:41 a0a1ebfe8659: Pushed 05:56:41 aac4c7d4bf7ab00be6801211183b9038e4c857bf: digest: sha256:3da5cb2457f1cbf35e883d8d7bf8b438bc723b51d47c9aa1f5d571e9a63fb8d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:56:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:56:42 08cbd09f6549: Preparing 05:56:42 c1ae141dc699: Preparing 05:56:42 a0a1ebfe8659: Preparing 05:56:42 c200b645560c: Preparing 05:56:42 114179a5c0e2: Preparing 05:56:42 75654b8eeebd: Preparing 05:56:42 75654b8eeebd: Waiting 05:56:42 c1ae141dc699: Layer already exists 05:56:42 08cbd09f6549: Layer already exists 05:56:42 114179a5c0e2: Layer already exists 05:56:42 a0a1ebfe8659: Layer already exists 05:56:42 c200b645560c: Layer already exists 05:56:42 75654b8eeebd: Layer already exists 05:56:42 latest: digest: sha256:3da5cb2457f1cbf35e883d8d7bf8b438bc723b51d47c9aa1f5d571e9a63fb8d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.5 05:56:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:56:42 08cbd09f6549: Preparing 05:56:42 c1ae141dc699: Preparing 05:56:42 a0a1ebfe8659: Preparing 05:56:42 c200b645560c: Preparing 05:56:42 114179a5c0e2: Preparing 05:56:42 75654b8eeebd: Preparing 05:56:42 75654b8eeebd: Waiting 05:56:42 114179a5c0e2: Layer already exists 05:56:42 c200b645560c: Layer already exists 05:56:42 c1ae141dc699: Layer already exists 05:56:42 08cbd09f6549: Layer already exists 05:56:42 a0a1ebfe8659: Layer already exists 05:56:42 75654b8eeebd: Layer already exists 05:56:42 4.0.0-dev.5: digest: sha256:3da5cb2457f1cbf35e883d8d7bf8b438bc723b51d47c9aa1f5d571e9a63fb8d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 05:56:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:56:43 08cbd09f6549: Preparing 05:56:43 c1ae141dc699: Preparing 05:56:43 a0a1ebfe8659: Preparing 05:56:43 c200b645560c: Preparing 05:56:43 114179a5c0e2: Preparing 05:56:43 75654b8eeebd: Preparing 05:56:43 75654b8eeebd: Waiting 05:56:43 08cbd09f6549: Layer already exists 05:56:43 114179a5c0e2: Layer already exists 05:56:43 a0a1ebfe8659: Layer already exists 05:56:43 c1ae141dc699: Layer already exists 05:56:43 c200b645560c: Layer already exists 05:56:43 75654b8eeebd: Layer already exists 05:56:43 aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5: digest: sha256:3da5cb2457f1cbf35e883d8d7bf8b438bc723b51d47c9aa1f5d571e9a63fb8d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:56:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:56:44 08cbd09f6549: Preparing 05:56:44 c1ae141dc699: Preparing 05:56:44 a0a1ebfe8659: Preparing 05:56:44 c200b645560c: Preparing 05:56:44 114179a5c0e2: Preparing 05:56:44 75654b8eeebd: Preparing 05:56:44 114179a5c0e2: Layer already exists 05:56:44 c1ae141dc699: Layer already exists 05:56:44 a0a1ebfe8659: Layer already exists 05:56:44 08cbd09f6549: Layer already exists 05:56:44 c200b645560c: Layer already exists 05:56:44 75654b8eeebd: Layer already exists 05:56:44 main: digest: sha256:3da5cb2457f1cbf35e883d8d7bf8b438bc723b51d47c9aa1f5d571e9a63fb8d9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:56:44 ===================================================== [Pipeline] echo 05:56:44 taggedImages: 05:56:44 - nexus3.edgexfoundry.org:10004/device-modbus:aac4c7d4bf7ab00be6801211183b9038e4c857bf 05:56:44 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:56:44 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.5 05:56:44 - nexus3.edgexfoundry.org:10004/device-modbus:aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 05:56:44 - 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 05:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:44 05:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:45 latest: Pulling from edgex-lftools-log-publisher 05:56:45 5eb5b503b376: Pulling fs layer 05:56:45 5c69ac0246d0: Pulling fs layer 05:56:45 ec43610c2a17: Pulling fs layer 05:56:45 3a2ae6a8a46f: Pulling fs layer 05:56:45 33b1e0a273af: Pulling fs layer 05:56:45 5d3b04190fa2: Pulling fs layer 05:56:45 2f39f015ded8: Pulling fs layer 05:56:45 33b1e0a273af: Waiting 05:56:45 5d3b04190fa2: Waiting 05:56:45 2f39f015ded8: Waiting 05:56:45 3a2ae6a8a46f: Waiting 05:56:45 5c69ac0246d0: Verifying Checksum 05:56:45 5c69ac0246d0: Download complete 05:56:45 3a2ae6a8a46f: Verifying Checksum 05:56:45 3a2ae6a8a46f: Download complete 05:56:45 33b1e0a273af: Verifying Checksum 05:56:45 33b1e0a273af: Download complete 05:56:45 5d3b04190fa2: Download complete 05:56:45 ec43610c2a17: Verifying Checksum 05:56:45 ec43610c2a17: Download complete 05:56:45 5eb5b503b376: Download complete 05:56:45 2f39f015ded8: Verifying Checksum 05:56:45 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:46 provisioning config files... 05:56:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/170@tmp/config1767550750563028682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:46 5eb5b503b376: Pull complete 05:56:46 ---> ****-login.sh 05:56:46 nexus3.edgexfoundry.org:10001 05:56:46 5c69ac0246d0: Pull complete 05:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:46 ec43610c2a17: Pull complete 05:56:46 3a2ae6a8a46f: Pull complete 05:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:47 Configure a credential helper to remove this warning. See 05:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:47 05:56:47 Login Succeeded 05:56:47 nexus3.edgexfoundry.org:10002 05:56:47 33b1e0a273af: Pull complete 05:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:47 Configure a credential helper to remove this warning. See 05:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:47 05:56:47 Login Succeeded 05:56:47 5d3b04190fa2: Pull complete 05:56:47 nexus3.edgexfoundry.org:10003 05:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:47 Configure a credential helper to remove this warning. See 05:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:47 05:56:47 Login Succeeded 05:56:47 nexus3.edgexfoundry.org:10004 05:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:48 Configure a credential helper to remove this warning. See 05:56:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:48 05:56:48 Login Succeeded 05:56:48 ****.io 05:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:48 Configure a credential helper to remove this warning. See 05:56:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:48 05:56:48 Login Succeeded 05:56:48 ---> ****-login.sh ends [Pipeline] } 05:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:49 ========================================================= 05:56:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:56:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:49 + 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 . 05:56:49 Sending build context to Docker daemon 9.151MB 05:56:49 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:56:49 Step 2/10 : FROM ${BASE} AS builder 05:56:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:50 cf04c63912e1: Pulling fs layer 05:56:50 55b35a11ae5e: Pulling fs layer 05:56:50 a37a00ec5f00: Pulling fs layer 05:56:50 50b3750afda1: Pulling fs layer 05:56:50 4f4fb700ef54: Pulling fs layer 05:56:50 80978eb59214: Pulling fs layer 05:56:50 c9f46d7d2bd2: Pulling fs layer 05:56:50 c5a475d317c9: Pulling fs layer 05:56:50 50b3750afda1: Waiting 05:56:50 80978eb59214: Waiting 05:56:50 c9f46d7d2bd2: Waiting 05:56:50 4f4fb700ef54: Waiting 05:56:50 c5a475d317c9: Waiting 05:56:50 55b35a11ae5e: Verifying Checksum 05:56:50 55b35a11ae5e: Download complete 05:56:50 50b3750afda1: Verifying Checksum 05:56:50 50b3750afda1: Download complete 05:56:50 4f4fb700ef54: Verifying Checksum 05:56:50 4f4fb700ef54: Download complete 05:56:50 80978eb59214: Verifying Checksum 05:56:50 80978eb59214: Download complete 05:56:50 cf04c63912e1: Verifying Checksum 05:56:50 cf04c63912e1: Download complete 05:56:50 c5a475d317c9: Verifying Checksum 05:56:50 c5a475d317c9: Download complete 05:56:51 cf04c63912e1: Pull complete 05:56:51 55b35a11ae5e: Pull complete 05:56:51 2f39f015ded8: Pull complete 05:56:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:56:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:51 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 05:56:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 05:56:52 a37a00ec5f00: Verifying Checksum 05:56:52 a37a00ec5f00: Download complete 05:56:53 c9f46d7d2bd2: Verifying Checksum 05:56:53 c9f46d7d2bd2: Download complete 05:56:55 $ docker top 93bdc72cc13de738bfd0183a6def45b8214b5c2909a4293c43eb3f0e84d78935 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:56 ---> job-cost.sh 05:56:56 lf-activate-venv: SKIPPING 05:56:56 INFO: No Stack... 05:56:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:57 INFO: Archiving Costs [Pipeline] sh 05:56:57 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:56:57 + cut -d, -f6 [Pipeline] lock 05:56:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] 05:56:57 Resource [jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] did not exist. Created. 05:56:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:57 + echo total: 0.2199999988079071 [Pipeline] stash 05:56:57 Stashed 1 file(s) [Pipeline] } 05:56:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:57 $ docker stop --time=1 93bdc72cc13de738bfd0183a6def45b8214b5c2909a4293c43eb3f0e84d78935 05:56:58 $ docker rm -f --volumes 93bdc72cc13de738bfd0183a6def45b8214b5c2909a4293c43eb3f0e84d78935 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:57:05 a37a00ec5f00: Pull complete 05:57:05 50b3750afda1: Pull complete 05:57:05 4f4fb700ef54: Pull complete 05:57:05 80978eb59214: Pull complete 05:57:13 c9f46d7d2bd2: Pull complete 05:57:14 c5a475d317c9: Pull complete 05:57:14 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:57:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:57:14 ---> be29e6b0f0d4 05:57:14 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:57:16 ---> Running in 068ccd31c5d4 05:57:16 Removing intermediate container 068ccd31c5d4 05:57:16 ---> 1f1630fa8e71 05:57:16 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:57:16 ---> Running in 9decd4d78d0c 05:57:16 Removing intermediate container 9decd4d78d0c 05:57:16 ---> 6f01833a52f4 05:57:16 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:57:16 ---> Running in 056111dc28e9 05:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:57:19 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:57:19 (2/8) Installing libedit (20240517.3.1-r0) 05:57:19 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:57:19 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:57:19 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:57:19 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:57:19 (7/8) Installing openssh-server (9.7_p1-r4) 05:57:19 (8/8) Installing openssh (9.7_p1-r4) 05:57:20 Executing busybox-1.36.1-r29.trigger 05:57:20 OK: 244 MiB in 62 packages 05:57:21 Removing intermediate container 056111dc28e9 05:57:21 ---> dcfafb694e2e 05:57:21 Step 6/10 : WORKDIR /device-modbus-go 05:57:21 ---> Running in e45bae8a16f0 05:57:21 Removing intermediate container e45bae8a16f0 05:57:21 ---> 7cf0377f09c1 05:57:21 Step 7/10 : COPY go.mod vendor* ./ 05:57:22 ---> b0120f4b1e07 05:57:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:57:22 ---> Running in c5a1d0e9f135 05:59:13 Removing intermediate container c5a1d0e9f135 05:59:13 ---> 77abd7c7ce7e 05:59:13 Step 9/10 : COPY . . 05:59:13 ---> e225371d1545 05:59:13 Step 10/10 : RUN ${MAKE} 05:59:13 ---> Running in f56aee769feb 05:59:13 noop 05:59:13 Removing intermediate container f56aee769feb 05:59:13 ---> 390bb6a14603 05:59:13 Successfully built 390bb6a14603 05:59:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:14 + docker inspect -f . ci-base-image-arm64 05:59:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:14 prd-ubuntu20.04-docker-arm64-4c-16g-26247 does not seem to be running inside a container 05:59:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/170 -v /w/workspace/device-modbus-go/170:/w/workspace/device-modbus-go/170:rw,z -v /w/workspace/device-modbus-go/170@tmp:/w/workspace/device-modbus-go/170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:59:16 $ docker top 23d367636a40d515706c89a8ba4dd291c74b78e83838a75784bf185d99638ee2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:16 + go version 05:59:16 go version go1.23.2 linux/arm64 [Pipeline] } 05:59:17 $ docker stop --time=1 23d367636a40d515706c89a8ba4dd291c74b78e83838a75784bf185d99638ee2 05:59:18 $ docker rm -f --volumes 23d367636a40d515706c89a8ba4dd291c74b78e83838a75784bf185d99638ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:19 + docker inspect -f . ci-base-image-arm64 05:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:19 prd-ubuntu20.04-docker-arm64-4c-16g-26247 does not seem to be running inside a container 05:59:19 $ 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/170 -v /w/workspace/device-modbus-go/170:/w/workspace/device-modbus-go/170:rw,z -v /w/workspace/device-modbus-go/170@tmp:/w/workspace/device-modbus-go/170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:59:21 $ docker top 2f547cfc5ce8968ac29b07d3a4ddeaf26be73011b29365258ae83fbc43a1a084 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:22 + git config --global --add safe.directory /w/workspace/device-modbus-go/170 [Pipeline] fileExists [Pipeline] sh 05:59:22 + make test 05:59:22 go test ./... -coverprofile=coverage.out 05:59:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:02:53 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:02:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 48.0% of statements 06:02:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:02:53 go vet ./... 06:03:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:03:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:03:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:03:33 $ docker stop --time=1 2f547cfc5ce8968ac29b07d3a4ddeaf26be73011b29365258ae83fbc43a1a084 06:03:35 $ docker rm -f --volumes 2f547cfc5ce8968ac29b07d3a4ddeaf26be73011b29365258ae83fbc43a1a084 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:03:37 Warning: overwriting stash ‘coverage-report’ 06:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:03:38 + ls -al . 06:03:38 total 256 06:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 05:59 . 06:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 05:56 .. 06:03:38 -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 05:56 .dockerignore 06:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 05:56 .git 06:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:56 .github 06:03:38 -rw-rw-r-- 1 jenkins jenkins 266 Nov 12 05:56 .gitignore 06:03:38 -rw-rw-r-- 1 jenkins jenkins 199 Nov 12 05:56 .golangci.yml 06:03:38 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 12 05:56 Attribution.txt 06:03:38 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 12 05:56 CHANGELOG.md 06:03:38 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 12 05:56 Dockerfile 06:03:38 -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 05:56 GOVERNANCE.md 06:03:38 -rw-rw-r-- 1 jenkins jenkins 658 Nov 12 05:56 Jenkinsfile 06:03:38 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 05:56 LICENSE 06:03:38 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 12 05:56 Makefile 06:03:38 -rw-rw-r-- 1 jenkins jenkins 622 Nov 12 05:56 OWNERS.md 06:03:38 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 12 05:56 README.md 06:03:38 -rw-rw-r-- 1 jenkins jenkins 11 Nov 12 05:54 VERSION 06:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:56 bin 06:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:56 cmd 06:03:38 -rw-r--r-- 1 jenkins jenkins 25464 Nov 12 06:02 coverage.out 06:03:38 -rw-rw-r-- 1 jenkins jenkins 6441 Nov 12 05:56 go.mod 06:03:38 -rw-rw-r-- 1 jenkins jenkins 87679 Nov 12 05:56 go.sum 06:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 05:56 internal 06:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 05:56 simulator 06:03:38 -rw-rw-r-- 1 jenkins jenkins 229 Nov 12 05:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:38 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aac4c7d4bf7ab00be6801211183b9038e4c857bf --label arch=arm64 --label version=4.0.0-dev.5 . 06:03:39 Sending build context to Docker daemon 9.178MB 06:03:39 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 06:03:39 Step 2/23 : FROM ${BASE} AS builder 06:03:39 ---> 390bb6a14603 06:03:39 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:03:39 ---> Running in 19b767baba21 06:03:39 Removing intermediate container 19b767baba21 06:03:39 ---> fbedecdcf67f 06:03:39 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:39 ---> Running in 81e0b0f0b1c8 06:03:40 Removing intermediate container 81e0b0f0b1c8 06:03:40 ---> 2ccf49bb5af0 06:03:40 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:03:40 ---> Running in c6ee6720f091 06:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:03:43 OK: 244 MiB in 62 packages 06:03:44 Removing intermediate container c6ee6720f091 06:03:44 ---> 7d4bcb9beae5 06:03:44 Step 6/23 : WORKDIR /device-modbus-go 06:03:44 ---> Running in 4fd2310ed1e8 06:03:44 Removing intermediate container 4fd2310ed1e8 06:03:44 ---> c5dbfcc9b560 06:03:44 Step 7/23 : COPY go.mod vendor* ./ 06:03:44 ---> b6a2582c2842 06:03:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:44 ---> Running in fb1d9c14a8b3 06:03:47 Removing intermediate container fb1d9c14a8b3 06:03:47 ---> 299f39002d22 06:03:47 Step 9/23 : COPY . . 06:03:48 ---> ae7688016b0b 06:03:48 Step 10/23 : RUN ${MAKE} 06:03:48 ---> Running in 34657ad1f971 06:03:49 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:07:11 Removing intermediate container 34657ad1f971 06:07:11 ---> 8b25fc74372f 06:07:11 Step 11/23 : FROM alpine:3.20 06:07:11 3.20: Pulling from library/alpine 06:07:11 9986a736f7d3: Pulling fs layer 06:07:11 9986a736f7d3: Verifying Checksum 06:07:11 9986a736f7d3: Download complete 06:07:11 9986a736f7d3: Pull complete 06:07:11 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 06:07:12 Status: Downloaded newer image for alpine:3.20 06:07:12 ---> 511a44083d3a 06:07:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 06:07:12 ---> Running in c50439e55a2f 06:07:12 Removing intermediate container c50439e55a2f 06:07:12 ---> 8ad4934514d9 06:07:12 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:07:12 ---> Running in e6577d01a6ce 06:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:07:15 (1/1) Installing dumb-init (1.2.5-r3) 06:07:15 Executing busybox-1.36.1-r29.trigger 06:07:15 OK: 9 MiB in 15 packages 06:07:16 Removing intermediate container e6577d01a6ce 06:07:16 ---> 1719477ae54f 06:07:16 Step 14/23 : RUN apk --no-cache upgrade 06:07:16 ---> Running in e8ddeb0ff1e0 06:07:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:07:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:07:18 Upgrading critical system libraries and apk-tools: 06:07:18 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:07:18 Executing busybox-1.36.1-r29.trigger 06:07:18 Continuing the upgrade transaction with new apk-tools: 06:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:07:20 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 06:07:20 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 06:07:20 OK: 9 MiB in 15 packages 06:07:21 Removing intermediate container e8ddeb0ff1e0 06:07:21 ---> 2a76374c7663 06:07:21 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:07:23 ---> b039a6701db2 06:07:23 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:07:24 ---> 7d0598487986 06:07:24 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:07:24 ---> 39b22a1a2f04 06:07:24 Step 18/23 : EXPOSE 59901 06:07:24 ---> Running in c0ee800bba2f 06:07:25 Removing intermediate container c0ee800bba2f 06:07:25 ---> 1476b3c7f60a 06:07:25 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:07:25 ---> Running in db1ac6904866 06:07:25 Removing intermediate container db1ac6904866 06:07:25 ---> b86d602062ca 06:07:25 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:07:25 ---> Running in 5ef3eab4eec3 06:07:26 Removing intermediate container 5ef3eab4eec3 06:07:26 ---> 53b2fe74d261 06:07:26 Step 21/23 : LABEL arch=arm64 06:07:26 ---> Running in 15aa832278b2 06:07:26 Removing intermediate container 15aa832278b2 06:07:26 ---> b2d19591cac3 06:07:26 Step 22/23 : LABEL git_sha=aac4c7d4bf7ab00be6801211183b9038e4c857bf 06:07:26 ---> Running in 5cfc12615dbc 06:07:26 Removing intermediate container 5cfc12615dbc 06:07:26 ---> 68e2c8c56563 06:07:26 Step 23/23 : LABEL version=4.0.0-dev.5 06:07:27 ---> Running in 9eced7192df4 06:07:27 Removing intermediate container 9eced7192df4 06:07:27 ---> 53d5c83b07bc 06:07:27 [Warning] One or more build-args [ARCH] were not consumed 06:07:27 Successfully built 53d5c83b07bc 06:07:27 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:27 provisioning config files... 06:07:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/170@tmp/config14121966201150692233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:27 ---> ****-login.sh 06:07:27 nexus3.edgexfoundry.org:10001 06:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:28 Configure a credential helper to remove this warning. See 06:07:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:28 06:07:28 Login Succeeded 06:07:28 nexus3.edgexfoundry.org:10002 06:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:28 Configure a credential helper to remove this warning. See 06:07:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:28 06:07:28 Login Succeeded 06:07:28 nexus3.edgexfoundry.org:10003 06:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:28 Configure a credential helper to remove this warning. See 06:07:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:28 06:07:28 Login Succeeded 06:07:28 nexus3.edgexfoundry.org:10004 06:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:29 Configure a credential helper to remove this warning. See 06:07:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:29 06:07:29 Login Succeeded 06:07:29 ****.io 06:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:29 Configure a credential helper to remove this warning. See 06:07:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:29 06:07:29 Login Succeeded 06:07:29 ---> ****-login.sh ends [Pipeline] } 06:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:07:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:07:29 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:07:29 aac4c7d4bf7ab00be6801211183b9038e4c857bf 06:07:29 latest 06:07:29 4.0.0-dev.5 06:07:29 aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 06:07:29 main 06:07:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aac4c7d4bf7ab00be6801211183b9038e4c857bf 06:07:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:07:30 a0bccbe07af6: Preparing 06:07:30 526eb03153b0: Preparing 06:07:30 beb89242a2c0: Preparing 06:07:30 6f1c1af8017f: Preparing 06:07:30 e11bfe2b58d1: Preparing 06:07:30 651d9022c234: Preparing 06:07:30 651d9022c234: Waiting 06:07:30 a0bccbe07af6: Pushed 06:07:30 e11bfe2b58d1: Pushed 06:07:30 526eb03153b0: Pushed 06:07:32 6f1c1af8017f: Pushed 06:07:33 651d9022c234: Pushed 06:07:37 beb89242a2c0: Pushed 06:07:37 aac4c7d4bf7ab00be6801211183b9038e4c857bf: digest: sha256:6af85e9ccf97036d638699b230cf6048829cc59bbd69dceb8445971fc64abfb3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:07:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:07:38 a0bccbe07af6: Preparing 06:07:38 526eb03153b0: Preparing 06:07:38 beb89242a2c0: Preparing 06:07:38 6f1c1af8017f: Preparing 06:07:38 e11bfe2b58d1: Preparing 06:07:38 651d9022c234: Preparing 06:07:38 651d9022c234: Waiting 06:07:38 6f1c1af8017f: Layer already exists 06:07:38 beb89242a2c0: Layer already exists 06:07:38 526eb03153b0: Layer already exists 06:07:38 e11bfe2b58d1: Layer already exists 06:07:38 a0bccbe07af6: Layer already exists 06:07:38 651d9022c234: Layer already exists 06:07:38 latest: digest: sha256:6af85e9ccf97036d638699b230cf6048829cc59bbd69dceb8445971fc64abfb3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.5 06:07:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:07:39 a0bccbe07af6: Preparing 06:07:39 526eb03153b0: Preparing 06:07:39 beb89242a2c0: Preparing 06:07:39 6f1c1af8017f: Preparing 06:07:39 e11bfe2b58d1: Preparing 06:07:39 651d9022c234: Preparing 06:07:39 651d9022c234: Waiting 06:07:39 e11bfe2b58d1: Layer already exists 06:07:39 beb89242a2c0: Layer already exists 06:07:39 a0bccbe07af6: Layer already exists 06:07:39 526eb03153b0: Layer already exists 06:07:39 6f1c1af8017f: Layer already exists 06:07:39 651d9022c234: Layer already exists 06:07:39 4.0.0-dev.5: digest: sha256:6af85e9ccf97036d638699b230cf6048829cc59bbd69dceb8445971fc64abfb3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 06:07:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:07:39 a0bccbe07af6: Preparing 06:07:39 526eb03153b0: Preparing 06:07:39 beb89242a2c0: Preparing 06:07:39 6f1c1af8017f: Preparing 06:07:39 e11bfe2b58d1: Preparing 06:07:39 651d9022c234: Preparing 06:07:39 651d9022c234: Waiting 06:07:39 6f1c1af8017f: Layer already exists 06:07:39 beb89242a2c0: Layer already exists 06:07:39 526eb03153b0: Layer already exists 06:07:39 a0bccbe07af6: Layer already exists 06:07:39 e11bfe2b58d1: Layer already exists 06:07:39 651d9022c234: Layer already exists 06:07:39 aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5: digest: sha256:6af85e9ccf97036d638699b230cf6048829cc59bbd69dceb8445971fc64abfb3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:07:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:07:40 a0bccbe07af6: Preparing 06:07:40 526eb03153b0: Preparing 06:07:40 beb89242a2c0: Preparing 06:07:40 6f1c1af8017f: Preparing 06:07:40 e11bfe2b58d1: Preparing 06:07:40 651d9022c234: Preparing 06:07:40 651d9022c234: Waiting 06:07:40 526eb03153b0: Layer already exists 06:07:40 e11bfe2b58d1: Layer already exists 06:07:40 6f1c1af8017f: Layer already exists 06:07:40 beb89242a2c0: Layer already exists 06:07:40 a0bccbe07af6: Layer already exists 06:07:40 651d9022c234: Layer already exists 06:07:41 main: digest: sha256:6af85e9ccf97036d638699b230cf6048829cc59bbd69dceb8445971fc64abfb3 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:07:41 ===================================================== [Pipeline] echo 06:07:41 taggedImages: 06:07:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aac4c7d4bf7ab00be6801211183b9038e4c857bf 06:07:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:07:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.5 06:07:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:aac4c7d4bf7ab00be6801211183b9038e4c857bf-4.0.0-dev.5 06:07:41 - 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:07:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:41 06:07:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:41 arm64: Pulling from edgex-lftools-log-publisher 06:07:41 8998bd30e6a1: Pulling fs layer 06:07:41 04944245beec: Pulling fs layer 06:07:41 699f458cf7ca: Pulling fs layer 06:07:41 765212b225bb: Pulling fs layer 06:07:41 f23df028b6ca: Pulling fs layer 06:07:41 d65c8cfc05b1: Pulling fs layer 06:07:41 2437ff75d9bd: Pulling fs layer 06:07:41 f23df028b6ca: Waiting 06:07:41 d65c8cfc05b1: Waiting 06:07:41 2437ff75d9bd: Waiting 06:07:41 765212b225bb: Waiting 06:07:42 04944245beec: Verifying Checksum 06:07:42 04944245beec: Download complete 06:07:42 765212b225bb: Verifying Checksum 06:07:42 765212b225bb: Download complete 06:07:42 f23df028b6ca: Download complete 06:07:42 d65c8cfc05b1: Verifying Checksum 06:07:42 d65c8cfc05b1: Download complete 06:07:42 699f458cf7ca: Verifying Checksum 06:07:42 699f458cf7ca: Download complete 06:07:42 8998bd30e6a1: Verifying Checksum 06:07:42 8998bd30e6a1: Download complete 06:07:45 2437ff75d9bd: Verifying Checksum 06:07:45 2437ff75d9bd: Download complete 06:07:47 8998bd30e6a1: Pull complete 06:07:47 04944245beec: Pull complete 06:07:48 699f458cf7ca: Pull complete 06:07:49 765212b225bb: Pull complete 06:07:50 f23df028b6ca: Pull complete 06:07:50 d65c8cfc05b1: Pull complete 06:08:08 2437ff75d9bd: Pull complete 06:08:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-26247 does not seem to be running inside a container 06:08:08 $ 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/170 -v /w/workspace/device-modbus-go/170:/w/workspace/device-modbus-go/170:rw,z -v /w/workspace/device-modbus-go/170@tmp:/w/workspace/device-modbus-go/170@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:08:11 $ docker top 792a9ad481384cccd542862cea1c22e2207c0d470b0703a029ae555b413499e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:12 ---> job-cost.sh 06:08:12 lf-activate-venv: SKIPPING 06:08:12 INFO: No Stack... 06:08:12 INFO: Retrieving Pricing Info for: v3-standard-4 06:08:13 INFO: Archiving Costs [Pipeline] sh 06:08:14 + cut -d, -f6 06:08:14 + cat /w/workspace/device-modbus-go/170/archives/cost.csv [Pipeline] lock 06:08:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] 06:08:14 Resource [jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] did not exist. Created. 06:08:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:08:15 /w/workspace/device-modbus-go/170@tmp/durable-970306f2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:08:15 + echo total: 0.10999999940395355 [Pipeline] stash 06:08:15 Warning: overwriting stash ‘stack-cost’ 06:08:15 Stashed 1 file(s) [Pipeline] } 06:08:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-170-stack-cost] [Pipeline] // lock [Pipeline] } 06:08:15 $ docker stop --time=1 792a9ad481384cccd542862cea1c22e2207c0d470b0703a029ae555b413499e9 06:08:17 $ docker rm -f --volumes 792a9ad481384cccd542862cea1c22e2207c0d470b0703a029ae555b413499e9 [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:08:17 provisioning config files... 06:08:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3753130523001384881tmp [Pipeline] { [Pipeline] sh 06:08:18 + set +x 06:08:18 + curl -s https://codecov.io/bash 06:08:18 + bash -s -- 06:08:18 06:08:18 _____ _ 06:08:18 / ____| | | 06:08:18 | | ___ __| | ___ ___ _____ __ 06:08:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:18 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:18 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:18 Bash-1.0.6 06:08:18 06:08:18 06:08:18 ==> git version 2.25.1 found 06:08:18 ==> 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:08:18 Release-Date: 2020-01-08 06:08:18 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:08:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:08:18 ==> Jenkins CI detected. 06:08:18 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:08:18 project root: . 06:08:18 --> token set from env 06:08:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:18 ==> Running gcov in . (disable via -X gcov) 06:08:18 ==> Python coveragepy not found 06:08:18 ==> Searching for coverage reports in: 06:08:18 + . 06:08:18 -> Found 1 reports 06:08:18 ==> Detecting git/mercurial file structure 06:08:18 ==> Reading reports 06:08:18 + ./coverage.out bytes=25464 06:08:18 ==> Appending adjustments 06:08:18 https://docs.codecov.io/docs/fixing-reports 06:08:18 + Found adjustments 06:08:18 ==> Gzipping contents 06:08:18 4.0K /tmp/codecov.T2WHoq.gz 06:08:18 ==> Uploading reports 06:08:18 url: https://codecov.io 06:08:18 query: branch=main&commit=aac4c7d4bf7ab00be6801211183b9038e4c857bf&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F170%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:08:18 -> Pinging Codecov 06:08:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=aac4c7d4bf7ab00be6801211183b9038e4c857bf&build=170&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F170%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:08:18 -> Uploading to 06:08:18 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/aac4c7d4bf7ab00be6801211183b9038e4c857bf/1ff7dd66-07d5-4428-bbbe-3b780235510b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241112%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241112T060818Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7bff3f6bab159ee763e4b516ccca9ccd141c9869e8448943756a82c85de1c2c4 06:08:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:18 Dload Upload Total Spent Left Speed 06:08:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 15791 --:--:-- --:--:-- --:--:-- 15791 06:08:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] } 06:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:08:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:08:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:08:19 06:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:08:19 latest: Pulling from edgex-devops/edgex-snyk-go 06:08:19 43c4264eed91: Already exists 06:08:19 4cc291be95ef: Already exists 06:08:19 2ac1f1163629: Already exists 06:08:19 5c3c966382ef: Already exists 06:08:19 4f4fb700ef54: Already exists 06:08:19 d9c7d2e4e75e: Pulling fs layer 06:08:19 9c3e1370e548: Pulling fs layer 06:08:20 d9c7d2e4e75e: Verifying Checksum 06:08:20 d9c7d2e4e75e: Download complete 06:08:20 d9c7d2e4e75e: Pull complete 06:08:20 9c3e1370e548: Download complete 06:08:23 9c3e1370e548: Pull complete 06:08:23 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 06:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:08:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:24 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 06:08:24 $ 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:08:26 $ docker top 37f4926588d20d688aa041c8a5462e5b73f605aa7367be7949bd476c52d1a99a -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:08:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:08:27 + set -o pipefail 06:08:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:08:35 06:08:35 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:08:35 06:08:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/b06f0711-b431-4a79-8111-d1a651d8cad2 06:08:35 06:08:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:08:35 06:08:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:08:35 06:08:35 06:08:35 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 06:08:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:08:35 $ docker stop --time=1 37f4926588d20d688aa041c8a5462e5b73f605aa7367be7949bd476c52d1a99a 06:08:40 $ docker rm -f --volumes 37f4926588d20d688aa041c8a5462e5b73f605aa7367be7949bd476c52d1a99a [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:08:41 + git log --format=format:%s -1 aac4c7d4bf7ab00be6801211183b9038e4c857bf [Pipeline] sh 06:08:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:41 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 06:08:41 $ 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:08:42 $ docker top b1025e880e85004553380ebf46e8002f4a6609069a3483cad20a1ec9a1483c19 -eo pid,comm 06:08: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:08:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:42 [ssh-agent] Looking for ssh-agent implementation... 06:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:42 $ docker exec b1025e880e85004553380ebf46e8002f4a6609069a3483cad20a1ec9a1483c19 ssh-agent 06:08:42 SSH_AUTH_SOCK=/tmp/ssh-tTBlQG4inNsi/agent.31 06:08:42 SSH_AGENT_PID=37 06:08:42 Running ssh-add (command line suppressed) 06:08:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8292856318718806357.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8292856318718806357.key) 06:08:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:43 + git semver tag 06:08:43 2024-11-12 06:08:43,361 [run_tag] DEBUG tag force:False 06:08:43 2024-11-12 06:08:43,361 [check_head_tag] DEBUG check head tag 06:08:43 2024-11-12 06:08:43,362 [execute] INFO git cat-file --batch-check 06:08:43 2024-11-12 06:08:43,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:08:43 2024-11-12 06:08:43,367 [execute] INFO git cat-file --batch 06:08:43 2024-11-12 06:08:43,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:08:43 2024-11-12 06:08:43,390 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:08:43 2024-11-12 06:08:43,390 [execute] INFO git tag -a v4.0.0-dev.5 -m v4.0.0-dev.5 06:08:43 2024-11-12 06:08:43,390 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.5', '-m', 'v4.0.0-dev.5'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:08:43 2024-11-12 06:08:43,396 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:08:43 4.0.0-dev.5 [Pipeline] } 06:08:43 $ docker exec --env ******** --env ******** b1025e880e85004553380ebf46e8002f4a6609069a3483cad20a1ec9a1483c19 ssh-agent -k 06:08:43 unset SSH_AUTH_SOCK; 06:08:43 unset SSH_AGENT_PID; 06:08:43 echo Agent pid 37 killed; 06:08:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:44 + git semver [Pipeline] } 06:08:44 $ docker stop --time=1 b1025e880e85004553380ebf46e8002f4a6609069a3483cad20a1ec9a1483c19 06:08:45 $ docker rm -f --volumes b1025e880e85004553380ebf46e8002f4a6609069a3483cad20a1ec9a1483c19 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:08:46 06:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:08:46 0.23.1-centos7: Pulling from edgex-lftools 06:08:46 ab5ef0e58194: Pulling fs layer 06:08:46 9712f1f96733: Pulling fs layer 06:08:46 63f879dbbcfc: Pulling fs layer 06:08:46 0d9ebad4ef96: Pulling fs layer 06:08:46 e9a5061849ea: Pulling fs layer 06:08:46 d747dcd14b5f: Pulling fs layer 06:08:46 2de7ff778b66: Pulling fs layer 06:08:46 e9a5061849ea: Waiting 06:08:46 d747dcd14b5f: Waiting 06:08:46 0d9ebad4ef96: Waiting 06:08:46 2de7ff778b66: Waiting 06:08:46 9712f1f96733: Verifying Checksum 06:08:46 9712f1f96733: Download complete 06:08:46 63f879dbbcfc: Verifying Checksum 06:08:46 63f879dbbcfc: Download complete 06:08:46 e9a5061849ea: Verifying Checksum 06:08:46 e9a5061849ea: Download complete 06:08:46 d747dcd14b5f: Verifying Checksum 06:08:46 d747dcd14b5f: Download complete 06:08:46 ab5ef0e58194: Download complete 06:08:46 0d9ebad4ef96: Verifying Checksum 06:08:46 0d9ebad4ef96: Download complete 06:08:47 2de7ff778b66: Verifying Checksum 06:08:47 2de7ff778b66: Download complete 06:08:49 ab5ef0e58194: Pull complete 06:08:49 9712f1f96733: Pull complete 06:08:50 63f879dbbcfc: Pull complete 06:08:54 0d9ebad4ef96: Pull complete 06:08:54 e9a5061849ea: Pull complete 06:08:54 d747dcd14b5f: Pull complete 06:08:55 2de7ff778b66: Pull complete 06:08:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:08:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:55 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 06:08:55 $ 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:09:00 $ docker top c1035f11290c77733c223ef4d62f581b927c98b40613ee72253603ebefb4ba6e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:09:00 provisioning config files... 06:09:00 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13705919346860171148tmp 06:09:00 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1931934517244173529tmp 06:09:00 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12675130301235602166tmp [Pipeline] { [Pipeline] echo 06:09:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:09:00 ---> sigul-configuration.sh 06:09:00 gpg: directory `/root/.gnupg' created 06:09:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:09:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:09:00 gpg: keyring `/root/.gnupg/secring.gpg' created 06:09:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:09:00 gpg: CAST5 encrypted data 06:09:00 gpg: encrypted with 1 passphrase 06:09:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:09:01 + mkdir /home/jenkins 06:09:01 + mkdir /home/jenkins/sigul [Pipeline] sh 06:09:01 + 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:09:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:09:01 ---> sigul-install.sh 06:09:01 Sigul already installed; skipping installation. [Pipeline] sh 06:09:02 + git tag --list 06:09:02 0.7.1 06:09:02 v1.0.0 06:09:02 v1.1.0 06:09:02 v1.1.1 06:09:02 v1.2.2 06:09:02 v1.3.0 06:09:02 v1.3.1 06:09:02 v2.0.0 06:09:02 v2.1.0 06:09:02 v2.1.1 06:09:02 v2.2.0 06:09:02 v2.3.0 06:09:02 v3.0 06:09:02 v3.0.0 06:09:02 v3.1 06:09:02 v3.1.0 06:09:02 v3.1.0-dev.1 06:09:02 v3.1.0-dev.10 06:09:02 v3.1.0-dev.11 06:09:02 v3.1.0-dev.12 06:09:02 v3.1.0-dev.13 06:09:02 v3.1.0-dev.14 06:09:02 v3.1.0-dev.15 06:09:02 v3.1.0-dev.16 06:09:02 v3.1.0-dev.17 06:09:02 v3.1.0-dev.18 06:09:02 v3.1.0-dev.19 06:09:02 v3.1.0-dev.2 06:09:02 v3.1.0-dev.20 06:09:02 v3.1.0-dev.21 06:09:02 v3.1.0-dev.22 06:09:02 v3.1.0-dev.23 06:09:02 v3.1.0-dev.24 06:09:02 v3.1.0-dev.25 06:09:02 v3.1.0-dev.3 06:09:02 v3.1.0-dev.4 06:09:02 v3.1.0-dev.5 06:09:02 v3.1.0-dev.6 06:09:02 v3.1.0-dev.7 06:09:02 v3.1.0-dev.8 06:09:02 v3.1.0-dev.9 06:09:02 v3.1.1 06:09:02 v3.1.1-dev.1 06:09:02 v3.2.0-dev.1 06:09:02 v3.2.0-dev.10 06:09:02 v3.2.0-dev.11 06:09:02 v3.2.0-dev.12 06:09:02 v3.2.0-dev.13 06:09:02 v3.2.0-dev.14 06:09:02 v3.2.0-dev.15 06:09:02 v3.2.0-dev.16 06:09:02 v3.2.0-dev.17 06:09:02 v3.2.0-dev.18 06:09:02 v3.2.0-dev.19 06:09:02 v3.2.0-dev.2 06:09:02 v3.2.0-dev.20 06:09:02 v3.2.0-dev.21 06:09:02 v3.2.0-dev.22 06:09:02 v3.2.0-dev.23 06:09:02 v3.2.0-dev.24 06:09:02 v3.2.0-dev.25 06:09:02 v3.2.0-dev.26 06:09:02 v3.2.0-dev.3 06:09:02 v3.2.0-dev.4 06:09:02 v3.2.0-dev.5 06:09:02 v3.2.0-dev.6 06:09:02 v3.2.0-dev.7 06:09:02 v3.2.0-dev.8 06:09:02 v3.2.0-dev.9 06:09:02 v4.0.0-dev.1 06:09:02 v4.0.0-dev.2 06:09:02 v4.0.0-dev.3 06:09:02 v4.0.0-dev.4 06:09:02 v4.0.0-dev.5 [Pipeline] sh 06:09:02 + lftools sign git-tag v4.0.0-dev.5 06:09:03 Signing Git tag with Sigul... 06:09:03 Signing v4.0.0-dev.5 [Pipeline] echo 06:09:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:09:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:09:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:09:03 $ docker stop --time=1 c1035f11290c77733c223ef4d62f581b927c98b40613ee72253603ebefb4ba6e 06:09:04 $ docker rm -f --volumes c1035f11290c77733c223ef4d62f581b927c98b40613ee72253603ebefb4ba6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:09:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:05 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 06:09:05 $ 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:09:06 $ docker top 8f584e133970b5632fbd29e2dacd4767a0d52d501d10e2be6c72b11cb2abce6d -eo pid,comm 06:09:06 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:09:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:06 [ssh-agent] Looking for ssh-agent implementation... 06:09:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:06 $ docker exec 8f584e133970b5632fbd29e2dacd4767a0d52d501d10e2be6c72b11cb2abce6d ssh-agent 06:09:06 SSH_AUTH_SOCK=/tmp/ssh-SW37FEdbwJuc/agent.32 06:09:06 SSH_AGENT_PID=38 06:09:06 Running ssh-add (command line suppressed) 06:09:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2284950311129622817.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2284950311129622817.key) 06:09:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:06 + git semver bump pre 06:09:07 2024-11-12 06:09:07,095 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:09:07 2024-11-12 06:09:07,095 [bump_version] DEBUG bumping version:4.0.0-dev.5 on axis:pre with prefix:dev 06:09:07 2024-11-12 06:09:07,095 [bump_version] DEBUG bumped version:4.0.0-dev.6 06:09:07 2024-11-12 06:09:07,095 [write_version] DEBUG write version:4.0.0-dev.6 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:09:07 2024-11-12 06:09:07,095 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:09:07 2024-11-12 06:09:07,095 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:09:07 2024-11-12 06:09:07,097 [execute] INFO git cat-file --batch-check 06:09:07 2024-11-12 06:09:07,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:09:07 2024-11-12 06:09:07,103 [execute] INFO git cat-file --batch 06:09:07 2024-11-12 06:09:07,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:09:07 2024-11-12 06:09:07,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:09:07 4.0.0-dev.6 [Pipeline] } 06:09:07 $ docker exec --env ******** --env ******** 8f584e133970b5632fbd29e2dacd4767a0d52d501d10e2be6c72b11cb2abce6d ssh-agent -k 06:09:07 unset SSH_AUTH_SOCK; 06:09:07 unset SSH_AGENT_PID; 06:09:07 echo Agent pid 38 killed; 06:09:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:07 + git semver [Pipeline] } 06:09:07 $ docker stop --time=1 8f584e133970b5632fbd29e2dacd4767a0d52d501d10e2be6c72b11cb2abce6d 06:09:09 $ docker rm -f --volumes 8f584e133970b5632fbd29e2dacd4767a0d52d501d10e2be6c72b11cb2abce6d [Pipeline] // withDockerContainer [Pipeline] sh 06:09:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:09 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 06:09:09 $ 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:09:10 $ docker top cd5b61f1ae3a8e9466f43d17ddc0dd47d5a1c9cd0032f11a4177f79faede4b07 -eo pid,comm 06:09:10 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:09:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:10 [ssh-agent] Looking for ssh-agent implementation... 06:09:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:10 $ docker exec cd5b61f1ae3a8e9466f43d17ddc0dd47d5a1c9cd0032f11a4177f79faede4b07 ssh-agent 06:09:10 SSH_AUTH_SOCK=/tmp/ssh-ItbLtkmjp25z/agent.32 06:09:10 SSH_AGENT_PID=38 06:09:10 Running ssh-add (command line suppressed) 06:09:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7756830071991778252.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7756830071991778252.key) 06:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:11 + git semver push 06:09:11 2024-11-12 06:09:11,204 [run_push] DEBUG push 06:09:11 2024-11-12 06:09:11,205 [execute] INFO git cat-file --batch-check 06:09:11 2024-11-12 06:09:11,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:09:11 2024-11-12 06:09:11,210 [execute] INFO git rev-list d9009f23066a5aed369cc28b513ce62ef117f815 -- 06:09:11 2024-11-12 06:09:11,210 [execute] DEBUG Popen(['git', 'rev-list', 'd9009f23066a5aed369cc28b513ce62ef117f815', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:09:11 2024-11-12 06:09:11,221 [execute] INFO git fetch -v origin 06:09:11 2024-11-12 06:09:11,221 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:09:11 2024-11-12 06:09:11,675 [run_push] DEBUG no remote changes detected 06:09:11 2024-11-12 06:09:11,675 [execute] INFO git push origin semver 06:09:11 2024-11-12 06:09:11,676 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:09:12 2024-11-12 06:09:12,430 [run_push] DEBUG push all version tags 06:09:12 2024-11-12 06:09:12,430 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:09:12 2024-11-12 06:09:12,431 [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:09:13 2024-11-12 06:09:13,298 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:09:13 4.0.0-dev.6 [Pipeline] } 06:09:13 $ docker exec --env ******** --env ******** cd5b61f1ae3a8e9466f43d17ddc0dd47d5a1c9cd0032f11a4177f79faede4b07 ssh-agent -k 06:09:13 unset SSH_AUTH_SOCK; 06:09:13 unset SSH_AGENT_PID; 06:09:13 echo Agent pid 38 killed; 06:09:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:13 + git semver [Pipeline] } 06:09:14 $ docker stop --time=1 cd5b61f1ae3a8e9466f43d17ddc0dd47d5a1c9cd0032f11a4177f79faede4b07 06:09:15 $ docker rm -f --volumes cd5b61f1ae3a8e9466f43d17ddc0dd47d5a1c9cd0032f11a4177f79faede4b07 [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:09:16 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:09:16 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:09:16 total 16 06:09:16 drwxr-xr-x 3 root root 4096 Nov 12 05:56 . 06:09:16 drwxrwxr-x 10 jenkins jenkins 4096 Nov 12 06:09 .. 06:09:16 drwxr-xr-x 2 root root 4096 Nov 12 05:56 cost 06:09:16 -rw-r--r-- 1 root root 88 Nov 12 05:56 cost.csv 06:09:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:09:16 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:09:16 total 16 06:09:16 drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 05:56 . 06:09:16 drwxrwxr-x 10 jenkins jenkins 4096 Nov 12 06:09 .. 06:09:16 drwxr-xr-x 2 jenkins jenkins 4096 Nov 12 05:56 cost 06:09:16 -rw-r--r-- 1 jenkins jenkins 88 Nov 12 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:09:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:17 ---> package-listing.sh 06:09:17 ++ facter osfamily 06:09:17 ++ tr '[:upper:]' '[:lower:]' 06:09:17 + OS_FAMILY=debian 06:09:17 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:09:17 + START_PACKAGES=/tmp/packages_start.txt 06:09:17 + END_PACKAGES=/tmp/packages_end.txt 06:09:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:17 + PACKAGES=/tmp/packages_start.txt 06:09:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:09:17 + PACKAGES=/tmp/packages_end.txt 06:09:17 + case "${OS_FAMILY}" in 06:09:17 + dpkg -l 06:09:17 + grep '^ii' 06:09:17 + '[' -f /tmp/packages_start.txt ']' 06:09:17 + '[' -f /tmp/packages_end.txt ']' 06:09:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:09:17 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:09:17 + 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:09:17 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:09:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:09:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:18 prd-ubuntu20.04-docker-8c-8g-26244 does not seem to be running inside a container 06:09:18 $ 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:09:18 $ docker top b1b74243fec8100761bf48f5f6b893726922f4099b271a3533140a2245342b67 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:18 + touch /tmp/pre-build-complete [Pipeline] sh 06:09:19 + mkdir -p /var/log/sysstat [Pipeline] sh 06:09:19 + ls /var/log/sa-host 06:09:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:19 provisioning config files... 06:09:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11105956758398428385tmp [Pipeline] { [Pipeline] echo 06:09:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:09:20 ---> create-netrc.sh [Pipeline] } 06:09:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:09:20 ---> python-tools-install.sh [Pipeline] echo 06:09:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:09:20 ---> sudo-logs.sh 06:09:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:09:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:09:21 ---> job-cost.sh 06:09:21 lf-activate-venv: SKIPPING 06:09:21 DEBUG: total: 0.2199999988079071 06:09:21 INFO: Retrieving Stack Cost... 06:09:21 INFO: Retrieving Pricing Info for: v3-standard-8 06:09:21 INFO: Archiving Costs [Pipeline] echo 06:09:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:22 ---> logs-deploy.sh 06:09:22 lf-activate-venv: SKIPPING 06:09:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/170 06:09:22 INFO: archiving workspace using pattern(s): 06:09:23 Archives upload complete. 06:09:23 INFO: archiving logs to Nexus