Pull request #616 updated 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 5d771a428539ac49c83845744eabbb2f37cf0e4f+1de0282aab08a6d55b74fb4abc8455e116b4ab4b (d332076a19b6752a72511668d4497de85870ba0b) 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-ssh14313660681833273672.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-ssh12762368647001563324.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-616/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-616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15703172570471756810.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-ssh13619527623525589937.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-616/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-616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8911740191008028370.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 ‘prd-ubuntu20.04-docker-8c-8g-39100’ is offline Running on prd-ubuntu20.04-docker-8c-8g-39101 in /w/workspace/xfoundry_device-modbus-go_PR-616 [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-616 # 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 Merging remotes/origin/main commit 1de0282aab08a6d55b74fb4abc8455e116b4ab4b into PR head commit 5d771a428539ac49c83845744eabbb2f37cf0e4f Merge succeeded, producing 21b9e44b86d86df8600474fa67150747922a03d8 Checking out Revision 21b9e44b86d86df8600474fa67150747922a03d8 (PR-616) > 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/616/head:refs/remotes/origin/PR-616 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d771a428539ac49c83845744eabbb2f37cf0e4f # 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 1de0282aab08a6d55b74fb4abc8455e116b4ab4b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21b9e44b86d86df8600474fa67150747922a03d8 # timeout=10 Commit message: "Merge commit '1de0282aab08a6d55b74fb4abc8455e116b4ab4b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:30:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:30:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:30:47 ========================================================= 04:30:47 EdgeX Global Pipelines Version Info 04:30:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0e82b4c9c3e812401e1f9811bb2d2da024c363c7 # timeout=10 04:30:48 ------------------- 04:30:48 stable info: 04:30:48 ------------------- 04:30:48 Commited By: Cherry Wang cherry@iotechsys.com 04:30:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 04:30:48 Message: update stable to v1.0.269 04:30:48 ------------------- 04:30:48 experimental info: 04:30:48 ------------------- 04:30:48 Commited By: **** collab-it+edgex@linuxfoundation.org 04:30:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 04:30:48 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-616 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-616 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-616 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21b9e44b86d86df8600474fa67150747922a03d8 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21b9e44 [Pipeline] echo 04:30:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:49 provisioning config files... 04:30:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-616@tmp/config13540209011478163932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:50 ---> ****-login.sh 04:30:50 nexus3.edgexfoundry.org:10001 04:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:50 Configure a credential helper to remove this warning. See 04:30:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:50 04:30:50 Login Succeeded 04:30:50 nexus3.edgexfoundry.org:10002 04:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:50 Configure a credential helper to remove this warning. See 04:30:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:50 04:30:50 Login Succeeded 04:30:50 nexus3.edgexfoundry.org:10003 04:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:50 Configure a credential helper to remove this warning. See 04:30:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:50 04:30:50 Login Succeeded 04:30:50 nexus3.edgexfoundry.org:10004 04:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:51 Configure a credential helper to remove this warning. See 04:30:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:51 04:30:51 Login Succeeded 04:30:51 ****.io 04:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:51 Configure a credential helper to remove this warning. See 04:30:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:51 04:30:51 Login Succeeded 04:30:51 ---> ****-login.sh ends [Pipeline] } 04:30:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:30:51 + git rev-list -1 --merges 21b9e44b86d86df8600474fa67150747922a03d8~1..21b9e44b86d86df8600474fa67150747922a03d8 [Pipeline] echo 04:30:51 -----------> git rev-list -1 --merges 21b9e44b86d86df8600474fa67150747922a03d8~1..21b9e44b86d86df8600474fa67150747922a03d8 21b9e44b86d86df8600474fa67150747922a03d8 04:30:51 21b9e44b86d86df8600474fa67150747922a03d8 [false] [Pipeline] sh 04:30:52 + git log --format=format:%s -1 21b9e44b86d86df8600474fa67150747922a03d8 [Pipeline] echo 04:30:52 ========================================================= 04:30:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:30:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:52 + git log --format=format:%s -1 21b9e44b86d86df8600474fa67150747922a03d8 [Pipeline] echo 04:30:52 [semverPrep] GIT_COMMIT: 21b9e44b86d86df8600474fa67150747922a03d8, Commit Message: Merge commit '1de0282aab08a6d55b74fb4abc8455e116b4ab4b' into HEAD [Pipeline] echo 04:30:52 [semverPrep] This is not a build commit. [Pipeline] sh 04:30:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:30:52 + grep -v github /etc/ssh/ssh_known_hosts 04:30:52 + [ -e /tmp/ssh_known_hosts ] 04:30:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:30:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:30:52 + sudo tee -a /etc/ssh/ssh_known_hosts 04:30:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:53 04:30:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:53 0.1.4: Pulling from edgex-devops/py-git-semver 04:30:53 b85a868b505f: Pulling fs layer 04:30:53 e2be974225ed: Pulling fs layer 04:30:53 339a4e72a1f5: Pulling fs layer 04:30:53 988bab9f4d93: Pulling fs layer 04:30:53 1469e6f7b9e6: Pulling fs layer 04:30:53 eaf3925da568: Pulling fs layer 04:30:53 bab4dde63d76: Pulling fs layer 04:30:53 bde34c3a00c8: Pulling fs layer 04:30:53 b352a97aabf1: Pulling fs layer 04:30:53 4872d77fe225: Pulling fs layer 04:30:53 5851b861e8e6: Pulling fs layer 04:30:53 988bab9f4d93: Waiting 04:30:53 bab4dde63d76: Waiting 04:30:53 bde34c3a00c8: Waiting 04:30:53 4872d77fe225: Waiting 04:30:53 5851b861e8e6: Waiting 04:30:53 1469e6f7b9e6: Waiting 04:30:53 eaf3925da568: Waiting 04:30:53 b352a97aabf1: Waiting 04:30:53 e2be974225ed: Download complete 04:30:53 988bab9f4d93: Download complete 04:30:53 1469e6f7b9e6: Verifying Checksum 04:30:53 1469e6f7b9e6: Download complete 04:30:53 339a4e72a1f5: Verifying Checksum 04:30:53 339a4e72a1f5: Download complete 04:30:53 eaf3925da568: Verifying Checksum 04:30:53 eaf3925da568: Download complete 04:30:53 bde34c3a00c8: Download complete 04:30:53 b352a97aabf1: Verifying Checksum 04:30:53 b352a97aabf1: Download complete 04:30:53 4872d77fe225: Verifying Checksum 04:30:53 4872d77fe225: Download complete 04:30:53 5851b861e8e6: Verifying Checksum 04:30:53 5851b861e8e6: Download complete 04:30:53 b85a868b505f: Download complete 04:30:53 bab4dde63d76: Verifying Checksum 04:30:53 bab4dde63d76: Download complete 04:30:54 b85a868b505f: Pull complete 04:30:55 e2be974225ed: Pull complete 04:30:55 339a4e72a1f5: Pull complete 04:30:55 988bab9f4d93: Pull complete 04:30:55 1469e6f7b9e6: Pull complete 04:30:55 eaf3925da568: Pull complete 04:30:57 bab4dde63d76: Pull complete 04:30:57 bde34c3a00c8: Pull complete 04:30:57 b352a97aabf1: Pull complete 04:30:57 4872d77fe225: Pull complete 04:30:57 5851b861e8e6: Pull complete 04:30:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:30:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:57 prd-ubuntu20.04-docker-8c-8g-39101 does not seem to be running inside a container 04:30:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-616 -v /w/workspace/xfoundry_device-modbus-go_PR-616:/w/workspace/xfoundry_device-modbus-go_PR-616:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-616@tmp:/w/workspace/xfoundry_device-modbus-go_PR-616@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:30:59 $ docker top 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 -eo pid,comm 04:30:59 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). 04:30:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:59 [ssh-agent] Looking for ssh-agent implementation... 04:30:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:59 $ docker exec 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 ssh-agent 04:30:59 SSH_AUTH_SOCK=/tmp/ssh-rUpI0UZwpThM/agent.31 04:30:59 SSH_AGENT_PID=37 04:30:59 Running ssh-add (command line suppressed) 04:30:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-616@tmp/private_key_1080060909194902706.key (/w/workspace/xfoundry_device-modbus-go_PR-616@tmp/private_key_1080060909194902706.key) 04:30:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:00 + git tag --points-at HEAD [Pipeline] } 04:31:00 $ docker exec --env ******** --env ******** 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 ssh-agent -k 04:31:00 unset SSH_AUTH_SOCK; 04:31:00 unset SSH_AGENT_PID; 04:31:00 echo Agent pid 37 killed; 04:31:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:31:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:31:00 [ssh-agent] Looking for ssh-agent implementation... 04:31:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:31:00 $ docker exec 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 ssh-agent 04:31:00 SSH_AUTH_SOCK=/tmp/ssh-KjGDEhlCBFkp/agent.70 04:31:00 SSH_AGENT_PID=76 04:31:00 Running ssh-add (command line suppressed) 04:31:00 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-616@tmp/private_key_18075435039780975408.key (/w/workspace/xfoundry_device-modbus-go_PR-616@tmp/private_key_18075435039780975408.key) 04:31:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:00 + git semver init 04:31:01 2025-02-17 04:31:01,101 [run_init] DEBUG init version:0.0.0 force:False 04:31:01 2025-02-17 04:31:01,102 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-616/.semver 04:31:01 2025-02-17 04:31:01,102 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-616/.semver 04:31:01 2025-02-17 04:31:01,102 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-616/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-616, universal_newlines=False, shell=None, istream=None) 04:31:02 2025-02-17 04:31:02,054 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-616/.git/info/exclude 04:31:02 2025-02-17 04:31:02,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-616/.semver/PR-616 with force:False 04:31:02 2025-02-17 04:31:02,055 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-616/.semver/PR-616 04:31:02 2025-02-17 04:31:02,057 [execute] INFO git cat-file --batch-check 04:31:02 2025-02-17 04:31:02,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-616/.semver, universal_newlines=False, shell=None, istream=) 04:31:02 2025-02-17 04:31:02,063 [execute] INFO git cat-file --batch 04:31:02 2025-02-17 04:31:02,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-616/.semver, universal_newlines=False, shell=None, istream=) 04:31:02 2025-02-17 04:31:02,069 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-616/.semver/PR-616 04:31:02 0.0.0 [Pipeline] } 04:31:02 $ docker exec --env ******** --env ******** 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 ssh-agent -k 04:31:02 unset SSH_AUTH_SOCK; 04:31:02 unset SSH_AGENT_PID; 04:31:02 echo Agent pid 76 killed; 04:31:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:31:02 + git semver [Pipeline] } 04:31:02 $ docker stop --time=1 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 04:31:04 $ docker rm -f --volumes 4b72ebdc2e33a3d7a7be667da91cd7fba29fcf7b234add7e4b9f295bb29c3c09 [Pipeline] // withDockerContainer [Pipeline] sh 04:31:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:31:04 Stashed 1 file(s) [Pipeline] echo 04:31:04 [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 04:31:05 provisioning config files... [Pipeline] // stage [Pipeline] } 04:31:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-616@tmp/config6870214993508900781tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 04:31:05 ---> ****-login.sh 04:31:05 nexus3.edgexfoundry.org:10001 04:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:31:05 Configure a credential helper to remove this warning. See 04:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:31:05 04:31:05 Login Succeeded 04:31:05 nexus3.edgexfoundry.org:10002 04:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:31:05 Configure a credential helper to remove this warning. See 04:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:31:05 04:31:05 Login Succeeded 04:31:05 nexus3.edgexfoundry.org:10003 04:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:31:05 Configure a credential helper to remove this warning. See 04:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:31:05 04:31:05 Login Succeeded 04:31:05 nexus3.edgexfoundry.org:10004 04:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:31:05 Configure a credential helper to remove this warning. See 04:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:31:05 04:31:05 Login Succeeded 04:31:05 ****.io 04:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:31:05 Configure a credential helper to remove this warning. See 04:31:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:31:05 04:31:05 Login Succeeded 04:31:05 ---> ****-login.sh ends [Pipeline] } 04:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:31:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:31:06 ========================================================= 04:31:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:31:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:06 + 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 . 04:31:06 Sending build context to Docker daemon 18.26MB 04:31:06 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:31:06 Step 2/10 : FROM ${BASE} AS builder 04:31:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:31:06 da9db072f522: Pulling fs layer 04:31:06 6ef4a4ee8ca5: Pulling fs layer 04:31:06 06f05ace1117: Pulling fs layer 04:31:06 5fe327b54edc: Pulling fs layer 04:31:06 4f4fb700ef54: Pulling fs layer 04:31:06 92a5565b7b96: Pulling fs layer 04:31:06 ff9bb7016b71: Pulling fs layer 04:31:06 b67dba6c2c7d: Pulling fs layer 04:31:06 a813b0c90790: Pulling fs layer 04:31:06 5fe327b54edc: Waiting 04:31:06 92a5565b7b96: Waiting 04:31:06 ff9bb7016b71: Waiting 04:31:06 4f4fb700ef54: Waiting 04:31:06 b67dba6c2c7d: Waiting 04:31:06 a813b0c90790: Waiting 04:31:06 6ef4a4ee8ca5: Verifying Checksum 04:31:06 6ef4a4ee8ca5: Download complete 04:31:06 5fe327b54edc: Download complete 04:31:06 4f4fb700ef54: Download complete 04:31:06 92a5565b7b96: Verifying Checksum 04:31:06 92a5565b7b96: Download complete 04:31:06 da9db072f522: Download complete 04:31:06 ff9bb7016b71: Verifying Checksum 04:31:06 ff9bb7016b71: Download complete 04:31:06 da9db072f522: Pull complete 04:31:06 a813b0c90790: Verifying Checksum 04:31:06 a813b0c90790: Download complete 04:31:06 6ef4a4ee8ca5: Pull complete 04:31:06 06f05ace1117: Verifying Checksum 04:31:06 06f05ace1117: Download complete 04:31:07 b67dba6c2c7d: Verifying Checksum 04:31:07 b67dba6c2c7d: Download complete 04:31:10 06f05ace1117: Pull complete 04:31:10 5fe327b54edc: Pull complete 04:31:10 4f4fb700ef54: Pull complete 04:31:10 92a5565b7b96: Pull complete 04:31:11 ff9bb7016b71: Pull complete 04:31:13 b67dba6c2c7d: Pull complete 04:31:13 a813b0c90790: Pull complete 04:31:13 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 04:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:31:13 ---> 3ba60ce46760 04:31:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:31:15 ---> Running in d6fa15607045 04:31:15 Removing intermediate container d6fa15607045 04:31:15 ---> 64088236a417 04:31:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:31:15 ---> Running in 729e937f363d 04:31:15 Removing intermediate container 729e937f363d 04:31:15 ---> 2ce151915a24 04:31:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:31:15 ---> Running in a64410c519ac 04:31:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:31:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:31:16 (1/8) Installing openssh-keygen (9.7_p1-r4) 04:31:16 (2/8) Installing libedit (20240517.3.1-r0) 04:31:16 (3/8) Installing openssh-client-common (9.7_p1-r4) 04:31:16 (4/8) Installing openssh-client-default (9.7_p1-r4) 04:31:16 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 04:31:16 (6/8) Installing openssh-server-common (9.7_p1-r4) 04:31:16 (7/8) Installing openssh-server (9.7_p1-r4) 04:31:16 (8/8) Installing openssh (9.7_p1-r4) 04:31:16 Executing busybox-1.36.1-r29.trigger 04:31:16 OK: 253 MiB in 66 packages 04:31:16 Removing intermediate container a64410c519ac 04:31:16 ---> faa29a32ebae 04:31:16 Step 6/10 : WORKDIR /device-modbus-go 04:31:16 ---> Running in 4e7967d92e05 04:31:17 Removing intermediate container 4e7967d92e05 04:31:17 ---> fa283f834262 04:31:17 Step 7/10 : COPY go.mod vendor* ./ 04:31:17 ---> 297c5cde130b 04:31:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:17 ---> Running in 80c2fdd3fd9e 04:32:03 Removing intermediate container 80c2fdd3fd9e 04:32:03 ---> 3110cff6c058 04:32:03 Step 9/10 : COPY . . 04:32:03 ---> 3c76d69fd33c 04:32:03 Step 10/10 : RUN ${MAKE} 04:32:03 ---> Running in a0603cbb3ebb 04:32:03 noop 04:32:03 Removing intermediate container a0603cbb3ebb 04:32:03 ---> 334db66f9f5a 04:32:03 Successfully built 334db66f9f5a 04:32:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:04 + docker inspect -f . ci-base-image-x86_64 04:32:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:04 prd-ubuntu20.04-docker-8c-8g-39101 does not seem to be running inside a container 04:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-616 -v /w/workspace/xfoundry_device-modbus-go_PR-616:/w/workspace/xfoundry_device-modbus-go_PR-616:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-616@tmp:/w/workspace/xfoundry_device-modbus-go_PR-616@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 ******** -e ******** ci-base-image-x86_64 cat 04:32:04 $ docker top a9d1d9bb76ac4a941859f54fa58ba096a859ee539c56614f8e975fde46ffe26e -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:05 + go version 04:32:05 go version go1.23.4 linux/amd64 [Pipeline] } 04:32:05 $ docker stop --time=1 a9d1d9bb76ac4a941859f54fa58ba096a859ee539c56614f8e975fde46ffe26e 04:32:06 $ docker rm -f --volumes a9d1d9bb76ac4a941859f54fa58ba096a859ee539c56614f8e975fde46ffe26e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:06 + docker inspect -f . ci-base-image-x86_64 04:32:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:06 prd-ubuntu20.04-docker-8c-8g-39101 does not seem to be running inside a container 04:32:06 $ 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-616 -v /w/workspace/xfoundry_device-modbus-go_PR-616:/w/workspace/xfoundry_device-modbus-go_PR-616:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-616@tmp:/w/workspace/xfoundry_device-modbus-go_PR-616@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 ******** -e ******** ci-base-image-x86_64 cat 04:32:07 $ docker top 41ee12c169a38011cf75fad74c143d0b07d72e885d8ac5c7a9abc1e0803dc6cc -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:07 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-616 [Pipeline] fileExists [Pipeline] sh 04:32:07 + make test 04:32:07 go test ./... -coverprofile=coverage.out 04:32:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:32:31 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 04:32:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 45.7% of statements 04:32:41 go vet ./... 04:32:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:32:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:32:46 ./bin/test-attribution-txt.sh [Pipeline] echo 04:32:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:32:46 $ docker stop --time=1 41ee12c169a38011cf75fad74c143d0b07d72e885d8ac5c7a9abc1e0803dc6cc 04:32:48 $ docker rm -f --volumes 41ee12c169a38011cf75fad74c143d0b07d72e885d8ac5c7a9abc1e0803dc6cc [Pipeline] // withDockerContainer [Pipeline] sh 04:32:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:32:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:32:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:32:50 + ls -al . 04:32:50 total 260 04:32:50 drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 04:32 . 04:32:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 04:30 .. 04:32:50 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 04:30 .dockerignore 04:32:50 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 04:32 .git 04:32:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 04:30 .github 04:32:50 -rw-rw-r-- 1 jenkins jenkins 266 Feb 17 04:30 .gitignore 04:32:50 -rw-rw-r-- 1 jenkins jenkins 199 Feb 17 04:30 .golangci.yml 04:32:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 04:31 .semver 04:32:50 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 17 04:30 Attribution.txt 04:32:50 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 17 04:30 CHANGELOG.md 04:32:50 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 17 04:30 Dockerfile 04:32:50 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 04:30 GOVERNANCE.md 04:32:50 -rw-rw-r-- 1 jenkins jenkins 658 Feb 17 04:30 Jenkinsfile 04:32:50 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 04:30 LICENSE 04:32:50 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 17 04:30 Makefile 04:32:50 -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 04:30 OWNERS.md 04:32:50 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 17 04:30 README.md 04:32:50 -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 04:31 VERSION 04:32:50 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 04:30 bin 04:32:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 04:30 cmd 04:32:50 -rw-r--r-- 1 jenkins jenkins 26779 Feb 17 04:32 coverage.out 04:32:50 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 17 04:30 go.mod 04:32:50 -rw-rw-r-- 1 jenkins jenkins 86968 Feb 17 04:30 go.sum 04:32:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 04:30 internal 04:32:50 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 04:30 simulator 04:32:50 -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:50 + 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=21b9e44b86d86df8600474fa67150747922a03d8 --label arch=amd64 --label version=0.0.0 . 04:32:50 Sending build context to Docker daemon 18.29MB 04:32:50 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 04:32:50 Step 2/23 : FROM ${BASE} AS builder 04:32:50 ---> 334db66f9f5a 04:32:50 Step 3/23 : ARG ADD_BUILD_TAGS="" 04:32:50 ---> Running in a6cf3710755a 04:32:50 Removing intermediate container a6cf3710755a 04:32:50 ---> 94678e8f8f7a 04:32:50 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:32:50 ---> Running in 5e6a7957f4a5 04:32:50 Removing intermediate container 5e6a7957f4a5 04:32:50 ---> 7de5af89537b 04:32:50 Step 5/23 : RUN apk add --update --no-cache make git openssh 04:32:50 ---> Running in 902e74e85e06 04:32:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:32:51 OK: 253 MiB in 66 packages 04:32:51 Removing intermediate container 902e74e85e06 04:32:51 ---> acbec215b32e 04:32:51 Step 6/23 : WORKDIR /device-modbus-go 04:32:51 ---> Running in 797615c7937c 04:32:51 Removing intermediate container 797615c7937c 04:32:51 ---> abea2ee2901f 04:32:51 Step 7/23 : COPY go.mod vendor* ./ 04:32:51 ---> 3b4e250cc1f9 04:32:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:51 ---> Running in f3eee22c97fc 04:32:52 Removing intermediate container f3eee22c97fc 04:32:52 ---> e69e47b052fa 04:32:52 Step 9/23 : COPY . . 04:32:53 ---> ecf708df5eb0 04:32:53 Step 10/23 : RUN ${MAKE} 04:32:53 ---> Running in 63600e5a7854 04:32:53 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.24 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 04:33:25 Removing intermediate container 63600e5a7854 04:33:25 ---> 63603923c530 04:33:25 Step 11/23 : FROM alpine:3.20 04:33:25 3.20: Pulling from library/alpine 04:33:25 0a9a5dfd008f: Pulling fs layer 04:33:25 0a9a5dfd008f: Download complete 04:33:25 0a9a5dfd008f: Pull complete 04:33:25 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 04:33:25 Status: Downloaded newer image for alpine:3.20 04:33:25 ---> ff221270b9fb 04:33:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 04:33:25 ---> Running in 264e1972762a 04:33:25 Removing intermediate container 264e1972762a 04:33:25 ---> 96622b556ced 04:33:25 Step 13/23 : RUN apk add --update --no-cache dumb-init 04:33:25 ---> Running in c3f482f68baf 04:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:33:25 (1/1) Installing dumb-init (1.2.5-r3) 04:33:25 Executing busybox-1.36.1-r29.trigger 04:33:25 OK: 8 MiB in 15 packages 04:33:25 Removing intermediate container c3f482f68baf 04:33:25 ---> fd5164ba9926 04:33:25 Step 14/23 : RUN apk --no-cache upgrade 04:33:25 ---> Running in 533a90c05b23 04:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:33:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:33:25 OK: 8 MiB in 15 packages 04:33:25 Removing intermediate container 533a90c05b23 04:33:25 ---> 4feed3162a28 04:33:25 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:33:25 ---> 38a27f068bf2 04:33:25 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:33:25 ---> 8245f5a9c569 04:33:25 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:33:25 ---> 10ad074b11e5 04:33:25 Step 18/23 : EXPOSE 59901 04:33:25 ---> Running in 529b88869fd3 04:33:25 Removing intermediate container 529b88869fd3 04:33:25 ---> 7606bb0cfd54 04:33:25 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:33:25 ---> Running in c937592f3941 04:33:25 Removing intermediate container c937592f3941 04:33:25 ---> f627c919279e 04:33:25 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 04:33:25 ---> Running in 0452f313bfe8 04:33:25 Removing intermediate container 0452f313bfe8 04:33:25 ---> 39de83802bf8 04:33:25 Step 21/23 : LABEL arch=amd64 04:33:25 ---> Running in a601c4d3f181 04:33:25 Removing intermediate container a601c4d3f181 04:33:25 ---> 5fe64a30baaf 04:33:25 Step 22/23 : LABEL git_sha=21b9e44b86d86df8600474fa67150747922a03d8 04:33:25 ---> Running in 828e3411fdd8 04:33:25 Removing intermediate container 828e3411fdd8 04:33:25 ---> ffb7894845f9 04:33:25 Step 23/23 : LABEL version=0.0.0 04:33:25 ---> Running in 5c365c6cfdd5 04:33:25 Removing intermediate container 5c365c6cfdd5 04:33:25 ---> db2324def822 04:33:25 [Warning] One or more build-args [ARCH] were not consumed 04:33:25 Successfully built db2324def822 04:33:25 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 04:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:25 04:33:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:26 latest: Pulling from edgex-lftools-log-publisher 04:33:26 5eb5b503b376: Pulling fs layer 04:33:26 5c69ac0246d0: Pulling fs layer 04:33:26 ec43610c2a17: Pulling fs layer 04:33:26 3a2ae6a8a46f: Pulling fs layer 04:33:26 33b1e0a273af: Pulling fs layer 04:33:26 3a2ae6a8a46f: Waiting 04:33:26 5d3b04190fa2: Pulling fs layer 04:33:26 33b1e0a273af: Waiting 04:33:26 2f39f015ded8: Pulling fs layer 04:33:26 5d3b04190fa2: Waiting 04:33:26 2f39f015ded8: Waiting 04:33:26 5c69ac0246d0: Verifying Checksum 04:33:26 5c69ac0246d0: Download complete 04:33:26 3a2ae6a8a46f: Verifying Checksum 04:33:26 3a2ae6a8a46f: Download complete 04:33:26 33b1e0a273af: Verifying Checksum 04:33:26 33b1e0a273af: Download complete 04:33:26 5d3b04190fa2: Verifying Checksum 04:33:26 5d3b04190fa2: Download complete 04:33:26 ec43610c2a17: Verifying Checksum 04:33:26 ec43610c2a17: Download complete 04:33:26 5eb5b503b376: Verifying Checksum 04:33:26 5eb5b503b376: Download complete 04:33:27 2f39f015ded8: Download complete 04:33:27 5eb5b503b376: Pull complete 04:33:27 5c69ac0246d0: Pull complete 04:33:28 ec43610c2a17: Pull complete 04:33:28 3a2ae6a8a46f: Pull complete 04:33:28 33b1e0a273af: Pull complete 04:33:28 5d3b04190fa2: Pull complete 04:33:32 2f39f015ded8: Pull complete 04:33:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:33 prd-ubuntu20.04-docker-8c-8g-39101 does not seem to be running inside a container 04:33:33 $ 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-616 -v /w/workspace/xfoundry_device-modbus-go_PR-616:/w/workspace/xfoundry_device-modbus-go_PR-616:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-616@tmp:/w/workspace/xfoundry_device-modbus-go_PR-616@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:33:34 $ docker top 1f37e46fc100e120ec0e0299a47a0a0b961ef2953d7c760061c735c8efdc996f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:34 ---> job-cost.sh 04:33:34 lf-activate-venv: SKIPPING 04:33:34 INFO: No Stack... 04:33:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:33:35 INFO: Archiving Costs [Pipeline] sh 04:33:35 + + catcut -d, /w/workspace/xfoundry_device-modbus-go_PR-616/archives/cost.csv -f6 04:33:35 [Pipeline] lock 04:33:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-616-2-stack-cost] 04:33:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-616-2-stack-cost] did not exist. Created. 04:33:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-616-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:33:35 + echo total: 0.2199999988079071 [Pipeline] stash 04:33:35 Stashed 1 file(s) [Pipeline] } 04:33:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-616-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:33:35 $ docker stop --time=1 1f37e46fc100e120ec0e0299a47a0a0b961ef2953d7c760061c735c8efdc996f 04:33:37 $ docker rm -f --volumes 1f37e46fc100e120ec0e0299a47a0a0b961ef2953d7c760061c735c8efdc996f [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 04:33:37 provisioning config files... 04:33:37 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-616@tmp/config17249667370385120244tmp [Pipeline] { [Pipeline] sh 04:33:37 + set +x 04:33:37 + curl -s https://codecov.io/bash 04:33:37 + bash -s -- 04:33:37 04:33:37 _____ _ 04:33:37 / ____| | | 04:33:37 | | ___ __| | ___ ___ _____ __ 04:33:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:33:37 | |___| (_) | (_| | __/ (_| (_) \ V / 04:33:37 \_____\___/ \__,_|\___|\___\___/ \_/ 04:33:37 Bash-1.0.6 04:33:37 04:33:37 04:33:37 ==> git version 2.25.1 found 04:33:37 ==> 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 04:33:37 Release-Date: 2020-01-08 04:33:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:33:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:33:37 ==> Jenkins CI detected. 04:33:37 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-616 04:33:37 project root: . 04:33:37 --> token set from env 04:33:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:33:37 ==> Running gcov in . (disable via -X gcov) 04:33:37 ==> Python coveragepy not found 04:33:37 ==> Searching for coverage reports in: 04:33:37 + . 04:33:37 -> Found 1 reports 04:33:37 ==> Detecting git/mercurial file structure 04:33:37 ==> Reading reports 04:33:37 + ./coverage.out bytes=26779 04:33:37 ==> Appending adjustments 04:33:37 https://docs.codecov.io/docs/fixing-reports 04:33:37 + Found adjustments 04:33:37 ==> Gzipping contents 04:33:37 8.0K /tmp/codecov.60OqhK.gz 04:33:37 ==> Uploading reports 04:33:37 url: https://codecov.io 04:33:37 query: branch=PR-616&commit=21b9e44b86d86df8600474fa67150747922a03d8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-616%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=616&job=&cmd_args= 04:33:37 -> Pinging Codecov 04:33:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-616&commit=21b9e44b86d86df8600474fa67150747922a03d8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-616%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=616&job=&cmd_args= 04:33:38 -> Uploading to 04:33:38 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/21b9e44b86d86df8600474fa67150747922a03d8/4cb64194-23f1-4756-a30e-f0173fc94d2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250217%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250217T043337Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=849e7bbb7a25a1a5ba2ba72d03c50dea979282acccbc56ef2a514943b9655340 04:33:38 % Total % Received % Xferd Average Speed Time Time Time Current 04:33:38 Dload Upload Total Spent Left Speed 04:33:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 25805 --:--:-- --:--:-- --:--:-- 25805 04:33:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/21b9e44b86d86df8600474fa67150747922a03d8 [Pipeline] } 04:33:38 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 04:33:39 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-616/archives ] 04:33:39 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-616/archives 04:33:39 total 16 04:33:39 drwxr-xr-x 3 root root 4096 Feb 17 04:33 . 04:33:39 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 04:33 .. 04:33:39 drwxr-xr-x 2 root root 4096 Feb 17 04:33 cost 04:33:39 -rw-r--r-- 1 root root 88 Feb 17 04:33 cost.csv 04:33:39 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-616/archives 04:33:39 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-616/archives 04:33:39 total 16 04:33:39 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 04:33 . 04:33:39 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 04:33 .. 04:33:39 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 04:33 cost 04:33:39 -rw-r--r-- 1 jenkins jenkins 88 Feb 17 04:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:33:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:33:40 ---> package-listing.sh 04:33:40 ++ facter osfamily 04:33:40 ++ tr '[:upper:]' '[:lower:]' 04:33:40 + OS_FAMILY=debian 04:33:40 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-616 04:33:40 + START_PACKAGES=/tmp/packages_start.txt 04:33:40 + END_PACKAGES=/tmp/packages_end.txt 04:33:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:33:40 + PACKAGES=/tmp/packages_start.txt 04:33:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-616 ']' 04:33:40 + PACKAGES=/tmp/packages_end.txt 04:33:40 + case "${OS_FAMILY}" in 04:33:40 + dpkg -l 04:33:40 + grep '^ii' 04:33:40 + '[' -f /tmp/packages_start.txt ']' 04:33:40 + '[' -f /tmp/packages_end.txt ']' 04:33:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:33:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-616 ']' 04:33:40 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-616/archives/ 04:33:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-616/archives/ [Pipeline] echo 04:33:40 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-616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:33:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:41 prd-ubuntu20.04-docker-8c-8g-39101 does not seem to be running inside a container 04:33:41 $ 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-616/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-616 -v /w/workspace/xfoundry_device-modbus-go_PR-616:/w/workspace/xfoundry_device-modbus-go_PR-616:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-616@tmp:/w/workspace/xfoundry_device-modbus-go_PR-616@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 04:33:41 $ docker top 75873c538e7e7548c70ba49c20655495666e1300bfca5413a9409f6ab5ea50b0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:42 + touch /tmp/pre-build-complete [Pipeline] sh 04:33:42 + mkdir -p /var/log/sysstat [Pipeline] sh 04:33:42 + ls /var/log/sa-host 04:33:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:42 provisioning config files... 04:33:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-616@tmp/config8094122259887199381tmp [Pipeline] { [Pipeline] echo 04:33:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:33:43 ---> create-netrc.sh [Pipeline] } 04:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:33:43 ---> python-tools-install.sh [Pipeline] echo 04:33:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:33:43 ---> sudo-logs.sh 04:33:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:33:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:33:44 ---> job-cost.sh 04:33:44 lf-activate-venv: SKIPPING 04:33:44 DEBUG: total: 0.2199999988079071 04:33:44 INFO: Retrieving Stack Cost... 04:33:44 INFO: Retrieving Pricing Info for: v3-standard-8 04:33:44 INFO: Archiving Costs [Pipeline] echo 04:33:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:33:44 ---> logs-deploy.sh 04:33:44 lf-activate-venv: SKIPPING 04:33:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-616/2 04:33:44 INFO: archiving workspace using pattern(s): 04:33:45 Archives upload complete. 04:33:45 INFO: archiving logs to Nexus