Pull request #558 opened 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-ssh8778269768123453714.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-ssh5158680204211541756.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13637966086466621909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16633837302949797409.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11081162194746926764.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10477030465610000339.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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-4884’ Running on prd-ubuntu20.04-docker-8c-8g-4886 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 > 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 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 313bd4257294a3611ddab0d25a1668d691212468 Merge succeeded, producing 313bd4257294a3611ddab0d25a1668d691212468 Checking out Revision 313bd4257294a3611ddab0d25a1668d691212468 (PR-558) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-03T05:31:45.265Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-03T05:31:45.480Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-03T05:31:45.651Z] ========================================================= [2024-07-03T05:31:45.651Z] EdgeX Global Pipelines Version Info [2024-07-03T05:31:45.651Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:31:46.431Z] ------------------- [2024-07-03T05:31:46.431Z] stable info: [2024-07-03T05:31:46.431Z] ------------------- [2024-07-03T05:31:46.431Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T05:31:46.431Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T05:31:46.431Z] Message: update stable to v1.0.260 [2024-07-03T05:31:47.002Z] ------------------- [2024-07-03T05:31:47.002Z] experimental info: [2024-07-03T05:31:47.002Z] ------------------- [2024-07-03T05:31:47.002Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T05:31:47.002Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-03T05:31:47.002Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-03T05:31:47.246Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-03T05:31:47.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-03T05:31:47.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-03T05:31:47.423Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-03T05:31:47.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-03T05:31:47.546Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-03T05:31:47.608Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-03T05:31:47.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-03T05:31:47.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-03T05:31:47.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-03T05:31:47.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-03T05:31:47.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-03T05:31:47.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-03T05:31:48.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-03T05:31:48.073Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T05:31:48.134Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T05:31:48.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T05:31:48.254Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T05:31:48.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-03T05:31:48.377Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-03T05:31:48.438Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-03T05:31:48.494Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-03T05:31:48.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-03T05:31:48.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-03T05:31:48.674Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-03T05:31:48.730Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-03T05:31:48.792Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-03T05:31:48.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-558 [Pipeline] echo [2024-07-03T05:31:48.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-558 [Pipeline] echo [2024-07-03T05:31:48.978Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-558 [Pipeline] echo [2024-07-03T05:31:49.039Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:31:49.108Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 313bd42 [Pipeline] echo [2024-07-03T05:31:49.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T05:31:49.313Z] provisioning config files... [2024-07-03T05:31:49.327Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config696093382729456039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:31:49.740Z] ---> ****-login.sh [2024-07-03T05:31:49.740Z] nexus3.edgexfoundry.org:10001 [2024-07-03T05:31:50.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:31:50.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:31:50.263Z] Configure a credential helper to remove this warning. See [2024-07-03T05:31:50.263Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:31:50.263Z] [2024-07-03T05:31:50.263Z] Login Succeeded [2024-07-03T05:31:50.263Z] nexus3.edgexfoundry.org:10002 [2024-07-03T05:31:50.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:31:50.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:31:50.523Z] Configure a credential helper to remove this warning. See [2024-07-03T05:31:50.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:31:50.523Z] [2024-07-03T05:31:50.523Z] Login Succeeded [2024-07-03T05:31:50.523Z] nexus3.edgexfoundry.org:10003 [2024-07-03T05:31:50.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:31:50.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:31:50.523Z] Configure a credential helper to remove this warning. See [2024-07-03T05:31:50.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:31:50.523Z] [2024-07-03T05:31:50.524Z] Login Succeeded [2024-07-03T05:31:50.524Z] nexus3.edgexfoundry.org:10004 [2024-07-03T05:31:50.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:31:50.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:31:50.524Z] Configure a credential helper to remove this warning. See [2024-07-03T05:31:50.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:31:50.524Z] [2024-07-03T05:31:50.524Z] Login Succeeded [2024-07-03T05:31:50.524Z] ****.io [2024-07-03T05:31:50.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:31:50.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:31:50.786Z] Configure a credential helper to remove this warning. See [2024-07-03T05:31:50.786Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:31:50.786Z] [2024-07-03T05:31:50.786Z] Login Succeeded [2024-07-03T05:31:50.786Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T05:31:50.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-03T05:31:51.542Z] + git rev-list -1 --merges 313bd4257294a3611ddab0d25a1668d691212468~1..313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:31:51.590Z] -----------> git rev-list -1 --merges 313bd4257294a3611ddab0d25a1668d691212468~1..313bd4257294a3611ddab0d25a1668d691212468 313bd4257294a3611ddab0d25a1668d691212468 [false] [Pipeline] sh [2024-07-03T05:31:51.915Z] + git log --format=format:%s -1 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:31:51.957Z] ========================================================= [2024-07-03T05:31:51.957Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-03T05:31:51.957Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T05:31:52.413Z] + git log --format=format:%s -1 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:31:52.459Z] [semverPrep] GIT_COMMIT: 313bd4257294a3611ddab0d25a1668d691212468, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-03T05:31:52.505Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-03T05:31:52.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-03T05:31:52.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-03T05:31:52.913Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-03T05:31:52.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-03T05:31:52.913Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-03T05:31:52.913Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-03T05:31:52.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:31:53.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T05:31:53.372Z] [2024-07-03T05:31:53.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:31:53.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T05:31:53.765Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-03T05:31:53.765Z] b85a868b505f: Pulling fs layer [2024-07-03T05:31:53.765Z] e2be974225ed: Pulling fs layer [2024-07-03T05:31:53.765Z] 339a4e72a1f5: Pulling fs layer [2024-07-03T05:31:53.765Z] 988bab9f4d93: Pulling fs layer [2024-07-03T05:31:53.765Z] 1469e6f7b9e6: Pulling fs layer [2024-07-03T05:31:53.765Z] eaf3925da568: Pulling fs layer [2024-07-03T05:31:53.765Z] bab4dde63d76: Pulling fs layer [2024-07-03T05:31:53.765Z] bde34c3a00c8: Pulling fs layer [2024-07-03T05:31:53.765Z] b352a97aabf1: Pulling fs layer [2024-07-03T05:31:53.765Z] 4872d77fe225: Pulling fs layer [2024-07-03T05:31:53.765Z] 5851b861e8e6: Pulling fs layer [2024-07-03T05:31:53.765Z] 988bab9f4d93: Waiting [2024-07-03T05:31:53.765Z] 1469e6f7b9e6: Waiting [2024-07-03T05:31:53.765Z] eaf3925da568: Waiting [2024-07-03T05:31:53.765Z] bab4dde63d76: Waiting [2024-07-03T05:31:53.765Z] bde34c3a00c8: Waiting [2024-07-03T05:31:53.765Z] b352a97aabf1: Waiting [2024-07-03T05:31:53.765Z] 4872d77fe225: Waiting [2024-07-03T05:31:53.765Z] 5851b861e8e6: Waiting [2024-07-03T05:31:53.765Z] e2be974225ed: Verifying Checksum [2024-07-03T05:31:53.765Z] e2be974225ed: Download complete [2024-07-03T05:31:53.765Z] 988bab9f4d93: Verifying Checksum [2024-07-03T05:31:53.765Z] 988bab9f4d93: Download complete [2024-07-03T05:31:54.025Z] 1469e6f7b9e6: Verifying Checksum [2024-07-03T05:31:54.025Z] 1469e6f7b9e6: Download complete [2024-07-03T05:31:54.025Z] eaf3925da568: Verifying Checksum [2024-07-03T05:31:54.025Z] 339a4e72a1f5: Verifying Checksum [2024-07-03T05:31:54.025Z] 339a4e72a1f5: Download complete [2024-07-03T05:31:54.025Z] bde34c3a00c8: Download complete [2024-07-03T05:31:54.025Z] b352a97aabf1: Download complete [2024-07-03T05:31:54.025Z] 4872d77fe225: Verifying Checksum [2024-07-03T05:31:54.025Z] 4872d77fe225: Download complete [2024-07-03T05:31:54.025Z] 5851b861e8e6: Verifying Checksum [2024-07-03T05:31:54.025Z] b85a868b505f: Verifying Checksum [2024-07-03T05:31:54.025Z] b85a868b505f: Download complete [2024-07-03T05:31:54.285Z] bab4dde63d76: Verifying Checksum [2024-07-03T05:31:54.285Z] bab4dde63d76: Download complete [2024-07-03T05:31:55.220Z] b85a868b505f: Pull complete [2024-07-03T05:31:55.481Z] e2be974225ed: Pull complete [2024-07-03T05:31:55.740Z] 339a4e72a1f5: Pull complete [2024-07-03T05:31:55.999Z] 988bab9f4d93: Pull complete [2024-07-03T05:31:56.257Z] 1469e6f7b9e6: Pull complete [2024-07-03T05:31:56.257Z] eaf3925da568: Pull complete [2024-07-03T05:31:58.160Z] bab4dde63d76: Pull complete [2024-07-03T05:31:58.160Z] bde34c3a00c8: Pull complete [2024-07-03T05:31:58.160Z] b352a97aabf1: Pull complete [2024-07-03T05:31:59.101Z] 4872d77fe225: Pull complete [2024-07-03T05:31:59.700Z] 5851b861e8e6: Pull complete [2024-07-03T05:32:00.639Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-03T05:32:00.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T05:32:00.639Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:32:01.027Z] prd-ubuntu20.04-docker-8c-8g-4886 does not seem to be running inside a container [2024-07-03T05:32:01.053Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-03T05:32:10.194Z] $ docker top 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 -eo pid,comm [2024-07-03T05:32:10.258Z] 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). [2024-07-03T05:32:10.258Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-03T05:32:10.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T05:32:10.422Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T05:32:10.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T05:32:10.537Z] $ docker exec 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 ssh-agent [2024-07-03T05:32:10.646Z] SSH_AUTH_SOCK=/tmp/ssh-QkfqHB890O2H/agent.31 [2024-07-03T05:32:10.646Z] SSH_AGENT_PID=37 [2024-07-03T05:32:10.652Z] Running ssh-add (command line suppressed) [2024-07-03T05:32:10.764Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_16362027942518333322.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_16362027942518333322.key) [2024-07-03T05:32:10.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T05:32:11.126Z] + git tag --points-at HEAD [Pipeline] } [2024-07-03T05:32:11.152Z] $ docker exec --env ******** --env ******** 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 ssh-agent -k [2024-07-03T05:32:11.248Z] unset SSH_AUTH_SOCK; [2024-07-03T05:32:11.249Z] unset SSH_AGENT_PID; [2024-07-03T05:32:11.249Z] echo Agent pid 37 killed; [2024-07-03T05:32:11.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-03T05:32:11.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T05:32:11.376Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T05:32:11.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T05:32:11.473Z] $ docker exec 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 ssh-agent [2024-07-03T05:32:11.580Z] SSH_AUTH_SOCK=/tmp/ssh-LRitLXcrFGPC/agent.70 [2024-07-03T05:32:11.580Z] SSH_AGENT_PID=76 [2024-07-03T05:32:11.585Z] Running ssh-add (command line suppressed) [2024-07-03T05:32:11.694Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_13012618758459814277.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_13012618758459814277.key) [2024-07-03T05:32:11.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T05:32:12.085Z] + git semver init [2024-07-03T05:32:12.344Z] 2024-07-03 05:32:12,261 [run_init] DEBUG init version:0.0.0 force:False [2024-07-03T05:32:12.344Z] 2024-07-03 05:32:12,262 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver [2024-07-03T05:32:12.344Z] 2024-07-03 05:32:12,263 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-558/.semver [2024-07-03T05:32:12.344Z] 2024-07-03 05:32:12,263 [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) [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,433 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.git/info/exclude [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,433 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 with force:False [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,433 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,437 [execute] INFO git cat-file --batch-check [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,443 [execute] INFO git cat-file --batch [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T05:32:13.721Z] 2024-07-03 05:32:13,447 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 [2024-07-03T05:32:13.721Z] 0.0.0 [Pipeline] } [2024-07-03T05:32:13.754Z] $ docker exec --env ******** --env ******** 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 ssh-agent -k [2024-07-03T05:32:13.858Z] unset SSH_AUTH_SOCK; [2024-07-03T05:32:13.859Z] unset SSH_AGENT_PID; [2024-07-03T05:32:13.859Z] echo Agent pid 76 killed; [2024-07-03T05:32:13.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-03T05:32:14.326Z] + git semver [Pipeline] } [2024-07-03T05:32:14.607Z] $ docker stop --time=1 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 [2024-07-03T05:32:15.908Z] $ docker rm -f --volumes 8f2047c159f3790531633f84e5d2d185c57d4cd472f2f74928d542767895b5b9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T05:32:16.315Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-03T05:32:16.639Z] Stashed 1 file(s) [Pipeline] echo [2024-07-03T05:32:16.660Z] [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 [2024-07-03T05:32:17.371Z] provisioning config files... [2024-07-03T05:32:17.382Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config4685208583147367874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:32:17.747Z] ---> ****-login.sh [2024-07-03T05:32:17.747Z] nexus3.edgexfoundry.org:10001 [2024-07-03T05:32:17.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:32:17.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:32:17.747Z] Configure a credential helper to remove this warning. See [2024-07-03T05:32:17.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:32:17.747Z] [2024-07-03T05:32:17.747Z] Login Succeeded [2024-07-03T05:32:17.747Z] nexus3.edgexfoundry.org:10002 [2024-07-03T05:32:17.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:32:17.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:32:17.747Z] Configure a credential helper to remove this warning. See [2024-07-03T05:32:17.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:32:17.747Z] [2024-07-03T05:32:17.747Z] Login Succeeded [2024-07-03T05:32:17.747Z] nexus3.edgexfoundry.org:10003 [2024-07-03T05:32:18.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:32:18.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:32:18.008Z] Configure a credential helper to remove this warning. See [2024-07-03T05:32:18.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:32:18.008Z] [2024-07-03T05:32:18.008Z] Login Succeeded [2024-07-03T05:32:18.008Z] nexus3.edgexfoundry.org:10004 [2024-07-03T05:32:18.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:32:18.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:32:18.008Z] Configure a credential helper to remove this warning. See [2024-07-03T05:32:18.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:32:18.008Z] [2024-07-03T05:32:18.008Z] Login Succeeded [2024-07-03T05:32:18.008Z] ****.io [2024-07-03T05:32:18.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:32:18.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:32:18.268Z] Configure a credential helper to remove this warning. See [2024-07-03T05:32:18.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:32:18.268Z] [2024-07-03T05:32:18.268Z] Login Succeeded [2024-07-03T05:32:18.268Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T05:32:18.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T05:32:18.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:32:18.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:32:18.739Z] ========================================================= [2024-07-03T05:32:18.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-03T05:32:18.739Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:32:19.257Z] + 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 . [2024-07-03T05:32:19.257Z] Sending build context to Docker daemon 17.84MB [2024-07-03T05:32:19.257Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T05:32:19.257Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-03T05:32:19.515Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-03T05:32:19.515Z] 619be1103602: Pulling fs layer [2024-07-03T05:32:19.515Z] 7862e08f4a3e: Pulling fs layer [2024-07-03T05:32:19.515Z] 5df492c9dc93: Pulling fs layer [2024-07-03T05:32:19.515Z] 7629e6793208: Pulling fs layer [2024-07-03T05:32:19.515Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T05:32:19.515Z] fb5054dd5b73: Pulling fs layer [2024-07-03T05:32:19.515Z] eeca6798cff9: Pulling fs layer [2024-07-03T05:32:19.515Z] aa269ceb94a6: Pulling fs layer [2024-07-03T05:32:19.515Z] ada007ff1a6a: Pulling fs layer [2024-07-03T05:32:19.515Z] fb5054dd5b73: Waiting [2024-07-03T05:32:19.515Z] eeca6798cff9: Waiting [2024-07-03T05:32:19.515Z] aa269ceb94a6: Waiting [2024-07-03T05:32:19.515Z] ada007ff1a6a: Waiting [2024-07-03T05:32:19.515Z] 7629e6793208: Waiting [2024-07-03T05:32:19.515Z] 7862e08f4a3e: Verifying Checksum [2024-07-03T05:32:19.515Z] 7862e08f4a3e: Download complete [2024-07-03T05:32:19.515Z] 7629e6793208: Verifying Checksum [2024-07-03T05:32:19.515Z] 7629e6793208: Download complete [2024-07-03T05:32:19.515Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T05:32:19.515Z] 4f4fb700ef54: Download complete [2024-07-03T05:32:19.515Z] 619be1103602: Download complete [2024-07-03T05:32:19.515Z] fb5054dd5b73: Verifying Checksum [2024-07-03T05:32:19.515Z] fb5054dd5b73: Download complete [2024-07-03T05:32:19.515Z] eeca6798cff9: Verifying Checksum [2024-07-03T05:32:19.515Z] eeca6798cff9: Download complete [2024-07-03T05:32:19.775Z] 619be1103602: Pull complete [2024-07-03T05:32:19.775Z] ada007ff1a6a: Verifying Checksum [2024-07-03T05:32:19.775Z] ada007ff1a6a: Download complete [2024-07-03T05:32:20.032Z] 7862e08f4a3e: Pull complete [2024-07-03T05:32:20.032Z] 5df492c9dc93: Download complete [2024-07-03T05:32:20.290Z] aa269ceb94a6: Verifying Checksum [2024-07-03T05:32:20.290Z] aa269ceb94a6: Download complete [2024-07-03T05:32:23.591Z] 5df492c9dc93: Pull complete [2024-07-03T05:32:23.854Z] 7629e6793208: Pull complete [2024-07-03T05:32:23.854Z] 4f4fb700ef54: Pull complete [2024-07-03T05:32:23.854Z] fb5054dd5b73: Pull complete [2024-07-03T05:32:24.112Z] eeca6798cff9: Pull complete [2024-07-03T05:32:26.642Z] aa269ceb94a6: Pull complete [2024-07-03T05:32:26.901Z] ada007ff1a6a: Pull complete [2024-07-03T05:32:26.901Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-03T05:32:26.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-03T05:32:26.901Z] ---> f489d0715acc [2024-07-03T05:32:26.901Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-03T05:32:32.157Z] Still waiting to schedule task [2024-07-03T05:32:32.158Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-03T05:32:35.021Z] ---> Running in 4327601a7e5e [2024-07-03T05:32:35.021Z] Removing intermediate container 4327601a7e5e [2024-07-03T05:32:35.021Z] ---> 5a3ded6d889c [2024-07-03T05:32:35.021Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T05:32:35.021Z] ---> Running in 8701aa943245 [2024-07-03T05:32:35.021Z] Removing intermediate container 8701aa943245 [2024-07-03T05:32:35.021Z] ---> b7d364e88891 [2024-07-03T05:32:35.021Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-03T05:32:35.021Z] ---> Running in 4c3cdd9f68b5 [2024-07-03T05:32:35.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T05:32:35.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T05:32:35.540Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T05:32:35.540Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-03T05:32:35.540Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T05:32:35.540Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T05:32:35.540Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-03T05:32:35.540Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-03T05:32:35.540Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-03T05:32:35.540Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-03T05:32:35.540Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T05:32:35.540Z] OK: 270 MiB in 60 packages [2024-07-03T05:32:36.547Z] Removing intermediate container 4c3cdd9f68b5 [2024-07-03T05:32:36.547Z] ---> 9ece6ee32902 [2024-07-03T05:32:36.547Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-03T05:32:36.547Z] ---> Running in 6def745d95aa [2024-07-03T05:32:36.547Z] Removing intermediate container 6def745d95aa [2024-07-03T05:32:36.547Z] ---> 39c7c0ce80ea [2024-07-03T05:32:36.547Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-03T05:32:36.805Z] ---> d05c3d9ffc61 [2024-07-03T05:32:36.805Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T05:32:36.805Z] ---> Running in d12a65576f17 [2024-07-03T05:33:59.144Z] Removing intermediate container d12a65576f17 [2024-07-03T05:33:59.144Z] ---> 0d0f7c9b0737 [2024-07-03T05:33:59.144Z] Step 9/10 : COPY . . [2024-07-03T05:34:00.519Z] ---> bbd33cb5926b [2024-07-03T05:34:00.519Z] Step 10/10 : RUN ${MAKE} [2024-07-03T05:34:00.778Z] ---> Running in 3a28acdf6a8f [2024-07-03T05:34:01.038Z] noop [2024-07-03T05:34:01.297Z] Removing intermediate container 3a28acdf6a8f [2024-07-03T05:34:01.297Z] ---> 239051a494ec [2024-07-03T05:34:01.297Z] Successfully built 239051a494ec [2024-07-03T05:34:01.297Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:34:01.753Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T05:34:01.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:34:01.932Z] prd-ubuntu20.04-docker-8c-8g-4886 does not seem to be running inside a container [2024-07-03T05:34:01.961Z] $ 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 ******** ci-base-image-x86_64 cat [2024-07-03T05:34:02.706Z] $ docker top 69eb153e6ebb609154d0f7aeee702ccfa550c2d44f6475b781ac64426cfca357 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:34:03.118Z] + go version [2024-07-03T05:34:03.118Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-03T05:34:03.152Z] $ docker stop --time=1 69eb153e6ebb609154d0f7aeee702ccfa550c2d44f6475b781ac64426cfca357 [2024-07-03T05:34:04.950Z] $ docker rm -f --volumes 69eb153e6ebb609154d0f7aeee702ccfa550c2d44f6475b781ac64426cfca357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:34:05.897Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T05:34:05.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:34:06.063Z] prd-ubuntu20.04-docker-8c-8g-4886 does not seem to be running inside a container [2024-07-03T05:34:06.085Z] $ 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 ******** ci-base-image-x86_64 cat [2024-07-03T05:34:06.292Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4888 in /w/workspace/xfoundry_device-modbus-go_PR-558 [2024-07-03T05:34:06.976Z] $ docker top 0677384b04eb8b1c9e7ac734f6d9f398e288b28784a5bf8011744dbefe380a7a -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-07-03T05:34:07.218Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-03T05:34:07.430Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-558 [2024-07-03T05:34:10.321Z] The recommended git tool is: git [Pipeline] fileExists [Pipeline] sh [2024-07-03T05:34:10.701Z] + make test [2024-07-03T05:34:10.701Z] go test ./... -coverprofile=coverage.out [2024-07-03T05:34:12.607Z] /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: [2024-07-03T05:34:12.607Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:34:12.607Z] /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: [2024-07-03T05:34:12.607Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:34:12.607Z] /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: [2024-07-03T05:34:12.607Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:34:12.607Z] make: *** [Makefile:33: unittest] Error 1 [Pipeline] } [2024-07-03T05:34:12.732Z] $ docker stop --time=1 0677384b04eb8b1c9e7ac734f6d9f398e288b28784a5bf8011744dbefe380a7a [2024-07-03T05:34:14.798Z] using credential edgex-jenkins-ssh [2024-07-03T05:34:14.835Z] Cloning the remote Git repository [2024-07-03T05:34:15.204Z] $ docker rm -f --volumes 0677384b04eb8b1c9e7ac734f6d9f398e288b28784a5bf8011744dbefe380a7a [2024-07-03T05:34:14.877Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T05:34:14.976Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-03T05:34:15.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T05:34:15.120Z] > git --version # timeout=10 [2024-07-03T05:34:15.141Z] > git --version # 'git version 2.25.1' [2024-07-03T05:34:15.143Z] using GIT_SSH to set credentials SSH Credentials for GitHub [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 [2024-07-03T05:34:15.285Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T05:34:16.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:34:16.735Z] [2024-07-03T05:34:16.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:34:17.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:34:17.130Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-03T05:34:17.130Z] 5eb5b503b376: Pulling fs layer [2024-07-03T05:34:17.130Z] 5c69ac0246d0: Pulling fs layer [2024-07-03T05:34:17.130Z] ec43610c2a17: Pulling fs layer [2024-07-03T05:34:17.130Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-03T05:34:17.130Z] 33b1e0a273af: Pulling fs layer [2024-07-03T05:34:17.130Z] 5d3b04190fa2: Pulling fs layer [2024-07-03T05:34:17.130Z] 2f39f015ded8: Pulling fs layer [2024-07-03T05:34:17.130Z] 3a2ae6a8a46f: Waiting [2024-07-03T05:34:17.130Z] 33b1e0a273af: Waiting [2024-07-03T05:34:17.130Z] 5d3b04190fa2: Waiting [2024-07-03T05:34:17.130Z] 2f39f015ded8: Waiting [2024-07-03T05:34:17.130Z] 5c69ac0246d0: Verifying Checksum [2024-07-03T05:34:17.130Z] 5c69ac0246d0: Download complete [2024-07-03T05:34:17.390Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-03T05:34:17.390Z] 3a2ae6a8a46f: Download complete [2024-07-03T05:34:17.390Z] 33b1e0a273af: Verifying Checksum [2024-07-03T05:34:17.390Z] 33b1e0a273af: Download complete [2024-07-03T05:34:17.390Z] 5d3b04190fa2: Verifying Checksum [2024-07-03T05:34:17.390Z] 5d3b04190fa2: Download complete [2024-07-03T05:34:17.390Z] ec43610c2a17: Download complete [2024-07-03T05:34:17.647Z] 5eb5b503b376: Verifying Checksum [2024-07-03T05:34:17.647Z] 5eb5b503b376: Download complete [2024-07-03T05:34:17.164Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-03T05:34:17.186Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T05:34:18.213Z] 2f39f015ded8: Download complete [2024-07-03T05:34:18.569Z] Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 313bd4257294a3611ddab0d25a1668d691212468 [2024-07-03T05:34:18.781Z] 5eb5b503b376: Pull complete [2024-07-03T05:34:18.817Z] Merge succeeded, producing 313bd4257294a3611ddab0d25a1668d691212468 [2024-07-03T05:34:18.818Z] Checking out Revision 313bd4257294a3611ddab0d25a1668d691212468 (PR-558) [2024-07-03T05:34:19.040Z] 5c69ac0246d0: Pull complete [2024-07-03T05:34:18.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-03T05:34:18.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T05:34:18.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T05:34:18.093Z] > 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 [2024-07-03T05:34:18.584Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T05:34:18.646Z] > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [2024-07-03T05:34:18.724Z] > git remote # timeout=10 [2024-07-03T05:34:18.740Z] > git config --get remote.origin.url # timeout=10 [2024-07-03T05:34:18.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T05:34:18.775Z] > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 [2024-07-03T05:34:18.798Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-03T05:34:18.821Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T05:34:18.843Z] > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [2024-07-03T05:34:19.363Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-03T05:34:19.407Z] > git --version # timeout=10 [2024-07-03T05:34:19.417Z] > git --version # 'git version 2.25.1' [2024-07-03T05:34:19.441Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T05:34:19.607Z] ec43610c2a17: Pull complete [2024-07-03T05:34:19.607Z] 3a2ae6a8a46f: Pull complete [2024-07-03T05:34:20.184Z] 33b1e0a273af: Pull complete [2024-07-03T05:34:20.451Z] 5d3b04190fa2: Pull complete [2024-07-03T05:34:23.455Z] [2024-07-03T05:34:23.455Z] GitHub has been notified of this commit’s build result [2024-07-03T05:34:23.455Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T05:34:24.331Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-03T05:34:24.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T05:34:24.331Z] Dload Upload Total Spent Left Speed [2024-07-03T05:34:24.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh [2024-07-03T05:34:24.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-03T05:34:25.033Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-03T05:34:25.033Z] + sudo tee /etc/docker/daemon.new [2024-07-03T05:34:25.033Z] { [2024-07-03T05:34:25.033Z] "registry-mirrors": [ [2024-07-03T05:34:25.033Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-03T05:34:25.033Z] ], [2024-07-03T05:34:25.033Z] "bip": "10.250.0.254/24", [2024-07-03T05:34:25.033Z] "hosts": [ [2024-07-03T05:34:25.033Z] "tcp://0.0.0.0:5555", [2024-07-03T05:34:25.033Z] "unix:///var/run/docker.sock" [2024-07-03T05:34:25.033Z] ], [2024-07-03T05:34:25.033Z] "mtu": 1458, [2024-07-03T05:34:25.033Z] "selinux-enabled": true, [2024-07-03T05:34:25.033Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-03T05:34:25.033Z] } [Pipeline] sh [2024-07-03T05:34:25.389Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-03T05:34:25.737Z] 2f39f015ded8: Pull complete [2024-07-03T05:34:25.737Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-03T05:34:25.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:34:25.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:34:25.744Z] + sudo service docker restart [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:34:26.032Z] prd-ubuntu20.04-docker-8c-8g-4886 does not seem to be running inside a container [2024-07-03T05:34:26.062Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T05:34:37.488Z] $ docker top 3cd66cb529e207df8af1cc770961d56036700697a96b1c98fbe4776fc3ed0f9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:34:37.961Z] ---> job-cost.sh [2024-07-03T05:34:37.961Z] lf-activate-venv: SKIPPING [2024-07-03T05:34:37.961Z] INFO: No Stack... [2024-07-03T05:34:38.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T05:34:38.482Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T05:34:38.800Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-558/archives/cost.csv [2024-07-03T05:34:38.800Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T05:34:38.846Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] [2024-07-03T05:34:38.854Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] did not exist. Created. [2024-07-03T05:34:38.861Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T05:34:39.270Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-03T05:34:39.360Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T05:34:39.380Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T05:34:39.470Z] $ docker stop --time=1 3cd66cb529e207df8af1cc770961d56036700697a96b1c98fbe4776fc3ed0f9b [2024-07-03T05:34:41.109Z] $ docker rm -f --volumes 3cd66cb529e207df8af1cc770961d56036700697a96b1c98fbe4776fc3ed0f9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T05:34:41.622Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T05:34:44.107Z] provisioning config files... [2024-07-03T05:34:44.136Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2087373284671378325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:34:44.650Z] ---> ****-login.sh [2024-07-03T05:34:44.650Z] nexus3.edgexfoundry.org:10001 [2024-07-03T05:34:44.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:34:45.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:34:45.190Z] Configure a credential helper to remove this warning. See [2024-07-03T05:34:45.190Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:34:45.190Z] [2024-07-03T05:34:45.190Z] Login Succeeded [2024-07-03T05:34:45.190Z] nexus3.edgexfoundry.org:10002 [2024-07-03T05:34:45.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:34:45.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:34:45.727Z] Configure a credential helper to remove this warning. See [2024-07-03T05:34:45.727Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:34:45.727Z] [2024-07-03T05:34:45.727Z] Login Succeeded [2024-07-03T05:34:45.727Z] nexus3.edgexfoundry.org:10003 [2024-07-03T05:34:45.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:34:46.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:34:46.001Z] Configure a credential helper to remove this warning. See [2024-07-03T05:34:46.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:34:46.001Z] [2024-07-03T05:34:46.001Z] Login Succeeded [2024-07-03T05:34:46.001Z] nexus3.edgexfoundry.org:10004 [2024-07-03T05:34:46.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:34:46.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:34:46.270Z] Configure a credential helper to remove this warning. See [2024-07-03T05:34:46.270Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:34:46.270Z] [2024-07-03T05:34:46.270Z] Login Succeeded [2024-07-03T05:34:46.270Z] ****.io [2024-07-03T05:34:46.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:34:46.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:34:46.817Z] Configure a credential helper to remove this warning. See [2024-07-03T05:34:46.817Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:34:46.817Z] [2024-07-03T05:34:46.817Z] Login Succeeded [2024-07-03T05:34:46.817Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T05:34:46.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T05:34:47.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:34:47.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:34:47.411Z] ========================================================= [2024-07-03T05:34:47.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-03T05:34:47.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:34:47.952Z] + 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 . [2024-07-03T05:34:48.230Z] Sending build context to Docker daemon 9.059MB [2024-07-03T05:34:48.507Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T05:34:48.507Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-03T05:34:48.507Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-03T05:34:48.507Z] c6b39de5b339: Pulling fs layer [2024-07-03T05:34:48.507Z] a69c41024577: Pulling fs layer [2024-07-03T05:34:48.507Z] d6de4b400683: Pulling fs layer [2024-07-03T05:34:48.507Z] 35cb2a7552d0: Pulling fs layer [2024-07-03T05:34:48.507Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T05:34:48.507Z] 464afbd9ba4c: Pulling fs layer [2024-07-03T05:34:48.507Z] 00f215d4a9da: Pulling fs layer [2024-07-03T05:34:48.507Z] d496ad576159: Pulling fs layer [2024-07-03T05:34:48.507Z] 35cb2a7552d0: Waiting [2024-07-03T05:34:48.507Z] 4f4fb700ef54: Waiting [2024-07-03T05:34:48.507Z] 464afbd9ba4c: Waiting [2024-07-03T05:34:48.507Z] 00f215d4a9da: Waiting [2024-07-03T05:34:48.507Z] d496ad576159: Waiting [2024-07-03T05:34:48.507Z] a69c41024577: Verifying Checksum [2024-07-03T05:34:48.507Z] a69c41024577: Download complete [2024-07-03T05:34:48.782Z] 35cb2a7552d0: Verifying Checksum [2024-07-03T05:34:48.782Z] 35cb2a7552d0: Download complete [2024-07-03T05:34:48.782Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T05:34:48.782Z] 4f4fb700ef54: Download complete [2024-07-03T05:34:48.782Z] 464afbd9ba4c: Verifying Checksum [2024-07-03T05:34:48.782Z] 464afbd9ba4c: Download complete [2024-07-03T05:34:48.782Z] c6b39de5b339: Download complete [2024-07-03T05:34:49.371Z] d496ad576159: Verifying Checksum [2024-07-03T05:34:49.371Z] d496ad576159: Download complete [2024-07-03T05:34:49.959Z] c6b39de5b339: Pull complete [2024-07-03T05:34:50.227Z] a69c41024577: Pull complete [2024-07-03T05:34:50.809Z] d6de4b400683: Verifying Checksum [2024-07-03T05:34:50.809Z] d6de4b400683: Download complete [2024-07-03T05:34:51.769Z] 00f215d4a9da: Verifying Checksum [2024-07-03T05:34:51.769Z] 00f215d4a9da: Download complete [2024-07-03T05:35:04.090Z] d6de4b400683: Pull complete [2024-07-03T05:35:04.090Z] 35cb2a7552d0: Pull complete [2024-07-03T05:35:04.090Z] 4f4fb700ef54: Pull complete [2024-07-03T05:35:04.090Z] 464afbd9ba4c: Pull complete [2024-07-03T05:35:14.175Z] 00f215d4a9da: Pull complete [2024-07-03T05:35:14.761Z] d496ad576159: Pull complete [2024-07-03T05:35:14.761Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-03T05:35:14.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-03T05:35:14.761Z] ---> f246e2811388 [2024-07-03T05:35:14.761Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-03T05:35:15.716Z] ---> Running in ef9b39a86981 [2024-07-03T05:35:15.716Z] Removing intermediate container ef9b39a86981 [2024-07-03T05:35:15.716Z] ---> 703dbbf00e71 [2024-07-03T05:35:15.716Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T05:35:15.996Z] ---> Running in 826cb0df8071 [2024-07-03T05:35:16.261Z] Removing intermediate container 826cb0df8071 [2024-07-03T05:35:16.261Z] ---> 72664974a96b [2024-07-03T05:35:16.261Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-03T05:35:16.261Z] ---> Running in 120e07955b4e [2024-07-03T05:35:17.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T05:35:17.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T05:35:18.889Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T05:35:18.889Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-03T05:35:18.889Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T05:35:18.889Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T05:35:18.889Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-03T05:35:18.889Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-03T05:35:18.889Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-03T05:35:18.889Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-03T05:35:18.889Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T05:35:18.889Z] OK: 272 MiB in 60 packages [2024-07-03T05:35:20.299Z] Removing intermediate container 120e07955b4e [2024-07-03T05:35:20.299Z] ---> 22195a101e23 [2024-07-03T05:35:20.299Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-03T05:35:20.299Z] ---> Running in 0574e3868570 [2024-07-03T05:35:20.299Z] Removing intermediate container 0574e3868570 [2024-07-03T05:35:20.299Z] ---> 8382d83872bd [2024-07-03T05:35:20.299Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-03T05:35:20.883Z] ---> fa8c68a021b6 [2024-07-03T05:35:20.883Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T05:35:20.883Z] ---> Running in c5967a9775c1 [2024-07-03T05:37:12.560Z] Removing intermediate container c5967a9775c1 [2024-07-03T05:37:12.560Z] ---> 72cddc792fcc [2024-07-03T05:37:12.560Z] Step 9/10 : COPY . . [2024-07-03T05:37:12.560Z] ---> 9fe44543b59c [2024-07-03T05:37:12.560Z] Step 10/10 : RUN ${MAKE} [2024-07-03T05:37:12.560Z] ---> Running in 3f6348ac8424 [2024-07-03T05:37:12.560Z] noop [2024-07-03T05:37:12.560Z] Removing intermediate container 3f6348ac8424 [2024-07-03T05:37:12.560Z] ---> 76cb5668ec6d [2024-07-03T05:37:12.560Z] Successfully built 76cb5668ec6d [2024-07-03T05:37:12.560Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:37:13.081Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T05:37:13.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:37:13.403Z] prd-ubuntu20.04-docker-arm64-4c-16g-4888 does not seem to be running inside a container [2024-07-03T05:37:13.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T05:37:15.189Z] $ docker top f683c489db0ebe1a00b525691c6075fa64a819b39937fb220ab9e83bd1a2dac3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:37:16.108Z] + go version [2024-07-03T05:37:16.108Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-03T05:37:16.142Z] $ docker stop --time=1 f683c489db0ebe1a00b525691c6075fa64a819b39937fb220ab9e83bd1a2dac3 [2024-07-03T05:37:17.785Z] $ docker rm -f --volumes f683c489db0ebe1a00b525691c6075fa64a819b39937fb220ab9e83bd1a2dac3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:37:18.744Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T05:37:18.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:37:19.017Z] prd-ubuntu20.04-docker-arm64-4c-16g-4888 does not seem to be running inside a container [2024-07-03T05:37:19.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T05:37:20.300Z] $ docker top 6e1f01ed0d0eb877053cd12bad47fbef4db4b18b833e155697f03f3d5f7d36ff -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:37:21.194Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-03T05:37:21.917Z] + make test [2024-07-03T05:37:21.917Z] go test ./... -coverprofile=coverage.out [2024-07-03T05:37:27.264Z] /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: [2024-07-03T05:37:27.264Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:37:27.264Z] /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: [2024-07-03T05:37:27.264Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:37:27.264Z] /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: [2024-07-03T05:37:27.264Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:37:27.264Z] make: *** [Makefile:33: unittest] Error 1 [Pipeline] } [2024-07-03T05:37:27.316Z] $ docker stop --time=1 6e1f01ed0d0eb877053cd12bad47fbef4db4b18b833e155697f03f3d5f7d36ff [2024-07-03T05:37:29.272Z] $ docker rm -f --volumes 6e1f01ed0d0eb877053cd12bad47fbef4db4b18b833e155697f03f3d5f7d36ff [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 [2024-07-03T05:37:30.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T05:37:30.795Z] [2024-07-03T05:37:30.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:37:31.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T05:37:31.217Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-03T05:37:31.217Z] 8998bd30e6a1: Pulling fs layer [2024-07-03T05:37:31.217Z] 04944245beec: Pulling fs layer [2024-07-03T05:37:31.217Z] 699f458cf7ca: Pulling fs layer [2024-07-03T05:37:31.217Z] 765212b225bb: Pulling fs layer [2024-07-03T05:37:31.217Z] f23df028b6ca: Pulling fs layer [2024-07-03T05:37:31.217Z] d65c8cfc05b1: Pulling fs layer [2024-07-03T05:37:31.217Z] 2437ff75d9bd: Pulling fs layer [2024-07-03T05:37:31.217Z] f23df028b6ca: Waiting [2024-07-03T05:37:31.217Z] d65c8cfc05b1: Waiting [2024-07-03T05:37:31.217Z] 765212b225bb: Waiting [2024-07-03T05:37:31.217Z] 2437ff75d9bd: Waiting [2024-07-03T05:37:31.487Z] 04944245beec: Verifying Checksum [2024-07-03T05:37:31.487Z] 04944245beec: Download complete [2024-07-03T05:37:31.487Z] 765212b225bb: Verifying Checksum [2024-07-03T05:37:31.487Z] 765212b225bb: Download complete [2024-07-03T05:37:31.487Z] f23df028b6ca: Verifying Checksum [2024-07-03T05:37:31.487Z] f23df028b6ca: Download complete [2024-07-03T05:37:31.487Z] d65c8cfc05b1: Download complete [2024-07-03T05:37:31.755Z] 699f458cf7ca: Verifying Checksum [2024-07-03T05:37:31.755Z] 699f458cf7ca: Download complete [2024-07-03T05:37:32.340Z] 8998bd30e6a1: Verifying Checksum [2024-07-03T05:37:32.340Z] 8998bd30e6a1: Download complete [2024-07-03T05:37:34.927Z] 2437ff75d9bd: Verifying Checksum [2024-07-03T05:37:34.927Z] 2437ff75d9bd: Download complete [2024-07-03T05:37:36.870Z] 8998bd30e6a1: Pull complete [2024-07-03T05:37:37.137Z] 04944245beec: Pull complete [2024-07-03T05:37:39.081Z] 699f458cf7ca: Pull complete [2024-07-03T05:37:39.081Z] 765212b225bb: Pull complete [2024-07-03T05:37:40.045Z] f23df028b6ca: Pull complete [2024-07-03T05:37:40.045Z] d65c8cfc05b1: Pull complete [2024-07-03T05:37:58.669Z] 2437ff75d9bd: Pull complete [2024-07-03T05:37:58.669Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-03T05:37:58.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T05:37:58.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:37:59.054Z] prd-ubuntu20.04-docker-arm64-4c-16g-4888 does not seem to be running inside a container [2024-07-03T05:37:59.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-03T05:38:01.734Z] $ docker top 310fe01bee8e314ee4e7f719ec7aea57a503a0d68f9cac73471639d6ff97d056 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:02.654Z] ---> job-cost.sh [2024-07-03T05:38:02.654Z] lf-activate-venv: SKIPPING [2024-07-03T05:38:02.654Z] INFO: No Stack... [2024-07-03T05:38:02.919Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-03T05:38:03.881Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T05:38:04.552Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-07-03T05:38:04.552Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T05:38:04.636Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] [2024-07-03T05:38:04.642Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] did not exist. Created. [2024-07-03T05:38:04.650Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T05:38:05.391Z] /w/workspace/device-modbus-go/1@tmp/durable-d2026754/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-03T05:38:06.057Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-03T05:38:06.107Z] Warning: overwriting stash ‘stack-cost’ [2024-07-03T05:38:06.512Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T05:38:06.535Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T05:38:06.637Z] $ docker stop --time=1 310fe01bee8e314ee4e7f719ec7aea57a503a0d68f9cac73471639d6ff97d056 [2024-07-03T05:38:08.146Z] $ docker rm -f --volumes 310fe01bee8e314ee4e7f719ec7aea57a503a0d68f9cac73471639d6ff97d056 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T05:38:09.017Z] 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 [2024-07-03T05:38:11.682Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-558/archives ] [2024-07-03T05:38:11.682Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives [2024-07-03T05:38:11.682Z] total 16 [2024-07-03T05:38:11.682Z] drwxr-xr-x 3 root root 4096 Jul 3 05:34 . [2024-07-03T05:38:11.682Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 05:34 .. [2024-07-03T05:38:11.682Z] drwxr-xr-x 2 root root 4096 Jul 3 05:34 cost [2024-07-03T05:38:11.682Z] -rw-r--r-- 1 root root 88 Jul 3 05:34 cost.csv [2024-07-03T05:38:11.682Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-558/archives [2024-07-03T05:38:11.682Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives [2024-07-03T05:38:11.682Z] total 16 [2024-07-03T05:38:11.682Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 05:34 . [2024-07-03T05:38:11.682Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 05:34 .. [2024-07-03T05:38:11.682Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 05:34 cost [2024-07-03T05:38:11.682Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 3 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:12.020Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:12.933Z] ---> package-listing.sh [2024-07-03T05:38:12.933Z] ++ facter osfamily [2024-07-03T05:38:12.933Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-03T05:38:13.193Z] + OS_FAMILY=debian [2024-07-03T05:38:13.193Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-558 [2024-07-03T05:38:13.193Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-03T05:38:13.193Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-03T05:38:13.193Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-03T05:38:13.193Z] + PACKAGES=/tmp/packages_start.txt [2024-07-03T05:38:13.193Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' [2024-07-03T05:38:13.193Z] + PACKAGES=/tmp/packages_end.txt [2024-07-03T05:38:13.193Z] + case "${OS_FAMILY}" in [2024-07-03T05:38:13.193Z] + grep '^ii' [2024-07-03T05:38:13.193Z] + dpkg -l [2024-07-03T05:38:13.193Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-03T05:38:13.193Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-03T05:38:13.193Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-03T05:38:13.193Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' [2024-07-03T05:38:13.193Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-558/archives/ [2024-07-03T05:38:13.193Z] + 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 [2024-07-03T05:38:13.238Z] 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 [2024-07-03T05:38:13.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:38:14.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:38:14.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:38:14.410Z] prd-ubuntu20.04-docker-8c-8g-4886 does not seem to be running inside a container [2024-07-03T05:38:14.442Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T05:38:14.657Z] $ docker top 8f9c4abe74f3db1f197f2f3bd8e174157ccb169a62d10a7765585df6d8179027 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:38:15.072Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-03T05:38:15.391Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-03T05:38:15.718Z] + ls /var/log/sa-host [2024-07-03T05:38:15.718Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T05:38:15.893Z] provisioning config files... [2024-07-03T05:38:15.904Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config14890766511180632985tmp [Pipeline] { [Pipeline] echo [2024-07-03T05:38:15.983Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:16.310Z] ---> create-netrc.sh [Pipeline] } [2024-07-03T05:38:16.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:16.843Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-03T05:38:16.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:17.205Z] ---> sudo-logs.sh [2024-07-03T05:38:17.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-03T05:38:17.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:17.635Z] ---> job-cost.sh [2024-07-03T05:38:17.635Z] lf-activate-venv: SKIPPING [2024-07-03T05:38:17.635Z] DEBUG: total: 0.2199999988079071 [2024-07-03T05:38:17.635Z] INFO: Retrieving Stack Cost... [2024-07-03T05:38:17.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T05:38:18.463Z] INFO: Archiving Costs [Pipeline] echo [2024-07-03T05:38:18.504Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:38:18.842Z] ---> logs-deploy.sh [2024-07-03T05:38:18.842Z] lf-activate-venv: SKIPPING [2024-07-03T05:38:18.842Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-558/1 [2024-07-03T05:38:18.842Z] INFO: archiving workspace using pattern(s): [2024-07-03T05:38:19.778Z] Archives upload complete. [2024-07-03T05:38:19.778Z] INFO: archiving logs to Nexus