Pull request #624 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 79b9fe09beefbfdb7c5ff65434b7156a4d20d128+1571cd281177acf178a7c7817f8e90373c2c7062 (fe42851deaaca9eee0248787ccfe3d531c77db1b) 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-ssh10179153282570534380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 930130d06d24d9bc68df58d1ac832f05b77cfb81 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-ssh5363634331624927624.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 930130d06d24d9bc68df58d1ac832f05b77cfb81 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2214682521211119206.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13888624195664144516.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 930130d06d24d9bc68df58d1ac832f05b77cfb81 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 930130d06d24d9bc68df58d1ac832f05b77cfb81 # timeout=10 Commit message: "Merge pull request #464 from cherrycl/add-odessa" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3804194406841834615.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-624/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-624/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh498464358998216691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 930130d06d24d9bc68df58d1ac832f05b77cfb81 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40534 in /w/workspace/xfoundry_device-modbus-go_PR-624 [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-624 # 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/624/head:refs/remotes/origin/PR-624 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1571cd281177acf178a7c7817f8e90373c2c7062 into PR head commit 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 Merge succeeded, producing 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 Checking out Revision 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 (PR-624) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 930130d06d24d9bc68df58d1ac832f05b77cfb81 > git config core.sparsecheckout # timeout=10 > git checkout -f 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 # 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 1571cd281177acf178a7c7817f8e90373c2c7062 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:54 ========================================================= 05:45:54 EdgeX Global Pipelines Version Info 05:45:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:54 ------------------- 05:45:54 stable info: 05:45:54 ------------------- 05:45:54 Commited By: Cherry Wang cherry@iotechsys.com 05:45:54 Commit SHA: 930130d06d24d9bc68df58d1ac832f05b77cfb81 05:45:54 Message: update stable to v1.0.270 05:45:55 ------------------- 05:45:55 experimental info: 05:45:55 ------------------- 05:45:55 Commited By: **** collab-it+edgex@linuxfoundation.org 05:45:55 Commit SHA: 930130d06d24d9bc68df58d1ac832f05b77cfb81 05:45:55 Message: update experimental to v1.0.270 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-624 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-624 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-624 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79b9fe0 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:57 provisioning config files... 05:45:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-624@tmp/config18291329864184565371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:57 ---> ****-login.sh 05:45:57 nexus3.edgexfoundry.org:10001 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 nexus3.edgexfoundry.org:10002 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 nexus3.edgexfoundry.org:10003 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 nexus3.edgexfoundry.org:10004 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 ****.io 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 ---> ****-login.sh ends [Pipeline] } 05:45:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:45:59 + git rev-list -1 --merges 79b9fe09beefbfdb7c5ff65434b7156a4d20d128~1..79b9fe09beefbfdb7c5ff65434b7156a4d20d128 [Pipeline] echo 05:45:59 -----------> git rev-list -1 --merges 79b9fe09beefbfdb7c5ff65434b7156a4d20d128~1..79b9fe09beefbfdb7c5ff65434b7156a4d20d128 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 [false] [Pipeline] sh 05:45:59 + git log --format=format:%s -1 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 [Pipeline] echo 05:45:59 ========================================================= 05:45:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:45:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:00 + git log --format=format:%s -1 79b9fe09beefbfdb7c5ff65434b7156a4d20d128 [Pipeline] echo 05:46:00 [semverPrep] GIT_COMMIT: 79b9fe09beefbfdb7c5ff65434b7156a4d20d128, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 05:46:00 [semverPrep] This is not a build commit. [Pipeline] sh 05:46:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:00 + grep -v github /etc/ssh/ssh_known_hosts 05:46:00 + [ -e /tmp/ssh_known_hosts ] 05:46:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:46:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:46:00 + sudo tee -a /etc/ssh/ssh_known_hosts 05:46:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:01 05:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:01 0.1.4: Pulling from edgex-devops/py-git-semver 05:46:01 b85a868b505f: Pulling fs layer 05:46:01 e2be974225ed: Pulling fs layer 05:46:01 339a4e72a1f5: Pulling fs layer 05:46:01 988bab9f4d93: Pulling fs layer 05:46:01 1469e6f7b9e6: Pulling fs layer 05:46:01 eaf3925da568: Pulling fs layer 05:46:01 bab4dde63d76: Pulling fs layer 05:46:01 bde34c3a00c8: Pulling fs layer 05:46:01 b352a97aabf1: Pulling fs layer 05:46:01 4872d77fe225: Pulling fs layer 05:46:01 5851b861e8e6: Pulling fs layer 05:46:01 bab4dde63d76: Waiting 05:46:01 4872d77fe225: Waiting 05:46:01 988bab9f4d93: Waiting 05:46:01 1469e6f7b9e6: Waiting 05:46:01 eaf3925da568: Waiting 05:46:01 b352a97aabf1: Waiting 05:46:01 bde34c3a00c8: Waiting 05:46:01 e2be974225ed: Download complete 05:46:01 988bab9f4d93: Download complete 05:46:01 1469e6f7b9e6: Verifying Checksum 05:46:01 1469e6f7b9e6: Download complete 05:46:02 eaf3925da568: Verifying Checksum 05:46:02 339a4e72a1f5: Verifying Checksum 05:46:02 eaf3925da568: Download complete 05:46:02 339a4e72a1f5: Download complete 05:46:02 bde34c3a00c8: Verifying Checksum 05:46:02 bde34c3a00c8: Download complete 05:46:02 b352a97aabf1: Verifying Checksum 05:46:02 b352a97aabf1: Download complete 05:46:02 4872d77fe225: Verifying Checksum 05:46:02 4872d77fe225: Download complete 05:46:02 5851b861e8e6: Verifying Checksum 05:46:02 5851b861e8e6: Download complete 05:46:02 b85a868b505f: Verifying Checksum 05:46:02 b85a868b505f: Download complete 05:46:02 bab4dde63d76: Verifying Checksum 05:46:02 bab4dde63d76: Download complete 05:46:03 b85a868b505f: Pull complete 05:46:03 e2be974225ed: Pull complete 05:46:03 339a4e72a1f5: Pull complete 05:46:04 988bab9f4d93: Pull complete 05:46:04 1469e6f7b9e6: Pull complete 05:46:04 eaf3925da568: Pull complete 05:46:06 bab4dde63d76: Pull complete 05:46:06 bde34c3a00c8: Pull complete 05:46:06 b352a97aabf1: Pull complete 05:46:06 4872d77fe225: Pull complete 05:46:06 5851b861e8e6: Pull complete 05:46:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:06 prd-ubuntu20.04-docker-8c-8g-40534 does not seem to be running inside a container 05:46:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-624 -v /w/workspace/xfoundry_device-modbus-go_PR-624:/w/workspace/xfoundry_device-modbus-go_PR-624:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-624@tmp:/w/workspace/xfoundry_device-modbus-go_PR-624@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 05:46:08 $ docker top 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 -eo pid,comm 05:46:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:46:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:08 [ssh-agent] Looking for ssh-agent implementation... 05:46:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:08 $ docker exec 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 ssh-agent 05:46:08 SSH_AUTH_SOCK=/tmp/ssh-7c9M6zvIDINr/agent.32 05:46:08 SSH_AGENT_PID=38 05:46:08 Running ssh-add (command line suppressed) 05:46:09 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-624@tmp/private_key_5757288770711685329.key (/w/workspace/xfoundry_device-modbus-go_PR-624@tmp/private_key_5757288770711685329.key) 05:46:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:09 + git tag --points-at HEAD [Pipeline] } 05:46:09 $ docker exec --env ******** --env ******** 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 ssh-agent -k 05:46:09 unset SSH_AUTH_SOCK; 05:46:09 unset SSH_AGENT_PID; 05:46:09 echo Agent pid 38 killed; 05:46:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:09 [ssh-agent] Looking for ssh-agent implementation... 05:46:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:09 $ docker exec 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 ssh-agent 05:46:09 SSH_AUTH_SOCK=/tmp/ssh-nJh8YkNIPbyC/agent.71 05:46:09 SSH_AGENT_PID=77 05:46:09 Running ssh-add (command line suppressed) 05:46:10 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-624@tmp/private_key_13999019654372585800.key (/w/workspace/xfoundry_device-modbus-go_PR-624@tmp/private_key_13999019654372585800.key) 05:46:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:10 + git semver init 05:46:10 2025-03-07 05:46:10,574 [run_init] DEBUG init version:0.0.0 force:False 05:46:10 2025-03-07 05:46:10,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-624/.semver 05:46:10 2025-03-07 05:46:10,575 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-624/.semver 05:46:10 2025-03-07 05:46:10,576 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-624/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-624, universal_newlines=False, shell=None, istream=None) 05:46:12 2025-03-07 05:46:12,518 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-624/.git/info/exclude 05:46:12 2025-03-07 05:46:12,519 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-624/.semver/PR-624 with force:False 05:46:12 2025-03-07 05:46:12,519 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-624/.semver/PR-624 05:46:12 2025-03-07 05:46:12,523 [execute] INFO git cat-file --batch-check 05:46:12 2025-03-07 05:46:12,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-624/.semver, universal_newlines=False, shell=None, istream=) 05:46:12 2025-03-07 05:46:12,530 [execute] INFO git cat-file --batch 05:46:12 2025-03-07 05:46:12,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-624/.semver, universal_newlines=False, shell=None, istream=) 05:46:12 2025-03-07 05:46:12,536 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-624/.semver/PR-624 05:46:12 0.0.0 [Pipeline] } 05:46:12 $ docker exec --env ******** --env ******** 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 ssh-agent -k 05:46:12 unset SSH_AUTH_SOCK; 05:46:12 unset SSH_AGENT_PID; 05:46:12 echo Agent pid 77 killed; 05:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:13 + git semver [Pipeline] } 05:46:13 $ docker stop --time=1 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 05:46:14 $ docker rm -f --volumes 6b118b43243e57ec25d33ccdc13f419b4da31b3c7c212b9e6e43b90fb0149322 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:15 Stashed 1 file(s) [Pipeline] echo 05:46:15 [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 05:46:16 provisioning config files... 05:46:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-624@tmp/config3313111260845531695tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:46:16 ---> ****-login.sh 05:46:16 nexus3.edgexfoundry.org:10001 05:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:16 Configure a credential helper to remove this warning. See 05:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:16 05:46:16 Login Succeeded 05:46:16 nexus3.edgexfoundry.org:10002 05:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:16 Configure a credential helper to remove this warning. See 05:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:16 05:46:16 Login Succeeded 05:46:16 nexus3.edgexfoundry.org:10003 05:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:17 Configure a credential helper to remove this warning. See 05:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:17 05:46:17 Login Succeeded 05:46:17 nexus3.edgexfoundry.org:10004 05:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:17 Configure a credential helper to remove this warning. See 05:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:17 05:46:17 Login Succeeded 05:46:17 ****.io 05:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:17 Configure a credential helper to remove this warning. See 05:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:17 05:46:17 Login Succeeded 05:46:17 ---> ****-login.sh ends [Pipeline] } 05:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:46:17 ========================================================= 05:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:46:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:46:18 Sending build context to Docker daemon 18.23MB 05:46:18 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:46:18 Step 2/10 : FROM ${BASE} AS builder 05:46:18 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:46:18 da9db072f522: Pulling fs layer 05:46:18 6ef4a4ee8ca5: Pulling fs layer 05:46:18 06f05ace1117: Pulling fs layer 05:46:18 5fe327b54edc: Pulling fs layer 05:46:18 4f4fb700ef54: Pulling fs layer 05:46:18 92a5565b7b96: Pulling fs layer 05:46:18 ff9bb7016b71: Pulling fs layer 05:46:18 b67dba6c2c7d: Pulling fs layer 05:46:18 a813b0c90790: Pulling fs layer 05:46:18 4f4fb700ef54: Waiting 05:46:18 92a5565b7b96: Waiting 05:46:18 ff9bb7016b71: Waiting 05:46:18 b67dba6c2c7d: Waiting 05:46:18 a813b0c90790: Waiting 05:46:18 5fe327b54edc: Waiting 05:46:18 6ef4a4ee8ca5: Verifying Checksum 05:46:18 6ef4a4ee8ca5: Download complete 05:46:18 5fe327b54edc: Download complete 05:46:18 4f4fb700ef54: Verifying Checksum 05:46:18 4f4fb700ef54: Download complete 05:46:18 92a5565b7b96: Verifying Checksum 05:46:18 92a5565b7b96: Download complete 05:46:18 da9db072f522: Download complete 05:46:18 ff9bb7016b71: Verifying Checksum 05:46:18 ff9bb7016b71: Download complete 05:46:18 da9db072f522: Pull complete 05:46:18 a813b0c90790: Verifying Checksum 05:46:18 a813b0c90790: Download complete 05:46:18 6ef4a4ee8ca5: Pull complete 05:46:18 06f05ace1117: Verifying Checksum 05:46:18 06f05ace1117: Download complete 05:46:19 b67dba6c2c7d: Verifying Checksum 05:46:19 b67dba6c2c7d: Download complete 05:46:22 06f05ace1117: Pull complete 05:46:22 5fe327b54edc: Pull complete 05:46:22 4f4fb700ef54: Pull complete 05:46:22 92a5565b7b96: Pull complete 05:46:22 ff9bb7016b71: Pull complete 05:46:24 b67dba6c2c7d: Pull complete 05:46:24 a813b0c90790: Pull complete 05:46:24 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:46:24 ---> 3ba60ce46760 05:46:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:46:28 ---> Running in a7c69716fd48 05:46:28 Removing intermediate container a7c69716fd48 05:46:28 ---> 372e3f0e107d 05:46:28 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:46:28 ---> Running in 78c634ab2118 05:46:28 Removing intermediate container 78c634ab2118 05:46:28 ---> 250cb065bda1 05:46:28 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:46:28 ---> Running in 5db3372135da 05:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:46:28 (1/8) Installing openssh-keygen (9.7_p1-r5) 05:46:28 (2/8) Installing libedit (20240517.3.1-r0) 05:46:28 (3/8) Installing openssh-client-common (9.7_p1-r5) 05:46:28 (4/8) Installing openssh-client-default (9.7_p1-r5) 05:46:28 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 05:46:28 (6/8) Installing openssh-server-common (9.7_p1-r5) 05:46:28 (7/8) Installing openssh-server (9.7_p1-r5) 05:46:28 (8/8) Installing openssh (9.7_p1-r5) 05:46:28 Executing busybox-1.36.1-r29.trigger 05:46:28 OK: 253 MiB in 66 packages 05:46:28 Removing intermediate container 5db3372135da 05:46:28 ---> 1c554eae1c5a 05:46:28 Step 6/10 : WORKDIR /device-modbus-go 05:46:28 ---> Running in ea57d77d7d78 05:46:29 Removing intermediate container ea57d77d7d78 05:46:29 ---> 05d8ff872709 05:46:29 Step 7/10 : COPY go.mod vendor* ./ 05:46:29 ---> fa6052d78a72 05:46:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:46:29 ---> Running in 0f6149023b81 05:47:17 Removing intermediate container 0f6149023b81 05:47:17 ---> 7963dc88f7b7 05:47:17 Step 9/10 : COPY . . 05:47:17 ---> 7791cdc5b5a8 05:47:17 Step 10/10 : RUN ${MAKE} 05:47:17 ---> Running in 9e2c698e5661 05:47:17 noop 05:47:17 Removing intermediate container 9e2c698e5661 05:47:17 ---> 5ea25682364d 05:47:17 Successfully built 5ea25682364d 05:47:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:17 + docker inspect -f . ci-base-image-x86_64 05:47:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:17 prd-ubuntu20.04-docker-8c-8g-40534 does not seem to be running inside a container 05:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-624 -v /w/workspace/xfoundry_device-modbus-go_PR-624:/w/workspace/xfoundry_device-modbus-go_PR-624:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-624@tmp:/w/workspace/xfoundry_device-modbus-go_PR-624@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 ******** ci-base-image-x86_64 cat 05:47:18 $ docker top 180e366c5670d367f8d17dca8613c3bb4ba7c1097e88a5c7fb19781a1c8214cf -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:18 + go version 05:47:18 go version go1.23.4 linux/amd64 [Pipeline] } 05:47:18 $ docker stop --time=1 180e366c5670d367f8d17dca8613c3bb4ba7c1097e88a5c7fb19781a1c8214cf 05:47:19 $ docker rm -f --volumes 180e366c5670d367f8d17dca8613c3bb4ba7c1097e88a5c7fb19781a1c8214cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:20 + docker inspect -f . ci-base-image-x86_64 05:47:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:20 prd-ubuntu20.04-docker-8c-8g-40534 does not seem to be running inside a container 05:47:20 $ 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-624 -v /w/workspace/xfoundry_device-modbus-go_PR-624:/w/workspace/xfoundry_device-modbus-go_PR-624:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-624@tmp:/w/workspace/xfoundry_device-modbus-go_PR-624@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 ******** ci-base-image-x86_64 cat 05:47:21 $ docker top 3f71dca2af6e8fefc57d0d5084c7e961c4396e43f06a98742053d59026f84be8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:21 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-624 [Pipeline] fileExists [Pipeline] sh 05:47:21 + make test 05:47:21 go test ./... -coverprofile=coverage.out 05:47:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:47:41 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:47:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 45.2% of statements 05:47:49 go vet ./... 05:47:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:47:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:47:58 $ docker stop --time=1 3f71dca2af6e8fefc57d0d5084c7e961c4396e43f06a98742053d59026f84be8 05:48:01 $ docker rm -f --volumes 3f71dca2af6e8fefc57d0d5084c7e961c4396e43f06a98742053d59026f84be8 [Pipeline] // withDockerContainer [Pipeline] sh 05:48:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:48:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:48:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:48:02 + ls -al . 05:48:02 total 260 05:48:02 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 05:47 . 05:48:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:45 .. 05:48:02 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 05:45 .dockerignore 05:48:02 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 05:47 .git 05:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:45 .github 05:48:02 -rw-rw-r-- 1 jenkins jenkins 266 Mar 7 05:45 .gitignore 05:48:02 -rw-rw-r-- 1 jenkins jenkins 199 Mar 7 05:45 .golangci.yml 05:48:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:46 .semver 05:48:02 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 7 05:45 Attribution.txt 05:48:02 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 7 05:45 CHANGELOG.md 05:48:02 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 7 05:45 Dockerfile 05:48:02 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 05:45 GOVERNANCE.md 05:48:02 -rw-rw-r-- 1 jenkins jenkins 658 Mar 7 05:45 Jenkinsfile 05:48:02 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 05:45 LICENSE 05:48:02 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 7 05:45 Makefile 05:48:02 -rw-rw-r-- 1 jenkins jenkins 622 Mar 7 05:45 OWNERS.md 05:48:02 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 7 05:45 README.md 05:48:02 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 05:46 VERSION 05:48:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:45 bin 05:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:45 cmd 05:48:02 -rw-r--r-- 1 jenkins jenkins 26862 Mar 7 05:47 coverage.out 05:48:02 -rw-rw-r-- 1 jenkins jenkins 6302 Mar 7 05:45 go.mod 05:48:02 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 7 05:45 go.sum 05:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:45 internal 05:48:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:45 simulator 05:48:02 -rw-rw-r-- 1 jenkins jenkins 229 Mar 7 05:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:03 + 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=79b9fe09beefbfdb7c5ff65434b7156a4d20d128 --label arch=amd64 --label version=0.0.0 . 05:48:03 Sending build context to Docker daemon 18.25MB 05:48:03 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:48:03 Step 2/23 : FROM ${BASE} AS builder 05:48:03 ---> 5ea25682364d 05:48:03 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:48:03 ---> Running in b5cc32e9c8e2 05:48:03 Removing intermediate container b5cc32e9c8e2 05:48:03 ---> 842f07b1a4ba 05:48:03 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:48:03 ---> Running in ca14eeb0ccf8 05:48:03 Removing intermediate container ca14eeb0ccf8 05:48:03 ---> d99c44df325b 05:48:03 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:48:03 ---> Running in 190fc1b3f4f2 05:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:48:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:48:04 OK: 253 MiB in 66 packages 05:48:04 Removing intermediate container 190fc1b3f4f2 05:48:04 ---> 35a4ce238120 05:48:04 Step 6/23 : WORKDIR /device-modbus-go 05:48:04 ---> Running in d20134eecb23 05:48:04 Removing intermediate container d20134eecb23 05:48:04 ---> a458c426a6b8 05:48:04 Step 7/23 : COPY go.mod vendor* ./ 05:48:04 ---> 06eb96102824 05:48:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:48:04 ---> Running in f70ec2fd1d17 05:48:05 Removing intermediate container f70ec2fd1d17 05:48:05 ---> 717778062f1e 05:48:05 Step 9/23 : COPY . . 05:48:06 ---> b546f0398db3 05:48:06 Step 10/23 : RUN ${MAKE} 05:48:06 ---> Running in 8a0bd97d13d5 05:48:06 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.29 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:48:32 Removing intermediate container 8a0bd97d13d5 05:48:32 ---> fc10fd8ce204 05:48:32 Step 11/23 : FROM alpine:3.20 05:48:33 3.20: Pulling from library/alpine 05:48:33 0a9a5dfd008f: Pulling fs layer 05:48:33 0a9a5dfd008f: Download complete 05:48:33 0a9a5dfd008f: Pull complete 05:48:33 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:48:33 Status: Downloaded newer image for alpine:3.20 05:48:33 ---> ff221270b9fb 05:48:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:48:33 ---> Running in 834e31ce7176 05:48:33 Removing intermediate container 834e31ce7176 05:48:33 ---> d58b5ed604c3 05:48:33 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:48:33 ---> Running in ff15d431f341 05:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:48:34 (1/1) Installing dumb-init (1.2.5-r3) 05:48:34 Executing busybox-1.36.1-r29.trigger 05:48:34 OK: 8 MiB in 15 packages 05:48:34 Removing intermediate container ff15d431f341 05:48:34 ---> cdd93fa598b4 05:48:34 Step 14/23 : RUN apk --no-cache upgrade 05:48:34 ---> Running in f09cc80ddcc8 05:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:48:35 OK: 8 MiB in 15 packages 05:48:35 Removing intermediate container f09cc80ddcc8 05:48:35 ---> 570fcc6e3f55 05:48:35 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:48:35 ---> 05a790c0e809 05:48:35 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:48:36 ---> 5b814fadec6d 05:48:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:48:36 ---> a4b64c02354d 05:48:36 Step 18/23 : EXPOSE 59901 05:48:36 ---> Running in bf9035b020d6 05:48:36 Removing intermediate container bf9035b020d6 05:48:36 ---> d3c8d6e9b9fc 05:48:36 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:48:36 ---> Running in 34bdcd5beffa 05:48:36 Removing intermediate container 34bdcd5beffa 05:48:36 ---> 006868b48941 05:48:36 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:48:36 ---> Running in 7d638c15a673 05:48:36 Removing intermediate container 7d638c15a673 05:48:36 ---> e5b090ad73c5 05:48:36 Step 21/23 : LABEL arch=amd64 05:48:36 ---> Running in 03899a473742 05:48:36 Removing intermediate container 03899a473742 05:48:36 ---> 93c073d985be 05:48:36 Step 22/23 : LABEL git_sha=79b9fe09beefbfdb7c5ff65434b7156a4d20d128 05:48:36 ---> Running in f78f723e8b29 05:48:36 Removing intermediate container f78f723e8b29 05:48:36 ---> 797acfcffd3b 05:48:36 Step 23/23 : LABEL version=0.0.0 05:48:36 ---> Running in 07ae47a35b94 05:48:36 Removing intermediate container 07ae47a35b94 05:48:36 ---> 407bfabc4ff7 05:48:36 [Warning] One or more build-args [ARCH] were not consumed 05:48:36 Successfully built 407bfabc4ff7 05:48:36 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 05:48:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:37 05:48:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:38 latest: Pulling from edgex-lftools-log-publisher 05:48:38 5eb5b503b376: Pulling fs layer 05:48:38 5c69ac0246d0: Pulling fs layer 05:48:38 ec43610c2a17: Pulling fs layer 05:48:38 3a2ae6a8a46f: Pulling fs layer 05:48:38 33b1e0a273af: Pulling fs layer 05:48:38 5d3b04190fa2: Pulling fs layer 05:48:38 2f39f015ded8: Pulling fs layer 05:48:38 33b1e0a273af: Waiting 05:48:38 3a2ae6a8a46f: Waiting 05:48:38 5d3b04190fa2: Waiting 05:48:38 2f39f015ded8: Waiting 05:48:38 5c69ac0246d0: Verifying Checksum 05:48:38 5c69ac0246d0: Download complete 05:48:38 3a2ae6a8a46f: Download complete 05:48:38 33b1e0a273af: Verifying Checksum 05:48:38 33b1e0a273af: Download complete 05:48:38 5d3b04190fa2: Download complete 05:48:38 ec43610c2a17: Verifying Checksum 05:48:38 ec43610c2a17: Download complete 05:48:38 5eb5b503b376: Verifying Checksum 05:48:38 5eb5b503b376: Download complete 05:48:38 2f39f015ded8: Download complete 05:48:39 5eb5b503b376: Pull complete 05:48:39 5c69ac0246d0: Pull complete 05:48:39 ec43610c2a17: Pull complete 05:48:40 3a2ae6a8a46f: Pull complete 05:48:40 33b1e0a273af: Pull complete 05:48:40 5d3b04190fa2: Pull complete 05:48:44 2f39f015ded8: Pull complete 05:48:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:44 prd-ubuntu20.04-docker-8c-8g-40534 does not seem to be running inside a container 05:48:44 $ 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-624 -v /w/workspace/xfoundry_device-modbus-go_PR-624:/w/workspace/xfoundry_device-modbus-go_PR-624:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-624@tmp:/w/workspace/xfoundry_device-modbus-go_PR-624@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:48:46 $ docker top 00d31888cc033d80d6ee013824ed2b85933244c7a0d03a15b124d7d8828e0758 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:47 ---> job-cost.sh 05:48:47 lf-activate-venv: SKIPPING 05:48:47 INFO: No Stack... 05:48:47 INFO: Retrieving Pricing Info for: v3-standard-8 05:48:47 INFO: Archiving Costs [Pipeline] sh 05:48:47 + cut -d, -f6 05:48:47 + cat /w/workspace/xfoundry_device-modbus-go_PR-624/archives/cost.csv [Pipeline] lock 05:48:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-624-1-stack-cost] 05:48:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-624-1-stack-cost] did not exist. Created. 05:48:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-624-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:48:48 + echo total: 0.2199999988079071 [Pipeline] stash 05:48:48 Stashed 1 file(s) [Pipeline] } 05:48:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-624-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:48:48 $ docker stop --time=1 00d31888cc033d80d6ee013824ed2b85933244c7a0d03a15b124d7d8828e0758 05:48:49 $ docker rm -f --volumes 00d31888cc033d80d6ee013824ed2b85933244c7a0d03a15b124d7d8828e0758 [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 05:48:50 provisioning config files... 05:48:50 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-624@tmp/config10372060406661129839tmp [Pipeline] { [Pipeline] sh 05:48:50 + set +x 05:48:50 + + curl -s https://codecov.io/bash 05:48:50 bash -s -- 05:48:50 05:48:50 _____ _ 05:48:50 / ____| | | 05:48:50 | | ___ __| | ___ ___ _____ __ 05:48:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:48:50 | |___| (_) | (_| | __/ (_| (_) \ V / 05:48:50 \_____\___/ \__,_|\___|\___\___/ \_/ 05:48:50 Bash-1.0.6 05:48:50 05:48:50 05:48:50 ==> git version 2.25.1 found 05:48:50 ==> 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 05:48:50 Release-Date: 2020-01-08 05:48:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:48:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:48:50 ==> Jenkins CI detected. 05:48:50 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-624 05:48:50 project root: . 05:48:50 --> token set from env 05:48:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:48:50 ==> Running gcov in . (disable via -X gcov) 05:48:50 ==> Python coveragepy not found 05:48:50 ==> Searching for coverage reports in: 05:48:50 + . 05:48:50 -> Found 1 reports 05:48:50 ==> Detecting git/mercurial file structure 05:48:50 ==> Reading reports 05:48:50 + ./coverage.out bytes=26862 05:48:50 ==> Appending adjustments 05:48:50 https://docs.codecov.io/docs/fixing-reports 05:48:50 + Found adjustments 05:48:50 ==> Gzipping contents 05:48:50 8.0K /tmp/codecov.YaZZn0.gz 05:48:50 ==> Uploading reports 05:48:50 url: https://codecov.io 05:48:50 query: branch=PR-624&commit=79b9fe09beefbfdb7c5ff65434b7156a4d20d128&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=624&job=&cmd_args= 05:48:50 -> Pinging Codecov 05:48:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-624&commit=79b9fe09beefbfdb7c5ff65434b7156a4d20d128&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=624&job=&cmd_args= 05:48:51 -> Uploading to 05:48:51 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/79b9fe09beefbfdb7c5ff65434b7156a4d20d128/3c2f0014-75d4-4ef0-9ae5-dbc996cb5433.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250307%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250307T054851Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=d18ca0f8618e3bada403ee936eac65485371c02a5fea94351f281a192c41ce89 05:48:51 % Total % Received % Xferd Average Speed Time Time Time Current 05:48:51 Dload Upload Total Spent Left Speed 05:48:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 22461 --:--:-- --:--:-- --:--:-- 22461 05:48:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/79b9fe09beefbfdb7c5ff65434b7156a4d20d128 [Pipeline] } 05:48:51 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 05:48:53 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-624/archives ] 05:48:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-624/archives 05:48:53 total 16 05:48:53 drwxr-xr-x 3 root root 4096 Mar 7 05:48 . 05:48:53 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 05:48 .. 05:48:53 drwxr-xr-x 2 root root 4096 Mar 7 05:48 cost 05:48:53 -rw-r--r-- 1 root root 88 Mar 7 05:48 cost.csv 05:48:53 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-624/archives 05:48:53 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-624/archives 05:48:53 total 16 05:48:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:48 . 05:48:53 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 05:48 .. 05:48:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 05:48 cost 05:48:53 -rw-r--r-- 1 jenkins jenkins 88 Mar 7 05:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:48:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:48:54 ---> package-listing.sh 05:48:54 ++ facter osfamily 05:48:54 ++ tr '[:upper:]' '[:lower:]' 05:48:54 + OS_FAMILY=debian 05:48:54 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-624 05:48:54 + START_PACKAGES=/tmp/packages_start.txt 05:48:54 + END_PACKAGES=/tmp/packages_end.txt 05:48:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:48:54 + PACKAGES=/tmp/packages_start.txt 05:48:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-624 ']' 05:48:54 + PACKAGES=/tmp/packages_end.txt 05:48:54 + case "${OS_FAMILY}" in 05:48:54 + dpkg -l 05:48:54 + grep '^ii' 05:48:54 + '[' -f /tmp/packages_start.txt ']' 05:48:54 + '[' -f /tmp/packages_end.txt ']' 05:48:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:48:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-624 ']' 05:48:54 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-624/archives/ 05:48:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-624/archives/ [Pipeline] echo 05:48:54 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-624/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:48:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:56 prd-ubuntu20.04-docker-8c-8g-40534 does not seem to be running inside a container 05:48:56 $ 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-624/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-624 -v /w/workspace/xfoundry_device-modbus-go_PR-624:/w/workspace/xfoundry_device-modbus-go_PR-624:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-624@tmp:/w/workspace/xfoundry_device-modbus-go_PR-624@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:48:56 $ docker top 31139059b428efb18039849b90b7014a17c77503a1ffc7e4010f5a8ba7bf9e90 -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:56 + touch /tmp/pre-build-complete [Pipeline] sh 05:48:56 + mkdir -p /var/log/sysstat [Pipeline] sh 05:48:57 + ls /var/log/sa-host 05:48:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:57 provisioning config files... 05:48:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-624@tmp/config14233268988476674128tmp [Pipeline] { [Pipeline] echo 05:48:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:48:58 ---> create-netrc.sh [Pipeline] } 05:48:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:48:58 ---> python-tools-install.sh [Pipeline] echo 05:48:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:48:58 ---> sudo-logs.sh 05:48:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:48:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:48:59 ---> job-cost.sh 05:48:59 lf-activate-venv: SKIPPING 05:48:59 DEBUG: total: 0.2199999988079071 05:48:59 INFO: Retrieving Stack Cost... 05:48:59 INFO: Retrieving Pricing Info for: v3-standard-8 05:48:59 INFO: Archiving Costs [Pipeline] echo 05:48:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:48:59 ---> logs-deploy.sh 05:48:59 lf-activate-venv: SKIPPING 05:48:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-624/1 05:48:59 INFO: archiving workspace using pattern(s): 05:49:00 Archives upload complete. 05:49:01 INFO: archiving logs to Nexus 05:49:01 ---> uname -a: 05:49:01 Linux prd-ubuntu20-04-docker-8c-8g-40534 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:49:01 05:49:01 05:49:01 ---> lscpu: 05:49:01 Architecture: x86_64 05:49:01 CPU op-mode(s): 32-bit, 64-bit 05:49:01 Byte Order: Little Endian 05:49:01 Address sizes: 40 bits physical, 48 bits virtual 05:49:01 CPU(s): 8 05:49:01 On-line CPU(s) list: 0-7 05:49:01 Thread(s) per core: 1 05:49:01 Core(s) per socket: 1 05:49:01 Socket(s): 8 05:49:01 NUMA node(s): 1 05:49:01 Vendor ID: AuthenticAMD 05:49:01 CPU family: 23 05:49:01 Model: 49 05:49:01 Model name: AMD EPYC-Rome Processor 05:49:01 Stepping: 0 05:49:01 CPU MHz: 2800.000 05:49:01 BogoMIPS: 5600.00 05:49:01 Virtualization: AMD-V 05:49:01 Hypervisor vendor: KVM 05:49:01 Virtualization type: full 05:49:01 L1d cache: 256 KiB 05:49:01 L1i cache: 256 KiB 05:49:01 L2 cache: 4 MiB 05:49:01 L3 cache: 128 MiB 05:49:01 NUMA node0 CPU(s): 0-7 05:49:01 Vulnerability Itlb multihit: Not affected 05:49:01 Vulnerability L1tf: Not affected 05:49:01 Vulnerability Mds: Not affected 05:49:01 Vulnerability Meltdown: Not affected 05:49:01 Vulnerability Mmio stale data: Not affected 05:49:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:49:01 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:49:01 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:49:01 Vulnerability Srbds: Not affected 05:49:01 Vulnerability Tsx async abort: Not affected 05:49:01 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 05:49:01 05:49:01 05:49:01 ---> nproc: 05:49:01 8 05:49:01 05:49:01 05:49:01 ---> df -h: 05:49:01 Filesystem Size Used Avail Use% Mounted on 05:49:01 overlay 155G 12G 144G 8% / 05:49:01 tmpfs 64M 0 64M 0% /dev 05:49:01 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:49:01 shm 64M 0 64M 0% /dev/shm 05:49:01 /dev/vda1 155G 12G 144G 8% /facter-os 05:49:01 05:49:01 05:49:01 ---> sar -b -r -n DEV: 05:49:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40534) 03/07/25 _x86_64_ (8 CPU) 05:49:01 05:49:01 05:45:13 LINUX RESTART (8 CPU) 05:49:01 05:49:01 05:46:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:49:01 05:47:01 245.81 5.19 240.63 0.00 470.37 70555.80 0.00 05:49:01 05:48:01 153.72 0.17 153.55 0.00 11.60 52832.52 0.00 05:49:01 05:49:01 199.63 0.47 199.17 0.00 36.13 51900.55 0.00 05:49:01 Average: 199.46 1.92 197.54 0.00 171.01 58360.90 0.00 05:49:01 05:49:01 05:46:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:49:01 05:47:01 27634356 31483988 825476 2.51 153920 3819336 2055000 6.06 1326424 3375640 377592 05:49:01 05:48:01 27560296 31509792 796032 2.42 189612 3874332 1967988 5.80 1356348 3409580 10204 05:49:01 05:49:01 26955428 31463740 834816 2.54 200216 4372860 1861500 5.49 1454544 3857756 696 05:49:01 Average: 27383360 31485840 818775 2.49 181249 4022176 1961496 5.78 1379105 3547659 129497 05:49:01 05:49:01 05:46:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:49:01 05:47:01 ens3 702.61 436.88 6767.91 55.82 0.00 0.00 0.00 0.00 05:49:01 05:47:01 docker0 334.14 528.51 28.08 3128.37 0.00 0.00 0.00 0.00 05:49:01 05:47:01 lo 2.78 2.78 0.28 0.28 0.00 0.00 0.00 0.00 05:49:01 05:48:01 ens3 29.44 17.49 28.28 11.30 0.00 0.00 0.00 0.00 05:49:01 05:48:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 05:49:01 05:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:49:01 05:49:01 ens3 192.08 136.48 2749.79 139.97 0.00 0.00 0.00 0.00 05:49:01 05:49:01 docker0 4.38 8.60 0.27 114.90 0.00 0.00 0.00 0.00 05:49:01 05:49:01 lo 2.60 2.60 0.26 0.26 0.00 0.00 0.00 0.00 05:49:01 Average: ens3 305.80 195.59 3161.59 69.10 0.00 0.00 0.00 0.00 05:49:01 Average: docker0 111.58 177.09 9.34 1069.48 0.00 0.00 0.00 0.00 05:49:01 Average: lo 1.85 1.85 0.18 0.18 0.00 0.00 0.00 0.00 05:49:01 05:49:01 05:49:01 ---> sar -P ALL: 05:49:01 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40534) 03/07/25 _x86_64_ (8 CPU) 05:49:01 05:49:01 05:45:13 LINUX RESTART (8 CPU) 05:49:01 05:49:01 05:46:02 CPU %user %nice %system %iowait %steal %idle 05:49:01 05:47:01 all 8.87 0.00 4.07 2.64 0.06 84.37 05:49:01 05:47:01 0 8.81 0.00 4.17 0.53 0.07 86.42 05:49:01 05:47:01 1 8.64 0.00 3.69 0.15 0.05 87.47 05:49:01 05:47:01 2 8.66 0.00 3.43 0.79 0.09 87.04 05:49:01 05:47:01 3 10.71 0.00 4.28 9.89 0.05 75.07 05:49:01 05:47:01 4 9.36 0.00 5.35 5.83 0.07 79.39 05:49:01 05:47:01 5 8.28 0.00 3.85 0.98 0.05 86.84 05:49:01 05:47:01 6 8.01 0.00 4.38 2.57 0.07 84.97 05:49:01 05:47:01 7 8.47 0.00 3.39 0.38 0.05 87.71 05:49:01 05:48:01 all 41.02 0.00 7.16 1.74 0.08 50.01 05:49:01 05:48:01 0 39.60 0.00 7.80 0.50 0.09 52.02 05:49:01 05:48:01 1 38.69 0.00 6.27 0.15 0.07 54.83 05:49:01 05:48:01 2 41.89 0.00 6.16 0.17 0.07 51.71 05:49:01 05:48:01 3 40.44 0.00 9.33 8.34 0.09 41.80 05:49:01 05:48:01 4 41.16 0.00 8.28 1.94 0.07 48.55 05:49:01 05:48:01 5 42.45 0.00 7.07 0.29 0.11 50.08 05:49:01 05:48:01 6 39.04 0.00 6.45 2.26 0.07 52.19 05:49:01 05:48:01 7 44.96 0.00 6.06 0.24 0.09 48.66 05:49:01 05:49:01 all 24.31 0.00 5.15 1.39 0.07 69.08 05:49:01 05:49:01 0 24.75 0.00 4.81 0.07 0.07 70.31 05:49:01 05:49:01 1 25.20 0.00 5.63 0.08 0.07 69.02 05:49:01 05:49:01 2 25.10 0.00 5.22 0.10 0.05 69.53 05:49:01 05:49:01 3 25.05 0.00 4.90 0.35 0.07 69.63 05:49:01 05:49:01 4 23.91 0.00 5.69 8.13 0.07 62.20 05:49:01 05:49:01 5 23.52 0.00 4.89 0.10 0.07 71.43 05:49:01 05:49:01 6 23.00 0.00 4.91 1.88 0.07 70.15 05:49:01 05:49:01 7 23.93 0.00 5.18 0.44 0.07 70.38 05:49:01 Average: all 24.68 0.00 5.45 1.92 0.07 67.88 05:49:01 Average: 0 24.23 0.00 5.56 0.36 0.07 69.77 05:49:01 Average: 1 24.25 0.00 5.20 0.13 0.06 70.35 05:49:01 Average: 2 25.33 0.00 4.95 0.35 0.07 69.31 05:49:01 Average: 3 25.38 0.00 6.15 6.15 0.07 62.25 05:49:01 Average: 4 24.52 0.00 6.40 5.38 0.07 63.63 05:49:01 Average: 5 24.47 0.00 5.24 0.46 0.08 69.76 05:49:01 Average: 6 23.43 0.00 5.25 2.23 0.07 69.01 05:49:01 Average: 7 25.80 0.00 4.88 0.35 0.07 68.91 05:49:01 05:49:01 05:49:01