Pull request #608 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f65e50e83b42cb4ea64a91394c78d09e9d7b633+55a903a4e4241ed304b874eba174be4eba37eb89 (4cbcc239f17e71a94660ae1b6b5cd0e0e940d15a) 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-ssh17336807301860999595.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-ssh14460618618888036713.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-608/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-608/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1561180125220079250.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-608/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14001384931607993619.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7724025123296671243.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-608/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-608/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11805286829635462166.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-36933 in /w/workspace/xfoundry_device-modbus-go_PR-608 [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-608 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55a903a4e4241ed304b874eba174be4eba37eb89 into PR head commit 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 Merge succeeded, producing 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 Checking out Revision 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 (PR-608) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > 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/608/head:refs/remotes/origin/PR-608 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55a903a4e4241ed304b874eba174be4eba37eb89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:35:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:35:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:35:37 ========================================================= 05:35:37 EdgeX Global Pipelines Version Info 05:35:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:35:38 ------------------- 05:35:38 stable info: 05:35:38 ------------------- 05:35:38 Commited By: Cherry Wang cherry@iotechsys.com 05:35:38 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:35:38 Message: update stable to v1.0.269 05:35:38 ------------------- 05:35:38 experimental info: 05:35:38 ------------------- 05:35:38 Commited By: **** collab-it+edgex@linuxfoundation.org 05:35:38 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:35:38 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:35:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-608 [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-608 [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-608 [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f65e50 [Pipeline] echo 05:35:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:41 provisioning config files... 05:35:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-608@tmp/config9814783189145657045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:41 ---> ****-login.sh 05:35:41 nexus3.edgexfoundry.org:10001 05:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:42 Configure a credential helper to remove this warning. See 05:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:42 05:35:42 Login Succeeded 05:35:42 nexus3.edgexfoundry.org:10002 05:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:42 Configure a credential helper to remove this warning. See 05:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:42 05:35:42 Login Succeeded 05:35:42 nexus3.edgexfoundry.org:10003 05:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:42 Configure a credential helper to remove this warning. See 05:35:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:42 05:35:42 Login Succeeded 05:35:42 nexus3.edgexfoundry.org:10004 05:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:43 Configure a credential helper to remove this warning. See 05:35:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:43 05:35:43 Login Succeeded 05:35:43 ****.io 05:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:35:43 Configure a credential helper to remove this warning. See 05:35:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:35:43 05:35:43 Login Succeeded 05:35:43 ---> ****-login.sh ends [Pipeline] } 05:35:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:35:44 + git rev-list -1 --merges 8f65e50e83b42cb4ea64a91394c78d09e9d7b633~1..8f65e50e83b42cb4ea64a91394c78d09e9d7b633 [Pipeline] echo 05:35:44 -----------> git rev-list -1 --merges 8f65e50e83b42cb4ea64a91394c78d09e9d7b633~1..8f65e50e83b42cb4ea64a91394c78d09e9d7b633 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 [false] [Pipeline] sh 05:35:44 + git log --format=format:%s -1 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 [Pipeline] echo 05:35:44 ========================================================= 05:35:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:35:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:44 + git log --format=format:%s -1 8f65e50e83b42cb4ea64a91394c78d09e9d7b633 [Pipeline] echo 05:35:45 [semverPrep] GIT_COMMIT: 8f65e50e83b42cb4ea64a91394c78d09e9d7b633, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 05:35:45 [semverPrep] This is not a build commit. [Pipeline] sh 05:35:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:35:45 + grep -v github /etc/ssh/ssh_known_hosts 05:35:45 + [ -e /tmp/ssh_known_hosts ] 05:35:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:35:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:35:45 + sudo tee -a /etc/ssh/ssh_known_hosts 05:35:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:46 05:35:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:46 0.1.4: Pulling from edgex-devops/py-git-semver 05:35:46 b85a868b505f: Pulling fs layer 05:35:46 e2be974225ed: Pulling fs layer 05:35:46 339a4e72a1f5: Pulling fs layer 05:35:46 988bab9f4d93: Pulling fs layer 05:35:46 1469e6f7b9e6: Pulling fs layer 05:35:46 eaf3925da568: Pulling fs layer 05:35:46 bab4dde63d76: Pulling fs layer 05:35:46 bde34c3a00c8: Pulling fs layer 05:35:46 b352a97aabf1: Pulling fs layer 05:35:46 4872d77fe225: Pulling fs layer 05:35:46 5851b861e8e6: Pulling fs layer 05:35:46 bab4dde63d76: Waiting 05:35:46 988bab9f4d93: Waiting 05:35:46 bde34c3a00c8: Waiting 05:35:46 b352a97aabf1: Waiting 05:35:46 1469e6f7b9e6: Waiting 05:35:46 eaf3925da568: Waiting 05:35:46 5851b861e8e6: Waiting 05:35:46 4872d77fe225: Waiting 05:35:46 e2be974225ed: Verifying Checksum 05:35:46 e2be974225ed: Download complete 05:35:46 988bab9f4d93: Verifying Checksum 05:35:46 988bab9f4d93: Download complete 05:35:46 1469e6f7b9e6: Verifying Checksum 05:35:46 1469e6f7b9e6: Download complete 05:35:46 eaf3925da568: Verifying Checksum 05:35:46 eaf3925da568: Download complete 05:35:46 339a4e72a1f5: Verifying Checksum 05:35:46 339a4e72a1f5: Download complete 05:35:46 bde34c3a00c8: Verifying Checksum 05:35:46 bde34c3a00c8: Download complete 05:35:46 b352a97aabf1: Verifying Checksum 05:35:46 b352a97aabf1: Download complete 05:35:46 4872d77fe225: Verifying Checksum 05:35:46 4872d77fe225: Download complete 05:35:46 5851b861e8e6: Download complete 05:35:46 b85a868b505f: Verifying Checksum 05:35:46 b85a868b505f: Download complete 05:35:47 bab4dde63d76: Verifying Checksum 05:35:47 bab4dde63d76: Download complete 05:35:47 b85a868b505f: Pull complete 05:35:48 e2be974225ed: Pull complete 05:35:48 339a4e72a1f5: Pull complete 05:35:48 988bab9f4d93: Pull complete 05:35:48 1469e6f7b9e6: Pull complete 05:35:48 eaf3925da568: Pull complete 05:35:50 bab4dde63d76: Pull complete 05:35:50 bde34c3a00c8: Pull complete 05:35:50 b352a97aabf1: Pull complete 05:35:50 4872d77fe225: Pull complete 05:35:50 5851b861e8e6: Pull complete 05:35:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:35:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:35:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:35:51 prd-ubuntu20.04-docker-8c-8g-36933 does not seem to be running inside a container 05:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-608 -v /w/workspace/xfoundry_device-modbus-go_PR-608:/w/workspace/xfoundry_device-modbus-go_PR-608:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-608@tmp:/w/workspace/xfoundry_device-modbus-go_PR-608@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:35:55 $ docker top 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 -eo pid,comm 05:35:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:35:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:35:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:35:55 [ssh-agent] Looking for ssh-agent implementation... 05:35:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:35:55 $ docker exec 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 ssh-agent 05:35:55 SSH_AUTH_SOCK=/tmp/ssh-pP8sDP1sLc6d/agent.33 05:35:55 SSH_AGENT_PID=39 05:35:55 Running ssh-add (command line suppressed) 05:35:55 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-608@tmp/private_key_17404493928152946557.key (/w/workspace/xfoundry_device-modbus-go_PR-608@tmp/private_key_17404493928152946557.key) 05:35:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:35:56 + git tag --points-at HEAD [Pipeline] } 05:35:56 $ docker exec --env ******** --env ******** 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 ssh-agent -k 05:35:56 unset SSH_AUTH_SOCK; 05:35:56 unset SSH_AGENT_PID; 05:35:56 echo Agent pid 39 killed; 05:35:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:35:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:35:56 [ssh-agent] Looking for ssh-agent implementation... 05:35:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:35:56 $ docker exec 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 ssh-agent 05:35:56 SSH_AUTH_SOCK=/tmp/ssh-53Qrx2NX5FNn/agent.72 05:35:56 SSH_AGENT_PID=78 05:35:56 Running ssh-add (command line suppressed) 05:35:56 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-608@tmp/private_key_1514687711094113584.key (/w/workspace/xfoundry_device-modbus-go_PR-608@tmp/private_key_1514687711094113584.key) 05:35:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:35:56 + git semver init 05:35:57 2025-01-17 05:35:57,154 [run_init] DEBUG init version:0.0.0 force:False 05:35:57 2025-01-17 05:35:57,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-608/.semver 05:35:57 2025-01-17 05:35:57,155 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-608/.semver 05:35:57 2025-01-17 05:35:57,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-608/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-608, universal_newlines=False, shell=None, istream=None) 05:35:58 2025-01-17 05:35:58,204 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-608/.git/info/exclude 05:35:58 2025-01-17 05:35:58,205 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-608/.semver/PR-608 with force:False 05:35:58 2025-01-17 05:35:58,205 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-608/.semver/PR-608 05:35:58 2025-01-17 05:35:58,209 [execute] INFO git cat-file --batch-check 05:35:58 2025-01-17 05:35:58,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-608/.semver, universal_newlines=False, shell=None, istream=) 05:35:58 2025-01-17 05:35:58,215 [execute] INFO git cat-file --batch 05:35:58 2025-01-17 05:35:58,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-608/.semver, universal_newlines=False, shell=None, istream=) 05:35:58 2025-01-17 05:35:58,221 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-608/.semver/PR-608 05:35:58 0.0.0 [Pipeline] } 05:35:58 $ docker exec --env ******** --env ******** 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 ssh-agent -k 05:35:58 unset SSH_AUTH_SOCK; 05:35:58 unset SSH_AGENT_PID; 05:35:58 echo Agent pid 78 killed; 05:35:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:35:59 + git semver [Pipeline] } 05:35:59 $ docker stop --time=1 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 05:36:00 $ docker rm -f --volumes 3c4e3238d2c87df4de23b037b020ffd49aac00b23ad7a3efe8dca6e9c36d7438 [Pipeline] // withDockerContainer [Pipeline] sh 05:36:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:36:01 Stashed 1 file(s) [Pipeline] echo 05:36:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:36:02 provisioning config files... 05:36:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-608@tmp/config2738920977750670147tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:36:03 ---> ****-login.sh 05:36:03 nexus3.edgexfoundry.org:10001 05:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:03 Configure a credential helper to remove this warning. See 05:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:03 05:36:03 Login Succeeded 05:36:03 nexus3.edgexfoundry.org:10002 05:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:03 Configure a credential helper to remove this warning. See 05:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:03 05:36:03 Login Succeeded 05:36:03 nexus3.edgexfoundry.org:10003 05:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:03 Configure a credential helper to remove this warning. See 05:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:03 05:36:03 Login Succeeded 05:36:03 nexus3.edgexfoundry.org:10004 05:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:03 Configure a credential helper to remove this warning. See 05:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:03 05:36:03 Login Succeeded 05:36:03 ****.io 05:36:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:36:03 Configure a credential helper to remove this warning. See 05:36:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:36:03 05:36:03 Login Succeeded 05:36:03 ---> ****-login.sh ends [Pipeline] } 05:36:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:36:04 ========================================================= 05:36:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:36:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36: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 . 05:36:04 Sending build context to Docker daemon 18.19MB 05:36:04 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:36:04 Step 2/10 : FROM ${BASE} AS builder 05:36:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:36:04 da9db072f522: Pulling fs layer 05:36:04 6ef4a4ee8ca5: Pulling fs layer 05:36:04 06f05ace1117: Pulling fs layer 05:36:04 5fe327b54edc: Pulling fs layer 05:36:04 4f4fb700ef54: Pulling fs layer 05:36:04 92a5565b7b96: Pulling fs layer 05:36:04 ff9bb7016b71: Pulling fs layer 05:36:04 b67dba6c2c7d: Pulling fs layer 05:36:04 a813b0c90790: Pulling fs layer 05:36:04 5fe327b54edc: Waiting 05:36:04 4f4fb700ef54: Waiting 05:36:04 92a5565b7b96: Waiting 05:36:04 a813b0c90790: Waiting 05:36:04 ff9bb7016b71: Waiting 05:36:04 b67dba6c2c7d: Waiting 05:36:04 6ef4a4ee8ca5: Verifying Checksum 05:36:04 6ef4a4ee8ca5: Download complete 05:36:04 4f4fb700ef54: Verifying Checksum 05:36:04 4f4fb700ef54: Download complete 05:36:04 92a5565b7b96: Download complete 05:36:04 da9db072f522: Download complete 05:36:04 ff9bb7016b71: Verifying Checksum 05:36:04 ff9bb7016b71: Download complete 05:36:05 da9db072f522: Pull complete 05:36:05 6ef4a4ee8ca5: Pull complete 05:36:05 a813b0c90790: Verifying Checksum 05:36:05 a813b0c90790: Download complete 05:36:05 06f05ace1117: Verifying Checksum 05:36:05 06f05ace1117: Download complete 05:36:05 b67dba6c2c7d: Verifying Checksum 05:36:05 b67dba6c2c7d: Download complete 05:36:08 06f05ace1117: Pull complete 05:36:09 5fe327b54edc: Pull complete 05:36:09 4f4fb700ef54: Pull complete 05:36:09 92a5565b7b96: Pull complete 05:36:09 ff9bb7016b71: Pull complete 05:36:11 b67dba6c2c7d: Pull complete 05:36:12 a813b0c90790: Pull complete 05:36:12 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 05:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:36:12 ---> 3ba60ce46760 05:36:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:36:18 ---> Running in b1bd91f135d5 05:36:18 Removing intermediate container b1bd91f135d5 05:36:18 ---> d5cdd324af79 05:36:18 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:18 ---> Running in 52ffa0feafb3 05:36:18 Removing intermediate container 52ffa0feafb3 05:36:18 ---> bbf2dba37dbb 05:36:18 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:36:18 ---> Running in 0dace33c0dff 05:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:36:18 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:36:18 (2/8) Installing libedit (20240517.3.1-r0) 05:36:18 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:36:18 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:36:18 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:36:18 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:36:18 (7/8) Installing openssh-server (9.7_p1-r4) 05:36:18 (8/8) Installing openssh (9.7_p1-r4) 05:36:18 Executing busybox-1.36.1-r29.trigger 05:36:19 OK: 253 MiB in 66 packages 05:36:19 Removing intermediate container 0dace33c0dff 05:36:19 ---> 839d7cb1115f 05:36:19 Step 6/10 : WORKDIR /device-modbus-go 05:36:19 ---> Running in 106f2ec765ab 05:36:19 Removing intermediate container 106f2ec765ab 05:36:19 ---> 716622454a3d 05:36:19 Step 7/10 : COPY go.mod vendor* ./ 05:36:19 ---> 69cb2623961d 05:36:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:19 ---> Running in efa96debe50e 05:37:15 Removing intermediate container efa96debe50e 05:37:15 ---> 9d27f9024236 05:37:15 Step 9/10 : COPY . . 05:37:15 ---> 8a3c7d66ab37 05:37:15 Step 10/10 : RUN ${MAKE} 05:37:15 ---> Running in 76ad400aa7f2 05:37:15 noop 05:37:15 Removing intermediate container 76ad400aa7f2 05:37:15 ---> ecd9fc1541d5 05:37:15 Successfully built ecd9fc1541d5 05:37:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:16 + docker inspect -f . ci-base-image-x86_64 05:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:16 prd-ubuntu20.04-docker-8c-8g-36933 does not seem to be running inside a container 05:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-608 -v /w/workspace/xfoundry_device-modbus-go_PR-608:/w/workspace/xfoundry_device-modbus-go_PR-608:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-608@tmp:/w/workspace/xfoundry_device-modbus-go_PR-608@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 ******** ci-base-image-x86_64 cat 05:37:16 $ docker top efdca27e7cf3e2cacff6935b6b0b9c79eb9930f92aaba178923ddd6f6af9c436 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:17 + go version 05:37:17 go version go1.23.4 linux/amd64 [Pipeline] } 05:37:17 $ docker stop --time=1 efdca27e7cf3e2cacff6935b6b0b9c79eb9930f92aaba178923ddd6f6af9c436 05:37:18 $ docker rm -f --volumes efdca27e7cf3e2cacff6935b6b0b9c79eb9930f92aaba178923ddd6f6af9c436 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:19 + docker inspect -f . ci-base-image-x86_64 05:37:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:19 prd-ubuntu20.04-docker-8c-8g-36933 does not seem to be running inside a container 05:37:19 $ 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-608 -v /w/workspace/xfoundry_device-modbus-go_PR-608:/w/workspace/xfoundry_device-modbus-go_PR-608:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-608@tmp:/w/workspace/xfoundry_device-modbus-go_PR-608@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 ******** ci-base-image-x86_64 cat 05:37:19 $ docker top d282d6e73cd2aa9b24e7faedd4721edde8f3a1b14808d06912d515ea12fc492e -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:20 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-608 [Pipeline] fileExists [Pipeline] sh 05:37:20 + make test 05:37:20 go test ./... -coverprofile=coverage.out 05:37:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:37:40 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:37:40 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 05:37:48 go vet ./... 05:37:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:37:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:37:54 ./bin/test-attribution-txt.sh [Pipeline] echo 05:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:37:54 $ docker stop --time=1 d282d6e73cd2aa9b24e7faedd4721edde8f3a1b14808d06912d515ea12fc492e 05:37:59 $ docker rm -f --volumes d282d6e73cd2aa9b24e7faedd4721edde8f3a1b14808d06912d515ea12fc492e [Pipeline] // withDockerContainer [Pipeline] sh 05:38:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:38:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:38:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:38:01 + ls -al . 05:38:01 total 260 05:38:01 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 05:37 . 05:38:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 05:35 .. 05:38:01 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 05:35 .dockerignore 05:38:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 05:37 .git 05:38:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:35 .github 05:38:01 -rw-rw-r-- 1 jenkins jenkins 266 Jan 17 05:35 .gitignore 05:38:01 -rw-rw-r-- 1 jenkins jenkins 199 Jan 17 05:35 .golangci.yml 05:38:01 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 05:35 .semver 05:38:01 -rw-rw-r-- 1 jenkins jenkins 19818 Jan 17 05:35 Attribution.txt 05:38:01 -rw-rw-r-- 1 jenkins jenkins 16388 Jan 17 05:35 CHANGELOG.md 05:38:01 -rw-rw-r-- 1 jenkins jenkins 1479 Jan 17 05:35 Dockerfile 05:38:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 05:35 GOVERNANCE.md 05:38:01 -rw-rw-r-- 1 jenkins jenkins 658 Jan 17 05:35 Jenkinsfile 05:38:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 05:35 LICENSE 05:38:01 -rw-rw-r-- 1 jenkins jenkins 2524 Jan 17 05:35 Makefile 05:38:01 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 05:35 OWNERS.md 05:38:01 -rw-rw-r-- 1 jenkins jenkins 4463 Jan 17 05:35 README.md 05:38:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 05:36 VERSION 05:38:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 05:35 bin 05:38:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:35 cmd 05:38:01 -rw-r--r-- 1 jenkins jenkins 25464 Jan 17 05:37 coverage.out 05:38:01 -rw-rw-r-- 1 jenkins jenkins 6390 Jan 17 05:35 go.mod 05:38:01 -rw-rw-r-- 1 jenkins jenkins 86976 Jan 17 05:35 go.sum 05:38:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 05:35 internal 05:38:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 05:35 simulator 05:38:01 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:01 + 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=8f65e50e83b42cb4ea64a91394c78d09e9d7b633 --label arch=amd64 --label version=0.0.0 . 05:38:01 Sending build context to Docker daemon 18.22MB 05:38:01 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 05:38:01 Step 2/23 : FROM ${BASE} AS builder 05:38:01 ---> ecd9fc1541d5 05:38:01 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:38:02 ---> Running in dc139b965827 05:38:02 Removing intermediate container dc139b965827 05:38:02 ---> a047e4303f18 05:38:02 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:38:02 ---> Running in 640c09172e94 05:38:02 Removing intermediate container 640c09172e94 05:38:02 ---> b60852afa0d4 05:38:02 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:38:02 ---> Running in e9dbc953373b 05:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:38:02 OK: 253 MiB in 66 packages 05:38:03 Removing intermediate container e9dbc953373b 05:38:03 ---> a1f5fd6f67b6 05:38:03 Step 6/23 : WORKDIR /device-modbus-go 05:38:03 ---> Running in 3db0b1b5ae3c 05:38:03 Removing intermediate container 3db0b1b5ae3c 05:38:03 ---> 8c4dcfd30d22 05:38:03 Step 7/23 : COPY go.mod vendor* ./ 05:38:03 ---> a07aa6d7b879 05:38:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:38:03 ---> Running in a4fe538cbf5b 05:38:04 Removing intermediate container a4fe538cbf5b 05:38:04 ---> d65deaef1652 05:38:04 Step 9/23 : COPY . . 05:38:05 ---> fff5385e67c8 05:38:05 Step 10/23 : RUN ${MAKE} 05:38:05 ---> Running in 56ad8ea5a84a 05:38:05 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.19 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:38:37 Removing intermediate container 56ad8ea5a84a 05:38:37 ---> fb452581e5bb 05:38:37 Step 11/23 : FROM alpine:3.20 05:38:37 3.20: Pulling from library/alpine 05:38:37 66a3d608f3fa: Pulling fs layer 05:38:37 66a3d608f3fa: Download complete 05:38:37 66a3d608f3fa: Pull complete 05:38:37 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 05:38:37 Status: Downloaded newer image for alpine:3.20 05:38:37 ---> e29df9b510ff 05:38:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:38:37 ---> Running in 68c5ebc08579 05:38:37 Removing intermediate container 68c5ebc08579 05:38:37 ---> 25c5b676739c 05:38:37 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:38:37 ---> Running in a8fafb1fca06 05:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:38:37 (1/1) Installing dumb-init (1.2.5-r3) 05:38:37 Executing busybox-1.36.1-r29.trigger 05:38:37 OK: 8 MiB in 15 packages 05:38:37 Removing intermediate container a8fafb1fca06 05:38:37 ---> 62a8b238565b 05:38:37 Step 14/23 : RUN apk --no-cache upgrade 05:38:37 ---> Running in 69b39c57f803 05:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:38:37 OK: 8 MiB in 15 packages 05:38:37 Removing intermediate container 69b39c57f803 05:38:37 ---> 123bd860e740 05:38:37 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:38:38 ---> 16b2d709abfb 05:38:38 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:38:39 ---> 0709f3e7ec80 05:38:39 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:38:39 ---> 75a2600ea14b 05:38:39 Step 18/23 : EXPOSE 59901 05:38:39 ---> Running in 933c5c82f1cf 05:38:39 Removing intermediate container 933c5c82f1cf 05:38:39 ---> f6985fa0102a 05:38:39 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:38:39 ---> Running in 6ecaa24a6510 05:38:39 Removing intermediate container 6ecaa24a6510 05:38:39 ---> 16f7986e443a 05:38:39 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:38:39 ---> Running in bc9d2f8fa310 05:38:39 Removing intermediate container bc9d2f8fa310 05:38:39 ---> ddb6c1cc44b2 05:38:39 Step 21/23 : LABEL arch=amd64 05:38:39 ---> Running in e486863a79eb 05:38:39 Removing intermediate container e486863a79eb 05:38:39 ---> 0c1bb3d5f8fb 05:38:39 Step 22/23 : LABEL git_sha=8f65e50e83b42cb4ea64a91394c78d09e9d7b633 05:38:39 ---> Running in 8f6d47599021 05:38:39 Removing intermediate container 8f6d47599021 05:38:39 ---> 19e6c850a9af 05:38:39 Step 23/23 : LABEL version=0.0.0 05:38:39 ---> Running in 7168b842bad9 05:38:39 Removing intermediate container 7168b842bad9 05:38:39 ---> 6d49eee5f873 05:38:39 [Warning] One or more build-args [ARCH] were not consumed 05:38:39 Successfully built 6d49eee5f873 05:38:39 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:40 05:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:41 latest: Pulling from edgex-lftools-log-publisher 05:38:41 5eb5b503b376: Pulling fs layer 05:38:41 5c69ac0246d0: Pulling fs layer 05:38:41 ec43610c2a17: Pulling fs layer 05:38:41 3a2ae6a8a46f: Pulling fs layer 05:38:41 33b1e0a273af: Pulling fs layer 05:38:41 5d3b04190fa2: Pulling fs layer 05:38:41 2f39f015ded8: Pulling fs layer 05:38:41 2f39f015ded8: Waiting 05:38:41 3a2ae6a8a46f: Waiting 05:38:41 5d3b04190fa2: Waiting 05:38:41 33b1e0a273af: Waiting 05:38:41 5c69ac0246d0: Download complete 05:38:41 3a2ae6a8a46f: Download complete 05:38:41 33b1e0a273af: Verifying Checksum 05:38:41 33b1e0a273af: Download complete 05:38:41 ec43610c2a17: Verifying Checksum 05:38:41 ec43610c2a17: Download complete 05:38:41 5d3b04190fa2: Verifying Checksum 05:38:41 5d3b04190fa2: Download complete 05:38:41 5eb5b503b376: Download complete 05:38:41 2f39f015ded8: Verifying Checksum 05:38:41 2f39f015ded8: Download complete 05:38:42 5eb5b503b376: Pull complete 05:38:42 5c69ac0246d0: Pull complete 05:38:42 ec43610c2a17: Pull complete 05:38:42 3a2ae6a8a46f: Pull complete 05:38:42 33b1e0a273af: Pull complete 05:38:43 5d3b04190fa2: Pull complete 05:38:47 2f39f015ded8: Pull complete 05:38:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:38:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:38:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:47 prd-ubuntu20.04-docker-8c-8g-36933 does not seem to be running inside a container 05:38:47 $ 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-608 -v /w/workspace/xfoundry_device-modbus-go_PR-608:/w/workspace/xfoundry_device-modbus-go_PR-608:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-608@tmp:/w/workspace/xfoundry_device-modbus-go_PR-608@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:38:52 $ docker top 161bfb9a3f5676f1b21d06409e982f6a0731a0b21d900c9aa1dd08d9ff166def -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:52 ---> job-cost.sh 05:38:52 lf-activate-venv: SKIPPING 05:38:52 INFO: No Stack... 05:38:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:38:53 INFO: Archiving Costs [Pipeline] sh 05:38:53 + cat /w/workspace/xfoundry_device-modbus-go_PR-608/archives/cost.csv 05:38:53 + cut -d, -f6 [Pipeline] lock 05:38:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-608-1-stack-cost] 05:38:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-608-1-stack-cost] did not exist. Created. 05:38:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-608-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:38:54 + echo total: 0.2199999988079071 [Pipeline] stash 05:38:54 Stashed 1 file(s) [Pipeline] } 05:38:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-608-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:38:54 $ docker stop --time=1 161bfb9a3f5676f1b21d06409e982f6a0731a0b21d900c9aa1dd08d9ff166def 05:38:56 $ docker rm -f --volumes 161bfb9a3f5676f1b21d06409e982f6a0731a0b21d900c9aa1dd08d9ff166def [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:38:56 provisioning config files... 05:38:56 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-608@tmp/config2060465206627912085tmp [Pipeline] { [Pipeline] sh 05:38:57 + set +x 05:38:57 + bash -s -- 05:38:57 + curl -s https://codecov.io/bash 05:38:57 05:38:57 _____ _ 05:38:57 / ____| | | 05:38:57 | | ___ __| | ___ ___ _____ __ 05:38:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:38:57 | |___| (_) | (_| | __/ (_| (_) \ V / 05:38:57 \_____\___/ \__,_|\___|\___\___/ \_/ 05:38:57 Bash-1.0.6 05:38:57 05:38:57 05:38:57 ==> git version 2.25.1 found 05:38:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:38:57 Release-Date: 2020-01-08 05:38:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:38:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:38:57 ==> Jenkins CI detected. 05:38:57 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-608 05:38:57 project root: . 05:38:57 --> token set from env 05:38:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:38:57 ==> Running gcov in . (disable via -X gcov) 05:38:57 ==> Python coveragepy not found 05:38:57 ==> Searching for coverage reports in: 05:38:57 + . 05:38:57 -> Found 1 reports 05:38:57 ==> Detecting git/mercurial file structure 05:38:57 ==> Reading reports 05:38:57 + ./coverage.out bytes=25464 05:38:57 ==> Appending adjustments 05:38:57 https://docs.codecov.io/docs/fixing-reports 05:38:57 + Found adjustments 05:38:57 ==> Gzipping contents 05:38:57 4.0K /tmp/codecov.HaSs5j.gz 05:38:57 ==> Uploading reports 05:38:57 url: https://codecov.io 05:38:57 query: branch=PR-608&commit=8f65e50e83b42cb4ea64a91394c78d09e9d7b633&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-608%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=608&job=&cmd_args= 05:38:57 -> Pinging Codecov 05:38:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-608&commit=8f65e50e83b42cb4ea64a91394c78d09e9d7b633&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-608%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=608&job=&cmd_args= 05:38:57 -> Uploading to 05:38:57 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/8f65e50e83b42cb4ea64a91394c78d09e9d7b633/e27dacbf-7906-4852-a3af-9837fe5a2f7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250117%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250117T053857Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b91941354bff55256acb76affdb265ead2262866e6b2d28acf3e1918d40874b9 05:38:57 % Total % Received % Xferd Average Speed Time Time Time Current 05:38:57 Dload Upload Total Spent Left Speed 05:38:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 23975 --:--:-- --:--:-- --:--:-- 23975 05:38:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8f65e50e83b42cb4ea64a91394c78d09e9d7b633 [Pipeline] } 05:38:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:39:00 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-608/archives ] 05:39:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-608/archives 05:39:00 total 16 05:39:00 drwxr-xr-x 3 root root 4096 Jan 17 05:38 . 05:39:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 05:38 .. 05:39:00 drwxr-xr-x 2 root root 4096 Jan 17 05:38 cost 05:39:00 -rw-r--r-- 1 root root 88 Jan 17 05:38 cost.csv 05:39:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-608/archives 05:39:00 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-608/archives 05:39:00 total 16 05:39:00 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 05:38 . 05:39:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 05:38 .. 05:39:00 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 05:38 cost 05:39:00 -rw-r--r-- 1 jenkins jenkins 88 Jan 17 05:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:39:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:39:01 ---> package-listing.sh 05:39:01 ++ facter osfamily 05:39:01 ++ tr '[:upper:]' '[:lower:]' 05:39:01 + OS_FAMILY=debian 05:39:01 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-608 05:39:01 + START_PACKAGES=/tmp/packages_start.txt 05:39:01 + END_PACKAGES=/tmp/packages_end.txt 05:39:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:39:01 + PACKAGES=/tmp/packages_start.txt 05:39:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-608 ']' 05:39:01 + PACKAGES=/tmp/packages_end.txt 05:39:01 + case "${OS_FAMILY}" in 05:39:01 + dpkg -l 05:39:01 + grep '^ii' 05:39:01 + '[' -f /tmp/packages_start.txt ']' 05:39:01 + '[' -f /tmp/packages_end.txt ']' 05:39:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:39:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-608 ']' 05:39:01 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-608/archives/ 05:39:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-608/archives/ [Pipeline] echo 05:39:01 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-608/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:39:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:39:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:02 prd-ubuntu20.04-docker-8c-8g-36933 does not seem to be running inside a container 05:39:02 $ 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-608/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-608 -v /w/workspace/xfoundry_device-modbus-go_PR-608:/w/workspace/xfoundry_device-modbus-go_PR-608:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-608@tmp:/w/workspace/xfoundry_device-modbus-go_PR-608@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:39:03 $ docker top 8e9863456e4793f374221e50d497558cadb652b8c8c64770fcd967a3dcce929b -eo pid,comm [Pipeline] { [Pipeline] sh 05:39:03 + touch /tmp/pre-build-complete [Pipeline] sh 05:39:03 + mkdir -p /var/log/sysstat [Pipeline] sh 05:39:04 + ls /var/log/sa-host 05:39:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:04 provisioning config files... 05:39:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-608@tmp/config11773679414337786654tmp [Pipeline] { [Pipeline] echo 05:39:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:39:04 ---> create-netrc.sh [Pipeline] } 05:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:39:05 ---> python-tools-install.sh [Pipeline] echo 05:39:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:39:05 ---> sudo-logs.sh 05:39:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:39:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:39:06 ---> job-cost.sh 05:39:06 lf-activate-venv: SKIPPING 05:39:06 DEBUG: total: 0.2199999988079071 05:39:06 INFO: Retrieving Stack Cost... 05:39:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:39:06 INFO: Archiving Costs [Pipeline] echo 05:39:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:39:06 ---> logs-deploy.sh 05:39:06 lf-activate-venv: SKIPPING 05:39:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-608/1 05:39:06 INFO: archiving workspace using pattern(s): 05:39:07 Archives upload complete. 05:39:07 INFO: archiving logs to Nexus