Pull request #600 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 0b952dc46955038996451e4745a35d433031a401 rather than 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 Obtained Jenkinsfile from 0b952dc46955038996451e4745a35d433031a401 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-ssh13841199261016118371.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15418666453463471246.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-600/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/PR-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11428914611416814261.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9518395890751642321.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/PR-600/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/PR-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh885830244142078040.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-36237 in /w/workspace/xfoundry_device-modbus-go_PR-600 [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/xfoundry_device-modbus-go_PR-600 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b952dc46955038996451e4745a35d433031a401 into PR head commit 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 Merge succeeded, producing 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 Checking out Revision 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0b952dc46955038996451e4745a35d433031a401 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 # timeout=10 Commit message: "feat: support Modbus ASCII" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:46:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:46:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:46:36 ========================================================= 00:46:36 EdgeX Global Pipelines Version Info 00:46:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d47616315b8d119e6a5c06308111cacee83c28f8 # timeout=10 00:46:37 ------------------- 00:46:37 stable info: 00:46:37 ------------------- 00:46:37 Commited By: Cherry Wang cherry@iotechsys.com 00:46:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 00:46:37 Message: update stable to v1.0.269 00:46:38 ------------------- 00:46:38 experimental info: 00:46:38 ------------------- 00:46:38 Commited By: **** collab-it+edgex@linuxfoundation.org 00:46:38 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 00:46:38 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 487d9a8 [Pipeline] echo 00:46:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:38 provisioning config files... 00:46:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config14841662521424649514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:39 ---> ****-login.sh 00:46:39 nexus3.edgexfoundry.org:10001 00:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:39 Configure a credential helper to remove this warning. See 00:46:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:39 00:46:39 Login Succeeded 00:46:39 nexus3.edgexfoundry.org:10002 00:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:39 Configure a credential helper to remove this warning. See 00:46:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:39 00:46:39 Login Succeeded 00:46:39 nexus3.edgexfoundry.org:10003 00:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:40 Configure a credential helper to remove this warning. See 00:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:40 00:46:40 Login Succeeded 00:46:40 nexus3.edgexfoundry.org:10004 00:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:40 Configure a credential helper to remove this warning. See 00:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:40 00:46:40 Login Succeeded 00:46:40 ****.io 00:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:40 Configure a credential helper to remove this warning. See 00:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:40 00:46:40 Login Succeeded 00:46:40 ---> ****-login.sh ends [Pipeline] } 00:46:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:46:40 + git rev-list -1 --merges 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5~1..487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 [Pipeline] echo 00:46:40 -----------> git rev-list -1 --merges 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5~1..487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 [false] [Pipeline] sh 00:46:41 + git log --format=format:%s -1 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 [Pipeline] echo 00:46:41 ========================================================= 00:46:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:46:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:41 + git log --format=format:%s -1 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 [Pipeline] echo 00:46:41 [semverPrep] GIT_COMMIT: 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5, Commit Message: feat: support Modbus ASCII [Pipeline] echo 00:46:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:46:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:46:41 + grep -v github /etc/ssh/ssh_known_hosts 00:46:41 + [ -e /tmp/ssh_known_hosts ] 00:46:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:46:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:46:41 + sudo tee -a /etc/ssh/ssh_known_hosts 00:46:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:42 00:46:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:42 0.1.4: Pulling from edgex-devops/py-git-semver 00:46:42 b85a868b505f: Pulling fs layer 00:46:42 e2be974225ed: Pulling fs layer 00:46:42 339a4e72a1f5: Pulling fs layer 00:46:42 988bab9f4d93: Pulling fs layer 00:46:42 1469e6f7b9e6: Pulling fs layer 00:46:42 eaf3925da568: Pulling fs layer 00:46:42 bab4dde63d76: Pulling fs layer 00:46:42 bde34c3a00c8: Pulling fs layer 00:46:42 b352a97aabf1: Pulling fs layer 00:46:42 4872d77fe225: Pulling fs layer 00:46:42 5851b861e8e6: Pulling fs layer 00:46:42 988bab9f4d93: Waiting 00:46:42 1469e6f7b9e6: Waiting 00:46:42 eaf3925da568: Waiting 00:46:42 bab4dde63d76: Waiting 00:46:42 bde34c3a00c8: Waiting 00:46:42 b352a97aabf1: Waiting 00:46:42 4872d77fe225: Waiting 00:46:42 5851b861e8e6: Waiting 00:46:42 e2be974225ed: Download complete 00:46:42 988bab9f4d93: Verifying Checksum 00:46:42 988bab9f4d93: Download complete 00:46:42 1469e6f7b9e6: Verifying Checksum 00:46:42 1469e6f7b9e6: Download complete 00:46:42 eaf3925da568: Download complete 00:46:42 339a4e72a1f5: Verifying Checksum 00:46:42 339a4e72a1f5: Download complete 00:46:42 bde34c3a00c8: Verifying Checksum 00:46:42 bde34c3a00c8: Download complete 00:46:42 b352a97aabf1: Download complete 00:46:42 4872d77fe225: Verifying Checksum 00:46:42 4872d77fe225: Download complete 00:46:42 5851b861e8e6: Download complete 00:46:42 b85a868b505f: Verifying Checksum 00:46:42 b85a868b505f: Download complete 00:46:43 bab4dde63d76: Verifying Checksum 00:46:43 bab4dde63d76: Download complete 00:46:44 b85a868b505f: Pull complete 00:46:44 e2be974225ed: Pull complete 00:46:44 339a4e72a1f5: Pull complete 00:46:44 988bab9f4d93: Pull complete 00:46:45 1469e6f7b9e6: Pull complete 00:46:45 eaf3925da568: Pull complete 00:46:47 bab4dde63d76: Pull complete 00:46:47 bde34c3a00c8: Pull complete 00:46:47 b352a97aabf1: Pull complete 00:46:47 4872d77fe225: Pull complete 00:46:47 5851b861e8e6: Pull complete 00:46:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:46:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:47 prd-ubuntu20.04-docker-8c-8g-36237 does not seem to be running inside a container 00:46:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:46:51 $ docker top c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 -eo pid,comm 00:46:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:46:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:46:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:51 [ssh-agent] Looking for ssh-agent implementation... 00:46:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:51 $ docker exec c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 ssh-agent 00:46:51 SSH_AUTH_SOCK=/tmp/ssh-0fyIytIzaaoU/agent.32 00:46:51 SSH_AGENT_PID=38 00:46:51 Running ssh-add (command line suppressed) 00:46:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_7639563431653389801.key (/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_7639563431653389801.key) 00:46:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:52 + git tag --points-at HEAD [Pipeline] } 00:46:52 $ docker exec --env ******** --env ******** c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 ssh-agent -k 00:46:52 unset SSH_AUTH_SOCK; 00:46:52 unset SSH_AGENT_PID; 00:46:52 echo Agent pid 38 killed; 00:46:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:46:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:52 [ssh-agent] Looking for ssh-agent implementation... 00:46:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:52 $ docker exec c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 ssh-agent 00:46:52 SSH_AUTH_SOCK=/tmp/ssh-0ZA0qVYTxbw7/agent.71 00:46:52 SSH_AGENT_PID=77 00:46:52 Running ssh-add (command line suppressed) 00:46:52 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_16656624833629728951.key (/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_16656624833629728951.key) 00:46:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:52 + git semver init 00:46:53 2025-01-07 00:46:53,160 [run_init] DEBUG init version:0.0.0 force:False 00:46:53 2025-01-07 00:46:53,161 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-600/.semver 00:46:53 2025-01-07 00:46:53,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-600/.semver 00:46:53 2025-01-07 00:46:53,162 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-600/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-600, universal_newlines=False, shell=None, istream=None) 00:46:54 2025-01-07 00:46:54,196 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-600/.git/info/exclude 00:46:54 2025-01-07 00:46:54,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-600/.semver/PR-600 with force:False 00:46:54 2025-01-07 00:46:54,197 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-600/.semver/PR-600 00:46:54 2025-01-07 00:46:54,202 [execute] INFO git cat-file --batch-check 00:46:54 2025-01-07 00:46:54,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 00:46:54 2025-01-07 00:46:54,209 [execute] INFO git cat-file --batch 00:46:54 2025-01-07 00:46:54,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 00:46:54 2025-01-07 00:46:54,215 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-600/.semver/PR-600 00:46:54 0.0.0 [Pipeline] } 00:46:54 $ docker exec --env ******** --env ******** c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 ssh-agent -k 00:46:54 unset SSH_AUTH_SOCK; 00:46:54 unset SSH_AGENT_PID; 00:46:54 echo Agent pid 77 killed; 00:46:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:46:55 + git semver [Pipeline] } 00:46:55 $ docker stop --time=1 c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 00:46:56 $ docker rm -f --volumes c79900266b242022edaa28c6e1ab4f8b90ad40d985685cf105379d1aac3216f3 [Pipeline] // withDockerContainer [Pipeline] sh 00:46:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:46:57 Stashed 1 file(s) [Pipeline] echo 00:46:57 [edgeXSemver]: initialized semver on version 0.0.0 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:57 provisioning config files... [Pipeline] // stage [Pipeline] } 00:46:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config8314002473254108935tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 00:46:57 ---> ****-login.sh 00:46:57 nexus3.edgexfoundry.org:10001 00:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:57 Configure a credential helper to remove this warning. See 00:46:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:57 00:46:57 Login Succeeded 00:46:57 nexus3.edgexfoundry.org:10002 00:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:57 Configure a credential helper to remove this warning. See 00:46:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:57 00:46:57 Login Succeeded 00:46:57 nexus3.edgexfoundry.org:10003 00:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:58 Configure a credential helper to remove this warning. See 00:46:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:58 00:46:58 Login Succeeded 00:46:58 nexus3.edgexfoundry.org:10004 00:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:58 Configure a credential helper to remove this warning. See 00:46:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:58 00:46:58 Login Succeeded 00:46:58 ****.io 00:46:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:46:58 Configure a credential helper to remove this warning. See 00:46:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:46:58 00:46:58 Login Succeeded 00:46:58 ---> ****-login.sh ends [Pipeline] } 00:46:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:46:58 ========================================================= 00:46:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:46:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:58 + 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 . 00:46:58 Sending build context to Docker daemon 18.11MB 00:46:58 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 00:46:58 Step 2/10 : FROM ${BASE} AS builder 00:46:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:59 da9db072f522: Pulling fs layer 00:46:59 6ef4a4ee8ca5: Pulling fs layer 00:46:59 06f05ace1117: Pulling fs layer 00:46:59 5fe327b54edc: Pulling fs layer 00:46:59 4f4fb700ef54: Pulling fs layer 00:46:59 92a5565b7b96: Pulling fs layer 00:46:59 ff9bb7016b71: Pulling fs layer 00:46:59 b67dba6c2c7d: Pulling fs layer 00:46:59 a813b0c90790: Pulling fs layer 00:46:59 5fe327b54edc: Waiting 00:46:59 4f4fb700ef54: Waiting 00:46:59 92a5565b7b96: Waiting 00:46:59 ff9bb7016b71: Waiting 00:46:59 b67dba6c2c7d: Waiting 00:46:59 a813b0c90790: Waiting 00:46:59 6ef4a4ee8ca5: Download complete 00:46:59 5fe327b54edc: Verifying Checksum 00:46:59 5fe327b54edc: Download complete 00:46:59 4f4fb700ef54: Verifying Checksum 00:46:59 4f4fb700ef54: Download complete 00:46:59 92a5565b7b96: Verifying Checksum 00:46:59 92a5565b7b96: Download complete 00:46:59 da9db072f522: Download complete 00:46:59 ff9bb7016b71: Verifying Checksum 00:46:59 ff9bb7016b71: Download complete 00:46:59 da9db072f522: Pull complete 00:46:59 a813b0c90790: Verifying Checksum 00:46:59 a813b0c90790: Download complete 00:46:59 6ef4a4ee8ca5: Pull complete 00:46:59 06f05ace1117: Verifying Checksum 00:46:59 06f05ace1117: Download complete 00:46:59 b67dba6c2c7d: Verifying Checksum 00:46:59 b67dba6c2c7d: Download complete 00:47:03 06f05ace1117: Pull complete 00:47:03 5fe327b54edc: Pull complete 00:47:03 4f4fb700ef54: Pull complete 00:47:03 92a5565b7b96: Pull complete 00:47:03 ff9bb7016b71: Pull complete 00:47:06 b67dba6c2c7d: Pull complete 00:47:06 a813b0c90790: Pull complete 00:47:06 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 00:47:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:47:06 ---> 3ba60ce46760 00:47:06 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:47:13 ---> Running in f7104248fd62 00:47:13 Removing intermediate container f7104248fd62 00:47:13 ---> e2713d40efec 00:47:13 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:47:13 ---> Running in f25cf29b8fea 00:47:13 Removing intermediate container f25cf29b8fea 00:47:13 ---> 70fcc52f3711 00:47:13 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:47:13 ---> Running in 072a9409e761 00:47:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:47:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:47:14 (1/8) Installing openssh-keygen (9.7_p1-r4) 00:47:14 (2/8) Installing libedit (20240517.3.1-r0) 00:47:14 (3/8) Installing openssh-client-common (9.7_p1-r4) 00:47:14 (4/8) Installing openssh-client-default (9.7_p1-r4) 00:47:14 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 00:47:14 (6/8) Installing openssh-server-common (9.7_p1-r4) 00:47:14 (7/8) Installing openssh-server (9.7_p1-r4) 00:47:14 (8/8) Installing openssh (9.7_p1-r4) 00:47:14 Executing busybox-1.36.1-r29.trigger 00:47:14 OK: 253 MiB in 66 packages 00:47:15 Removing intermediate container 072a9409e761 00:47:15 ---> 9763e5233310 00:47:15 Step 6/10 : WORKDIR /device-modbus-go 00:47:15 ---> Running in c89628f0f028 00:47:15 Removing intermediate container c89628f0f028 00:47:15 ---> 935df78d0b1c 00:47:15 Step 7/10 : COPY go.mod vendor* ./ 00:47:15 ---> 20830f1d6017 00:47:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:15 ---> Running in 0ef1d73fd0f8 00:48:37 Removing intermediate container 0ef1d73fd0f8 00:48:37 ---> 1ae9f6fb2a35 00:48:37 Step 9/10 : COPY . . 00:48:37 ---> 42c0b80e5778 00:48:37 Step 10/10 : RUN ${MAKE} 00:48:37 ---> Running in 0fcea4cf8f08 00:48:37 noop 00:48:37 Removing intermediate container 0fcea4cf8f08 00:48:37 ---> f6cee6a98557 00:48:37 Successfully built f6cee6a98557 00:48:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:38 + docker inspect -f . ci-base-image-x86_64 00:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:38 prd-ubuntu20.04-docker-8c-8g-36237 does not seem to be running inside a container 00:48:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:48:39 $ docker top f5b77124e61cf61c86887fd2024256c22dda4740aecb279ae9464990056d7447 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:40 + go version 00:48:40 go version go1.23.4 linux/amd64 [Pipeline] } 00:48:40 $ docker stop --time=1 f5b77124e61cf61c86887fd2024256c22dda4740aecb279ae9464990056d7447 00:48:41 $ docker rm -f --volumes f5b77124e61cf61c86887fd2024256c22dda4740aecb279ae9464990056d7447 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:42 + docker inspect -f . ci-base-image-x86_64 00:48:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:42 prd-ubuntu20.04-docker-8c-8g-36237 does not seem to be running inside a container 00:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:48:42 $ docker top f5615f71970ab1ea06e1102026dbeaa5bfdf1cf1f65029588fc88780b41e2e1f -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:42 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-600 [Pipeline] fileExists [Pipeline] sh 00:48:43 + make test 00:48:43 go test ./... -coverprofile=coverage.out 00:48:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:49:03 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 00:49:03 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 45.7% of statements 00:49:15 go vet ./... 00:49:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:20 ./bin/test-attribution-txt.sh [Pipeline] echo 00:49:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:49:20 $ docker stop --time=1 f5615f71970ab1ea06e1102026dbeaa5bfdf1cf1f65029588fc88780b41e2e1f 00:49:27 $ docker rm -f --volumes f5615f71970ab1ea06e1102026dbeaa5bfdf1cf1f65029588fc88780b41e2e1f [Pipeline] // withDockerContainer [Pipeline] sh 00:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:49:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:49:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:49:28 + ls -al . 00:49:28 total 260 00:49:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 7 00:48 . 00:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 7 00:46 .. 00:49:28 -rw-rw-r-- 1 jenkins jenkins 140 Jan 7 00:46 .dockerignore 00:49:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 7 00:49 .git 00:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 00:46 .github 00:49:28 -rw-rw-r-- 1 jenkins jenkins 266 Jan 7 00:46 .gitignore 00:49:28 -rw-rw-r-- 1 jenkins jenkins 199 Jan 7 00:46 .golangci.yml 00:49:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 7 00:46 .semver 00:49:28 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 7 00:46 Attribution.txt 00:49:28 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 7 00:46 CHANGELOG.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 7 00:46 Dockerfile 00:49:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 7 00:46 GOVERNANCE.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 658 Jan 7 00:46 Jenkinsfile 00:49:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 7 00:46 LICENSE 00:49:28 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 7 00:46 Makefile 00:49:28 -rw-rw-r-- 1 jenkins jenkins 622 Jan 7 00:46 OWNERS.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 7 00:46 README.md 00:49:28 -rw-rw-r-- 1 jenkins jenkins 5 Jan 7 00:46 VERSION 00:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 00:46 bin 00:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 00:46 cmd 00:49:28 -rw-r--r-- 1 jenkins jenkins 26779 Jan 7 00:49 coverage.out 00:49:28 -rw-rw-r-- 1 jenkins jenkins 6387 Jan 7 00:46 go.mod 00:49:28 -rw-rw-r-- 1 jenkins jenkins 87494 Jan 7 00:46 go.sum 00:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 00:46 internal 00:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 00:46 simulator 00:49:28 -rw-rw-r-- 1 jenkins jenkins 229 Jan 7 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:29 + 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=487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 --label arch=amd64 --label version=0.0.0 . 00:49:29 Sending build context to Docker daemon 18.14MB 00:49:29 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 00:49:29 Step 2/23 : FROM ${BASE} AS builder 00:49:29 ---> f6cee6a98557 00:49:29 Step 3/23 : ARG ADD_BUILD_TAGS="" 00:49:29 ---> Running in a3534936a282 00:49:29 Removing intermediate container a3534936a282 00:49:29 ---> aa44bd62943d 00:49:29 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:49:29 ---> Running in d348d916fcaa 00:49:29 Removing intermediate container d348d916fcaa 00:49:29 ---> cbffec211db9 00:49:29 Step 5/23 : RUN apk add --update --no-cache make git openssh 00:49:30 ---> Running in 6a36aba32309 00:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:49:30 OK: 253 MiB in 66 packages 00:49:30 Removing intermediate container 6a36aba32309 00:49:30 ---> 28e57ac5f8ab 00:49:30 Step 6/23 : WORKDIR /device-modbus-go 00:49:30 ---> Running in ca402693b745 00:49:31 Removing intermediate container ca402693b745 00:49:31 ---> 4dde4285f4ac 00:49:31 Step 7/23 : COPY go.mod vendor* ./ 00:49:31 ---> 13e7a8b8f648 00:49:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:31 ---> Running in 00ff645ab19b 00:49:32 Removing intermediate container 00ff645ab19b 00:49:32 ---> ed564feda1f7 00:49:32 Step 9/23 : COPY . . 00:49:32 ---> 3162f2cd25d0 00:49:32 Step 10/23 : RUN ${MAKE} 00:49:32 ---> Running in 5349c9364403 00:49:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.11 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 00:50:11 Removing intermediate container 5349c9364403 00:50:11 ---> fa8f76049e48 00:50:11 Step 11/23 : FROM alpine:3.20 00:50:11 3.20: Pulling from library/alpine 00:50:11 da9db072f522: Already exists 00:50:11 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 00:50:11 Status: Downloaded newer image for alpine:3.20 00:50:11 ---> 63b790fccc90 00:50:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 00:50:11 ---> Running in 5a0aec87ad51 00:50:11 Removing intermediate container 5a0aec87ad51 00:50:11 ---> 044a90551d8d 00:50:11 Step 13/23 : RUN apk add --update --no-cache dumb-init 00:50:11 ---> Running in 959addcb6651 00:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:50:12 (1/1) Installing dumb-init (1.2.5-r3) 00:50:12 Executing busybox-1.36.1-r29.trigger 00:50:12 OK: 8 MiB in 15 packages 00:50:13 Removing intermediate container 959addcb6651 00:50:13 ---> d37fcc5ca0d3 00:50:13 Step 14/23 : RUN apk --no-cache upgrade 00:50:13 ---> Running in dc3f9177f014 00:50:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:50:14 Upgrading critical system libraries and apk-tools: 00:50:14 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 00:50:14 Executing busybox-1.36.1-r29.trigger 00:50:14 Continuing the upgrade transaction with new apk-tools: 00:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:50:14 (1/3) Upgrading ca-certificates-bundle (20240705-r0 -> 20241121-r0) 00:50:14 (2/3) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 00:50:15 (3/3) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 00:50:15 OK: 8 MiB in 15 packages 00:50:16 Removing intermediate container dc3f9177f014 00:50:16 ---> cf4e9249790a 00:50:16 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 00:50:18 ---> 9db01c3ff438 00:50:18 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 00:50:18 ---> 5069aa82eafb 00:50:18 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:50:19 ---> c037f61a0c3a 00:50:19 Step 18/23 : EXPOSE 59901 00:50:19 ---> Running in 00a646b6869d 00:50:19 Removing intermediate container 00a646b6869d 00:50:19 ---> 8397fe275548 00:50:19 Step 19/23 : ENTRYPOINT ["/device-modbus"] 00:50:20 ---> Running in 6f6dc93eff5b 00:50:20 Removing intermediate container 6f6dc93eff5b 00:50:20 ---> edec1c50e090 00:50:20 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:50:20 ---> Running in 518e5d81a913 00:50:20 Removing intermediate container 518e5d81a913 00:50:20 ---> 6eeff3587271 00:50:20 Step 21/23 : LABEL arch=amd64 00:50:20 ---> Running in 929c4d9eec29 00:50:20 Removing intermediate container 929c4d9eec29 00:50:20 ---> a3c863f74464 00:50:20 Step 22/23 : LABEL git_sha=487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 00:50:20 ---> Running in bb7f012d0d79 00:50:20 Removing intermediate container bb7f012d0d79 00:50:20 ---> 994e8ef430a3 00:50:20 Step 23/23 : LABEL version=0.0.0 00:50:20 ---> Running in 2946ea072ac1 00:50:20 Removing intermediate container 2946ea072ac1 00:50:20 ---> 80ae16ac9be2 00:50:20 [Warning] One or more build-args [ARCH] were not consumed 00:50:20 Successfully built 80ae16ac9be2 00:50:20 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [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 00:50:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:21 00:50:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:21 latest: Pulling from edgex-lftools-log-publisher 00:50:21 5eb5b503b376: Pulling fs layer 00:50:21 5c69ac0246d0: Pulling fs layer 00:50:21 ec43610c2a17: Pulling fs layer 00:50:21 3a2ae6a8a46f: Pulling fs layer 00:50:21 33b1e0a273af: Pulling fs layer 00:50:21 5d3b04190fa2: Pulling fs layer 00:50:21 2f39f015ded8: Pulling fs layer 00:50:21 33b1e0a273af: Waiting 00:50:21 5d3b04190fa2: Waiting 00:50:21 2f39f015ded8: Waiting 00:50:21 3a2ae6a8a46f: Waiting 00:50:21 5c69ac0246d0: Download complete 00:50:21 3a2ae6a8a46f: Verifying Checksum 00:50:21 3a2ae6a8a46f: Download complete 00:50:21 33b1e0a273af: Verifying Checksum 00:50:21 33b1e0a273af: Download complete 00:50:21 5d3b04190fa2: Download complete 00:50:21 ec43610c2a17: Verifying Checksum 00:50:21 ec43610c2a17: Download complete 00:50:22 5eb5b503b376: Verifying Checksum 00:50:22 5eb5b503b376: Download complete 00:50:22 2f39f015ded8: Verifying Checksum 00:50:22 2f39f015ded8: Download complete 00:50:23 5eb5b503b376: Pull complete 00:50:23 5c69ac0246d0: Pull complete 00:50:23 ec43610c2a17: Pull complete 00:50:23 3a2ae6a8a46f: Pull complete 00:50:23 33b1e0a273af: Pull complete 00:50:24 5d3b04190fa2: Pull complete 00:50:28 2f39f015ded8: Pull complete 00:50:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:28 prd-ubuntu20.04-docker-8c-8g-36237 does not seem to be running inside a container 00:50:28 $ 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/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:35 $ docker top cfa8c9e3c2a8c56c8d7d6473453e4e19ca9759bd29f2debb4af23cccc8ddb2e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:35 ---> job-cost.sh 00:50:35 lf-activate-venv: SKIPPING 00:50:35 INFO: No Stack... 00:50:35 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:35 INFO: Archiving Costs [Pipeline] sh 00:50:36 + cat /w/workspace/xfoundry_device-modbus-go_PR-600/archives/cost.csv 00:50:36 + cut -d, -f6 [Pipeline] lock 00:50:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-600-2-stack-cost] 00:50:36 Resource [jenkins-edgexfoundry-device-modbus-go-PR-600-2-stack-cost] did not exist. Created. 00:50:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-600-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:36 + echo total: 0.2199999988079071 [Pipeline] stash 00:50:36 Stashed 1 file(s) [Pipeline] } 00:50:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-600-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:36 $ docker stop --time=1 cfa8c9e3c2a8c56c8d7d6473453e4e19ca9759bd29f2debb4af23cccc8ddb2e1 00:50:37 $ docker rm -f --volumes cfa8c9e3c2a8c56c8d7d6473453e4e19ca9759bd29f2debb4af23cccc8ddb2e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:50:38 provisioning config files... 00:50:38 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config14961913000334711840tmp [Pipeline] { [Pipeline] sh 00:50:38 + set +x 00:50:38 + curl -s https://codecov.io/bash 00:50:38 + bash -s -- 00:50:38 00:50:38 _____ _ 00:50:38 / ____| | | 00:50:38 | | ___ __| | ___ ___ _____ __ 00:50:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:50:38 | |___| (_) | (_| | __/ (_| (_) \ V / 00:50:38 \_____\___/ \__,_|\___|\___\___/ \_/ 00:50:38 Bash-1.0.6 00:50:38 00:50:38 00:50:38 ==> git version 2.25.1 found 00:50:38 ==> 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 00:50:38 Release-Date: 2020-01-08 00:50:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:50:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:50:38 ==> Jenkins CI detected. 00:50:38 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-600 00:50:38 project root: . 00:50:38 --> token set from env 00:50:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:50:38 ==> Running gcov in . (disable via -X gcov) 00:50:38 ==> Python coveragepy not found 00:50:38 ==> Searching for coverage reports in: 00:50:38 + . 00:50:38 -> Found 1 reports 00:50:38 ==> Detecting git/mercurial file structure 00:50:38 ==> Reading reports 00:50:38 + ./coverage.out bytes=26779 00:50:38 ==> Appending adjustments 00:50:38 https://docs.codecov.io/docs/fixing-reports 00:50:38 + Found adjustments 00:50:38 ==> Gzipping contents 00:50:38 8.0K /tmp/codecov.7jHWOr.gz 00:50:38 ==> Uploading reports 00:50:38 url: https://codecov.io 00:50:38 query: branch=PR-600&commit=487d9a8596a33bf8cb167ee9758ffd227ee0e3c5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-600%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=600&job=&cmd_args= 00:50:38 -> Pinging Codecov 00:50:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-600&commit=487d9a8596a33bf8cb167ee9758ffd227ee0e3c5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-600%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=600&job=&cmd_args= 00:50:39 -> Uploading to 00:50:39 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/487d9a8596a33bf8cb167ee9758ffd227ee0e3c5/1ca32198-dc2b-4acd-8ca5-fd1194b2fd35.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250107T005038Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=51aced117e434183ace80e533f260e616ecbbe5321d248cc72fa997ae4933350 00:50:39 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:39 Dload Upload Total Spent Left Speed 00:50:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 25968 --:--:-- --:--:-- --:--:-- 25968 00:50:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 [Pipeline] } 00:50:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 00:50:40 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-600/archives ] 00:50:40 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-600/archives 00:50:40 total 16 00:50:40 drwxr-xr-x 3 root root 4096 Jan 7 00:50 . 00:50:40 drwxrwxr-x 10 jenkins jenkins 4096 Jan 7 00:50 .. 00:50:40 drwxr-xr-x 2 root root 4096 Jan 7 00:50 cost 00:50:40 -rw-r--r-- 1 root root 88 Jan 7 00:50 cost.csv 00:50:40 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-600/archives 00:50:40 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-600/archives 00:50:40 total 16 00:50:40 drwxr-xr-x 3 jenkins jenkins 4096 Jan 7 00:50 . 00:50:40 drwxrwxr-x 10 jenkins jenkins 4096 Jan 7 00:50 .. 00:50:40 drwxr-xr-x 2 jenkins jenkins 4096 Jan 7 00:50 cost 00:50:40 -rw-r--r-- 1 jenkins jenkins 88 Jan 7 00:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:50:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:50:41 ---> package-listing.sh 00:50:41 ++ facter osfamily 00:50:41 ++ tr '[:upper:]' '[:lower:]' 00:50:41 + OS_FAMILY=debian 00:50:41 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-600 00:50:41 + START_PACKAGES=/tmp/packages_start.txt 00:50:41 + END_PACKAGES=/tmp/packages_end.txt 00:50:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:50:41 + PACKAGES=/tmp/packages_start.txt 00:50:41 + '[' /w/workspace/xfoundry_device-modbus-go_PR-600 ']' 00:50:41 + PACKAGES=/tmp/packages_end.txt 00:50:41 + case "${OS_FAMILY}" in 00:50:41 + dpkg -l 00:50:41 + grep '^ii' 00:50:41 + '[' -f /tmp/packages_start.txt ']' 00:50:41 + '[' -f /tmp/packages_end.txt ']' 00:50:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:50:41 + '[' /w/workspace/xfoundry_device-modbus-go_PR-600 ']' 00:50:41 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-600/archives/ 00:50:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-600/archives/ [Pipeline] echo 00:50:41 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/xfoundry_device-modbus-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:50:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:42 prd-ubuntu20.04-docker-8c-8g-36237 does not seem to be running inside a container 00:50:42 $ 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/xfoundry_device-modbus-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:42 $ docker top 9eb14f5c1ff5ce0ccb4a0b2a281ab4f9c35ef6daab8bb8171236848539c7e543 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:43 + touch /tmp/pre-build-complete [Pipeline] sh 00:50:43 + mkdir -p /var/log/sysstat [Pipeline] sh 00:50:43 + ls /var/log/sa-host 00:50:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:43 provisioning config files... 00:50:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config3676555971379584023tmp [Pipeline] { [Pipeline] echo 00:50:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:50:44 ---> create-netrc.sh [Pipeline] } 00:50:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:50:44 ---> python-tools-install.sh [Pipeline] echo 00:50:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:50:44 ---> sudo-logs.sh 00:50:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:50:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:50:45 ---> job-cost.sh 00:50:45 lf-activate-venv: SKIPPING 00:50:45 DEBUG: total: 0.2199999988079071 00:50:45 INFO: Retrieving Stack Cost... 00:50:45 INFO: Retrieving Pricing Info for: v3-standard-8 00:50:45 INFO: Archiving Costs [Pipeline] echo 00:50:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:50:45 ---> logs-deploy.sh 00:50:45 lf-activate-venv: SKIPPING 00:50:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-600/2 00:50:45 INFO: archiving workspace using pattern(s): 00:50:46 Archives upload complete. 00:50:46 INFO: archiving logs to Nexus 00:50:47 ---> uname -a: 00:50:47 Linux prd-ubuntu20-04-docker-8c-8g-36237 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:50:47 00:50:47 00:50:47 ---> lscpu: 00:50:47 Architecture: x86_64 00:50:47 CPU op-mode(s): 32-bit, 64-bit 00:50:47 Byte Order: Little Endian 00:50:47 Address sizes: 40 bits physical, 48 bits virtual 00:50:47 CPU(s): 8 00:50:47 On-line CPU(s) list: 0-7 00:50:47 Thread(s) per core: 1 00:50:47 Core(s) per socket: 1 00:50:47 Socket(s): 8 00:50:47 NUMA node(s): 1 00:50:47 Vendor ID: AuthenticAMD 00:50:47 CPU family: 23 00:50:47 Model: 49 00:50:47 Model name: AMD EPYC-Rome Processor 00:50:47 Stepping: 0 00:50:47 CPU MHz: 2799.998 00:50:47 BogoMIPS: 5599.99 00:50:47 Virtualization: AMD-V 00:50:47 Hypervisor vendor: KVM 00:50:47 Virtualization type: full 00:50:47 L1d cache: 256 KiB 00:50:47 L1i cache: 256 KiB 00:50:47 L2 cache: 4 MiB 00:50:47 L3 cache: 128 MiB 00:50:47 NUMA node0 CPU(s): 0-7 00:50:47 Vulnerability Itlb multihit: Not affected 00:50:47 Vulnerability L1tf: Not affected 00:50:47 Vulnerability Mds: Not affected 00:50:47 Vulnerability Meltdown: Not affected 00:50:47 Vulnerability Mmio stale data: Not affected 00:50:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:50:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:50:47 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:50:47 Vulnerability Srbds: Not affected 00:50:47 Vulnerability Tsx async abort: Not affected 00:50:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:50:47 00:50:47 00:50:47 ---> nproc: 00:50:47 8 00:50:47 00:50:47 00:50:47 ---> df -h: 00:50:47 Filesystem Size Used Avail Use% Mounted on 00:50:47 overlay 155G 12G 144G 8% / 00:50:47 tmpfs 64M 0 64M 0% /dev 00:50:47 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:50:47 shm 64M 0 64M 0% /dev/shm 00:50:47 /dev/vda1 155G 12G 144G 8% /facter-os 00:50:47 00:50:47 00:50:47 ---> sar -b -r -n DEV: 00:50:47 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36237) 01/07/25 _x86_64_ (8 CPU) 00:50:47 00:50:47 00:45:53 LINUX RESTART (8 CPU) 00:50:47 00:50:47 00:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:50:47 00:47:01 286.29 48.61 237.68 0.00 5466.96 166706.48 0.00 00:50:47 00:48:01 199.80 1.42 198.38 0.00 24.39 59279.31 0.00 00:50:47 00:49:01 133.24 0.13 133.11 0.00 16.26 42404.13 0.00 00:50:47 00:50:01 87.45 0.08 87.37 0.00 1.87 28682.42 0.00 00:50:47 Average: 176.70 12.56 164.14 0.00 1377.31 74267.46 0.00 00:50:47 00:50:47 00:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:50:47 00:47:01 29415108 31515564 829156 2.52 65716 2315316 2073432 6.11 1055568 2054144 409736 00:50:47 00:48:01 27753708 31482952 830256 2.52 136016 3737300 2004932 5.91 1330312 3275476 230492 00:50:47 00:49:01 27049776 31346816 957336 2.91 186000 4199104 2303428 6.79 1755144 3494984 654984 00:50:47 00:50:01 27482296 31499452 808728 2.46 190716 3936064 1922392 5.67 1378288 3458488 13464 00:50:47 Average: 27925222 31461196 856369 2.60 144612 3546946 2076046 6.12 1379828 3070773 327169 00:50:47 00:50:47 00:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:50:47 00:47:01 lo 7.07 7.07 0.69 0.69 0.00 0.00 0.00 0.00 00:50:47 00:47:01 ens3 529.88 353.76 5937.96 109.89 0.00 0.00 0.00 0.00 00:50:47 00:47:01 docker0 22.36 22.21 1.72 142.42 0.00 0.00 0.00 0.00 00:50:47 00:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:50:47 00:48:01 ens3 534.74 331.46 3334.55 37.85 0.00 0.00 0.00 0.00 00:50:47 00:48:01 docker0 322.96 518.41 27.33 3315.11 0.00 0.00 0.00 0.00 00:50:47 00:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:50:47 00:49:01 veth1a8f05c 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 00:50:47 00:49:01 ens3 20.08 12.76 23.58 8.74 0.00 0.00 0.00 0.00 00:50:47 00:49:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 00:50:47 00:50:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 00:50:47 00:50:01 ens3 25.25 15.40 57.50 9.38 0.00 0.00 0.00 0.00 00:50:47 00:50:01 docker0 2.02 4.17 0.12 38.18 0.00 0.00 0.00 0.00 00:50:47 Average: lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 00:50:47 Average: ens3 277.50 178.35 2338.44 41.46 0.00 0.00 0.00 0.00 00:50:47 Average: docker0 86.84 136.24 7.29 874.03 0.00 0.00 0.00 0.00 00:50:47 00:50:47 00:50:47 ---> sar -P ALL: 00:50:47 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36237) 01/07/25 _x86_64_ (8 CPU) 00:50:47 00:50:47 00:45:53 LINUX RESTART (8 CPU) 00:50:47 00:50:47 00:46:01 CPU %user %nice %system %iowait %steal %idle 00:50:47 00:47:01 all 7.85 0.00 2.66 2.54 0.08 86.87 00:50:47 00:47:01 0 6.31 0.00 2.52 1.02 0.08 90.07 00:50:47 00:47:01 1 10.44 0.00 2.43 0.50 0.08 86.54 00:50:47 00:47:01 2 6.53 0.00 3.57 0.49 0.08 89.33 00:50:47 00:47:01 3 7.74 0.00 2.30 0.49 0.07 89.40 00:50:47 00:47:01 4 8.87 0.00 2.24 0.51 0.10 88.28 00:50:47 00:47:01 5 7.62 0.00 2.42 10.45 0.08 79.42 00:50:47 00:47:01 6 6.62 0.00 2.64 1.23 0.07 89.44 00:50:47 00:47:01 7 8.68 0.00 3.15 5.62 0.08 82.47 00:50:47 00:48:01 all 5.59 0.00 2.63 5.64 0.09 86.06 00:50:47 00:48:01 0 4.70 0.00 2.47 1.07 0.07 91.69 00:50:47 00:48:01 1 6.19 0.00 2.93 2.87 0.10 87.92 00:50:47 00:48:01 2 5.51 0.00 2.44 1.92 0.07 90.06 00:50:47 00:48:01 3 5.94 0.00 2.37 1.99 0.08 89.61 00:50:47 00:48:01 4 7.04 0.00 2.45 2.02 0.05 88.44 00:50:47 00:48:01 5 4.56 0.00 3.30 31.91 0.15 60.08 00:50:47 00:48:01 6 5.48 0.00 2.23 0.29 0.07 91.94 00:50:47 00:48:01 7 5.32 0.00 2.81 3.16 0.10 88.60 00:50:47 00:49:01 all 25.63 0.00 6.19 5.46 0.08 62.65 00:50:47 00:49:01 0 24.87 0.00 5.49 0.98 0.07 68.60 00:50:47 00:49:01 1 26.76 0.00 5.90 0.64 0.08 66.62 00:50:47 00:49:01 2 25.07 0.00 6.60 5.38 0.07 62.88 00:50:47 00:49:01 3 26.05 0.00 5.51 1.69 0.07 66.68 00:50:47 00:49:01 4 26.54 0.00 6.60 24.84 0.10 41.92 00:50:47 00:49:01 5 25.11 0.00 6.22 7.39 0.08 61.20 00:50:47 00:49:01 6 24.71 0.00 7.00 2.31 0.07 65.91 00:50:47 00:49:01 7 25.91 0.00 6.18 0.56 0.07 67.29 00:50:47 00:50:01 all 38.12 0.00 6.08 4.04 0.11 51.66 00:50:47 00:50:01 0 36.99 0.00 6.08 13.29 0.12 43.52 00:50:47 00:50:01 1 37.80 0.00 6.06 0.49 0.12 55.54 00:50:47 00:50:01 2 39.21 0.00 6.21 0.49 0.10 53.99 00:50:47 00:50:01 3 37.76 0.00 6.40 12.66 0.15 43.03 00:50:47 00:50:01 4 38.27 0.00 6.27 3.12 0.12 52.23 00:50:47 00:50:01 5 38.02 0.00 5.71 0.44 0.12 55.71 00:50:47 00:50:01 6 39.42 0.00 6.15 0.15 0.10 54.18 00:50:47 00:50:01 7 37.47 0.00 5.75 1.75 0.08 54.95 00:50:47 Average: all 19.28 0.00 4.38 4.42 0.09 71.83 00:50:47 Average: 0 18.18 0.00 4.13 4.08 0.08 73.53 00:50:47 Average: 1 20.29 0.00 4.33 1.12 0.10 74.16 00:50:47 Average: 2 19.03 0.00 4.70 2.07 0.08 74.12 00:50:47 Average: 3 19.33 0.00 4.14 4.19 0.09 72.25 00:50:47 Average: 4 20.16 0.00 4.38 7.58 0.09 67.78 00:50:47 Average: 5 18.83 0.00 4.41 12.53 0.11 64.11 00:50:47 Average: 6 19.06 0.00 4.51 0.99 0.08 75.36 00:50:47 Average: 7 19.35 0.00 4.47 2.77 0.08 73.32 00:50:47 00:50:47 00:50:47