cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 313bd4257294a3611ddab0d25a1668d691212468+016774ad856346449abec6a76f039c0b34c03e63 (0cef2481a11790ef6cf3b5a90448a0e6794139e6) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13169470209476836289.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12616808788194415731.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3641385847918364773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8950235777542776138.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16268563060702054188.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4890 in /w/workspace/xfoundry_device-modbus-go_PR-558 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-558 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 313bd4257294a3611ddab0d25a1668d691212468 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 Merge succeeded, producing 313bd4257294a3611ddab0d25a1668d691212468 Checking out Revision 313bd4257294a3611ddab0d25a1668d691212468 (PR-558) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 > git rev-list --no-walk 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-03T05:43:27.490Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-03T05:43:27.556Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-03T05:43:27.580Z] ========================================================= [2024-07-03T05:43:27.580Z] EdgeX Global Pipelines Version Info [2024-07-03T05:43:27.580Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:43:28.290Z] ------------------- [2024-07-03T05:43:28.291Z] stable info: [2024-07-03T05:43:28.291Z] ------------------- [2024-07-03T05:43:28.291Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T05:43:28.291Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T05:43:28.291Z] Message: update stable to v1.0.260 [2024-07-03T05:43:28.859Z] ------------------- [2024-07-03T05:43:28.859Z] experimental info: [2024-07-03T05:43:28.859Z] ------------------- [2024-07-03T05:43:28.859Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T05:43:28.859Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-03T05:43:28.859Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-03T05:43:28.933Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-03T05:43:28.954Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-03T05:43:28.974Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-03T05:43:28.996Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-03T05:43:29.017Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-03T05:43:29.039Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-03T05:43:29.059Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-03T05:43:29.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-03T05:43:29.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-03T05:43:29.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-03T05:43:29.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-03T05:43:29.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-03T05:43:29.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-03T05:43:29.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-03T05:43:29.257Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T05:43:29.283Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T05:43:29.303Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T05:43:29.326Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T05:43:29.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-03T05:43:29.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-03T05:43:29.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-03T05:43:29.407Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-03T05:43:29.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-03T05:43:29.452Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-03T05:43:29.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-03T05:43:29.496Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-03T05:43:29.513Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-03T05:43:29.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-558 [Pipeline] echo [2024-07-03T05:43:29.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-558 [Pipeline] echo [2024-07-03T05:43:29.573Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-558 [Pipeline] echo [2024-07-03T05:43:29.590Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:43:29.621Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 313bd42 [Pipeline] echo [2024-07-03T05:43:29.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T05:43:29.703Z] provisioning config files... [2024-07-03T05:43:29.746Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config4466057775674756844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:43:30.081Z] ---> ****-login.sh [2024-07-03T05:43:30.081Z] nexus3.edgexfoundry.org:10001 [2024-07-03T05:43:30.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:30.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:30.341Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:30.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:30.341Z] [2024-07-03T05:43:30.341Z] Login Succeeded [2024-07-03T05:43:30.341Z] nexus3.edgexfoundry.org:10002 [2024-07-03T05:43:30.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:30.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:30.601Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:30.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:30.601Z] [2024-07-03T05:43:30.601Z] Login Succeeded [2024-07-03T05:43:30.601Z] nexus3.edgexfoundry.org:10003 [2024-07-03T05:43:30.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:30.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:30.601Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:30.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:30.601Z] [2024-07-03T05:43:30.601Z] Login Succeeded [2024-07-03T05:43:30.601Z] nexus3.edgexfoundry.org:10004 [2024-07-03T05:43:30.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:30.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:30.861Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:30.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:30.861Z] [2024-07-03T05:43:30.861Z] Login Succeeded [2024-07-03T05:43:30.861Z] ****.io [2024-07-03T05:43:30.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:31.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:31.121Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:31.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:31.122Z] [2024-07-03T05:43:31.122Z] Login Succeeded [2024-07-03T05:43:31.122Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T05:43:31.129Z] 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:43:31.551Z] + git rev-list -1 --merges 313bd4257294a3611ddab0d25a1668d691212468~1..313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:43:31.579Z] -----------> git rev-list -1 --merges 313bd4257294a3611ddab0d25a1668d691212468~1..313bd4257294a3611ddab0d25a1668d691212468 313bd4257294a3611ddab0d25a1668d691212468 [false] [Pipeline] sh [2024-07-03T05:43:31.869Z] + git log --format=format:%s -1 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:43:31.882Z] ========================================================= [2024-07-03T05:43:31.882Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-03T05:43:31.882Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T05:43:32.217Z] + git log --format=format:%s -1 313bd4257294a3611ddab0d25a1668d691212468 [Pipeline] echo [2024-07-03T05:43:32.229Z] [semverPrep] GIT_COMMIT: 313bd4257294a3611ddab0d25a1668d691212468, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-03T05:43:32.252Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-03T05:43:32.622Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-03T05:43:32.622Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-03T05:43:32.622Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-03T05:43:32.622Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-03T05:43:32.622Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-07-03T05:43:32.622Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-03T05:43:32.622Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:43:33.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T05:43:33.041Z] [2024-07-03T05:43:33.041Z] 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:43:33.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T05:43:33.351Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-03T05:43:33.351Z] b85a868b505f: Pulling fs layer [2024-07-03T05:43:33.351Z] e2be974225ed: Pulling fs layer [2024-07-03T05:43:33.351Z] 339a4e72a1f5: Pulling fs layer [2024-07-03T05:43:33.351Z] 988bab9f4d93: Pulling fs layer [2024-07-03T05:43:33.351Z] 1469e6f7b9e6: Pulling fs layer [2024-07-03T05:43:33.351Z] eaf3925da568: Pulling fs layer [2024-07-03T05:43:33.351Z] bab4dde63d76: Pulling fs layer [2024-07-03T05:43:33.351Z] bde34c3a00c8: Pulling fs layer [2024-07-03T05:43:33.351Z] b352a97aabf1: Pulling fs layer [2024-07-03T05:43:33.351Z] 4872d77fe225: Pulling fs layer [2024-07-03T05:43:33.351Z] 5851b861e8e6: Pulling fs layer [2024-07-03T05:43:33.351Z] 988bab9f4d93: Waiting [2024-07-03T05:43:33.351Z] 1469e6f7b9e6: Waiting [2024-07-03T05:43:33.351Z] eaf3925da568: Waiting [2024-07-03T05:43:33.351Z] bab4dde63d76: Waiting [2024-07-03T05:43:33.351Z] bde34c3a00c8: Waiting [2024-07-03T05:43:33.351Z] b352a97aabf1: Waiting [2024-07-03T05:43:33.351Z] 4872d77fe225: Waiting [2024-07-03T05:43:33.351Z] 5851b861e8e6: Waiting [2024-07-03T05:43:33.351Z] e2be974225ed: Verifying Checksum [2024-07-03T05:43:33.351Z] e2be974225ed: Download complete [2024-07-03T05:43:33.351Z] 988bab9f4d93: Verifying Checksum [2024-07-03T05:43:33.351Z] 988bab9f4d93: Download complete [2024-07-03T05:43:33.612Z] 1469e6f7b9e6: Verifying Checksum [2024-07-03T05:43:33.612Z] 1469e6f7b9e6: Download complete [2024-07-03T05:43:33.612Z] eaf3925da568: Verifying Checksum [2024-07-03T05:43:33.612Z] eaf3925da568: Download complete [2024-07-03T05:43:33.612Z] 339a4e72a1f5: Verifying Checksum [2024-07-03T05:43:33.612Z] 339a4e72a1f5: Download complete [2024-07-03T05:43:33.612Z] bde34c3a00c8: Verifying Checksum [2024-07-03T05:43:33.612Z] bde34c3a00c8: Download complete [2024-07-03T05:43:33.612Z] b352a97aabf1: Verifying Checksum [2024-07-03T05:43:33.612Z] b352a97aabf1: Download complete [2024-07-03T05:43:33.612Z] 4872d77fe225: Verifying Checksum [2024-07-03T05:43:33.612Z] 4872d77fe225: Download complete [2024-07-03T05:43:33.612Z] 5851b861e8e6: Verifying Checksum [2024-07-03T05:43:33.612Z] 5851b861e8e6: Download complete [2024-07-03T05:43:33.871Z] b85a868b505f: Verifying Checksum [2024-07-03T05:43:33.871Z] b85a868b505f: Download complete [2024-07-03T05:43:33.871Z] bab4dde63d76: Verifying Checksum [2024-07-03T05:43:33.871Z] bab4dde63d76: Download complete [2024-07-03T05:43:35.246Z] b85a868b505f: Pull complete [2024-07-03T05:43:35.247Z] e2be974225ed: Pull complete [2024-07-03T05:43:35.505Z] 339a4e72a1f5: Pull complete [2024-07-03T05:43:35.505Z] 988bab9f4d93: Pull complete [2024-07-03T05:43:35.765Z] 1469e6f7b9e6: Pull complete [2024-07-03T05:43:36.023Z] eaf3925da568: Pull complete [2024-07-03T05:43:37.395Z] bab4dde63d76: Pull complete [2024-07-03T05:43:37.654Z] bde34c3a00c8: Pull complete [2024-07-03T05:43:37.654Z] b352a97aabf1: Pull complete [2024-07-03T05:43:37.654Z] 4872d77fe225: Pull complete [2024-07-03T05:43:37.913Z] 5851b861e8e6: Pull complete [2024-07-03T05:43:37.913Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-03T05:43:37.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T05:43:37.913Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:43:38.064Z] prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container [2024-07-03T05:43:38.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-03T05:43:41.916Z] $ docker top c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 -eo pid,comm [2024-07-03T05:43:41.967Z] 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:43:41.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-03T05:43:42.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T05:43:42.022Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T05:43:42.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T05:43:42.127Z] $ docker exec c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent [2024-07-03T05:43:42.238Z] SSH_AUTH_SOCK=/tmp/ssh-BguTG613cofQ/agent.33 [2024-07-03T05:43:42.238Z] SSH_AGENT_PID=39 [2024-07-03T05:43:42.243Z] Running ssh-add (command line suppressed) [2024-07-03T05:43:42.338Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_15198260595574630096.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_15198260595574630096.key) [2024-07-03T05:43:42.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T05:43:42.636Z] + git tag --points-at HEAD [Pipeline] } [2024-07-03T05:43:42.643Z] $ docker exec --env ******** --env ******** c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent -k [2024-07-03T05:43:42.745Z] unset SSH_AUTH_SOCK; [2024-07-03T05:43:42.746Z] unset SSH_AGENT_PID; [2024-07-03T05:43:42.746Z] echo Agent pid 39 killed; [2024-07-03T05:43:42.757Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-03T05:43:42.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T05:43:42.799Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T05:43:42.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T05:43:42.913Z] $ docker exec c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent [2024-07-03T05:43:43.021Z] SSH_AUTH_SOCK=/tmp/ssh-Kmo9COwVFATp/agent.72 [2024-07-03T05:43:43.021Z] SSH_AGENT_PID=78 [2024-07-03T05:43:43.027Z] Running ssh-add (command line suppressed) [2024-07-03T05:43:43.111Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_12172235514256591864.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_12172235514256591864.key) [2024-07-03T05:43:43.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T05:43:43.418Z] + git semver init [2024-07-03T05:43:43.678Z] 2024-07-03 05:43:43,640 [run_init] DEBUG init version:0.0.0 force:False [2024-07-03T05:43:43.678Z] 2024-07-03 05:43:43,641 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver [2024-07-03T05:43:43.678Z] 2024-07-03 05:43:43,642 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-558/.semver [2024-07-03T05:43:43.678Z] 2024-07-03 05:43:43,642 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-558/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558, universal_newlines=False, shell=None, istream=None) [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,648 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.git/info/exclude [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 with force:False [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,649 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,653 [execute] INFO git cat-file --batch-check [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,658 [execute] INFO git cat-file --batch [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T05:43:45.058Z] 2024-07-03 05:43:44,663 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 [2024-07-03T05:43:45.058Z] 0.0.0 [Pipeline] } [2024-07-03T05:43:45.069Z] $ docker exec --env ******** --env ******** c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 ssh-agent -k [2024-07-03T05:43:45.166Z] unset SSH_AUTH_SOCK; [2024-07-03T05:43:45.166Z] unset SSH_AGENT_PID; [2024-07-03T05:43:45.166Z] echo Agent pid 78 killed; [2024-07-03T05:43:45.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-03T05:43:45.504Z] + git semver [Pipeline] } [2024-07-03T05:43:45.771Z] $ docker stop --time=1 c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 [2024-07-03T05:43:47.066Z] $ docker rm -f --volumes c0a9838c613dee3b89768b8ba61beba111f46143c85a6923ee77282d94c94fd0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T05:43:47.410Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-03T05:43:47.608Z] Stashed 1 file(s) [Pipeline] echo [2024-07-03T05:43:47.611Z] [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:43:47.777Z] provisioning config files... [2024-07-03T05:43:47.787Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config10832481578280457441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:43:48.093Z] ---> ****-login.sh [2024-07-03T05:43:48.093Z] nexus3.edgexfoundry.org:10001 [2024-07-03T05:43:48.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:48.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:48.093Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:48.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:48.093Z] [2024-07-03T05:43:48.093Z] Login Succeeded [2024-07-03T05:43:48.093Z] nexus3.edgexfoundry.org:10002 [2024-07-03T05:43:48.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:48.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:48.094Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:48.094Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:48.094Z] [2024-07-03T05:43:48.094Z] Login Succeeded [2024-07-03T05:43:48.094Z] nexus3.edgexfoundry.org:10003 [2024-07-03T05:43:48.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:48.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:48.352Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:48.352Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:48.352Z] [2024-07-03T05:43:48.352Z] Login Succeeded [2024-07-03T05:43:48.352Z] nexus3.edgexfoundry.org:10004 [2024-07-03T05:43:48.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:48.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:48.352Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:48.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:48.353Z] [2024-07-03T05:43:48.353Z] Login Succeeded [2024-07-03T05:43:48.353Z] ****.io [2024-07-03T05:43:48.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:43:48.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:43:48.612Z] Configure a credential helper to remove this warning. See [2024-07-03T05:43:48.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:43:48.612Z] [2024-07-03T05:43:48.612Z] Login Succeeded [2024-07-03T05:43:48.612Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T05:43:48.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T05:43:48.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:43:48.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:43:48.762Z] ========================================================= [2024-07-03T05:43:48.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-03T05:43:48.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:43:49.097Z] + 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:43:49.097Z] Sending build context to Docker daemon 17.84MB [2024-07-03T05:43:49.097Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T05:43:49.097Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-03T05:43:49.097Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-03T05:43:49.097Z] 619be1103602: Pulling fs layer [2024-07-03T05:43:49.097Z] 7862e08f4a3e: Pulling fs layer [2024-07-03T05:43:49.097Z] 5df492c9dc93: Pulling fs layer [2024-07-03T05:43:49.097Z] 7629e6793208: Pulling fs layer [2024-07-03T05:43:49.097Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T05:43:49.097Z] fb5054dd5b73: Pulling fs layer [2024-07-03T05:43:49.097Z] eeca6798cff9: Pulling fs layer [2024-07-03T05:43:49.097Z] aa269ceb94a6: Pulling fs layer [2024-07-03T05:43:49.097Z] ada007ff1a6a: Pulling fs layer [2024-07-03T05:43:49.097Z] 4f4fb700ef54: Waiting [2024-07-03T05:43:49.097Z] fb5054dd5b73: Waiting [2024-07-03T05:43:49.097Z] 7629e6793208: Waiting [2024-07-03T05:43:49.097Z] aa269ceb94a6: Waiting [2024-07-03T05:43:49.097Z] eeca6798cff9: Waiting [2024-07-03T05:43:49.357Z] 7862e08f4a3e: Verifying Checksum [2024-07-03T05:43:49.357Z] 7862e08f4a3e: Download complete [2024-07-03T05:43:49.357Z] 7629e6793208: Verifying Checksum [2024-07-03T05:43:49.357Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T05:43:49.357Z] 4f4fb700ef54: Download complete [2024-07-03T05:43:49.357Z] fb5054dd5b73: Verifying Checksum [2024-07-03T05:43:49.357Z] fb5054dd5b73: Download complete [2024-07-03T05:43:49.357Z] 619be1103602: Verifying Checksum [2024-07-03T05:43:49.357Z] 619be1103602: Download complete [2024-07-03T05:43:49.357Z] eeca6798cff9: Verifying Checksum [2024-07-03T05:43:49.357Z] eeca6798cff9: Download complete [2024-07-03T05:43:49.357Z] 619be1103602: Pull complete [2024-07-03T05:43:49.617Z] ada007ff1a6a: Download complete [2024-07-03T05:43:49.617Z] 7862e08f4a3e: Pull complete [2024-07-03T05:43:49.875Z] 5df492c9dc93: Verifying Checksum [2024-07-03T05:43:49.875Z] 5df492c9dc93: Download complete [2024-07-03T05:43:50.440Z] aa269ceb94a6: Verifying Checksum [2024-07-03T05:43:50.440Z] aa269ceb94a6: Download complete [2024-07-03T05:43:52.973Z] 5df492c9dc93: Pull complete [2024-07-03T05:43:52.973Z] 7629e6793208: Pull complete [2024-07-03T05:43:52.973Z] 4f4fb700ef54: Pull complete [2024-07-03T05:43:52.973Z] fb5054dd5b73: Pull complete [2024-07-03T05:43:52.973Z] eeca6798cff9: Pull complete [2024-07-03T05:43:54.874Z] aa269ceb94a6: Pull complete [2024-07-03T05:43:55.441Z] ada007ff1a6a: Pull complete [2024-07-03T05:43:55.441Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-03T05:43:55.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-03T05:43:55.441Z] ---> f489d0715acc [2024-07-03T05:43:55.441Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-03T05:43:59.637Z] ---> Running in 0bab2e625bf4 [2024-07-03T05:43:59.637Z] Removing intermediate container 0bab2e625bf4 [2024-07-03T05:43:59.637Z] ---> fc22411afbfe [2024-07-03T05:43:59.637Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T05:43:59.637Z] ---> Running in 7aeddac34cdb [2024-07-03T05:43:59.637Z] Removing intermediate container 7aeddac34cdb [2024-07-03T05:43:59.637Z] ---> cc148eeca014 [2024-07-03T05:43:59.637Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-03T05:43:59.637Z] ---> Running in 23ef52874a60 [2024-07-03T05:43:59.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T05:44:00.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T05:44:00.415Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T05:44:00.415Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-03T05:44:00.415Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T05:44:00.415Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T05:44:00.415Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-03T05:44:00.415Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-03T05:44:00.415Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-03T05:44:00.415Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-03T05:44:00.415Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T05:44:00.415Z] OK: 270 MiB in 60 packages [2024-07-03T05:44:00.985Z] Removing intermediate container 23ef52874a60 [2024-07-03T05:44:00.985Z] ---> 9fdbdfed9a14 [2024-07-03T05:44:00.985Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-03T05:44:00.985Z] ---> Running in f22db7666bda [2024-07-03T05:44:00.985Z] Removing intermediate container f22db7666bda [2024-07-03T05:44:00.985Z] ---> f871637dca49 [2024-07-03T05:44:00.985Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-03T05:44:01.244Z] ---> b68958c31557 [2024-07-03T05:44:01.244Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T05:44:01.244Z] ---> Running in 3451acbb49e1 [2024-07-03T05:44:02.739Z] Still waiting to schedule task [2024-07-03T05:44:02.740Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4889’ [2024-07-03T05:44:47.967Z] Removing intermediate container 3451acbb49e1 [2024-07-03T05:44:47.967Z] ---> 91631a818f83 [2024-07-03T05:44:47.967Z] Step 9/10 : COPY . . [2024-07-03T05:44:47.967Z] ---> a3ba0679debc [2024-07-03T05:44:47.967Z] Step 10/10 : RUN ${MAKE} [2024-07-03T05:44:47.967Z] ---> Running in 54ff7e5ecdf6 [2024-07-03T05:44:47.967Z] noop [2024-07-03T05:44:47.967Z] Removing intermediate container 54ff7e5ecdf6 [2024-07-03T05:44:47.967Z] ---> 3a82caad6719 [2024-07-03T05:44:47.967Z] Successfully built 3a82caad6719 [2024-07-03T05:44:47.967Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:44:48.278Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T05:44:48.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:44:48.357Z] prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container [2024-07-03T05:44:48.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-03T05:44:48.709Z] $ docker top f6cbf76f004eb535b9b2559f90ab0ef88f23c421a1065a932a3d75820444d33e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:44:49.054Z] + go version [2024-07-03T05:44:49.055Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-03T05:44:49.061Z] $ docker stop --time=1 f6cbf76f004eb535b9b2559f90ab0ef88f23c421a1065a932a3d75820444d33e [2024-07-03T05:44:50.317Z] $ docker rm -f --volumes f6cbf76f004eb535b9b2559f90ab0ef88f23c421a1065a932a3d75820444d33e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:44:50.744Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T05:44:50.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:44:50.819Z] prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container [2024-07-03T05:44:50.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-03T05:44:51.155Z] $ docker top 64ba4e573546ba6f3f36d1179d2cde1b1200ddd6c7b5d8c5556816a6bd83384c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:44:51.499Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-558 [Pipeline] fileExists [Pipeline] sh [2024-07-03T05:44:51.797Z] + make test [2024-07-03T05:44:51.798Z] go test ./... -coverprofile=coverage.out [2024-07-03T05:44:52.363Z] /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:44:52.363Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:44:52.363Z] /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:44:52.363Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:44:52.363Z] /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:44:52.363Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:44:52.363Z] make: *** [Makefile:33: unittest] Error 1 [Pipeline] } [2024-07-03T05:44:52.371Z] $ docker stop --time=1 64ba4e573546ba6f3f36d1179d2cde1b1200ddd6c7b5d8c5556816a6bd83384c [2024-07-03T05:44:53.747Z] $ docker rm -f --volumes 64ba4e573546ba6f3f36d1179d2cde1b1200ddd6c7b5d8c5556816a6bd83384c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:44:54.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:44:54.307Z] [2024-07-03T05:44:54.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:44:54.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:44:54.612Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-03T05:44:54.612Z] 5eb5b503b376: Pulling fs layer [2024-07-03T05:44:54.612Z] 5c69ac0246d0: Pulling fs layer [2024-07-03T05:44:54.612Z] ec43610c2a17: Pulling fs layer [2024-07-03T05:44:54.612Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-03T05:44:54.612Z] 33b1e0a273af: Pulling fs layer [2024-07-03T05:44:54.612Z] 5d3b04190fa2: Pulling fs layer [2024-07-03T05:44:54.612Z] 2f39f015ded8: Pulling fs layer [2024-07-03T05:44:54.612Z] 33b1e0a273af: Waiting [2024-07-03T05:44:54.612Z] 2f39f015ded8: Waiting [2024-07-03T05:44:54.612Z] 5c69ac0246d0: Verifying Checksum [2024-07-03T05:44:54.612Z] 5c69ac0246d0: Download complete [2024-07-03T05:44:54.612Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-03T05:44:54.612Z] 3a2ae6a8a46f: Download complete [2024-07-03T05:44:54.612Z] 33b1e0a273af: Verifying Checksum [2024-07-03T05:44:54.612Z] 33b1e0a273af: Download complete [2024-07-03T05:44:54.612Z] 5d3b04190fa2: Download complete [2024-07-03T05:44:54.872Z] ec43610c2a17: Download complete [2024-07-03T05:44:54.872Z] 5eb5b503b376: Verifying Checksum [2024-07-03T05:44:54.872Z] 5eb5b503b376: Download complete [2024-07-03T05:44:55.437Z] 2f39f015ded8: Download complete [2024-07-03T05:44:56.002Z] 5eb5b503b376: Pull complete [2024-07-03T05:44:56.002Z] 5c69ac0246d0: Pull complete [2024-07-03T05:44:56.568Z] ec43610c2a17: Pull complete [2024-07-03T05:44:56.568Z] 3a2ae6a8a46f: Pull complete [2024-07-03T05:44:56.826Z] 33b1e0a273af: Pull complete [2024-07-03T05:44:56.826Z] 5d3b04190fa2: Pull complete [2024-07-03T05:45:01.008Z] 2f39f015ded8: Pull complete [2024-07-03T05:45:01.008Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-03T05:45:01.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:45:01.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:45:01.099Z] prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container [2024-07-03T05:45:01.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T05:45:05.605Z] $ docker top cb6ccad874f9bbb6591cf9244e79d99345cbd0e837d21237da7be594037f66b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:45:05.988Z] ---> job-cost.sh [2024-07-03T05:45:05.988Z] lf-activate-venv: SKIPPING [2024-07-03T05:45:05.988Z] INFO: No Stack... [2024-07-03T05:45:06.247Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T05:45:06.504Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T05:45:06.787Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-558/archives/cost.csv [2024-07-03T05:45:06.787Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T05:45:06.800Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [2024-07-03T05:45:06.808Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] did not exist. Created. [2024-07-03T05:45:06.815Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T05:45:07.119Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-03T05:45:07.148Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T05:45:07.156Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T05:45:07.184Z] $ docker stop --time=1 cb6ccad874f9bbb6591cf9244e79d99345cbd0e837d21237da7be594037f66b6 [2024-07-03T05:45:08.337Z] $ docker rm -f --volumes cb6ccad874f9bbb6591cf9244e79d99345cbd0e837d21237da7be594037f66b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T05:45:08.484Z] Failed in branch amd64 [2024-07-03T05:47:43.778Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4891 in /w/workspace/xfoundry_device-modbus-go_PR-558 [Pipeline] { [Pipeline] ws [2024-07-03T05:47:43.798Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-07-03T05:47:43.869Z] The recommended git tool is: git [2024-07-03T05:47:51.102Z] using credential edgex-jenkins-ssh [2024-07-03T05:47:51.134Z] Cloning the remote Git repository [2024-07-03T05:47:51.198Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T05:47:51.352Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-07-03T05:47:51.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T05:47:51.723Z] > git --version # timeout=10 [2024-07-03T05:47:51.812Z] > git --version # 'git version 2.25.1' [2024-07-03T05:47:51.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T05:47:52.123Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T05:47:54.384Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-03T05:47:54.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T05:47:56.262Z] Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 313bd4257294a3611ddab0d25a1668d691212468 [2024-07-03T05:47:56.777Z] Merge succeeded, producing 313bd4257294a3611ddab0d25a1668d691212468 [2024-07-03T05:47:56.777Z] Checking out Revision 313bd4257294a3611ddab0d25a1668d691212468 (PR-558) [2024-07-03T05:47:55.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-03T05:47:55.725Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-03T05:47:55.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T05:47:55.752Z] > 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:47:56.285Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T05:47:56.444Z] > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [2024-07-03T05:47:56.614Z] > git remote # timeout=10 [2024-07-03T05:47:56.651Z] > git config --get remote.origin.url # timeout=10 [2024-07-03T05:47:56.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T05:47:56.720Z] > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 [2024-07-03T05:47:56.750Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-03T05:47:56.778Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T05:47:56.796Z] > git checkout -f 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [2024-07-03T05:47:57.536Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T05:48:02.181Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-03T05:48:02.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T05:48:02.181Z] Dload Upload Total Spent Left Speed [2024-07-03T05:48:02.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 91628 0 --:--:-- --:--:-- --:--:-- 91628 [Pipeline] sh [2024-07-03T05:48:02.509Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-03T05:48:02.834Z] + sudo tee /etc/docker/daemon.new [2024-07-03T05:48:02.834Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-03T05:48:02.834Z] { [2024-07-03T05:48:02.834Z] "registry-mirrors": [ [2024-07-03T05:48:02.834Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-03T05:48:02.834Z] ], [2024-07-03T05:48:02.834Z] "bip": "10.250.0.254/24", [2024-07-03T05:48:02.834Z] "hosts": [ [2024-07-03T05:48:02.834Z] "tcp://0.0.0.0:5555", [2024-07-03T05:48:02.834Z] "unix:///var/run/docker.sock" [2024-07-03T05:48:02.834Z] ], [2024-07-03T05:48:02.834Z] "mtu": 1458, [2024-07-03T05:48:02.834Z] "selinux-enabled": true, [2024-07-03T05:48:02.834Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-03T05:48:02.834Z] } [Pipeline] sh [2024-07-03T05:48:03.164Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-03T05:48:03.500Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T05:48:21.741Z] provisioning config files... [2024-07-03T05:48:21.762Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config834215891002726419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:48:22.192Z] ---> ****-login.sh [2024-07-03T05:48:22.193Z] nexus3.edgexfoundry.org:10001 [2024-07-03T05:48:22.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:48:22.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:48:22.733Z] Configure a credential helper to remove this warning. See [2024-07-03T05:48:22.733Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:48:22.733Z] [2024-07-03T05:48:22.733Z] Login Succeeded [2024-07-03T05:48:22.733Z] nexus3.edgexfoundry.org:10002 [2024-07-03T05:48:23.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:48:23.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:48:23.271Z] Configure a credential helper to remove this warning. See [2024-07-03T05:48:23.271Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:48:23.271Z] [2024-07-03T05:48:23.271Z] Login Succeeded [2024-07-03T05:48:23.271Z] nexus3.edgexfoundry.org:10003 [2024-07-03T05:48:23.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:48:23.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:48:23.544Z] Configure a credential helper to remove this warning. See [2024-07-03T05:48:23.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:48:23.544Z] [2024-07-03T05:48:23.544Z] Login Succeeded [2024-07-03T05:48:23.544Z] nexus3.edgexfoundry.org:10004 [2024-07-03T05:48:23.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:48:23.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:48:23.815Z] Configure a credential helper to remove this warning. See [2024-07-03T05:48:23.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:48:23.815Z] [2024-07-03T05:48:23.815Z] Login Succeeded [2024-07-03T05:48:23.815Z] ****.io [2024-07-03T05:48:24.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T05:48:24.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T05:48:24.349Z] Configure a credential helper to remove this warning. See [2024-07-03T05:48:24.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T05:48:24.349Z] [2024-07-03T05:48:24.349Z] Login Succeeded [2024-07-03T05:48:24.349Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T05:48:24.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T05:48:24.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:48:24.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T05:48:24.695Z] ========================================================= [2024-07-03T05:48:24.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-03T05:48:24.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:48:25.053Z] + 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:48:25.322Z] Sending build context to Docker daemon 9.052MB [2024-07-03T05:48:25.592Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T05:48:25.592Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-03T05:48:25.592Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-03T05:48:25.592Z] c6b39de5b339: Pulling fs layer [2024-07-03T05:48:25.592Z] a69c41024577: Pulling fs layer [2024-07-03T05:48:25.592Z] d6de4b400683: Pulling fs layer [2024-07-03T05:48:25.592Z] 35cb2a7552d0: Pulling fs layer [2024-07-03T05:48:25.592Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T05:48:25.592Z] 464afbd9ba4c: Pulling fs layer [2024-07-03T05:48:25.592Z] 00f215d4a9da: Pulling fs layer [2024-07-03T05:48:25.592Z] d496ad576159: Pulling fs layer [2024-07-03T05:48:25.592Z] 35cb2a7552d0: Waiting [2024-07-03T05:48:25.592Z] 4f4fb700ef54: Waiting [2024-07-03T05:48:25.592Z] 464afbd9ba4c: Waiting [2024-07-03T05:48:25.592Z] 00f215d4a9da: Waiting [2024-07-03T05:48:25.592Z] d496ad576159: Waiting [2024-07-03T05:48:25.592Z] a69c41024577: Verifying Checksum [2024-07-03T05:48:25.592Z] a69c41024577: Download complete [2024-07-03T05:48:25.876Z] 35cb2a7552d0: Download complete [2024-07-03T05:48:25.876Z] 4f4fb700ef54: Download complete [2024-07-03T05:48:25.876Z] 464afbd9ba4c: Download complete [2024-07-03T05:48:25.876Z] c6b39de5b339: Verifying Checksum [2024-07-03T05:48:25.876Z] c6b39de5b339: Download complete [2024-07-03T05:48:26.461Z] d496ad576159: Verifying Checksum [2024-07-03T05:48:26.461Z] d496ad576159: Download complete [2024-07-03T05:48:26.730Z] c6b39de5b339: Pull complete [2024-07-03T05:48:27.314Z] a69c41024577: Pull complete [2024-07-03T05:48:27.583Z] d6de4b400683: Verifying Checksum [2024-07-03T05:48:27.583Z] d6de4b400683: Download complete [2024-07-03T05:48:28.542Z] 00f215d4a9da: Verifying Checksum [2024-07-03T05:48:28.542Z] 00f215d4a9da: Download complete [2024-07-03T05:48:40.849Z] d6de4b400683: Pull complete [2024-07-03T05:48:40.849Z] 35cb2a7552d0: Pull complete [2024-07-03T05:48:40.849Z] 4f4fb700ef54: Pull complete [2024-07-03T05:48:40.849Z] 464afbd9ba4c: Pull complete [2024-07-03T05:48:50.946Z] 00f215d4a9da: Pull complete [2024-07-03T05:48:50.946Z] d496ad576159: Pull complete [2024-07-03T05:48:51.216Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-03T05:48:51.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-03T05:48:51.216Z] ---> f246e2811388 [2024-07-03T05:48:51.216Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-03T05:48:53.164Z] ---> Running in a2b60d16c71b [2024-07-03T05:48:53.164Z] Removing intermediate container a2b60d16c71b [2024-07-03T05:48:53.164Z] ---> 7c724d0c9b50 [2024-07-03T05:48:53.164Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T05:48:53.164Z] ---> Running in 48ac0d6a1bdc [2024-07-03T05:48:53.433Z] Removing intermediate container 48ac0d6a1bdc [2024-07-03T05:48:53.433Z] ---> ea4592a28174 [2024-07-03T05:48:53.433Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-03T05:48:53.433Z] ---> Running in 71cdaa2846c1 [2024-07-03T05:48:54.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T05:48:54.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T05:48:55.807Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T05:48:55.807Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-03T05:48:55.807Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T05:48:55.807Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T05:48:55.807Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-03T05:48:55.807Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-03T05:48:55.807Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-03T05:48:56.074Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-03T05:48:56.074Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T05:48:56.074Z] OK: 272 MiB in 60 packages [2024-07-03T05:48:57.052Z] Removing intermediate container 71cdaa2846c1 [2024-07-03T05:48:57.052Z] ---> 3d9f390ce11e [2024-07-03T05:48:57.052Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-03T05:48:57.052Z] ---> Running in 49de49824b96 [2024-07-03T05:48:57.320Z] Removing intermediate container 49de49824b96 [2024-07-03T05:48:57.320Z] ---> 7957009aac21 [2024-07-03T05:48:57.320Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-03T05:48:57.907Z] ---> 690556c293ce [2024-07-03T05:48:57.907Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T05:48:57.907Z] ---> Running in ecfecf23f3e4 [2024-07-03T05:50:49.599Z] Removing intermediate container ecfecf23f3e4 [2024-07-03T05:50:49.599Z] ---> 2b8fd0b62162 [2024-07-03T05:50:49.599Z] Step 9/10 : COPY . . [2024-07-03T05:50:49.599Z] ---> 1645e0f6e22b [2024-07-03T05:50:49.599Z] Step 10/10 : RUN ${MAKE} [2024-07-03T05:50:49.599Z] ---> Running in 4ef11f257bc6 [2024-07-03T05:50:49.599Z] noop [2024-07-03T05:50:49.599Z] Removing intermediate container 4ef11f257bc6 [2024-07-03T05:50:49.599Z] ---> e404079eea56 [2024-07-03T05:50:49.599Z] Successfully built e404079eea56 [2024-07-03T05:50:49.599Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:50:49.970Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T05:50:49.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:50:50.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-4891 does not seem to be running inside a container [2024-07-03T05:50:50.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T05:50:51.488Z] $ docker top 3797136bceb0adb842ba09195e34e590c76358744f6587d85566350864a18adf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:50:52.326Z] + go version [2024-07-03T05:50:52.326Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-03T05:50:52.337Z] $ docker stop --time=1 3797136bceb0adb842ba09195e34e590c76358744f6587d85566350864a18adf [2024-07-03T05:50:53.928Z] $ docker rm -f --volumes 3797136bceb0adb842ba09195e34e590c76358744f6587d85566350864a18adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:50:54.512Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T05:50:54.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:50:54.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-4891 does not seem to be running inside a container [2024-07-03T05:50:54.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T05:50:55.953Z] $ docker top 47f96e6aa24246ddb87772e06cb2d45ab56218ddc7809b7d9ba9be9efcbc928d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:50:56.793Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-07-03T05:50:57.138Z] + make test [2024-07-03T05:50:57.405Z] go test ./... -coverprofile=coverage.out [2024-07-03T05:51:02.768Z] /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:51:02.768Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:51:02.768Z] /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:51:02.768Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:51:02.768Z] /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:51:02.768Z] go mod download go.mongodb.org/mongo-driver [2024-07-03T05:51:02.768Z] make: *** [Makefile:33: unittest] Error 1 [Pipeline] } [2024-07-03T05:51:02.784Z] $ docker stop --time=1 47f96e6aa24246ddb87772e06cb2d45ab56218ddc7809b7d9ba9be9efcbc928d [2024-07-03T05:51:04.616Z] $ docker rm -f --volumes 47f96e6aa24246ddb87772e06cb2d45ab56218ddc7809b7d9ba9be9efcbc928d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:51:05.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T05:51:05.410Z] [2024-07-03T05:51:05.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:51:05.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T05:51:06.028Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-03T05:51:06.028Z] 8998bd30e6a1: Pulling fs layer [2024-07-03T05:51:06.028Z] 04944245beec: Pulling fs layer [2024-07-03T05:51:06.028Z] 699f458cf7ca: Pulling fs layer [2024-07-03T05:51:06.028Z] 765212b225bb: Pulling fs layer [2024-07-03T05:51:06.028Z] f23df028b6ca: Pulling fs layer [2024-07-03T05:51:06.028Z] 765212b225bb: Waiting [2024-07-03T05:51:06.028Z] f23df028b6ca: Waiting [2024-07-03T05:51:06.028Z] d65c8cfc05b1: Pulling fs layer [2024-07-03T05:51:06.028Z] 2437ff75d9bd: Pulling fs layer [2024-07-03T05:51:06.028Z] d65c8cfc05b1: Waiting [2024-07-03T05:51:06.028Z] 2437ff75d9bd: Waiting [2024-07-03T05:51:06.028Z] 04944245beec: Verifying Checksum [2024-07-03T05:51:06.028Z] 04944245beec: Download complete [2024-07-03T05:51:06.028Z] 765212b225bb: Verifying Checksum [2024-07-03T05:51:06.028Z] 765212b225bb: Download complete [2024-07-03T05:51:06.028Z] f23df028b6ca: Download complete [2024-07-03T05:51:06.028Z] d65c8cfc05b1: Verifying Checksum [2024-07-03T05:51:06.028Z] d65c8cfc05b1: Download complete [2024-07-03T05:51:06.294Z] 699f458cf7ca: Verifying Checksum [2024-07-03T05:51:06.294Z] 699f458cf7ca: Download complete [2024-07-03T05:51:06.561Z] 8998bd30e6a1: Verifying Checksum [2024-07-03T05:51:06.561Z] 8998bd30e6a1: Download complete [2024-07-03T05:51:09.136Z] 2437ff75d9bd: Verifying Checksum [2024-07-03T05:51:09.136Z] 2437ff75d9bd: Download complete [2024-07-03T05:51:11.709Z] 8998bd30e6a1: Pull complete [2024-07-03T05:51:11.709Z] 04944245beec: Pull complete [2024-07-03T05:51:13.651Z] 699f458cf7ca: Pull complete [2024-07-03T05:51:13.651Z] 765212b225bb: Pull complete [2024-07-03T05:51:14.236Z] f23df028b6ca: Pull complete [2024-07-03T05:51:14.503Z] d65c8cfc05b1: Pull complete [2024-07-03T05:51:32.698Z] 2437ff75d9bd: Pull complete [2024-07-03T05:51:32.698Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-03T05:51:32.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T05:51:32.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:51:32.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-4891 does not seem to be running inside a container [2024-07-03T05:51:32.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-03T05:51:35.527Z] $ docker top ab55479abc4dba1fc1c3605b15c6b3be315268f04cdd87a6b190c8bef6262e96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:36.373Z] ---> job-cost.sh [2024-07-03T05:51:36.373Z] lf-activate-venv: SKIPPING [2024-07-03T05:51:36.373Z] INFO: No Stack... [2024-07-03T05:51:36.708Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-03T05:51:37.693Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T05:51:38.028Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2024-07-03T05:51:38.028Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T05:51:38.368Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [2024-07-03T05:51:38.376Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] did not exist. Created. [2024-07-03T05:51:38.383Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T05:51:38.751Z] /w/workspace/device-modbus-go/2@tmp/durable-727ca8a9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-03T05:51:39.099Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-03T05:51:39.404Z] Warning: overwriting stash ‘stack-cost’ [2024-07-03T05:51:39.846Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T05:51:39.857Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T05:51:39.880Z] $ docker stop --time=1 ab55479abc4dba1fc1c3605b15c6b3be315268f04cdd87a6b190c8bef6262e96 [2024-07-03T05:51:41.353Z] $ docker rm -f --volumes ab55479abc4dba1fc1c3605b15c6b3be315268f04cdd87a6b190c8bef6262e96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T05:51:41.670Z] 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:51:42.513Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-558/archives ] [2024-07-03T05:51:42.513Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives [2024-07-03T05:51:42.513Z] total 16 [2024-07-03T05:51:42.513Z] drwxr-xr-x 3 root root 4096 Jul 3 05:45 . [2024-07-03T05:51:42.513Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 05:45 .. [2024-07-03T05:51:42.513Z] drwxr-xr-x 2 root root 4096 Jul 3 05:45 cost [2024-07-03T05:51:42.513Z] -rw-r--r-- 1 root root 88 Jul 3 05:45 cost.csv [2024-07-03T05:51:42.513Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-558/archives [2024-07-03T05:51:42.513Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives [2024-07-03T05:51:42.513Z] total 16 [2024-07-03T05:51:42.513Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 05:45 . [2024-07-03T05:51:42.513Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 05:45 .. [2024-07-03T05:51:42.513Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 05:45 cost [2024-07-03T05:51:42.513Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 3 05:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:42.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:43.663Z] ---> package-listing.sh [2024-07-03T05:51:43.663Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-03T05:51:43.663Z] ++ facter osfamily [2024-07-03T05:51:43.921Z] + OS_FAMILY=debian [2024-07-03T05:51:43.921Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-558 [2024-07-03T05:51:43.921Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-03T05:51:43.921Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-03T05:51:43.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-03T05:51:43.921Z] + PACKAGES=/tmp/packages_start.txt [2024-07-03T05:51:43.921Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' [2024-07-03T05:51:43.921Z] + PACKAGES=/tmp/packages_end.txt [2024-07-03T05:51:43.921Z] + case "${OS_FAMILY}" in [2024-07-03T05:51:43.921Z] + dpkg -l [2024-07-03T05:51:43.921Z] + grep '^ii' [2024-07-03T05:51:43.921Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-03T05:51:43.921Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-03T05:51:43.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-03T05:51:43.921Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' [2024-07-03T05:51:43.921Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-558/archives/ [2024-07-03T05:51:43.921Z] + 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:51:43.932Z] 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:51:44.207Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T05:51:44.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T05:51:44.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T05:51:44.848Z] prd-ubuntu20.04-docker-8c-8g-4890 does not seem to be running inside a container [2024-07-03T05:51:44.869Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-558/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-03T05:51:45.083Z] $ docker top c20e1543e95e3ea278fd17c763b2ad69cac337c445e085992e98162ea82292ba -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T05:51:45.430Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-03T05:51:45.716Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-03T05:51:46.001Z] + ls /var/log/sa-host [2024-07-03T05:51:46.001Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T05:51:46.072Z] provisioning config files... [2024-07-03T05:51:46.081Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config5686245412622653330tmp [Pipeline] { [Pipeline] echo [2024-07-03T05:51:46.101Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:46.384Z] ---> create-netrc.sh [Pipeline] } [2024-07-03T05:51:46.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:46.722Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-03T05:51:46.732Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:47.016Z] ---> sudo-logs.sh [2024-07-03T05:51:47.016Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-03T05:51:47.048Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:47.331Z] ---> job-cost.sh [2024-07-03T05:51:47.331Z] lf-activate-venv: SKIPPING [2024-07-03T05:51:47.331Z] DEBUG: total: 0.2199999988079071 [2024-07-03T05:51:47.331Z] INFO: Retrieving Stack Cost... [2024-07-03T05:51:47.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T05:51:47.850Z] INFO: Archiving Costs [Pipeline] echo [2024-07-03T05:51:47.859Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T05:51:48.140Z] ---> logs-deploy.sh [2024-07-03T05:51:48.140Z] lf-activate-venv: SKIPPING [2024-07-03T05:51:48.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-558/2 [2024-07-03T05:51:48.140Z] INFO: archiving workspace using pattern(s): [2024-07-03T05:51:49.077Z] Archives upload complete. [2024-07-03T05:51:49.077Z] INFO: archiving logs to Nexus