Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f7c613b0aa0c8785abd02e1ee31bb9de316262e+56822b146883d567dc10738adb0b8ce5338db960 (efc68a712143c49e542e558eb69ef9b594c9ec41) 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-ssh8153018825537821273.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-ssh8659444444823882362.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3069789244076640820.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 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-ssh14632134719995101289.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9438304521631613790.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3559 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-546 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e > 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/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing a3205aff84a2ac79645a4a62bb80175eb4859498 Checking out Revision a3205aff84a2ac79645a4a62bb80175eb4859498 (PR-546) 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 a3205aff84a2ac79645a4a62bb80175eb4859498 # timeout=10 Commit message: "Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD" > git rev-list --no-walk 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:24 ========================================================= 00:54:24 EdgeX Global Pipelines Version Info 00:54:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:25 ------------------- 00:54:25 stable info: 00:54:25 ------------------- 00:54:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:54:25 Message: update stable to v1.0.258 00:54:26 ------------------- 00:54:26 experimental info: 00:54:26 ------------------- 00:54:26 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 00:54:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:54:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-546 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-546 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-546 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3205af [Pipeline] echo 00:54:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:27 provisioning config files... 00:54:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config3370705394556700331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:28 ---> ****-login.sh 00:54:28 nexus3.edgexfoundry.org:10001 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10002 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10003 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 nexus3.edgexfoundry.org:10004 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 ****.io 00:54:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:28 Configure a credential helper to remove this warning. See 00:54:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:28 00:54:28 Login Succeeded 00:54:28 ---> ****-login.sh ends [Pipeline] } 00:54:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:29 + git rev-list -1 --merges a3205aff84a2ac79645a4a62bb80175eb4859498~1..a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo 00:54:29 -----------> git rev-list -1 --merges a3205aff84a2ac79645a4a62bb80175eb4859498~1..a3205aff84a2ac79645a4a62bb80175eb4859498 a3205aff84a2ac79645a4a62bb80175eb4859498 00:54:29 a3205aff84a2ac79645a4a62bb80175eb4859498 [false] [Pipeline] sh 00:54:29 + git log --format=format:%s -1 a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo 00:54:29 ========================================================= 00:54:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:29 + git log --format=format:%s -1 a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo 00:54:29 [semverPrep] GIT_COMMIT: a3205aff84a2ac79645a4a62bb80175eb4859498, Commit Message: Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD [Pipeline] echo 00:54:29 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:30 + grep -v github /etc/ssh/ssh_known_hosts 00:54:30 + [ -e /tmp/ssh_known_hosts ] 00:54:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:30 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:30 00:54:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:30 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:30 b85a868b505f: Pulling fs layer 00:54:30 e2be974225ed: Pulling fs layer 00:54:30 339a4e72a1f5: Pulling fs layer 00:54:30 988bab9f4d93: Pulling fs layer 00:54:30 1469e6f7b9e6: Pulling fs layer 00:54:30 eaf3925da568: Pulling fs layer 00:54:30 bab4dde63d76: Pulling fs layer 00:54:30 bde34c3a00c8: Pulling fs layer 00:54:30 b352a97aabf1: Pulling fs layer 00:54:30 4872d77fe225: Pulling fs layer 00:54:30 5851b861e8e6: Pulling fs layer 00:54:30 b352a97aabf1: Waiting 00:54:30 bab4dde63d76: Waiting 00:54:30 4872d77fe225: Waiting 00:54:30 5851b861e8e6: Waiting 00:54:30 eaf3925da568: Waiting 00:54:30 1469e6f7b9e6: Waiting 00:54:30 988bab9f4d93: Waiting 00:54:30 e2be974225ed: Verifying Checksum 00:54:30 e2be974225ed: Download complete 00:54:30 988bab9f4d93: Verifying Checksum 00:54:30 988bab9f4d93: Download complete 00:54:31 1469e6f7b9e6: Verifying Checksum 00:54:31 1469e6f7b9e6: Download complete 00:54:31 eaf3925da568: Verifying Checksum 00:54:31 eaf3925da568: Download complete 00:54:31 339a4e72a1f5: Verifying Checksum 00:54:31 339a4e72a1f5: Download complete 00:54:31 bde34c3a00c8: Verifying Checksum 00:54:31 bde34c3a00c8: Download complete 00:54:31 b352a97aabf1: Verifying Checksum 00:54:31 b352a97aabf1: Download complete 00:54:31 4872d77fe225: Download complete 00:54:31 5851b861e8e6: Verifying Checksum 00:54:31 5851b861e8e6: Download complete 00:54:31 b85a868b505f: Verifying Checksum 00:54:31 b85a868b505f: Download complete 00:54:31 bab4dde63d76: Verifying Checksum 00:54:31 bab4dde63d76: Download complete 00:54:32 b85a868b505f: Pull complete 00:54:33 e2be974225ed: Pull complete 00:54:33 339a4e72a1f5: Pull complete 00:54:33 988bab9f4d93: Pull complete 00:54:33 1469e6f7b9e6: Pull complete 00:54:33 eaf3925da568: Pull complete 00:54:35 bab4dde63d76: Pull complete 00:54:35 bde34c3a00c8: Pull complete 00:54:35 b352a97aabf1: Pull complete 00:54:35 4872d77fe225: Pull complete 00:54:36 5851b861e8e6: Pull complete 00:54:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:36 prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container 00:54:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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-devops/py-git-semver:0.1.4 cat 00:54:39 $ docker top da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d -eo pid,comm 00:54:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:54:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:39 [ssh-agent] Looking for ssh-agent implementation... 00:54:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:39 $ docker exec da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent 00:54:40 SSH_AUTH_SOCK=/tmp/ssh-Zc1NXZeiCYfh/agent.31 00:54:40 SSH_AGENT_PID=37 00:54:40 Running ssh-add (command line suppressed) 00:54:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_6997595243927268422.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_6997595243927268422.key) 00:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:40 + git tag --points-at HEAD [Pipeline] } 00:54:40 $ docker exec --env ******** --env ******** da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent -k 00:54:40 unset SSH_AUTH_SOCK; 00:54:40 unset SSH_AGENT_PID; 00:54:40 echo Agent pid 37 killed; 00:54:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:40 [ssh-agent] Looking for ssh-agent implementation... 00:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:40 $ docker exec da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent 00:54:40 SSH_AUTH_SOCK=/tmp/ssh-QmEDjrDTNc2d/agent.70 00:54:40 SSH_AGENT_PID=76 00:54:40 Running ssh-add (command line suppressed) 00:54:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_12287354660404891605.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_12287354660404891605.key) 00:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:41 + git semver init 00:54:41 2024-04-25 00:54:41,442 [run_init] DEBUG init version:0.0.0 force:False 00:54:41 2024-04-25 00:54:41,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver 00:54:41 2024-04-25 00:54:41,444 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-546/.semver 00:54:41 2024-04-25 00:54:41,444 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-546/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546, universal_newlines=False, shell=None, istream=None) 00:54:42 2024-04-25 00:54:42,581 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.git/info/exclude 00:54:42 2024-04-25 00:54:42,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 with force:False 00:54:42 2024-04-25 00:54:42,582 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 00:54:42 2024-04-25 00:54:42,586 [execute] INFO git cat-file --batch-check 00:54:42 2024-04-25 00:54:42,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) 00:54:42 2024-04-25 00:54:42,593 [execute] INFO git cat-file --batch 00:54:42 2024-04-25 00:54:42,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) 00:54:42 2024-04-25 00:54:42,598 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 00:54:42 0.0.0 [Pipeline] } 00:54:42 $ docker exec --env ******** --env ******** da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent -k 00:54:43 unset SSH_AUTH_SOCK; 00:54:43 unset SSH_AGENT_PID; 00:54:43 echo Agent pid 76 killed; 00:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:43 + git semver [Pipeline] } 00:54:43 $ docker stop --time=1 da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d 00:54:44 $ docker rm -f --volumes da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d [Pipeline] // withDockerContainer [Pipeline] sh 00:54:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:45 Stashed 1 file(s) [Pipeline] echo 00:54:45 [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 00:54:45 provisioning config files... 00:54:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config11243091587453659561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:46 ---> ****-login.sh 00:54:46 nexus3.edgexfoundry.org:10001 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 nexus3.edgexfoundry.org:10002 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 nexus3.edgexfoundry.org:10003 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 nexus3.edgexfoundry.org:10004 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 ****.io 00:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:46 Configure a credential helper to remove this warning. See 00:54:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:46 00:54:46 Login Succeeded 00:54:46 ---> ****-login.sh ends [Pipeline] } 00:54:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:46 ========================================================= 00:54:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:54:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:46 + 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 . 00:54:46 Sending build context to Docker daemon 17.37MB 00:54:46 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:54:46 Step 2/10 : FROM ${BASE} AS builder 00:54:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:46 619be1103602: Pulling fs layer 00:54:46 7862e08f4a3e: Pulling fs layer 00:54:46 5df492c9dc93: Pulling fs layer 00:54:46 7629e6793208: Pulling fs layer 00:54:46 4f4fb700ef54: Pulling fs layer 00:54:46 fb5054dd5b73: Pulling fs layer 00:54:46 eeca6798cff9: Pulling fs layer 00:54:46 aa269ceb94a6: Pulling fs layer 00:54:46 4f4fb700ef54: Waiting 00:54:46 eeca6798cff9: Waiting 00:54:46 fb5054dd5b73: Waiting 00:54:46 aa269ceb94a6: Waiting 00:54:46 ada007ff1a6a: Pulling fs layer 00:54:46 7629e6793208: Waiting 00:54:47 7862e08f4a3e: Verifying Checksum 00:54:47 7862e08f4a3e: Download complete 00:54:47 7629e6793208: Verifying Checksum 00:54:47 7629e6793208: Download complete 00:54:47 4f4fb700ef54: Verifying Checksum 00:54:47 4f4fb700ef54: Download complete 00:54:47 fb5054dd5b73: Verifying Checksum 00:54:47 fb5054dd5b73: Download complete 00:54:47 619be1103602: Verifying Checksum 00:54:47 619be1103602: Download complete 00:54:47 eeca6798cff9: Verifying Checksum 00:54:47 eeca6798cff9: Download complete 00:54:47 619be1103602: Pull complete 00:54:47 ada007ff1a6a: Verifying Checksum 00:54:47 ada007ff1a6a: Download complete 00:54:47 7862e08f4a3e: Pull complete 00:54:47 5df492c9dc93: Verifying Checksum 00:54:47 5df492c9dc93: Download complete 00:54:48 aa269ceb94a6: Verifying Checksum 00:54:48 aa269ceb94a6: Download complete 00:54:51 5df492c9dc93: Pull complete 00:54:51 7629e6793208: Pull complete 00:54:51 4f4fb700ef54: Pull complete 00:54:51 fb5054dd5b73: Pull complete 00:54:51 eeca6798cff9: Pull complete 00:54:53 aa269ceb94a6: Pull complete 00:54:53 ada007ff1a6a: Pull complete 00:54:53 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 00:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:54:53 ---> f489d0715acc 00:54:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:54:58 ---> Running in af695d9beb00 00:54:58 Removing intermediate container af695d9beb00 00:54:58 ---> 65244ecde602 00:54:58 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:54:58 ---> Running in 5168ddcbbebf 00:54:58 Removing intermediate container 5168ddcbbebf 00:54:58 ---> c8dc46939e91 00:54:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:54:58 ---> Running in 7a531f576712 00:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:54:58 (1/8) Installing openssh-keygen (9.3_p2-r1) 00:54:58 (2/8) Installing libedit (20221030.3.1-r1) 00:54:58 (3/8) Installing openssh-client-common (9.3_p2-r1) 00:54:58 (4/8) Installing openssh-client-default (9.3_p2-r1) 00:54:58 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 00:54:58 (6/8) Installing openssh-server-common (9.3_p2-r1) 00:54:58 (7/8) Installing openssh-server (9.3_p2-r1) 00:54:58 (8/8) Installing openssh (9.3_p2-r1) 00:54:58 Executing busybox-1.36.1-r5.trigger 00:54:58 OK: 270 MiB in 60 packages 00:54:59 Removing intermediate container 7a531f576712 00:54:59 ---> a32db2b01968 00:54:59 Step 6/10 : WORKDIR /device-modbus-go 00:54:59 ---> Running in 44e31cd205c6 00:54:59 Removing intermediate container 44e31cd205c6 00:54:59 ---> 920127e5bc9a 00:54:59 Step 7/10 : COPY go.mod vendor* ./ 00:54:59 ---> 047e45d91844 00:54:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:59 ---> Running in a250a227d6eb 00:55:00 Still waiting to schedule task 00:55:00 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3556’ 00:55:55 Removing intermediate container a250a227d6eb 00:55:55 ---> b3d5dacdc41b 00:55:55 Step 9/10 : COPY . . 00:55:55 ---> 39fdec2ca369 00:55:55 Step 10/10 : RUN ${MAKE} 00:55:55 ---> Running in 2b759d5e70e6 00:55:55 noop 00:55:55 Removing intermediate container 2b759d5e70e6 00:55:55 ---> f30d768c9720 00:55:55 Successfully built f30d768c9720 00:55:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:56 + docker inspect -f . ci-base-image-x86_64 00:55:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:56 prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container 00:55:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:55:56 $ docker top ce56eb7d13b2e2d6f1782b61f5b41835347ebd5277da2ac08c2b325c68277901 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:57 + go version 00:55:57 go version go1.21.9 linux/amd64 [Pipeline] } 00:55:57 $ docker stop --time=1 ce56eb7d13b2e2d6f1782b61f5b41835347ebd5277da2ac08c2b325c68277901 00:55:58 $ docker rm -f --volumes ce56eb7d13b2e2d6f1782b61f5b41835347ebd5277da2ac08c2b325c68277901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:58 + docker inspect -f . ci-base-image-x86_64 00:55:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:58 prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container 00:55:58 $ 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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:55:59 $ docker top 6248564878a28e79489e0119c227556118df19a521908f35e2c1d9038737d02f -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:59 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] fileExists [Pipeline] sh 00:55:59 + make test 00:55:59 go test ./... -coverprofile=coverage.out 00:56:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:56:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:56:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements 00:56:29 go vet ./... 00:56:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:33 ./bin/test-attribution-txt.sh 00:56:34 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 00:56:34 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 00:56:34 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 00:56:34 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 00:56:34 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 00:56:34 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 00:56:34 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 00:56:34 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 00:56:34 An attribution for golang.org/x/term is missing from Attribution.txt, please add 00:56:34 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 00:56:34 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 00:56:34 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 00:56:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:56:34 $ docker stop --time=1 6248564878a28e79489e0119c227556118df19a521908f35e2c1d9038737d02f 00:56:38 $ docker rm -f --volumes 6248564878a28e79489e0119c227556118df19a521908f35e2c1d9038737d02f [Pipeline] // withDockerContainer [Pipeline] sh 00:56:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:40 + ls -al . 00:56:40 total 264 00:56:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 00:56 . 00:56:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 00:54 .. 00:56:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 00:54 .dockerignore 00:56:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:56 .git 00:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:54 .github 00:56:40 -rw-rw-r-- 1 jenkins jenkins 266 Apr 25 00:54 .gitignore 00:56:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 00:54 .golangci.yml 00:56:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 00:54 .semver 00:56:40 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 25 00:54 Attribution.txt 00:56:40 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 25 00:54 CHANGELOG.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 25 00:54 Dockerfile 00:56:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 00:54 GOVERNANCE.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 658 Apr 25 00:54 Jenkinsfile 00:56:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 00:54 LICENSE 00:56:40 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 25 00:54 Makefile 00:56:40 -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 00:54 OWNERS.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 25 00:54 README.md 00:56:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 00:54 VERSION 00:56:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:54 bin 00:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:54 cmd 00:56:40 -rw-r--r-- 1 jenkins jenkins 24601 Apr 25 00:56 coverage.out 00:56:40 -rw-rw-r-- 1 jenkins jenkins 7289 Apr 25 00:54 go.mod 00:56:40 -rw-rw-r-- 1 jenkins jenkins 101859 Apr 25 00:54 go.sum 00:56:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:54 internal 00:56:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:54 simulator 00:56:40 -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:40 + 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=a3205aff84a2ac79645a4a62bb80175eb4859498 --label arch=amd64 --label version=0.0.0 . 00:56:40 Sending build context to Docker daemon 17.4MB 00:56:40 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 00:56:40 Step 2/23 : FROM ${BASE} AS builder 00:56:40 ---> f30d768c9720 00:56:40 Step 3/23 : ARG ADD_BUILD_TAGS="" 00:56:40 ---> Running in 632295a96894 00:56:41 Removing intermediate container 632295a96894 00:56:41 ---> 4c579e0ffb34 00:56:41 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:41 ---> Running in edfd39ea60a7 00:56:41 Removing intermediate container edfd39ea60a7 00:56:41 ---> 3f6c5f92a55e 00:56:41 Step 5/23 : RUN apk add --update --no-cache make git openssh 00:56:41 ---> Running in daea20c63c7f 00:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:56:41 OK: 270 MiB in 60 packages 00:56:42 Removing intermediate container daea20c63c7f 00:56:42 ---> bc0f7e40561d 00:56:42 Step 6/23 : WORKDIR /device-modbus-go 00:56:42 ---> Running in 2d75d87b9250 00:56:42 Removing intermediate container 2d75d87b9250 00:56:42 ---> 19bca60432a0 00:56:42 Step 7/23 : COPY go.mod vendor* ./ 00:56:42 ---> c93a48741696 00:56:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:42 ---> Running in 5f5f0ea29153 00:56:43 Removing intermediate container 5f5f0ea29153 00:56:43 ---> f7b79f274534 00:56:43 Step 9/23 : COPY . . 00:56:43 ---> 144af6b7b4e7 00:56:43 Step 10/23 : RUN ${MAKE} 00:56:43 ---> Running in 1ee61b97ed62 00:56:43 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.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:57:16 Removing intermediate container 1ee61b97ed62 00:57:16 ---> 2c78db4bc6bc 00:57:16 Step 11/23 : FROM alpine:3.18 00:57:16 3.18: Pulling from library/alpine 00:57:16 619be1103602: Already exists 00:57:16 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 00:57:16 Status: Downloaded newer image for alpine:3.18 00:57:16 ---> d3782b16ccc9 00:57:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:57:16 ---> Running in 02839ad03918 00:57:16 Removing intermediate container 02839ad03918 00:57:16 ---> 69e29dd3a58d 00:57:16 Step 13/23 : RUN apk add --update --no-cache dumb-init 00:57:16 ---> Running in 63c0d8ae8cb1 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:16 (1/1) Installing dumb-init (1.2.5-r2) 00:57:16 Executing busybox-1.36.1-r5.trigger 00:57:16 OK: 7 MiB in 16 packages 00:57:16 Removing intermediate container 63c0d8ae8cb1 00:57:16 ---> 1e7d59602f8e 00:57:16 Step 14/23 : RUN apk --no-cache upgrade 00:57:16 ---> Running in a864c2e6347e 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:16 Upgrading critical system libraries and apk-tools: 00:57:16 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 00:57:16 Executing busybox-1.36.1-r5.trigger 00:57:16 Continuing the upgrade transaction with new apk-tools: 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:16 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 00:57:16 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 00:57:16 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 00:57:16 OK: 7 MiB in 16 packages 00:57:16 Removing intermediate container a864c2e6347e 00:57:16 ---> cb32cf347097 00:57:16 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 00:57:18 ---> 5dd73e7e96db 00:57:18 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 00:57:18 ---> eab37de80645 00:57:18 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:57:18 ---> d7b58b4a15fc 00:57:18 Step 18/23 : EXPOSE 59901 00:57:18 ---> Running in 4ca49540d183 00:57:18 Removing intermediate container 4ca49540d183 00:57:18 ---> 3e6180f883a6 00:57:18 Step 19/23 : ENTRYPOINT ["/device-modbus"] 00:57:18 ---> Running in 6cbc519a23bc 00:57:18 Removing intermediate container 6cbc519a23bc 00:57:18 ---> e7a5febf4d91 00:57:18 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:57:18 ---> Running in fbea2952310f 00:57:18 Removing intermediate container fbea2952310f 00:57:18 ---> df24c09c28b1 00:57:18 Step 21/23 : LABEL arch=amd64 00:57:18 ---> Running in c70a8c9025f0 00:57:18 Removing intermediate container c70a8c9025f0 00:57:18 ---> e78c5076826f 00:57:18 Step 22/23 : LABEL git_sha=a3205aff84a2ac79645a4a62bb80175eb4859498 00:57:18 ---> Running in ce19362db1d5 00:57:18 Removing intermediate container ce19362db1d5 00:57:18 ---> 153bc2f2907d 00:57:18 Step 23/23 : LABEL version=0.0.0 00:57:18 ---> Running in abe2620bc69c 00:57:18 Removing intermediate container abe2620bc69c 00:57:18 ---> bc1c2aac44f4 00:57:18 [Warning] One or more build-args [ARCH] were not consumed 00:57:18 Successfully built bc1c2aac44f4 00:57:19 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:19 00:57:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:19 latest: Pulling from edgex-lftools-log-publisher 00:57:19 5eb5b503b376: Pulling fs layer 00:57:19 5c69ac0246d0: Pulling fs layer 00:57:19 ec43610c2a17: Pulling fs layer 00:57:19 3a2ae6a8a46f: Pulling fs layer 00:57:19 33b1e0a273af: Pulling fs layer 00:57:19 5d3b04190fa2: Pulling fs layer 00:57:19 3a2ae6a8a46f: Waiting 00:57:19 33b1e0a273af: Waiting 00:57:19 2f39f015ded8: Pulling fs layer 00:57:19 2f39f015ded8: Waiting 00:57:19 5c69ac0246d0: Download complete 00:57:19 3a2ae6a8a46f: Verifying Checksum 00:57:19 3a2ae6a8a46f: Download complete 00:57:19 33b1e0a273af: Verifying Checksum 00:57:19 33b1e0a273af: Download complete 00:57:19 5d3b04190fa2: Verifying Checksum 00:57:19 5d3b04190fa2: Download complete 00:57:19 ec43610c2a17: Verifying Checksum 00:57:19 ec43610c2a17: Download complete 00:57:20 5eb5b503b376: Verifying Checksum 00:57:20 5eb5b503b376: Download complete 00:57:20 2f39f015ded8: Download complete 00:57:21 5eb5b503b376: Pull complete 00:57:21 5c69ac0246d0: Pull complete 00:57:21 ec43610c2a17: Pull complete 00:57:21 3a2ae6a8a46f: Pull complete 00:57:21 33b1e0a273af: Pull complete 00:57:22 5d3b04190fa2: Pull complete 00:57:26 2f39f015ded8: Pull complete 00:57:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:26 prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container 00:57:26 $ 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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:32 $ docker top a2984e701c1022204e14e049f0b8044f63e3f28ddd7984ba5c8f2fcae889e41f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:32 ---> job-cost.sh 00:57:32 lf-activate-venv: SKIPPING 00:57:32 INFO: No Stack... 00:57:32 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:32 INFO: Archiving Costs [Pipeline] sh 00:57:33 + cat /w/workspace/xfoundry_device-modbus-go_PR-546/archives/cost.csv 00:57:33 + cut -d, -f6 [Pipeline] lock 00:57:33 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] 00:57:33 Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] did not exist. Created. 00:57:33 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:33 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:33 Stashed 1 file(s) [Pipeline] } 00:57:33 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:33 $ docker stop --time=1 a2984e701c1022204e14e049f0b8044f63e3f28ddd7984ba5c8f2fcae889e41f 00:57:34 $ docker rm -f --volumes a2984e701c1022204e14e049f0b8044f63e3f28ddd7984ba5c8f2fcae889e41f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3562 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] ws 00:58:41 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:58:44 Selected Git installation does not exist. Using Default 00:58:44 The recommended git tool is: NONE 00:58:50 using credential edgex-jenkins-ssh 00:58:50 Cloning the remote Git repository 00:58:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:50 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:58:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:50 > git --version # timeout=10 00:58:50 > git --version # 'git version 2.25.1' 00:58:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:54 Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e 00:58:54 Merge succeeded, producing ad34d46e241fbf1d10388b703a49f2e5148274c6 00:58:54 Checking out Revision ad34d46e241fbf1d10388b703a49f2e5148274c6 (PR-546) 00:58:53 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:54 > git config core.sparsecheckout # timeout=10 00:58:54 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 00:58:54 > git remote # timeout=10 00:58:54 > git config --get remote.origin.url # timeout=10 00:58:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:54 > git merge 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 00:58:54 > git rev-parse HEAD^{commit} # timeout=10 00:58:54 > git config core.sparsecheckout # timeout=10 00:58:54 > git checkout -f ad34d46e241fbf1d10388b703a49f2e5148274c6 # timeout=10 00:58:58 Commit message: "Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD" 00:58:58 > git rev-list --no-walk 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:00 Dload Upload Total Spent Left Speed 00:59:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 00:59:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:59:00 + sudo tee /etc/docker/daemon.new 00:59:00 { 00:59:00 "registry-mirrors": [ 00:59:00 "https://nexus3.edgexfoundry.org:10001" 00:59:00 ], 00:59:00 "bip": "10.250.0.254/24", 00:59:00 "hosts": [ 00:59:00 "tcp://0.0.0.0:5555", 00:59:00 "unix:///var/run/docker.sock" 00:59:00 ], 00:59:00 "mtu": 1458, 00:59:00 "selinux-enabled": true, 00:59:00 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:00 } [Pipeline] sh 00:59:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:19 provisioning config files... 00:59:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8410744703335897629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:20 ---> ****-login.sh 00:59:20 nexus3.edgexfoundry.org:10001 00:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:21 Configure a credential helper to remove this warning. See 00:59:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:21 00:59:21 Login Succeeded 00:59:21 nexus3.edgexfoundry.org:10002 00:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:21 Configure a credential helper to remove this warning. See 00:59:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:21 00:59:21 Login Succeeded 00:59:21 nexus3.edgexfoundry.org:10003 00:59:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:22 Configure a credential helper to remove this warning. See 00:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:22 00:59:22 Login Succeeded 00:59:22 nexus3.edgexfoundry.org:10004 00:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:22 Configure a credential helper to remove this warning. See 00:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:22 00:59:22 Login Succeeded 00:59:22 ****.io 00:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:22 Configure a credential helper to remove this warning. See 00:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:22 00:59:22 Login Succeeded 00:59:22 ---> ****-login.sh ends [Pipeline] } 00:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:23 ========================================================= 00:59:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:59:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:23 + 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 . 00:59:23 Sending build context to Docker daemon 8.82MB 00:59:23 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:59:23 Step 2/10 : FROM ${BASE} AS builder 00:59:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:24 c6b39de5b339: Pulling fs layer 00:59:24 a69c41024577: Pulling fs layer 00:59:24 d6de4b400683: Pulling fs layer 00:59:24 35cb2a7552d0: Pulling fs layer 00:59:24 4f4fb700ef54: Pulling fs layer 00:59:24 35cb2a7552d0: Waiting 00:59:24 4f4fb700ef54: Waiting 00:59:24 464afbd9ba4c: Pulling fs layer 00:59:24 00f215d4a9da: Pulling fs layer 00:59:24 d496ad576159: Pulling fs layer 00:59:24 464afbd9ba4c: Waiting 00:59:24 d496ad576159: Waiting 00:59:24 00f215d4a9da: Waiting 00:59:24 a69c41024577: Verifying Checksum 00:59:24 a69c41024577: Download complete 00:59:24 35cb2a7552d0: Verifying Checksum 00:59:24 35cb2a7552d0: Download complete 00:59:24 4f4fb700ef54: Verifying Checksum 00:59:24 4f4fb700ef54: Download complete 00:59:24 464afbd9ba4c: Download complete 00:59:24 c6b39de5b339: Verifying Checksum 00:59:24 c6b39de5b339: Download complete 00:59:24 d496ad576159: Verifying Checksum 00:59:24 d496ad576159: Download complete 00:59:25 c6b39de5b339: Pull complete 00:59:25 a69c41024577: Pull complete 00:59:26 d6de4b400683: Verifying Checksum 00:59:27 00f215d4a9da: Verifying Checksum 00:59:27 00f215d4a9da: Download complete 00:59:39 d6de4b400683: Pull complete 00:59:39 35cb2a7552d0: Pull complete 00:59:39 4f4fb700ef54: Pull complete 00:59:39 464afbd9ba4c: Pull complete 00:59:48 00f215d4a9da: Pull complete 00:59:49 d496ad576159: Pull complete 00:59:49 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 00:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:59:49 ---> f246e2811388 00:59:49 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:59:50 ---> Running in 6a9eb26973e9 00:59:51 Removing intermediate container 6a9eb26973e9 00:59:51 ---> 9bd3a803ee60 00:59:51 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:51 ---> Running in d8f0366a3479 00:59:51 Removing intermediate container d8f0366a3479 00:59:51 ---> d5bd05e0d8ec 00:59:51 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:59:51 ---> Running in fba736527bce 00:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:59:54 (1/8) Installing openssh-keygen (9.3_p2-r1) 00:59:54 (2/8) Installing libedit (20221030.3.1-r1) 00:59:54 (3/8) Installing openssh-client-common (9.3_p2-r1) 00:59:54 (4/8) Installing openssh-client-default (9.3_p2-r1) 00:59:54 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 00:59:54 (6/8) Installing openssh-server-common (9.3_p2-r1) 00:59:54 (7/8) Installing openssh-server (9.3_p2-r1) 00:59:54 (8/8) Installing openssh (9.3_p2-r1) 00:59:54 Executing busybox-1.36.1-r5.trigger 00:59:54 OK: 272 MiB in 60 packages 00:59:56 Removing intermediate container fba736527bce 00:59:56 ---> 8b64ebb8b47c 00:59:56 Step 6/10 : WORKDIR /device-modbus-go 00:59:56 ---> Running in b204a98e8ff4 00:59:56 Removing intermediate container b204a98e8ff4 00:59:56 ---> bab8879f093b 00:59:56 Step 7/10 : COPY go.mod vendor* ./ 00:59:56 ---> 1b222186ff4a 00:59:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:56 ---> Running in 2bc225ff941b 01:02:03 Removing intermediate container 2bc225ff941b 01:02:03 ---> 9d03e0d01e91 01:02:03 Step 9/10 : COPY . . 01:02:03 ---> e42e97bcc1e1 01:02:03 Step 10/10 : RUN ${MAKE} 01:02:03 ---> Running in 4495e82b1044 01:02:03 noop 01:02:03 Removing intermediate container 4495e82b1044 01:02:03 ---> ec96e6312e68 01:02:03 Successfully built ec96e6312e68 01:02:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:04 + docker inspect -f . ci-base-image-arm64 01:02:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:04 prd-ubuntu20.04-docker-arm64-4c-16g-3562 does not seem to be running inside a container 01:02:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:05 $ docker top 8e5d077a27759322e71eebbb58cd7d5f3330730027fe84486fd845eb88e8b870 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:06 + go version 01:02:06 go version go1.21.9 linux/arm64 [Pipeline] } 01:02:06 $ docker stop --time=1 8e5d077a27759322e71eebbb58cd7d5f3330730027fe84486fd845eb88e8b870 01:02:08 $ docker rm -f --volumes 8e5d077a27759322e71eebbb58cd7d5f3330730027fe84486fd845eb88e8b870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:08 + docker inspect -f . ci-base-image-arm64 01:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:09 prd-ubuntu20.04-docker-arm64-4c-16g-3562 does not seem to be running inside a container 01:02:09 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:10 $ docker top b11ac7e2408f0d7c63a1803e8be1bf29fde378ef57e114ad2a80ab9bc202420b -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:11 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:02:12 + make test 01:02:12 go test ./... -coverprofile=coverage.out 01:02:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:05:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:05:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements 01:05:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:05:55 go vet ./... 01:06:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:42 ./bin/test-attribution-txt.sh 01:06:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:06:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:06:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:06:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:06:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:06:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:06:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:06:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:06:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:06:42 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 01:06:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:06:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:06:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:06:42 $ docker stop --time=1 b11ac7e2408f0d7c63a1803e8be1bf29fde378ef57e114ad2a80ab9bc202420b 01:06:44 $ docker rm -f --volumes b11ac7e2408f0d7c63a1803e8be1bf29fde378ef57e114ad2a80ab9bc202420b [Pipeline] // withDockerContainer [Pipeline] sh 01:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:46 Warning: overwriting stash ‘coverage-report’ 01:06:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:47 + ls -al . 01:06:47 total 260 01:06:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 01:02 . 01:06:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 00:58 .. 01:06:47 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 00:58 .dockerignore 01:06:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:58 .git 01:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:58 .github 01:06:47 -rw-rw-r-- 1 jenkins jenkins 266 Apr 25 00:58 .gitignore 01:06:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 00:58 .golangci.yml 01:06:47 -rw-rw-r-- 1 jenkins jenkins 11101 Apr 25 00:58 Attribution.txt 01:06:47 -rw-rw-r-- 1 jenkins jenkins 16388 Apr 25 00:58 CHANGELOG.md 01:06:47 -rw-rw-r-- 1 jenkins jenkins 1474 Apr 25 00:58 Dockerfile 01:06:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 00:58 GOVERNANCE.md 01:06:47 -rw-rw-r-- 1 jenkins jenkins 658 Apr 25 00:58 Jenkinsfile 01:06:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 00:58 LICENSE 01:06:47 -rw-rw-r-- 1 jenkins jenkins 1942 Apr 25 00:58 Makefile 01:06:47 -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 00:58 OWNERS.md 01:06:47 -rw-rw-r-- 1 jenkins jenkins 4463 Apr 25 00:58 README.md 01:06:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 00:54 VERSION 01:06:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:58 bin 01:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:58 cmd 01:06:47 -rw-r--r-- 1 jenkins jenkins 24601 Apr 25 01:05 coverage.out 01:06:47 -rw-rw-r-- 1 jenkins jenkins 7289 Apr 25 00:58 go.mod 01:06:47 -rw-rw-r-- 1 jenkins jenkins 101859 Apr 25 00:58 go.sum 01:06:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:58 internal 01:06:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:58 simulator 01:06:47 -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:47 + 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=ad34d46e241fbf1d10388b703a49f2e5148274c6 --label arch=arm64 --label version=0.0.0 . 01:06:48 Sending build context to Docker daemon 8.846MB 01:06:48 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 01:06:48 Step 2/23 : FROM ${BASE} AS builder 01:06:48 ---> ec96e6312e68 01:06:48 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:06:48 ---> Running in 669ee889f5e0 01:06:48 Removing intermediate container 669ee889f5e0 01:06:48 ---> ef902fa280eb 01:06:48 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:49 ---> Running in 86ba33c8f7f5 01:06:49 Removing intermediate container 86ba33c8f7f5 01:06:49 ---> 3e6e724122b7 01:06:49 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:06:49 ---> Running in f2b49cc3360f 01:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:06:51 OK: 272 MiB in 60 packages 01:06:52 Removing intermediate container f2b49cc3360f 01:06:52 ---> 9a6f7df95411 01:06:52 Step 6/23 : WORKDIR /device-modbus-go 01:06:52 ---> Running in c76947bac389 01:06:53 Removing intermediate container c76947bac389 01:06:53 ---> 24d418d93739 01:06:53 Step 7/23 : COPY go.mod vendor* ./ 01:06:53 ---> 03e16198d765 01:06:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:53 ---> Running in 48c6a4cf794a 01:06:56 Removing intermediate container 48c6a4cf794a 01:06:56 ---> 91702ed0fb8b 01:06:56 Step 9/23 : COPY . . 01:06:57 ---> 7d8e795bb1f1 01:06:57 Step 10/23 : RUN ${MAKE} 01:06:57 ---> Running in 296ac991299c 01:06:58 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.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 01:10:34 Removing intermediate container 296ac991299c 01:10:34 ---> 6793dcf4a031 01:10:34 Step 11/23 : FROM alpine:3.18 01:10:34 3.18: Pulling from library/alpine 01:10:34 c6b39de5b339: Already exists 01:10:34 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:10:34 Status: Downloaded newer image for alpine:3.18 01:10:34 ---> 33abbf032149 01:10:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:10:34 ---> Running in 2028bfd4f997 01:10:34 Removing intermediate container 2028bfd4f997 01:10:34 ---> 43ab9bf3debc 01:10:34 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:10:34 ---> Running in 89dc8a15f440 01:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:10:34 (1/1) Installing dumb-init (1.2.5-r2) 01:10:34 Executing busybox-1.36.1-r5.trigger 01:10:34 OK: 8 MiB in 16 packages 01:10:34 Removing intermediate container 89dc8a15f440 01:10:34 ---> ed4f6a2d5881 01:10:34 Step 14/23 : RUN apk --no-cache upgrade 01:10:34 ---> Running in 845c8205980f 01:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:10:34 Upgrading critical system libraries and apk-tools: 01:10:34 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 01:10:34 Executing busybox-1.36.1-r5.trigger 01:10:34 Continuing the upgrade transaction with new apk-tools: 01:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:10:34 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 01:10:34 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 01:10:34 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 01:10:34 OK: 8 MiB in 16 packages 01:10:34 Removing intermediate container 845c8205980f 01:10:34 ---> 0e3f1714bf86 01:10:34 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:10:34 ---> 5ef2dc03d5c1 01:10:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:10:34 ---> 8acb6ca76740 01:10:34 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:10:34 ---> 68c04f4375cf 01:10:34 Step 18/23 : EXPOSE 59901 01:10:34 ---> Running in f325daa4a63f 01:10:34 Removing intermediate container f325daa4a63f 01:10:34 ---> 34789cc13464 01:10:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:10:34 ---> Running in 6f480b452980 01:10:34 Removing intermediate container 6f480b452980 01:10:34 ---> 256f8117eaae 01:10:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:10:34 ---> Running in a7536ec7e0ac 01:10:34 Removing intermediate container a7536ec7e0ac 01:10:34 ---> f877bd987394 01:10:34 Step 21/23 : LABEL arch=arm64 01:10:34 ---> Running in 5173ea00bcfa 01:10:34 Removing intermediate container 5173ea00bcfa 01:10:34 ---> 1d4e122dbbf1 01:10:34 Step 22/23 : LABEL git_sha=ad34d46e241fbf1d10388b703a49f2e5148274c6 01:10:34 ---> Running in cdd384d6e20c 01:10:34 Removing intermediate container cdd384d6e20c 01:10:34 ---> eec46342979a 01:10:34 Step 23/23 : LABEL version=0.0.0 01:10:34 ---> Running in 66e44c3da338 01:10:34 Removing intermediate container 66e44c3da338 01:10:34 ---> 3d99771bb430 01:10:34 [Warning] One or more build-args [ARCH] were not consumed 01:10:35 Successfully built 3d99771bb430 01:10:35 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:35 01:10:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:36 arm64: Pulling from edgex-lftools-log-publisher 01:10:36 8998bd30e6a1: Pulling fs layer 01:10:36 04944245beec: Pulling fs layer 01:10:36 699f458cf7ca: Pulling fs layer 01:10:36 765212b225bb: Pulling fs layer 01:10:36 f23df028b6ca: Pulling fs layer 01:10:36 d65c8cfc05b1: Pulling fs layer 01:10:36 2437ff75d9bd: Pulling fs layer 01:10:36 765212b225bb: Waiting 01:10:36 f23df028b6ca: Waiting 01:10:36 d65c8cfc05b1: Waiting 01:10:36 2437ff75d9bd: Waiting 01:10:36 04944245beec: Download complete 01:10:36 765212b225bb: Verifying Checksum 01:10:36 765212b225bb: Download complete 01:10:36 f23df028b6ca: Verifying Checksum 01:10:36 f23df028b6ca: Download complete 01:10:36 d65c8cfc05b1: Verifying Checksum 01:10:36 d65c8cfc05b1: Download complete 01:10:36 699f458cf7ca: Verifying Checksum 01:10:36 699f458cf7ca: Download complete 01:10:36 8998bd30e6a1: Verifying Checksum 01:10:36 8998bd30e6a1: Download complete 01:10:39 2437ff75d9bd: Verifying Checksum 01:10:39 2437ff75d9bd: Download complete 01:10:41 8998bd30e6a1: Pull complete 01:10:41 04944245beec: Pull complete 01:10:43 699f458cf7ca: Pull complete 01:10:43 765212b225bb: Pull complete 01:10:44 f23df028b6ca: Pull complete 01:10:44 d65c8cfc05b1: Pull complete 01:11:02 2437ff75d9bd: Pull complete 01:11:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:11:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:02 prd-ubuntu20.04-docker-arm64-4c-16g-3562 does not seem to be running inside a container 01:11:03 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:11:05 $ docker top eb1d38daa71ab966cb0b45d3b9f45cdfdb34f2109c63eb0ca5e5932c476581fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:06 ---> job-cost.sh 01:11:06 lf-activate-venv: SKIPPING 01:11:06 INFO: No Stack... 01:11:07 INFO: Retrieving Pricing Info for: v3-standard-4 01:11:07 INFO: Archiving Costs [Pipeline] sh 01:11:08 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 01:11:08 + cut -d, -f6 [Pipeline] lock 01:11:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] 01:11:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] did not exist. Created. 01:11:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:11:09 /w/workspace/device-modbus-go/2@tmp/durable-3953c399/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:11:09 + echo total: 0.10999999940395355 [Pipeline] stash 01:11:09 Warning: overwriting stash ‘stack-cost’ 01:11:09 Stashed 1 file(s) [Pipeline] } 01:11:09 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:11:09 $ docker stop --time=1 eb1d38daa71ab966cb0b45d3b9f45cdfdb34f2109c63eb0ca5e5932c476581fd 01:11:11 $ docker rm -f --volumes eb1d38daa71ab966cb0b45d3b9f45cdfdb34f2109c63eb0ca5e5932c476581fd [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 01:11:11 provisioning config files... 01:11:11 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config1697202772428461825tmp [Pipeline] { [Pipeline] sh 01:11:12 + set +x 01:11:12 + curl -s https://codecov.io/bash 01:11:12 + bash -s -- 01:11:12 01:11:12 _____ _ 01:11:12 / ____| | | 01:11:12 | | ___ __| | ___ ___ _____ __ 01:11:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:11:12 | |___| (_) | (_| | __/ (_| (_) \ V / 01:11:12 \_____\___/ \__,_|\___|\___\___/ \_/ 01:11:12 Bash-1.0.6 01:11:12 01:11:12 01:11:12 ==> git version 2.25.1 found 01:11:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:11:12 Release-Date: 2020-01-08 01:11:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:11:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:11:12 ==> Jenkins CI detected. 01:11:12 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-546 01:11:12 project root: . 01:11:12 --> token set from env 01:11:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:11:12 ==> Running gcov in . (disable via -X gcov) 01:11:12 ==> Python coveragepy not found 01:11:12 ==> Searching for coverage reports in: 01:11:12 + . 01:11:12 -> Found 1 reports 01:11:12 ==> Detecting git/mercurial file structure 01:11:12 ==> Reading reports 01:11:12 + ./coverage.out bytes=24601 01:11:12 ==> Appending adjustments 01:11:12 https://docs.codecov.io/docs/fixing-reports 01:11:12 + Found adjustments 01:11:12 ==> Gzipping contents 01:11:12 4.0K /tmp/codecov.LJ35Zb.gz 01:11:12 ==> Uploading reports 01:11:12 url: https://codecov.io 01:11:12 query: branch=PR-546&commit=a3205aff84a2ac79645a4a62bb80175eb4859498&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= 01:11:12 -> Pinging Codecov 01:11:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-546&commit=a3205aff84a2ac79645a4a62bb80175eb4859498&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= 01:11:12 -> Uploading to 01:11:12 https://storage.googleapis.com/codecov/v4/raw/2024-04-25/55DBCA73C666E3227836607328DD7E49/a3205aff84a2ac79645a4a62bb80175eb4859498/55680b17-7cca-4963-90e6-af34c475b8da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240425%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240425T011112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2dccbe03f6cdb721f52b51849f403041bb704643dcc0435d739c35042427386c 01:11:12 % Total % Received % Xferd Average Speed Time Time Time Current 01:11:12 Dload Upload Total Spent Left Speed 01:11:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 14233 --:--:-- --:--:-- --:--:-- 14180 01:11:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] } 01:11:12 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:11:13 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-546/archives ] 01:11:13 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives 01:11:13 total 16 01:11:13 drwxr-xr-x 3 root root 4096 Apr 25 00:57 . 01:11:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 00:57 .. 01:11:13 drwxr-xr-x 2 root root 4096 Apr 25 00:57 cost 01:11:13 -rw-r--r-- 1 root root 88 Apr 25 00:57 cost.csv 01:11:13 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-546/archives 01:11:13 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives 01:11:13 total 16 01:11:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 00:57 . 01:11:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 00:57 .. 01:11:13 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 00:57 cost 01:11:13 -rw-r--r-- 1 jenkins jenkins 88 Apr 25 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:11:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:11:14 ---> package-listing.sh 01:11:14 ++ facter osfamily 01:11:14 ++ tr '[:upper:]' '[:lower:]' 01:11:15 + OS_FAMILY=debian 01:11:15 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-546 01:11:15 + START_PACKAGES=/tmp/packages_start.txt 01:11:15 + END_PACKAGES=/tmp/packages_end.txt 01:11:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:11:15 + PACKAGES=/tmp/packages_start.txt 01:11:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' 01:11:15 + PACKAGES=/tmp/packages_end.txt 01:11:15 + case "${OS_FAMILY}" in 01:11:15 + dpkg -l 01:11:15 + grep '^ii' 01:11:15 + '[' -f /tmp/packages_start.txt ']' 01:11:15 + '[' -f /tmp/packages_end.txt ']' 01:11:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:11:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' 01:11:15 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ 01:11:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ [Pipeline] echo 01:11:15 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-546/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:11:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:16 prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container 01:11:16 $ 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-546/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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:11:16 $ docker top 262322acecdea03f7208eb4ffe1ea57922b200e822610dc9521bcd00d12c719d -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:16 + touch /tmp/pre-build-complete [Pipeline] sh 01:11:17 + mkdir -p /var/log/sysstat [Pipeline] sh 01:11:17 + ls /var/log/sa-host 01:11:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:17 provisioning config files... 01:11:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config9471968985216715400tmp [Pipeline] { [Pipeline] echo 01:11:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:11:17 ---> create-netrc.sh [Pipeline] } 01:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:11:18 ---> python-tools-install.sh [Pipeline] echo 01:11:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:11:18 ---> sudo-logs.sh 01:11:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:11:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:11:18 ---> job-cost.sh 01:11:18 lf-activate-venv: SKIPPING 01:11:18 DEBUG: total: 0.2199999988079071 01:11:18 INFO: Retrieving Stack Cost... 01:11:19 INFO: Retrieving Pricing Info for: v3-standard-8 01:11:19 INFO: Archiving Costs [Pipeline] echo 01:11:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:11:20 ---> logs-deploy.sh 01:11:20 lf-activate-venv: SKIPPING 01:11:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-546/2 01:11:20 INFO: archiving workspace using pattern(s): 01:11:20 Archives upload complete. 01:11:20 INFO: archiving logs to Nexus