Pull request #552 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a73672d5400e166621ab0562a57c0519cd2fea62+56822b146883d567dc10738adb0b8ce5338db960 (104374cf7ef898c3f0a3e803c306d1a5b6433516) 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-ssh2676489342309457185.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17931376787988589412.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-552/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-552/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7353347723775877662.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-552/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1596356212675510668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh7478951558938330332.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-552/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-552/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2989119076654469842.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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-262 in /w/workspace/xfoundry_device-modbus-go_PR-552 [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-552 # 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/552/head:refs/remotes/origin/PR-552 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit a73672d5400e166621ab0562a57c0519cd2fea62 Merge succeeded, producing a73672d5400e166621ab0562a57c0519cd2fea62 Checking out Revision a73672d5400e166621ab0562a57c0519cd2fea62 (PR-552) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # 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 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:53:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:13 ========================================================= 05:53:13 EdgeX Global Pipelines Version Info 05:53:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:14 ------------------- 05:53:14 stable info: 05:53:14 ------------------- 05:53:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:14 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:53:14 Message: update stable to v1.0.258 05:53:14 ------------------- 05:53:14 experimental info: 05:53:14 ------------------- 05:53:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:53:14 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:53:14 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-552 [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-552 [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-552 [Pipeline] echo 05:53:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo 05:53:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a73672d [Pipeline] echo 05:53:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:17 provisioning config files... 05:53:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config829747263480809145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:17 ---> ****-login.sh 05:53:17 nexus3.edgexfoundry.org:10001 05:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:17 Configure a credential helper to remove this warning. See 05:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:17 05:53:17 Login Succeeded 05:53:17 nexus3.edgexfoundry.org:10002 05:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:18 Configure a credential helper to remove this warning. See 05:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:18 05:53:18 Login Succeeded 05:53:18 nexus3.edgexfoundry.org:10003 05:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:18 Configure a credential helper to remove this warning. See 05:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:18 05:53:18 Login Succeeded 05:53:18 nexus3.edgexfoundry.org:10004 05:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:18 Configure a credential helper to remove this warning. See 05:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:18 05:53:18 Login Succeeded 05:53:18 ****.io 05:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:18 Configure a credential helper to remove this warning. See 05:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:18 05:53:18 Login Succeeded 05:53:18 ---> ****-login.sh ends [Pipeline] } 05:53:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:53:19 + git rev-list -1 --merges a73672d5400e166621ab0562a57c0519cd2fea62~1..a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo 05:53:19 -----------> git rev-list -1 --merges a73672d5400e166621ab0562a57c0519cd2fea62~1..a73672d5400e166621ab0562a57c0519cd2fea62 a73672d5400e166621ab0562a57c0519cd2fea62 [false] [Pipeline] sh 05:53:19 + git log --format=format:%s -1 a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo 05:53:19 ========================================================= 05:53:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:53:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:20 + git log --format=format:%s -1 a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] echo 05:53:20 [semverPrep] GIT_COMMIT: a73672d5400e166621ab0562a57c0519cd2fea62, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:53:20 [semverPrep] This is not a build commit. [Pipeline] sh 05:53:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:53:20 + grep -v github /etc/ssh/ssh_known_hosts 05:53:20 + [ -e /tmp/ssh_known_hosts ] 05:53:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:53:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:53:20 + sudo tee -a /etc/ssh/ssh_known_hosts 05:53:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:21 05:53:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:21 0.1.4: Pulling from edgex-devops/py-git-semver 05:53:21 b85a868b505f: Pulling fs layer 05:53:21 e2be974225ed: Pulling fs layer 05:53:21 339a4e72a1f5: Pulling fs layer 05:53:21 988bab9f4d93: Pulling fs layer 05:53:21 1469e6f7b9e6: Pulling fs layer 05:53:21 eaf3925da568: Pulling fs layer 05:53:21 988bab9f4d93: Waiting 05:53:21 1469e6f7b9e6: Waiting 05:53:21 bab4dde63d76: Pulling fs layer 05:53:21 eaf3925da568: Waiting 05:53:21 bde34c3a00c8: Pulling fs layer 05:53:21 bab4dde63d76: Waiting 05:53:21 b352a97aabf1: Pulling fs layer 05:53:21 bde34c3a00c8: Waiting 05:53:21 b352a97aabf1: Waiting 05:53:21 4872d77fe225: Pulling fs layer 05:53:21 5851b861e8e6: Pulling fs layer 05:53:21 4872d77fe225: Waiting 05:53:21 5851b861e8e6: Waiting 05:53:21 e2be974225ed: Download complete 05:53:21 988bab9f4d93: Download complete 05:53:21 1469e6f7b9e6: Verifying Checksum 05:53:21 1469e6f7b9e6: Download complete 05:53:21 eaf3925da568: Download complete 05:53:21 339a4e72a1f5: Verifying Checksum 05:53:21 339a4e72a1f5: Download complete 05:53:21 bde34c3a00c8: Verifying Checksum 05:53:21 bde34c3a00c8: Download complete 05:53:21 b352a97aabf1: Verifying Checksum 05:53:21 b352a97aabf1: Download complete 05:53:21 4872d77fe225: Verifying Checksum 05:53:21 4872d77fe225: Download complete 05:53:21 5851b861e8e6: Download complete 05:53:21 b85a868b505f: Verifying Checksum 05:53:21 b85a868b505f: Download complete 05:53:22 bab4dde63d76: Verifying Checksum 05:53:22 bab4dde63d76: Download complete 05:53:23 b85a868b505f: Pull complete 05:53:23 e2be974225ed: Pull complete 05:53:24 339a4e72a1f5: Pull complete 05:53:24 988bab9f4d93: Pull complete 05:53:24 1469e6f7b9e6: Pull complete 05:53:24 eaf3925da568: Pull complete 05:53:26 bab4dde63d76: Pull complete 05:53:26 bde34c3a00c8: Pull complete 05:53:26 b352a97aabf1: Pull complete 05:53:26 4872d77fe225: Pull complete 05:53:26 5851b861e8e6: Pull complete 05:53:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:53:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:53:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:26 prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container 05:53:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:53:30 $ docker top 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda -eo pid,comm 05:53:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:53:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:30 [ssh-agent] Looking for ssh-agent implementation... 05:53:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:30 $ docker exec 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent 05:53:30 SSH_AUTH_SOCK=/tmp/ssh-ab2a4H8mATyu/agent.32 05:53:30 SSH_AGENT_PID=38 05:53:30 Running ssh-add (command line suppressed) 05:53:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_6644997918911470819.key (/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_6644997918911470819.key) 05:53:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:31 + git tag --points-at HEAD [Pipeline] } 05:53:31 $ docker exec --env ******** --env ******** 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent -k 05:53:31 unset SSH_AUTH_SOCK; 05:53:31 unset SSH_AGENT_PID; 05:53:31 echo Agent pid 38 killed; 05:53:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:31 [ssh-agent] Looking for ssh-agent implementation... 05:53:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:31 $ docker exec 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent 05:53:31 SSH_AUTH_SOCK=/tmp/ssh-IE4MuvuQ43Rv/agent.71 05:53:31 SSH_AGENT_PID=77 05:53:31 Running ssh-add (command line suppressed) 05:53:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_12549086917010940513.key (/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/private_key_12549086917010940513.key) 05:53:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:32 + git semver init 05:53:32 2024-05-16 05:53:32,435 [run_init] DEBUG init version:0.0.0 force:False 05:53:32 2024-05-16 05:53:32,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-552/.semver 05:53:32 2024-05-16 05:53:32,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-552/.semver 05:53:32 2024-05-16 05:53:32,436 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-552/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-552, universal_newlines=False, shell=None, istream=None) 05:53:33 2024-05-16 05:53:33,653 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-552/.git/info/exclude 05:53:33 2024-05-16 05:53:33,655 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-552/.semver/PR-552 with force:False 05:53:33 2024-05-16 05:53:33,655 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-552/.semver/PR-552 05:53:33 2024-05-16 05:53:33,661 [execute] INFO git cat-file --batch-check 05:53:33 2024-05-16 05:53:33,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-552/.semver, universal_newlines=False, shell=None, istream=) 05:53:33 2024-05-16 05:53:33,667 [execute] INFO git cat-file --batch 05:53:33 2024-05-16 05:53:33,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-552/.semver, universal_newlines=False, shell=None, istream=) 05:53:33 2024-05-16 05:53:33,672 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-552/.semver/PR-552 05:53:33 0.0.0 [Pipeline] } 05:53:33 $ docker exec --env ******** --env ******** 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda ssh-agent -k 05:53:34 unset SSH_AUTH_SOCK; 05:53:34 unset SSH_AGENT_PID; 05:53:34 echo Agent pid 77 killed; 05:53:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:34 + git semver [Pipeline] } 05:53:35 $ docker stop --time=1 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda 05:53:36 $ docker rm -f --volumes 9e533b2a371d3d103a92a843da35b430b85f2f0c86254bab4c24f529089fbdda [Pipeline] // withDockerContainer [Pipeline] sh 05:53:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:37 Stashed 1 file(s) [Pipeline] echo 05:53:37 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:37 provisioning config files... 05:53:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config12747715634232134235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:38 ---> ****-login.sh 05:53:38 nexus3.edgexfoundry.org:10001 05:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:38 Configure a credential helper to remove this warning. See 05:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:38 05:53:38 Login Succeeded 05:53:38 nexus3.edgexfoundry.org:10002 05:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:38 Configure a credential helper to remove this warning. See 05:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:38 05:53:38 Login Succeeded 05:53:38 nexus3.edgexfoundry.org:10003 05:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:38 Configure a credential helper to remove this warning. See 05:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:38 05:53:38 Login Succeeded 05:53:38 nexus3.edgexfoundry.org:10004 05:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:38 Configure a credential helper to remove this warning. See 05:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:38 05:53:38 Login Succeeded 05:53:38 ****.io 05:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:53:38 Configure a credential helper to remove this warning. See 05:53:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:53:38 05:53:38 Login Succeeded 05:53:38 ---> ****-login.sh ends [Pipeline] } 05:53:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:53:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:53:39 ========================================================= 05:53:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:53:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:53:39 Sending build context to Docker daemon 20.92MB 05:53:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:53:39 Step 2/10 : FROM ${BASE} AS builder 05:53:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:39 619be1103602: Pulling fs layer 05:53:39 7862e08f4a3e: Pulling fs layer 05:53:39 5df492c9dc93: Pulling fs layer 05:53:39 7629e6793208: Pulling fs layer 05:53:39 4f4fb700ef54: Pulling fs layer 05:53:39 fb5054dd5b73: Pulling fs layer 05:53:39 eeca6798cff9: Pulling fs layer 05:53:39 aa269ceb94a6: Pulling fs layer 05:53:39 ada007ff1a6a: Pulling fs layer 05:53:39 fb5054dd5b73: Waiting 05:53:39 eeca6798cff9: Waiting 05:53:39 aa269ceb94a6: Waiting 05:53:39 7629e6793208: Waiting 05:53:39 ada007ff1a6a: Waiting 05:53:39 4f4fb700ef54: Waiting 05:53:39 7862e08f4a3e: Verifying Checksum 05:53:39 7862e08f4a3e: Download complete 05:53:39 7629e6793208: Verifying Checksum 05:53:39 7629e6793208: Download complete 05:53:39 4f4fb700ef54: Verifying Checksum 05:53:39 4f4fb700ef54: Download complete 05:53:39 fb5054dd5b73: Download complete 05:53:39 619be1103602: Download complete 05:53:39 eeca6798cff9: Verifying Checksum 05:53:39 eeca6798cff9: Download complete 05:53:40 619be1103602: Pull complete 05:53:40 7862e08f4a3e: Pull complete 05:53:40 ada007ff1a6a: Verifying Checksum 05:53:40 ada007ff1a6a: Download complete 05:53:40 5df492c9dc93: Verifying Checksum 05:53:40 5df492c9dc93: Download complete 05:53:40 aa269ceb94a6: Verifying Checksum 05:53:40 aa269ceb94a6: Download complete 05:53:44 5df492c9dc93: Pull complete 05:53:44 7629e6793208: Pull complete 05:53:44 4f4fb700ef54: Pull complete 05:53:44 fb5054dd5b73: Pull complete 05:53:44 eeca6798cff9: Pull complete 05:53:46 aa269ceb94a6: Pull complete 05:53:46 ada007ff1a6a: Pull complete 05:53:46 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:53:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:53:46 ---> f489d0715acc 05:53:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:53:52 Still waiting to schedule task 05:53:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:53:54 ---> Running in 2abc09f7a1be 05:53:54 Removing intermediate container 2abc09f7a1be 05:53:54 ---> f96dc6b80457 05:53:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:53:54 ---> Running in a0de04785e35 05:53:54 Removing intermediate container a0de04785e35 05:53:54 ---> ea6b41c1a55c 05:53:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:53:54 ---> Running in 70321ef6ac6f 05:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:53:54 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:53:54 (2/8) Installing libedit (20221030.3.1-r1) 05:53:54 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:53:54 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:53:54 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:53:54 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:53:54 (7/8) Installing openssh-server (9.3_p2-r1) 05:53:54 (8/8) Installing openssh (9.3_p2-r1) 05:53:54 Executing busybox-1.36.1-r5.trigger 05:53:54 OK: 270 MiB in 60 packages 05:53:55 Removing intermediate container 70321ef6ac6f 05:53:55 ---> d9dd55cd0e23 05:53:55 Step 6/10 : WORKDIR /device-modbus-go 05:53:55 ---> Running in 9eea32c87461 05:53:55 Removing intermediate container 9eea32c87461 05:53:55 ---> d13c5dfecf4f 05:53:55 Step 7/10 : COPY go.mod vendor* ./ 05:53:55 ---> 7ea647745086 05:53:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:53:55 ---> Running in e1ff2dcd7ad8 05:55:03 Removing intermediate container e1ff2dcd7ad8 05:55:03 ---> 330999045beb 05:55:03 Step 9/10 : COPY . . 05:55:03 ---> eb75bf1ef769 05:55:03 Step 10/10 : RUN ${MAKE} 05:55:03 ---> Running in 489f35c132ec 05:55:03 noop 05:55:03 Removing intermediate container 489f35c132ec 05:55:03 ---> 8707ae7a3d6f 05:55:03 Successfully built 8707ae7a3d6f 05:55:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:04 + docker inspect -f . ci-base-image-x86_64 05:55:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:04 prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container 05:55:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:04 $ docker top 3e689d336544007e65b058f6f5977d9e75a372a59c42f7d0fb6ea1a1c1d84bd0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:05 + go version 05:55:05 go version go1.21.9 linux/amd64 [Pipeline] } 05:55:05 $ docker stop --time=1 3e689d336544007e65b058f6f5977d9e75a372a59c42f7d0fb6ea1a1c1d84bd0 05:55:06 $ docker rm -f --volumes 3e689d336544007e65b058f6f5977d9e75a372a59c42f7d0fb6ea1a1c1d84bd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:07 + docker inspect -f . ci-base-image-x86_64 05:55:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:07 prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container 05:55:07 $ 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-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:55:08 $ docker top 3b5a2c1f35e5bb674c0aa228538a4010f13efcc83d76d0eb147e5b6b73f2f168 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:08 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-552 [Pipeline] fileExists [Pipeline] sh 05:55:08 + make test 05:55:08 go test ./... -coverprofile=coverage.out 05:55:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:55:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:55:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 05:55:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-263 in /w/workspace/xfoundry_device-modbus-go_PR-552 [Pipeline] { [Pipeline] ws 05:55:30 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:55:33 The recommended git tool is: git 05:55:36 go vet ./... 05:55:38 using credential edgex-jenkins-ssh 05:55:38 Cloning the remote Git repository 05:55:38 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:55:38 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:55:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:55:38 > git --version # timeout=10 05:55:38 > git --version # 'git version 2.25.1' 05:55:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:41 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:55:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:55:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:55:42 ./bin/test-attribution-txt.sh 05:55:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:55:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:55:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:55:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:55:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:55:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:55:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:55:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:55:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:55:42 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 05:55:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:55:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:55:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:55:42 $ docker stop --time=1 3b5a2c1f35e5bb674c0aa228538a4010f13efcc83d76d0eb147e5b6b73f2f168 05:55:42 Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit a73672d5400e166621ab0562a57c0519cd2fea62 05:55:42 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:55:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/552/head:refs/remotes/origin/PR-552 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:55:42 > git config core.sparsecheckout # timeout=10 05:55:42 > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # timeout=10 05:55:42 Merge succeeded, producing a73672d5400e166621ab0562a57c0519cd2fea62 05:55:42 Checking out Revision a73672d5400e166621ab0562a57c0519cd2fea62 (PR-552) 05:55:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:55:43 > git --version # timeout=10 05:55:43 > git --version # 'git version 2.25.1' 05:55:43 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:55:42 > git remote # timeout=10 05:55:42 > git config --get remote.origin.url # timeout=10 05:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:42 > git merge 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 05:55:42 > git rev-parse HEAD^{commit} # timeout=10 05:55:42 > git config core.sparsecheckout # timeout=10 05:55:42 > git checkout -f a73672d5400e166621ab0562a57c0519cd2fea62 # timeout=10 05:55:49 $ docker rm -f --volumes 3b5a2c1f35e5bb674c0aa228538a4010f13efcc83d76d0eb147e5b6b73f2f168 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 05:55:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash 05:55:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:55:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:55:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:55:50 Dload Upload Total Spent Left Speed 05:55:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 125k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh [Pipeline] sh 05:55:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:55:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:50 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:55:50 /etc/docker/daemon.json 05:55:50 { 05:55:50 "registry-mirrors": [ 05:55:50 "https://nexus3.edgexfoundry.org:10001" 05:55:50 ], 05:55:50 "bip": "10.250.0.254/24", 05:55:50 "hosts": [ 05:55:50 "tcp://0.0.0.0:5555", 05:55:50 "unix:///var/run/docker.sock" 05:55:50 ], 05:55:50 "mtu": 1458, 05:55:50 "selinux-enabled": true, 05:55:50 "seccomp-profile": "/etc/docker/seccomp.json" 05:55:50 } [Pipeline] sh 05:55:51 + ls -al . 05:55:51 total 264 05:55:51 drwxrwxr-x 9 jenkins jenkins 4096 May 16 05:55 . 05:55:51 drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:53 .. 05:55:51 -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:53 .dockerignore 05:55:51 drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:55 .git 05:55:51 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:53 .github 05:55:51 -rw-rw-r-- 1 jenkins jenkins 266 May 16 05:53 .gitignore 05:55:51 -rw-rw-r-- 1 jenkins jenkins 41 May 16 05:53 .golangci.yml 05:55:51 drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:53 .semver 05:55:51 -rw-rw-r-- 1 jenkins jenkins 11101 May 16 05:53 Attribution.txt 05:55:51 -rw-rw-r-- 1 jenkins jenkins 16388 May 16 05:53 CHANGELOG.md 05:55:51 -rw-rw-r-- 1 jenkins jenkins 1474 May 16 05:53 Dockerfile 05:55:51 -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:53 GOVERNANCE.md 05:55:51 -rw-rw-r-- 1 jenkins jenkins 658 May 16 05:53 Jenkinsfile 05:55:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 05:53 LICENSE 05:55:51 -rw-rw-r-- 1 jenkins jenkins 1942 May 16 05:53 Makefile 05:55:51 -rw-rw-r-- 1 jenkins jenkins 622 May 16 05:53 OWNERS.md 05:55:51 -rw-rw-r-- 1 jenkins jenkins 4463 May 16 05:53 README.md 05:55:51 -rw-rw-r-- 1 jenkins jenkins 5 May 16 05:53 VERSION 05:55:51 drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:53 bin 05:55:51 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:53 cmd 05:55:51 -rw-r--r-- 1 jenkins jenkins 24601 May 16 05:55 coverage.out 05:55:51 -rw-rw-r-- 1 jenkins jenkins 7289 May 16 05:53 go.mod 05:55:51 -rw-rw-r-- 1 jenkins jenkins 101859 May 16 05:53 go.sum 05:55:51 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:53 internal 05:55:51 drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:53 simulator 05:55:51 -rw-rw-r-- 1 jenkins jenkins 229 May 16 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 05:55:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 05:55:51 + 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=a73672d5400e166621ab0562a57c0519cd2fea62 --label arch=amd64 --label version=0.0.0 . 05:55:51 Sending build context to Docker daemon 20.95MB 05:55:51 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:55:51 Step 2/23 : FROM ${BASE} AS builder 05:55:51 ---> 8707ae7a3d6f 05:55:51 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:55:51 + sudo service docker restart 05:55:52 ---> Running in 2b2a4d000562 05:55:52 Removing intermediate container 2b2a4d000562 05:55:52 ---> 844a9e44558f 05:55:52 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:55:52 ---> Running in 7bf906b84685 05:55:52 Removing intermediate container 7bf906b84685 05:55:52 ---> 3078c6360bc7 05:55:52 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:55:52 ---> Running in 25ef27fbb9ff 05:55:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:55:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:55:52 OK: 270 MiB in 60 packages 05:55:53 Removing intermediate container 25ef27fbb9ff 05:55:53 ---> 847eebda24c1 05:55:53 Step 6/23 : WORKDIR /device-modbus-go 05:55:53 ---> Running in 9fe349599bd5 05:55:53 Removing intermediate container 9fe349599bd5 05:55:53 ---> 098b0f9dddb1 05:55:53 Step 7/23 : COPY go.mod vendor* ./ 05:55:53 ---> d7d4e77c97aa 05:55:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:55:53 ---> Running in 796102ca3631 05:55:54 Removing intermediate container 796102ca3631 05:55:54 ---> 9226dec9ac83 05:55:54 Step 9/23 : COPY . . 05:55:55 ---> 7c2e5ff6c0ae 05:55:55 Step 10/23 : RUN ${MAKE} 05:55:55 ---> Running in 1f4e2f45f9ed 05:55:55 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/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:10 provisioning config files... 05:56:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15081620535429292810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:10 ---> ****-login.sh 05:56:10 nexus3.edgexfoundry.org:10001 05:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:11 Configure a credential helper to remove this warning. See 05:56:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:11 05:56:11 Login Succeeded 05:56:11 nexus3.edgexfoundry.org:10002 05:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:11 Configure a credential helper to remove this warning. See 05:56:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:11 05:56:11 Login Succeeded 05:56:11 nexus3.edgexfoundry.org:10003 05:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:11 Configure a credential helper to remove this warning. See 05:56:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:11 05:56:11 Login Succeeded 05:56:11 nexus3.edgexfoundry.org:10004 05:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:12 Configure a credential helper to remove this warning. See 05:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:12 05:56:12 Login Succeeded 05:56:12 ****.io 05:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:12 Configure a credential helper to remove this warning. See 05:56:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:12 05:56:12 Login Succeeded 05:56:12 ---> ****-login.sh ends [Pipeline] } 05:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:13 ========================================================= 05:56:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:56:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:56:14 Sending build context to Docker daemon 10.59MB 05:56:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:56:14 Step 2/10 : FROM ${BASE} AS builder 05:56:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:14 c6b39de5b339: Pulling fs layer 05:56:14 a69c41024577: Pulling fs layer 05:56:14 d6de4b400683: Pulling fs layer 05:56:14 35cb2a7552d0: Pulling fs layer 05:56:14 4f4fb700ef54: Pulling fs layer 05:56:14 464afbd9ba4c: Pulling fs layer 05:56:14 00f215d4a9da: Pulling fs layer 05:56:14 d496ad576159: Pulling fs layer 05:56:14 35cb2a7552d0: Waiting 05:56:14 4f4fb700ef54: Waiting 05:56:14 464afbd9ba4c: Waiting 05:56:14 00f215d4a9da: Waiting 05:56:14 d496ad576159: Waiting 05:56:14 a69c41024577: Download complete 05:56:14 35cb2a7552d0: Verifying Checksum 05:56:14 35cb2a7552d0: Download complete 05:56:14 4f4fb700ef54: Verifying Checksum 05:56:14 4f4fb700ef54: Download complete 05:56:14 c6b39de5b339: Verifying Checksum 05:56:14 c6b39de5b339: Download complete 05:56:14 464afbd9ba4c: Verifying Checksum 05:56:14 464afbd9ba4c: Download complete 05:56:14 d496ad576159: Verifying Checksum 05:56:14 d496ad576159: Download complete 05:56:15 c6b39de5b339: Pull complete 05:56:16 a69c41024577: Pull complete 05:56:16 d6de4b400683: Verifying Checksum 05:56:16 d6de4b400683: Download complete 05:56:17 00f215d4a9da: Verifying Checksum 05:56:17 00f215d4a9da: Download complete 05:56:30 d6de4b400683: Pull complete 05:56:30 35cb2a7552d0: Pull complete 05:56:30 4f4fb700ef54: Pull complete 05:56:30 464afbd9ba4c: Pull complete 05:56:34 Removing intermediate container 1f4e2f45f9ed 05:56:34 ---> 41070cf5780e 05:56:34 Step 11/23 : FROM alpine:3.18 05:56:34 3.18: Pulling from library/alpine 05:56:34 619be1103602: Already exists 05:56:34 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:56:34 Status: Downloaded newer image for alpine:3.18 05:56:34 ---> d3782b16ccc9 05:56:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:56:34 ---> Running in 47cb69e2598c 05:56:34 Removing intermediate container 47cb69e2598c 05:56:34 ---> 43d3f36d8fa6 05:56:34 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:56:34 ---> Running in c02dd3800d51 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:56:34 (1/1) Installing dumb-init (1.2.5-r2) 05:56:34 Executing busybox-1.36.1-r5.trigger 05:56:34 OK: 7 MiB in 16 packages 05:56:34 Removing intermediate container c02dd3800d51 05:56:34 ---> d6c51682af64 05:56:34 Step 14/23 : RUN apk --no-cache upgrade 05:56:34 ---> Running in eaa88a9e7fd4 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:56:34 Upgrading critical system libraries and apk-tools: 05:56:34 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:56:34 Executing busybox-1.36.1-r5.trigger 05:56:34 Continuing the upgrade transaction with new apk-tools: 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:56:34 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:56:34 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 05:56:34 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 05:56:34 OK: 7 MiB in 16 packages 05:56:34 Removing intermediate container eaa88a9e7fd4 05:56:34 ---> 3034cb3928b7 05:56:34 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:56:35 ---> a87672e56533 05:56:35 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:56:35 ---> d66567cbe348 05:56:35 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:56:35 ---> 55b3397cc66e 05:56:35 Step 18/23 : EXPOSE 59901 05:56:35 ---> Running in 9fc12c31b545 05:56:35 Removing intermediate container 9fc12c31b545 05:56:35 ---> e487a3298c37 05:56:35 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:56:35 ---> Running in af7b4c3c19f9 05:56:35 Removing intermediate container af7b4c3c19f9 05:56:35 ---> e9b914971566 05:56:35 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:56:35 ---> Running in 28bab5394357 05:56:35 Removing intermediate container 28bab5394357 05:56:35 ---> 1e095a177060 05:56:35 Step 21/23 : LABEL arch=amd64 05:56:35 ---> Running in fd7ccd984e65 05:56:35 Removing intermediate container fd7ccd984e65 05:56:35 ---> 8d81326a455b 05:56:35 Step 22/23 : LABEL git_sha=a73672d5400e166621ab0562a57c0519cd2fea62 05:56:35 ---> Running in 0ca98a3dae55 05:56:35 Removing intermediate container 0ca98a3dae55 05:56:35 ---> f333a36b3569 05:56:35 Step 23/23 : LABEL version=0.0.0 05:56:35 ---> Running in 7a88d8f12124 05:56:35 Removing intermediate container 7a88d8f12124 05:56:35 ---> 8a4e6c5d8f35 05:56:35 [Warning] One or more build-args [ARCH] were not consumed 05:56:35 Successfully built 8a4e6c5d8f35 05:56:35 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:56:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:37 05:56:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:37 latest: Pulling from edgex-lftools-log-publisher 05:56:37 5eb5b503b376: Pulling fs layer 05:56:37 5c69ac0246d0: Pulling fs layer 05:56:37 ec43610c2a17: Pulling fs layer 05:56:37 3a2ae6a8a46f: Pulling fs layer 05:56:37 33b1e0a273af: Pulling fs layer 05:56:37 5d3b04190fa2: Pulling fs layer 05:56:37 2f39f015ded8: Pulling fs layer 05:56:37 3a2ae6a8a46f: Waiting 05:56:37 33b1e0a273af: Waiting 05:56:37 2f39f015ded8: Waiting 05:56:37 5c69ac0246d0: Verifying Checksum 05:56:37 5c69ac0246d0: Download complete 05:56:37 3a2ae6a8a46f: Verifying Checksum 05:56:37 3a2ae6a8a46f: Download complete 05:56:37 33b1e0a273af: Verifying Checksum 05:56:37 33b1e0a273af: Download complete 05:56:37 5d3b04190fa2: Download complete 05:56:37 ec43610c2a17: Verifying Checksum 05:56:37 ec43610c2a17: Download complete 05:56:37 5eb5b503b376: Download complete 05:56:38 2f39f015ded8: Download complete 05:56:38 5eb5b503b376: Pull complete 05:56:39 00f215d4a9da: Pull complete 05:56:39 5c69ac0246d0: Pull complete 05:56:39 ec43610c2a17: Pull complete 05:56:39 3a2ae6a8a46f: Pull complete 05:56:39 33b1e0a273af: Pull complete 05:56:39 5d3b04190fa2: Pull complete 05:56:39 d496ad576159: Pull complete 05:56:39 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:56:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:56:39 ---> f246e2811388 05:56:39 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:56:41 ---> Running in 3ce6d4c5bd0b 05:56:41 Removing intermediate container 3ce6d4c5bd0b 05:56:41 ---> f17b07bb1102 05:56:41 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:56:41 ---> Running in 7829e66493ec 05:56:41 Removing intermediate container 7829e66493ec 05:56:41 ---> 45db0d25b74d 05:56:41 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:56:41 ---> Running in 7a2ec370037d 05:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:56:44 2f39f015ded8: Pull complete 05:56:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:44 (1/8) Installing openssh-keygen (9.3_p2-r1) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:44 (2/8) Installing libedit (20221030.3.1-r1) 05:56:44 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:56:44 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:56:44 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:56:44 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:56:44 (7/8) Installing openssh-server (9.3_p2-r1) 05:56:44 (8/8) Installing openssh (9.3_p2-r1) 05:56:44 Executing busybox-1.36.1-r5.trigger 05:56:44 OK: 272 MiB in 60 packages 05:56:44 prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container 05:56:44 $ 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-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@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:56:45 Removing intermediate container 7a2ec370037d 05:56:45 ---> 5b83e40dd017 05:56:45 Step 6/10 : WORKDIR /device-modbus-go 05:56:45 ---> Running in 0e8944b3462d 05:56:45 Removing intermediate container 0e8944b3462d 05:56:45 ---> bd0b7561ab24 05:56:45 Step 7/10 : COPY go.mod vendor* ./ 05:56:46 ---> aae44591020b 05:56:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:56:46 ---> Running in 4335076288f0 05:56:51 $ docker top fbd9c737ef61d5553cd383944e3fe06bf2c46258d9a5789bdb2d46562fa59508 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:51 ---> job-cost.sh 05:56:51 lf-activate-venv: SKIPPING 05:56:51 INFO: No Stack... 05:56:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:52 INFO: Archiving Costs [Pipeline] sh 05:56:52 + cat /w/workspace/xfoundry_device-modbus-go_PR-552/archives/cost.csv 05:56:52 + cut -d, -f6 [Pipeline] lock 05:56:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] 05:56:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] did not exist. Created. 05:56:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:53 + echo total: 0.2199999988079071 [Pipeline] stash 05:56:53 Stashed 1 file(s) [Pipeline] } 05:56:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:53 $ docker stop --time=1 fbd9c737ef61d5553cd383944e3fe06bf2c46258d9a5789bdb2d46562fa59508 05:56:54 $ docker rm -f --volumes fbd9c737ef61d5553cd383944e3fe06bf2c46258d9a5789bdb2d46562fa59508 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:58:38 Removing intermediate container 4335076288f0 05:58:38 ---> 214243382860 05:58:38 Step 9/10 : COPY . . 05:58:38 ---> 8d94ae9f7c1e 05:58:38 Step 10/10 : RUN ${MAKE} 05:58:38 ---> Running in b9845e5251d7 05:58:38 noop 05:58:38 Removing intermediate container b9845e5251d7 05:58:38 ---> 48e25e7dfee2 05:58:38 Successfully built 48e25e7dfee2 05:58:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:38 + docker inspect -f . ci-base-image-arm64 05:58:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:38 prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container 05:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-arm64 cat 05:58:40 $ docker top de62bf87e39fe26df70ff289663a0e79107ea09eff2efc3d9bdeb6e2d643bed2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:40 + go version 05:58:40 go version go1.21.9 linux/arm64 [Pipeline] } 05:58:41 $ docker stop --time=1 de62bf87e39fe26df70ff289663a0e79107ea09eff2efc3d9bdeb6e2d643bed2 05:58:42 $ docker rm -f --volumes de62bf87e39fe26df70ff289663a0e79107ea09eff2efc3d9bdeb6e2d643bed2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:43 + docker inspect -f . ci-base-image-arm64 05:58:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container 05:58:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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-arm64 cat 05:58:45 $ docker top def0b4c8bd4f988da5a531d61570ea0914df18c697c5b0835bd416a6c11d894c -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:45 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:58:46 + make test 05:58:46 go test ./... -coverprofile=coverage.out 05:58:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:02:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:02:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.9% of statements 06:02:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:02:00 go vet ./... 06:02:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:47 ./bin/test-attribution-txt.sh 06:02:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:02:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:02:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:02:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:02:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:02:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:02:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:02:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:02:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:02:47 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 06:02:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:02:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:02:47 $ docker stop --time=1 def0b4c8bd4f988da5a531d61570ea0914df18c697c5b0835bd416a6c11d894c 06:02:48 $ docker rm -f --volumes def0b4c8bd4f988da5a531d61570ea0914df18c697c5b0835bd416a6c11d894c [Pipeline] // withDockerContainer [Pipeline] sh 06:02:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:50 Warning: overwriting stash ‘coverage-report’ 06:02:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:51 + ls -al . 06:02:51 total 260 06:02:51 drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:58 . 06:02:51 drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:55 .. 06:02:51 -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:55 .dockerignore 06:02:51 drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:55 .git 06:02:51 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:55 .github 06:02:51 -rw-rw-r-- 1 jenkins jenkins 266 May 16 05:55 .gitignore 06:02:51 -rw-rw-r-- 1 jenkins jenkins 41 May 16 05:55 .golangci.yml 06:02:51 -rw-rw-r-- 1 jenkins jenkins 11101 May 16 05:55 Attribution.txt 06:02:51 -rw-rw-r-- 1 jenkins jenkins 16388 May 16 05:55 CHANGELOG.md 06:02:51 -rw-rw-r-- 1 jenkins jenkins 1474 May 16 05:55 Dockerfile 06:02:51 -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:55 GOVERNANCE.md 06:02:51 -rw-rw-r-- 1 jenkins jenkins 658 May 16 05:55 Jenkinsfile 06:02:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 05:55 LICENSE 06:02:51 -rw-rw-r-- 1 jenkins jenkins 1942 May 16 05:55 Makefile 06:02:51 -rw-rw-r-- 1 jenkins jenkins 622 May 16 05:55 OWNERS.md 06:02:51 -rw-rw-r-- 1 jenkins jenkins 4463 May 16 05:55 README.md 06:02:51 -rw-rw-r-- 1 jenkins jenkins 5 May 16 05:53 VERSION 06:02:51 drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:55 bin 06:02:51 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:55 cmd 06:02:51 -rw-r--r-- 1 jenkins jenkins 24601 May 16 06:01 coverage.out 06:02:51 -rw-rw-r-- 1 jenkins jenkins 7289 May 16 05:55 go.mod 06:02:51 -rw-rw-r-- 1 jenkins jenkins 101859 May 16 05:55 go.sum 06:02:51 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:55 internal 06:02:51 drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:55 simulator 06:02:51 -rw-rw-r-- 1 jenkins jenkins 229 May 16 05:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:52 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a73672d5400e166621ab0562a57c0519cd2fea62 --label arch=arm64 --label version=0.0.0 . 06:02:52 Sending build context to Docker daemon 10.62MB 06:02:52 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:02:52 Step 2/23 : FROM ${BASE} AS builder 06:02:52 ---> 48e25e7dfee2 06:02:52 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:02:52 ---> Running in 3fe3737df5b2 06:02:53 Removing intermediate container 3fe3737df5b2 06:02:53 ---> 05882d1dccb5 06:02:53 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:53 ---> Running in 3b1761a0f78c 06:02:53 Removing intermediate container 3b1761a0f78c 06:02:53 ---> 614be95947eb 06:02:53 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:02:53 ---> Running in 7d552ff6952a 06:02:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:02:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:02:55 OK: 272 MiB in 60 packages 06:02:56 Removing intermediate container 7d552ff6952a 06:02:56 ---> f439ff3f394c 06:02:56 Step 6/23 : WORKDIR /device-modbus-go 06:02:56 ---> Running in 6eb51f5dd99c 06:02:57 Removing intermediate container 6eb51f5dd99c 06:02:57 ---> 631f66177ed5 06:02:57 Step 7/23 : COPY go.mod vendor* ./ 06:02:57 ---> 7495a69cef32 06:02:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:57 ---> Running in 4e7d3decb9f6 06:02:59 Removing intermediate container 4e7d3decb9f6 06:02:59 ---> c343e5f1b338 06:02:59 Step 9/23 : COPY . . 06:03:00 ---> 0496ddd628ba 06:03:00 Step 10/23 : RUN ${MAKE} 06:03:00 ---> Running in 43d52f5de1c8 06:03:01 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/v3/internal/common.SDKVersion=v3.2.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:06:23 Removing intermediate container 43d52f5de1c8 06:06:23 ---> 9831954c0ecd 06:06:23 Step 11/23 : FROM alpine:3.18 06:06:23 3.18: Pulling from library/alpine 06:06:23 c6b39de5b339: Already exists 06:06:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:06:23 Status: Downloaded newer image for alpine:3.18 06:06:23 ---> 33abbf032149 06:06:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:06:23 ---> Running in 746df680e406 06:06:23 Removing intermediate container 746df680e406 06:06:23 ---> cd7d95fcaa1f 06:06:23 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:06:23 ---> Running in a0643b3520ed 06:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:06:23 (1/1) Installing dumb-init (1.2.5-r2) 06:06:23 Executing busybox-1.36.1-r5.trigger 06:06:23 OK: 8 MiB in 16 packages 06:06:23 Removing intermediate container a0643b3520ed 06:06:23 ---> 4d266c01af5c 06:06:23 Step 14/23 : RUN apk --no-cache upgrade 06:06:23 ---> Running in cc0318e761ea 06:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:06:23 Upgrading critical system libraries and apk-tools: 06:06:23 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:06:23 Executing busybox-1.36.1-r5.trigger 06:06:23 Continuing the upgrade transaction with new apk-tools: 06:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:06:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:06:23 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:06:23 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 06:06:23 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 06:06:23 OK: 8 MiB in 16 packages 06:06:23 Removing intermediate container cc0318e761ea 06:06:23 ---> 5f6036eb2336 06:06:23 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:06:23 ---> 37e52f400d2c 06:06:23 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:06:23 ---> 0ceb5370da3e 06:06:23 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:06:23 ---> 7f0419d57659 06:06:23 Step 18/23 : EXPOSE 59901 06:06:23 ---> Running in 4ed63c9e511c 06:06:24 Removing intermediate container 4ed63c9e511c 06:06:24 ---> 4ed32ff172bb 06:06:24 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:06:24 ---> Running in fc7a2858cdbd 06:06:24 Removing intermediate container fc7a2858cdbd 06:06:24 ---> e2b8a5519707 06:06:24 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:06:24 ---> Running in 674985a3c050 06:06:24 Removing intermediate container 674985a3c050 06:06:24 ---> 1e4f4f1a5dc0 06:06:24 Step 21/23 : LABEL arch=arm64 06:06:24 ---> Running in 3fa4f1bde7b1 06:06:25 Removing intermediate container 3fa4f1bde7b1 06:06:25 ---> cb9ac6674fe0 06:06:25 Step 22/23 : LABEL git_sha=a73672d5400e166621ab0562a57c0519cd2fea62 06:06:25 ---> Running in 6548f7c77e4f 06:06:25 Removing intermediate container 6548f7c77e4f 06:06:25 ---> 0833407b137c 06:06:25 Step 23/23 : LABEL version=0.0.0 06:06:25 ---> Running in 4600bc2abeec 06:06:25 Removing intermediate container 4600bc2abeec 06:06:25 ---> 96ec3d2a8820 06:06:25 [Warning] One or more build-args [ARCH] were not consumed 06:06:26 Successfully built 96ec3d2a8820 06:06:26 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:27 06:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:27 arm64: Pulling from edgex-lftools-log-publisher 06:06:27 8998bd30e6a1: Pulling fs layer 06:06:27 04944245beec: Pulling fs layer 06:06:27 699f458cf7ca: Pulling fs layer 06:06:27 765212b225bb: Pulling fs layer 06:06:27 f23df028b6ca: Pulling fs layer 06:06:27 d65c8cfc05b1: Pulling fs layer 06:06:27 2437ff75d9bd: Pulling fs layer 06:06:27 765212b225bb: Waiting 06:06:27 f23df028b6ca: Waiting 06:06:27 d65c8cfc05b1: Waiting 06:06:27 2437ff75d9bd: Waiting 06:06:27 04944245beec: Verifying Checksum 06:06:27 04944245beec: Download complete 06:06:27 765212b225bb: Verifying Checksum 06:06:27 765212b225bb: Download complete 06:06:27 f23df028b6ca: Verifying Checksum 06:06:27 f23df028b6ca: Download complete 06:06:27 d65c8cfc05b1: Verifying Checksum 06:06:27 d65c8cfc05b1: Download complete 06:06:27 699f458cf7ca: Verifying Checksum 06:06:27 699f458cf7ca: Download complete 06:06:28 8998bd30e6a1: Verifying Checksum 06:06:28 8998bd30e6a1: Download complete 06:06:30 2437ff75d9bd: Verifying Checksum 06:06:30 2437ff75d9bd: Download complete 06:06:32 8998bd30e6a1: Pull complete 06:06:33 04944245beec: Pull complete 06:06:34 699f458cf7ca: Pull complete 06:06:34 765212b225bb: Pull complete 06:06:35 f23df028b6ca: Pull complete 06:06:35 d65c8cfc05b1: Pull complete 06:06:54 2437ff75d9bd: Pull complete 06:06:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:54 prd-ubuntu20.04-docker-arm64-4c-16g-263 does not seem to be running inside a container 06:06:54 $ 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/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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:arm64 cat 06:06:57 $ docker top b2c3e1192da7036a6ba13d42eb6bee8ceafb17d192c5303b38b9387a2d97f00c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:57 ---> job-cost.sh 06:06:58 lf-activate-venv: SKIPPING 06:06:58 INFO: No Stack... 06:06:58 INFO: Retrieving Pricing Info for: v3-standard-4 06:06:59 INFO: Archiving Costs [Pipeline] sh 06:07:00 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:07:00 + cut -d, -f6 [Pipeline] lock 06:07:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] 06:07:01 Resource [jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] did not exist. Created. 06:07:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:07:01 /w/workspace/device-modbus-go/1@tmp/durable-1d3951f3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:07:02 + echo total: 0.10999999940395355 [Pipeline] stash 06:07:02 Warning: overwriting stash ‘stack-cost’ 06:07:02 Stashed 1 file(s) [Pipeline] } 06:07:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-552-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:07:02 $ docker stop --time=1 b2c3e1192da7036a6ba13d42eb6bee8ceafb17d192c5303b38b9387a2d97f00c 06:07:04 $ docker rm -f --volumes b2c3e1192da7036a6ba13d42eb6bee8ceafb17d192c5303b38b9387a2d97f00c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:07:05 provisioning config files... 06:07:05 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config7797273553367384234tmp [Pipeline] { [Pipeline] sh 06:07:05 + set +x 06:07:05 + curl -s https://codecov.io/bash 06:07:05 + bash -s -- 06:07:05 06:07:05 _____ _ 06:07:05 / ____| | | 06:07:05 | | ___ __| | ___ ___ _____ __ 06:07:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:07:05 | |___| (_) | (_| | __/ (_| (_) \ V / 06:07:05 \_____\___/ \__,_|\___|\___\___/ \_/ 06:07:05 Bash-1.0.6 06:07:05 06:07:05 06:07:05 ==> git version 2.25.1 found 06:07:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:07:05 Release-Date: 2020-01-08 06:07:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:07:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:07:05 ==> Jenkins CI detected. 06:07:05 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-552 06:07:05 project root: . 06:07:05 --> token set from env 06:07:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:07:05 ==> Running gcov in . (disable via -X gcov) 06:07:05 ==> Python coveragepy not found 06:07:05 ==> Searching for coverage reports in: 06:07:05 + . 06:07:05 -> Found 1 reports 06:07:05 ==> Detecting git/mercurial file structure 06:07:05 ==> Reading reports 06:07:05 + ./coverage.out bytes=24601 06:07:05 ==> Appending adjustments 06:07:05 https://docs.codecov.io/docs/fixing-reports 06:07:06 + Found adjustments 06:07:06 ==> Gzipping contents 06:07:06 4.0K /tmp/codecov.mGPOSc.gz 06:07:06 ==> Uploading reports 06:07:06 url: https://codecov.io 06:07:06 query: branch=PR-552&commit=a73672d5400e166621ab0562a57c0519cd2fea62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-552%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=552&job=&cmd_args= 06:07:06 -> Pinging Codecov 06:07:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-552&commit=a73672d5400e166621ab0562a57c0519cd2fea62&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-552%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=552&job=&cmd_args= 06:07:06 -> Uploading to 06:07:06 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/55DBCA73C666E3227836607328DD7E49/a73672d5400e166621ab0562a57c0519cd2fea62/3952a3b2-e28b-4c54-a24e-d8d10e90610d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T060706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cec9355343726fac1c3574377f7707ae5aefca1db0412c0f026d33e790638af0 06:07:06 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:06 Dload Upload Total Spent Left Speed 06:07:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15250 --:--:-- --:--:-- --:--:-- 15250 06:07:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a73672d5400e166621ab0562a57c0519cd2fea62 [Pipeline] } 06:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:07:08 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-552/archives ] 06:07:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-552/archives 06:07:08 total 16 06:07:08 drwxr-xr-x 3 root root 4096 May 16 05:56 . 06:07:08 drwxrwxr-x 10 jenkins jenkins 4096 May 16 05:56 .. 06:07:08 drwxr-xr-x 2 root root 4096 May 16 05:56 cost 06:07:08 -rw-r--r-- 1 root root 88 May 16 05:56 cost.csv 06:07:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-552/archives 06:07:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-552/archives 06:07:08 total 16 06:07:08 drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:56 . 06:07:08 drwxrwxr-x 10 jenkins jenkins 4096 May 16 05:56 .. 06:07:08 drwxr-xr-x 2 jenkins jenkins 4096 May 16 05:56 cost 06:07:08 -rw-r--r-- 1 jenkins jenkins 88 May 16 05:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:07:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:07:10 ---> package-listing.sh 06:07:10 ++ facter osfamily 06:07:10 ++ tr '[:upper:]' '[:lower:]' 06:07:10 + OS_FAMILY=debian 06:07:10 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-552 06:07:10 + START_PACKAGES=/tmp/packages_start.txt 06:07:10 + END_PACKAGES=/tmp/packages_end.txt 06:07:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:07:10 + PACKAGES=/tmp/packages_start.txt 06:07:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-552 ']' 06:07:10 + PACKAGES=/tmp/packages_end.txt 06:07:10 + case "${OS_FAMILY}" in 06:07:10 + dpkg -l 06:07:10 + grep '^ii' 06:07:10 + '[' -f /tmp/packages_start.txt ']' 06:07:10 + '[' -f /tmp/packages_end.txt ']' 06:07:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:07:10 + '[' /w/workspace/xfoundry_device-modbus-go_PR-552 ']' 06:07:10 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-552/archives/ 06:07:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-552/archives/ [Pipeline] echo 06:07:10 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-552/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:07:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:07:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:11 prd-ubuntu20.04-docker-8c-8g-262 does not seem to be running inside a container 06:07:11 $ 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-552/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-552 -v /w/workspace/xfoundry_device-modbus-go_PR-552:/w/workspace/xfoundry_device-modbus-go_PR-552:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-552@tmp:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:07:11 $ docker top 09e472b19fd19d06f180295cb1312273f1819502975dc64b335f53b3ec585811 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:12 + touch /tmp/pre-build-complete [Pipeline] sh 06:07:12 + mkdir -p /var/log/sysstat [Pipeline] sh 06:07:13 + ls /var/log/sa-host 06:07:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:13 provisioning config files... 06:07:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-552@tmp/config2862815782595748425tmp [Pipeline] { [Pipeline] echo 06:07:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:07:13 ---> create-netrc.sh [Pipeline] } 06:07:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:07:14 ---> python-tools-install.sh [Pipeline] echo 06:07:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:07:14 ---> sudo-logs.sh 06:07:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:07:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:07:15 ---> job-cost.sh 06:07:15 lf-activate-venv: SKIPPING 06:07:15 DEBUG: total: 0.2199999988079071 06:07:15 INFO: Retrieving Stack Cost... 06:07:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:07:15 INFO: Archiving Costs [Pipeline] echo 06:07:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:07:16 ---> logs-deploy.sh 06:07:16 lf-activate-venv: SKIPPING 06:07:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-552/1 06:07:16 INFO: archiving workspace using pattern(s): 06:07:17 Archives upload complete. 06:07:17 INFO: archiving logs to Nexus