Pull request #634 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2+2f15f281678cccf9a75033b18da75fe627dd9e87 (23e54969674a5b42fb87726460aab49e2415ca06) 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-ssh13261961452071736452.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-ssh8043853384936746548.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-634/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-634/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13240900629586113597.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-634/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17979977217821896816.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-ssh14583881706093416059.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-634/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-634/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4824601364621165610.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-2634 in /w/workspace/xfoundry_device-modbus-go_PR-634 [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-634 # 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 Merging remotes/origin/main commit 2f15f281678cccf9a75033b18da75fe627dd9e87 into PR head commit 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 Merge succeeded, producing 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 Checking out Revision 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 (PR-634) Commit message: "build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.9.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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/634/head:refs/remotes/origin/PR-634 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 # 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 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:28:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:28:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:28:14 ========================================================= 06:28:14 EdgeX Global Pipelines Version Info 06:28:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:28:15 ------------------- 06:28:15 stable info: 06:28:15 ------------------- 06:28:15 Commited By: Ginny Guan ginny@iotechsys.com 06:28:15 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 06:28:15 Message: update stable to v1.0.274 06:28:15 ------------------- 06:28:15 experimental info: 06:28:15 ------------------- 06:28:15 Commited By: **** collab-it+edgex@linuxfoundation.org 06:28:15 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 06:28:15 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:28:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-634 [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-634 [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-634 [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7661417 [Pipeline] echo 06:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:17 provisioning config files... 06:28:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-634@tmp/config16562238422539271573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:18 ---> ****-login.sh 06:28:18 nexus3.edgexfoundry.org:10001 06:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:18 Configure a credential helper to remove this warning. See 06:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:18 06:28:18 Login Succeeded 06:28:18 nexus3.edgexfoundry.org:10002 06:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:18 Configure a credential helper to remove this warning. See 06:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:18 06:28:18 Login Succeeded 06:28:18 nexus3.edgexfoundry.org:10003 06:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:18 Configure a credential helper to remove this warning. See 06:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:18 06:28:18 Login Succeeded 06:28:18 nexus3.edgexfoundry.org:10004 06:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:19 Configure a credential helper to remove this warning. See 06:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:19 06:28:19 Login Succeeded 06:28:19 ****.io 06:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:19 Configure a credential helper to remove this warning. See 06:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:19 06:28:19 Login Succeeded 06:28:19 ---> ****-login.sh ends [Pipeline] } 06:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:28:19 + git rev-list -1 --merges 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2~1..7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 [Pipeline] echo 06:28:20 -----------> git rev-list -1 --merges 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2~1..7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 [false] [Pipeline] sh 06:28:20 + git log --format=format:%s -1 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 [Pipeline] echo 06:28:20 ========================================================= 06:28:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:28:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:20 + git log --format=format:%s -1 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 [Pipeline] echo 06:28:20 [semverPrep] GIT_COMMIT: 7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2, Commit Message: build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.9.1 [Pipeline] echo 06:28:20 [semverPrep] This is not a build commit. [Pipeline] sh 06:28:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:21 + grep -v github /etc/ssh/ssh_known_hosts 06:28:21 + [ -e /tmp/ssh_known_hosts ] 06:28:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:28:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:28:21 + sudo tee -a /etc/ssh/ssh_known_hosts 06:28:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:21 06:28:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:22 0.1.4: Pulling from edgex-devops/py-git-semver 06:28:22 3dae71ba6b94: Pulling fs layer 06:28:22 6bf1a483ea7c: Pulling fs layer 06:28:22 f5dfc541a4d3: Pulling fs layer 06:28:22 461d9e800cba: Pulling fs layer 06:28:22 80192f66455f: Pulling fs layer 06:28:22 2e8e34ca0e6c: Pulling fs layer 06:28:22 a29436f7fd5d: Pulling fs layer 06:28:22 923cac83aea3: Pulling fs layer 06:28:22 25ad8b0a4227: Pulling fs layer 06:28:22 db01528c6b51: Pulling fs layer 06:28:22 28988de357af: Pulling fs layer 06:28:22 461d9e800cba: Waiting 06:28:22 80192f66455f: Waiting 06:28:22 2e8e34ca0e6c: Waiting 06:28:22 a29436f7fd5d: Waiting 06:28:22 923cac83aea3: Waiting 06:28:22 db01528c6b51: Waiting 06:28:22 25ad8b0a4227: Waiting 06:28:22 28988de357af: Waiting 06:28:22 6bf1a483ea7c: Verifying Checksum 06:28:22 6bf1a483ea7c: Download complete 06:28:22 461d9e800cba: Verifying Checksum 06:28:22 80192f66455f: Download complete 06:28:22 f5dfc541a4d3: Verifying Checksum 06:28:22 f5dfc541a4d3: Download complete 06:28:22 3dae71ba6b94: Verifying Checksum 06:28:22 3dae71ba6b94: Download complete 06:28:22 25ad8b0a4227: Verifying Checksum 06:28:22 25ad8b0a4227: Download complete 06:28:22 db01528c6b51: Verifying Checksum 06:28:22 db01528c6b51: Download complete 06:28:22 28988de357af: Verifying Checksum 06:28:22 28988de357af: Download complete 06:28:22 a29436f7fd5d: Verifying Checksum 06:28:23 2e8e34ca0e6c: Verifying Checksum 06:28:23 2e8e34ca0e6c: Download complete 06:28:23 3dae71ba6b94: Pull complete 06:28:23 6bf1a483ea7c: Pull complete 06:28:24 f5dfc541a4d3: Pull complete 06:28:24 461d9e800cba: Pull complete 06:28:24 80192f66455f: Pull complete 06:28:27 2e8e34ca0e6c: Pull complete 06:28:27 a29436f7fd5d: Pull complete 06:28:27 923cac83aea3: Pull complete 06:28:28 25ad8b0a4227: Pull complete 06:28:28 db01528c6b51: Pull complete 06:28:28 28988de357af: Pull complete 06:28:28 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 06:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:28 prd-ubuntu20.04-docker-8c-8g-2634 does not seem to be running inside a container 06:28:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-634 -v /w/workspace/xfoundry_device-modbus-go_PR-634:/w/workspace/xfoundry_device-modbus-go_PR-634:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-634@tmp:/w/workspace/xfoundry_device-modbus-go_PR-634@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 06:28:30 $ docker top 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d -eo pid,comm 06:28:30 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). 06:28:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:30 [ssh-agent] Looking for ssh-agent implementation... 06:28:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:30 $ docker exec 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d ssh-agent 06:28:30 SSH_AUTH_SOCK=/tmp/ssh-OEsG7NszKevv/agent.31 06:28:30 SSH_AGENT_PID=37 06:28:30 Running ssh-add (command line suppressed) 06:28:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-634@tmp/private_key_8533388096746738348.key (/w/workspace/xfoundry_device-modbus-go_PR-634@tmp/private_key_8533388096746738348.key) 06:28:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:31 + git tag --points-at HEAD [Pipeline] } 06:28:31 $ docker exec --env ******** --env ******** 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d ssh-agent -k 06:28:31 unset SSH_AUTH_SOCK; 06:28:31 unset SSH_AGENT_PID; 06:28:31 echo Agent pid 37 killed; 06:28:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:28:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:31 [ssh-agent] Looking for ssh-agent implementation... 06:28:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:31 $ docker exec 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d ssh-agent 06:28:31 SSH_AUTH_SOCK=/tmp/ssh-1wny00qPB7cD/agent.70 06:28:31 SSH_AGENT_PID=76 06:28:31 Running ssh-add (command line suppressed) 06:28:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-634@tmp/private_key_16093383564699725474.key (/w/workspace/xfoundry_device-modbus-go_PR-634@tmp/private_key_16093383564699725474.key) 06:28:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:32 + git semver init 06:28:32 2025-06-02 06:28:32,492 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 06:28:32 2025-06-02 06:28:32,496 [run_init] DEBUG init version:0.0.0 force:False 06:28:32 2025-06-02 06:28:32,497 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-634/.semver 06:28:32 2025-06-02 06:28:32,498 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-634/.semver 06:28:32 2025-06-02 06:28:32,498 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-634/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-634, stdin=None, shell=False, universal_newlines=False) 06:28:33 2025-06-02 06:28:33,700 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-634/.git/info/exclude 06:28:33 2025-06-02 06:28:33,700 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-634/.semver/PR-634 with force:False 06:28:33 2025-06-02 06:28:33,700 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-634/.semver/PR-634 06:28:33 2025-06-02 06:28:33,705 [execute] INFO git cat-file --batch-check 06:28:33 2025-06-02 06:28:33,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-634/.semver, stdin=, shell=False, universal_newlines=False) 06:28:33 2025-06-02 06:28:33,710 [execute] INFO git cat-file --batch 06:28:33 2025-06-02 06:28:33,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-634/.semver, stdin=, shell=False, universal_newlines=False) 06:28:33 2025-06-02 06:28:33,713 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-634/.semver/PR-634 06:28:33 0.0.0 [Pipeline] } 06:28:33 $ docker exec --env ******** --env ******** 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d ssh-agent -k 06:28:34 unset SSH_AUTH_SOCK; 06:28:34 unset SSH_AGENT_PID; 06:28:34 echo Agent pid 76 killed; 06:28:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:34 + git semver [Pipeline] } 06:28:34 $ docker stop --time=1 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d 06:28:36 $ docker rm -f --volumes 637277b3651c2438c05d33f0cd32c1f17a4fb47f2b7fd811cf402710461da97d [Pipeline] // withDockerContainer [Pipeline] sh 06:28:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:28:36 Stashed 1 file(s) [Pipeline] echo 06:28:36 [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 06:28:37 provisioning config files... 06:28:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-634@tmp/config875826500982154436tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 06:28:38 ---> ****-login.sh 06:28:38 nexus3.edgexfoundry.org:10001 06:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:38 Configure a credential helper to remove this warning. See 06:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:38 06:28:38 Login Succeeded 06:28:38 nexus3.edgexfoundry.org:10002 06:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:38 Configure a credential helper to remove this warning. See 06:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:38 06:28:38 Login Succeeded 06:28:38 nexus3.edgexfoundry.org:10003 06:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:38 Configure a credential helper to remove this warning. See 06:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:38 06:28:38 Login Succeeded 06:28:38 nexus3.edgexfoundry.org:10004 06:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:38 Configure a credential helper to remove this warning. See 06:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:38 06:28:38 Login Succeeded 06:28:38 ****.io 06:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:28:38 Configure a credential helper to remove this warning. See 06:28:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:28:38 06:28:38 Login Succeeded 06:28:38 ---> ****-login.sh ends [Pipeline] } 06:28:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:28:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:28:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:28:39 ========================================================= 06:28:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:28:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:39 + 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 . 06:28:39 Sending build context to Docker daemon 28MB 06:28:39 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 06:28:39 Step 2/10 : FROM ${BASE} AS builder 06:28:39 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:28:39 0a9a5dfd008f: Pulling fs layer 06:28:39 dbfa0bcfca99: Pulling fs layer 06:28:39 70eabb1d9476: Pulling fs layer 06:28:39 957bedc73fa3: Pulling fs layer 06:28:39 4f4fb700ef54: Pulling fs layer 06:28:39 f40432e63723: Pulling fs layer 06:28:39 90b4343acab7: Pulling fs layer 06:28:39 9f67ea4ac784: Pulling fs layer 06:28:39 9228b9a606be: Pulling fs layer 06:28:39 4f4fb700ef54: Waiting 06:28:39 9f67ea4ac784: Waiting 06:28:39 957bedc73fa3: Waiting 06:28:39 9228b9a606be: Waiting 06:28:39 90b4343acab7: Waiting 06:28:39 dbfa0bcfca99: Verifying Checksum 06:28:39 dbfa0bcfca99: Download complete 06:28:39 957bedc73fa3: Verifying Checksum 06:28:39 957bedc73fa3: Download complete 06:28:39 4f4fb700ef54: Verifying Checksum 06:28:39 4f4fb700ef54: Download complete 06:28:39 f40432e63723: Verifying Checksum 06:28:39 f40432e63723: Download complete 06:28:39 0a9a5dfd008f: Download complete 06:28:39 90b4343acab7: Verifying Checksum 06:28:39 90b4343acab7: Download complete 06:28:40 0a9a5dfd008f: Pull complete 06:28:40 dbfa0bcfca99: Pull complete 06:28:40 9228b9a606be: Verifying Checksum 06:28:40 9228b9a606be: Download complete 06:28:40 70eabb1d9476: Download complete 06:28:40 9f67ea4ac784: Download complete 06:28:44 70eabb1d9476: Pull complete 06:28:44 957bedc73fa3: Pull complete 06:28:44 4f4fb700ef54: Pull complete 06:28:44 f40432e63723: Pull complete 06:28:44 90b4343acab7: Pull complete 06:28:46 9f67ea4ac784: Pull complete 06:28:46 9228b9a606be: Pull complete 06:28:46 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 06:28:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:28:46 ---> 69404ca5bff2 06:28:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:28:48 ---> Running in c5281d25c487 06:28:48 Removing intermediate container c5281d25c487 06:28:48 ---> c821b38b6625 06:28:48 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:28:48 ---> Running in 9ea50c6acdb3 06:28:48 Removing intermediate container 9ea50c6acdb3 06:28:48 ---> c40486115e1e 06:28:48 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:28:48 ---> Running in 12eb19056da2 06:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:28:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:28:49 (1/8) Installing openssh-keygen (9.7_p1-r5) 06:28:49 (2/8) Installing libedit (20240517.3.1-r0) 06:28:49 (3/8) Installing openssh-client-common (9.7_p1-r5) 06:28:49 (4/8) Installing openssh-client-default (9.7_p1-r5) 06:28:49 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 06:28:49 (6/8) Installing openssh-server-common (9.7_p1-r5) 06:28:49 (7/8) Installing openssh-server (9.7_p1-r5) 06:28:49 (8/8) Installing openssh (9.7_p1-r5) 06:28:49 Executing busybox-1.36.1-r29.trigger 06:28:49 OK: 253 MiB in 66 packages 06:28:49 Removing intermediate container 12eb19056da2 06:28:49 ---> 9c414a603fe7 06:28:49 Step 6/10 : WORKDIR /device-modbus-go 06:28:49 ---> Running in cff0d41980d9 06:28:50 Removing intermediate container cff0d41980d9 06:28:50 ---> fece6c6b23a0 06:28:50 Step 7/10 : COPY go.mod vendor* ./ 06:28:50 ---> 91531260093d 06:28:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:50 ---> Running in 1bdb05f60fbd 06:29:28 Removing intermediate container 1bdb05f60fbd 06:29:28 ---> ffa2c056adc8 06:29:28 Step 9/10 : COPY . . 06:29:28 ---> a8f0621d447f 06:29:28 Step 10/10 : RUN ${MAKE} 06:29:28 ---> Running in 704119e7a1a4 06:29:28 noop 06:29:28 Removing intermediate container 704119e7a1a4 06:29:28 ---> 5de3c0dd8c08 06:29:28 Successfully built 5de3c0dd8c08 06:29:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:29 + docker inspect -f . ci-base-image-x86_64 06:29:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:29 prd-ubuntu20.04-docker-8c-8g-2634 does not seem to be running inside a container 06:29:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-634 -v /w/workspace/xfoundry_device-modbus-go_PR-634:/w/workspace/xfoundry_device-modbus-go_PR-634:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-634@tmp:/w/workspace/xfoundry_device-modbus-go_PR-634@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 06:29:29 $ docker top 5e1740985d8822785c6cef6f4c5911c554e5369f7b13079e602a66365cc9364d -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:30 + go version 06:29:30 go version go1.23.8 linux/amd64 [Pipeline] } 06:29:30 $ docker stop --time=1 5e1740985d8822785c6cef6f4c5911c554e5369f7b13079e602a66365cc9364d 06:29:31 $ docker rm -f --volumes 5e1740985d8822785c6cef6f4c5911c554e5369f7b13079e602a66365cc9364d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:32 + docker inspect -f . ci-base-image-x86_64 06:29:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:32 prd-ubuntu20.04-docker-8c-8g-2634 does not seem to be running inside a container 06:29:32 $ 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-634 -v /w/workspace/xfoundry_device-modbus-go_PR-634:/w/workspace/xfoundry_device-modbus-go_PR-634:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-634@tmp:/w/workspace/xfoundry_device-modbus-go_PR-634@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 06:29:32 $ docker top a1defdf0891d8c3a38de6c14949eac6fe48251165682838cdd0ac5b48ccd070b -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:33 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-634 [Pipeline] fileExists [Pipeline] sh 06:29:33 + make test 06:29:33 go test ./... -coverprofile=coverage.out 06:29:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:29:53 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 06:29:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 45.2% of statements 06:30:03 go vet ./... 06:30:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:30:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:30:09 ./bin/test-attribution-txt.sh [Pipeline] echo 06:30:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:30:09 $ docker stop --time=1 a1defdf0891d8c3a38de6c14949eac6fe48251165682838cdd0ac5b48ccd070b 06:30:11 $ docker rm -f --volumes a1defdf0891d8c3a38de6c14949eac6fe48251165682838cdd0ac5b48ccd070b [Pipeline] // withDockerContainer [Pipeline] sh 06:30:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:30:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:30:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:13 + ls -al . 06:30:13 total 260 06:30:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 06:29 . 06:30:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 06:28 .. 06:30:13 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 06:28 .dockerignore 06:30:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 06:29 .git 06:30:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:28 .github 06:30:13 -rw-rw-r-- 1 jenkins jenkins 266 Jun 2 06:28 .gitignore 06:30:13 -rw-rw-r-- 1 jenkins jenkins 199 Jun 2 06:28 .golangci.yml 06:30:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 06:28 .semver 06:30:13 -rw-rw-r-- 1 jenkins jenkins 19818 Jun 2 06:28 Attribution.txt 06:30:13 -rw-rw-r-- 1 jenkins jenkins 18046 Jun 2 06:28 CHANGELOG.md 06:30:13 -rw-rw-r-- 1 jenkins jenkins 1479 Jun 2 06:28 Dockerfile 06:30:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 06:28 GOVERNANCE.md 06:30:13 -rw-rw-r-- 1 jenkins jenkins 658 Jun 2 06:28 Jenkinsfile 06:30:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 06:28 LICENSE 06:30:13 -rw-rw-r-- 1 jenkins jenkins 2524 Jun 2 06:28 Makefile 06:30:13 -rw-rw-r-- 1 jenkins jenkins 622 Jun 2 06:28 OWNERS.md 06:30:13 -rw-rw-r-- 1 jenkins jenkins 4463 Jun 2 06:28 README.md 06:30:13 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 06:28 VERSION 06:30:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 06:28 bin 06:30:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:28 cmd 06:30:13 -rw-r--r-- 1 jenkins jenkins 26862 Jun 2 06:29 coverage.out 06:30:13 -rw-rw-r-- 1 jenkins jenkins 6295 Jun 2 06:28 go.mod 06:30:13 -rw-rw-r-- 1 jenkins jenkins 86874 Jun 2 06:28 go.sum 06:30:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:28 internal 06:30:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 06:28 simulator 06:30:13 -rw-rw-r-- 1 jenkins jenkins 229 Jun 2 06:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:14 + 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=7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 --label arch=amd64 --label version=0.0.0 . 06:30:14 Sending build context to Docker daemon 28.02MB 06:30:14 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 06:30:14 Step 2/23 : FROM ${BASE} AS builder 06:30:14 ---> 5de3c0dd8c08 06:30:14 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:30:14 ---> Running in 3a2c7f9f8641 06:30:14 Removing intermediate container 3a2c7f9f8641 06:30:14 ---> 6bf4cf1bfc20 06:30:14 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:30:14 ---> Running in 14b76fbd3156 06:30:14 Removing intermediate container 14b76fbd3156 06:30:14 ---> 06eac268aa88 06:30:14 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:30:14 ---> Running in a626d25514f8 06:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:30:15 OK: 253 MiB in 66 packages 06:30:15 Removing intermediate container a626d25514f8 06:30:15 ---> 5b9fe5c25825 06:30:15 Step 6/23 : WORKDIR /device-modbus-go 06:30:15 ---> Running in b5b8f25e41ca 06:30:15 Removing intermediate container b5b8f25e41ca 06:30:15 ---> 3082524a1f78 06:30:15 Step 7/23 : COPY go.mod vendor* ./ 06:30:15 ---> 8c741914de85 06:30:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:30:15 ---> Running in c3d7a49a552c 06:30:16 Removing intermediate container c3d7a49a552c 06:30:16 ---> 795d25235591 06:30:16 Step 9/23 : COPY . . 06:30:16 ---> 73301814c9e4 06:30:16 Step 10/23 : RUN ${MAKE} 06:30:16 ---> Running in c9ef10441364 06:30:17 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 06:30:49 Removing intermediate container c9ef10441364 06:30:49 ---> 460932fd07a2 06:30:49 Step 11/23 : FROM alpine:3.20 06:30:49 3.20: Pulling from library/alpine 06:30:49 0a9a5dfd008f: Already exists 06:30:49 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:30:49 Status: Downloaded newer image for alpine:3.20 06:30:49 ---> ff221270b9fb 06:30:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 06:30:49 ---> Running in d037faa35aea 06:30:49 Removing intermediate container d037faa35aea 06:30:49 ---> 45cb549faca7 06:30:49 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:30:49 ---> Running in b832afedfb90 06:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:30:49 (1/1) Installing dumb-init (1.2.5-r3) 06:30:49 Executing busybox-1.36.1-r29.trigger 06:30:49 OK: 8 MiB in 15 packages 06:30:49 Removing intermediate container b832afedfb90 06:30:49 ---> b4c3a78ca5db 06:30:49 Step 14/23 : RUN apk --no-cache upgrade 06:30:49 ---> Running in ed53ff67352b 06:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:30:49 OK: 8 MiB in 15 packages 06:30:49 Removing intermediate container ed53ff67352b 06:30:49 ---> 12674ac20502 06:30:49 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:30:49 ---> c6e06b86e4b5 06:30:49 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:30:49 ---> f9dcd9cb2188 06:30:49 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:30:49 ---> 471aa5a55d6a 06:30:49 Step 18/23 : EXPOSE 59901 06:30:49 ---> Running in 5c2b8c9db833 06:30:49 Removing intermediate container 5c2b8c9db833 06:30:49 ---> c522be2c624e 06:30:49 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:30:49 ---> Running in d6b44d206052 06:30:49 Removing intermediate container d6b44d206052 06:30:49 ---> 270ded17805a 06:30:49 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:30:49 ---> Running in cf9d167921c9 06:30:49 Removing intermediate container cf9d167921c9 06:30:49 ---> 1aa2478be024 06:30:49 Step 21/23 : LABEL arch=amd64 06:30:49 ---> Running in 0873d108ab72 06:30:49 Removing intermediate container 0873d108ab72 06:30:49 ---> d0e295dedb07 06:30:49 Step 22/23 : LABEL git_sha=7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 06:30:49 ---> Running in c42fe3857815 06:30:49 Removing intermediate container c42fe3857815 06:30:49 ---> f44054fcb876 06:30:49 Step 23/23 : LABEL version=0.0.0 06:30:49 ---> Running in bf5a23c8e334 06:30:49 Removing intermediate container bf5a23c8e334 06:30:49 ---> 71409b6f0f0b 06:30:49 [Warning] One or more build-args [ARCH] were not consumed 06:30:49 Successfully built 71409b6f0f0b 06:30:49 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 06:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:50 06:30:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:50 latest: Pulling from edgex-lftools-log-publisher 06:30:50 5eb5b503b376: Pulling fs layer 06:30:50 5c69ac0246d0: Pulling fs layer 06:30:50 ec43610c2a17: Pulling fs layer 06:30:50 3a2ae6a8a46f: Pulling fs layer 06:30:50 33b1e0a273af: Pulling fs layer 06:30:50 5d3b04190fa2: Pulling fs layer 06:30:50 2f39f015ded8: Pulling fs layer 06:30:50 3a2ae6a8a46f: Waiting 06:30:50 33b1e0a273af: Waiting 06:30:50 5d3b04190fa2: Waiting 06:30:50 2f39f015ded8: Waiting 06:30:50 5c69ac0246d0: Verifying Checksum 06:30:50 5c69ac0246d0: Download complete 06:30:50 3a2ae6a8a46f: Verifying Checksum 06:30:50 3a2ae6a8a46f: Download complete 06:30:50 33b1e0a273af: Verifying Checksum 06:30:50 33b1e0a273af: Download complete 06:30:50 5d3b04190fa2: Verifying Checksum 06:30:50 5d3b04190fa2: Download complete 06:30:50 ec43610c2a17: Verifying Checksum 06:30:50 ec43610c2a17: Download complete 06:30:50 5eb5b503b376: Download complete 06:30:51 2f39f015ded8: Download complete 06:30:52 5eb5b503b376: Pull complete 06:30:52 5c69ac0246d0: Pull complete 06:30:52 ec43610c2a17: Pull complete 06:30:52 3a2ae6a8a46f: Pull complete 06:30:52 33b1e0a273af: Pull complete 06:30:53 5d3b04190fa2: Pull complete 06:30:57 2f39f015ded8: Pull complete 06:30:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:30:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:57 prd-ubuntu20.04-docker-8c-8g-2634 does not seem to be running inside a container 06:30:57 $ 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-634 -v /w/workspace/xfoundry_device-modbus-go_PR-634:/w/workspace/xfoundry_device-modbus-go_PR-634:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-634@tmp:/w/workspace/xfoundry_device-modbus-go_PR-634@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 06:30:58 $ docker top 46f76717ca562f3514788edca9de31a70c681df2263bea86a53ddae6e07eab81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:59 ---> job-cost.sh 06:30:59 lf-activate-venv: SKIPPING 06:30:59 INFO: No Stack... 06:30:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:31:00 INFO: Archiving Costs [Pipeline] sh 06:31:00 + cat /w/workspace/xfoundry_device-modbus-go_PR-634/archives/cost.csv 06:31:00 + cut -d, -f6 [Pipeline] lock 06:31:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-634-1-stack-cost] 06:31:00 Resource [jenkins-edgexfoundry-device-modbus-go-PR-634-1-stack-cost] did not exist. Created. 06:31:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-634-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:31:01 + echo total: 0.2199999988079071 [Pipeline] stash 06:31:01 Stashed 1 file(s) [Pipeline] } 06:31:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-634-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:31:01 $ docker stop --time=1 46f76717ca562f3514788edca9de31a70c681df2263bea86a53ddae6e07eab81 06:31:02 $ docker rm -f --volumes 46f76717ca562f3514788edca9de31a70c681df2263bea86a53ddae6e07eab81 [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 06:31:03 provisioning config files... 06:31:03 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-634@tmp/config3217506016179966799tmp [Pipeline] { [Pipeline] sh 06:31:03 + set +x 06:31:03 + curl -s https://codecov.io/bash 06:31:03 + bash -s -- 06:31:03 06:31:03 _____ _ 06:31:03 / ____| | | 06:31:03 | | ___ __| | ___ ___ _____ __ 06:31:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:31:03 | |___| (_) | (_| | __/ (_| (_) \ V / 06:31:03 \_____\___/ \__,_|\___|\___\___/ \_/ 06:31:03 Bash-1.0.6 06:31:03 06:31:03 06:31:03 ==> git version 2.25.1 found 06:31:03 ==> 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 06:31:03 Release-Date: 2020-01-08 06:31:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:31:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:31:03 ==> Jenkins CI detected. 06:31:03 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-634 06:31:03 project root: . 06:31:03 --> token set from env 06:31:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:31:04 ==> Running gcov in . (disable via -X gcov) 06:31:04 ==> Python coveragepy not found 06:31:04 ==> Searching for coverage reports in: 06:31:04 + . 06:31:04 -> Found 1 reports 06:31:04 ==> Detecting git/mercurial file structure 06:31:04 ==> Reading reports 06:31:04 + ./coverage.out bytes=26862 06:31:04 ==> Appending adjustments 06:31:04 https://docs.codecov.io/docs/fixing-reports 06:31:04 + Found adjustments 06:31:04 ==> Gzipping contents 06:31:04 8.0K /tmp/codecov.7edYua.gz 06:31:04 ==> Uploading reports 06:31:04 url: https://codecov.io 06:31:04 query: branch=PR-634&commit=7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-634%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=634&job=&cmd_args= 06:31:04 -> Pinging Codecov 06:31:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-634&commit=7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-634%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=634&job=&cmd_args= 06:31:04 -> Uploading to 06:31:04 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2/0c4410c8-6560-435f-b1ce-e38c8b01794c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250602%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250602T063104Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=72cba0151dd01ff1b57efd9301ef3428d03e3e4a8bc158a9f4302184155b0573 06:31:04 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:04 Dload Upload Total Spent Left Speed 06:31:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 12524 --:--:-- --:--:-- --:--:-- 12524 06:31:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7661417a0f9a8767c35fd2a6dbc9fb5af0e149f2 [Pipeline] } 06:31:04 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 06:31:06 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-634/archives ] 06:31:06 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-634/archives 06:31:06 total 16 06:31:06 drwxr-xr-x 3 root root 4096 Jun 2 06:31 . 06:31:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:31 .. 06:31:06 drwxr-xr-x 2 root root 4096 Jun 2 06:31 cost 06:31:06 -rw-r--r-- 1 root root 88 Jun 2 06:31 cost.csv 06:31:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-634/archives 06:31:06 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-634/archives 06:31:06 total 16 06:31:06 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 06:31 . 06:31:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:31 .. 06:31:06 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 06:31 cost 06:31:06 -rw-r--r-- 1 jenkins jenkins 88 Jun 2 06:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:31:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:31:07 ---> package-listing.sh 06:31:07 ++ facter osfamily 06:31:07 ++ tr '[:upper:]' '[:lower:]' 06:31:08 + OS_FAMILY=debian 06:31:08 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-634 06:31:08 + START_PACKAGES=/tmp/packages_start.txt 06:31:08 + END_PACKAGES=/tmp/packages_end.txt 06:31:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:31:08 + PACKAGES=/tmp/packages_start.txt 06:31:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-634 ']' 06:31:08 + PACKAGES=/tmp/packages_end.txt 06:31:08 + case "${OS_FAMILY}" in 06:31:08 + dpkg -l 06:31:08 + grep '^ii' 06:31:08 + '[' -f /tmp/packages_start.txt ']' 06:31:08 + '[' -f /tmp/packages_end.txt ']' 06:31:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:31:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-634 ']' 06:31:08 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-634/archives/ 06:31:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-634/archives/ [Pipeline] echo 06:31:08 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-634/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:31:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:09 prd-ubuntu20.04-docker-8c-8g-2634 does not seem to be running inside a container 06:31:09 $ 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-634/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-634 -v /w/workspace/xfoundry_device-modbus-go_PR-634:/w/workspace/xfoundry_device-modbus-go_PR-634:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-634@tmp:/w/workspace/xfoundry_device-modbus-go_PR-634@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 06:31:09 $ docker top 06c1c8b1c1471f78773095995b771ebf09b0572a3ecbee1b32ade8e794432f7f -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:09 + touch /tmp/pre-build-complete [Pipeline] sh 06:31:10 + mkdir -p /var/log/sysstat [Pipeline] sh 06:31:10 + ls /var/log/sa-host 06:31:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:10 provisioning config files... 06:31:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-634@tmp/config14096018630679798393tmp [Pipeline] { [Pipeline] echo 06:31:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:31:11 ---> create-netrc.sh [Pipeline] } 06:31:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:31:11 ---> python-tools-install.sh [Pipeline] echo 06:31:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:31:12 ---> sudo-logs.sh 06:31:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:31:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:31:12 ---> job-cost.sh 06:31:12 lf-activate-venv: SKIPPING 06:31:12 DEBUG: total: 0.2199999988079071 06:31:12 INFO: Retrieving Stack Cost... 06:31:12 INFO: Retrieving Pricing Info for: v3-standard-8 06:31:12 INFO: Archiving Costs [Pipeline] echo 06:31:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:31:13 ---> logs-deploy.sh 06:31:13 lf-activate-venv: SKIPPING 06:31:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-634/1 06:31:13 INFO: archiving workspace using pattern(s): 06:31:13 Archives upload complete. 06:31:13 INFO: archiving logs to Nexus