Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2b384c346e19e635e1b49ec09200f6d61a158dd6 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-ssh3274320305867705717.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-ssh10546588902211057345.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-ssh11873162705881313464.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-ssh11662863092527210130.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-ssh5993132011943708749.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24110 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2b384c346e19e635e1b49ec09200f6d61a158dd6 (main) Commit message: "Merge pull request #586 from weichou1229/v4-module" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b384c346e19e635e1b49ec09200f6d61a158dd6 # timeout=10 > git rev-list --no-walk 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:11:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:11:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:11:52 ========================================================= 07:11:52 EdgeX Global Pipelines Version Info 07:11:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:11:52 ------------------- 07:11:52 stable info: 07:11:52 ------------------- 07:11:52 Commited By: Ginny Guan ginny@iotechsys.com 07:11:52 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:11:52 Message: update stable to v1.0.265 07:11:53 ------------------- 07:11:53 experimental info: 07:11:53 ------------------- 07:11:53 Commited By: Cherry Wang cherry@iotechsys.com 07:11:53 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:11:53 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:11:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b384c3 [Pipeline] echo 07:11:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:54 provisioning config files... 07:11:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11356055971003714328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:54 ---> ****-login.sh 07:11:54 nexus3.edgexfoundry.org:10001 07:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:54 Configure a credential helper to remove this warning. See 07:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:54 07:11:54 Login Succeeded 07:11:54 nexus3.edgexfoundry.org:10002 07:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:54 Configure a credential helper to remove this warning. See 07:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:54 07:11:54 Login Succeeded 07:11:54 nexus3.edgexfoundry.org:10003 07:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:55 Configure a credential helper to remove this warning. See 07:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:55 07:11:55 Login Succeeded 07:11:55 nexus3.edgexfoundry.org:10004 07:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:55 Configure a credential helper to remove this warning. See 07:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:55 07:11:55 Login Succeeded 07:11:55 ****.io 07:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:55 Configure a credential helper to remove this warning. See 07:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:55 07:11:55 Login Succeeded 07:11:55 ---> ****-login.sh ends [Pipeline] } 07:11:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:11:55 + git rev-list -1 --merges 2b384c346e19e635e1b49ec09200f6d61a158dd6~1..2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] echo 07:11:55 -----------> git rev-list -1 --merges 2b384c346e19e635e1b49ec09200f6d61a158dd6~1..2b384c346e19e635e1b49ec09200f6d61a158dd6 2b384c346e19e635e1b49ec09200f6d61a158dd6 07:11:55 2b384c346e19e635e1b49ec09200f6d61a158dd6 [false] [Pipeline] sh 07:11:56 + git log --format=format:%s -1 2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] echo 07:11:56 ========================================================= 07:11:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:11:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:56 + git log --format=format:%s -1 2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] echo 07:11:56 [semverPrep] GIT_COMMIT: 2b384c346e19e635e1b49ec09200f6d61a158dd6, Commit Message: Merge pull request #586 from weichou1229/v4-module [Pipeline] echo 07:11:56 [semverPrep] This is not a build commit. [Pipeline] sh 07:11:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:11:57 + grep -v github /etc/ssh/ssh_known_hosts 07:11:57 + [ -e /tmp/ssh_known_hosts ] 07:11:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:11:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:11:57 + sudo tee -a /etc/ssh/ssh_known_hosts 07:11:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:57 07:11:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:57 0.1.4: Pulling from edgex-devops/py-git-semver 07:11:57 b85a868b505f: Pulling fs layer 07:11:57 e2be974225ed: Pulling fs layer 07:11:57 339a4e72a1f5: Pulling fs layer 07:11:57 988bab9f4d93: Pulling fs layer 07:11:57 1469e6f7b9e6: Pulling fs layer 07:11:57 eaf3925da568: Pulling fs layer 07:11:57 bab4dde63d76: Pulling fs layer 07:11:57 bde34c3a00c8: Pulling fs layer 07:11:57 b352a97aabf1: Pulling fs layer 07:11:57 4872d77fe225: Pulling fs layer 07:11:57 5851b861e8e6: Pulling fs layer 07:11:57 bab4dde63d76: Waiting 07:11:57 bde34c3a00c8: Waiting 07:11:57 b352a97aabf1: Waiting 07:11:57 4872d77fe225: Waiting 07:11:57 5851b861e8e6: Waiting 07:11:57 1469e6f7b9e6: Waiting 07:11:57 988bab9f4d93: Waiting 07:11:57 eaf3925da568: Waiting 07:11:57 e2be974225ed: Verifying Checksum 07:11:57 e2be974225ed: Download complete 07:11:57 988bab9f4d93: Verifying Checksum 07:11:57 988bab9f4d93: Download complete 07:11:57 1469e6f7b9e6: Verifying Checksum 07:11:57 1469e6f7b9e6: Download complete 07:11:57 eaf3925da568: Verifying Checksum 07:11:57 eaf3925da568: Download complete 07:11:57 339a4e72a1f5: Verifying Checksum 07:11:57 339a4e72a1f5: Download complete 07:11:57 bde34c3a00c8: Verifying Checksum 07:11:57 bde34c3a00c8: Download complete 07:11:57 b352a97aabf1: Verifying Checksum 07:11:57 b352a97aabf1: Download complete 07:11:57 4872d77fe225: Verifying Checksum 07:11:57 4872d77fe225: Download complete 07:11:57 5851b861e8e6: Download complete 07:11:57 b85a868b505f: Download complete 07:11:58 bab4dde63d76: Verifying Checksum 07:11:58 bab4dde63d76: Download complete 07:11:59 b85a868b505f: Pull complete 07:11:59 e2be974225ed: Pull complete 07:11:59 339a4e72a1f5: Pull complete 07:11:59 988bab9f4d93: Pull complete 07:12:00 1469e6f7b9e6: Pull complete 07:12:00 eaf3925da568: Pull complete 07:12:02 bab4dde63d76: Pull complete 07:12:02 bde34c3a00c8: Pull complete 07:12:02 b352a97aabf1: Pull complete 07:12:02 4872d77fe225: Pull complete 07:12:02 5851b861e8e6: Pull complete 07:12:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:12:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:02 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:12:02 $ 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 07:12:03 $ docker top 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c -eo pid,comm 07:12:03 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). 07:12:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:12:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:04 [ssh-agent] Looking for ssh-agent implementation... 07:12:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:04 $ docker exec 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c ssh-agent 07:12:04 SSH_AUTH_SOCK=/tmp/ssh-kpoHFo2imSVY/agent.33 07:12:04 SSH_AGENT_PID=39 07:12:04 Running ssh-add (command line suppressed) 07:12:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6507822893412256271.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6507822893412256271.key) 07:12:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:04 + git tag --points-at HEAD [Pipeline] } 07:12:04 $ docker exec --env ******** --env ******** 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c ssh-agent -k 07:12:04 unset SSH_AUTH_SOCK; 07:12:04 unset SSH_AGENT_PID; 07:12:04 echo Agent pid 39 killed; 07:12:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:12:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:04 [ssh-agent] Looking for ssh-agent implementation... 07:12:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:04 $ docker exec 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c ssh-agent 07:12:05 SSH_AUTH_SOCK=/tmp/ssh-79GP309bb11v/agent.72 07:12:05 SSH_AGENT_PID=78 07:12:05 Running ssh-add (command line suppressed) 07:12:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15933858825350550321.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15933858825350550321.key) 07:12:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:05 + git semver init 07:12:05 2024-10-30 07:12:05,641 [run_init] DEBUG init version:0.0.0 force:False 07:12:05 2024-10-30 07:12:05,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:12:05 2024-10-30 07:12:05,642 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:12:05 2024-10-30 07:12:05,642 [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) 07:12:06 2024-10-30 07:12:06,558 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:12:06 2024-10-30 07:12:06,559 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:12:06 2024-10-30 07:12:06,559 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:06 2024-10-30 07:12:06,559 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:12:06 4.0.0-dev.2 [Pipeline] } 07:12:06 $ docker exec --env ******** --env ******** 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c ssh-agent -k 07:12:06 unset SSH_AUTH_SOCK; 07:12:06 unset SSH_AGENT_PID; 07:12:06 echo Agent pid 78 killed; 07:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:12:07 + git semver [Pipeline] } 07:12:07 $ docker stop --time=1 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c 07:12:08 $ docker rm -f --volumes 2f19e694582a34f84d67e09bb956f42ede8cf5dc4127634d3fe5a3c726ac282c [Pipeline] // withDockerContainer [Pipeline] sh 07:12:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:12:09 Stashed 1 file(s) [Pipeline] echo 07:12:09 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [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 07:12:09 provisioning config files... 07:12:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15883249282674266587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:09 ---> ****-login.sh 07:12:09 nexus3.edgexfoundry.org:10001 07:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:12:09 Configure a credential helper to remove this warning. See 07:12:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:12:09 07:12:09 Login Succeeded 07:12:09 nexus3.edgexfoundry.org:10002 07:12:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:12:09 Configure a credential helper to remove this warning. See 07:12:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:12:09 07:12:09 Login Succeeded 07:12:09 nexus3.edgexfoundry.org:10003 07:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:12:10 Configure a credential helper to remove this warning. See 07:12:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:12:10 07:12:10 Login Succeeded 07:12:10 nexus3.edgexfoundry.org:10004 07:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:12:10 Configure a credential helper to remove this warning. See 07:12:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:12:10 07:12:10 Login Succeeded 07:12:10 ****.io 07:12:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:12:10 Configure a credential helper to remove this warning. See 07:12:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:12:10 07:12:10 Login Succeeded 07:12:10 ---> ****-login.sh ends [Pipeline] } 07:12:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:12:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:12:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:12:10 ========================================================= 07:12:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:12:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:10 + 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 . 07:12:10 Sending build context to Docker daemon 18MB 07:12:10 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:12:10 Step 2/10 : FROM ${BASE} AS builder 07:12:10 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:12:10 43c4264eed91: Pulling fs layer 07:12:10 4cc291be95ef: Pulling fs layer 07:12:10 2ac1f1163629: Pulling fs layer 07:12:10 5c3c966382ef: Pulling fs layer 07:12:10 4f4fb700ef54: Pulling fs layer 07:12:10 5d5c8e513c77: Pulling fs layer 07:12:10 5c3c966382ef: Waiting 07:12:10 9f66e0745190: Pulling fs layer 07:12:10 f49a43e4bbc0: Pulling fs layer 07:12:10 9f66e0745190: Waiting 07:12:10 561ebcabdf7f: Pulling fs layer 07:12:10 5d5c8e513c77: Waiting 07:12:10 f49a43e4bbc0: Waiting 07:12:10 561ebcabdf7f: Waiting 07:12:11 4cc291be95ef: Verifying Checksum 07:12:11 4cc291be95ef: Download complete 07:12:11 5c3c966382ef: Verifying Checksum 07:12:11 5c3c966382ef: Download complete 07:12:11 4f4fb700ef54: Verifying Checksum 07:12:11 4f4fb700ef54: Download complete 07:12:11 5d5c8e513c77: Verifying Checksum 07:12:11 5d5c8e513c77: Download complete 07:12:11 43c4264eed91: Verifying Checksum 07:12:11 43c4264eed91: Download complete 07:12:11 9f66e0745190: Verifying Checksum 07:12:11 9f66e0745190: Download complete 07:12:11 43c4264eed91: Pull complete 07:12:11 561ebcabdf7f: Verifying Checksum 07:12:11 561ebcabdf7f: Download complete 07:12:11 4cc291be95ef: Pull complete 07:12:11 2ac1f1163629: Verifying Checksum 07:12:11 2ac1f1163629: Download complete 07:12:11 f49a43e4bbc0: Verifying Checksum 07:12:11 f49a43e4bbc0: Download complete 07:12:15 2ac1f1163629: Pull complete 07:12:15 5c3c966382ef: Pull complete 07:12:15 4f4fb700ef54: Pull complete 07:12:15 5d5c8e513c77: Pull complete 07:12:15 9f66e0745190: Pull complete 07:12:17 f49a43e4bbc0: Pull complete 07:12:17 561ebcabdf7f: Pull complete 07:12:17 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:12:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:12:17 ---> 3a752c3f9dda 07:12:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:12:19 ---> Running in a45657933444 07:12:19 Removing intermediate container a45657933444 07:12:19 ---> 4715c0a14c96 07:12:19 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:12:19 ---> Running in 5a2017a3582e 07:12:19 Removing intermediate container 5a2017a3582e 07:12:19 ---> 88551145a508 07:12:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:12:19 ---> Running in 5f7ca37627c8 07:12:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:12:20 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:12:20 (2/8) Installing libedit (20240517.3.1-r0) 07:12:20 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:12:20 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:12:20 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:12:20 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:12:20 (7/8) Installing openssh-server (9.7_p1-r4) 07:12:20 (8/8) Installing openssh (9.7_p1-r4) 07:12:20 Executing busybox-1.36.1-r29.trigger 07:12:20 OK: 252 MiB in 62 packages 07:12:20 Removing intermediate container 5f7ca37627c8 07:12:20 ---> d9479d68c6d5 07:12:20 Step 6/10 : WORKDIR /device-modbus-go 07:12:20 ---> Running in aa685a4dc2d2 07:12:21 Removing intermediate container aa685a4dc2d2 07:12:21 ---> 2ec69fd77c74 07:12:21 Step 7/10 : COPY go.mod vendor* ./ 07:12:21 ---> c612fcdca548 07:12:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:21 ---> Running in 2d26af3c6826 07:12:24 Still waiting to schedule task 07:12:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:12:53 Removing intermediate container 2d26af3c6826 07:12:53 ---> d0d2c9884b88 07:12:53 Step 9/10 : COPY . . 07:12:53 ---> cfb9fd0eabcf 07:12:53 Step 10/10 : RUN ${MAKE} 07:12:53 ---> Running in 2e30b165708a 07:12:53 noop 07:12:53 Removing intermediate container 2e30b165708a 07:12:53 ---> ffcb8a434bf4 07:12:53 Successfully built ffcb8a434bf4 07:12:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:53 + docker inspect -f . ci-base-image-x86_64 07:12:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:53 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:12:53 $ 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 07:12:53 $ docker top 4eb19f30d9f04b5602681fe89c4fd16e4b021a4839ad657d88c8d55351210c4a -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:54 + go version 07:12:54 go version go1.23.2 linux/amd64 [Pipeline] } 07:12:54 $ docker stop --time=1 4eb19f30d9f04b5602681fe89c4fd16e4b021a4839ad657d88c8d55351210c4a 07:12:55 $ docker rm -f --volumes 4eb19f30d9f04b5602681fe89c4fd16e4b021a4839ad657d88c8d55351210c4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:56 + docker inspect -f . ci-base-image-x86_64 07:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:56 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:12:56 $ 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 07:12:56 $ docker top 21d715aa6fe91ed1023907512e24132feb4b62c09a9b1e0c97ca8262c96319db -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:12:57 + make test 07:12:57 go test ./... -coverprofile=coverage.out 07:12:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:13:20 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:13:20 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 07:13:30 go vet ./... 07:13:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:13:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:13:35 ./bin/test-attribution-txt.sh [Pipeline] echo 07:13:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:13:35 $ docker stop --time=1 21d715aa6fe91ed1023907512e24132feb4b62c09a9b1e0c97ca8262c96319db 07:13:37 $ docker rm -f --volumes 21d715aa6fe91ed1023907512e24132feb4b62c09a9b1e0c97ca8262c96319db [Pipeline] // withDockerContainer [Pipeline] sh 07:13:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:13:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:39 + ls -al . 07:13:39 total 272 07:13:39 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 07:12 . 07:13:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:11 .. 07:13:39 -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 07:11 .dockerignore 07:13:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:13 .git 07:13:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 .github 07:13:39 -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 07:11 .gitignore 07:13:39 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 07:11 .golangci.yml 07:13:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:12 .semver 07:13:39 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 07:11 Attribution.txt 07:13:39 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 07:11 CHANGELOG.md 07:13:39 -rw-rw-r-- 1 jenkins jenkins 1479 Oct 30 07:11 Dockerfile 07:13:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:11 GOVERNANCE.md 07:13:39 -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 07:11 Jenkinsfile 07:13:39 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:11 LICENSE 07:13:39 -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 07:11 Makefile 07:13:39 -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 07:11 OWNERS.md 07:13:39 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 07:11 README.md 07:13:39 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 07:12 VERSION 07:13:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:11 bin 07:13:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 cmd 07:13:39 -rw-r--r-- 1 jenkins jenkins 25464 Oct 30 07:13 coverage.out 07:13:39 -rw-rw-r-- 1 jenkins jenkins 7150 Oct 30 07:11 go.mod 07:13:39 -rw-rw-r-- 1 jenkins jenkins 100733 Oct 30 07:11 go.sum 07:13:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:11 internal 07:13:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:11 simulator 07:13:39 -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:39 + 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=2b384c346e19e635e1b49ec09200f6d61a158dd6 --label arch=amd64 --label version=4.0.0-dev.2 . 07:13:39 Sending build context to Docker daemon 18.03MB 07:13:39 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:13:39 Step 2/23 : FROM ${BASE} AS builder 07:13:39 ---> ffcb8a434bf4 07:13:39 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:13:39 ---> Running in 12f254bcd736 07:13:39 Removing intermediate container 12f254bcd736 07:13:39 ---> a01973bc5a97 07:13:39 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:13:39 ---> Running in af4e830f0ea4 07:13:39 Removing intermediate container af4e830f0ea4 07:13:39 ---> fe2738792150 07:13:39 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:13:39 ---> Running in ded51699b276 07:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:13:40 OK: 252 MiB in 62 packages 07:13:41 Removing intermediate container ded51699b276 07:13:41 ---> cfb11790b5ce 07:13:41 Step 6/23 : WORKDIR /device-modbus-go 07:13:41 ---> Running in cad28e9de0fb 07:13:41 Removing intermediate container cad28e9de0fb 07:13:41 ---> 545d56aed49e 07:13:41 Step 7/23 : COPY go.mod vendor* ./ 07:13:41 ---> 03128b7fe46a 07:13:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:13:41 ---> Running in af6e0fbe80ef 07:13:42 Removing intermediate container af6e0fbe80ef 07:13:42 ---> 574e9ba36487 07:13:42 Step 9/23 : COPY . . 07:13:42 ---> c2f7386b5f0d 07:13:42 Step 10/23 : RUN ${MAKE} 07:13:42 ---> Running in b88eadb8e89f 07:13:42 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd 07:14:14 Removing intermediate container b88eadb8e89f 07:14:14 ---> 64eebeba26d5 07:14:14 Step 11/23 : FROM alpine:3.20 07:14:14 3.20: Pulling from library/alpine 07:14:14 43c4264eed91: Already exists 07:14:14 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:14:14 Status: Downloaded newer image for alpine:3.20 07:14:14 ---> 91ef0af61f39 07:14:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:14:14 ---> Running in d739340f98c7 07:14:14 Removing intermediate container d739340f98c7 07:14:14 ---> 465ee3aa04d7 07:14:14 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:14:14 ---> Running in 0fc9c6ed3938 07:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:14:14 (1/1) Installing dumb-init (1.2.5-r3) 07:14:14 Executing busybox-1.36.1-r29.trigger 07:14:14 OK: 8 MiB in 15 packages 07:14:14 Removing intermediate container 0fc9c6ed3938 07:14:14 ---> f672320eedeb 07:14:14 Step 14/23 : RUN apk --no-cache upgrade 07:14:14 ---> Running in 272e4254b8be 07:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:14:14 Upgrading critical system libraries and apk-tools: 07:14:14 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:14:14 Executing busybox-1.36.1-r29.trigger 07:14:14 Continuing the upgrade transaction with new apk-tools: 07:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:14:14 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:14:14 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:14:14 OK: 8 MiB in 15 packages 07:14:14 Removing intermediate container 272e4254b8be 07:14:14 ---> 411e14861076 07:14:14 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:14:15 ---> 77164e4ebab5 07:14:15 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:14:15 ---> 9e12bdf17c2d 07:14:15 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:14:15 ---> 0a1fce2ea482 07:14:15 Step 18/23 : EXPOSE 59901 07:14:15 ---> Running in dcbe08169a1a 07:14:15 Removing intermediate container dcbe08169a1a 07:14:15 ---> af41c7e28b6d 07:14:15 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:14:15 ---> Running in 250d45e96eaf 07:14:15 Removing intermediate container 250d45e96eaf 07:14:15 ---> f994fe45f135 07:14:15 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:14:15 ---> Running in c9ee3b5ae709 07:14:15 Removing intermediate container c9ee3b5ae709 07:14:15 ---> 767cb2d744e6 07:14:15 Step 21/23 : LABEL arch=amd64 07:14:15 ---> Running in 62ce9af35a5e 07:14:15 Removing intermediate container 62ce9af35a5e 07:14:15 ---> 709a64426c8f 07:14:15 Step 22/23 : LABEL git_sha=2b384c346e19e635e1b49ec09200f6d61a158dd6 07:14:15 ---> Running in a280352059bd 07:14:15 Removing intermediate container a280352059bd 07:14:15 ---> d946e9e9fb69 07:14:15 Step 23/23 : LABEL version=4.0.0-dev.2 07:14:15 ---> Running in 5845a432b0c3 07:14:15 Removing intermediate container 5845a432b0c3 07:14:15 ---> d46eafc7bee8 07:14:15 [Warning] One or more build-args [ARCH] were not consumed 07:14:15 Successfully built d46eafc7bee8 07:14:15 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:16 provisioning config files... 07:14:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8518111630188396793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:16 ---> ****-login.sh 07:14:16 nexus3.edgexfoundry.org:10001 07:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:16 Configure a credential helper to remove this warning. See 07:14:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:16 07:14:16 Login Succeeded 07:14:16 nexus3.edgexfoundry.org:10002 07:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:16 Configure a credential helper to remove this warning. See 07:14:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:16 07:14:16 Login Succeeded 07:14:16 nexus3.edgexfoundry.org:10003 07:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:16 Configure a credential helper to remove this warning. See 07:14:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:16 07:14:16 Login Succeeded 07:14:16 nexus3.edgexfoundry.org:10004 07:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:16 Configure a credential helper to remove this warning. See 07:14:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:16 07:14:16 Login Succeeded 07:14:16 ****.io 07:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:14:16 Configure a credential helper to remove this warning. See 07:14:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:14:16 07:14:16 Login Succeeded 07:14:16 ---> ****-login.sh ends [Pipeline] } 07:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:14:16 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:14:16 2b384c346e19e635e1b49ec09200f6d61a158dd6 07:14:16 latest 07:14:16 4.0.0-dev.2 07:14:16 2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 07:14:16 main 07:14:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2b384c346e19e635e1b49ec09200f6d61a158dd6 07:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:14:17 09e2374e1e10: Preparing 07:14:17 9607bd5601b6: Preparing 07:14:17 faad4c1b42b0: Preparing 07:14:17 d56671113ccc: Preparing 07:14:17 63952a1126cd: Preparing 07:14:17 63ca1fbb43ae: Preparing 07:14:17 63ca1fbb43ae: Waiting 07:14:17 9607bd5601b6: Pushed 07:14:17 09e2374e1e10: Pushed 07:14:17 63952a1126cd: Pushed 07:14:17 63ca1fbb43ae: Layer already exists 07:14:18 d56671113ccc: Pushed 07:14:23 faad4c1b42b0: Pushed 07:14:23 2b384c346e19e635e1b49ec09200f6d61a158dd6: digest: sha256:703e722c36499bb23d62d7f57b3bc6f7f34119605a0109ecf628da972d7fa031 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:14:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:14:24 09e2374e1e10: Preparing 07:14:24 9607bd5601b6: Preparing 07:14:24 faad4c1b42b0: Preparing 07:14:24 d56671113ccc: Preparing 07:14:24 63952a1126cd: Preparing 07:14:24 63ca1fbb43ae: Preparing 07:14:24 faad4c1b42b0: Layer already exists 07:14:24 9607bd5601b6: Layer already exists 07:14:24 63952a1126cd: Layer already exists 07:14:24 d56671113ccc: Layer already exists 07:14:24 09e2374e1e10: Layer already exists 07:14:24 63ca1fbb43ae: Layer already exists 07:14:24 latest: digest: sha256:703e722c36499bb23d62d7f57b3bc6f7f34119605a0109ecf628da972d7fa031 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.2 07:14:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:14:24 09e2374e1e10: Preparing 07:14:24 9607bd5601b6: Preparing 07:14:24 faad4c1b42b0: Preparing 07:14:24 d56671113ccc: Preparing 07:14:24 63952a1126cd: Preparing 07:14:24 63ca1fbb43ae: Preparing 07:14:24 63ca1fbb43ae: Waiting 07:14:24 09e2374e1e10: Layer already exists 07:14:24 faad4c1b42b0: Layer already exists 07:14:24 9607bd5601b6: Layer already exists 07:14:24 63952a1126cd: Layer already exists 07:14:24 d56671113ccc: Layer already exists 07:14:24 63ca1fbb43ae: Layer already exists 07:14:24 4.0.0-dev.2: digest: sha256:703e722c36499bb23d62d7f57b3bc6f7f34119605a0109ecf628da972d7fa031 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 07:14:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:14:25 09e2374e1e10: Preparing 07:14:25 9607bd5601b6: Preparing 07:14:25 faad4c1b42b0: Preparing 07:14:25 d56671113ccc: Preparing 07:14:25 63952a1126cd: Preparing 07:14:25 63ca1fbb43ae: Preparing 07:14:25 63ca1fbb43ae: Waiting 07:14:25 faad4c1b42b0: Layer already exists 07:14:25 09e2374e1e10: Layer already exists 07:14:25 9607bd5601b6: Layer already exists 07:14:25 63952a1126cd: Layer already exists 07:14:25 d56671113ccc: Layer already exists 07:14:25 63ca1fbb43ae: Layer already exists 07:14:25 2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2: digest: sha256:703e722c36499bb23d62d7f57b3bc6f7f34119605a0109ecf628da972d7fa031 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:14:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:14:26 09e2374e1e10: Preparing 07:14:26 9607bd5601b6: Preparing 07:14:26 faad4c1b42b0: Preparing 07:14:26 d56671113ccc: Preparing 07:14:26 63952a1126cd: Preparing 07:14:26 63ca1fbb43ae: Preparing 07:14:26 63ca1fbb43ae: Waiting 07:14:26 d56671113ccc: Layer already exists 07:14:26 faad4c1b42b0: Layer already exists 07:14:26 63952a1126cd: Layer already exists 07:14:26 09e2374e1e10: Layer already exists 07:14:26 9607bd5601b6: Layer already exists 07:14:26 63ca1fbb43ae: Layer already exists 07:14:26 main: digest: sha256:703e722c36499bb23d62d7f57b3bc6f7f34119605a0109ecf628da972d7fa031 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:14:26 ===================================================== [Pipeline] echo 07:14:26 taggedImages: 07:14:26 - nexus3.edgexfoundry.org:10004/device-modbus:2b384c346e19e635e1b49ec09200f6d61a158dd6 07:14:26 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:14:26 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.2 07:14:26 - nexus3.edgexfoundry.org:10004/device-modbus:2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 07:14:26 - 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 07:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:26 07:14:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:26 latest: Pulling from edgex-lftools-log-publisher 07:14:26 5eb5b503b376: Pulling fs layer 07:14:26 5c69ac0246d0: Pulling fs layer 07:14:26 ec43610c2a17: Pulling fs layer 07:14:26 3a2ae6a8a46f: Pulling fs layer 07:14:26 33b1e0a273af: Pulling fs layer 07:14:26 5d3b04190fa2: Pulling fs layer 07:14:26 2f39f015ded8: Pulling fs layer 07:14:26 5d3b04190fa2: Waiting 07:14:26 33b1e0a273af: Waiting 07:14:26 2f39f015ded8: Waiting 07:14:26 3a2ae6a8a46f: Waiting 07:14:26 5c69ac0246d0: Verifying Checksum 07:14:26 5c69ac0246d0: Download complete 07:14:26 3a2ae6a8a46f: Download complete 07:14:26 33b1e0a273af: Download complete 07:14:26 5d3b04190fa2: Verifying Checksum 07:14:26 5d3b04190fa2: Download complete 07:14:26 ec43610c2a17: Verifying Checksum 07:14:26 ec43610c2a17: Download complete 07:14:27 5eb5b503b376: Verifying Checksum 07:14:27 5eb5b503b376: Download complete 07:14:27 2f39f015ded8: Download complete 07:14:28 5eb5b503b376: Pull complete 07:14:28 5c69ac0246d0: Pull complete 07:14:28 ec43610c2a17: Pull complete 07:14:29 3a2ae6a8a46f: Pull complete 07:14:29 33b1e0a273af: Pull complete 07:14:29 5d3b04190fa2: Pull complete 07:14:33 2f39f015ded8: Pull complete 07:14:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:14:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:14:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:33 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:14:33 $ 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 07:14:35 $ docker top 9d12b76c5e46fe3ab7ef474bfc68b0def5bbd3c8c3f1542e57aa536de4ab3790 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:35 ---> job-cost.sh 07:14:35 lf-activate-venv: SKIPPING 07:14:35 INFO: No Stack... 07:14:35 INFO: Retrieving Pricing Info for: v3-standard-8 07:14:36 INFO: Archiving Costs [Pipeline] sh 07:14:36 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:14:36 + cut -d, -f6 [Pipeline] lock 07:14:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] 07:14:36 Resource [jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] did not exist. Created. 07:14:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:14:36 + echo total: 0.2199999988079071 [Pipeline] stash 07:14:37 Stashed 1 file(s) [Pipeline] } 07:14:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 07:14:37 $ docker stop --time=1 9d12b76c5e46fe3ab7ef474bfc68b0def5bbd3c8c3f1542e57aa536de4ab3790 07:14:38 $ docker rm -f --volumes 9d12b76c5e46fe3ab7ef474bfc68b0def5bbd3c8c3f1542e57aa536de4ab3790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:16:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24113 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:16:09 Running in /w/workspace/device-modbus-go/167 [Pipeline] { [Pipeline] checkout 07:16:12 The recommended git tool is: git 07:16:17 using credential edgex-jenkins-ssh 07:16:17 Cloning the remote Git repository 07:16:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:16:18 > git init /w/workspace/device-modbus-go/167 # timeout=10 07:16:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:16:18 > git --version # timeout=10 07:16:18 > git --version # 'git version 2.25.1' 07:16:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:16:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:16:21 Avoid second fetch 07:16:21 Checking out Revision 2b384c346e19e635e1b49ec09200f6d61a158dd6 (main) 07:16:21 > git config core.sparsecheckout # timeout=10 07:16:21 > git checkout -f 2b384c346e19e635e1b49ec09200f6d61a158dd6 # timeout=10 07:16:22 Commit message: "Merge pull request #586 from weichou1229/v4-module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:16:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:16:27 % Total % Received % Xferd Average Speed Time Time Time Current 07:16:27 Dload Upload Total Spent Left Speed 07:16:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 07:16:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:16:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:16:28 + sudo tee /etc/docker/daemon.new 07:16:28 { 07:16:28 "registry-mirrors": [ 07:16:28 "https://nexus3.edgexfoundry.org:10001" 07:16:28 ], 07:16:28 "bip": "10.250.0.254/24", 07:16:28 "hosts": [ 07:16:28 "tcp://0.0.0.0:5555", 07:16:28 "unix:///var/run/docker.sock" 07:16:28 ], 07:16:28 "mtu": 1458, 07:16:28 "selinux-enabled": true, 07:16:28 "seccomp-profile": "/etc/docker/seccomp.json" 07:16:28 } [Pipeline] sh 07:16:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:16:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:47 provisioning config files... 07:16:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/167@tmp/config7112915826142291142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:48 ---> ****-login.sh 07:16:48 nexus3.edgexfoundry.org:10001 07:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:16:48 Configure a credential helper to remove this warning. See 07:16:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:16:48 07:16:48 Login Succeeded 07:16:48 nexus3.edgexfoundry.org:10002 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:16:49 Configure a credential helper to remove this warning. See 07:16:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:16:49 07:16:49 Login Succeeded 07:16:49 nexus3.edgexfoundry.org:10003 07:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:16:50 Configure a credential helper to remove this warning. See 07:16:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:16:50 07:16:50 Login Succeeded 07:16:50 nexus3.edgexfoundry.org:10004 07:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:16:50 Configure a credential helper to remove this warning. See 07:16:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:16:50 07:16:50 Login Succeeded 07:16:50 ****.io 07:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:16:50 Configure a credential helper to remove this warning. See 07:16:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:16:50 07:16:50 Login Succeeded 07:16:50 ---> ****-login.sh ends [Pipeline] } 07:16:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:16:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:16:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:16:51 ========================================================= 07:16:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:16:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:51 + 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 . 07:16:52 Sending build context to Docker daemon 9.14MB 07:16:52 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:16:52 Step 2/10 : FROM ${BASE} AS builder 07:16:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:16:53 cf04c63912e1: Pulling fs layer 07:16:53 55b35a11ae5e: Pulling fs layer 07:16:53 a37a00ec5f00: Pulling fs layer 07:16:53 50b3750afda1: Pulling fs layer 07:16:53 4f4fb700ef54: Pulling fs layer 07:16:53 80978eb59214: Pulling fs layer 07:16:53 c9f46d7d2bd2: Pulling fs layer 07:16:53 c5a475d317c9: Pulling fs layer 07:16:53 50b3750afda1: Waiting 07:16:53 4f4fb700ef54: Waiting 07:16:53 80978eb59214: Waiting 07:16:53 c5a475d317c9: Waiting 07:16:53 c9f46d7d2bd2: Waiting 07:16:54 55b35a11ae5e: Verifying Checksum 07:16:54 55b35a11ae5e: Download complete 07:16:54 50b3750afda1: Verifying Checksum 07:16:54 50b3750afda1: Download complete 07:16:54 4f4fb700ef54: Verifying Checksum 07:16:54 4f4fb700ef54: Download complete 07:16:54 80978eb59214: Verifying Checksum 07:16:54 cf04c63912e1: Verifying Checksum 07:16:54 cf04c63912e1: Download complete 07:16:54 c5a475d317c9: Verifying Checksum 07:16:54 c5a475d317c9: Download complete 07:16:55 cf04c63912e1: Pull complete 07:16:55 55b35a11ae5e: Pull complete 07:16:56 a37a00ec5f00: Verifying Checksum 07:16:56 a37a00ec5f00: Download complete 07:16:57 c9f46d7d2bd2: Verifying Checksum 07:16:57 c9f46d7d2bd2: Download complete 07:17:12 a37a00ec5f00: Pull complete 07:17:12 50b3750afda1: Pull complete 07:17:12 4f4fb700ef54: Pull complete 07:17:12 80978eb59214: Pull complete 07:17:18 c9f46d7d2bd2: Pull complete 07:17:20 c5a475d317c9: Pull complete 07:17:20 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:17:20 ---> be29e6b0f0d4 07:17:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:17:22 ---> Running in 484ab4bd9838 07:17:22 Removing intermediate container 484ab4bd9838 07:17:22 ---> 60ce51fbaafc 07:17:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:17:22 ---> Running in 1f64d1a37fb5 07:17:22 Removing intermediate container 1f64d1a37fb5 07:17:22 ---> b16511b59424 07:17:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:17:22 ---> Running in 025744a149c7 07:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:17:25 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:17:25 (2/8) Installing libedit (20240517.3.1-r0) 07:17:26 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:17:26 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:17:26 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:17:26 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:17:26 (7/8) Installing openssh-server (9.7_p1-r4) 07:17:26 (8/8) Installing openssh (9.7_p1-r4) 07:17:26 Executing busybox-1.36.1-r29.trigger 07:17:26 OK: 244 MiB in 62 packages 07:17:27 Removing intermediate container 025744a149c7 07:17:27 ---> 33dabfb3853b 07:17:27 Step 6/10 : WORKDIR /device-modbus-go 07:17:27 ---> Running in 6f7d67625cf5 07:17:27 Removing intermediate container 6f7d67625cf5 07:17:27 ---> 8e4c3bbf63ee 07:17:27 Step 7/10 : COPY go.mod vendor* ./ 07:17:28 ---> 1599e1997cea 07:17:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:28 ---> Running in c25388719191 07:19:20 Removing intermediate container c25388719191 07:19:20 ---> f64bf34895a5 07:19:20 Step 9/10 : COPY . . 07:19:20 ---> fd7032054ecb 07:19:20 Step 10/10 : RUN ${MAKE} 07:19:20 ---> Running in b33aec7a6954 07:19:20 noop 07:19:20 Removing intermediate container b33aec7a6954 07:19:20 ---> 19043c621de2 07:19:20 Successfully built 19043c621de2 07:19:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:20 + docker inspect -f . ci-base-image-arm64 07:19:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:20 prd-ubuntu20.04-docker-arm64-4c-16g-24113 does not seem to be running inside a container 07:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/167 -v /w/workspace/device-modbus-go/167:/w/workspace/device-modbus-go/167:rw,z -v /w/workspace/device-modbus-go/167@tmp:/w/workspace/device-modbus-go/167@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 07:19:21 $ docker top 45ae1dc05f697bc4b814879dc1c2ad4df455067310e20cd9c72b6085e4ed3bf2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:22 + go version 07:19:22 go version go1.23.2 linux/arm64 [Pipeline] } 07:19:22 $ docker stop --time=1 45ae1dc05f697bc4b814879dc1c2ad4df455067310e20cd9c72b6085e4ed3bf2 07:19:24 $ docker rm -f --volumes 45ae1dc05f697bc4b814879dc1c2ad4df455067310e20cd9c72b6085e4ed3bf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:24 + docker inspect -f . ci-base-image-arm64 07:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:24 prd-ubuntu20.04-docker-arm64-4c-16g-24113 does not seem to be running inside a container 07:19:25 $ 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/167 -v /w/workspace/device-modbus-go/167:/w/workspace/device-modbus-go/167:rw,z -v /w/workspace/device-modbus-go/167@tmp:/w/workspace/device-modbus-go/167@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 07:19:26 $ docker top 679cf13183e0a95df611e29c8dfa6d67c653ae87df08fa56d41ff2605c13949e -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:26 + git config --global --add safe.directory /w/workspace/device-modbus-go/167 [Pipeline] fileExists [Pipeline] sh 07:19:27 + make test 07:19:27 go test ./... -coverprofile=coverage.out 07:19:33 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:23:40 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:23:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 48.0% of statements 07:23:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:23:40 go vet ./... 07:24:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:24:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:24:30 ./bin/test-attribution-txt.sh [Pipeline] echo 07:24:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:24:31 $ docker stop --time=1 679cf13183e0a95df611e29c8dfa6d67c653ae87df08fa56d41ff2605c13949e 07:24:33 $ docker rm -f --volumes 679cf13183e0a95df611e29c8dfa6d67c653ae87df08fa56d41ff2605c13949e [Pipeline] // withDockerContainer [Pipeline] sh 07:24:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:24:34 Warning: overwriting stash ‘coverage-report’ 07:24:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:24:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:24:36 + ls -al . 07:24:36 total 268 07:24:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:19 . 07:24:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 07:16 .. 07:24:36 -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 07:16 .dockerignore 07:24:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 07:16 .git 07:24:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:16 .github 07:24:36 -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 07:16 .gitignore 07:24:36 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 07:16 .golangci.yml 07:24:36 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 07:16 Attribution.txt 07:24:36 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 07:16 CHANGELOG.md 07:24:36 -rw-rw-r-- 1 jenkins jenkins 1479 Oct 30 07:16 Dockerfile 07:24:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 07:16 GOVERNANCE.md 07:24:36 -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 07:16 Jenkinsfile 07:24:36 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 07:16 LICENSE 07:24:36 -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 07:16 Makefile 07:24:36 -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 07:16 OWNERS.md 07:24:36 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 07:16 README.md 07:24:36 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 07:12 VERSION 07:24:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:16 bin 07:24:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:16 cmd 07:24:36 -rw-r--r-- 1 jenkins jenkins 25464 Oct 30 07:23 coverage.out 07:24:36 -rw-rw-r-- 1 jenkins jenkins 7150 Oct 30 07:16 go.mod 07:24:36 -rw-rw-r-- 1 jenkins jenkins 100733 Oct 30 07:16 go.sum 07:24:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 07:16 internal 07:24:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 07:16 simulator 07:24:36 -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 07:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:36 + 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=2b384c346e19e635e1b49ec09200f6d61a158dd6 --label arch=arm64 --label version=4.0.0-dev.2 . 07:24:36 Sending build context to Docker daemon 9.166MB 07:24:37 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:24:37 Step 2/23 : FROM ${BASE} AS builder 07:24:37 ---> 19043c621de2 07:24:37 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:24:37 ---> Running in a52bbcd49dd4 07:24:37 Removing intermediate container a52bbcd49dd4 07:24:37 ---> 0409644b8895 07:24:37 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:37 ---> Running in 109e2840b427 07:24:37 Removing intermediate container 109e2840b427 07:24:37 ---> 8b5d72c1c80f 07:24:37 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:24:37 ---> Running in e224bdfb6293 07:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:24:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:24:41 OK: 244 MiB in 62 packages 07:24:42 Removing intermediate container e224bdfb6293 07:24:42 ---> f44a23a4cfd0 07:24:42 Step 6/23 : WORKDIR /device-modbus-go 07:24:42 ---> Running in f52edd8b61d5 07:24:42 Removing intermediate container f52edd8b61d5 07:24:42 ---> 361d44af94d8 07:24:42 Step 7/23 : COPY go.mod vendor* ./ 07:24:43 ---> 5aa6d12741cb 07:24:43 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:43 ---> Running in a37e94dd722d 07:24:45 Removing intermediate container a37e94dd722d 07:24:45 ---> a45131143e41 07:24:45 Step 9/23 : COPY . . 07:24:46 ---> 3eddc50450f7 07:24:46 Step 10/23 : RUN ${MAKE} 07:24:46 ---> Running in 250229b62530 07:24:47 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd 07:28:24 Removing intermediate container 250229b62530 07:28:24 ---> 8954446045ef 07:28:24 Step 11/23 : FROM alpine:3.20 07:28:24 3.20: Pulling from library/alpine 07:28:24 cf04c63912e1: Already exists 07:28:24 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:28:24 Status: Downloaded newer image for alpine:3.20 07:28:24 ---> c157a85ed455 07:28:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:28:24 ---> Running in 06a951d974ee 07:28:24 Removing intermediate container 06a951d974ee 07:28:24 ---> effc793d3993 07:28:24 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:28:24 ---> Running in 6c46d4b972af 07:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:28:26 (1/1) Installing dumb-init (1.2.5-r3) 07:28:26 Executing busybox-1.36.1-r29.trigger 07:28:26 OK: 9 MiB in 15 packages 07:28:27 Removing intermediate container 6c46d4b972af 07:28:27 ---> f412d7fe1b50 07:28:27 Step 14/23 : RUN apk --no-cache upgrade 07:28:27 ---> Running in d74a0703ae5f 07:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:28:30 Upgrading critical system libraries and apk-tools: 07:28:30 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:28:30 Executing busybox-1.36.1-r29.trigger 07:28:30 Continuing the upgrade transaction with new apk-tools: 07:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:28:31 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:28:31 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:28:31 OK: 9 MiB in 15 packages 07:28:32 Removing intermediate container d74a0703ae5f 07:28:32 ---> 65167ced1a05 07:28:32 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:28:35 ---> 39d76f504724 07:28:35 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:28:35 ---> 5d24a57a3ea5 07:28:35 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:28:36 ---> 15fadfa2fdc1 07:28:36 Step 18/23 : EXPOSE 59901 07:28:36 ---> Running in 940004ef0f20 07:28:36 Removing intermediate container 940004ef0f20 07:28:36 ---> 5c7e73c87747 07:28:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:28:36 ---> Running in 7503e056b69e 07:28:37 Removing intermediate container 7503e056b69e 07:28:37 ---> b170fe9a449a 07:28:37 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:28:37 ---> Running in bdccb79d6a81 07:28:37 Removing intermediate container bdccb79d6a81 07:28:37 ---> fe043c130624 07:28:37 Step 21/23 : LABEL arch=arm64 07:28:37 ---> Running in e40b8f014119 07:28:37 Removing intermediate container e40b8f014119 07:28:37 ---> a4218ec4e4b5 07:28:37 Step 22/23 : LABEL git_sha=2b384c346e19e635e1b49ec09200f6d61a158dd6 07:28:37 ---> Running in b165d57d8ae3 07:28:38 Removing intermediate container b165d57d8ae3 07:28:38 ---> 4c84811cd89f 07:28:38 Step 23/23 : LABEL version=4.0.0-dev.2 07:28:38 ---> Running in 26192fe1aeb4 07:28:38 Removing intermediate container 26192fe1aeb4 07:28:38 ---> 3e45097477a2 07:28:38 [Warning] One or more build-args [ARCH] were not consumed 07:28:38 Successfully built 3e45097477a2 07:28:38 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 07:28:38 provisioning config files... 07:28:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/167@tmp/config11282461685071500121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:39 ---> ****-login.sh 07:28:39 nexus3.edgexfoundry.org:10001 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 nexus3.edgexfoundry.org:10002 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:39 Configure a credential helper to remove this warning. See 07:28:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:39 07:28:39 Login Succeeded 07:28:39 nexus3.edgexfoundry.org:10003 07:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:40 Configure a credential helper to remove this warning. See 07:28:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:40 07:28:40 Login Succeeded 07:28:40 nexus3.edgexfoundry.org:10004 07:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:40 Configure a credential helper to remove this warning. See 07:28:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:40 07:28:40 Login Succeeded 07:28:40 ****.io 07:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:28:40 Configure a credential helper to remove this warning. See 07:28:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:28:40 07:28:40 Login Succeeded 07:28:40 ---> ****-login.sh ends [Pipeline] } 07:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:28:41 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:28:41 2b384c346e19e635e1b49ec09200f6d61a158dd6 07:28:41 latest 07:28:41 4.0.0-dev.2 07:28:41 2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 07:28:41 main 07:28:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2b384c346e19e635e1b49ec09200f6d61a158dd6 07:28:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:41 9aa19e4ab464: Preparing 07:28:41 f1c9218f0758: Preparing 07:28:41 5627a4c43fef: Preparing 07:28:41 8c168c2c6115: Preparing 07:28:41 1a9dee4c1276: Preparing 07:28:41 16113d51b718: Preparing 07:28:41 16113d51b718: Waiting 07:28:42 1a9dee4c1276: Pushed 07:28:42 f1c9218f0758: Pushed 07:28:42 9aa19e4ab464: Pushed 07:28:42 16113d51b718: Layer already exists 07:28:43 8c168c2c6115: Pushed 07:28:53 5627a4c43fef: Pushed 07:28:53 2b384c346e19e635e1b49ec09200f6d61a158dd6: digest: sha256:9ca9f6e4bb9847c1214b9f92ca2ff57d2c0c557e0836d43c9323d2d8d8fc7c4c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:28:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:54 9aa19e4ab464: Preparing 07:28:54 f1c9218f0758: Preparing 07:28:54 5627a4c43fef: Preparing 07:28:54 8c168c2c6115: Preparing 07:28:54 1a9dee4c1276: Preparing 07:28:54 16113d51b718: Preparing 07:28:54 16113d51b718: Waiting 07:28:54 5627a4c43fef: Layer already exists 07:28:54 1a9dee4c1276: Layer already exists 07:28:54 8c168c2c6115: Layer already exists 07:28:54 f1c9218f0758: Layer already exists 07:28:54 9aa19e4ab464: Layer already exists 07:28:54 16113d51b718: Layer already exists 07:28:54 latest: digest: sha256:9ca9f6e4bb9847c1214b9f92ca2ff57d2c0c557e0836d43c9323d2d8d8fc7c4c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.2 07:28:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:55 9aa19e4ab464: Preparing 07:28:55 f1c9218f0758: Preparing 07:28:55 5627a4c43fef: Preparing 07:28:55 8c168c2c6115: Preparing 07:28:55 1a9dee4c1276: Preparing 07:28:55 16113d51b718: Preparing 07:28:55 16113d51b718: Waiting 07:28:55 5627a4c43fef: Layer already exists 07:28:55 9aa19e4ab464: Layer already exists 07:28:55 8c168c2c6115: Layer already exists 07:28:55 f1c9218f0758: Layer already exists 07:28:55 1a9dee4c1276: Layer already exists 07:28:55 16113d51b718: Layer already exists 07:28:55 4.0.0-dev.2: digest: sha256:9ca9f6e4bb9847c1214b9f92ca2ff57d2c0c557e0836d43c9323d2d8d8fc7c4c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 07:28:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:56 9aa19e4ab464: Preparing 07:28:56 f1c9218f0758: Preparing 07:28:56 5627a4c43fef: Preparing 07:28:56 8c168c2c6115: Preparing 07:28:56 1a9dee4c1276: Preparing 07:28:56 16113d51b718: Preparing 07:28:56 16113d51b718: Waiting 07:28:56 8c168c2c6115: Layer already exists 07:28:56 f1c9218f0758: Layer already exists 07:28:56 5627a4c43fef: Layer already exists 07:28:56 9aa19e4ab464: Layer already exists 07:28:56 1a9dee4c1276: Layer already exists 07:28:56 16113d51b718: Layer already exists 07:28:56 2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2: digest: sha256:9ca9f6e4bb9847c1214b9f92ca2ff57d2c0c557e0836d43c9323d2d8d8fc7c4c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:28:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:28:57 9aa19e4ab464: Preparing 07:28:57 f1c9218f0758: Preparing 07:28:57 5627a4c43fef: Preparing 07:28:57 8c168c2c6115: Preparing 07:28:57 1a9dee4c1276: Preparing 07:28:57 16113d51b718: Preparing 07:28:57 16113d51b718: Waiting 07:28:57 8c168c2c6115: Layer already exists 07:28:57 f1c9218f0758: Layer already exists 07:28:57 1a9dee4c1276: Layer already exists 07:28:57 9aa19e4ab464: Layer already exists 07:28:57 5627a4c43fef: Layer already exists 07:28:57 16113d51b718: Layer already exists 07:28:57 main: digest: sha256:9ca9f6e4bb9847c1214b9f92ca2ff57d2c0c557e0836d43c9323d2d8d8fc7c4c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:28:57 ===================================================== [Pipeline] echo 07:28:57 taggedImages: 07:28:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2b384c346e19e635e1b49ec09200f6d61a158dd6 07:28:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:28:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.2 07:28:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2b384c346e19e635e1b49ec09200f6d61a158dd6-4.0.0-dev.2 07:28:57 - 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 07:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:57 07:28:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:58 arm64: Pulling from edgex-lftools-log-publisher 07:28:58 8998bd30e6a1: Pulling fs layer 07:28:58 04944245beec: Pulling fs layer 07:28:58 699f458cf7ca: Pulling fs layer 07:28:58 765212b225bb: Pulling fs layer 07:28:58 f23df028b6ca: Pulling fs layer 07:28:58 d65c8cfc05b1: Pulling fs layer 07:28:58 2437ff75d9bd: Pulling fs layer 07:28:58 f23df028b6ca: Waiting 07:28:58 765212b225bb: Waiting 07:28:58 d65c8cfc05b1: Waiting 07:28:58 04944245beec: Verifying Checksum 07:28:58 04944245beec: Download complete 07:28:58 765212b225bb: Verifying Checksum 07:28:58 765212b225bb: Download complete 07:28:58 f23df028b6ca: Verifying Checksum 07:28:58 f23df028b6ca: Download complete 07:28:58 d65c8cfc05b1: Verifying Checksum 07:28:58 d65c8cfc05b1: Download complete 07:28:58 699f458cf7ca: Verifying Checksum 07:28:58 699f458cf7ca: Download complete 07:28:59 8998bd30e6a1: Verifying Checksum 07:28:59 8998bd30e6a1: Download complete 07:29:01 2437ff75d9bd: Verifying Checksum 07:29:03 8998bd30e6a1: Pull complete 07:29:04 04944245beec: Pull complete 07:29:05 699f458cf7ca: Pull complete 07:29:05 765212b225bb: Pull complete 07:29:06 f23df028b6ca: Pull complete 07:29:06 d65c8cfc05b1: Pull complete 07:29:25 2437ff75d9bd: Pull complete 07:29:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:29:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:25 prd-ubuntu20.04-docker-arm64-4c-16g-24113 does not seem to be running inside a container 07:29:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/167 -v /w/workspace/device-modbus-go/167:/w/workspace/device-modbus-go/167:rw,z -v /w/workspace/device-modbus-go/167@tmp:/w/workspace/device-modbus-go/167@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 07:29:28 $ docker top 130a3d8598ca61cb22b8075d25d41e9ecb61f1f82e699d4bb8764507f61e5391 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:28 ---> job-cost.sh 07:29:28 lf-activate-venv: SKIPPING 07:29:28 INFO: No Stack... 07:29:29 INFO: Retrieving Pricing Info for: v3-standard-4 07:29:30 INFO: Archiving Costs [Pipeline] sh 07:29:30 + cut -d, -f6 07:29:30 + cat /w/workspace/device-modbus-go/167/archives/cost.csv [Pipeline] lock 07:29:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] 07:29:30 Resource [jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] did not exist. Created. 07:29:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:29:31 /w/workspace/device-modbus-go/167@tmp/durable-c1d6e1bb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:29:31 + echo total: 0.10999999940395355 [Pipeline] stash 07:29:31 Warning: overwriting stash ‘stack-cost’ 07:29:31 Stashed 1 file(s) [Pipeline] } 07:29:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 07:29:32 $ docker stop --time=1 130a3d8598ca61cb22b8075d25d41e9ecb61f1f82e699d4bb8764507f61e5391 07:29:33 $ docker rm -f --volumes 130a3d8598ca61cb22b8075d25d41e9ecb61f1f82e699d4bb8764507f61e5391 [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 07:29:34 provisioning config files... 07:29:34 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12879594472459592458tmp [Pipeline] { [Pipeline] sh 07:29:34 + set +x 07:29:34 + + curl -s https://codecov.io/bash 07:29:34 bash -s -- 07:29:34 07:29:34 _____ _ 07:29:34 / ____| | | 07:29:34 | | ___ __| | ___ ___ _____ __ 07:29:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:29:34 | |___| (_) | (_| | __/ (_| (_) \ V / 07:29:34 \_____\___/ \__,_|\___|\___\___/ \_/ 07:29:34 Bash-1.0.6 07:29:34 07:29:34 07:29:34 ==> git version 2.25.1 found 07:29:34 ==> 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 07:29:34 Release-Date: 2020-01-08 07:29:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:29:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:29:34 ==> Jenkins CI detected. 07:29:34 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:29:34 project root: . 07:29:34 --> token set from env 07:29:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:29:34 ==> Running gcov in . (disable via -X gcov) 07:29:34 ==> Python coveragepy not found 07:29:34 ==> Searching for coverage reports in: 07:29:34 + . 07:29:34 -> Found 1 reports 07:29:34 ==> Detecting git/mercurial file structure 07:29:34 ==> Reading reports 07:29:34 + ./coverage.out bytes=25464 07:29:34 ==> Appending adjustments 07:29:34 https://docs.codecov.io/docs/fixing-reports 07:29:34 + Found adjustments 07:29:34 ==> Gzipping contents 07:29:34 4.0K /tmp/codecov.bXw9up.gz 07:29:34 ==> Uploading reports 07:29:34 url: https://codecov.io 07:29:34 query: branch=main&commit=2b384c346e19e635e1b49ec09200f6d61a158dd6&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:29:34 -> Pinging Codecov 07:29:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=2b384c346e19e635e1b49ec09200f6d61a158dd6&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:29:34 -> Uploading to 07:29:34 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/2b384c346e19e635e1b49ec09200f6d61a158dd6/e0cc2e61-5e3b-4e3c-ac3b-5b93c67647b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T072934Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=bcf57a96aa31f62da0f300db66f612966154e8fbb8f7f0b2193586a8882329f4 07:29:34 % Total % Received % Xferd Average Speed Time Time Time Current 07:29:34 Dload Upload Total Spent Left Speed 07:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 17095 --:--:-- --:--:-- --:--:-- 17095 07:29:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] } 07:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:29:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:29:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:29:35 07:29:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:29:35 latest: Pulling from edgex-devops/edgex-snyk-go 07:29:35 43c4264eed91: Already exists 07:29:35 4cc291be95ef: Already exists 07:29:35 2ac1f1163629: Already exists 07:29:35 5c3c966382ef: Already exists 07:29:35 4f4fb700ef54: Already exists 07:29:35 d9c7d2e4e75e: Pulling fs layer 07:29:35 9c3e1370e548: Pulling fs layer 07:29:36 d9c7d2e4e75e: Download complete 07:29:36 d9c7d2e4e75e: Pull complete 07:29:36 9c3e1370e548: Verifying Checksum 07:29:36 9c3e1370e548: Download complete 07:29:40 9c3e1370e548: Pull complete 07:29:40 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:29:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:29:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:40 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:29:40 $ 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 07:29:41 $ docker top 0163f25a8948794f364214557140192d8d1be1d360770a5a5ca44b47276b19dd -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:29:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:29:42 + set -o pipefail 07:29:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:29:48 07:29:48 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:29:48 07:29:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/a6792c18-e3da-477a-8215-65dabea2987b 07:29:48 07:29:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:29:48 07:29:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:29:48 [Pipeline] } 07:29:48 $ docker stop --time=1 0163f25a8948794f364214557140192d8d1be1d360770a5a5ca44b47276b19dd 07:29:50 $ docker rm -f --volumes 0163f25a8948794f364214557140192d8d1be1d360770a5a5ca44b47276b19dd [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 07:29:51 + git log --format=format:%s -1 2b384c346e19e635e1b49ec09200f6d61a158dd6 [Pipeline] sh 07:29:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:52 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:29:52 $ 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 07:29:53 $ docker top 6352dc0c7b89f873d5a4671e94070578dd1757fc3d999502ecf2d287f49188d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:29:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:53 [ssh-agent] Looking for ssh-agent implementation... 07:29:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:53 $ docker exec 6352dc0c7b89f873d5a4671e94070578dd1757fc3d999502ecf2d287f49188d4 ssh-agent 07:29:53 SSH_AUTH_SOCK=/tmp/ssh-qOSSeLVGI5yT/agent.32 07:29:53 SSH_AGENT_PID=38 07:29:53 Running ssh-add (command line suppressed) 07:29:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15916295525319486125.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15916295525319486125.key) 07:29:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:53 + git semver tag 07:29:54 2024-10-30 07:29:54,109 [run_tag] DEBUG tag force:False 07:29:54 2024-10-30 07:29:54,109 [check_head_tag] DEBUG check head tag 07:29:54 2024-10-30 07:29:54,110 [execute] INFO git cat-file --batch-check 07:29:54 2024-10-30 07:29:54,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:29:54 2024-10-30 07:29:54,114 [execute] INFO git cat-file --batch 07:29:54 2024-10-30 07:29:54,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:29:54 2024-10-30 07:29:54,139 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:29:54 2024-10-30 07:29:54,139 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 07:29:54 2024-10-30 07:29:54,140 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:29:54 2024-10-30 07:29:54,145 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:29:54 4.0.0-dev.2 [Pipeline] } 07:29:54 $ docker exec --env ******** --env ******** 6352dc0c7b89f873d5a4671e94070578dd1757fc3d999502ecf2d287f49188d4 ssh-agent -k 07:29:54 unset SSH_AUTH_SOCK; 07:29:54 unset SSH_AGENT_PID; 07:29:54 echo Agent pid 38 killed; 07:29:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:54 + git semver [Pipeline] } 07:29:54 $ docker stop --time=1 6352dc0c7b89f873d5a4671e94070578dd1757fc3d999502ecf2d287f49188d4 07:29:56 $ docker rm -f --volumes 6352dc0c7b89f873d5a4671e94070578dd1757fc3d999502ecf2d287f49188d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:56 07:29:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:56 0.23.1-centos7: Pulling from edgex-lftools 07:29:56 ab5ef0e58194: Pulling fs layer 07:29:56 9712f1f96733: Pulling fs layer 07:29:56 63f879dbbcfc: Pulling fs layer 07:29:56 0d9ebad4ef96: Pulling fs layer 07:29:56 e9a5061849ea: Pulling fs layer 07:29:56 d747dcd14b5f: Pulling fs layer 07:29:56 2de7ff778b66: Pulling fs layer 07:29:56 d747dcd14b5f: Waiting 07:29:56 2de7ff778b66: Waiting 07:29:56 0d9ebad4ef96: Waiting 07:29:56 e9a5061849ea: Waiting 07:29:56 9712f1f96733: Download complete 07:29:57 63f879dbbcfc: Verifying Checksum 07:29:57 63f879dbbcfc: Download complete 07:29:57 e9a5061849ea: Verifying Checksum 07:29:57 e9a5061849ea: Download complete 07:29:57 0d9ebad4ef96: Verifying Checksum 07:29:57 0d9ebad4ef96: Download complete 07:29:57 d747dcd14b5f: Verifying Checksum 07:29:57 d747dcd14b5f: Download complete 07:29:57 ab5ef0e58194: Verifying Checksum 07:29:57 ab5ef0e58194: Download complete 07:29:57 2de7ff778b66: Verifying Checksum 07:29:57 2de7ff778b66: Download complete 07:30:00 ab5ef0e58194: Pull complete 07:30:00 9712f1f96733: Pull complete 07:30:01 63f879dbbcfc: Pull complete 07:30:04 0d9ebad4ef96: Pull complete 07:30:04 e9a5061849ea: Pull complete 07:30:04 d747dcd14b5f: Pull complete 07:30:05 2de7ff778b66: Pull complete 07:30:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:30:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:05 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:30:05 $ 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 07:30:07 $ docker top 46f2bd1d6e41a094554edd781b4f600e3b001b20f90f64966fd6c25573193833 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:30:07 provisioning config files... 07:30:07 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8229121635573295282tmp 07:30:07 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10584598671982183265tmp 07:30:07 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10654377875928032000tmp [Pipeline] { [Pipeline] echo 07:30:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:30:07 ---> sigul-configuration.sh 07:30:07 gpg: directory `/root/.gnupg' created 07:30:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:30:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:30:07 gpg: keyring `/root/.gnupg/secring.gpg' created 07:30:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:30:07 gpg: CAST5 encrypted data 07:30:07 gpg: encrypted with 1 passphrase 07:30:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:30:07 + mkdir /home/jenkins 07:30:07 + mkdir /home/jenkins/sigul [Pipeline] sh 07:30:08 + 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 07:30:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:30:08 ---> sigul-install.sh 07:30:08 Sigul already installed; skipping installation. [Pipeline] sh 07:30:08 + git tag --list 07:30:08 0.7.1 07:30:08 v1.0.0 07:30:08 v1.1.0 07:30:08 v1.1.1 07:30:08 v1.2.2 07:30:08 v1.3.0 07:30:08 v1.3.1 07:30:08 v2.0.0 07:30:08 v2.1.0 07:30:08 v2.1.1 07:30:08 v2.2.0 07:30:08 v2.3.0 07:30:08 v3.0 07:30:08 v3.0.0 07:30:08 v3.1 07:30:08 v3.1.0 07:30:08 v3.1.0-dev.1 07:30:08 v3.1.0-dev.10 07:30:08 v3.1.0-dev.11 07:30:08 v3.1.0-dev.12 07:30:08 v3.1.0-dev.13 07:30:08 v3.1.0-dev.14 07:30:08 v3.1.0-dev.15 07:30:08 v3.1.0-dev.16 07:30:08 v3.1.0-dev.17 07:30:08 v3.1.0-dev.18 07:30:08 v3.1.0-dev.19 07:30:08 v3.1.0-dev.2 07:30:08 v3.1.0-dev.20 07:30:08 v3.1.0-dev.21 07:30:08 v3.1.0-dev.22 07:30:08 v3.1.0-dev.23 07:30:08 v3.1.0-dev.24 07:30:08 v3.1.0-dev.25 07:30:08 v3.1.0-dev.3 07:30:08 v3.1.0-dev.4 07:30:08 v3.1.0-dev.5 07:30:08 v3.1.0-dev.6 07:30:08 v3.1.0-dev.7 07:30:08 v3.1.0-dev.8 07:30:08 v3.1.0-dev.9 07:30:08 v3.1.1 07:30:08 v3.1.1-dev.1 07:30:08 v3.2.0-dev.1 07:30:08 v3.2.0-dev.10 07:30:08 v3.2.0-dev.11 07:30:08 v3.2.0-dev.12 07:30:08 v3.2.0-dev.13 07:30:08 v3.2.0-dev.14 07:30:08 v3.2.0-dev.15 07:30:08 v3.2.0-dev.16 07:30:08 v3.2.0-dev.17 07:30:08 v3.2.0-dev.18 07:30:08 v3.2.0-dev.19 07:30:08 v3.2.0-dev.2 07:30:08 v3.2.0-dev.20 07:30:08 v3.2.0-dev.21 07:30:08 v3.2.0-dev.22 07:30:08 v3.2.0-dev.23 07:30:08 v3.2.0-dev.24 07:30:08 v3.2.0-dev.25 07:30:08 v3.2.0-dev.26 07:30:08 v3.2.0-dev.3 07:30:08 v3.2.0-dev.4 07:30:08 v3.2.0-dev.5 07:30:08 v3.2.0-dev.6 07:30:08 v3.2.0-dev.7 07:30:08 v3.2.0-dev.8 07:30:08 v3.2.0-dev.9 07:30:08 v4.0.0-dev.1 07:30:08 v4.0.0-dev.2 [Pipeline] sh 07:30:09 + lftools sign git-tag v4.0.0-dev.2 07:30:09 Signing Git tag with Sigul... 07:30:09 Signing v4.0.0-dev.2 [Pipeline] echo 07:30:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:30:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:30:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:30:10 $ docker stop --time=1 46f2bd1d6e41a094554edd781b4f600e3b001b20f90f64966fd6c25573193833 07:30:11 $ docker rm -f --volumes 46f2bd1d6e41a094554edd781b4f600e3b001b20f90f64966fd6c25573193833 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:30:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:30:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:30:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:12 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:30:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:30:13 $ docker top 452bf68d515f71f9796f1394511bd843192dfb765f6feb3f34fb96e9cd963f90 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:13 [ssh-agent] Looking for ssh-agent implementation... 07:30:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:13 $ docker exec 452bf68d515f71f9796f1394511bd843192dfb765f6feb3f34fb96e9cd963f90 ssh-agent 07:30:13 SSH_AUTH_SOCK=/tmp/ssh-aBqtgwlJcpIJ/agent.33 07:30:13 SSH_AGENT_PID=39 07:30:13 Running ssh-add (command line suppressed) 07:30:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12410040036469307658.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12410040036469307658.key) 07:30:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:13 + git semver bump pre 07:30:14 2024-10-30 07:30:14,059 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:30:14 2024-10-30 07:30:14,059 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 07:30:14 2024-10-30 07:30:14,059 [bump_version] DEBUG bumped version:4.0.0-dev.3 07:30:14 2024-10-30 07:30:14,059 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:30:14 2024-10-30 07:30:14,059 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:30:14 2024-10-30 07:30:14,059 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:30:14 2024-10-30 07:30:14,062 [execute] INFO git cat-file --batch-check 07:30:14 2024-10-30 07:30:14,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:30:14 2024-10-30 07:30:14,067 [execute] INFO git cat-file --batch 07:30:14 2024-10-30 07:30:14,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:30:14 2024-10-30 07:30:14,071 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:30:14 4.0.0-dev.3 [Pipeline] } 07:30:14 $ docker exec --env ******** --env ******** 452bf68d515f71f9796f1394511bd843192dfb765f6feb3f34fb96e9cd963f90 ssh-agent -k 07:30:14 unset SSH_AUTH_SOCK; 07:30:14 unset SSH_AGENT_PID; 07:30:14 echo Agent pid 39 killed; 07:30:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:14 + git semver [Pipeline] } 07:30:14 $ docker stop --time=1 452bf68d515f71f9796f1394511bd843192dfb765f6feb3f34fb96e9cd963f90 07:30:16 $ docker rm -f --volumes 452bf68d515f71f9796f1394511bd843192dfb765f6feb3f34fb96e9cd963f90 [Pipeline] // withDockerContainer [Pipeline] sh 07:30:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:30:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:30:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:16 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:30:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:30:17 $ docker top 2d25ce20f8d1532e6a13328d97cf55971eac01b7ded08769ab2ade07df4832f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:30:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:30:17 [ssh-agent] Looking for ssh-agent implementation... 07:30:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:30:17 $ docker exec 2d25ce20f8d1532e6a13328d97cf55971eac01b7ded08769ab2ade07df4832f4 ssh-agent 07:30:17 SSH_AUTH_SOCK=/tmp/ssh-eNySriLtkAlZ/agent.32 07:30:17 SSH_AGENT_PID=38 07:30:17 Running ssh-add (command line suppressed) 07:30:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17760938015254079658.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17760938015254079658.key) 07:30:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:30:17 + git semver push 07:30:18 2024-10-30 07:30:18,165 [run_push] DEBUG push 07:30:18 2024-10-30 07:30:18,165 [execute] INFO git cat-file --batch-check 07:30:18 2024-10-30 07:30:18,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:30:18 2024-10-30 07:30:18,170 [execute] INFO git rev-list 554f13be2deef35185330917b82f014d6e2a22a2 -- 07:30:18 2024-10-30 07:30:18,170 [execute] DEBUG Popen(['git', 'rev-list', '554f13be2deef35185330917b82f014d6e2a22a2', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:30:18 2024-10-30 07:30:18,181 [execute] INFO git fetch -v origin 07:30:18 2024-10-30 07:30:18,181 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:30:18 2024-10-30 07:30:18,635 [run_push] DEBUG no remote changes detected 07:30:18 2024-10-30 07:30:18,636 [execute] INFO git push origin semver 07:30:18 2024-10-30 07:30:18,636 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:30:19 2024-10-30 07:30:19,419 [run_push] DEBUG push all version tags 07:30:19 2024-10-30 07:30:19,419 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:30:19 2024-10-30 07:30:19,420 [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) 07:30:20 2024-10-30 07:30:20,072 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:30:20 4.0.0-dev.3 [Pipeline] } 07:30:20 $ docker exec --env ******** --env ******** 2d25ce20f8d1532e6a13328d97cf55971eac01b7ded08769ab2ade07df4832f4 ssh-agent -k 07:30:20 unset SSH_AUTH_SOCK; 07:30:20 unset SSH_AGENT_PID; 07:30:20 echo Agent pid 38 killed; 07:30:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:30:20 + git semver [Pipeline] } 07:30:21 $ docker stop --time=1 2d25ce20f8d1532e6a13328d97cf55971eac01b7ded08769ab2ade07df4832f4 07:30:22 $ docker rm -f --volumes 2d25ce20f8d1532e6a13328d97cf55971eac01b7ded08769ab2ade07df4832f4 [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 07:30:22 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:30:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:30:22 total 16 07:30:22 drwxr-xr-x 3 root root 4096 Oct 30 07:14 . 07:30:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 07:30 .. 07:30:22 drwxr-xr-x 2 root root 4096 Oct 30 07:14 cost 07:30:22 -rw-r--r-- 1 root root 88 Oct 30 07:14 cost.csv 07:30:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:30:22 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:30:22 total 16 07:30:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 07:14 . 07:30:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 07:30 .. 07:30:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 07:14 cost 07:30:22 -rw-r--r-- 1 jenkins jenkins 88 Oct 30 07:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:30:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:30:24 ---> package-listing.sh 07:30:24 ++ facter osfamily 07:30:24 ++ tr '[:upper:]' '[:lower:]' 07:30:24 + OS_FAMILY=debian 07:30:24 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:30:24 + START_PACKAGES=/tmp/packages_start.txt 07:30:24 + END_PACKAGES=/tmp/packages_end.txt 07:30:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:30:24 + PACKAGES=/tmp/packages_start.txt 07:30:24 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:30:24 + PACKAGES=/tmp/packages_end.txt 07:30:24 + case "${OS_FAMILY}" in 07:30:24 + dpkg -l 07:30:24 + grep '^ii' 07:30:24 + '[' -f /tmp/packages_start.txt ']' 07:30:24 + '[' -f /tmp/packages_end.txt ']' 07:30:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:30:24 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:30:24 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:30:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:30:24 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 07:30:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:30:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:30:25 prd-ubuntu20.04-docker-8c-8g-24110 does not seem to be running inside a container 07:30:25 $ 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 07:30:25 $ docker top 5392b999460b017e87bf66ec2f94174a6cd90c8e0a402ff569488895d96942b9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:25 + touch /tmp/pre-build-complete [Pipeline] sh 07:30:26 + mkdir -p /var/log/sysstat [Pipeline] sh 07:30:26 + ls /var/log/sa-host 07:30:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:30:26 provisioning config files... 07:30:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15597992728818444360tmp [Pipeline] { [Pipeline] echo 07:30:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:30:26 ---> create-netrc.sh [Pipeline] } 07:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:30:27 ---> python-tools-install.sh [Pipeline] echo 07:30:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:30:27 ---> sudo-logs.sh 07:30:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:30:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:30:27 ---> job-cost.sh 07:30:27 lf-activate-venv: SKIPPING 07:30:27 DEBUG: total: 0.2199999988079071 07:30:27 INFO: Retrieving Stack Cost... 07:30:28 INFO: Retrieving Pricing Info for: v3-standard-8 07:30:28 INFO: Archiving Costs [Pipeline] echo 07:30:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:30:28 ---> logs-deploy.sh 07:30:28 lf-activate-venv: SKIPPING 07:30:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/167 07:30:28 INFO: archiving workspace using pattern(s): 07:30:29 Archives upload complete. 07:30:29 INFO: archiving logs to Nexus