Pull request #635 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0d308c5484495c747ea85c78747bb969abaf894f+2f15f281678cccf9a75033b18da75fe627dd9e87 (7be9454c52ba5996ef6e88f217a9c41924de2288) 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-ssh9722316544893318173.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh9536652161646702453.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-635/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-635/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17856372730368704488.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-635/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11746220447180491788.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh11569067285103070531.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-635/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-635/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12428905468020956419.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-2697 in /w/workspace/xfoundry_device-modbus-go_PR-635 [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-635 # 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 Merging remotes/origin/main commit 2f15f281678cccf9a75033b18da75fe627dd9e87 into PR head commit 0d308c5484495c747ea85c78747bb969abaf894f Merge succeeded, producing 0d308c5484495c747ea85c78747bb969abaf894f Checking out Revision 0d308c5484495c747ea85c78747bb969abaf894f (PR-635) > 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/635/head:refs/remotes/origin/PR-635 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d308c5484495c747ea85c78747bb969abaf894f # 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 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d308c5484495c747ea85c78747bb969abaf894f # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.9.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:57 ========================================================= 05:50:57 EdgeX Global Pipelines Version Info 05:50:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:58 ------------------- 05:50:58 stable info: 05:50:58 ------------------- 05:50:58 Commited By: Ginny Guan ginny@iotechsys.com 05:50:58 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 05:50:58 Message: update stable to v1.0.274 05:50:58 ------------------- 05:50:58 experimental info: 05:50:58 ------------------- 05:50:58 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:58 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 05:50:58 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:50:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:50:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-635 [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-635 [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-635 [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d308c5484495c747ea85c78747bb969abaf894f [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d308c5 [Pipeline] echo 05:51:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:00 provisioning config files... 05:51:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-635@tmp/config7338776034275222156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:01 ---> ****-login.sh 05:51:01 nexus3.edgexfoundry.org:10001 05:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:01 Configure a credential helper to remove this warning. See 05:51:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:01 05:51:01 Login Succeeded 05:51:01 nexus3.edgexfoundry.org:10002 05:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:01 Configure a credential helper to remove this warning. See 05:51:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:01 05:51:01 Login Succeeded 05:51:01 nexus3.edgexfoundry.org:10003 05:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:01 Configure a credential helper to remove this warning. See 05:51:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:01 05:51:01 Login Succeeded 05:51:01 nexus3.edgexfoundry.org:10004 05:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:01 Configure a credential helper to remove this warning. See 05:51:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:01 05:51:01 Login Succeeded 05:51:01 ****.io 05:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:02 Configure a credential helper to remove this warning. See 05:51:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:02 05:51:02 Login Succeeded 05:51:02 ---> ****-login.sh ends [Pipeline] } 05:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:51:02 + git rev-list -1 --merges 0d308c5484495c747ea85c78747bb969abaf894f~1..0d308c5484495c747ea85c78747bb969abaf894f [Pipeline] echo 05:51:02 -----------> git rev-list -1 --merges 0d308c5484495c747ea85c78747bb969abaf894f~1..0d308c5484495c747ea85c78747bb969abaf894f 0d308c5484495c747ea85c78747bb969abaf894f [false] [Pipeline] sh 05:51:03 + git log --format=format:%s -1 0d308c5484495c747ea85c78747bb969abaf894f [Pipeline] echo 05:51:03 ========================================================= 05:51:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:51:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:03 + git log --format=format:%s -1 0d308c5484495c747ea85c78747bb969abaf894f [Pipeline] echo 05:51:03 [semverPrep] GIT_COMMIT: 0d308c5484495c747ea85c78747bb969abaf894f, Commit Message: build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.9.2 [Pipeline] echo 05:51:03 [semverPrep] This is not a build commit. [Pipeline] sh 05:51:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:51:04 + grep -v github /etc/ssh/ssh_known_hosts 05:51:04 + [ -e /tmp/ssh_known_hosts ] 05:51:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:51:04 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 05:51:04 -a /etc/ssh/ssh_known_hosts 05:51:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:04 05:51:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:05 0.1.4: Pulling from edgex-devops/py-git-semver 05:51:05 3dae71ba6b94: Pulling fs layer 05:51:05 6bf1a483ea7c: Pulling fs layer 05:51:05 f5dfc541a4d3: Pulling fs layer 05:51:05 461d9e800cba: Pulling fs layer 05:51:05 80192f66455f: Pulling fs layer 05:51:05 2e8e34ca0e6c: Pulling fs layer 05:51:05 a29436f7fd5d: Pulling fs layer 05:51:05 923cac83aea3: Pulling fs layer 05:51:05 25ad8b0a4227: Pulling fs layer 05:51:05 db01528c6b51: Pulling fs layer 05:51:05 28988de357af: Pulling fs layer 05:51:05 461d9e800cba: Waiting 05:51:05 80192f66455f: Waiting 05:51:05 2e8e34ca0e6c: Waiting 05:51:05 a29436f7fd5d: Waiting 05:51:05 923cac83aea3: Waiting 05:51:05 25ad8b0a4227: Waiting 05:51:05 db01528c6b51: Waiting 05:51:05 28988de357af: Waiting 05:51:05 6bf1a483ea7c: Verifying Checksum 05:51:05 6bf1a483ea7c: Download complete 05:51:05 461d9e800cba: Download complete 05:51:05 80192f66455f: Verifying Checksum 05:51:05 80192f66455f: Download complete 05:51:05 f5dfc541a4d3: Verifying Checksum 05:51:05 f5dfc541a4d3: Download complete 05:51:05 3dae71ba6b94: Verifying Checksum 05:51:05 3dae71ba6b94: Download complete 05:51:05 923cac83aea3: Download complete 05:51:05 25ad8b0a4227: Verifying Checksum 05:51:05 25ad8b0a4227: Download complete 05:51:05 db01528c6b51: Verifying Checksum 05:51:05 db01528c6b51: Download complete 05:51:05 28988de357af: Verifying Checksum 05:51:05 28988de357af: Download complete 05:51:05 a29436f7fd5d: Verifying Checksum 05:51:05 a29436f7fd5d: Download complete 05:51:06 2e8e34ca0e6c: Verifying Checksum 05:51:06 2e8e34ca0e6c: Download complete 05:51:06 3dae71ba6b94: Pull complete 05:51:06 6bf1a483ea7c: Pull complete 05:51:07 f5dfc541a4d3: Pull complete 05:51:07 461d9e800cba: Pull complete 05:51:07 80192f66455f: Pull complete 05:51:10 2e8e34ca0e6c: Pull complete 05:51:10 a29436f7fd5d: Pull complete 05:51:10 923cac83aea3: Pull complete 05:51:10 25ad8b0a4227: Pull complete 05:51:10 db01528c6b51: Pull complete 05:51:11 28988de357af: Pull complete 05:51:11 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:11 prd-ubuntu20.04-docker-8c-8g-2697 does not seem to be running inside a container 05:51:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-635 -v /w/workspace/xfoundry_device-modbus-go_PR-635:/w/workspace/xfoundry_device-modbus-go_PR-635:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-635@tmp:/w/workspace/xfoundry_device-modbus-go_PR-635@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:51:13 $ docker top a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff -eo pid,comm 05:51:13 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:51:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:13 [ssh-agent] Looking for ssh-agent implementation... 05:51:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:14 $ docker exec a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff ssh-agent 05:51:14 SSH_AUTH_SOCK=/tmp/ssh-wZ6XQra0H5wM/agent.31 05:51:14 SSH_AGENT_PID=37 05:51:14 Running ssh-add (command line suppressed) 05:51:14 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-635@tmp/private_key_12227604411121369764.key (/w/workspace/xfoundry_device-modbus-go_PR-635@tmp/private_key_12227604411121369764.key) 05:51:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:14 + git tag --points-at HEAD [Pipeline] } 05:51:14 $ docker exec --env ******** --env ******** a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff ssh-agent -k 05:51:14 unset SSH_AUTH_SOCK; 05:51:14 unset SSH_AGENT_PID; 05:51:14 echo Agent pid 37 killed; 05:51:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:51:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:14 [ssh-agent] Looking for ssh-agent implementation... 05:51:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:14 $ docker exec a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff ssh-agent 05:51:15 SSH_AUTH_SOCK=/tmp/ssh-sj4Mf0EiTK9o/agent.71 05:51:15 SSH_AGENT_PID=77 05:51:15 Running ssh-add (command line suppressed) 05:51:15 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-635@tmp/private_key_16141859756900550911.key (/w/workspace/xfoundry_device-modbus-go_PR-635@tmp/private_key_16141859756900550911.key) 05:51:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:15 + git semver init 05:51:15 2025-06-03 05:51:15,730 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:51:15 2025-06-03 05:51:15,735 [run_init] DEBUG init version:0.0.0 force:False 05:51:15 2025-06-03 05:51:15,736 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-635/.semver 05:51:15 2025-06-03 05:51:15,736 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-635/.semver 05:51:15 2025-06-03 05:51:15,736 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-635/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-635, stdin=None, shell=False, universal_newlines=False) 05:51:17 2025-06-03 05:51:16,958 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-635/.git/info/exclude 05:51:17 2025-06-03 05:51:16,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-635/.semver/PR-635 with force:False 05:51:17 2025-06-03 05:51:16,958 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-635/.semver/PR-635 05:51:17 2025-06-03 05:51:16,960 [execute] INFO git cat-file --batch-check 05:51:17 2025-06-03 05:51:16,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-635/.semver, stdin=, shell=False, universal_newlines=False) 05:51:17 2025-06-03 05:51:16,964 [execute] INFO git cat-file --batch 05:51:17 2025-06-03 05:51:16,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-635/.semver, stdin=, shell=False, universal_newlines=False) 05:51:17 2025-06-03 05:51:16,967 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-635/.semver/PR-635 05:51:17 0.0.0 [Pipeline] } 05:51:17 $ docker exec --env ******** --env ******** a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff ssh-agent -k 05:51:17 unset SSH_AUTH_SOCK; 05:51:17 unset SSH_AGENT_PID; 05:51:17 echo Agent pid 77 killed; 05:51:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:17 + git semver [Pipeline] } 05:51:18 $ docker stop --time=1 a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff 05:51:19 $ docker rm -f --volumes a4412424708f06301623fbeaa10592c8dcf15d2a613f2500c66d7f2d772348ff [Pipeline] // withDockerContainer [Pipeline] sh 05:51:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:20 Stashed 1 file(s) [Pipeline] echo 05:51:20 [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:51:21 provisioning config files... 05:51:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-635@tmp/config3953048356283575463tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:51:21 ---> ****-login.sh 05:51:21 nexus3.edgexfoundry.org:10001 05:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:21 Configure a credential helper to remove this warning. See 05:51:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:21 05:51:21 Login Succeeded 05:51:21 nexus3.edgexfoundry.org:10002 05:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:21 Configure a credential helper to remove this warning. See 05:51:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:21 05:51:21 Login Succeeded 05:51:21 nexus3.edgexfoundry.org:10003 05:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:21 Configure a credential helper to remove this warning. See 05:51:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:21 05:51:21 Login Succeeded 05:51:21 nexus3.edgexfoundry.org:10004 05:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:21 Configure a credential helper to remove this warning. See 05:51:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:21 05:51:21 Login Succeeded 05:51:21 ****.io 05:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:51:22 Configure a credential helper to remove this warning. See 05:51:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:51:22 05:51:22 Login Succeeded 05:51:22 ---> ****-login.sh ends [Pipeline] } 05:51:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:51:22 ========================================================= 05:51:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:51:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:22 + 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:51:22 Sending build context to Docker daemon 28MB 05:51:22 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:51:22 Step 2/10 : FROM ${BASE} AS builder 05:51:22 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:51:23 0a9a5dfd008f: Pulling fs layer 05:51:23 dbfa0bcfca99: Pulling fs layer 05:51:23 70eabb1d9476: Pulling fs layer 05:51:23 957bedc73fa3: Pulling fs layer 05:51:23 4f4fb700ef54: Pulling fs layer 05:51:23 f40432e63723: Pulling fs layer 05:51:23 90b4343acab7: Pulling fs layer 05:51:23 9f67ea4ac784: Pulling fs layer 05:51:23 9228b9a606be: Pulling fs layer 05:51:23 957bedc73fa3: Waiting 05:51:23 4f4fb700ef54: Waiting 05:51:23 f40432e63723: Waiting 05:51:23 9228b9a606be: Waiting 05:51:23 90b4343acab7: Waiting 05:51:23 dbfa0bcfca99: Verifying Checksum 05:51:23 dbfa0bcfca99: Download complete 05:51:23 957bedc73fa3: Verifying Checksum 05:51:23 957bedc73fa3: Download complete 05:51:23 4f4fb700ef54: Verifying Checksum 05:51:23 4f4fb700ef54: Download complete 05:51:23 f40432e63723: Verifying Checksum 05:51:23 f40432e63723: Download complete 05:51:23 0a9a5dfd008f: Download complete 05:51:23 90b4343acab7: Verifying Checksum 05:51:23 90b4343acab7: Download complete 05:51:23 0a9a5dfd008f: Pull complete 05:51:23 9228b9a606be: Verifying Checksum 05:51:23 9228b9a606be: Download complete 05:51:23 dbfa0bcfca99: Pull complete 05:51:23 70eabb1d9476: Download complete 05:51:23 9f67ea4ac784: Verifying Checksum 05:51:23 9f67ea4ac784: Download complete 05:51:27 70eabb1d9476: Pull complete 05:51:27 957bedc73fa3: Pull complete 05:51:27 4f4fb700ef54: Pull complete 05:51:27 f40432e63723: Pull complete 05:51:27 90b4343acab7: Pull complete 05:51:29 9f67ea4ac784: Pull complete 05:51:29 9228b9a606be: Pull complete 05:51:29 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 05:51:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:51:29 ---> 69404ca5bff2 05:51:29 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:51:31 ---> Running in 0ed21903b96f 05:51:31 Removing intermediate container 0ed21903b96f 05:51:31 ---> f8e9e721ec88 05:51:31 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:51:31 ---> Running in 6a59f5361500 05:51:31 Removing intermediate container 6a59f5361500 05:51:31 ---> d5df688d6167 05:51:31 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:51:31 ---> Running in 3da4e2b6a85e 05:51:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:51:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:51:32 (1/8) Installing openssh-keygen (9.7_p1-r5) 05:51:32 (2/8) Installing libedit (20240517.3.1-r0) 05:51:32 (3/8) Installing openssh-client-common (9.7_p1-r5) 05:51:32 (4/8) Installing openssh-client-default (9.7_p1-r5) 05:51:32 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 05:51:32 (6/8) Installing openssh-server-common (9.7_p1-r5) 05:51:32 (7/8) Installing openssh-server (9.7_p1-r5) 05:51:32 (8/8) Installing openssh (9.7_p1-r5) 05:51:32 Executing busybox-1.36.1-r29.trigger 05:51:32 OK: 253 MiB in 66 packages 05:51:32 Removing intermediate container 3da4e2b6a85e 05:51:32 ---> b86291122718 05:51:32 Step 6/10 : WORKDIR /device-modbus-go 05:51:32 ---> Running in f50cdba79d0e 05:51:32 Removing intermediate container f50cdba79d0e 05:51:32 ---> 64c3614da3d5 05:51:32 Step 7/10 : COPY go.mod vendor* ./ 05:51:32 ---> 0a3a5cf8535a 05:51:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:32 ---> Running in ae5a9b83e728 05:52:11 Removing intermediate container ae5a9b83e728 05:52:11 ---> 306a7cdcdd62 05:52:11 Step 9/10 : COPY . . 05:52:11 ---> 6736809cc29b 05:52:11 Step 10/10 : RUN ${MAKE} 05:52:11 ---> Running in 1b9fc2e28f49 05:52:11 noop 05:52:11 Removing intermediate container 1b9fc2e28f49 05:52:11 ---> 532add21a45a 05:52:11 Successfully built 532add21a45a 05:52:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:12 + docker inspect -f . ci-base-image-x86_64 05:52:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:12 prd-ubuntu20.04-docker-8c-8g-2697 does not seem to be running inside a container 05:52:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-635 -v /w/workspace/xfoundry_device-modbus-go_PR-635:/w/workspace/xfoundry_device-modbus-go_PR-635:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-635@tmp:/w/workspace/xfoundry_device-modbus-go_PR-635@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 ******** ci-base-image-x86_64 cat 05:52:12 $ docker top aa485f8d76fad0cd05318fbdd261a0d768de0b0dcd54606cd9c6f18c931047be -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:13 + go version 05:52:13 go version go1.23.8 linux/amd64 [Pipeline] } 05:52:13 $ docker stop --time=1 aa485f8d76fad0cd05318fbdd261a0d768de0b0dcd54606cd9c6f18c931047be 05:52:14 $ docker rm -f --volumes aa485f8d76fad0cd05318fbdd261a0d768de0b0dcd54606cd9c6f18c931047be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:15 + docker inspect -f . ci-base-image-x86_64 05:52:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:15 prd-ubuntu20.04-docker-8c-8g-2697 does not seem to be running inside a container 05:52:15 $ 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-635 -v /w/workspace/xfoundry_device-modbus-go_PR-635:/w/workspace/xfoundry_device-modbus-go_PR-635:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-635@tmp:/w/workspace/xfoundry_device-modbus-go_PR-635@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 ******** ci-base-image-x86_64 cat 05:52:15 $ docker top f736cd485260f7fd40bcd39c5321b6fd70b5c2f4e6847a23b191b52922ab182b -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:16 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-635 [Pipeline] fileExists [Pipeline] sh 05:52:16 + make test 05:52:16 go test ./... -coverprofile=coverage.out 05:52:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:52:35 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:52:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 45.2% of statements 05:52:43 go vet ./... 05:52:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:47 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:52:48 $ docker stop --time=1 f736cd485260f7fd40bcd39c5321b6fd70b5c2f4e6847a23b191b52922ab182b 05:52:50 $ docker rm -f --volumes f736cd485260f7fd40bcd39c5321b6fd70b5c2f4e6847a23b191b52922ab182b [Pipeline] // withDockerContainer [Pipeline] sh 05:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:52:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:52 + ls -al . 05:52:52 total 260 05:52:52 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 05:52 . 05:52:52 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 05:50 .. 05:52:52 -rw-rw-r-- 1 jenkins jenkins 140 Jun 3 05:50 .dockerignore 05:52:52 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 05:52 .git 05:52:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:50 .github 05:52:52 -rw-rw-r-- 1 jenkins jenkins 266 Jun 3 05:50 .gitignore 05:52:52 -rw-rw-r-- 1 jenkins jenkins 199 Jun 3 05:50 .golangci.yml 05:52:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 05:51 .semver 05:52:52 -rw-rw-r-- 1 jenkins jenkins 19818 Jun 3 05:50 Attribution.txt 05:52:52 -rw-rw-r-- 1 jenkins jenkins 18046 Jun 3 05:50 CHANGELOG.md 05:52:52 -rw-rw-r-- 1 jenkins jenkins 1479 Jun 3 05:50 Dockerfile 05:52:52 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 05:50 GOVERNANCE.md 05:52:52 -rw-rw-r-- 1 jenkins jenkins 658 Jun 3 05:50 Jenkinsfile 05:52:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 05:50 LICENSE 05:52:52 -rw-rw-r-- 1 jenkins jenkins 2524 Jun 3 05:50 Makefile 05:52:52 -rw-rw-r-- 1 jenkins jenkins 622 Jun 3 05:50 OWNERS.md 05:52:52 -rw-rw-r-- 1 jenkins jenkins 4463 Jun 3 05:50 README.md 05:52:52 -rw-rw-r-- 1 jenkins jenkins 5 Jun 3 05:51 VERSION 05:52:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:50 bin 05:52:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:50 cmd 05:52:52 -rw-r--r-- 1 jenkins jenkins 26862 Jun 3 05:52 coverage.out 05:52:52 -rw-rw-r-- 1 jenkins jenkins 6295 Jun 3 05:50 go.mod 05:52:52 -rw-rw-r-- 1 jenkins jenkins 86874 Jun 3 05:50 go.sum 05:52:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 05:50 internal 05:52:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 05:50 simulator 05:52:52 -rw-rw-r-- 1 jenkins jenkins 229 Jun 3 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:52 + 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=0d308c5484495c747ea85c78747bb969abaf894f --label arch=amd64 --label version=0.0.0 . 05:52:52 Sending build context to Docker daemon 28.02MB 05:52:52 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:52:52 Step 2/23 : FROM ${BASE} AS builder 05:52:52 ---> 532add21a45a 05:52:52 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:52:53 ---> Running in fa5ac436d477 05:52:53 Removing intermediate container fa5ac436d477 05:52:53 ---> 521813c6f6d3 05:52:53 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:52:53 ---> Running in 14407a51449b 05:52:53 Removing intermediate container 14407a51449b 05:52:53 ---> 59d39bbab76b 05:52:53 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:52:53 ---> Running in 707707aa60f7 05:52:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:52:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:52:53 OK: 253 MiB in 66 packages 05:52:54 Removing intermediate container 707707aa60f7 05:52:54 ---> 6ddb7e6eb2c6 05:52:54 Step 6/23 : WORKDIR /device-modbus-go 05:52:54 ---> Running in 0d6d3a6a3a25 05:52:54 Removing intermediate container 0d6d3a6a3a25 05:52:54 ---> 8c1ada1faf3f 05:52:54 Step 7/23 : COPY go.mod vendor* ./ 05:52:54 ---> 82b53949e2b0 05:52:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:54 ---> Running in 74b5f9c3d8aa 05:52:54 Removing intermediate container 74b5f9c3d8aa 05:52:54 ---> f56d66d4563e 05:52:54 Step 9/23 : COPY . . 05:52:55 ---> 04e7d4d5a9da 05:52:55 Step 10/23 : RUN ${MAKE} 05:52:55 ---> Running in 6cd575d6b97e 05:52:55 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 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:53:22 Removing intermediate container 6cd575d6b97e 05:53:22 ---> 62df0578aa8b 05:53:22 Step 11/23 : FROM alpine:3.20 05:53:22 3.20: Pulling from library/alpine 05:53:22 0a9a5dfd008f: Already exists 05:53:22 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:53:22 Status: Downloaded newer image for alpine:3.20 05:53:22 ---> ff221270b9fb 05:53:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:53:22 ---> Running in 07694279dd6a 05:53:22 Removing intermediate container 07694279dd6a 05:53:22 ---> c2d6ae4fed33 05:53:22 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:53:22 ---> Running in d375910bbad2 05:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:53:22 (1/1) Installing dumb-init (1.2.5-r3) 05:53:22 Executing busybox-1.36.1-r29.trigger 05:53:22 OK: 8 MiB in 15 packages 05:53:22 Removing intermediate container d375910bbad2 05:53:22 ---> 19f8ca3bd256 05:53:22 Step 14/23 : RUN apk --no-cache upgrade 05:53:22 ---> Running in bf12ea57c72d 05:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:53:22 OK: 8 MiB in 15 packages 05:53:23 Removing intermediate container bf12ea57c72d 05:53:23 ---> 70d27742ac7f 05:53:23 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:53:23 ---> 1ba6ad427ea3 05:53:23 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:53:23 ---> 38bd3e7f4767 05:53:23 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:53:23 ---> 4c7b1d5f6774 05:53:23 Step 18/23 : EXPOSE 59901 05:53:23 ---> Running in e34e0ef8e5a0 05:53:23 Removing intermediate container e34e0ef8e5a0 05:53:23 ---> d9bc7c149ca1 05:53:23 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:53:24 ---> Running in a436c103b57d 05:53:24 Removing intermediate container a436c103b57d 05:53:24 ---> 63e53730e49f 05:53:24 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:53:24 ---> Running in 23aff923bfd9 05:53:24 Removing intermediate container 23aff923bfd9 05:53:24 ---> a1864bcfc674 05:53:24 Step 21/23 : LABEL arch=amd64 05:53:24 ---> Running in c8265a963ba1 05:53:24 Removing intermediate container c8265a963ba1 05:53:24 ---> 5aabaf60fc44 05:53:24 Step 22/23 : LABEL git_sha=0d308c5484495c747ea85c78747bb969abaf894f 05:53:24 ---> Running in 04e977a05d6f 05:53:24 Removing intermediate container 04e977a05d6f 05:53:24 ---> b19e2453bd3f 05:53:24 Step 23/23 : LABEL version=0.0.0 05:53:24 ---> Running in 58f16f0f0ab7 05:53:24 Removing intermediate container 58f16f0f0ab7 05:53:24 ---> f2501af6bb03 05:53:24 [Warning] One or more build-args [ARCH] were not consumed 05:53:24 Successfully built f2501af6bb03 05:53:24 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:53:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:25 05:53:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:25 latest: Pulling from edgex-lftools-log-publisher 05:53:25 5eb5b503b376: Pulling fs layer 05:53:25 5c69ac0246d0: Pulling fs layer 05:53:25 ec43610c2a17: Pulling fs layer 05:53:25 3a2ae6a8a46f: Pulling fs layer 05:53:25 33b1e0a273af: Pulling fs layer 05:53:25 5d3b04190fa2: Pulling fs layer 05:53:25 2f39f015ded8: Pulling fs layer 05:53:25 3a2ae6a8a46f: Waiting 05:53:25 33b1e0a273af: Waiting 05:53:25 5d3b04190fa2: Waiting 05:53:25 2f39f015ded8: Waiting 05:53:25 5c69ac0246d0: Verifying Checksum 05:53:25 5c69ac0246d0: Download complete 05:53:25 3a2ae6a8a46f: Verifying Checksum 05:53:25 3a2ae6a8a46f: Download complete 05:53:25 ec43610c2a17: Verifying Checksum 05:53:25 ec43610c2a17: Download complete 05:53:25 33b1e0a273af: Verifying Checksum 05:53:25 33b1e0a273af: Download complete 05:53:25 5d3b04190fa2: Verifying Checksum 05:53:25 5d3b04190fa2: Download complete 05:53:25 5eb5b503b376: Verifying Checksum 05:53:25 5eb5b503b376: Download complete 05:53:26 2f39f015ded8: Download complete 05:53:27 5eb5b503b376: Pull complete 05:53:27 5c69ac0246d0: Pull complete 05:53:27 ec43610c2a17: Pull complete 05:53:27 3a2ae6a8a46f: Pull complete 05:53:27 33b1e0a273af: Pull complete 05:53:27 5d3b04190fa2: Pull complete 05:53:32 2f39f015ded8: Pull complete 05:53:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:32 prd-ubuntu20.04-docker-8c-8g-2697 does not seem to be running inside a container 05:53:32 $ 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-635 -v /w/workspace/xfoundry_device-modbus-go_PR-635:/w/workspace/xfoundry_device-modbus-go_PR-635:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-635@tmp:/w/workspace/xfoundry_device-modbus-go_PR-635@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:53:34 $ docker top e5ea22089344f64d7656bcdfee213b2efdd47344d51c1ab0debca7877d5e0fc1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:34 ---> job-cost.sh 05:53:34 lf-activate-venv: SKIPPING 05:53:34 INFO: No Stack... 05:53:34 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:35 INFO: Archiving Costs [Pipeline] sh 05:53:35 + cat /w/workspace/xfoundry_device-modbus-go_PR-635/archives/cost.csv 05:53:35 + cut -d, -f6 [Pipeline] lock 05:53:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-635-1-stack-cost] 05:53:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-635-1-stack-cost] did not exist. Created. 05:53:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-635-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:35 + echo total: 0.2199999988079071 [Pipeline] stash 05:53:35 Stashed 1 file(s) [Pipeline] } 05:53:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-635-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:35 $ docker stop --time=1 e5ea22089344f64d7656bcdfee213b2efdd47344d51c1ab0debca7877d5e0fc1 05:53:37 $ docker rm -f --volumes e5ea22089344f64d7656bcdfee213b2efdd47344d51c1ab0debca7877d5e0fc1 [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:53:37 provisioning config files... 05:53:37 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-635@tmp/config7502226665608406789tmp [Pipeline] { [Pipeline] sh 05:53:38 + set +x 05:53:38 + curl -s https://codecov.io/bash 05:53:38 + bash -s -- 05:53:38 05:53:38 _____ _ 05:53:38 / ____| | | 05:53:38 | | ___ __| | ___ ___ _____ __ 05:53:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:53:38 | |___| (_) | (_| | __/ (_| (_) \ V / 05:53:38 \_____\___/ \__,_|\___|\___\___/ \_/ 05:53:38 Bash-1.0.6 05:53:38 05:53:38 05:53:38 ==> git version 2.25.1 found 05:53:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:53:38 Release-Date: 2020-01-08 05:53:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:53:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:53:38 ==> Jenkins CI detected. 05:53:38 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-635 05:53:38 project root: . 05:53:38 --> token set from env 05:53:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:53:38 ==> Running gcov in . (disable via -X gcov) 05:53:38 ==> Python coveragepy not found 05:53:38 ==> Searching for coverage reports in: 05:53:38 + . 05:53:38 -> Found 1 reports 05:53:38 ==> Detecting git/mercurial file structure 05:53:38 ==> Reading reports 05:53:38 + ./coverage.out bytes=26862 05:53:38 ==> Appending adjustments 05:53:38 https://docs.codecov.io/docs/fixing-reports 05:53:38 + Found adjustments 05:53:38 ==> Gzipping contents 05:53:38 8.0K /tmp/codecov.n7rRj0.gz 05:53:38 ==> Uploading reports 05:53:38 url: https://codecov.io 05:53:38 query: branch=PR-635&commit=0d308c5484495c747ea85c78747bb969abaf894f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-635%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=635&job=&cmd_args= 05:53:38 -> Pinging Codecov 05:53:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-635&commit=0d308c5484495c747ea85c78747bb969abaf894f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-635%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=635&job=&cmd_args= 05:53:38 -> Uploading to 05:53:38 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/0d308c5484495c747ea85c78747bb969abaf894f/7fc70c5d-201d-4cec-99bb-8c713643427a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250603%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250603T055338Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=55d3af043635e2dd0ccac8f20c169688a681c4fcfcabba46aef7b588da0e86ac 05:53:38 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:38 Dload Upload Total Spent Left Speed 05:53:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 13289 --:--:-- --:--:-- --:--:-- 13289 05:53:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0d308c5484495c747ea85c78747bb969abaf894f [Pipeline] } 05:53:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:53:41 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-635/archives ] 05:53:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-635/archives 05:53:41 total 16 05:53:41 drwxr-xr-x 3 root root 4096 Jun 3 05:53 . 05:53:41 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 05:53 .. 05:53:41 drwxr-xr-x 2 root root 4096 Jun 3 05:53 cost 05:53:41 -rw-r--r-- 1 root root 88 Jun 3 05:53 cost.csv 05:53:41 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-635/archives 05:53:41 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-635/archives 05:53:41 total 16 05:53:41 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 05:53 . 05:53:41 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 05:53 .. 05:53:41 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 05:53 cost 05:53:41 -rw-r--r-- 1 jenkins jenkins 88 Jun 3 05:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:53:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:42 ---> package-listing.sh 05:53:42 ++ facter osfamily 05:53:42 ++ tr '[:upper:]' '[:lower:]' 05:53:42 + OS_FAMILY=debian 05:53:42 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-635 05:53:42 + START_PACKAGES=/tmp/packages_start.txt 05:53:42 + END_PACKAGES=/tmp/packages_end.txt 05:53:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:42 + PACKAGES=/tmp/packages_start.txt 05:53:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-635 ']' 05:53:42 + PACKAGES=/tmp/packages_end.txt 05:53:42 + case "${OS_FAMILY}" in 05:53:42 + dpkg -l 05:53:42 + grep '^ii' 05:53:42 + '[' -f /tmp/packages_start.txt ']' 05:53:42 + '[' -f /tmp/packages_end.txt ']' 05:53:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:42 + '[' /w/workspace/xfoundry_device-modbus-go_PR-635 ']' 05:53:42 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-635/archives/ 05:53:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-635/archives/ [Pipeline] echo 05:53:42 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-635/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:43 prd-ubuntu20.04-docker-8c-8g-2697 does not seem to be running inside a container 05:53:44 $ 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-635/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-635 -v /w/workspace/xfoundry_device-modbus-go_PR-635:/w/workspace/xfoundry_device-modbus-go_PR-635:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-635@tmp:/w/workspace/xfoundry_device-modbus-go_PR-635@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:44 $ docker top 00334d63c0853c5b05e6b6ced7acce7bab9cea54c7040219833c6d18319a8c68 -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:44 + touch /tmp/pre-build-complete [Pipeline] sh 05:53:44 + mkdir -p /var/log/sysstat [Pipeline] sh 05:53:45 + ls /var/log/sa-host 05:53:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:45 provisioning config files... 05:53:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-635@tmp/config1087632620136150729tmp [Pipeline] { [Pipeline] echo 05:53:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:45 ---> create-netrc.sh [Pipeline] } 05:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:53:46 ---> python-tools-install.sh [Pipeline] echo 05:53:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:53:46 ---> sudo-logs.sh 05:53:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:53:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:53:47 ---> job-cost.sh 05:53:47 lf-activate-venv: SKIPPING 05:53:47 DEBUG: total: 0.2199999988079071 05:53:47 INFO: Retrieving Stack Cost... 05:53:47 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:47 INFO: Archiving Costs [Pipeline] echo 05:53:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:53:47 ---> logs-deploy.sh 05:53:47 lf-activate-venv: SKIPPING 05:53:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-635/1 05:53:47 INFO: archiving workspace using pattern(s): 05:53:49 Archives upload complete. 05:53:49 INFO: archiving logs to Nexus