cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 313bd4257294a3611ddab0d25a1668d691212468+016774ad856346449abec6a76f039c0b34c03e63 (0cef2481a11790ef6cf3b5a90448a0e6794139e6) 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-ssh13169470209476836289.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-ssh12616808788194415731.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-558/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-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3641385847918364773.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-ssh8950235777542776138.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-558/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-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16268563060702054188.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4890 in /w/workspace/xfoundry_device-modbus-go_PR-558 [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-558 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 313bd4257294a3611ddab0d25a1668d691212468 > 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/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # 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 Merge succeeded, producing 313bd4257294a3611ddab0d25a1668d691212468 Checking out Revision 313bd4257294a3611ddab0d25a1668d691212468 (PR-558) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 > git rev-list --no-walk 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:43:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:43:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:43:27 ========================================================= 05:43:27 EdgeX Global Pipelines Version Info 05:43:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:43:28 ------------------- 05:43:28 stable info: 05:43:28 ------------------- 05:43:28 Commited By: Ginny Guan ginny@iotechsys.com 05:43:28 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:43:28 Message: update stable to v1.0.260 05:43:28 ------------------- 05:43:28 experimental info: 05:43:28 ------------------- 05:43:28 Commited By: Ginny Guan ginny@iotechsys.com 05:43:28 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:43:28 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:43:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:43:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:43:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:43:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-558 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-558 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-558 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 313bd42 [Pipeline] echo 05:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:29 provisioning config files... 05:43:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config4466057775674756844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:30 ---> ****-login.sh 05:43:30 nexus3.edgexfoundry.org:10001 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 nexus3.edgexfoundry.org:10002 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 nexus3.edgexfoundry.org:10003 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 nexus3.edgexfoundry.org:10004 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:30 Configure a credential helper to remove this warning. See 05:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:30 05:43:30 Login Succeeded 05:43:30 ****.io 05:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:31 Configure a credential helper to remove this warning. See 05:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:31 05:43:31 Login Succeeded 05:43:31 ---> ****-login.sh ends [Pipeline] } 05:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:43:31 + git rev-list -1 --merges 313bd4257294a3611ddab0d25a1668d691212468~1..313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo 05:43:31 -----------> git rev-list -1 --merges 313bd4257294a3611ddab0d25a1668d691212468~1..313bd4257294a3611ddab0d25a1668d691212468 313bd4257294a3611ddab0d25a1668d691212468 [false] [Pipeline] sh 05:43:31 + git log --format=format:%s -1 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo 05:43:31 ========================================================= 05:43:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:43:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:32 + git log --format=format:%s -1 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo 05:43:32 [semverPrep] GIT_COMMIT: 313bd4257294a3611ddab0d25a1668d691212468, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:43:32 [semverPrep] This is not a build commit. [Pipeline] sh 05:43:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:43:32 + grep -v github /etc/ssh/ssh_known_hosts 05:43:32 + [ -e /tmp/ssh_known_hosts ] 05:43:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:43:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 05:43:32 sudo tee -a /etc/ssh/ssh_known_hosts 05:43:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:33 05:43:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:33 0.1.4: Pulling from edgex-devops/py-git-semver 05:43:33 b85a868b505f: Pulling fs layer 05:43:33 e2be974225ed: Pulling fs layer 05:43:33 339a4e72a1f5: Pulling fs layer 05:43:33 988bab9f4d93: Pulling fs layer 05:43:33 1469e6f7b9e6: Pulling fs layer 05:43:33 eaf3925da568: Pulling fs layer 05:43:33 bab4dde63d76: Pulling fs layer 05:43:33 bde34c3a00c8: Pulling fs layer 05:43:33 b352a97aabf1: Pulling fs layer 05:43:33 4872d77fe225: Pulling fs layer 05:43:33 5851b861e8e6: Pulling fs layer 05:43:33 988bab9f4d93: Waiting 05:43:33 1469e6f7b9e6: Waiting 05:43:33 eaf3925da568: Waiting 05:43:33 bab4dde63d76: Waiting 05:43:33 bde34c3a00c8: Waiting 05:43:33 b352a97aabf1: Waiting 05:43:33 4872d77fe225: Waiting 05:43:33 5851b861e8e6: Waiting 05:43:33 e2be974225ed: Verifying Checksum 05:43:33 e2be974225ed: Download complete 05:43:33 988bab9f4d93: Verifying Checksum 05:43:33 988bab9f4d93: Download complete 05:43:33 1469e6f7b9e6: Verifying Checksum 05:43:33 1469e6f7b9e6: Download complete 05:43:33 eaf3925da568: Verifying Checksum 05:43:33 eaf3925da568: Download complete 05:43:33 339a4e72a1f5: Verifying Checksum 05:43:33 339a4e72a1f5: Download complete 05:43:33 bde34c3a00c8: Verifying Checksum 05:43:33 bde34c3a00c8: Download complete 05:43:33 b352a97aabf1: Verifying Checksum 05:43:33 b352a97aabf1: Download complete 05:43:33 4872d77fe225: Verifying Checksum 05:43:33 4872d77fe225: Download complete 05:43:33 5851b861e8e6: Verifying Checksum 05:43:33 5851b861e8e6: Download complete 05:43:33 b85a868b505f: Verifying Checksum 05:43:33 b85a868b505f: Download complete 05:43:33 bab4dde63d76: Verifying Checksum 05:43:33 bab4dde63d76: Download complete 05:43:35 b85a868b505f: Pull complete 05:43:35 e2be974225ed: Pull complete 05:43:35 339a4e72a1f5: Pull complete 05:43:35 988bab9f4d93: Pull complete 05:43:35 1469e6f7b9e6: Pull complete 05:43:36 eaf3925da568: Pull complete 05:43:37 bab4dde63d76: Pull complete 05:43:37 bde34c3a00c8: Pull complete 05:43:37 b352a97aabf1: Pull complete 05:43:37 4872d77fe225: Pull complete 05:43:37 5851b861e8e6: Pull complete 05:43:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:43:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:43:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:38 prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container 05:43:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:43:41 $ docker top c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 -eo pid,comm 05:43:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:43:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:42 [ssh-agent] Looking for ssh-agent implementation... 05:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:42 $ docker exec c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent 05:43:42 SSH_AUTH_SOCK=/tmp/ssh-BguTG613cofQ/agent.33 05:43:42 SSH_AGENT_PID=39 05:43:42 Running ssh-add (command line suppressed) 05:43:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_15198260595574630096.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_15198260595574630096.key) 05:43:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:42 + git tag --points-at HEAD [Pipeline] } 05:43:42 $ docker exec --env ******** --env ******** c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent -k 05:43:42 unset SSH_AUTH_SOCK; 05:43:42 unset SSH_AGENT_PID; 05:43:42 echo Agent pid 39 killed; 05:43:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:43:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:42 [ssh-agent] Looking for ssh-agent implementation... 05:43:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:42 $ docker exec c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent 05:43:43 SSH_AUTH_SOCK=/tmp/ssh-Kmo9COwVFATp/agent.72 05:43:43 SSH_AGENT_PID=78 05:43:43 Running ssh-add (command line suppressed) 05:43:43 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_12172235514256591864.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_12172235514256591864.key) 05:43:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:43 + git semver init 05:43:43 2024-07-03 05:43:43,640 [run_init] DEBUG init version:0.0.0 force:False 05:43:43 2024-07-03 05:43:43,641 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver 05:43:43 2024-07-03 05:43:43,642 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-558/.semver 05:43:43 2024-07-03 05:43:43,642 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-558/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558, universal_newlines=False, shell=None, istream=None) 05:43:45 2024-07-03 05:43:44,648 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.git/info/exclude 05:43:45 2024-07-03 05:43:44,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 with force:False 05:43:45 2024-07-03 05:43:44,649 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 05:43:45 2024-07-03 05:43:44,653 [execute] INFO git cat-file --batch-check 05:43:45 2024-07-03 05:43:44,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) 05:43:45 2024-07-03 05:43:44,658 [execute] INFO git cat-file --batch 05:43:45 2024-07-03 05:43:44,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) 05:43:45 2024-07-03 05:43:44,663 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 05:43:45 0.0.0 [Pipeline] } 05:43:45 $ docker exec --env ******** --env ******** c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent -k 05:43:45 unset SSH_AUTH_SOCK; 05:43:45 unset SSH_AGENT_PID; 05:43:45 echo Agent pid 78 killed; 05:43:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:45 + git semver [Pipeline] } 05:43:45 $ docker stop --time=1 c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 05:43:47 $ docker rm -f --volumes c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 [Pipeline] // withDockerContainer [Pipeline] sh 05:43:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:43:47 Stashed 1 file(s) [Pipeline] echo 05:43:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:47 provisioning config files... 05:43:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config10832481578280457441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:48 ---> ****-login.sh 05:43:48 nexus3.edgexfoundry.org:10001 05:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 nexus3.edgexfoundry.org:10002 05:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 nexus3.edgexfoundry.org:10003 05:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 nexus3.edgexfoundry.org:10004 05:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 ****.io 05:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 ---> ****-login.sh ends [Pipeline] } 05:43:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:43:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:43:48 ========================================================= 05:43:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:43:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:43:49 Sending build context to Docker daemon 17.84MB 05:43:49 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:43:49 Step 2/10 : FROM ${BASE} AS builder 05:43:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:49 619be1103602: Pulling fs layer 05:43:49 7862e08f4a3e: Pulling fs layer 05:43:49 5df492c9dc93: Pulling fs layer 05:43:49 7629e6793208: Pulling fs layer 05:43:49 4f4fb700ef54: Pulling fs layer 05:43:49 fb5054dd5b73: Pulling fs layer 05:43:49 eeca6798cff9: Pulling fs layer 05:43:49 aa269ceb94a6: Pulling fs layer 05:43:49 ada007ff1a6a: Pulling fs layer 05:43:49 4f4fb700ef54: Waiting 05:43:49 fb5054dd5b73: Waiting 05:43:49 7629e6793208: Waiting 05:43:49 aa269ceb94a6: Waiting 05:43:49 eeca6798cff9: Waiting 05:43:49 7862e08f4a3e: Verifying Checksum 05:43:49 7862e08f4a3e: Download complete 05:43:49 7629e6793208: Verifying Checksum 05:43:49 4f4fb700ef54: Verifying Checksum 05:43:49 4f4fb700ef54: Download complete 05:43:49 fb5054dd5b73: Verifying Checksum 05:43:49 fb5054dd5b73: Download complete 05:43:49 619be1103602: Verifying Checksum 05:43:49 619be1103602: Download complete 05:43:49 eeca6798cff9: Verifying Checksum 05:43:49 eeca6798cff9: Download complete 05:43:49 619be1103602: Pull complete 05:43:49 ada007ff1a6a: Download complete 05:43:49 7862e08f4a3e: Pull complete 05:43:49 5df492c9dc93: Verifying Checksum 05:43:49 5df492c9dc93: Download complete 05:43:50 aa269ceb94a6: Verifying Checksum 05:43:50 aa269ceb94a6: Download complete 05:43:52 5df492c9dc93: Pull complete 05:43:52 7629e6793208: Pull complete 05:43:52 4f4fb700ef54: Pull complete 05:43:52 fb5054dd5b73: Pull complete 05:43:52 eeca6798cff9: Pull complete 05:43:54 aa269ceb94a6: Pull complete 05:43:55 ada007ff1a6a: Pull complete 05:43:55 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:43:55 ---> f489d0715acc 05:43:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:43:59 ---> Running in 0bab2e625bf4 05:43:59 Removing intermediate container 0bab2e625bf4 05:43:59 ---> fc22411afbfe 05:43:59 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:43:59 ---> Running in 7aeddac34cdb 05:43:59 Removing intermediate container 7aeddac34cdb 05:43:59 ---> cc148eeca014 05:43:59 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:43:59 ---> Running in 23ef52874a60 05:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:44:00 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:44:00 (2/8) Installing libedit (20221030.3.1-r1) 05:44:00 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:44:00 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:44:00 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:44:00 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:44:00 (7/8) Installing openssh-server (9.3_p2-r2) 05:44:00 (8/8) Installing openssh (9.3_p2-r2) 05:44:00 Executing busybox-1.36.1-r5.trigger 05:44:00 OK: 270 MiB in 60 packages 05:44:00 Removing intermediate container 23ef52874a60 05:44:00 ---> 9fdbdfed9a14 05:44:00 Step 6/10 : WORKDIR /device-modbus-go 05:44:00 ---> Running in f22db7666bda 05:44:00 Removing intermediate container f22db7666bda 05:44:00 ---> f871637dca49 05:44:00 Step 7/10 : COPY go.mod vendor* ./ 05:44:01 ---> b68958c31557 05:44:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:01 ---> Running in 3451acbb49e1 05:44:02 Still waiting to schedule task 05:44:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4889’ 05:44:47 Removing intermediate container 3451acbb49e1 05:44:47 ---> 91631a818f83 05:44:47 Step 9/10 : COPY . . 05:44:47 ---> a3ba0679debc 05:44:47 Step 10/10 : RUN ${MAKE} 05:44:47 ---> Running in 54ff7e5ecdf6 05:44:47 noop 05:44:47 Removing intermediate container 54ff7e5ecdf6 05:44:47 ---> 3a82caad6719 05:44:47 Successfully built 3a82caad6719 05:44:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:48 + docker inspect -f . ci-base-image-x86_64 05:44:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:48 prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container 05:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:48 $ docker top f6cbf76f004eb535b9b2559f90ab0ef88f23c421a1065a932a3d75820444d33e -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:49 + go version 05:44:49 go version go1.21.9 linux/amd64 [Pipeline] } 05:44:49 $ docker stop --time=1 f6cbf76f004eb535b9b2559f90ab0ef88f23c421a1065a932a3d75820444d33e 05:44:50 $ docker rm -f --volumes f6cbf76f004eb535b9b2559f90ab0ef88f23c421a1065a932a3d75820444d33e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:50 + docker inspect -f . ci-base-image-x86_64 05:44:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:50 prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container 05:44:50 $ 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-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:44:51 $ docker top 64ba4e573546ba6f3f36d1179d2cde1b1200ddd6c7b5d8c5556816a6bd83384c -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:51 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-558 [Pipeline] fileExists [Pipeline] sh 05:44:51 + make test 05:44:51 go test ./... -coverprofile=coverage.out 05:44:52 /go/pkg/mod/github.com/go-openapi/strfmt@v0.23.0/bson.go:21:2: go.mongodb.org/mongo-driver@v1.15.0: missing go.sum entry for go.mod file; to add it: 05:44:52 go mod download go.mongodb.org/mongo-driver 05:44:52 /go/pkg/mod/github.com/go-openapi/strfmt@v0.23.0/bson.go:23:2: go.mongodb.org/mongo-driver@v1.15.0: missing go.sum entry for go.mod file; to add it: 05:44:52 go mod download go.mongodb.org/mongo-driver 05:44:52 /go/pkg/mod/github.com/go-openapi/strfmt@v0.23.0/bson.go:24:2: go.mongodb.org/mongo-driver@v1.15.0: missing go.sum entry for go.mod file; to add it: 05:44:52 go mod download go.mongodb.org/mongo-driver 05:44:52 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 05:44:52 $ docker stop --time=1 64ba4e573546ba6f3f36d1179d2cde1b1200ddd6c7b5d8c5556816a6bd83384c 05:44:53 $ docker rm -f --volumes 64ba4e573546ba6f3f36d1179d2cde1b1200ddd6c7b5d8c5556816a6bd83384c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:54 05:44:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:54 latest: Pulling from edgex-lftools-log-publisher 05:44:54 5eb5b503b376: Pulling fs layer 05:44:54 5c69ac0246d0: Pulling fs layer 05:44:54 ec43610c2a17: Pulling fs layer 05:44:54 3a2ae6a8a46f: Pulling fs layer 05:44:54 33b1e0a273af: Pulling fs layer 05:44:54 5d3b04190fa2: Pulling fs layer 05:44:54 2f39f015ded8: Pulling fs layer 05:44:54 33b1e0a273af: Waiting 05:44:54 2f39f015ded8: Waiting 05:44:54 5c69ac0246d0: Verifying Checksum 05:44:54 5c69ac0246d0: Download complete 05:44:54 3a2ae6a8a46f: Verifying Checksum 05:44:54 3a2ae6a8a46f: Download complete 05:44:54 33b1e0a273af: Verifying Checksum 05:44:54 33b1e0a273af: Download complete 05:44:54 5d3b04190fa2: Download complete 05:44:54 ec43610c2a17: Download complete 05:44:54 5eb5b503b376: Verifying Checksum 05:44:54 5eb5b503b376: Download complete 05:44:55 2f39f015ded8: Download complete 05:44:56 5eb5b503b376: Pull complete 05:44:56 5c69ac0246d0: Pull complete 05:44:56 ec43610c2a17: Pull complete 05:44:56 3a2ae6a8a46f: Pull complete 05:44:56 33b1e0a273af: Pull complete 05:44:56 5d3b04190fa2: Pull complete 05:45:01 2f39f015ded8: Pull complete 05:45:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:01 prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container 05:45:01 $ 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-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:05 $ docker top cb6ccad874f9bbb6591cf9244e79d99345cbd0e837d21237da7be594037f66b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:05 ---> job-cost.sh 05:45:05 lf-activate-venv: SKIPPING 05:45:05 INFO: No Stack... 05:45:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:06 INFO: Archiving Costs [Pipeline] sh 05:45:06 + cat /w/workspace/xfoundry_device-modbus-go_PR-558/archives/cost.csv 05:45:06 + cut -d, -f6 [Pipeline] lock 05:45:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] 05:45:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] did not exist. Created. 05:45:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:07 + echo total: 0.2199999988079071 [Pipeline] stash 05:45:07 Stashed 1 file(s) [Pipeline] } 05:45:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:07 $ docker stop --time=1 cb6ccad874f9bbb6591cf9244e79d99345cbd0e837d21237da7be594037f66b6 05:45:08 $ docker rm -f --volumes cb6ccad874f9bbb6591cf9244e79d99345cbd0e837d21237da7be594037f66b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:45:08 Failed in branch amd64 05:47:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4891 in /w/workspace/xfoundry_device-modbus-go_PR-558 [Pipeline] { [Pipeline] ws 05:47:43 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 05:47:43 The recommended git tool is: git 05:47:51 using credential edgex-jenkins-ssh 05:47:51 Cloning the remote Git repository 05:47:51 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:47:51 > git init /w/workspace/device-modbus-go/2 # timeout=10 05:47:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:47:51 > git --version # timeout=10 05:47:51 > git --version # 'git version 2.25.1' 05:47:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:47:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:56 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 313bd4257294a3611ddab0d25a1668d691212468 05:47:56 Merge succeeded, producing 313bd4257294a3611ddab0d25a1668d691212468 05:47:56 Checking out Revision 313bd4257294a3611ddab0d25a1668d691212468 (PR-558) 05:47:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:47:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:47:56 > git config core.sparsecheckout # timeout=10 05:47:56 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 05:47:56 > git remote # timeout=10 05:47:56 > git config --get remote.origin.url # timeout=10 05:47:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:56 > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 05:47:56 > git rev-parse HEAD^{commit} # timeout=10 05:47:56 > git config core.sparsecheckout # timeout=10 05:47:56 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 05:47:57 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:48:02 % Total % Received % Xferd Average Speed Time Time Time Current 05:48:02 Dload Upload Total Spent Left Speed 05:48:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 91628 0 --:--:-- --:--:-- --:--:-- 91628 [Pipeline] sh 05:48:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:48:02 + sudo tee /etc/docker/daemon.new 05:48:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:48:02 { 05:48:02 "registry-mirrors": [ 05:48:02 "https://nexus3.edgexfoundry.org:10001" 05:48:02 ], 05:48:02 "bip": "10.250.0.254/24", 05:48:02 "hosts": [ 05:48:02 "tcp://0.0.0.0:5555", 05:48:02 "unix:///var/run/docker.sock" 05:48:02 ], 05:48:02 "mtu": 1458, 05:48:02 "selinux-enabled": true, 05:48:02 "seccomp-profile": "/etc/docker/seccomp.json" 05:48:02 } [Pipeline] sh 05:48:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:48:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:21 provisioning config files... 05:48:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config834215891002726419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:22 ---> ****-login.sh 05:48:22 nexus3.edgexfoundry.org:10001 05:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:22 Configure a credential helper to remove this warning. See 05:48:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:22 05:48:22 Login Succeeded 05:48:22 nexus3.edgexfoundry.org:10002 05:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:23 Configure a credential helper to remove this warning. See 05:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:23 05:48:23 Login Succeeded 05:48:23 nexus3.edgexfoundry.org:10003 05:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:23 Configure a credential helper to remove this warning. See 05:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:23 05:48:23 Login Succeeded 05:48:23 nexus3.edgexfoundry.org:10004 05:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:23 Configure a credential helper to remove this warning. See 05:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:23 05:48:23 Login Succeeded 05:48:23 ****.io 05:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:48:24 Configure a credential helper to remove this warning. See 05:48:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:48:24 05:48:24 Login Succeeded 05:48:24 ---> ****-login.sh ends [Pipeline] } 05:48:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:48:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:48:24 ========================================================= 05:48:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:48:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:48:25 Sending build context to Docker daemon 9.052MB 05:48:25 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:48:25 Step 2/10 : FROM ${BASE} AS builder 05:48:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:48:25 c6b39de5b339: Pulling fs layer 05:48:25 a69c41024577: Pulling fs layer 05:48:25 d6de4b400683: Pulling fs layer 05:48:25 35cb2a7552d0: Pulling fs layer 05:48:25 4f4fb700ef54: Pulling fs layer 05:48:25 464afbd9ba4c: Pulling fs layer 05:48:25 00f215d4a9da: Pulling fs layer 05:48:25 d496ad576159: Pulling fs layer 05:48:25 35cb2a7552d0: Waiting 05:48:25 4f4fb700ef54: Waiting 05:48:25 464afbd9ba4c: Waiting 05:48:25 00f215d4a9da: Waiting 05:48:25 d496ad576159: Waiting 05:48:25 a69c41024577: Verifying Checksum 05:48:25 a69c41024577: Download complete 05:48:25 35cb2a7552d0: Download complete 05:48:25 4f4fb700ef54: Download complete 05:48:25 464afbd9ba4c: Download complete 05:48:25 c6b39de5b339: Verifying Checksum 05:48:25 c6b39de5b339: Download complete 05:48:26 d496ad576159: Verifying Checksum 05:48:26 d496ad576159: Download complete 05:48:26 c6b39de5b339: Pull complete 05:48:27 a69c41024577: Pull complete 05:48:27 d6de4b400683: Verifying Checksum 05:48:27 d6de4b400683: Download complete 05:48:28 00f215d4a9da: Verifying Checksum 05:48:28 00f215d4a9da: Download complete 05:48:40 d6de4b400683: Pull complete 05:48:40 35cb2a7552d0: Pull complete 05:48:40 4f4fb700ef54: Pull complete 05:48:40 464afbd9ba4c: Pull complete 05:48:50 00f215d4a9da: Pull complete 05:48:50 d496ad576159: Pull complete 05:48:51 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:48:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:48:51 ---> f246e2811388 05:48:51 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:48:53 ---> Running in a2b60d16c71b 05:48:53 Removing intermediate container a2b60d16c71b 05:48:53 ---> 7c724d0c9b50 05:48:53 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:48:53 ---> Running in 48ac0d6a1bdc 05:48:53 Removing intermediate container 48ac0d6a1bdc 05:48:53 ---> ea4592a28174 05:48:53 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:48:53 ---> Running in 71cdaa2846c1 05:48:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:48:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:48:55 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:48:55 (2/8) Installing libedit (20221030.3.1-r1) 05:48:55 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:48:55 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:48:55 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:48:55 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:48:55 (7/8) Installing openssh-server (9.3_p2-r2) 05:48:56 (8/8) Installing openssh (9.3_p2-r2) 05:48:56 Executing busybox-1.36.1-r5.trigger 05:48:56 OK: 272 MiB in 60 packages 05:48:57 Removing intermediate container 71cdaa2846c1 05:48:57 ---> 3d9f390ce11e 05:48:57 Step 6/10 : WORKDIR /device-modbus-go 05:48:57 ---> Running in 49de49824b96 05:48:57 Removing intermediate container 49de49824b96 05:48:57 ---> 7957009aac21 05:48:57 Step 7/10 : COPY go.mod vendor* ./ 05:48:57 ---> 690556c293ce 05:48:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:48:57 ---> Running in ecfecf23f3e4 05:50:49 Removing intermediate container ecfecf23f3e4 05:50:49 ---> 2b8fd0b62162 05:50:49 Step 9/10 : COPY . . 05:50:49 ---> 1645e0f6e22b 05:50:49 Step 10/10 : RUN ${MAKE} 05:50:49 ---> Running in 4ef11f257bc6 05:50:49 noop 05:50:49 Removing intermediate container 4ef11f257bc6 05:50:49 ---> e404079eea56 05:50:49 Successfully built e404079eea56 05:50:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:49 + docker inspect -f . ci-base-image-arm64 05:50:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:50 prd-ubuntu20.04-docker-arm64-4c-16g-4891 does not seem to be running inside a container 05:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:50:51 $ docker top 3797136bceb0adb842ba09195e34e590c76358744f6587d85566350864a18adf -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:52 + go version 05:50:52 go version go1.21.9 linux/arm64 [Pipeline] } 05:50:52 $ docker stop --time=1 3797136bceb0adb842ba09195e34e590c76358744f6587d85566350864a18adf 05:50:53 $ docker rm -f --volumes 3797136bceb0adb842ba09195e34e590c76358744f6587d85566350864a18adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:54 + docker inspect -f . ci-base-image-arm64 05:50:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:54 prd-ubuntu20.04-docker-arm64-4c-16g-4891 does not seem to be running inside a container 05:50:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:50:55 $ docker top 47f96e6aa24246ddb87772e06cb2d45ab56218ddc7809b7d9ba9be9efcbc928d -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:56 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 05:50:57 + make test 05:50:57 go test ./... -coverprofile=coverage.out 05:51:02 /go/pkg/mod/github.com/go-openapi/strfmt@v0.23.0/bson.go:21:2: go.mongodb.org/mongo-driver@v1.15.0: missing go.sum entry for go.mod file; to add it: 05:51:02 go mod download go.mongodb.org/mongo-driver 05:51:02 /go/pkg/mod/github.com/go-openapi/strfmt@v0.23.0/bson.go:23:2: go.mongodb.org/mongo-driver@v1.15.0: missing go.sum entry for go.mod file; to add it: 05:51:02 go mod download go.mongodb.org/mongo-driver 05:51:02 /go/pkg/mod/github.com/go-openapi/strfmt@v0.23.0/bson.go:24:2: go.mongodb.org/mongo-driver@v1.15.0: missing go.sum entry for go.mod file; to add it: 05:51:02 go mod download go.mongodb.org/mongo-driver 05:51:02 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 05:51:02 $ docker stop --time=1 47f96e6aa24246ddb87772e06cb2d45ab56218ddc7809b7d9ba9be9efcbc928d 05:51:04 $ docker rm -f --volumes 47f96e6aa24246ddb87772e06cb2d45ab56218ddc7809b7d9ba9be9efcbc928d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:05 05:51:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:06 arm64: Pulling from edgex-lftools-log-publisher 05:51:06 8998bd30e6a1: Pulling fs layer 05:51:06 04944245beec: Pulling fs layer 05:51:06 699f458cf7ca: Pulling fs layer 05:51:06 765212b225bb: Pulling fs layer 05:51:06 f23df028b6ca: Pulling fs layer 05:51:06 765212b225bb: Waiting 05:51:06 f23df028b6ca: Waiting 05:51:06 d65c8cfc05b1: Pulling fs layer 05:51:06 2437ff75d9bd: Pulling fs layer 05:51:06 d65c8cfc05b1: Waiting 05:51:06 2437ff75d9bd: Waiting 05:51:06 04944245beec: Verifying Checksum 05:51:06 04944245beec: Download complete 05:51:06 765212b225bb: Verifying Checksum 05:51:06 765212b225bb: Download complete 05:51:06 f23df028b6ca: Download complete 05:51:06 d65c8cfc05b1: Verifying Checksum 05:51:06 d65c8cfc05b1: Download complete 05:51:06 699f458cf7ca: Verifying Checksum 05:51:06 699f458cf7ca: Download complete 05:51:06 8998bd30e6a1: Verifying Checksum 05:51:06 8998bd30e6a1: Download complete 05:51:09 2437ff75d9bd: Verifying Checksum 05:51:09 2437ff75d9bd: Download complete 05:51:11 8998bd30e6a1: Pull complete 05:51:11 04944245beec: Pull complete 05:51:13 699f458cf7ca: Pull complete 05:51:13 765212b225bb: Pull complete 05:51:14 f23df028b6ca: Pull complete 05:51:14 d65c8cfc05b1: Pull complete 05:51:32 2437ff75d9bd: Pull complete 05:51:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:51:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:32 prd-ubuntu20.04-docker-arm64-4c-16g-4891 does not seem to be running inside a container 05:51:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:51:35 $ docker top ab55479abc4dba1fc1c3605b15c6b3be315268f04cdd87a6b190c8bef6262e96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:36 ---> job-cost.sh 05:51:36 lf-activate-venv: SKIPPING 05:51:36 INFO: No Stack... 05:51:36 INFO: Retrieving Pricing Info for: v3-standard-4 05:51:37 INFO: Archiving Costs [Pipeline] sh 05:51:38 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 05:51:38 + cut -d, -f6 [Pipeline] lock 05:51:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] 05:51:38 Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] did not exist. Created. 05:51:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:38 /w/workspace/device-modbus-go/2@tmp/durable-727ca8a9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:51:39 + echo total: 0.10999999940395355 [Pipeline] stash 05:51:39 Warning: overwriting stash ‘stack-cost’ 05:51:39 Stashed 1 file(s) [Pipeline] } 05:51:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:51:39 $ docker stop --time=1 ab55479abc4dba1fc1c3605b15c6b3be315268f04cdd87a6b190c8bef6262e96 05:51:41 $ docker rm -f --volumes ab55479abc4dba1fc1c3605b15c6b3be315268f04cdd87a6b190c8bef6262e96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:51:41 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:51:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-558/archives ] 05:51:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives 05:51:42 total 16 05:51:42 drwxr-xr-x 3 root root 4096 Jul 3 05:45 . 05:51:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 05:45 .. 05:51:42 drwxr-xr-x 2 root root 4096 Jul 3 05:45 cost 05:51:42 -rw-r--r-- 1 root root 88 Jul 3 05:45 cost.csv 05:51:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-558/archives 05:51:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives 05:51:42 total 16 05:51:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 05:45 . 05:51:42 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 05:45 .. 05:51:42 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 05:45 cost 05:51:42 -rw-r--r-- 1 jenkins jenkins 88 Jul 3 05:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:51:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:51:43 ---> package-listing.sh 05:51:43 ++ tr '[:upper:]' '[:lower:]' 05:51:43 ++ facter osfamily 05:51:43 + OS_FAMILY=debian 05:51:43 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-558 05:51:43 + START_PACKAGES=/tmp/packages_start.txt 05:51:43 + END_PACKAGES=/tmp/packages_end.txt 05:51:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:51:43 + PACKAGES=/tmp/packages_start.txt 05:51:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' 05:51:43 + PACKAGES=/tmp/packages_end.txt 05:51:43 + case "${OS_FAMILY}" in 05:51:43 + dpkg -l 05:51:43 + grep '^ii' 05:51:43 + '[' -f /tmp/packages_start.txt ']' 05:51:43 + '[' -f /tmp/packages_end.txt ']' 05:51:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:51:43 + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' 05:51:43 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-558/archives/ 05:51:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-558/archives/ [Pipeline] echo 05:51: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-558/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:51:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:44 prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container 05:51: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-558/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-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@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 05:51:45 $ docker top c20e1543e95e3ea278fd17c763b2ad69cac337c445e085992e98162ea82292ba -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:45 + touch /tmp/pre-build-complete [Pipeline] sh 05:51:45 + mkdir -p /var/log/sysstat [Pipeline] sh 05:51:46 + ls /var/log/sa-host 05:51:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:46 provisioning config files... 05:51:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config5686245412622653330tmp [Pipeline] { [Pipeline] echo 05:51:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:51:46 ---> create-netrc.sh [Pipeline] } 05:51:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:51:46 ---> python-tools-install.sh [Pipeline] echo 05:51:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:51:47 ---> sudo-logs.sh 05:51:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:51:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:51:47 ---> job-cost.sh 05:51:47 lf-activate-venv: SKIPPING 05:51:47 DEBUG: total: 0.2199999988079071 05:51:47 INFO: Retrieving Stack Cost... 05:51:47 INFO: Retrieving Pricing Info for: v3-standard-8 05:51:47 INFO: Archiving Costs [Pipeline] echo 05:51:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:51:48 ---> logs-deploy.sh 05:51:48 lf-activate-venv: SKIPPING 05:51:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-558/2 05:51:48 INFO: archiving workspace using pattern(s): 05:51:49 Archives upload complete. 05:51:49 INFO: archiving logs to Nexus