Pull request #617 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 160951fd142c2a29a27987a636420e4249c6f47a+d7843eb9fff04d81f7905769d603012160cefa56 (f6cc1a7fd9aa0397cfa70a93a22b875f18197a58) 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-ssh11885934379058469876.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-ssh9066064738880626900.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-617/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-617/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8224747397075321423.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-ssh18428921890952625426.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-617/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-617/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1064768235661517209.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-39379 in /w/workspace/xfoundry_device-modbus-go_PR-617 [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-617 # 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/617/head:refs/remotes/origin/PR-617 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7843eb9fff04d81f7905769d603012160cefa56 into PR head commit 160951fd142c2a29a27987a636420e4249c6f47a Merge succeeded, producing 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 Checking out Revision 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 (PR-617) > git config core.sparsecheckout # timeout=10 > git checkout -f 160951fd142c2a29a27987a636420e4249c6f47a # 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 d7843eb9fff04d81f7905769d603012160cefa56 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 # timeout=10 Commit message: "Merge commit 'd7843eb9fff04d81f7905769d603012160cefa56' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 35dac0732312828d71294da6fef1ac9e833f1c24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:56:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:56:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:56:44 ========================================================= 01:56:44 EdgeX Global Pipelines Version Info 01:56:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:56:44 ------------------- 01:56:44 stable info: 01:56:44 ------------------- 01:56:44 Commited By: Cherry Wang cherry@iotechsys.com 01:56:44 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:56:44 Message: update stable to v1.0.269 01:56:45 ------------------- 01:56:45 experimental info: 01:56:45 ------------------- 01:56:45 Commited By: **** collab-it+edgex@linuxfoundation.org 01:56:45 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:56:45 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-617 [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-617 [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-617 [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bb68b3 [Pipeline] echo 01:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:46 provisioning config files... 01:56:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-617@tmp/config4978505344360534328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:46 ---> ****-login.sh 01:56:46 nexus3.edgexfoundry.org:10001 01:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:47 Configure a credential helper to remove this warning. See 01:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:47 01:56:47 Login Succeeded 01:56:47 nexus3.edgexfoundry.org:10002 01:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:47 Configure a credential helper to remove this warning. See 01:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:47 01:56:47 Login Succeeded 01:56:47 nexus3.edgexfoundry.org:10003 01:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:47 Configure a credential helper to remove this warning. See 01:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:47 01:56:47 Login Succeeded 01:56:47 nexus3.edgexfoundry.org:10004 01:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:47 Configure a credential helper to remove this warning. See 01:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:47 01:56:47 Login Succeeded 01:56:47 ****.io 01:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:47 Configure a credential helper to remove this warning. See 01:56:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:47 01:56:47 Login Succeeded 01:56:47 ---> ****-login.sh ends [Pipeline] } 01:56:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:56:48 + git rev-list -1 --merges 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0~1..3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 [Pipeline] echo 01:56:48 -----------> git rev-list -1 --merges 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0~1..3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 01:56:48 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 [false] [Pipeline] sh 01:56:48 + git log --format=format:%s -1 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 [Pipeline] echo 01:56:48 ========================================================= 01:56:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:56:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:49 + git log --format=format:%s -1 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 [Pipeline] echo 01:56:49 [semverPrep] GIT_COMMIT: 3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0, Commit Message: Merge commit 'd7843eb9fff04d81f7905769d603012160cefa56' into HEAD [Pipeline] echo 01:56:49 [semverPrep] This is not a build commit. [Pipeline] sh 01:56:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:49 + grep -v github /etc/ssh/ssh_known_hosts 01:56:49 + [ -e /tmp/ssh_known_hosts ] 01:56:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:56:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:56:49 + sudo tee -a /etc/ssh/ssh_known_hosts 01:56:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:49 01:56:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:50 0.1.4: Pulling from edgex-devops/py-git-semver 01:56:50 b85a868b505f: Pulling fs layer 01:56:50 e2be974225ed: Pulling fs layer 01:56:50 339a4e72a1f5: Pulling fs layer 01:56:50 988bab9f4d93: Pulling fs layer 01:56:50 1469e6f7b9e6: Pulling fs layer 01:56:50 eaf3925da568: Pulling fs layer 01:56:50 bab4dde63d76: Pulling fs layer 01:56:50 bde34c3a00c8: Pulling fs layer 01:56:50 b352a97aabf1: Pulling fs layer 01:56:50 4872d77fe225: Pulling fs layer 01:56:50 5851b861e8e6: Pulling fs layer 01:56:50 bab4dde63d76: Waiting 01:56:50 988bab9f4d93: Waiting 01:56:50 b352a97aabf1: Waiting 01:56:50 bde34c3a00c8: Waiting 01:56:50 4872d77fe225: Waiting 01:56:50 5851b861e8e6: Waiting 01:56:50 eaf3925da568: Waiting 01:56:50 e2be974225ed: Download complete 01:56:50 988bab9f4d93: Verifying Checksum 01:56:50 988bab9f4d93: Download complete 01:56:50 1469e6f7b9e6: Verifying Checksum 01:56:50 1469e6f7b9e6: Download complete 01:56:50 339a4e72a1f5: Verifying Checksum 01:56:50 339a4e72a1f5: Download complete 01:56:50 bde34c3a00c8: Verifying Checksum 01:56:50 bde34c3a00c8: Download complete 01:56:50 b352a97aabf1: Download complete 01:56:50 4872d77fe225: Verifying Checksum 01:56:50 4872d77fe225: Download complete 01:56:50 5851b861e8e6: Verifying Checksum 01:56:50 5851b861e8e6: Download complete 01:56:50 b85a868b505f: Verifying Checksum 01:56:50 b85a868b505f: Download complete 01:56:50 bab4dde63d76: Verifying Checksum 01:56:50 bab4dde63d76: Download complete 01:56:51 b85a868b505f: Pull complete 01:56:51 e2be974225ed: Pull complete 01:56:52 339a4e72a1f5: Pull complete 01:56:52 988bab9f4d93: Pull complete 01:56:52 1469e6f7b9e6: Pull complete 01:56:52 eaf3925da568: Pull complete 01:56:54 bab4dde63d76: Pull complete 01:56:54 bde34c3a00c8: Pull complete 01:56:54 b352a97aabf1: Pull complete 01:56:54 4872d77fe225: Pull complete 01:56:54 5851b861e8e6: Pull complete 01:56:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:56:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:55 prd-ubuntu20.04-docker-8c-8g-39379 does not seem to be running inside a container 01:56:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-617 -v /w/workspace/xfoundry_device-modbus-go_PR-617:/w/workspace/xfoundry_device-modbus-go_PR-617:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-617@tmp:/w/workspace/xfoundry_device-modbus-go_PR-617@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 01:56:56 $ docker top c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 -eo pid,comm 01:56:56 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). 01:56:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:57 [ssh-agent] Looking for ssh-agent implementation... 01:56:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:57 $ docker exec c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 ssh-agent 01:56:57 SSH_AUTH_SOCK=/tmp/ssh-MlnRzjool32A/agent.32 01:56:57 SSH_AGENT_PID=38 01:56:57 Running ssh-add (command line suppressed) 01:56:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-617@tmp/private_key_7442242725266998150.key (/w/workspace/xfoundry_device-modbus-go_PR-617@tmp/private_key_7442242725266998150.key) 01:56:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:57 + git tag --points-at HEAD [Pipeline] } 01:56:57 $ docker exec --env ******** --env ******** c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 ssh-agent -k 01:56:57 unset SSH_AUTH_SOCK; 01:56:57 unset SSH_AGENT_PID; 01:56:57 echo Agent pid 38 killed; 01:56:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:56:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:57 [ssh-agent] Looking for ssh-agent implementation... 01:56:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:57 $ docker exec c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 ssh-agent 01:56:58 SSH_AUTH_SOCK=/tmp/ssh-tixyOTzxhIqv/agent.71 01:56:58 SSH_AGENT_PID=77 01:56:58 Running ssh-add (command line suppressed) 01:56:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-617@tmp/private_key_17378370859787285784.key (/w/workspace/xfoundry_device-modbus-go_PR-617@tmp/private_key_17378370859787285784.key) 01:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:58 + git semver init 01:56:58 2025-02-21 01:56:58,742 [run_init] DEBUG init version:0.0.0 force:False 01:56:58 2025-02-21 01:56:58,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-617/.semver 01:56:58 2025-02-21 01:56:58,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-617/.semver 01:56:58 2025-02-21 01:56:58,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-617/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-617, universal_newlines=False, shell=None, istream=None) 01:56:59 2025-02-21 01:56:59,676 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-617/.git/info/exclude 01:56:59 2025-02-21 01:56:59,677 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-617/.semver/PR-617 with force:False 01:56:59 2025-02-21 01:56:59,677 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-617/.semver/PR-617 01:56:59 2025-02-21 01:56:59,682 [execute] INFO git cat-file --batch-check 01:56:59 2025-02-21 01:56:59,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-617/.semver, universal_newlines=False, shell=None, istream=) 01:56:59 2025-02-21 01:56:59,689 [execute] INFO git cat-file --batch 01:56:59 2025-02-21 01:56:59,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-617/.semver, universal_newlines=False, shell=None, istream=) 01:56:59 2025-02-21 01:56:59,694 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-617/.semver/PR-617 01:56:59 0.0.0 [Pipeline] } 01:56:59 $ docker exec --env ******** --env ******** c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 ssh-agent -k 01:56:59 unset SSH_AUTH_SOCK; 01:56:59 unset SSH_AGENT_PID; 01:56:59 echo Agent pid 77 killed; 01:56:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:57:00 + git semver [Pipeline] } 01:57:00 $ docker stop --time=1 c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 01:57:01 $ docker rm -f --volumes c53f65cd0f6d996e1dd3c90e106b63750f31c7b7ce1206e8172ef4b7bfc8c191 [Pipeline] // withDockerContainer [Pipeline] sh 01:57:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:57:02 Stashed 1 file(s) [Pipeline] echo 01:57:02 [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 01:57:02 provisioning config files... [Pipeline] // stage [Pipeline] } 01:57:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-617@tmp/config9130376519421702154tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:03 ---> ****-login.sh 01:57:03 nexus3.edgexfoundry.org:10001 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 nexus3.edgexfoundry.org:10002 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 nexus3.edgexfoundry.org:10003 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 nexus3.edgexfoundry.org:10004 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 ****.io 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 ---> ****-login.sh ends [Pipeline] } 01:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:03 ========================================================= 01:57:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:57:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:04 + 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 . 01:57:04 Sending build context to Docker daemon 18.14MB 01:57:04 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 01:57:04 Step 2/10 : FROM ${BASE} AS builder 01:57:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:57:04 da9db072f522: Pulling fs layer 01:57:04 6ef4a4ee8ca5: Pulling fs layer 01:57:04 06f05ace1117: Pulling fs layer 01:57:04 5fe327b54edc: Pulling fs layer 01:57:04 4f4fb700ef54: Pulling fs layer 01:57:04 92a5565b7b96: Pulling fs layer 01:57:04 ff9bb7016b71: Pulling fs layer 01:57:04 b67dba6c2c7d: Pulling fs layer 01:57:04 a813b0c90790: Pulling fs layer 01:57:04 92a5565b7b96: Waiting 01:57:04 ff9bb7016b71: Waiting 01:57:04 5fe327b54edc: Waiting 01:57:04 4f4fb700ef54: Waiting 01:57:04 b67dba6c2c7d: Waiting 01:57:04 a813b0c90790: Waiting 01:57:04 6ef4a4ee8ca5: Download complete 01:57:04 5fe327b54edc: Verifying Checksum 01:57:04 5fe327b54edc: Download complete 01:57:04 4f4fb700ef54: Verifying Checksum 01:57:04 4f4fb700ef54: Download complete 01:57:04 da9db072f522: Download complete 01:57:04 92a5565b7b96: Verifying Checksum 01:57:04 92a5565b7b96: Download complete 01:57:04 ff9bb7016b71: Verifying Checksum 01:57:04 ff9bb7016b71: Download complete 01:57:04 da9db072f522: Pull complete 01:57:04 6ef4a4ee8ca5: Pull complete 01:57:04 a813b0c90790: Verifying Checksum 01:57:04 a813b0c90790: Download complete 01:57:04 06f05ace1117: Verifying Checksum 01:57:04 06f05ace1117: Download complete 01:57:05 b67dba6c2c7d: Verifying Checksum 01:57:05 b67dba6c2c7d: Download complete 01:57:08 06f05ace1117: Pull complete 01:57:08 5fe327b54edc: Pull complete 01:57:08 4f4fb700ef54: Pull complete 01:57:08 92a5565b7b96: Pull complete 01:57:08 ff9bb7016b71: Pull complete 01:57:11 b67dba6c2c7d: Pull complete 01:57:11 a813b0c90790: Pull complete 01:57:11 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:57:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:57:11 ---> 3ba60ce46760 01:57:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 01:57:14 ---> Running in 18a8cc557f29 01:57:14 Removing intermediate container 18a8cc557f29 01:57:14 ---> 97a22f38779b 01:57:14 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:14 ---> Running in 379d922ee622 01:57:14 Removing intermediate container 379d922ee622 01:57:14 ---> 3b50618cd0f5 01:57:14 Step 5/10 : RUN apk add --update --no-cache make git openssh 01:57:14 ---> Running in fddd01932137 01:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:57:15 (1/8) Installing openssh-keygen (9.7_p1-r4) 01:57:15 (2/8) Installing libedit (20240517.3.1-r0) 01:57:15 (3/8) Installing openssh-client-common (9.7_p1-r4) 01:57:15 (4/8) Installing openssh-client-default (9.7_p1-r4) 01:57:15 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 01:57:15 (6/8) Installing openssh-server-common (9.7_p1-r4) 01:57:15 (7/8) Installing openssh-server (9.7_p1-r4) 01:57:15 (8/8) Installing openssh (9.7_p1-r4) 01:57:15 Executing busybox-1.36.1-r29.trigger 01:57:15 OK: 253 MiB in 66 packages 01:57:15 Removing intermediate container fddd01932137 01:57:15 ---> 781a3e35fb37 01:57:15 Step 6/10 : WORKDIR /device-modbus-go 01:57:15 ---> Running in 8b9d820eb767 01:57:16 Removing intermediate container 8b9d820eb767 01:57:16 ---> 8372005971cf 01:57:16 Step 7/10 : COPY go.mod vendor* ./ 01:57:16 ---> c0ffa7386285 01:57:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:16 ---> Running in dcb3f9952320 01:57:54 Removing intermediate container dcb3f9952320 01:57:54 ---> 2ed24c8992f0 01:57:54 Step 9/10 : COPY . . 01:57:54 ---> 5dd9d9079d4e 01:57:54 Step 10/10 : RUN ${MAKE} 01:57:54 ---> Running in b88342465abe 01:57:54 noop 01:57:54 Removing intermediate container b88342465abe 01:57:54 ---> 59c6ba824270 01:57:54 Successfully built 59c6ba824270 01:57:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:55 + docker inspect -f . ci-base-image-x86_64 01:57:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:55 prd-ubuntu20.04-docker-8c-8g-39379 does not seem to be running inside a container 01:57:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-617 -v /w/workspace/xfoundry_device-modbus-go_PR-617:/w/workspace/xfoundry_device-modbus-go_PR-617:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-617@tmp:/w/workspace/xfoundry_device-modbus-go_PR-617@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 01:57:55 $ docker top 24d385d3363fad16fc98e4524414aa541c319e30863a01500416a76dd6d4666b -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:55 + go version 01:57:55 go version go1.23.4 linux/amd64 [Pipeline] } 01:57:55 $ docker stop --time=1 24d385d3363fad16fc98e4524414aa541c319e30863a01500416a76dd6d4666b 01:57:57 $ docker rm -f --volumes 24d385d3363fad16fc98e4524414aa541c319e30863a01500416a76dd6d4666b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:57 + docker inspect -f . ci-base-image-x86_64 01:57:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:57 prd-ubuntu20.04-docker-8c-8g-39379 does not seem to be running inside a container 01:57:57 $ 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-617 -v /w/workspace/xfoundry_device-modbus-go_PR-617:/w/workspace/xfoundry_device-modbus-go_PR-617:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-617@tmp:/w/workspace/xfoundry_device-modbus-go_PR-617@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 01:57:58 $ docker top e0df7ca0d5775f7ce1d5ed25c29b1bd18c1cd33e9fafbf6696500938db26183c -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:58 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-617 [Pipeline] fileExists [Pipeline] sh 01:57:58 + make test 01:57:58 go test ./... -coverprofile=coverage.out 01:58:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:58:18 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 01:58:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 45.2% of statements 01:58:28 go vet ./... 01:58:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:32 ./bin/test-attribution-txt.sh [Pipeline] echo 01:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:58:32 $ docker stop --time=1 e0df7ca0d5775f7ce1d5ed25c29b1bd18c1cd33e9fafbf6696500938db26183c 01:58:35 $ docker rm -f --volumes e0df7ca0d5775f7ce1d5ed25c29b1bd18c1cd33e9fafbf6696500938db26183c [Pipeline] // withDockerContainer [Pipeline] sh 01:58:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:58:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:36 + ls -al . 01:58:36 total 260 01:58:36 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 01:57 . 01:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 01:56 .. 01:58:36 -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 01:56 .dockerignore 01:58:36 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 01:58 .git 01:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 01:56 .github 01:58:36 -rw-rw-r-- 1 jenkins jenkins 266 Feb 21 01:56 .gitignore 01:58:36 -rw-rw-r-- 1 jenkins jenkins 199 Feb 21 01:56 .golangci.yml 01:58:36 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 01:56 .semver 01:58:36 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 21 01:56 Attribution.txt 01:58:36 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 21 01:56 CHANGELOG.md 01:58:36 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 21 01:56 Dockerfile 01:58:36 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 01:56 GOVERNANCE.md 01:58:36 -rw-rw-r-- 1 jenkins jenkins 658 Feb 21 01:56 Jenkinsfile 01:58:36 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 01:56 LICENSE 01:58:36 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 21 01:56 Makefile 01:58:36 -rw-rw-r-- 1 jenkins jenkins 622 Feb 21 01:56 OWNERS.md 01:58:36 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 21 01:56 README.md 01:58:36 -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 01:57 VERSION 01:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 01:56 bin 01:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 01:56 cmd 01:58:36 -rw-r--r-- 1 jenkins jenkins 26862 Feb 21 01:58 coverage.out 01:58:36 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 21 01:56 go.mod 01:58:36 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 21 01:56 go.sum 01:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 01:56 internal 01:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 01:56 simulator 01:58:36 -rw-rw-r-- 1 jenkins jenkins 229 Feb 21 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:37 + 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=3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 --label arch=amd64 --label version=0.0.0 . 01:58:37 Sending build context to Docker daemon 18.16MB 01:58:37 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 01:58:37 Step 2/23 : FROM ${BASE} AS builder 01:58:37 ---> 59c6ba824270 01:58:37 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:58:37 ---> Running in 4146042b497c 01:58:37 Removing intermediate container 4146042b497c 01:58:37 ---> bf83100c2090 01:58:37 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:58:37 ---> Running in b755b4cac8c9 01:58:37 Removing intermediate container b755b4cac8c9 01:58:37 ---> 14d584ba1237 01:58:37 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:58:37 ---> Running in 9cd9671f00a7 01:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:58:38 OK: 253 MiB in 66 packages 01:58:38 Removing intermediate container 9cd9671f00a7 01:58:38 ---> 9da6b3758c4f 01:58:38 Step 6/23 : WORKDIR /device-modbus-go 01:58:38 ---> Running in 07dfbf42d243 01:58:38 Removing intermediate container 07dfbf42d243 01:58:38 ---> 23ae1c497b62 01:58:38 Step 7/23 : COPY go.mod vendor* ./ 01:58:38 ---> ed171732615e 01:58:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:38 ---> Running in 6ab5dd3a93ac 01:58:39 Removing intermediate container 6ab5dd3a93ac 01:58:39 ---> aaa66b293e2f 01:58:39 Step 9/23 : COPY . . 01:58:39 ---> 8f8688d44c59 01:58:39 Step 10/23 : RUN ${MAKE} 01:58:39 ---> Running in 562bd6f61d7e 01:58:40 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.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 01:59:06 Removing intermediate container 562bd6f61d7e 01:59:06 ---> f510d08f58a4 01:59:06 Step 11/23 : FROM alpine:3.20 01:59:07 3.20: Pulling from library/alpine 01:59:07 0a9a5dfd008f: Pulling fs layer 01:59:07 0a9a5dfd008f: Verifying Checksum 01:59:07 0a9a5dfd008f: Download complete 01:59:07 0a9a5dfd008f: Pull complete 01:59:07 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:59:07 Status: Downloaded newer image for alpine:3.20 01:59:07 ---> ff221270b9fb 01:59:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 01:59:07 ---> Running in fd044445fb68 01:59:08 Removing intermediate container fd044445fb68 01:59:08 ---> 1df084e382d0 01:59:08 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:59:08 ---> Running in 16d96b1c39db 01:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:59:08 (1/1) Installing dumb-init (1.2.5-r3) 01:59:08 Executing busybox-1.36.1-r29.trigger 01:59:08 OK: 8 MiB in 15 packages 01:59:09 Removing intermediate container 16d96b1c39db 01:59:09 ---> 681b92b6422e 01:59:09 Step 14/23 : RUN apk --no-cache upgrade 01:59:09 ---> Running in 5adf665e814d 01:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:59:09 OK: 8 MiB in 15 packages 01:59:09 Removing intermediate container 5adf665e814d 01:59:09 ---> cad72bccdedd 01:59:09 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:59:10 ---> ff42d5271b55 01:59:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:59:10 ---> e45d7e2f55e6 01:59:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:59:10 ---> e0b089a82cf8 01:59:10 Step 18/23 : EXPOSE 59901 01:59:10 ---> Running in cf59471cae26 01:59:10 Removing intermediate container cf59471cae26 01:59:10 ---> bd6b64535c77 01:59:10 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:59:10 ---> Running in cecd40dc7d1f 01:59:11 Removing intermediate container cecd40dc7d1f 01:59:11 ---> d1a3df05cc10 01:59:11 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:59:11 ---> Running in fe3856336091 01:59:11 Removing intermediate container fe3856336091 01:59:11 ---> a08852cbf565 01:59:11 Step 21/23 : LABEL arch=amd64 01:59:11 ---> Running in d87161636125 01:59:11 Removing intermediate container d87161636125 01:59:11 ---> 591e7fb3db29 01:59:11 Step 22/23 : LABEL git_sha=3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 01:59:11 ---> Running in bce53bbeeb5e 01:59:11 Removing intermediate container bce53bbeeb5e 01:59:11 ---> 4d3144ae60f4 01:59:11 Step 23/23 : LABEL version=0.0.0 01:59:11 ---> Running in 1a4d42e6fc9c 01:59:11 Removing intermediate container 1a4d42e6fc9c 01:59:11 ---> 52b5e05c44a9 01:59:11 [Warning] One or more build-args [ARCH] were not consumed 01:59:11 Successfully built 52b5e05c44a9 01:59:11 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 01:59:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:11 01:59:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:12 latest: Pulling from edgex-lftools-log-publisher 01:59:12 5eb5b503b376: Pulling fs layer 01:59:12 5c69ac0246d0: Pulling fs layer 01:59:12 ec43610c2a17: Pulling fs layer 01:59:12 3a2ae6a8a46f: Pulling fs layer 01:59:12 33b1e0a273af: Pulling fs layer 01:59:12 5d3b04190fa2: Pulling fs layer 01:59:12 2f39f015ded8: Pulling fs layer 01:59:12 33b1e0a273af: Waiting 01:59:12 3a2ae6a8a46f: Waiting 01:59:12 5d3b04190fa2: Waiting 01:59:12 2f39f015ded8: Waiting 01:59:12 5c69ac0246d0: Verifying Checksum 01:59:12 5c69ac0246d0: Download complete 01:59:12 3a2ae6a8a46f: Verifying Checksum 01:59:12 3a2ae6a8a46f: Download complete 01:59:12 33b1e0a273af: Verifying Checksum 01:59:12 33b1e0a273af: Download complete 01:59:12 5d3b04190fa2: Download complete 01:59:12 ec43610c2a17: Download complete 01:59:12 5eb5b503b376: Verifying Checksum 01:59:12 5eb5b503b376: Download complete 01:59:13 5eb5b503b376: Pull complete 01:59:13 5c69ac0246d0: Pull complete 01:59:13 ec43610c2a17: Pull complete 01:59:13 3a2ae6a8a46f: Pull complete 01:59:14 33b1e0a273af: Pull complete 01:59:14 5d3b04190fa2: Pull complete 01:59:18 2f39f015ded8: Pull complete 01:59:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:18 prd-ubuntu20.04-docker-8c-8g-39379 does not seem to be running inside a container 01:59:18 $ 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-617 -v /w/workspace/xfoundry_device-modbus-go_PR-617:/w/workspace/xfoundry_device-modbus-go_PR-617:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-617@tmp:/w/workspace/xfoundry_device-modbus-go_PR-617@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 01:59:20 $ docker top b050d9182d6ab7515f39b7ec8a46ea577fd941899c689f39bd93bfe187d5a854 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:20 ---> job-cost.sh 01:59:20 lf-activate-venv: SKIPPING 01:59:20 INFO: No Stack... 01:59:20 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:21 INFO: Archiving Costs [Pipeline] sh 01:59:21 + + cat /w/workspace/xfoundry_device-modbus-go_PR-617/archives/cost.csvcut 01:59:21 -d, -f6 [Pipeline] lock 01:59:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-617-3-stack-cost] 01:59:23 Resource [jenkins-edgexfoundry-device-modbus-go-PR-617-3-stack-cost] did not exist. Created. 01:59:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-617-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:24 + echo total: 0.2199999988079071 [Pipeline] stash 01:59:24 Stashed 1 file(s) [Pipeline] } 01:59:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-617-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:24 $ docker stop --time=1 b050d9182d6ab7515f39b7ec8a46ea577fd941899c689f39bd93bfe187d5a854 01:59:25 $ docker rm -f --volumes b050d9182d6ab7515f39b7ec8a46ea577fd941899c689f39bd93bfe187d5a854 [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 01:59:25 provisioning config files... 01:59:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-617@tmp/config2666306187818384840tmp [Pipeline] { [Pipeline] sh 01:59:26 + set +x 01:59:26 + curl -s https://codecov.io/bash 01:59:26 + bash -s -- 01:59:26 01:59:26 _____ _ 01:59:26 / ____| | | 01:59:26 | | ___ __| | ___ ___ _____ __ 01:59:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:59:26 | |___| (_) | (_| | __/ (_| (_) \ V / 01:59:26 \_____\___/ \__,_|\___|\___\___/ \_/ 01:59:26 Bash-1.0.6 01:59:26 01:59:26 01:59:26 ==> git version 2.25.1 found 01:59:26 ==> 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 01:59:26 Release-Date: 2020-01-08 01:59:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:59:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:59:26 ==> Jenkins CI detected. 01:59:26 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-617 01:59:26 project root: . 01:59:26 --> token set from env 01:59:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:59:26 ==> Running gcov in . (disable via -X gcov) 01:59:26 ==> Python coveragepy not found 01:59:26 ==> Searching for coverage reports in: 01:59:26 + . 01:59:26 -> Found 1 reports 01:59:26 ==> Detecting git/mercurial file structure 01:59:26 ==> Reading reports 01:59:26 + ./coverage.out bytes=26862 01:59:26 ==> Appending adjustments 01:59:26 https://docs.codecov.io/docs/fixing-reports 01:59:26 + Found adjustments 01:59:26 ==> Gzipping contents 01:59:26 8.0K /tmp/codecov.3yhfaf.gz 01:59:26 ==> Uploading reports 01:59:26 url: https://codecov.io 01:59:26 query: branch=PR-617&commit=3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-617%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=617&job=&cmd_args= 01:59:26 -> Pinging Codecov 01:59:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-617&commit=3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-617%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=617&job=&cmd_args= 01:59:26 -> Uploading to 01:59:26 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0/6e58e4be-355d-45f6-958c-9bb556f23597.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250221%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250221T015926Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=ec6d421b3ed84ce4211d2adec54c2fc3e2dfb58cb800d4c8a4da2de8198965d9 01:59:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:59:26 Dload Upload Total Spent Left Speed 01:59:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 25048 --:--:-- --:--:-- --:--:-- 24897 01:59:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3bb68b31f5a85ef4a5e0a7c4c8fbe37ee9d129a0 [Pipeline] } 01:59:26 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 01:59:27 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-617/archives ] 01:59:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-617/archives 01:59:27 total 16 01:59:27 drwxr-xr-x 3 root root 4096 Feb 21 01:59 . 01:59:27 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 01:59 .. 01:59:27 drwxr-xr-x 2 root root 4096 Feb 21 01:59 cost 01:59:27 -rw-r--r-- 1 root root 88 Feb 21 01:59 cost.csv 01:59:27 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-617/archives 01:59:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-617/archives 01:59:27 total 16 01:59:27 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 01:59 . 01:59:27 drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 01:59 .. 01:59:27 drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 01:59 cost 01:59:27 -rw-r--r-- 1 jenkins jenkins 88 Feb 21 01:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:59:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:28 ---> package-listing.sh 01:59:28 ++ facter osfamily 01:59:28 ++ tr '[:upper:]' '[:lower:]' 01:59:29 + OS_FAMILY=debian 01:59:29 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-617 01:59:29 + START_PACKAGES=/tmp/packages_start.txt 01:59:29 + END_PACKAGES=/tmp/packages_end.txt 01:59:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:29 + PACKAGES=/tmp/packages_start.txt 01:59:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-617 ']' 01:59:29 + PACKAGES=/tmp/packages_end.txt 01:59:29 + case "${OS_FAMILY}" in 01:59:29 + dpkg -l 01:59:29 + grep '^ii' 01:59:29 + '[' -f /tmp/packages_start.txt ']' 01:59:29 + '[' -f /tmp/packages_end.txt ']' 01:59:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-617 ']' 01:59:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-617/archives/ 01:59:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-617/archives/ [Pipeline] echo 01:59:29 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-617/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:59:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:29 prd-ubuntu20.04-docker-8c-8g-39379 does not seem to be running inside a container 01:59:30 $ 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-617/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-617 -v /w/workspace/xfoundry_device-modbus-go_PR-617:/w/workspace/xfoundry_device-modbus-go_PR-617:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-617@tmp:/w/workspace/xfoundry_device-modbus-go_PR-617@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 01:59:30 $ docker top 6800cfa90abc7da675ccc0ca5bfb4fe8e83c13974da0b135cb8ed2eb62409224 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:30 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:30 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:31 + ls /var/log/sa-host 01:59:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:31 provisioning config files... 01:59:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-617@tmp/config1302609367196518909tmp [Pipeline] { [Pipeline] echo 01:59:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:31 ---> create-netrc.sh [Pipeline] } 01:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:31 ---> python-tools-install.sh [Pipeline] echo 01:59:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> sudo-logs.sh 01:59:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> job-cost.sh 01:59:32 lf-activate-venv: SKIPPING 01:59:32 DEBUG: total: 0.2199999988079071 01:59:32 INFO: Retrieving Stack Cost... 01:59:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:32 INFO: Archiving Costs [Pipeline] echo 01:59:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:33 ---> logs-deploy.sh 01:59:33 lf-activate-venv: SKIPPING 01:59:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-617/3 01:59:33 INFO: archiving workspace using pattern(s): 01:59:33 Archives upload complete. 01:59:33 INFO: archiving logs to Nexus