Pull request #601 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e0507da57822344dff075801fe28eee98a64634+0b952dc46955038996451e4745a35d433031a401 (dabdab8e3f7080e57370a2bf85227216b3d4659e) 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-ssh13284742343693684471.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-ssh4992907438063701142.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 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-601/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-601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15961702032116391871.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-601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10305897356384217.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 > 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-ssh1015710727843295703.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-601/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-601/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16152098412962726560.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-36262 in /w/workspace/xfoundry_device-modbus-go_PR-601 [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-601 # 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/601/head:refs/remotes/origin/PR-601 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0b952dc46955038996451e4745a35d433031a401 into PR head commit 7e0507da57822344dff075801fe28eee98a64634 Merge succeeded, producing 7e0507da57822344dff075801fe28eee98a64634 Checking out Revision 7e0507da57822344dff075801fe28eee98a64634 (PR-601) 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 7928b8837ad34b090831a72fcdf53bff9dae4c17 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e0507da57822344dff075801fe28eee98a64634 # 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 7e0507da57822344dff075801fe28eee98a64634 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:52:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:47 ========================================================= 05:52:47 EdgeX Global Pipelines Version Info 05:52:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:48 ------------------- 05:52:48 stable info: 05:52:48 ------------------- 05:52:48 Commited By: Cherry Wang cherry@iotechsys.com 05:52:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:52:48 Message: update stable to v1.0.269 05:52:49 ------------------- 05:52:49 experimental info: 05:52:49 ------------------- 05:52:49 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:49 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:52:49 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:52:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-601 [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-601 [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-601 [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e0507da57822344dff075801fe28eee98a64634 [Pipeline] echo 05:52:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e0507d [Pipeline] echo 05:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:51 provisioning config files... 05:52:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-601@tmp/config12433878654856909916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:51 ---> ****-login.sh 05:52:51 nexus3.edgexfoundry.org:10001 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:51 Configure a credential helper to remove this warning. See 05:52:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:51 05:52:51 Login Succeeded 05:52:51 nexus3.edgexfoundry.org:10002 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 nexus3.edgexfoundry.org:10003 05:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 nexus3.edgexfoundry.org:10004 05:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 ****.io 05:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 ---> ****-login.sh ends [Pipeline] } 05:52:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:52:53 + git rev-list -1 --merges 7e0507da57822344dff075801fe28eee98a64634~1..7e0507da57822344dff075801fe28eee98a64634 [Pipeline] echo 05:52:53 -----------> git rev-list -1 --merges 7e0507da57822344dff075801fe28eee98a64634~1..7e0507da57822344dff075801fe28eee98a64634 7e0507da57822344dff075801fe28eee98a64634 [false] [Pipeline] sh 05:52:53 + git log --format=format:%s -1 7e0507da57822344dff075801fe28eee98a64634 [Pipeline] echo 05:52:53 ========================================================= 05:52:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:52:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:53 + git log --format=format:%s -1 7e0507da57822344dff075801fe28eee98a64634 [Pipeline] echo 05:52:53 [semverPrep] GIT_COMMIT: 7e0507da57822344dff075801fe28eee98a64634, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 05:52:53 [semverPrep] This is not a build commit. [Pipeline] sh 05:52:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:54 + grep -v github /etc/ssh/ssh_known_hosts 05:52:54 + [ -e /tmp/ssh_known_hosts ] 05:52:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:52:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:52:54 + sudo tee -a /etc/ssh/ssh_known_hosts 05:52:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:52:54 05:52:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:52:55 0.1.4: Pulling from edgex-devops/py-git-semver 05:52:55 b85a868b505f: Pulling fs layer 05:52:55 e2be974225ed: Pulling fs layer 05:52:55 339a4e72a1f5: Pulling fs layer 05:52:55 988bab9f4d93: Pulling fs layer 05:52:55 1469e6f7b9e6: Pulling fs layer 05:52:55 eaf3925da568: Pulling fs layer 05:52:55 988bab9f4d93: Waiting 05:52:55 1469e6f7b9e6: Waiting 05:52:55 bab4dde63d76: Pulling fs layer 05:52:55 bde34c3a00c8: Pulling fs layer 05:52:55 b352a97aabf1: Pulling fs layer 05:52:55 eaf3925da568: Waiting 05:52:55 4872d77fe225: Pulling fs layer 05:52:55 5851b861e8e6: Pulling fs layer 05:52:55 bab4dde63d76: Waiting 05:52:55 bde34c3a00c8: Waiting 05:52:55 5851b861e8e6: Waiting 05:52:55 b352a97aabf1: Waiting 05:52:55 4872d77fe225: Waiting 05:52:55 e2be974225ed: Download complete 05:52:55 988bab9f4d93: Verifying Checksum 05:52:55 988bab9f4d93: Download complete 05:52:55 1469e6f7b9e6: Verifying Checksum 05:52:55 1469e6f7b9e6: Download complete 05:52:55 eaf3925da568: Verifying Checksum 05:52:55 eaf3925da568: Download complete 05:52:55 339a4e72a1f5: Verifying Checksum 05:52:55 339a4e72a1f5: Download complete 05:52:55 bde34c3a00c8: Download complete 05:52:55 b352a97aabf1: Download complete 05:52:55 4872d77fe225: Download complete 05:52:55 5851b861e8e6: Download complete 05:52:55 b85a868b505f: Verifying Checksum 05:52:55 b85a868b505f: Download complete 05:52:55 bab4dde63d76: Verifying Checksum 05:52:55 bab4dde63d76: Download complete 05:52:56 b85a868b505f: Pull complete 05:52:56 e2be974225ed: Pull complete 05:52:57 339a4e72a1f5: Pull complete 05:52:57 988bab9f4d93: Pull complete 05:52:57 1469e6f7b9e6: Pull complete 05:52:57 eaf3925da568: Pull complete 05:52:58 bab4dde63d76: Pull complete 05:52:59 bde34c3a00c8: Pull complete 05:52:59 b352a97aabf1: Pull complete 05:52:59 4872d77fe225: Pull complete 05:52:59 5851b861e8e6: Pull complete 05:52:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:52:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:52:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:59 prd-ubuntu20.04-docker-8c-8g-36262 does not seem to be running inside a container 05:52:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-601 -v /w/workspace/xfoundry_device-modbus-go_PR-601:/w/workspace/xfoundry_device-modbus-go_PR-601:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-601@tmp:/w/workspace/xfoundry_device-modbus-go_PR-601@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:53:02 $ docker top f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 -eo pid,comm 05:53:02 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:53:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:03 [ssh-agent] Looking for ssh-agent implementation... 05:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:03 $ docker exec f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 ssh-agent 05:53:03 SSH_AUTH_SOCK=/tmp/ssh-Rsc8QEP1dG9l/agent.32 05:53:03 SSH_AGENT_PID=38 05:53:03 Running ssh-add (command line suppressed) 05:53:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-601@tmp/private_key_14612442157768692596.key (/w/workspace/xfoundry_device-modbus-go_PR-601@tmp/private_key_14612442157768692596.key) 05:53:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:03 + git tag --points-at HEAD [Pipeline] } 05:53:03 $ docker exec --env ******** --env ******** f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 ssh-agent -k 05:53:03 unset SSH_AUTH_SOCK; 05:53:03 unset SSH_AGENT_PID; 05:53:03 echo Agent pid 38 killed; 05:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:03 [ssh-agent] Looking for ssh-agent implementation... 05:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:04 $ docker exec f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 ssh-agent 05:53:04 SSH_AUTH_SOCK=/tmp/ssh-J0xjIDUNLcFo/agent.72 05:53:04 SSH_AGENT_PID=78 05:53:04 Running ssh-add (command line suppressed) 05:53:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-601@tmp/private_key_10274033855425206409.key (/w/workspace/xfoundry_device-modbus-go_PR-601@tmp/private_key_10274033855425206409.key) 05:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:04 + git semver init 05:53:04 2025-01-07 05:53:04,738 [run_init] DEBUG init version:0.0.0 force:False 05:53:04 2025-01-07 05:53:04,739 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-601/.semver 05:53:04 2025-01-07 05:53:04,740 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-601/.semver 05:53:04 2025-01-07 05:53:04,740 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-601/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-601, universal_newlines=False, shell=None, istream=None) 05:53:06 2025-01-07 05:53:05,792 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-601/.git/info/exclude 05:53:06 2025-01-07 05:53:05,792 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-601/.semver/PR-601 with force:False 05:53:06 2025-01-07 05:53:05,792 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-601/.semver/PR-601 05:53:06 2025-01-07 05:53:05,796 [execute] INFO git cat-file --batch-check 05:53:06 2025-01-07 05:53:05,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-601/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 05:53:06 2025-01-07 05:53:05,802 [execute] INFO git cat-file --batch 05:53:06 2025-01-07 05:53:05,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-601/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 05:53:06 2025-01-07 05:53:05,807 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-601/.semver/PR-601 05:53:06 0.0.0 [Pipeline] } 05:53:06 $ docker exec --env ******** --env ******** f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 ssh-agent -k 05:53:06 unset SSH_AUTH_SOCK; 05:53:06 unset SSH_AGENT_PID; 05:53:06 echo Agent pid 78 killed; 05:53:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:06 + git semver [Pipeline] } 05:53:07 $ docker stop --time=1 f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 05:53:08 $ docker rm -f --volumes f3cffe251531fea90ee69d05c80bef9c375b71ceae1f650512553b4790e8c6c4 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:09 Stashed 1 file(s) [Pipeline] echo 05:53:09 [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:53:10 provisioning config files... 05:53:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-601@tmp/config13745326991048806403tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:53:11 ---> ****-login.sh 05:53:11 nexus3.edgexfoundry.org:10001 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:11 Configure a credential helper to remove this warning. See 05:53:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:11 05:53:11 Login Succeeded 05:53:11 nexus3.edgexfoundry.org:10002 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:11 Configure a credential helper to remove this warning. See 05:53:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:11 05:53:11 Login Succeeded 05:53:11 nexus3.edgexfoundry.org:10003 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:11 Configure a credential helper to remove this warning. See 05:53:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:11 05:53:11 Login Succeeded 05:53:11 nexus3.edgexfoundry.org:10004 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:11 Configure a credential helper to remove this warning. See 05:53:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:11 05:53:11 Login Succeeded 05:53:11 ****.io 05:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:11 Configure a credential helper to remove this warning. See 05:53:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:11 05:53:11 Login Succeeded 05:53:11 ---> ****-login.sh ends [Pipeline] } 05:53:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:53:12 ========================================================= 05:53:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:53:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:12 + 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:53:12 Sending build context to Docker daemon 18.1MB 05:53:12 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:53:12 Step 2/10 : FROM ${BASE} AS builder 05:53:12 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:12 da9db072f522: Pulling fs layer 05:53:12 6ef4a4ee8ca5: Pulling fs layer 05:53:12 06f05ace1117: Pulling fs layer 05:53:12 5fe327b54edc: Pulling fs layer 05:53:12 4f4fb700ef54: Pulling fs layer 05:53:12 92a5565b7b96: Pulling fs layer 05:53:12 ff9bb7016b71: Pulling fs layer 05:53:12 b67dba6c2c7d: Pulling fs layer 05:53:12 a813b0c90790: Pulling fs layer 05:53:12 5fe327b54edc: Waiting 05:53:12 4f4fb700ef54: Waiting 05:53:12 92a5565b7b96: Waiting 05:53:12 ff9bb7016b71: Waiting 05:53:12 6ef4a4ee8ca5: Verifying Checksum 05:53:12 6ef4a4ee8ca5: Download complete 05:53:12 5fe327b54edc: Verifying Checksum 05:53:12 5fe327b54edc: Download complete 05:53:12 4f4fb700ef54: Verifying Checksum 05:53:12 4f4fb700ef54: Download complete 05:53:12 92a5565b7b96: Verifying Checksum 05:53:12 92a5565b7b96: Download complete 05:53:12 da9db072f522: Download complete 05:53:12 ff9bb7016b71: Verifying Checksum 05:53:12 ff9bb7016b71: Download complete 05:53:12 da9db072f522: Pull complete 05:53:13 a813b0c90790: Verifying Checksum 05:53:13 a813b0c90790: Download complete 05:53:13 6ef4a4ee8ca5: Pull complete 05:53:13 06f05ace1117: Verifying Checksum 05:53:13 06f05ace1117: Download complete 05:53:13 b67dba6c2c7d: Verifying Checksum 05:53:13 b67dba6c2c7d: Download complete 05:53:16 06f05ace1117: Pull complete 05:53:16 5fe327b54edc: Pull complete 05:53:16 4f4fb700ef54: Pull complete 05:53:16 92a5565b7b96: Pull complete 05:53:16 ff9bb7016b71: Pull complete 05:53:18 b67dba6c2c7d: Pull complete 05:53:19 a813b0c90790: Pull complete 05:53:19 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:53:19 ---> 3ba60ce46760 05:53:19 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:53:23 ---> Running in d3e8e166a233 05:53:23 Removing intermediate container d3e8e166a233 05:53:23 ---> f4f10ab355f8 05:53:23 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:53:23 ---> Running in edd18a4d5cd0 05:53:23 Removing intermediate container edd18a4d5cd0 05:53:23 ---> 55f25e9b911e 05:53:23 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:53:23 ---> Running in 2f28fa4293d6 05:53:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:53:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:53:23 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:53:23 (2/8) Installing libedit (20240517.3.1-r0) 05:53:23 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:53:23 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:53:23 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:53:23 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:53:23 (7/8) Installing openssh-server (9.7_p1-r4) 05:53:23 (8/8) Installing openssh (9.7_p1-r4) 05:53:23 Executing busybox-1.36.1-r29.trigger 05:53:23 OK: 253 MiB in 66 packages 05:53:24 Removing intermediate container 2f28fa4293d6 05:53:24 ---> 855905edb55c 05:53:24 Step 6/10 : WORKDIR /device-modbus-go 05:53:24 ---> Running in d0230d180ddb 05:53:24 Removing intermediate container d0230d180ddb 05:53:24 ---> 26b3bea7751f 05:53:24 Step 7/10 : COPY go.mod vendor* ./ 05:53:24 ---> 571aaa815348 05:53:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:24 ---> Running in 1804e96af179 05:54:20 Removing intermediate container 1804e96af179 05:54:20 ---> 9ce529aa3cfe 05:54:20 Step 9/10 : COPY . . 05:54:20 ---> e8c0ffbd3846 05:54:20 Step 10/10 : RUN ${MAKE} 05:54:20 ---> Running in 9bfed14a1c3f 05:54:20 noop 05:54:20 Removing intermediate container 9bfed14a1c3f 05:54:20 ---> 29d890bd4874 05:54:20 Successfully built 29d890bd4874 05:54:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:21 + docker inspect -f . ci-base-image-x86_64 05:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:21 prd-ubuntu20.04-docker-8c-8g-36262 does not seem to be running inside a container 05:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-601 -v /w/workspace/xfoundry_device-modbus-go_PR-601:/w/workspace/xfoundry_device-modbus-go_PR-601:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-601@tmp:/w/workspace/xfoundry_device-modbus-go_PR-601@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:54:21 $ docker top 6079c242e45cb2a307e71298d2fa8f45e68a616150ca1b55ff4e1726e9d163d4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:22 + go version 05:54:22 go version go1.23.4 linux/amd64 [Pipeline] } 05:54:22 $ docker stop --time=1 6079c242e45cb2a307e71298d2fa8f45e68a616150ca1b55ff4e1726e9d163d4 05:54:23 $ docker rm -f --volumes 6079c242e45cb2a307e71298d2fa8f45e68a616150ca1b55ff4e1726e9d163d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:24 + docker inspect -f . ci-base-image-x86_64 05:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:54:24 prd-ubuntu20.04-docker-8c-8g-36262 does not seem to be running inside a container 05:54:24 $ 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-601 -v /w/workspace/xfoundry_device-modbus-go_PR-601:/w/workspace/xfoundry_device-modbus-go_PR-601:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-601@tmp:/w/workspace/xfoundry_device-modbus-go_PR-601@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:54:24 $ docker top f395dba622771ab6976ec876013cf3192da853c0c358c4d613d61d0a5b04d9e5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:25 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-601 [Pipeline] fileExists [Pipeline] sh 05:54:25 + make test 05:54:25 go test ./... -coverprofile=coverage.out 05:54:27 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:54:45 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:54:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 05:54:57 go vet ./... 05:55:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:55:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:55:00 ./bin/test-attribution-txt.sh [Pipeline] echo 05:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:55:01 $ docker stop --time=1 f395dba622771ab6976ec876013cf3192da853c0c358c4d613d61d0a5b04d9e5 05:55:04 $ docker rm -f --volumes f395dba622771ab6976ec876013cf3192da853c0c358c4d613d61d0a5b04d9e5 [Pipeline] // withDockerContainer [Pipeline] sh 05:55:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:55:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:06 + ls -al . 05:55:06 total 260 05:55:06 drwxrwxr-x 9 jenkins jenkins 4096 Jan 7 05:54 . 05:55:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 7 05:52 .. 05:55:06 -rw-rw-r-- 1 jenkins jenkins 140 Jan 7 05:52 .dockerignore 05:55:06 drwxrwxr-x 8 jenkins jenkins 4096 Jan 7 05:54 .git 05:55:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 05:52 .github 05:55:06 -rw-rw-r-- 1 jenkins jenkins 266 Jan 7 05:52 .gitignore 05:55:06 -rw-rw-r-- 1 jenkins jenkins 199 Jan 7 05:52 .golangci.yml 05:55:06 drwxr-xr-x 3 jenkins jenkins 4096 Jan 7 05:53 .semver 05:55:06 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 7 05:52 Attribution.txt 05:55:06 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 7 05:52 CHANGELOG.md 05:55:06 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 7 05:52 Dockerfile 05:55:06 -rw-rw-r-- 1 jenkins jenkins 677 Jan 7 05:52 GOVERNANCE.md 05:55:06 -rw-rw-r-- 1 jenkins jenkins 658 Jan 7 05:52 Jenkinsfile 05:55:06 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 7 05:52 LICENSE 05:55:06 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 7 05:52 Makefile 05:55:06 -rw-rw-r-- 1 jenkins jenkins 622 Jan 7 05:52 OWNERS.md 05:55:06 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 7 05:52 README.md 05:55:06 -rw-rw-r-- 1 jenkins jenkins 5 Jan 7 05:53 VERSION 05:55:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 05:52 bin 05:55:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 05:52 cmd 05:55:06 -rw-r--r-- 1 jenkins jenkins 25464 Jan 7 05:54 coverage.out 05:55:06 -rw-rw-r-- 1 jenkins jenkins 6389 Jan 7 05:52 go.mod 05:55:06 -rw-rw-r-- 1 jenkins jenkins 87498 Jan 7 05:52 go.sum 05:55:06 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 05:52 internal 05:55:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 05:52 simulator 05:55:06 -rw-rw-r-- 1 jenkins jenkins 229 Jan 7 05:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:07 + 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=7e0507da57822344dff075801fe28eee98a64634 --label arch=amd64 --label version=0.0.0 . 05:55:07 Sending build context to Docker daemon 18.12MB 05:55:07 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:55:07 Step 2/23 : FROM ${BASE} AS builder 05:55:07 ---> 29d890bd4874 05:55:07 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:55:07 ---> Running in bb83bcad538d 05:55:07 Removing intermediate container bb83bcad538d 05:55:07 ---> c7d28d414a03 05:55:07 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:55:07 ---> Running in 90cfaedab0c5 05:55:07 Removing intermediate container 90cfaedab0c5 05:55:07 ---> 6c36c7ef3283 05:55:07 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:55:07 ---> Running in 2b2b0289e16f 05:55:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:55:08 OK: 253 MiB in 66 packages 05:55:08 Removing intermediate container 2b2b0289e16f 05:55:08 ---> 8de9ad143f8b 05:55:08 Step 6/23 : WORKDIR /device-modbus-go 05:55:08 ---> Running in 2a8a5c7903d9 05:55:08 Removing intermediate container 2a8a5c7903d9 05:55:08 ---> d8ff8034d1dc 05:55:08 Step 7/23 : COPY go.mod vendor* ./ 05:55:08 ---> 03ae85364b94 05:55:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:55:08 ---> Running in 94286708b95f 05:55:09 Removing intermediate container 94286708b95f 05:55:09 ---> 4a703d073d21 05:55:09 Step 9/23 : COPY . . 05:55:10 ---> 5fac6cadec2b 05:55:10 Step 10/23 : RUN ${MAKE} 05:55:10 ---> Running in 8a5c2f150733 05:55:10 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.12 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:55:36 Removing intermediate container 8a5c2f150733 05:55:36 ---> c00e2ee57d2d 05:55:36 Step 11/23 : FROM alpine:3.20 05:55:36 3.20: Pulling from library/alpine 05:55:36 63b69af3dc55: Pulling fs layer 05:55:37 63b69af3dc55: Verifying Checksum 05:55:37 63b69af3dc55: Download complete 05:55:37 63b69af3dc55: Pull complete 05:55:37 Digest: sha256:780405de0f7cf99f985dd5a4f04dfc5aae71509d89505c1ba48a88d95a0ceb7f 05:55:37 Status: Downloaded newer image for alpine:3.20 05:55:37 ---> dbf365b1c719 05:55:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:55:37 ---> Running in f225f01d5510 05:55:37 Removing intermediate container f225f01d5510 05:55:37 ---> 04740053d2a9 05:55:37 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:55:37 ---> Running in 39e5e9a4f68c 05:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:55:38 (1/1) Installing dumb-init (1.2.5-r3) 05:55:38 Executing busybox-1.36.1-r29.trigger 05:55:38 OK: 8 MiB in 15 packages 05:55:38 Removing intermediate container 39e5e9a4f68c 05:55:38 ---> d5ab74f4396a 05:55:38 Step 14/23 : RUN apk --no-cache upgrade 05:55:38 ---> Running in 043ffe1a6893 05:55:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:55:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:55:39 OK: 8 MiB in 15 packages 05:55:39 Removing intermediate container 043ffe1a6893 05:55:39 ---> 913f9f6f0a70 05:55:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:55:40 ---> 3a6dbacd9d2d 05:55:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:55:40 ---> 79decb81f792 05:55:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:55:40 ---> 26df795bf9fa 05:55:40 Step 18/23 : EXPOSE 59901 05:55:40 ---> Running in 7cf0a03562a1 05:55:40 Removing intermediate container 7cf0a03562a1 05:55:40 ---> 58790d25825c 05:55:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:55:40 ---> Running in c5d212c4cded 05:55:40 Removing intermediate container c5d212c4cded 05:55:40 ---> 4e6651568dec 05:55:40 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:55:40 ---> Running in 214dc8a5548c 05:55:40 Removing intermediate container 214dc8a5548c 05:55:40 ---> 49598fe8de15 05:55:40 Step 21/23 : LABEL arch=amd64 05:55:40 ---> Running in a3a19c8f7ead 05:55:40 Removing intermediate container a3a19c8f7ead 05:55:40 ---> 54ce18b501e1 05:55:40 Step 22/23 : LABEL git_sha=7e0507da57822344dff075801fe28eee98a64634 05:55:40 ---> Running in 34cd6e2486f7 05:55:40 Removing intermediate container 34cd6e2486f7 05:55:40 ---> 05ecbc0bfeb9 05:55:40 Step 23/23 : LABEL version=0.0.0 05:55:40 ---> Running in 3d5d9441f850 05:55:41 Removing intermediate container 3d5d9441f850 05:55:41 ---> 2ba8df6a1ea4 05:55:41 [Warning] One or more build-args [ARCH] were not consumed 05:55:41 Successfully built 2ba8df6a1ea4 05:55:41 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:55:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:42 05:55:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:42 latest: Pulling from edgex-lftools-log-publisher 05:55:42 5eb5b503b376: Pulling fs layer 05:55:42 5c69ac0246d0: Pulling fs layer 05:55:42 ec43610c2a17: Pulling fs layer 05:55:42 3a2ae6a8a46f: Pulling fs layer 05:55:42 33b1e0a273af: Pulling fs layer 05:55:42 5d3b04190fa2: Pulling fs layer 05:55:42 2f39f015ded8: Pulling fs layer 05:55:42 5d3b04190fa2: Waiting 05:55:42 2f39f015ded8: Waiting 05:55:42 33b1e0a273af: Waiting 05:55:42 3a2ae6a8a46f: Waiting 05:55:42 5c69ac0246d0: Download complete 05:55:42 3a2ae6a8a46f: Verifying Checksum 05:55:42 3a2ae6a8a46f: Download complete 05:55:42 33b1e0a273af: Verifying Checksum 05:55:42 33b1e0a273af: Download complete 05:55:42 5d3b04190fa2: Download complete 05:55:42 ec43610c2a17: Verifying Checksum 05:55:42 ec43610c2a17: Download complete 05:55:42 5eb5b503b376: Verifying Checksum 05:55:42 5eb5b503b376: Download complete 05:55:43 2f39f015ded8: Download complete 05:55:43 5eb5b503b376: Pull complete 05:55:43 5c69ac0246d0: Pull complete 05:55:44 ec43610c2a17: Pull complete 05:55:44 3a2ae6a8a46f: Pull complete 05:55:44 33b1e0a273af: Pull complete 05:55:44 5d3b04190fa2: Pull complete 05:55:48 2f39f015ded8: Pull complete 05:55:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:49 prd-ubuntu20.04-docker-8c-8g-36262 does not seem to be running inside a container 05:55:49 $ 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-601 -v /w/workspace/xfoundry_device-modbus-go_PR-601:/w/workspace/xfoundry_device-modbus-go_PR-601:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-601@tmp:/w/workspace/xfoundry_device-modbus-go_PR-601@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:55:51 $ docker top 2a8d0e1468a4419eb60f328da79fab6f90d26abd4975235a76400ed157ba5f20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:51 ---> job-cost.sh 05:55:51 lf-activate-venv: SKIPPING 05:55:51 INFO: No Stack... 05:55:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:55:52 INFO: Archiving Costs [Pipeline] sh 05:55:53 + cat /w/workspace/xfoundry_device-modbus-go_PR-601/archives/cost.csv 05:55:53 + cut -d, -f6 [Pipeline] lock 05:55:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-601-1-stack-cost] 05:55:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-601-1-stack-cost] did not exist. Created. 05:55:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:53 + echo total: 0.2199999988079071 [Pipeline] stash 05:55:53 Stashed 1 file(s) [Pipeline] } 05:55:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-601-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:55:53 $ docker stop --time=1 2a8d0e1468a4419eb60f328da79fab6f90d26abd4975235a76400ed157ba5f20 05:55:54 $ docker rm -f --volumes 2a8d0e1468a4419eb60f328da79fab6f90d26abd4975235a76400ed157ba5f20 [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:55:55 provisioning config files... 05:55:55 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-601@tmp/config5202084396050321392tmp [Pipeline] { [Pipeline] sh 05:55:56 + set +x 05:55:56 + curl -s https://codecov.io/bash 05:55:56 + bash -s -- 05:55:56 05:55:56 _____ _ 05:55:56 / ____| | | 05:55:56 | | ___ __| | ___ ___ _____ __ 05:55:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:55:56 | |___| (_) | (_| | __/ (_| (_) \ V / 05:55:56 \_____\___/ \__,_|\___|\___\___/ \_/ 05:55:56 Bash-1.0.6 05:55:56 05:55:56 05:55:56 [0;36m==>[0m git version 2.25.1 found 05:55:56 [0;36m==>[0m 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:55:56 Release-Date: 2020-01-08 05:55:56 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:55:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:55:56 [0;90m==>[0m Jenkins CI detected. 05:55:56 [0;90mcurrent dir: [0m /w/workspace/xfoundry_device-modbus-go_PR-601 05:55:56 [0;90mproject root:[0m . 05:55:56 [0;90m-->[0m token set from env 05:55:56 [0;32mYaml not found, that's ok! Learn more at[0m [0;36mhttp://docs.codecov.io/docs/codecov-yaml[0m 05:55:56 [0;90m==>[0m Running gcov in . [0;90m(disable via -X gcov)[0m 05:55:56 [0;90m==>[0m Python coveragepy not found 05:55:56 [0;90m==>[0m Searching for coverage reports in: 05:55:56 [0;32m+[0m . 05:55:56 [0;90m->[0m Found 1 reports 05:55:56 [0;90m==>[0m Detecting git/mercurial file structure 05:55:56 [0;90m==>[0m Reading reports 05:55:56 [0;32m+[0m ./coverage.out [0;90mbytes=25464[0m 05:55:56 [0;90m==>[0m Appending adjustments 05:55:56 [0;36mhttps://docs.codecov.io/docs/fixing-reports[0m 05:55:56 [0;32m+[0m Found adjustments 05:55:56 [0;90m==>[0m Gzipping contents 05:55:56 4.0K /tmp/codecov.Udro6a.gz 05:55:56 [0;90m==>[0m Uploading reports 05:55:56 [0;90murl:[0m https://codecov.io 05:55:56 [0;90mquery:[0m branch=PR-601&commit=7e0507da57822344dff075801fe28eee98a64634&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-601%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=601&job=&cmd_args= 05:55:56 [0;90m->[0m Pinging Codecov 05:55:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=****&branch=PR-601&commit=7e0507da57822344dff075801fe28eee98a64634&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-601%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=601&job=&cmd_args= 05:55:58 [0;90m->[0m Uploading to 05:55:58 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/7e0507da57822344dff075801fe28eee98a64634/f6821583-5879-4227-8725-1d816754f33d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250107T055558Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=595b87fcb1c188ef59897477ce5d8fddfde5dc2b855718ec606500edb6cedb9d 05:55:58 % Total % Received % Xferd Average Speed Time Time Time Current 05:55:58 Dload Upload Total Spent Left Speed 05:55:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 12602 --:--:-- --:--:-- --:--:-- 12602 05:55:58 [0;32m->[0m Reports have been successfully queued for processing at [0;36mupstream connect error or disconnect/reset before headers. reset reason: connection terminationhttps://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7e0507da57822344dff075801fe28eee98a64634[0m [Pipeline] } 05:55:58 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:56:00 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-601/archives ] 05:56:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-601/archives 05:56:00 total 16 05:56:00 drwxr-xr-x 3 root root 4096 Jan 7 05:55 . 05:56:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 7 05:55 .. 05:56:00 drwxr-xr-x 2 root root 4096 Jan 7 05:55 cost 05:56:00 -rw-r--r-- 1 root root 88 Jan 7 05:55 cost.csv 05:56:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-601/archives 05:56:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-601/archives 05:56:00 total 16 05:56:00 drwxr-xr-x 3 jenkins jenkins 4096 Jan 7 05:55 . 05:56:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 7 05:55 .. 05:56:00 drwxr-xr-x 2 jenkins jenkins 4096 Jan 7 05:55 cost 05:56:00 -rw-r--r-- 1 jenkins jenkins 88 Jan 7 05:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:56:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:56:02 ---> package-listing.sh 05:56:02 ++ facter osfamily 05:56:02 ++ tr '[:upper:]' '[:lower:]' 05:56:02 + OS_FAMILY=debian 05:56:02 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-601 05:56:02 + START_PACKAGES=/tmp/packages_start.txt 05:56:02 + END_PACKAGES=/tmp/packages_end.txt 05:56:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:56:02 + PACKAGES=/tmp/packages_start.txt 05:56:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-601 ']' 05:56:02 + PACKAGES=/tmp/packages_end.txt 05:56:02 + case "${OS_FAMILY}" in 05:56:02 + dpkg -l 05:56:02 + grep '^ii' 05:56:02 + '[' -f /tmp/packages_start.txt ']' 05:56:02 + '[' -f /tmp/packages_end.txt ']' 05:56:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:56:02 + '[' /w/workspace/xfoundry_device-modbus-go_PR-601 ']' 05:56:02 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-601/archives/ 05:56:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-601/archives/ [Pipeline] echo 05:56:02 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-601/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:56:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:03 prd-ubuntu20.04-docker-8c-8g-36262 does not seem to be running inside a container 05:56:03 $ 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-601/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-601 -v /w/workspace/xfoundry_device-modbus-go_PR-601:/w/workspace/xfoundry_device-modbus-go_PR-601:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-601@tmp:/w/workspace/xfoundry_device-modbus-go_PR-601@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:56:03 $ docker top 519fe05206eac38528576853b519ab0d8fa85ec40bf80c54c57238b661037a01 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:04 + touch /tmp/pre-build-complete [Pipeline] sh 05:56:04 + mkdir -p /var/log/sysstat [Pipeline] sh 05:56:04 + ls /var/log/sa-host 05:56:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:05 provisioning config files... 05:56:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-601@tmp/config2678160254077000619tmp [Pipeline] { [Pipeline] echo 05:56:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:56:05 ---> create-netrc.sh [Pipeline] } 05:56:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:56:05 ---> python-tools-install.sh [Pipeline] echo 05:56:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:56:06 ---> sudo-logs.sh 05:56:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:56:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:56:06 ---> job-cost.sh 05:56:06 lf-activate-venv: SKIPPING 05:56:06 DEBUG: total: 0.2199999988079071 05:56:06 INFO: Retrieving Stack Cost... 05:56:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:06 INFO: Archiving Costs [Pipeline] echo 05:56:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:56:07 ---> logs-deploy.sh 05:56:07 lf-activate-venv: SKIPPING 05:56:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-601/1 05:56:07 INFO: archiving workspace using pattern(s): 05:56:08 Archives upload complete. 05:56:08 INFO: archiving logs to Nexus 05:56:09 ---> uname -a: 05:56:09 Linux prd-ubuntu20-04-docker-8c-8g-36262 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:56:09 05:56:09 05:56:09 ---> lscpu: 05:56:09 Architecture: x86_64 05:56:09 CPU op-mode(s): 32-bit, 64-bit 05:56:09 Byte Order: Little Endian 05:56:09 Address sizes: 40 bits physical, 48 bits virtual 05:56:09 CPU(s): 8 05:56:09 On-line CPU(s) list: 0-7 05:56:09 Thread(s) per core: 1 05:56:09 Core(s) per socket: 1 05:56:09 Socket(s): 8 05:56:09 NUMA node(s): 1 05:56:09 Vendor ID: AuthenticAMD 05:56:09 CPU family: 23 05:56:09 Model: 49 05:56:09 Model name: AMD EPYC-Rome Processor 05:56:09 Stepping: 0 05:56:09 CPU MHz: 2799.998 05:56:09 BogoMIPS: 5599.99 05:56:09 Virtualization: AMD-V 05:56:09 Hypervisor vendor: KVM 05:56:09 Virtualization type: full 05:56:09 L1d cache: 256 KiB 05:56:09 L1i cache: 256 KiB 05:56:09 L2 cache: 4 MiB 05:56:09 L3 cache: 128 MiB 05:56:09 NUMA node0 CPU(s): 0-7 05:56:09 Vulnerability Itlb multihit: Not affected 05:56:09 Vulnerability L1tf: Not affected 05:56:09 Vulnerability Mds: Not affected 05:56:09 Vulnerability Meltdown: Not affected 05:56:09 Vulnerability Mmio stale data: Not affected 05:56:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:56:09 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:56:09 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:56:09 Vulnerability Srbds: Not affected 05:56:09 Vulnerability Tsx async abort: Not affected 05:56:09 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:56:09 05:56:09 05:56:09 ---> nproc: 05:56:09 8 05:56:09 05:56:09 05:56:09 ---> df -h: 05:56:09 Filesystem Size Used Avail Use% Mounted on 05:56:09 overlay 155G 12G 144G 8% / 05:56:09 tmpfs 64M 0 64M 0% /dev 05:56:09 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:56:09 shm 64M 0 64M 0% /dev/shm 05:56:09 /dev/vda1 155G 12G 144G 8% /facter-os 05:56:09 05:56:09 05:56:09 ---> sar -b -r -n DEV: 05:56:09 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36262) 01/07/25 _x86_64_ (8 CPU) 05:56:09 05:56:09 05:52:05 LINUX RESTART (8 CPU) 05:56:09 05:56:09 05:53:00 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:56:09 05:54:01 225.55 4.65 220.90 0.00 408.06 84801.84 0.00 05:56:09 05:55:01 139.59 0.08 139.51 0.00 7.73 45101.02 0.00 05:56:09 05:56:01 195.85 0.33 195.52 0.00 20.80 59537.41 0.00 05:56:09 Average: 187.21 1.71 185.51 0.00 146.98 63266.38 0.00 05:56:09 05:56:09 05:53:00 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:56:09 05:54:01 27350252 31498824 806468 2.45 164240 4080512 2069072 6.10 1342764 3610952 601124 05:56:09 05:55:01 27516968 31537940 757756 2.30 188572 3919276 1972208 5.81 1315076 3453856 278168 05:56:09 05:56:01 27003172 31546948 751304 2.28 198996 4414848 1794240 5.29 1355352 3911576 452 05:56:09 Average: 27290131 31527904 771843 2.35 183936 4138212 1945173 5.73 1337731 3658795 293248 05:56:09 05:56:09 05:53:00 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:56:09 05:54:01 ens3 619.65 397.59 6604.43 50.01 0.00 0.00 0.00 0.00 05:56:09 05:54:01 lo 2.69 2.69 0.27 0.27 0.00 0.00 0.00 0.00 05:56:09 05:54:01 docker0 319.11 483.92 27.20 3392.75 0.00 0.00 0.00 0.00 05:56:09 05:55:01 ens3 30.59 16.88 28.99 11.73 0.00 0.00 0.00 0.00 05:56:09 05:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:56:09 05:55:01 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 05:56:09 05:55:01 vethb5b121a 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 05:56:09 05:56:01 ens3 130.73 79.20 2726.07 22.07 0.00 0.00 0.00 0.00 05:56:09 05:56:01 lo 2.20 2.20 0.22 0.22 0.00 0.00 0.00 0.00 05:56:09 05:56:01 docker0 5.03 10.00 0.30 114.96 0.00 0.00 0.00 0.00 05:56:09 Average: ens3 262.31 165.85 3139.08 28.06 0.00 0.00 0.00 0.00 05:56:09 Average: lo 1.70 1.70 0.17 0.17 0.00 0.00 0.00 0.00 05:56:09 Average: docker0 109.21 166.43 9.27 1181.52 0.00 0.00 0.00 0.00 05:56:09 05:56:09 05:56:09 ---> sar -P ALL: 05:56:09 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36262) 01/07/25 _x86_64_ (8 CPU) 05:56:09 05:56:09 05:52:05 LINUX RESTART (8 CPU) 05:56:09 05:56:09 05:53:00 CPU %user %nice %system %iowait %steal %idle 05:56:09 05:54:01 all 8.02 0.00 3.55 3.36 0.05 85.02 05:56:09 05:54:01 0 9.00 0.00 2.49 2.42 0.03 86.06 05:56:09 05:54:01 1 8.03 0.00 3.83 0.60 0.05 87.50 05:56:09 05:54:01 2 8.03 0.00 4.42 13.30 0.05 74.21 05:56:09 05:54:01 3 8.41 0.00 2.95 0.81 0.05 87.79 05:56:09 05:54:01 4 7.33 0.00 3.73 6.24 0.07 82.64 05:56:09 05:54:01 5 7.60 0.00 3.69 1.59 0.07 87.05 05:56:09 05:54:01 6 8.02 0.00 3.59 0.94 0.05 87.40 05:56:09 05:54:01 7 7.72 0.00 3.70 1.06 0.07 87.46 05:56:09 05:55:01 all 40.77 0.00 6.74 2.88 0.09 49.51 05:56:09 05:55:01 0 42.03 0.00 5.87 0.52 0.10 51.49 05:56:09 05:55:01 1 40.62 0.00 6.51 1.28 0.10 51.49 05:56:09 05:55:01 2 40.97 0.00 7.45 14.38 0.10 37.10 05:56:09 05:55:01 3 40.93 0.00 7.59 1.14 0.08 50.25 05:56:09 05:55:01 4 40.16 0.00 6.15 2.45 0.08 51.15 05:56:09 05:55:01 5 40.95 0.00 7.22 0.57 0.10 51.16 05:56:09 05:55:01 6 40.05 0.00 6.92 0.82 0.10 52.10 05:56:09 05:55:01 7 40.42 0.00 6.23 1.97 0.08 51.30 05:56:09 05:56:01 all 23.75 0.00 4.92 2.04 0.06 69.24 05:56:09 05:56:01 0 25.01 0.00 4.71 0.72 0.05 69.51 05:56:09 05:56:01 1 24.67 0.00 4.89 0.15 0.08 70.20 05:56:09 05:56:01 2 22.26 0.00 4.44 5.18 0.05 68.07 05:56:09 05:56:01 3 24.39 0.00 4.84 0.17 0.07 70.53 05:56:09 05:56:01 4 23.88 0.00 5.72 0.17 0.07 70.16 05:56:09 05:56:01 5 22.72 0.00 4.92 0.25 0.05 72.06 05:56:09 05:56:01 6 23.56 0.00 5.04 5.64 0.05 65.71 05:56:09 05:56:01 7 23.53 0.00 4.79 4.01 0.05 67.62 05:56:09 Average: all 24.09 0.00 5.06 2.76 0.07 68.01 05:56:09 Average: 0 25.23 0.00 4.34 1.23 0.06 69.14 05:56:09 Average: 1 24.37 0.00 5.07 0.67 0.08 69.81 05:56:09 Average: 2 23.66 0.00 5.43 10.96 0.07 59.88 05:56:09 Average: 3 24.49 0.00 5.12 0.71 0.07 69.62 05:56:09 Average: 4 23.72 0.00 5.19 2.97 0.07 68.04 05:56:09 Average: 5 23.68 0.00 5.27 0.81 0.07 70.17 05:56:09 Average: 6 23.79 0.00 5.17 2.46 0.07 68.52 05:56:09 Average: 7 23.81 0.00 4.90 2.34 0.07 68.89 05:56:09 05:56:09 05:56:09