Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 55a903a4e4241ed304b874eba174be4eba37eb89 rather than 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 Obtained Jenkinsfile from 55a903a4e4241ed304b874eba174be4eba37eb89 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-ssh16239107525890286697.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10769480754500019419.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9378135626322492678.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7220872793023693308.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11559790514792214360.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-36863’ Running on prd-ubuntu20.04-docker-8c-8g-36868 in /w/workspace/xfoundry_device-modbus-go_PR-600 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-600 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55a903a4e4241ed304b874eba174be4eba37eb89 into PR head commit 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 Merge succeeded, producing ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 Checking out Revision ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f 487d9a8596a33bf8cb167ee9758ffd227ee0e3c5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55a903a4e4241ed304b874eba174be4eba37eb89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 # timeout=10 Commit message: "Merge commit '55a903a4e4241ed304b874eba174be4eba37eb89' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:57 ========================================================= 00:54:57 EdgeX Global Pipelines Version Info 00:54:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9e8e1eac68e99b3599a10ed236c6c6d45baaf206 # timeout=10 00:54:59 ------------------- 00:54:59 stable info: 00:54:59 ------------------- 00:54:59 Commited By: Cherry Wang cherry@iotechsys.com 00:54:59 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 00:54:59 Message: update stable to v1.0.269 00:54:59 ------------------- 00:54:59 experimental info: 00:54:59 ------------------- 00:54:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:59 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 00:54:59 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec86ee9 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:00 provisioning config files... 00:55:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config6568969333088890371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:00 ---> ****-login.sh 00:55:00 nexus3.edgexfoundry.org:10001 00:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:02 Configure a credential helper to remove this warning. See 00:55:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:02 00:55:02 Login Succeeded 00:55:02 nexus3.edgexfoundry.org:10002 00:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:02 Configure a credential helper to remove this warning. See 00:55:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:02 00:55:02 Login Succeeded 00:55:02 nexus3.edgexfoundry.org:10003 00:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:02 Configure a credential helper to remove this warning. See 00:55:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:02 00:55:02 Login Succeeded 00:55:02 nexus3.edgexfoundry.org:10004 00:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:02 Configure a credential helper to remove this warning. See 00:55:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:02 00:55:02 Login Succeeded 00:55:02 ****.io 00:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:03 Configure a credential helper to remove this warning. See 00:55:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:03 00:55:03 Login Succeeded 00:55:03 ---> ****-login.sh ends [Pipeline] } 00:55:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:55:03 + git rev-list -1 --merges ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5~1..ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 [Pipeline] echo 00:55:03 -----------> git rev-list -1 --merges ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5~1..ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 00:55:03 ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 [false] [Pipeline] sh 00:55:03 + git log --format=format:%s -1 ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 [Pipeline] echo 00:55:04 ========================================================= 00:55:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:55:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:04 + git log --format=format:%s -1 ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 [Pipeline] echo 00:55:04 [semverPrep] GIT_COMMIT: ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5, Commit Message: Merge commit '55a903a4e4241ed304b874eba174be4eba37eb89' into HEAD [Pipeline] echo 00:55:04 [semverPrep] This is not a build commit. [Pipeline] sh 00:55:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:55:04 + grep -v github /etc/ssh/ssh_known_hosts 00:55:04 + [ -e /tmp/ssh_known_hosts ] 00:55:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:55:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:55:04 + sudo tee -a /etc/ssh/ssh_known_hosts 00:55:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:05 00:55:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:05 0.1.4: Pulling from edgex-devops/py-git-semver 00:55:05 b85a868b505f: Pulling fs layer 00:55:05 e2be974225ed: Pulling fs layer 00:55:05 339a4e72a1f5: Pulling fs layer 00:55:05 988bab9f4d93: Pulling fs layer 00:55:05 1469e6f7b9e6: Pulling fs layer 00:55:05 eaf3925da568: Pulling fs layer 00:55:05 bab4dde63d76: Pulling fs layer 00:55:05 bde34c3a00c8: Pulling fs layer 00:55:05 b352a97aabf1: Pulling fs layer 00:55:05 4872d77fe225: Pulling fs layer 00:55:05 5851b861e8e6: Pulling fs layer 00:55:05 bab4dde63d76: Waiting 00:55:05 988bab9f4d93: Waiting 00:55:05 1469e6f7b9e6: Waiting 00:55:05 5851b861e8e6: Waiting 00:55:05 4872d77fe225: Waiting 00:55:05 eaf3925da568: Waiting 00:55:05 b352a97aabf1: Waiting 00:55:05 e2be974225ed: Verifying Checksum 00:55:05 e2be974225ed: Download complete 00:55:05 988bab9f4d93: Verifying Checksum 00:55:05 988bab9f4d93: Download complete 00:55:05 1469e6f7b9e6: Verifying Checksum 00:55:05 1469e6f7b9e6: Download complete 00:55:05 eaf3925da568: Verifying Checksum 00:55:05 eaf3925da568: Download complete 00:55:05 339a4e72a1f5: Verifying Checksum 00:55:05 339a4e72a1f5: Download complete 00:55:05 bde34c3a00c8: Verifying Checksum 00:55:05 bde34c3a00c8: Download complete 00:55:05 b352a97aabf1: Download complete 00:55:05 4872d77fe225: Verifying Checksum 00:55:05 4872d77fe225: Download complete 00:55:05 5851b861e8e6: Verifying Checksum 00:55:05 5851b861e8e6: Download complete 00:55:05 b85a868b505f: Verifying Checksum 00:55:05 b85a868b505f: Download complete 00:55:06 bab4dde63d76: Verifying Checksum 00:55:06 bab4dde63d76: Download complete 00:55:07 b85a868b505f: Pull complete 00:55:07 e2be974225ed: Pull complete 00:55:08 339a4e72a1f5: Pull complete 00:55:08 988bab9f4d93: Pull complete 00:55:08 1469e6f7b9e6: Pull complete 00:55:08 eaf3925da568: Pull complete 00:55:10 bab4dde63d76: Pull complete 00:55:10 bde34c3a00c8: Pull complete 00:55:10 b352a97aabf1: Pull complete 00:55:10 4872d77fe225: Pull complete 00:55:11 5851b861e8e6: Pull complete 00:55:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:55:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:11 prd-ubuntu20.04-docker-8c-8g-36868 does not seem to be running inside a container 00:55:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:55:19 $ docker top 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 -eo pid,comm 00:55:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:55:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:20 [ssh-agent] Looking for ssh-agent implementation... 00:55:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:20 $ docker exec 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 ssh-agent 00:55:20 SSH_AUTH_SOCK=/tmp/ssh-KW2Un8PPPiSR/agent.32 00:55:20 SSH_AGENT_PID=38 00:55:20 Running ssh-add (command line suppressed) 00:55:20 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_1360687842138076367.key (/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_1360687842138076367.key) 00:55:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:20 + git tag --points-at HEAD [Pipeline] } 00:55:20 $ docker exec --env ******** --env ******** 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 ssh-agent -k 00:55:20 unset SSH_AUTH_SOCK; 00:55:20 unset SSH_AGENT_PID; 00:55:20 echo Agent pid 38 killed; 00:55:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:20 [ssh-agent] Looking for ssh-agent implementation... 00:55:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:21 $ docker exec 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 ssh-agent 00:55:21 SSH_AUTH_SOCK=/tmp/ssh-DMj8k78BRPPS/agent.71 00:55:21 SSH_AGENT_PID=77 00:55:21 Running ssh-add (command line suppressed) 00:55:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_3451305287187546769.key (/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/private_key_3451305287187546769.key) 00:55:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:21 + git semver init 00:55:22 2025-01-17 00:55:22,155 [run_init] DEBUG init version:0.0.0 force:False 00:55:22 2025-01-17 00:55:22,156 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-600/.semver 00:55:22 2025-01-17 00:55:22,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-600/.semver 00:55:22 2025-01-17 00:55:22,157 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-600/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-600, universal_newlines=False, shell=None, istream=None) 00:55:24 2025-01-17 00:55:23,894 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-600/.git/info/exclude 00:55:24 2025-01-17 00:55:23,894 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-600/.semver/PR-600 with force:False 00:55:24 2025-01-17 00:55:23,895 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-600/.semver/PR-600 00:55:24 2025-01-17 00:55:23,897 [execute] INFO git cat-file --batch-check 00:55:24 2025-01-17 00:55:23,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 00:55:24 2025-01-17 00:55:23,903 [execute] INFO git cat-file --batch 00:55:24 2025-01-17 00:55:23,904 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 00:55:24 2025-01-17 00:55:23,909 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-600/.semver/PR-600 00:55:24 0.0.0 [Pipeline] } 00:55:24 $ docker exec --env ******** --env ******** 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 ssh-agent -k 00:55:24 unset SSH_AUTH_SOCK; 00:55:24 unset SSH_AGENT_PID; 00:55:24 echo Agent pid 77 killed; 00:55:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:24 + git semver [Pipeline] } 00:55:24 $ docker stop --time=1 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 00:55:26 $ docker rm -f --volumes 90c97bbaebc994c6db1a8985dcb260edf8b3555344f998d88457c0e53d13e006 [Pipeline] // withDockerContainer [Pipeline] sh 00:55:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:26 Stashed 1 file(s) [Pipeline] echo 00:55:26 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:27 provisioning config files... [Pipeline] // stage [Pipeline] } 00:55:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config15686446821471317642tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 00:55:27 ---> ****-login.sh 00:55:27 nexus3.edgexfoundry.org:10001 00:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:27 Configure a credential helper to remove this warning. See 00:55:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:27 00:55:27 Login Succeeded 00:55:27 nexus3.edgexfoundry.org:10002 00:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:27 Configure a credential helper to remove this warning. See 00:55:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:27 00:55:27 Login Succeeded 00:55:27 nexus3.edgexfoundry.org:10003 00:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:27 Configure a credential helper to remove this warning. See 00:55:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:27 00:55:27 Login Succeeded 00:55:27 nexus3.edgexfoundry.org:10004 00:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:27 Configure a credential helper to remove this warning. See 00:55:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:27 00:55:27 Login Succeeded 00:55:27 ****.io 00:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:28 Configure a credential helper to remove this warning. See 00:55:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:28 00:55:28 Login Succeeded 00:55:28 ---> ****-login.sh ends [Pipeline] } 00:55:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:55:28 ========================================================= 00:55:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:55:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 00:55:28 Sending build context to Docker daemon 18.2MB 00:55:28 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 00:55:28 Step 2/10 : FROM ${BASE} AS builder 00:55:28 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:55:28 da9db072f522: Pulling fs layer 00:55:28 6ef4a4ee8ca5: Pulling fs layer 00:55:28 06f05ace1117: Pulling fs layer 00:55:28 5fe327b54edc: Pulling fs layer 00:55:28 4f4fb700ef54: Pulling fs layer 00:55:28 92a5565b7b96: Pulling fs layer 00:55:28 ff9bb7016b71: Pulling fs layer 00:55:28 5fe327b54edc: Waiting 00:55:28 4f4fb700ef54: Waiting 00:55:28 b67dba6c2c7d: Pulling fs layer 00:55:28 a813b0c90790: Pulling fs layer 00:55:28 ff9bb7016b71: Waiting 00:55:28 b67dba6c2c7d: Waiting 00:55:28 a813b0c90790: Waiting 00:55:28 6ef4a4ee8ca5: Verifying Checksum 00:55:28 6ef4a4ee8ca5: Download complete 00:55:28 5fe327b54edc: Verifying Checksum 00:55:28 5fe327b54edc: Download complete 00:55:28 4f4fb700ef54: Verifying Checksum 00:55:28 4f4fb700ef54: Download complete 00:55:28 92a5565b7b96: Verifying Checksum 00:55:28 92a5565b7b96: Download complete 00:55:28 da9db072f522: Download complete 00:55:29 ff9bb7016b71: Verifying Checksum 00:55:29 ff9bb7016b71: Download complete 00:55:29 a813b0c90790: Verifying Checksum 00:55:29 a813b0c90790: Download complete 00:55:29 da9db072f522: Pull complete 00:55:29 06f05ace1117: Download complete 00:55:29 6ef4a4ee8ca5: Pull complete 00:55:29 b67dba6c2c7d: Verifying Checksum 00:55:29 b67dba6c2c7d: Download complete 00:55:34 06f05ace1117: Pull complete 00:55:34 5fe327b54edc: Pull complete 00:55:34 4f4fb700ef54: Pull complete 00:55:35 92a5565b7b96: Pull complete 00:55:35 ff9bb7016b71: Pull complete 00:55:37 b67dba6c2c7d: Pull complete 00:55:38 a813b0c90790: Pull complete 00:55:38 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 00:55:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:55:38 ---> 3ba60ce46760 00:55:38 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:56:05 ---> Running in 09f2f8fa4f1e 00:56:06 Removing intermediate container 09f2f8fa4f1e 00:56:06 ---> 515d64f5dba3 00:56:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:07 ---> Running in dd430c2ba8b8 00:56:08 Removing intermediate container dd430c2ba8b8 00:56:08 ---> 7cc5e7b05e81 00:56:08 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:56:08 ---> Running in 5ecdb1fa8a9b 00:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:56:10 (1/8) Installing openssh-keygen (9.7_p1-r4) 00:56:10 (2/8) Installing libedit (20240517.3.1-r0) 00:56:10 (3/8) Installing openssh-client-common (9.7_p1-r4) 00:56:10 (4/8) Installing openssh-client-default (9.7_p1-r4) 00:56:10 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 00:56:10 (6/8) Installing openssh-server-common (9.7_p1-r4) 00:56:10 (7/8) Installing openssh-server (9.7_p1-r4) 00:56:10 (8/8) Installing openssh (9.7_p1-r4) 00:56:10 Executing busybox-1.36.1-r29.trigger 00:56:10 OK: 253 MiB in 66 packages 00:56:12 Removing intermediate container 5ecdb1fa8a9b 00:56:12 ---> abf21a069367 00:56:12 Step 6/10 : WORKDIR /device-modbus-go 00:56:12 ---> Running in 9c5ac4639696 00:56:12 Removing intermediate container 9c5ac4639696 00:56:12 ---> 0c3fb8b57137 00:56:12 Step 7/10 : COPY go.mod vendor* ./ 00:56:12 ---> 42d19bbb4bd3 00:56:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:12 ---> Running in 5a61a35cd037 00:57:20 Removing intermediate container 5a61a35cd037 00:57:20 ---> 6c7a7d632f37 00:57:20 Step 9/10 : COPY . . 00:57:20 ---> 93a147f5b0df 00:57:20 Step 10/10 : RUN ${MAKE} 00:57:20 ---> Running in 4174dbc6c929 00:57:20 noop 00:57:20 Removing intermediate container 4174dbc6c929 00:57:20 ---> 0893990d88c9 00:57:20 Successfully built 0893990d88c9 00:57:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:20 + docker inspect -f . ci-base-image-x86_64 00:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:21 prd-ubuntu20.04-docker-8c-8g-36868 does not seem to be running inside a container 00:57:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:57:21 $ docker top 75e413a2357fa3a9701cc69dbdb05fe1eb58ac63eecd79aeddb12f27ad5c1e75 -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:22 + go version 00:57:22 go version go1.23.4 linux/amd64 [Pipeline] } 00:57:22 $ docker stop --time=1 75e413a2357fa3a9701cc69dbdb05fe1eb58ac63eecd79aeddb12f27ad5c1e75 00:57:23 $ docker rm -f --volumes 75e413a2357fa3a9701cc69dbdb05fe1eb58ac63eecd79aeddb12f27ad5c1e75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:23 + docker inspect -f . ci-base-image-x86_64 00:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:23 prd-ubuntu20.04-docker-8c-8g-36868 does not seem to be running inside a container 00:57:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:57:24 $ docker top 8bddd12d632fbd50b77ee02e0a74f28da3e18551763b02ca1f56f9825f55992f -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-600 [Pipeline] fileExists [Pipeline] sh 00:57:24 + make test 00:57:24 go test ./... -coverprofile=coverage.out 00:57:26 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:57:48 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 00:57:48 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 45.7% of statements 00:57:57 go vet ./... 00:58:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:58:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:58:03 ./bin/test-attribution-txt.sh [Pipeline] echo 00:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:58:03 $ docker stop --time=1 8bddd12d632fbd50b77ee02e0a74f28da3e18551763b02ca1f56f9825f55992f 00:58:09 $ docker rm -f --volumes 8bddd12d632fbd50b77ee02e0a74f28da3e18551763b02ca1f56f9825f55992f [Pipeline] // withDockerContainer [Pipeline] sh 00:58:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:58:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:58:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:58:11 + ls -al . 00:58:11 total 260 00:58:11 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 00:57 . 00:58:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 00:54 .. 00:58:11 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 00:54 .dockerignore 00:58:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 00:57 .git 00:58:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 00:54 .github 00:58:11 -rw-rw-r-- 1 jenkins jenkins 266 Jan 17 00:54 .gitignore 00:58:11 -rw-rw-r-- 1 jenkins jenkins 199 Jan 17 00:54 .golangci.yml 00:58:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 00:55 .semver 00:58:11 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 17 00:54 Attribution.txt 00:58:11 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 17 00:54 CHANGELOG.md 00:58:11 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 17 00:54 Dockerfile 00:58:11 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 00:54 GOVERNANCE.md 00:58:11 -rw-rw-r-- 1 jenkins jenkins 658 Jan 17 00:54 Jenkinsfile 00:58:11 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 00:54 LICENSE 00:58:11 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 17 00:54 Makefile 00:58:11 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 00:54 OWNERS.md 00:58:11 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 17 00:54 README.md 00:58:11 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 00:55 VERSION 00:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 00:54 bin 00:58:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 00:54 cmd 00:58:11 -rw-r--r-- 1 jenkins jenkins 26779 Jan 17 00:57 coverage.out 00:58:11 -rw-rw-r-- 1 jenkins jenkins 6389 Jan 17 00:54 go.mod 00:58:11 -rw-rw-r-- 1 jenkins jenkins 86974 Jan 17 00:54 go.sum 00:58:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 00:54 internal 00:58:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 00:54 simulator 00:58:11 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:11 + 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=ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 --label arch=amd64 --label version=0.0.0 . 00:58:11 Sending build context to Docker daemon 18.23MB 00:58:11 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 00:58:11 Step 2/23 : FROM ${BASE} AS builder 00:58:11 ---> 0893990d88c9 00:58:11 Step 3/23 : ARG ADD_BUILD_TAGS="" 00:58:11 ---> Running in 1364621ed4e5 00:58:11 Removing intermediate container 1364621ed4e5 00:58:11 ---> f33afe2bbd26 00:58:11 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:58:12 ---> Running in dd1927e0b177 00:58:12 Removing intermediate container dd1927e0b177 00:58:12 ---> 0fe88fbec489 00:58:12 Step 5/23 : RUN apk add --update --no-cache make git openssh 00:58:12 ---> Running in 90b8830d2cbb 00:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:58:13 OK: 253 MiB in 66 packages 00:58:13 Removing intermediate container 90b8830d2cbb 00:58:13 ---> 37b79c9114df 00:58:13 Step 6/23 : WORKDIR /device-modbus-go 00:58:13 ---> Running in f8118dda2d73 00:58:13 Removing intermediate container f8118dda2d73 00:58:13 ---> 6fb93ddbf1cb 00:58:13 Step 7/23 : COPY go.mod vendor* ./ 00:58:13 ---> edf9d7af8f55 00:58:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:58:13 ---> Running in 190c43e42d9b 00:58:14 Removing intermediate container 190c43e42d9b 00:58:14 ---> cb322b0ac7bd 00:58:14 Step 9/23 : COPY . . 00:58:15 ---> 665723fb1158 00:58:15 Step 10/23 : RUN ${MAKE} 00:58:15 ---> Running in 472554f76762 00:58:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.18 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 00:58:54 Removing intermediate container 472554f76762 00:58:54 ---> ef84d85c3b6b 00:58:54 Step 11/23 : FROM alpine:3.20 00:58:54 3.20: Pulling from library/alpine 00:58:54 66a3d608f3fa: Pulling fs layer 00:58:54 66a3d608f3fa: Verifying Checksum 00:58:54 66a3d608f3fa: Download complete 00:58:54 66a3d608f3fa: Pull complete 00:58:54 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 00:58:54 Status: Downloaded newer image for alpine:3.20 00:58:54 ---> e29df9b510ff 00:58:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 00:58:54 ---> Running in 8e2a1478db71 00:58:54 Removing intermediate container 8e2a1478db71 00:58:54 ---> aef82abc2057 00:58:54 Step 13/23 : RUN apk add --update --no-cache dumb-init 00:58:54 ---> Running in 8eb21925cf63 00:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:58:54 (1/1) Installing dumb-init (1.2.5-r3) 00:58:54 Executing busybox-1.36.1-r29.trigger 00:58:54 OK: 8 MiB in 15 packages 00:58:54 Removing intermediate container 8eb21925cf63 00:58:54 ---> 4da39668f27c 00:58:54 Step 14/23 : RUN apk --no-cache upgrade 00:58:54 ---> Running in d2d275900eb3 00:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:58:55 OK: 8 MiB in 15 packages 00:58:56 Removing intermediate container d2d275900eb3 00:58:56 ---> 22ed4e2680a4 00:58:56 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 00:58:56 ---> 78c3d8fbaed1 00:58:56 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 00:58:57 ---> 3e257dff4607 00:58:57 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:58:57 ---> 1b1f2c5d6f37 00:58:57 Step 18/23 : EXPOSE 59901 00:58:57 ---> Running in a936a9dd3e13 00:58:57 Removing intermediate container a936a9dd3e13 00:58:57 ---> cb21b915d24d 00:58:57 Step 19/23 : ENTRYPOINT ["/device-modbus"] 00:58:57 ---> Running in 6a45d2072ed1 00:58:57 Removing intermediate container 6a45d2072ed1 00:58:57 ---> 0a7888426d17 00:58:57 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:58:57 ---> Running in bc1b1234dc10 00:58:57 Removing intermediate container bc1b1234dc10 00:58:57 ---> 6a24cfa17994 00:58:57 Step 21/23 : LABEL arch=amd64 00:58:57 ---> Running in 4ebe1b964363 00:58:57 Removing intermediate container 4ebe1b964363 00:58:57 ---> aea4b7f9f217 00:58:57 Step 22/23 : LABEL git_sha=ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 00:58:57 ---> Running in b081b0232e82 00:58:58 Removing intermediate container b081b0232e82 00:58:58 ---> 5f6e87e670c5 00:58:58 Step 23/23 : LABEL version=0.0.0 00:58:58 ---> Running in 7bf7becaf356 00:58:58 Removing intermediate container 7bf7becaf356 00:58:58 ---> 22f064dbbea2 00:58:58 [Warning] One or more build-args [ARCH] were not consumed 00:58:58 Successfully built 22f064dbbea2 00:58:58 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:58 00:58:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:58 latest: Pulling from edgex-lftools-log-publisher 00:58:58 5eb5b503b376: Pulling fs layer 00:58:58 5c69ac0246d0: Pulling fs layer 00:58:58 ec43610c2a17: Pulling fs layer 00:58:58 3a2ae6a8a46f: Pulling fs layer 00:58:58 33b1e0a273af: Pulling fs layer 00:58:58 5d3b04190fa2: Pulling fs layer 00:58:58 2f39f015ded8: Pulling fs layer 00:58:58 5d3b04190fa2: Waiting 00:58:58 33b1e0a273af: Waiting 00:58:58 2f39f015ded8: Waiting 00:58:58 3a2ae6a8a46f: Waiting 00:58:58 5c69ac0246d0: Verifying Checksum 00:58:58 5c69ac0246d0: Download complete 00:58:58 3a2ae6a8a46f: Verifying Checksum 00:58:58 3a2ae6a8a46f: Download complete 00:58:58 33b1e0a273af: Verifying Checksum 00:58:58 33b1e0a273af: Download complete 00:58:58 5d3b04190fa2: Verifying Checksum 00:58:58 5d3b04190fa2: Download complete 00:58:58 ec43610c2a17: Verifying Checksum 00:58:58 ec43610c2a17: Download complete 00:58:59 5eb5b503b376: Verifying Checksum 00:58:59 5eb5b503b376: Download complete 00:58:59 2f39f015ded8: Verifying Checksum 00:59:00 5eb5b503b376: Pull complete 00:59:00 5c69ac0246d0: Pull complete 00:59:00 ec43610c2a17: Pull complete 00:59:00 3a2ae6a8a46f: Pull complete 00:59:01 33b1e0a273af: Pull complete 00:59:01 5d3b04190fa2: Pull complete 00:59:05 2f39f015ded8: Pull complete 00:59:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:59:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:59:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:05 prd-ubuntu20.04-docker-8c-8g-36868 does not seem to be running inside a container 00:59:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:59:13 $ docker top e7f93370318cf5c0231404cb5245edca76e8d304466cb0c6759122f8ce0f128b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:13 ---> job-cost.sh 00:59:13 lf-activate-venv: SKIPPING 00:59:13 INFO: No Stack... 00:59:13 INFO: Retrieving Pricing Info for: v3-standard-8 00:59:14 INFO: Archiving Costs [Pipeline] sh 00:59:14 + cat /w/workspace/xfoundry_device-modbus-go_PR-600/archives/cost.csv 00:59:14 + cut -d, -f6 [Pipeline] lock 00:59:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-600-4-stack-cost] 00:59:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-600-4-stack-cost] did not exist. Created. 00:59:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-600-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:59:14 + echo total: 0.2199999988079071 [Pipeline] stash 00:59:14 Stashed 1 file(s) [Pipeline] } 00:59:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-600-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:59:14 $ docker stop --time=1 e7f93370318cf5c0231404cb5245edca76e8d304466cb0c6759122f8ce0f128b 00:59:16 $ docker rm -f --volumes e7f93370318cf5c0231404cb5245edca76e8d304466cb0c6759122f8ce0f128b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:59:16 provisioning config files... 00:59:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config5197492474279522222tmp [Pipeline] { [Pipeline] sh 00:59:17 + set +x 00:59:17 + curl -s https://codecov.io/bash 00:59:17 + bash -s -- 00:59:17 00:59:17 _____ _ 00:59:17 / ____| | | 00:59:17 | | ___ __| | ___ ___ _____ __ 00:59:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:59:17 | |___| (_) | (_| | __/ (_| (_) \ V / 00:59:17 \_____\___/ \__,_|\___|\___\___/ \_/ 00:59:17 Bash-1.0.6 00:59:17 00:59:17 00:59:17 ==> git version 2.25.1 found 00:59:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:59:17 Release-Date: 2020-01-08 00:59:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:59:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:59:17 ==> Jenkins CI detected. 00:59:17 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-600 00:59:17 project root: . 00:59:17 --> token set from env 00:59:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:59:17 ==> Running gcov in . (disable via -X gcov) 00:59:17 ==> Python coveragepy not found 00:59:17 ==> Searching for coverage reports in: 00:59:17 + . 00:59:17 -> Found 1 reports 00:59:17 ==> Detecting git/mercurial file structure 00:59:17 ==> Reading reports 00:59:17 + ./coverage.out bytes=26779 00:59:17 ==> Appending adjustments 00:59:17 https://docs.codecov.io/docs/fixing-reports 00:59:17 + Found adjustments 00:59:17 ==> Gzipping contents 00:59:17 8.0K /tmp/codecov.BamaUa.gz 00:59:17 ==> Uploading reports 00:59:17 url: https://codecov.io 00:59:17 query: branch=PR-600&commit=ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-600%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=600&job=&cmd_args= 00:59:17 -> Pinging Codecov 00:59:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-600&commit=ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-600%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=600&job=&cmd_args= 00:59:17 -> Uploading to 00:59:17 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5/f5f420d1-cee9-465a-ae8b-f29b880706b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250117%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250117T005917Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=60867b7b67a25e544cff15de43052277f31fcaf3a6c01d4c4a0a419a4920a7aa 00:59:17 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:17 Dload Upload Total Spent Left Speed 00:59:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 27353 --:--:-- --:--:-- --:--:-- 27353 00:59:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ec86ee9ab6fba1c12c28bbdabfb1cf2c3c7fb2a5 [Pipeline] } 00:59:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:59:18 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-600/archives ] 00:59:18 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-600/archives 00:59:18 total 16 00:59:18 drwxr-xr-x 3 root root 4096 Jan 17 00:59 . 00:59:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 00:59 .. 00:59:18 drwxr-xr-x 2 root root 4096 Jan 17 00:59 cost 00:59:18 -rw-r--r-- 1 root root 88 Jan 17 00:59 cost.csv 00:59:18 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-600/archives 00:59:18 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-600/archives 00:59:18 total 16 00:59:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 00:59 . 00:59:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 00:59 .. 00:59:18 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 00:59 cost 00:59:18 -rw-r--r-- 1 jenkins jenkins 88 Jan 17 00:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:59:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:59:19 ---> package-listing.sh 00:59:19 ++ facter osfamily 00:59:19 ++ tr '[:upper:]' '[:lower:]' 00:59:19 + OS_FAMILY=debian 00:59:19 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-600 00:59:19 + START_PACKAGES=/tmp/packages_start.txt 00:59:19 + END_PACKAGES=/tmp/packages_end.txt 00:59:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:59:19 + PACKAGES=/tmp/packages_start.txt 00:59:19 + '[' /w/workspace/xfoundry_device-modbus-go_PR-600 ']' 00:59:19 + PACKAGES=/tmp/packages_end.txt 00:59:19 + case "${OS_FAMILY}" in 00:59:19 + grep '^ii' 00:59:19 + dpkg -l 00:59:19 + '[' -f /tmp/packages_start.txt ']' 00:59:19 + '[' -f /tmp/packages_end.txt ']' 00:59:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:59:19 + '[' /w/workspace/xfoundry_device-modbus-go_PR-600 ']' 00:59:19 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-600/archives/ 00:59:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-600/archives/ [Pipeline] echo 00:59:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:59:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:59:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:20 prd-ubuntu20.04-docker-8c-8g-36868 does not seem to be running inside a container 00:59:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-600 -v /w/workspace/xfoundry_device-modbus-go_PR-600:/w/workspace/xfoundry_device-modbus-go_PR-600:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-600@tmp:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:59:21 $ docker top 59a444ab705aed7b0029fcca320fe28828d5a9d577cb2669f17ee6cae2c75dde -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:21 + touch /tmp/pre-build-complete [Pipeline] sh 00:59:22 + mkdir -p /var/log/sysstat [Pipeline] sh 00:59:22 + ls /var/log/sa-host 00:59:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:22 provisioning config files... 00:59:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-600@tmp/config11917571130573207190tmp [Pipeline] { [Pipeline] echo 00:59:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:59:22 ---> create-netrc.sh [Pipeline] } 00:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:59:23 ---> python-tools-install.sh [Pipeline] echo 00:59:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:59:23 ---> sudo-logs.sh 00:59:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:59:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:59:23 ---> job-cost.sh 00:59:23 lf-activate-venv: SKIPPING 00:59:23 DEBUG: total: 0.2199999988079071 00:59:23 INFO: Retrieving Stack Cost... 00:59:23 INFO: Retrieving Pricing Info for: v3-standard-8 00:59:24 INFO: Archiving Costs [Pipeline] echo 00:59:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:59:24 ---> logs-deploy.sh 00:59:24 lf-activate-venv: SKIPPING 00:59:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-600/4 00:59:24 INFO: archiving workspace using pattern(s): 00:59:25 Archives upload complete. 00:59:25 INFO: archiving logs to Nexus 00:59:26 ---> uname -a: 00:59:26 Linux prd-ubuntu20-04-docker-8c-8g-36868 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:59:26 00:59:26 00:59:26 ---> lscpu: 00:59:26 Architecture: x86_64 00:59:26 CPU op-mode(s): 32-bit, 64-bit 00:59:26 Byte Order: Little Endian 00:59:26 Address sizes: 40 bits physical, 48 bits virtual 00:59:26 CPU(s): 8 00:59:26 On-line CPU(s) list: 0-7 00:59:26 Thread(s) per core: 1 00:59:26 Core(s) per socket: 1 00:59:26 Socket(s): 8 00:59:26 NUMA node(s): 1 00:59:26 Vendor ID: AuthenticAMD 00:59:26 CPU family: 23 00:59:26 Model: 49 00:59:26 Model name: AMD EPYC-Rome Processor 00:59:26 Stepping: 0 00:59:26 CPU MHz: 2800.000 00:59:26 BogoMIPS: 5600.00 00:59:26 Virtualization: AMD-V 00:59:26 Hypervisor vendor: KVM 00:59:26 Virtualization type: full 00:59:26 L1d cache: 256 KiB 00:59:26 L1i cache: 256 KiB 00:59:26 L2 cache: 4 MiB 00:59:26 L3 cache: 128 MiB 00:59:26 NUMA node0 CPU(s): 0-7 00:59:26 Vulnerability Itlb multihit: Not affected 00:59:26 Vulnerability L1tf: Not affected 00:59:26 Vulnerability Mds: Not affected 00:59:26 Vulnerability Meltdown: Not affected 00:59:26 Vulnerability Mmio stale data: Not affected 00:59:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:59:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:59:26 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:59:26 Vulnerability Srbds: Not affected 00:59:26 Vulnerability Tsx async abort: Not affected 00:59:26 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:59:26 00:59:26 00:59:26 ---> nproc: 00:59:26 8 00:59:26 00:59:26 00:59:26 ---> df -h: 00:59:26 Filesystem Size Used Avail Use% Mounted on 00:59:26 overlay 155G 12G 144G 8% / 00:59:26 tmpfs 64M 0 64M 0% /dev 00:59:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:59:26 shm 64M 0 64M 0% /dev/shm 00:59:26 /dev/vda1 155G 12G 144G 8% /facter-os 00:59:26 00:59:26 00:59:26 ---> sar -b -r -n DEV: 00:59:26 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36868) 01/17/25 _x86_64_ (8 CPU) 00:59:26 00:59:26 00:54:08 LINUX RESTART (8 CPU) 00:59:26 00:59:26 00:55:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:59:26 00:56:01 75.03 4.26 70.76 0.00 557.72 32459.24 0.00 00:59:26 00:57:02 178.46 1.96 176.50 0.00 20.17 38982.55 0.00 00:59:26 00:58:01 126.05 0.12 125.93 0.00 0.95 40166.09 0.00 00:59:26 00:59:01 160.96 0.15 160.81 0.00 7.87 44906.52 0.00 00:59:26 Average: 135.21 1.63 133.58 0.00 147.17 39123.53 0.00 00:59:26 00:59:26 00:55:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:59:26 00:56:01 29190756 31524920 790676 2.40 74536 2538608 1861680 5.49 1042180 2264208 848 00:59:26 00:57:02 27025896 31457808 842632 2.56 178104 4330252 2076488 6.12 1375652 3879012 945572 00:59:26 00:58:01 27427784 31383624 908448 2.76 188556 3861132 2242664 6.61 1452352 3410132 306564 00:59:26 00:59:01 27241612 31478164 818012 2.49 193908 4151344 2070636 6.10 1410460 3655552 257532 00:59:26 Average: 27721512 31461129 839942 2.55 158776 3720334 2062867 6.08 1320161 3302226 377629 00:59:26 00:59:26 00:55:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:59:26 00:56:01 docker0 18.64 21.57 1.50 142.99 0.00 0.00 0.00 0.00 00:59:26 00:56:01 ens3 228.40 159.12 5045.43 60.83 0.00 0.00 0.00 0.00 00:59:26 00:56:01 lo 5.80 5.80 0.58 0.58 0.00 0.00 0.00 0.00 00:59:26 00:57:02 docker0 309.15 453.78 25.82 2910.76 0.00 0.00 0.00 0.00 00:59:26 00:57:02 ens3 466.47 317.23 2920.89 35.58 0.00 0.00 0.00 0.00 00:59:26 00:57:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:59:26 00:58:01 veth0d23c6e 0.00 0.19 0.00 0.02 0.00 0.00 0.00 0.00 00:59:26 00:58:01 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 00:59:26 00:58:01 ens3 26.84 16.76 34.39 11.19 0.00 0.00 0.00 0.00 00:59:26 00:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:59:26 00:59:01 docker0 4.67 9.62 0.28 114.95 0.00 0.00 0.00 0.00 00:59:26 00:59:01 ens3 112.86 69.97 2702.11 14.97 0.00 0.00 0.00 0.00 00:59:26 00:59:01 lo 2.00 2.00 0.20 0.20 0.00 0.00 0.00 0.00 00:59:26 Average: docker0 83.73 122.16 6.95 798.00 0.00 0.00 0.00 0.00 00:59:26 Average: ens3 209.72 141.50 2687.23 30.73 0.00 0.00 0.00 0.00 00:59:26 Average: lo 2.01 2.01 0.20 0.20 0.00 0.00 0.00 0.00 00:59:26 00:59:26 00:59:26 ---> sar -P ALL: 00:59:26 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36868) 01/17/25 _x86_64_ (8 CPU) 00:59:26 00:59:26 00:54:08 LINUX RESTART (8 CPU) 00:59:26 00:59:26 00:55:01 CPU %user %nice %system %iowait %steal %idle 00:59:26 00:56:01 all 5.40 0.00 2.43 8.67 0.18 83.33 00:59:26 00:56:01 0 4.43 0.00 2.57 6.68 0.17 86.14 00:59:26 00:56:01 1 4.48 0.00 2.12 0.17 0.17 93.05 00:59:26 00:56:01 2 5.88 0.00 3.62 3.30 0.15 87.04 00:59:26 00:56:01 3 6.08 0.00 2.07 0.15 0.15 91.55 00:59:26 00:56:01 4 5.39 0.00 1.66 0.40 0.10 92.44 00:59:26 00:56:01 5 5.64 0.00 2.49 5.62 0.17 86.08 00:59:26 00:56:01 6 5.90 0.00 2.12 0.56 0.25 91.16 00:59:26 00:56:01 7 5.37 0.00 2.74 52.76 0.25 38.88 00:59:26 00:57:02 all 6.29 0.00 3.11 5.39 0.07 85.14 00:59:26 00:57:02 0 6.72 0.00 3.42 1.05 0.08 88.72 00:59:26 00:57:02 1 6.28 0.00 2.50 1.89 0.07 89.26 00:59:26 00:57:02 2 5.67 0.00 3.83 15.25 0.08 75.16 00:59:26 00:57:02 3 6.19 0.00 3.17 1.39 0.10 89.15 00:59:26 00:57:02 4 4.85 0.00 2.16 0.69 0.05 92.25 00:59:26 00:57:02 5 7.42 0.00 2.85 3.38 0.07 86.28 00:59:26 00:57:02 6 6.63 0.00 4.23 17.78 0.07 71.30 00:59:26 00:57:02 7 6.53 0.00 2.75 1.78 0.07 88.87 00:59:26 00:58:01 all 42.05 0.00 7.08 2.93 0.09 47.85 00:59:26 00:58:01 0 41.68 0.00 7.48 14.54 0.10 36.19 00:59:26 00:58:01 1 41.46 0.00 7.94 2.46 0.07 48.08 00:59:26 00:58:01 2 42.75 0.00 6.92 2.22 0.07 48.03 00:59:26 00:58:01 3 41.79 0.00 7.98 1.43 0.09 48.71 00:59:26 00:58:01 4 40.10 0.00 6.10 0.45 0.09 53.27 00:59:26 00:58:01 5 42.14 0.00 6.93 0.56 0.10 50.27 00:59:26 00:58:01 6 43.05 0.00 6.65 1.14 0.10 49.05 00:59:26 00:58:01 7 43.42 0.00 6.66 0.68 0.07 49.17 00:59:26 00:59:01 all 23.54 0.00 4.54 5.51 0.08 66.33 00:59:26 00:59:01 0 24.29 0.00 4.58 2.22 0.07 68.85 00:59:26 00:59:01 1 23.01 0.00 5.38 8.85 0.10 62.66 00:59:26 00:59:01 2 22.68 0.00 4.80 1.21 0.08 71.23 00:59:26 00:59:01 3 24.27 0.00 4.75 19.74 0.08 51.15 00:59:26 00:59:01 4 22.37 0.00 3.90 1.65 0.07 72.01 00:59:26 00:59:01 5 23.13 0.00 4.80 2.87 0.08 69.11 00:59:26 00:59:01 6 23.25 0.00 3.76 6.74 0.07 66.19 00:59:26 00:59:01 7 25.31 0.00 4.39 0.82 0.08 69.39 00:59:26 Average: all 19.20 0.00 4.28 5.64 0.10 70.78 00:59:26 Average: 0 19.15 0.00 4.50 6.07 0.11 70.18 00:59:26 Average: 1 18.65 0.00 4.46 3.35 0.10 73.44 00:59:26 Average: 2 19.14 0.00 4.79 5.50 0.10 70.47 00:59:26 Average: 3 19.47 0.00 4.47 5.68 0.11 70.27 00:59:26 Average: 4 18.04 0.00 3.44 0.80 0.08 77.65 00:59:26 Average: 5 19.49 0.00 4.26 3.12 0.11 73.03 00:59:26 Average: 6 19.63 0.00 4.18 6.59 0.12 69.48 00:59:26 Average: 7 20.05 0.00 4.12 13.98 0.12 61.73 00:59:26 00:59:26 00:59:26