Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0+016774ad856346449abec6a76f039c0b34c03e63 (577b05c8e73b727d9be4b7dfd10b5cb949165770) 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-ssh8645051815389979085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7536408879349040683.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 590556114a56c6d90cc8043840e039c2f74196dc 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-556/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-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4187911238459762523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh11261607979720523987.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-556/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-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5353147817312386172.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 ‘prd-ubuntu20.04-docker-8c-8g-4852’ Running on prd-ubuntu20.04-docker-8c-8g-4858 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-556 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 Merge succeeded, producing 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 Checking out Revision 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 (PR-556) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 # timeout=10 Commit message: "Merge commit '016774ad856346449abec6a76f039c0b34c03e63' into HEAD" > git rev-list --no-walk 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:26 ========================================================= 00:54:26 EdgeX Global Pipelines Version Info 00:54:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:27 ------------------- 00:54:27 stable info: 00:54:27 ------------------- 00:54:27 Commited By: Ginny Guan ginny@iotechsys.com 00:54:27 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 00:54:27 Message: update stable to v1.0.260 00:54:28 ------------------- 00:54:28 experimental info: 00:54:28 ------------------- 00:54:28 Commited By: Ginny Guan ginny@iotechsys.com 00:54:28 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 00:54:28 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-556 [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-556 [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-556 [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo 00:54:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f3f71a [Pipeline] echo 00:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:29 provisioning config files... 00:54:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config5387932013972980618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:29 ---> ****-login.sh 00:54:29 nexus3.edgexfoundry.org:10001 00:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:29 Configure a credential helper to remove this warning. See 00:54:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:29 00:54:29 Login Succeeded 00:54:29 nexus3.edgexfoundry.org:10002 00:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:29 Configure a credential helper to remove this warning. See 00:54:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:29 00:54:29 Login Succeeded 00:54:29 nexus3.edgexfoundry.org:10003 00:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:29 Configure a credential helper to remove this warning. See 00:54:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:29 00:54:29 Login Succeeded 00:54:29 nexus3.edgexfoundry.org:10004 00:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:30 Configure a credential helper to remove this warning. See 00:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:30 00:54:30 Login Succeeded 00:54:30 ****.io 00:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:30 Configure a credential helper to remove this warning. See 00:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:30 00:54:30 Login Succeeded 00:54:30 ---> ****-login.sh ends [Pipeline] } 00:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:30 + git rev-list -1 --merges 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00~1..3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo 00:54:30 -----------> git rev-list -1 --merges 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00~1..3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 00:54:30 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [false] [Pipeline] sh 00:54:31 + git log --format=format:%s -1 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo 00:54:31 ========================================================= 00:54:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:31 + git log --format=format:%s -1 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] echo 00:54:31 [semverPrep] GIT_COMMIT: 3f3f71a6330a46bc663ac48cf1a533a8e59f6c00, Commit Message: Merge commit '016774ad856346449abec6a76f039c0b34c03e63' into HEAD [Pipeline] echo 00:54:31 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:31 + grep -v github /etc/ssh/ssh_known_hosts 00:54:31 + [ -e /tmp/ssh_known_hosts ] 00:54:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:31 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:32 00:54:32 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:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:32 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:32 b85a868b505f: Pulling fs layer 00:54:32 e2be974225ed: Pulling fs layer 00:54:32 339a4e72a1f5: Pulling fs layer 00:54:32 988bab9f4d93: Pulling fs layer 00:54:32 1469e6f7b9e6: Pulling fs layer 00:54:32 eaf3925da568: Pulling fs layer 00:54:32 bab4dde63d76: Pulling fs layer 00:54:32 bde34c3a00c8: Pulling fs layer 00:54:32 b352a97aabf1: Pulling fs layer 00:54:32 4872d77fe225: Pulling fs layer 00:54:32 5851b861e8e6: Pulling fs layer 00:54:32 bde34c3a00c8: Waiting 00:54:32 b352a97aabf1: Waiting 00:54:32 5851b861e8e6: Waiting 00:54:32 4872d77fe225: Waiting 00:54:32 1469e6f7b9e6: Waiting 00:54:32 988bab9f4d93: Waiting 00:54:32 eaf3925da568: Waiting 00:54:32 e2be974225ed: Verifying Checksum 00:54:32 e2be974225ed: Download complete 00:54:32 988bab9f4d93: Download complete 00:54:32 1469e6f7b9e6: Verifying Checksum 00:54:32 1469e6f7b9e6: Download complete 00:54:32 eaf3925da568: Verifying Checksum 00:54:32 eaf3925da568: Download complete 00:54:32 339a4e72a1f5: Verifying Checksum 00:54:32 339a4e72a1f5: Download complete 00:54:32 bde34c3a00c8: Verifying Checksum 00:54:32 bde34c3a00c8: Download complete 00:54:32 b352a97aabf1: Verifying Checksum 00:54:32 b352a97aabf1: Download complete 00:54:32 4872d77fe225: Download complete 00:54:32 5851b861e8e6: Verifying Checksum 00:54:32 5851b861e8e6: Download complete 00:54:32 b85a868b505f: Verifying Checksum 00:54:32 b85a868b505f: Download complete 00:54:33 bab4dde63d76: Verifying Checksum 00:54:33 bab4dde63d76: Download complete 00:54:34 b85a868b505f: Pull complete 00:54:34 e2be974225ed: Pull complete 00:54:35 339a4e72a1f5: Pull complete 00:54:35 988bab9f4d93: Pull complete 00:54:35 1469e6f7b9e6: Pull complete 00:54:35 eaf3925da568: Pull complete 00:54:37 bab4dde63d76: Pull complete 00:54:37 bde34c3a00c8: Pull complete 00:54:37 b352a97aabf1: Pull complete 00:54:37 4872d77fe225: Pull complete 00:54:37 5851b861e8e6: Pull complete 00:54:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:37 prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container 00:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:40 $ docker top caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 -eo pid,comm 00:54:40 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:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [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 caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent 00:54:41 SSH_AUTH_SOCK=/tmp/ssh-Qpf30aBFnFCr/agent.32 00:54:41 SSH_AGENT_PID=38 00:54:41 Running ssh-add (command line suppressed) 00:54:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_428120138742265890.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_428120138742265890.key) 00:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:41 + git tag --points-at HEAD [Pipeline] } 00:54:41 $ docker exec --env ******** --env ******** caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent -k 00:54:41 unset SSH_AUTH_SOCK; 00:54:41 unset SSH_AGENT_PID; 00:54:41 echo Agent pid 38 killed; 00:54:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:41 [ssh-agent] Looking for ssh-agent implementation... 00:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:41 $ docker exec caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent 00:54:41 SSH_AUTH_SOCK=/tmp/ssh-lrW0Z4fM3INh/agent.71 00:54:41 SSH_AGENT_PID=77 00:54:41 Running ssh-add (command line suppressed) 00:54:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_17217010149333738788.key (/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/private_key_17217010149333738788.key) 00:54:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:42 + git semver init 00:54:42 2024-07-03 00:54:42,503 [run_init] DEBUG init version:0.0.0 force:False 00:54:42 2024-07-03 00:54:42,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver 00:54:42 2024-07-03 00:54:42,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-556/.semver 00:54:42 2024-07-03 00:54:42,504 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-556/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556, universal_newlines=False, shell=None, istream=None) 00:54:43 2024-07-03 00:54:43,554 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.git/info/exclude 00:54:43 2024-07-03 00:54:43,554 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 with force:False 00:54:43 2024-07-03 00:54:43,554 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 00:54:43 2024-07-03 00:54:43,559 [execute] INFO git cat-file --batch-check 00:54:43 2024-07-03 00:54:43,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) 00:54:43 2024-07-03 00:54:43,567 [execute] INFO git cat-file --batch 00:54:43 2024-07-03 00:54:43,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-556/.semver, universal_newlines=False, shell=None, istream=) 00:54:43 2024-07-03 00:54:43,573 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-556/.semver/PR-556 00:54:43 0.0.0 [Pipeline] } 00:54:43 $ docker exec --env ******** --env ******** caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 ssh-agent -k 00:54:44 unset SSH_AUTH_SOCK; 00:54:44 unset SSH_AGENT_PID; 00:54:44 echo Agent pid 77 killed; 00:54:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:44 + git semver [Pipeline] } 00:54:44 $ docker stop --time=1 caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 00:54:45 $ docker rm -f --volumes caed86d20e69d3ae5bf84c8e0745b7b94b43579a365a5ff2979745c8d3b83554 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:46 Stashed 1 file(s) [Pipeline] echo 00:54:46 [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:46 provisioning config files... 00:54:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config11149997055628292611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:47 ---> ****-login.sh 00:54:47 nexus3.edgexfoundry.org:10001 00:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:47 Configure a credential helper to remove this warning. See 00:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:47 00:54:47 Login Succeeded 00:54:47 nexus3.edgexfoundry.org:10002 00:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:47 Configure a credential helper to remove this warning. See 00:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:47 00:54:47 Login Succeeded 00:54:47 nexus3.edgexfoundry.org:10003 00:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:47 Configure a credential helper to remove this warning. See 00:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:47 00:54:47 Login Succeeded 00:54:47 nexus3.edgexfoundry.org:10004 00:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:47 Configure a credential helper to remove this warning. See 00:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:47 00:54:47 Login Succeeded 00:54:47 ****.io 00:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:54:47 Configure a credential helper to remove this warning. See 00:54:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:54:47 00:54:47 Login Succeeded 00:54:47 ---> ****-login.sh ends [Pipeline] } 00:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:54:47 ========================================================= 00:54:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:54:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:48 + 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:48 Sending build context to Docker daemon 17.88MB 00:54:48 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:54:48 Step 2/10 : FROM ${BASE} AS builder 00:54:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:48 619be1103602: Pulling fs layer 00:54:48 7862e08f4a3e: Pulling fs layer 00:54:48 5df492c9dc93: Pulling fs layer 00:54:48 7629e6793208: Pulling fs layer 00:54:48 4f4fb700ef54: Pulling fs layer 00:54:48 fb5054dd5b73: Pulling fs layer 00:54:48 7629e6793208: Waiting 00:54:48 4f4fb700ef54: Waiting 00:54:48 eeca6798cff9: Pulling fs layer 00:54:48 aa269ceb94a6: Pulling fs layer 00:54:48 ada007ff1a6a: Pulling fs layer 00:54:48 fb5054dd5b73: Waiting 00:54:48 eeca6798cff9: Waiting 00:54:48 ada007ff1a6a: Waiting 00:54:48 7862e08f4a3e: Verifying Checksum 00:54:48 7862e08f4a3e: Download complete 00:54:48 7629e6793208: Verifying Checksum 00:54:48 7629e6793208: Download complete 00:54:48 4f4fb700ef54: Verifying Checksum 00:54:48 4f4fb700ef54: Download complete 00:54:48 fb5054dd5b73: Verifying Checksum 00:54:48 fb5054dd5b73: Download complete 00:54:48 619be1103602: Verifying Checksum 00:54:48 619be1103602: Download complete 00:54:48 eeca6798cff9: Verifying Checksum 00:54:48 eeca6798cff9: Download complete 00:54:48 619be1103602: Pull complete 00:54:48 ada007ff1a6a: Verifying Checksum 00:54:48 ada007ff1a6a: Download complete 00:54:48 7862e08f4a3e: Pull complete 00:54:48 5df492c9dc93: Verifying Checksum 00:54:48 5df492c9dc93: Download complete 00:54:49 aa269ceb94a6: Verifying Checksum 00:54:49 aa269ceb94a6: Download complete 00:54:52 5df492c9dc93: Pull complete 00:54:52 7629e6793208: Pull complete 00:54:52 4f4fb700ef54: Pull complete 00:54:52 fb5054dd5b73: Pull complete 00:54:52 eeca6798cff9: Pull complete 00:54:54 aa269ceb94a6: Pull complete 00:54:55 ada007ff1a6a: Pull complete 00:54:55 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 00:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:54:55 ---> f489d0715acc 00:54:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:55:00 ---> Running in 745dde4f49c3 00:55:00 Removing intermediate container 745dde4f49c3 00:55:00 ---> 80746dcd767f 00:55:00 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:00 ---> Running in 00e302e2c7e5 00:55:00 Removing intermediate container 00e302e2c7e5 00:55:00 ---> fd69f7706cb0 00:55:00 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:00 ---> Running in 10bfef2ce6dc 00:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:55:01 Still waiting to schedule task 00:55:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4857’ 00:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:55:04 (1/8) Installing openssh-keygen (9.3_p2-r2) 00:55:04 (2/8) Installing libedit (20221030.3.1-r1) 00:55:04 (3/8) Installing openssh-client-common (9.3_p2-r2) 00:55:04 (4/8) Installing openssh-client-default (9.3_p2-r2) 00:55:04 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 00:55:04 (6/8) Installing openssh-server-common (9.3_p2-r2) 00:55:04 (7/8) Installing openssh-server (9.3_p2-r2) 00:55:04 (8/8) Installing openssh (9.3_p2-r2) 00:55:04 Executing busybox-1.36.1-r5.trigger 00:55:04 OK: 270 MiB in 60 packages 00:55:04 Removing intermediate container 10bfef2ce6dc 00:55:04 ---> 861bbb15bac4 00:55:04 Step 6/10 : WORKDIR /device-modbus-go 00:55:04 ---> Running in 7bfbed01e688 00:55:04 Removing intermediate container 7bfbed01e688 00:55:04 ---> 1fa2336dc3ba 00:55:04 Step 7/10 : COPY go.mod vendor* ./ 00:55:04 ---> f8a974913943 00:55:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:04 ---> Running in e0851d433078 00:56:15 Removing intermediate container e0851d433078 00:56:15 ---> a66c7724be5f 00:56:15 Step 9/10 : COPY . . 00:56:15 ---> a69424d61825 00:56:15 Step 10/10 : RUN ${MAKE} 00:56:15 ---> Running in 890fce5caffd 00:56:15 noop 00:56:15 Removing intermediate container 890fce5caffd 00:56:15 ---> 35efd31ef09d 00:56:15 Successfully built 35efd31ef09d 00:56:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:15 + docker inspect -f . ci-base-image-x86_64 00:56:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:15 prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container 00:56:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 ******** ci-base-image-x86_64 cat 00:56:16 $ docker top 4c86e592e60584d066ebae58e2f8285c80eb136d3aa69aa1bf4dcfa9d39c65a8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:16 + go version 00:56:16 go version go1.21.9 linux/amd64 [Pipeline] } 00:56:16 $ docker stop --time=1 4c86e592e60584d066ebae58e2f8285c80eb136d3aa69aa1bf4dcfa9d39c65a8 00:56:17 $ docker rm -f --volumes 4c86e592e60584d066ebae58e2f8285c80eb136d3aa69aa1bf4dcfa9d39c65a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:18 + docker inspect -f . ci-base-image-x86_64 00:56:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:18 prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container 00:56:18 $ 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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 ******** ci-base-image-x86_64 cat 00:56:18 $ docker top 701a93891f847f6dc24885df75682b80ed98f712109aee68731279ebc9608ce0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:19 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] fileExists [Pipeline] sh 00:56:19 + make test 00:56:19 go test ./... -coverprofile=coverage.out 00:56:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:56:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:56:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 00:56:45 go vet ./... 00:56:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:50 ./bin/test-attribution-txt.sh 00:56:50 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 00:56:50 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 00:56:50 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 00:56:50 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 00:56:50 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 00:56:50 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 00:56:50 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 00:56:50 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 00:56:50 An attribution for golang.org/x/term is missing from Attribution.txt, please add 00:56:50 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 00:56:50 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 00:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:56:50 $ docker stop --time=1 701a93891f847f6dc24885df75682b80ed98f712109aee68731279ebc9608ce0 00:56:53 $ docker rm -f --volumes 701a93891f847f6dc24885df75682b80ed98f712109aee68731279ebc9608ce0 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:54 + ls -al . 00:56:54 total 264 00:56:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 00:56 . 00:56:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 00:54 .. 00:56:54 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 00:54 .dockerignore 00:56:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 00:56 .git 00:56:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:54 .github 00:56:54 -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 00:54 .gitignore 00:56:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 00:54 .golangci.yml 00:56:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 00:54 .semver 00:56:54 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 3 00:54 Attribution.txt 00:56:54 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 00:54 CHANGELOG.md 00:56:54 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 00:54 Dockerfile 00:56:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 00:54 GOVERNANCE.md 00:56:54 -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 00:54 Jenkinsfile 00:56:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 00:54 LICENSE 00:56:54 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 00:54 Makefile 00:56:54 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 00:54 OWNERS.md 00:56:54 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 00:54 README.md 00:56:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 00:54 VERSION 00:56:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:54 bin 00:56:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:54 cmd 00:56:54 -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 00:56 coverage.out 00:56:54 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 3 00:54 go.mod 00:56:54 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 3 00:54 go.sum 00:56:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:54 internal 00:56:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:54 simulator 00:56:54 -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:54 + 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=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 --label arch=amd64 --label version=0.0.0 . 00:56:54 Sending build context to Docker daemon 17.91MB 00:56:54 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 00:56:54 Step 2/23 : FROM ${BASE} AS builder 00:56:54 ---> 35efd31ef09d 00:56:54 Step 3/23 : ARG ADD_BUILD_TAGS="" 00:56:55 ---> Running in 8378d6150e51 00:56:55 Removing intermediate container 8378d6150e51 00:56:55 ---> a4d695db8df8 00:56:55 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:56:55 ---> Running in a4091819a05c 00:56:55 Removing intermediate container a4091819a05c 00:56:55 ---> df2a1739db2d 00:56:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 00:56:55 ---> Running in a2772519b1ac 00:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:56:56 OK: 270 MiB in 60 packages 00:56:56 Removing intermediate container a2772519b1ac 00:56:56 ---> d4b32f088188 00:56:56 Step 6/23 : WORKDIR /device-modbus-go 00:56:56 ---> Running in 636371e63e3e 00:56:56 Removing intermediate container 636371e63e3e 00:56:56 ---> cb81b96b15bf 00:56:56 Step 7/23 : COPY go.mod vendor* ./ 00:56:56 ---> 152ecd31a86b 00:56:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:56 ---> Running in 78ef33955ecb 00:56:57 Removing intermediate container 78ef33955ecb 00:56:57 ---> 5b63200fec31 00:56:57 Step 9/23 : COPY . . 00:56:57 ---> c1c849dc8b6f 00:56:57 Step 10/23 : RUN ${MAKE} 00:56:57 ---> Running in 10667fbcb477 00:56:57 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 00:57:30 Removing intermediate container 10667fbcb477 00:57:30 ---> 7e90ab8acaa3 00:57:30 Step 11/23 : FROM alpine:3.18 00:57:30 3.18: Pulling from library/alpine 00:57:30 73baa7ef167e: Pulling fs layer 00:57:30 73baa7ef167e: Verifying Checksum 00:57:30 73baa7ef167e: Download complete 00:57:30 73baa7ef167e: Pull complete 00:57:30 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 00:57:30 Status: Downloaded newer image for alpine:3.18 00:57:30 ---> 8fd7cac70a4a 00:57:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 00:57:30 ---> Running in 74ce9e5fc008 00:57:30 Removing intermediate container 74ce9e5fc008 00:57:30 ---> c36dbc8ffa46 00:57:30 Step 13/23 : RUN apk add --update --no-cache dumb-init 00:57:30 ---> Running in fcb136847065 00:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:30 (1/1) Installing dumb-init (1.2.5-r2) 00:57:30 Executing busybox-1.36.1-r7.trigger 00:57:30 OK: 7 MiB in 16 packages 00:57:30 Removing intermediate container fcb136847065 00:57:30 ---> 9200ff380b31 00:57:30 Step 14/23 : RUN apk --no-cache upgrade 00:57:30 ---> Running in 7566a3649cbf 00:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:30 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 00:57:30 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 00:57:30 OK: 7 MiB in 16 packages 00:57:30 Removing intermediate container 7566a3649cbf 00:57:30 ---> 867253407d2d 00:57:30 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 00:57:30 ---> f67cfb92fdac 00:57:30 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 00:57:30 ---> 8f8e3a167fa7 00:57:30 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:57:30 ---> 38977d1d9568 00:57:30 Step 18/23 : EXPOSE 59901 00:57:30 ---> Running in d08831ce0296 00:57:30 Removing intermediate container d08831ce0296 00:57:30 ---> 289bf1bdf3d1 00:57:30 Step 19/23 : ENTRYPOINT ["/device-modbus"] 00:57:30 ---> Running in 0317fd933702 00:57:31 Removing intermediate container 0317fd933702 00:57:31 ---> a5cc6abce91c 00:57:31 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:57:31 ---> Running in e5e6aeea2e68 00:57:31 Removing intermediate container e5e6aeea2e68 00:57:31 ---> be694b62a3db 00:57:31 Step 21/23 : LABEL arch=amd64 00:57:31 ---> Running in cd9aeb3eb5c3 00:57:31 Removing intermediate container cd9aeb3eb5c3 00:57:31 ---> 06ef87c90116 00:57:31 Step 22/23 : LABEL git_sha=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 00:57:31 ---> Running in 88e3d9b8b4d4 00:57:31 Removing intermediate container 88e3d9b8b4d4 00:57:31 ---> 00f834fe49cc 00:57:31 Step 23/23 : LABEL version=0.0.0 00:57:31 ---> Running in 8987521144e9 00:57:31 Removing intermediate container 8987521144e9 00:57:31 ---> e579225d9612 00:57:31 [Warning] One or more build-args [ARCH] were not consumed 00:57:31 Successfully built e579225d9612 00:57:31 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:31 00:57:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:32 latest: Pulling from edgex-lftools-log-publisher 00:57:32 5eb5b503b376: Pulling fs layer 00:57:32 5c69ac0246d0: Pulling fs layer 00:57:32 ec43610c2a17: Pulling fs layer 00:57:32 3a2ae6a8a46f: Pulling fs layer 00:57:32 33b1e0a273af: Pulling fs layer 00:57:32 5d3b04190fa2: Pulling fs layer 00:57:32 2f39f015ded8: Pulling fs layer 00:57:32 33b1e0a273af: Waiting 00:57:32 5d3b04190fa2: Waiting 00:57:32 2f39f015ded8: Waiting 00:57:32 3a2ae6a8a46f: Waiting 00:57:32 5c69ac0246d0: Verifying Checksum 00:57:32 5c69ac0246d0: Download complete 00:57:32 3a2ae6a8a46f: Verifying Checksum 00:57:32 3a2ae6a8a46f: Download complete 00:57:32 33b1e0a273af: Verifying Checksum 00:57:32 33b1e0a273af: Download complete 00:57:32 5d3b04190fa2: Verifying Checksum 00:57:32 5d3b04190fa2: Download complete 00:57:32 ec43610c2a17: Verifying Checksum 00:57:32 ec43610c2a17: Download complete 00:57:32 5eb5b503b376: Verifying Checksum 00:57:32 5eb5b503b376: Download complete 00:57:33 2f39f015ded8: Download complete 00:57:33 5eb5b503b376: Pull complete 00:57:33 5c69ac0246d0: Pull complete 00:57:34 ec43610c2a17: Pull complete 00:57:34 3a2ae6a8a46f: Pull complete 00:57:34 33b1e0a273af: Pull complete 00:57:34 5d3b04190fa2: Pull complete 00:57:38 2f39f015ded8: Pull complete 00:57:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:38 prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container 00:57:38 $ 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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 00:57:42 $ docker top 07a956de5aaef0f4b11e07282d072500ebaccb591fc63b1d0913eab5a79bf3e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:43 ---> job-cost.sh 00:57:43 lf-activate-venv: SKIPPING 00:57:43 INFO: No Stack... 00:57:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:43 INFO: Archiving Costs [Pipeline] sh 00:57:44 + cat /w/workspace/xfoundry_device-modbus-go_PR-556/archives/cost.csv 00:57:44 + cut -d, -f6 [Pipeline] lock 00:57:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] 00:57:44 Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] did not exist. Created. 00:57:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:44 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:44 Stashed 1 file(s) [Pipeline] } 00:57:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:44 $ docker stop --time=1 07a956de5aaef0f4b11e07282d072500ebaccb591fc63b1d0913eab5a79bf3e9 00:57:45 $ docker rm -f --volumes 07a956de5aaef0f4b11e07282d072500ebaccb591fc63b1d0913eab5a79bf3e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4859 in /w/workspace/xfoundry_device-modbus-go_PR-556 [Pipeline] { [Pipeline] ws 00:58:49 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:58:49 The recommended git tool is: git 00:58:58 using credential edgex-jenkins-ssh 00:58:58 Cloning the remote Git repository 00:58:58 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:58 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:58:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:58 > git --version # timeout=10 00:58:58 > git --version # 'git version 2.25.1' 00:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:03 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 00:59:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:59:03 > git config core.sparsecheckout # timeout=10 00:59:03 Merge succeeded, producing 4eec31fadddf0e29b487e0487de9bd55af30ffcb 00:59:03 Checking out Revision 4eec31fadddf0e29b487e0487de9bd55af30ffcb (PR-556) 00:59:03 > git checkout -f 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 00:59:03 > git remote # timeout=10 00:59:03 > git config --get remote.origin.url # timeout=10 00:59:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:03 > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 00:59:03 > git rev-parse HEAD^{commit} # timeout=10 00:59:03 > git config core.sparsecheckout # timeout=10 00:59:03 > git checkout -f 4eec31fadddf0e29b487e0487de9bd55af30ffcb # timeout=10 00:59:07 Commit message: "Merge commit '016774ad856346449abec6a76f039c0b34c03e63' into HEAD" 00:59:07 > git rev-list --no-walk 9a5db88b1bbbc15c50cdf3307438b52cdfe3f2f0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:09 Dload Upload Total Spent Left Speed 00:59:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 81707 0 --:--:-- --:--:-- --:--:-- 81707 [Pipeline] sh 00:59:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:59:09 + sudo tee /etc/docker/daemon.new 00:59:09 { 00:59:09 "registry-mirrors": [ 00:59:09 "https://nexus3.edgexfoundry.org:10001" 00:59:09 ], 00:59:09 "bip": "10.250.0.254/24", 00:59:09 "hosts": [ 00:59:09 "tcp://0.0.0.0:5555", 00:59:09 "unix:///var/run/docker.sock" 00:59:09 ], 00:59:09 "mtu": 1458, 00:59:09 "selinux-enabled": true, 00:59:09 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:09 } [Pipeline] sh 00:59:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:28 provisioning config files... 00:59:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7239950289238047476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:29 ---> ****-login.sh 00:59:29 nexus3.edgexfoundry.org:10001 00:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:30 Configure a credential helper to remove this warning. See 00:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:30 00:59:30 Login Succeeded 00:59:30 nexus3.edgexfoundry.org:10002 00:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:30 Configure a credential helper to remove this warning. See 00:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:30 00:59:30 Login Succeeded 00:59:30 nexus3.edgexfoundry.org:10003 00:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:30 Configure a credential helper to remove this warning. See 00:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:30 00:59:30 Login Succeeded 00:59:31 nexus3.edgexfoundry.org:10004 00:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:31 Configure a credential helper to remove this warning. See 00:59:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:31 00:59:31 Login Succeeded 00:59:31 ****.io 00:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:31 Configure a credential helper to remove this warning. See 00:59:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:31 00:59:31 Login Succeeded 00:59:31 ---> ****-login.sh ends [Pipeline] } 00:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:32 ========================================================= 00:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:59:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:32 + 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:33 Sending build context to Docker daemon 9.094MB 00:59:33 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:59:33 Step 2/10 : FROM ${BASE} AS builder 00:59:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:33 c6b39de5b339: Pulling fs layer 00:59:33 a69c41024577: Pulling fs layer 00:59:33 d6de4b400683: Pulling fs layer 00:59:33 35cb2a7552d0: Pulling fs layer 00:59:33 4f4fb700ef54: Pulling fs layer 00:59:33 464afbd9ba4c: Pulling fs layer 00:59:33 00f215d4a9da: Pulling fs layer 00:59:33 d496ad576159: Pulling fs layer 00:59:33 35cb2a7552d0: Waiting 00:59:33 4f4fb700ef54: Waiting 00:59:33 464afbd9ba4c: Waiting 00:59:33 d496ad576159: Waiting 00:59:33 00f215d4a9da: Waiting 00:59:33 a69c41024577: Verifying Checksum 00:59:33 a69c41024577: Download complete 00:59:33 35cb2a7552d0: Verifying Checksum 00:59:33 35cb2a7552d0: Download complete 00:59:33 c6b39de5b339: Download complete 00:59:33 4f4fb700ef54: Verifying Checksum 00:59:33 4f4fb700ef54: Download complete 00:59:33 464afbd9ba4c: Download complete 00:59:34 d496ad576159: Verifying Checksum 00:59:34 d496ad576159: Download complete 00:59:34 c6b39de5b339: Pull complete 00:59:35 a69c41024577: Pull complete 00:59:35 d6de4b400683: Verifying Checksum 00:59:35 d6de4b400683: Download complete 00:59:36 00f215d4a9da: Verifying Checksum 00:59:36 00f215d4a9da: Download complete 00:59:48 d6de4b400683: Pull complete 00:59:48 35cb2a7552d0: Pull complete 00:59:48 4f4fb700ef54: Pull complete 00:59:49 464afbd9ba4c: Pull complete 00:59:59 00f215d4a9da: Pull complete 01:00:00 d496ad576159: Pull complete 01:00:00 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:00:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:00:00 ---> f246e2811388 01:00:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 01:00:01 ---> Running in b4d47e214b08 01:00:01 Removing intermediate container b4d47e214b08 01:00:01 ---> 182898ed1d6a 01:00:01 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:00:01 ---> Running in 43762a1bcf71 01:00:01 Removing intermediate container 43762a1bcf71 01:00:01 ---> 7dee85928927 01:00:01 Step 5/10 : RUN apk add --update --no-cache make git openssh 01:00:02 ---> Running in fc90cc82cfd4 01:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:00:04 (1/8) Installing openssh-keygen (9.3_p2-r2) 01:00:04 (2/8) Installing libedit (20221030.3.1-r1) 01:00:04 (3/8) Installing openssh-client-common (9.3_p2-r2) 01:00:04 (4/8) Installing openssh-client-default (9.3_p2-r2) 01:00:04 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 01:00:04 (6/8) Installing openssh-server-common (9.3_p2-r2) 01:00:04 (7/8) Installing openssh-server (9.3_p2-r2) 01:00:04 (8/8) Installing openssh (9.3_p2-r2) 01:00:05 Executing busybox-1.36.1-r5.trigger 01:00:05 OK: 272 MiB in 60 packages 01:00:06 Removing intermediate container fc90cc82cfd4 01:00:06 ---> c0f0d95b5f77 01:00:06 Step 6/10 : WORKDIR /device-modbus-go 01:00:06 ---> Running in ece98ede66ae 01:00:07 Removing intermediate container ece98ede66ae 01:00:07 ---> ffa36f17a693 01:00:07 Step 7/10 : COPY go.mod vendor* ./ 01:00:08 ---> 28bfefcecfe8 01:00:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:08 ---> Running in d78b16acf4d3 01:01:59 Removing intermediate container d78b16acf4d3 01:01:59 ---> fdf353cf1f92 01:01:59 Step 9/10 : COPY . . 01:01:59 ---> 70e3bb31ea0d 01:01:59 Step 10/10 : RUN ${MAKE} 01:01:59 ---> Running in 7d42f962929e 01:01:59 noop 01:01:59 Removing intermediate container 7d42f962929e 01:01:59 ---> 2974b18d23dd 01:01:59 Successfully built 2974b18d23dd 01:01:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:00 + docker inspect -f . ci-base-image-arm64 01:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:00 prd-ubuntu20.04-docker-arm64-4c-16g-4859 does not seem to be running inside a container 01:02:00 $ 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 ******** ci-base-image-arm64 cat 01:02:01 $ docker top 34e0867c07571fcb7aeb71233051a3d49fb15643397faec4cbc5fd71105e3c74 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:02 + go version 01:02:02 go version go1.21.9 linux/arm64 [Pipeline] } 01:02:02 $ docker stop --time=1 34e0867c07571fcb7aeb71233051a3d49fb15643397faec4cbc5fd71105e3c74 01:02:04 $ docker rm -f --volumes 34e0867c07571fcb7aeb71233051a3d49fb15643397faec4cbc5fd71105e3c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [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:05 prd-ubuntu20.04-docker-arm64-4c-16g-4859 does not seem to be running inside a container 01:02:05 $ 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 ******** ci-base-image-arm64 cat 01:02:06 $ docker top 7990b37fcb2b1c414b054e6272571448f6fcc38565714e278e3cd7671a9dd2d5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:07 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:02:07 + make test 01:02:07 go test ./... -coverprofile=coverage.out 01:02:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:05:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:05:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 47.9% of statements 01:05:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:05:34 go vet ./... 01:06:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:13 ./bin/test-attribution-txt.sh 01:06:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:06:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:06:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:06:14 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:06:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:06:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:06:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:06:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:06:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:06:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:06:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:06:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:06:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:06:14 $ docker stop --time=1 7990b37fcb2b1c414b054e6272571448f6fcc38565714e278e3cd7671a9dd2d5 01:06:16 $ docker rm -f --volumes 7990b37fcb2b1c414b054e6272571448f6fcc38565714e278e3cd7671a9dd2d5 [Pipeline] // withDockerContainer [Pipeline] sh 01:06:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:18 Warning: overwriting stash ‘coverage-report’ 01:06:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:19 + ls -al . 01:06:19 total 260 01:06:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 01:02 . 01:06:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 00:58 .. 01:06:19 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 00:59 .dockerignore 01:06:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 00:59 .git 01:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:59 .github 01:06:19 -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 00:59 .gitignore 01:06:19 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 00:59 .golangci.yml 01:06:19 -rw-rw-r-- 1 jenkins jenkins 11101 Jul 3 00:59 Attribution.txt 01:06:19 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 00:59 CHANGELOG.md 01:06:19 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 00:59 Dockerfile 01:06:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 00:59 GOVERNANCE.md 01:06:19 -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 00:59 Jenkinsfile 01:06:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 00:59 LICENSE 01:06:19 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 00:59 Makefile 01:06:19 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 00:59 OWNERS.md 01:06:19 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 00:59 README.md 01:06:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 00:54 VERSION 01:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:59 bin 01:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:59 cmd 01:06:19 -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 01:05 coverage.out 01:06:19 -rw-rw-r-- 1 jenkins jenkins 7241 Jul 3 00:59 go.mod 01:06:19 -rw-rw-r-- 1 jenkins jenkins 102291 Jul 3 00:59 go.sum 01:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 00:59 internal 01:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 00:59 simulator 01:06:19 -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:19 + 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=4eec31fadddf0e29b487e0487de9bd55af30ffcb --label arch=arm64 --label version=0.0.0 . 01:06:19 Sending build context to Docker daemon 9.12MB 01:06:20 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 01:06:20 Step 2/23 : FROM ${BASE} AS builder 01:06:20 ---> 2974b18d23dd 01:06:20 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:06:20 ---> Running in 70519c7e9ca2 01:06:20 Removing intermediate container 70519c7e9ca2 01:06:20 ---> 7ff2eef201de 01:06:20 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:20 ---> Running in 5f3ad716a2be 01:06:21 Removing intermediate container 5f3ad716a2be 01:06:21 ---> 02b0876cdafa 01:06:21 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:06:21 ---> Running in dcc7d039e0c4 01:06:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:06:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:06:23 OK: 272 MiB in 60 packages 01:06:24 Removing intermediate container dcc7d039e0c4 01:06:24 ---> e10f847fda90 01:06:24 Step 6/23 : WORKDIR /device-modbus-go 01:06:24 ---> Running in b2365f240634 01:06:24 Removing intermediate container b2365f240634 01:06:24 ---> c45adf1354f0 01:06:24 Step 7/23 : COPY go.mod vendor* ./ 01:06:25 ---> 35b2a2ab3c65 01:06:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:25 ---> Running in c86f693d399f 01:06:27 Removing intermediate container c86f693d399f 01:06:27 ---> b879044d5703 01:06:27 Step 9/23 : COPY . . 01:06:28 ---> 2b6e8270b6db 01:06:28 Step 10/23 : RUN ${MAKE} 01:06:28 ---> Running in 7f59cf94f8b8 01:06:29 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 01:09:51 Removing intermediate container 7f59cf94f8b8 01:09:51 ---> 99893620aff2 01:09:51 Step 11/23 : FROM alpine:3.18 01:09:51 3.18: Pulling from library/alpine 01:09:51 5c905c7ebe2f: Pulling fs layer 01:09:51 5c905c7ebe2f: Download complete 01:09:51 5c905c7ebe2f: Pull complete 01:09:51 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 01:09:51 Status: Downloaded newer image for alpine:3.18 01:09:51 ---> dec292d02e07 01:09:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:09:51 ---> Running in cffd1db7f343 01:09:51 Removing intermediate container cffd1db7f343 01:09:51 ---> cc091b42fe69 01:09:51 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:09:51 ---> Running in ca2ec66d901c 01:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:09:53 (1/1) Installing dumb-init (1.2.5-r2) 01:09:53 Executing busybox-1.36.1-r7.trigger 01:09:53 OK: 8 MiB in 16 packages 01:09:54 Removing intermediate container ca2ec66d901c 01:09:54 ---> 8864492dd517 01:09:54 Step 14/23 : RUN apk --no-cache upgrade 01:09:54 ---> Running in aff3c51f7d03 01:09:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:09:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:09:56 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 01:09:56 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 01:09:56 OK: 8 MiB in 16 packages 01:09:57 Removing intermediate container aff3c51f7d03 01:09:57 ---> 9a4a8695682f 01:09:57 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:09:59 ---> 7fad3e4f5df9 01:09:59 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:10:00 ---> 4f21f28b7fd8 01:10:00 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:10:00 ---> 0cac3cc3c622 01:10:00 Step 18/23 : EXPOSE 59901 01:10:00 ---> Running in 535a9580719a 01:10:00 Removing intermediate container 535a9580719a 01:10:00 ---> a72aa7808576 01:10:00 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:10:01 ---> Running in 33a7221b5922 01:10:01 Removing intermediate container 33a7221b5922 01:10:01 ---> 3168312df0e8 01:10:01 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:10:01 ---> Running in 04dfc1f5565e 01:10:01 Removing intermediate container 04dfc1f5565e 01:10:01 ---> 8b09f1b0365e 01:10:01 Step 21/23 : LABEL arch=arm64 01:10:02 ---> Running in 6d48a3b11a98 01:10:02 Removing intermediate container 6d48a3b11a98 01:10:02 ---> 87dca238b316 01:10:02 Step 22/23 : LABEL git_sha=4eec31fadddf0e29b487e0487de9bd55af30ffcb 01:10:02 ---> Running in 5a276d4b5bbd 01:10:02 Removing intermediate container 5a276d4b5bbd 01:10:02 ---> 9814e2b805fe 01:10:02 Step 23/23 : LABEL version=0.0.0 01:10:02 ---> Running in 3a8145cef158 01:10:03 Removing intermediate container 3a8145cef158 01:10:03 ---> 3672499b3cec 01:10:03 [Warning] One or more build-args [ARCH] were not consumed 01:10:03 Successfully built 3672499b3cec 01:10:03 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:03 01:10:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:03 arm64: Pulling from edgex-lftools-log-publisher 01:10:03 8998bd30e6a1: Pulling fs layer 01:10:03 04944245beec: Pulling fs layer 01:10:03 699f458cf7ca: Pulling fs layer 01:10:03 765212b225bb: Pulling fs layer 01:10:03 f23df028b6ca: Pulling fs layer 01:10:03 d65c8cfc05b1: Pulling fs layer 01:10:03 2437ff75d9bd: Pulling fs layer 01:10:03 d65c8cfc05b1: Waiting 01:10:03 765212b225bb: Waiting 01:10:03 f23df028b6ca: Waiting 01:10:03 2437ff75d9bd: Waiting 01:10:04 04944245beec: Verifying Checksum 01:10:04 04944245beec: Download complete 01:10:04 765212b225bb: Verifying Checksum 01:10:04 765212b225bb: Download complete 01:10:04 f23df028b6ca: Verifying Checksum 01:10:04 f23df028b6ca: Download complete 01:10:04 d65c8cfc05b1: Verifying Checksum 01:10:04 d65c8cfc05b1: Download complete 01:10:04 699f458cf7ca: Verifying Checksum 01:10:04 699f458cf7ca: Download complete 01:10:04 8998bd30e6a1: Verifying Checksum 01:10:04 8998bd30e6a1: Download complete 01:10:07 2437ff75d9bd: Verifying Checksum 01:10:07 2437ff75d9bd: Download complete 01:10:09 8998bd30e6a1: Pull complete 01:10:09 04944245beec: Pull complete 01:10:11 699f458cf7ca: Pull complete 01:10:11 765212b225bb: Pull complete 01:10:12 f23df028b6ca: Pull complete 01:10:12 d65c8cfc05b1: Pull complete 01:10:31 2437ff75d9bd: Pull complete 01:10:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:31 prd-ubuntu20.04-docker-arm64-4c-16g-4859 does not seem to be running inside a container 01:10:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:10:34 $ docker top 899fd5f364ba6010b5e7050dd485eee4a9903be7db870c98dbe6bed7ecf06001 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:34 ---> job-cost.sh 01:10:34 lf-activate-venv: SKIPPING 01:10:34 INFO: No Stack... 01:10:35 INFO: Retrieving Pricing Info for: v3-standard-4 01:10:36 INFO: Archiving Costs [Pipeline] sh 01:10:36 + + catcut /w/workspace/device-modbus-go/2/archives/cost.csv -d, 01:10:36 -f6 [Pipeline] lock 01:10:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] 01:10:36 Resource [jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] did not exist. Created. 01:10:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:37 /w/workspace/device-modbus-go/2@tmp/durable-5f3e5845/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:10:38 + echo total: 0.10999999940395355 [Pipeline] stash 01:10:38 Warning: overwriting stash ‘stack-cost’ 01:10:38 Stashed 1 file(s) [Pipeline] } 01:10:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-556-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:38 $ docker stop --time=1 899fd5f364ba6010b5e7050dd485eee4a9903be7db870c98dbe6bed7ecf06001 01:10:39 $ docker rm -f --volumes 899fd5f364ba6010b5e7050dd485eee4a9903be7db870c98dbe6bed7ecf06001 [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:10:40 provisioning config files... 01:10:40 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config5828913730568775627tmp [Pipeline] { [Pipeline] sh 01:10:40 + set +x 01:10:40 + curl -s https://codecov.io/bash 01:10:40 + bash -s -- 01:10:40 01:10:40 _____ _ 01:10:40 / ____| | | 01:10:40 | | ___ __| | ___ ___ _____ __ 01:10:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:10:40 | |___| (_) | (_| | __/ (_| (_) \ V / 01:10:40 \_____\___/ \__,_|\___|\___\___/ \_/ 01:10:40 Bash-1.0.6 01:10:40 01:10:40 01:10:40 ==> git version 2.25.1 found 01:10:40 ==> 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:10:40 Release-Date: 2020-01-08 01:10:40 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:10:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:10:40 ==> Jenkins CI detected. 01:10:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-556 01:10:40 project root: . 01:10:40 --> token set from env 01:10:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:10:40 ==> Running gcov in . (disable via -X gcov) 01:10:40 ==> Python coveragepy not found 01:10:40 ==> Searching for coverage reports in: 01:10:40 + . 01:10:40 -> Found 1 reports 01:10:40 ==> Detecting git/mercurial file structure 01:10:40 ==> Reading reports 01:10:40 + ./coverage.out bytes=24601 01:10:40 ==> Appending adjustments 01:10:40 https://docs.codecov.io/docs/fixing-reports 01:10:40 + Found adjustments 01:10:40 ==> Gzipping contents 01:10:40 4.0K /tmp/codecov.bIjSON.gz 01:10:40 ==> Uploading reports 01:10:40 url: https://codecov.io 01:10:40 query: branch=PR-556&commit=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= 01:10:40 -> Pinging Codecov 01:10:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-556&commit=3f3f71a6330a46bc663ac48cf1a533a8e59f6c00&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-556%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=556&job=&cmd_args= 01:10:40 -> Uploading to 01:10:40 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/55DBCA73C666E3227836607328DD7E49/3f3f71a6330a46bc663ac48cf1a533a8e59f6c00/d8bc657e-4f71-471b-bf1f-a6f59e6504bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T011040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ba2e38e5d63575e913c48f52bc37e33088b4eb26cd9d94df0ba655025eff3e6 01:10:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:10:40 Dload Upload Total Spent Left Speed 01:10:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16929 --:--:-- --:--:-- --:--:-- 16929 01:10:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3f3f71a6330a46bc663ac48cf1a533a8e59f6c00 [Pipeline] } 01:10:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:10:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-556/archives ] 01:10:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives 01:10:42 total 16 01:10:42 drwxr-xr-x 3 root root 4096 Jul 3 00:57 . 01:10:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 00:57 .. 01:10:42 drwxr-xr-x 2 root root 4096 Jul 3 00:57 cost 01:10:42 -rw-r--r-- 1 root root 88 Jul 3 00:57 cost.csv 01:10:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-556/archives 01:10:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-556/archives 01:10:42 total 16 01:10:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 00:57 . 01:10:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 00:57 .. 01:10:42 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 00:57 cost 01:10:42 -rw-r--r-- 1 jenkins jenkins 88 Jul 3 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:10:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:10:43 ---> package-listing.sh 01:10:43 ++ facter osfamily 01:10:43 ++ tr '[:upper:]' '[:lower:]' 01:10:43 + OS_FAMILY=debian 01:10:43 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-556 01:10:43 + START_PACKAGES=/tmp/packages_start.txt 01:10:43 + END_PACKAGES=/tmp/packages_end.txt 01:10:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:10:43 + PACKAGES=/tmp/packages_start.txt 01:10:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' 01:10:43 + PACKAGES=/tmp/packages_end.txt 01:10:43 + case "${OS_FAMILY}" in 01:10:43 + dpkg -l 01:10:43 + grep '^ii' 01:10:43 + '[' -f /tmp/packages_start.txt ']' 01:10:43 + '[' -f /tmp/packages_end.txt ']' 01:10:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:10:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-556 ']' 01:10:43 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ 01:10:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-556/archives/ [Pipeline] echo 01:10:43 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-556/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:10:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:44 prd-ubuntu20.04-docker-8c-8g-4858 does not seem to be running inside a container 01:10:44 $ 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-556/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-556 -v /w/workspace/xfoundry_device-modbus-go_PR-556:/w/workspace/xfoundry_device-modbus-go_PR-556:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-556@tmp:/w/workspace/xfoundry_device-modbus-go_PR-556@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:10:44 $ docker top 8c0cde102cb38d3a6c1ad9dee90775363b1b32530a58d05a208caa4bfc77ba16 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:45 + touch /tmp/pre-build-complete [Pipeline] sh 01:10:45 + mkdir -p /var/log/sysstat [Pipeline] sh 01:10:45 + ls /var/log/sa-host 01:10:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:10:45 provisioning config files... 01:10:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-556@tmp/config2099353707695412602tmp [Pipeline] { [Pipeline] echo 01:10:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:10:46 ---> create-netrc.sh [Pipeline] } 01:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:10:46 ---> python-tools-install.sh [Pipeline] echo 01:10:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:10:46 ---> sudo-logs.sh 01:10:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:10:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:10:47 ---> job-cost.sh 01:10:47 lf-activate-venv: SKIPPING 01:10:47 DEBUG: total: 0.2199999988079071 01:10:47 INFO: Retrieving Stack Cost... 01:10:47 INFO: Retrieving Pricing Info for: v3-standard-8 01:10:47 INFO: Archiving Costs [Pipeline] echo 01:10:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:10:48 ---> logs-deploy.sh 01:10:48 lf-activate-venv: SKIPPING 01:10:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-556/2 01:10:48 INFO: archiving workspace using pattern(s): 01:10:49 Archives upload complete. 01:10:49 INFO: archiving logs to Nexus