Pull request #565 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a6be7d0a8cdc109b84d35a046af99c3985ebac0a+a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b (2f6fd594705ae317ffa14280507cb39f12b5864e) 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-ssh448792813288262752.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-ssh4201409467163511802.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-565/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-565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3361349671735625503.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-565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6988392305865247386.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-ssh440321757997271580.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-565/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-565/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12649434703908188386.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7260 in /w/workspace/xfoundry_device-modbus-go_PR-565 [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-565 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/565/head:refs/remotes/origin/PR-565 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b into PR head commit a6be7d0a8cdc109b84d35a046af99c3985ebac0a Merge succeeded, producing a6be7d0a8cdc109b84d35a046af99c3985ebac0a Checking out Revision a6be7d0a8cdc109b84d35a046af99c3985ebac0a (PR-565) Commit message: "build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f a6be7d0a8cdc109b84d35a046af99c3985ebac0a # 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 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6be7d0a8cdc109b84d35a046af99c3985ebac0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T05:44:16.827Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T05:44:17.038Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T05:44:17.158Z] ========================================================= [2024-08-07T05:44:17.158Z] EdgeX Global Pipelines Version Info [2024-08-07T05:44:17.158Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:44:18.299Z] ------------------- [2024-08-07T05:44:18.300Z] stable info: [2024-08-07T05:44:18.300Z] ------------------- [2024-08-07T05:44:18.300Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T05:44:18.300Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T05:44:18.300Z] Message: update stable to v1.0.260 [2024-08-07T05:44:18.561Z] ------------------- [2024-08-07T05:44:18.561Z] experimental info: [2024-08-07T05:44:18.561Z] ------------------- [2024-08-07T05:44:18.561Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T05:44:18.561Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T05:44:18.561Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T05:44:18.791Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-08-07T05:44:18.843Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-08-07T05:44:18.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T05:44:18.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T05:44:19.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T05:44:19.067Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T05:44:19.127Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T05:44:19.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-07T05:44:19.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T05:44:19.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T05:44:19.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T05:44:19.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-08-07T05:44:19.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T05:44:19.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T05:44:19.589Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T05:44:19.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T05:44:19.702Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T05:44:19.758Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T05:44:19.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T05:44:19.879Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T05:44:19.940Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-07T05:44:20.004Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-07T05:44:20.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T05:44:20.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T05:44:20.188Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T05:44:20.243Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T05:44:20.303Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T05:44:20.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-565 [Pipeline] echo [2024-08-07T05:44:20.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-565 [Pipeline] echo [2024-08-07T05:44:20.477Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-565 [Pipeline] echo [2024-08-07T05:44:20.541Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6be7d0a8cdc109b84d35a046af99c3985ebac0a [Pipeline] echo [2024-08-07T05:44:20.599Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6be7d0 [Pipeline] echo [2024-08-07T05:44:20.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T05:44:20.810Z] provisioning config files... [2024-08-07T05:44:20.826Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-565@tmp/config15861885130623271862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:44:21.217Z] ---> ****-login.sh [2024-08-07T05:44:21.217Z] nexus3.edgexfoundry.org:10001 [2024-08-07T05:44:21.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:21.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:21.738Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:21.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:21.738Z] [2024-08-07T05:44:21.738Z] Login Succeeded [2024-08-07T05:44:21.738Z] nexus3.edgexfoundry.org:10002 [2024-08-07T05:44:21.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:21.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:21.738Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:21.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:21.738Z] [2024-08-07T05:44:21.738Z] Login Succeeded [2024-08-07T05:44:21.738Z] nexus3.edgexfoundry.org:10003 [2024-08-07T05:44:21.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:21.999Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:21.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:21.999Z] [2024-08-07T05:44:21.999Z] Login Succeeded [2024-08-07T05:44:21.999Z] nexus3.edgexfoundry.org:10004 [2024-08-07T05:44:21.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:21.999Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:21.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:21.999Z] [2024-08-07T05:44:21.999Z] Login Succeeded [2024-08-07T05:44:21.999Z] ****.io [2024-08-07T05:44:21.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:22.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:22.259Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:22.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:22.259Z] [2024-08-07T05:44:22.259Z] Login Succeeded [2024-08-07T05:44:22.259Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T05:44:22.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T05:44:22.973Z] + git rev-list -1 --merges a6be7d0a8cdc109b84d35a046af99c3985ebac0a~1..a6be7d0a8cdc109b84d35a046af99c3985ebac0a [Pipeline] echo [2024-08-07T05:44:23.019Z] -----------> git rev-list -1 --merges a6be7d0a8cdc109b84d35a046af99c3985ebac0a~1..a6be7d0a8cdc109b84d35a046af99c3985ebac0a a6be7d0a8cdc109b84d35a046af99c3985ebac0a [false] [Pipeline] sh [2024-08-07T05:44:23.340Z] + git log --format=format:%s -1 a6be7d0a8cdc109b84d35a046af99c3985ebac0a [Pipeline] echo [2024-08-07T05:44:23.393Z] ========================================================= [2024-08-07T05:44:23.393Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T05:44:23.393Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T05:44:23.848Z] + git log --format=format:%s -1 a6be7d0a8cdc109b84d35a046af99c3985ebac0a [Pipeline] echo [2024-08-07T05:44:23.891Z] [semverPrep] GIT_COMMIT: a6be7d0a8cdc109b84d35a046af99c3985ebac0a, Commit Message: build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0 [Pipeline] echo [2024-08-07T05:44:23.934Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T05:44:24.344Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T05:44:24.344Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T05:44:24.344Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T05:44:24.344Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T05:44:24.344Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T05:44:24.344Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T05:44:24.344Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:44:24.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T05:44:24.855Z] [2024-08-07T05:44:24.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:44:25.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T05:44:25.251Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T05:44:25.251Z] b85a868b505f: Pulling fs layer [2024-08-07T05:44:25.251Z] e2be974225ed: Pulling fs layer [2024-08-07T05:44:25.251Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T05:44:25.251Z] 988bab9f4d93: Pulling fs layer [2024-08-07T05:44:25.251Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T05:44:25.251Z] eaf3925da568: Pulling fs layer [2024-08-07T05:44:25.251Z] bab4dde63d76: Pulling fs layer [2024-08-07T05:44:25.251Z] bde34c3a00c8: Pulling fs layer [2024-08-07T05:44:25.251Z] b352a97aabf1: Pulling fs layer [2024-08-07T05:44:25.251Z] 4872d77fe225: Pulling fs layer [2024-08-07T05:44:25.251Z] 5851b861e8e6: Pulling fs layer [2024-08-07T05:44:25.251Z] 988bab9f4d93: Waiting [2024-08-07T05:44:25.251Z] 1469e6f7b9e6: Waiting [2024-08-07T05:44:25.251Z] b352a97aabf1: Waiting [2024-08-07T05:44:25.251Z] 4872d77fe225: Waiting [2024-08-07T05:44:25.251Z] bde34c3a00c8: Waiting [2024-08-07T05:44:25.251Z] eaf3925da568: Waiting [2024-08-07T05:44:25.251Z] 5851b861e8e6: Waiting [2024-08-07T05:44:25.251Z] bab4dde63d76: Waiting [2024-08-07T05:44:25.251Z] e2be974225ed: Verifying Checksum [2024-08-07T05:44:25.251Z] e2be974225ed: Download complete [2024-08-07T05:44:25.251Z] 988bab9f4d93: Download complete [2024-08-07T05:44:25.251Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T05:44:25.251Z] 1469e6f7b9e6: Download complete [2024-08-07T05:44:25.251Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T05:44:25.251Z] 339a4e72a1f5: Download complete [2024-08-07T05:44:25.509Z] eaf3925da568: Download complete [2024-08-07T05:44:25.509Z] bde34c3a00c8: Verifying Checksum [2024-08-07T05:44:25.509Z] bde34c3a00c8: Download complete [2024-08-07T05:44:25.509Z] b352a97aabf1: Download complete [2024-08-07T05:44:25.509Z] 4872d77fe225: Download complete [2024-08-07T05:44:25.509Z] 5851b861e8e6: Verifying Checksum [2024-08-07T05:44:25.509Z] 5851b861e8e6: Download complete [2024-08-07T05:44:25.509Z] b85a868b505f: Verifying Checksum [2024-08-07T05:44:25.509Z] b85a868b505f: Download complete [2024-08-07T05:44:25.767Z] bab4dde63d76: Verifying Checksum [2024-08-07T05:44:25.767Z] bab4dde63d76: Download complete [2024-08-07T05:44:26.704Z] b85a868b505f: Pull complete [2024-08-07T05:44:26.966Z] e2be974225ed: Pull complete [2024-08-07T05:44:27.227Z] 339a4e72a1f5: Pull complete [2024-08-07T05:44:27.487Z] 988bab9f4d93: Pull complete [2024-08-07T05:44:27.748Z] 1469e6f7b9e6: Pull complete [2024-08-07T05:44:27.748Z] eaf3925da568: Pull complete [2024-08-07T05:44:29.665Z] bab4dde63d76: Pull complete [2024-08-07T05:44:29.665Z] bde34c3a00c8: Pull complete [2024-08-07T05:44:29.665Z] b352a97aabf1: Pull complete [2024-08-07T05:44:29.665Z] 4872d77fe225: Pull complete [2024-08-07T05:44:29.665Z] 5851b861e8e6: Pull complete [2024-08-07T05:44:29.665Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T05:44:29.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T05:44:29.665Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:44:29.971Z] prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container [2024-08-07T05:44:29.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-565 -v /w/workspace/xfoundry_device-modbus-go_PR-565:/w/workspace/xfoundry_device-modbus-go_PR-565:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-565@tmp:/w/workspace/xfoundry_device-modbus-go_PR-565@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-08-07T05:44:32.954Z] $ docker top 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 -eo pid,comm [2024-08-07T05:44:33.005Z] 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-08-07T05:44:33.005Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T05:44:33.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T05:44:33.181Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T05:44:33.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T05:44:33.288Z] $ docker exec 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 ssh-agent [2024-08-07T05:44:33.396Z] SSH_AUTH_SOCK=/tmp/ssh-lBaMfofdgM7u/agent.32 [2024-08-07T05:44:33.396Z] SSH_AGENT_PID=38 [2024-08-07T05:44:33.401Z] Running ssh-add (command line suppressed) [2024-08-07T05:44:33.497Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-565@tmp/private_key_12953929281867971159.key (/w/workspace/xfoundry_device-modbus-go_PR-565@tmp/private_key_12953929281867971159.key) [2024-08-07T05:44:33.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T05:44:33.863Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T05:44:33.888Z] $ docker exec --env ******** --env ******** 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 ssh-agent -k [2024-08-07T05:44:33.985Z] unset SSH_AUTH_SOCK; [2024-08-07T05:44:33.985Z] unset SSH_AGENT_PID; [2024-08-07T05:44:33.985Z] echo Agent pid 38 killed; [2024-08-07T05:44:34.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T05:44:34.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T05:44:34.119Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T05:44:34.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T05:44:34.233Z] $ docker exec 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 ssh-agent [2024-08-07T05:44:34.338Z] SSH_AUTH_SOCK=/tmp/ssh-170UzpVZ3h6K/agent.71 [2024-08-07T05:44:34.338Z] SSH_AGENT_PID=77 [2024-08-07T05:44:34.343Z] Running ssh-add (command line suppressed) [2024-08-07T05:44:34.434Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-565@tmp/private_key_15562001989409041747.key (/w/workspace/xfoundry_device-modbus-go_PR-565@tmp/private_key_15562001989409041747.key) [2024-08-07T05:44:34.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T05:44:34.794Z] + git semver init [2024-08-07T05:44:35.054Z] 2024-08-07 05:44:34,952 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T05:44:35.054Z] 2024-08-07 05:44:34,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-565/.semver [2024-08-07T05:44:35.054Z] 2024-08-07 05:44:34,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-565/.semver [2024-08-07T05:44:35.054Z] 2024-08-07 05:44:34,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-565/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-565, universal_newlines=False, shell=None, istream=None) [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,101 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-565/.git/info/exclude [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,101 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-565/.semver/PR-565 with force:False [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,101 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-565/.semver/PR-565 [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,103 [execute] INFO git cat-file --batch-check [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-565/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,108 [execute] INFO git cat-file --batch [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-565/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T05:44:36.434Z] 2024-08-07 05:44:36,112 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-565/.semver/PR-565 [2024-08-07T05:44:36.434Z] 0.0.0 [Pipeline] } [2024-08-07T05:44:36.458Z] $ docker exec --env ******** --env ******** 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 ssh-agent -k [2024-08-07T05:44:36.552Z] unset SSH_AUTH_SOCK; [2024-08-07T05:44:36.552Z] unset SSH_AGENT_PID; [2024-08-07T05:44:36.552Z] echo Agent pid 77 killed; [2024-08-07T05:44:36.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T05:44:37.113Z] + git semver [Pipeline] } [2024-08-07T05:44:37.394Z] $ docker stop --time=1 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 [2024-08-07T05:44:38.677Z] $ docker rm -f --volumes 8f119f0b41f18cb6a242cb8aee82341b4fbae7516bf910b1cb7ade7ab6c62528 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T05:44:39.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T05:44:39.500Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T05:44:39.526Z] [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-08-07T05:44:40.234Z] provisioning config files... [2024-08-07T05:44:40.244Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-565@tmp/config10661474370390240188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:44:40.616Z] ---> ****-login.sh [2024-08-07T05:44:40.616Z] nexus3.edgexfoundry.org:10001 [2024-08-07T05:44:40.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:40.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:40.616Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:40.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:40.617Z] [2024-08-07T05:44:40.617Z] Login Succeeded [2024-08-07T05:44:40.617Z] nexus3.edgexfoundry.org:10002 [2024-08-07T05:44:40.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:40.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:40.617Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:40.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:40.617Z] [2024-08-07T05:44:40.617Z] Login Succeeded [2024-08-07T05:44:40.617Z] nexus3.edgexfoundry.org:10003 [2024-08-07T05:44:40.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:40.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:40.877Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:40.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:40.877Z] [2024-08-07T05:44:40.877Z] Login Succeeded [2024-08-07T05:44:40.877Z] nexus3.edgexfoundry.org:10004 [2024-08-07T05:44:40.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:40.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:40.878Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:40.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:40.878Z] [2024-08-07T05:44:40.878Z] Login Succeeded [2024-08-07T05:44:40.878Z] ****.io [2024-08-07T05:44:41.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:44:41.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:44:41.137Z] Configure a credential helper to remove this warning. See [2024-08-07T05:44:41.137Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:44:41.137Z] [2024-08-07T05:44:41.137Z] Login Succeeded [2024-08-07T05:44:41.137Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T05:44:41.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T05:44:41.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T05:44:41.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T05:44:41.492Z] ========================================================= [2024-08-07T05:44:41.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T05:44:41.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:44:42.015Z] + 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-08-07T05:44:42.015Z] Sending build context to Docker daemon 17.91MB [2024-08-07T05:44:42.015Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T05:44:42.015Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-07T05:44:42.015Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T05:44:42.276Z] 619be1103602: Pulling fs layer [2024-08-07T05:44:42.276Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T05:44:42.276Z] 5df492c9dc93: Pulling fs layer [2024-08-07T05:44:42.276Z] 7629e6793208: Pulling fs layer [2024-08-07T05:44:42.276Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T05:44:42.276Z] fb5054dd5b73: Pulling fs layer [2024-08-07T05:44:42.276Z] eeca6798cff9: Pulling fs layer [2024-08-07T05:44:42.276Z] aa269ceb94a6: Pulling fs layer [2024-08-07T05:44:42.276Z] ada007ff1a6a: Pulling fs layer [2024-08-07T05:44:42.276Z] 7629e6793208: Waiting [2024-08-07T05:44:42.276Z] 4f4fb700ef54: Waiting [2024-08-07T05:44:42.276Z] fb5054dd5b73: Waiting [2024-08-07T05:44:42.276Z] eeca6798cff9: Waiting [2024-08-07T05:44:42.276Z] aa269ceb94a6: Waiting [2024-08-07T05:44:42.276Z] ada007ff1a6a: Waiting [2024-08-07T05:44:42.276Z] 7862e08f4a3e: Verifying Checksum [2024-08-07T05:44:42.276Z] 7862e08f4a3e: Download complete [2024-08-07T05:44:42.276Z] 7629e6793208: Verifying Checksum [2024-08-07T05:44:42.276Z] 7629e6793208: Download complete [2024-08-07T05:44:42.276Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T05:44:42.276Z] 4f4fb700ef54: Download complete [2024-08-07T05:44:42.276Z] fb5054dd5b73: Verifying Checksum [2024-08-07T05:44:42.276Z] fb5054dd5b73: Download complete [2024-08-07T05:44:42.276Z] 619be1103602: Verifying Checksum [2024-08-07T05:44:42.276Z] 619be1103602: Download complete [2024-08-07T05:44:42.276Z] eeca6798cff9: Verifying Checksum [2024-08-07T05:44:42.276Z] eeca6798cff9: Download complete [2024-08-07T05:44:42.276Z] 619be1103602: Pull complete [2024-08-07T05:44:42.535Z] ada007ff1a6a: Verifying Checksum [2024-08-07T05:44:42.535Z] ada007ff1a6a: Download complete [2024-08-07T05:44:42.535Z] 7862e08f4a3e: Pull complete [2024-08-07T05:44:42.793Z] 5df492c9dc93: Verifying Checksum [2024-08-07T05:44:42.793Z] 5df492c9dc93: Download complete [2024-08-07T05:44:43.054Z] aa269ceb94a6: Verifying Checksum [2024-08-07T05:44:43.054Z] aa269ceb94a6: Download complete [2024-08-07T05:44:46.343Z] 5df492c9dc93: Pull complete [2024-08-07T05:44:46.343Z] 7629e6793208: Pull complete [2024-08-07T05:44:46.343Z] 4f4fb700ef54: Pull complete [2024-08-07T05:44:46.343Z] fb5054dd5b73: Pull complete [2024-08-07T05:44:46.343Z] eeca6798cff9: Pull complete [2024-08-07T05:44:48.877Z] aa269ceb94a6: Pull complete [2024-08-07T05:44:48.877Z] ada007ff1a6a: Pull complete [2024-08-07T05:44:48.877Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T05:44:48.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T05:44:48.877Z] ---> f489d0715acc [2024-08-07T05:44:48.877Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-08-07T05:44:53.075Z] ---> Running in 77fd3349200f [2024-08-07T05:44:53.075Z] Removing intermediate container 77fd3349200f [2024-08-07T05:44:53.075Z] ---> 0ae2c5dd157c [2024-08-07T05:44:53.075Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T05:44:53.075Z] ---> Running in cab2c2b05a10 [2024-08-07T05:44:53.075Z] Removing intermediate container cab2c2b05a10 [2024-08-07T05:44:53.075Z] ---> 9e37fa1c5e19 [2024-08-07T05:44:53.075Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-08-07T05:44:53.075Z] ---> Running in 63c059f330e9 [2024-08-07T05:44:53.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T05:44:53.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T05:44:53.593Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T05:44:53.593Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-08-07T05:44:53.593Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T05:44:53.593Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T05:44:53.593Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-08-07T05:44:53.593Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-08-07T05:44:53.593Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-08-07T05:44:53.593Z] (8/8) Installing openssh (9.3_p2-r2) [2024-08-07T05:44:53.593Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T05:44:53.593Z] OK: 270 MiB in 60 packages [2024-08-07T05:44:54.163Z] Removing intermediate container 63c059f330e9 [2024-08-07T05:44:54.163Z] ---> 2b29f870da3d [2024-08-07T05:44:54.163Z] Step 6/10 : WORKDIR /device-modbus-go [2024-08-07T05:44:54.163Z] ---> Running in 789740fc44b9 [2024-08-07T05:44:54.423Z] Removing intermediate container 789740fc44b9 [2024-08-07T05:44:54.423Z] ---> 00d4c03487a5 [2024-08-07T05:44:54.423Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-07T05:44:54.423Z] ---> 4056af2eb948 [2024-08-07T05:44:54.423Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T05:44:54.423Z] ---> Running in 82723ce67d6d [2024-08-07T05:44:55.017Z] Still waiting to schedule task [2024-08-07T05:44:55.018Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-07T05:45:41.096Z] Removing intermediate container 82723ce67d6d [2024-08-07T05:45:41.096Z] ---> 11ca458c4b16 [2024-08-07T05:45:41.096Z] Step 9/10 : COPY . . [2024-08-07T05:45:41.096Z] ---> 8277f8a56910 [2024-08-07T05:45:41.096Z] Step 10/10 : RUN ${MAKE} [2024-08-07T05:45:41.096Z] ---> Running in 78ebb3ef81ef [2024-08-07T05:45:41.096Z] noop [2024-08-07T05:45:41.096Z] Removing intermediate container 78ebb3ef81ef [2024-08-07T05:45:41.096Z] ---> d1c2b69b25fe [2024-08-07T05:45:41.096Z] Successfully built d1c2b69b25fe [2024-08-07T05:45:41.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:45:41.601Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T05:45:41.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:45:41.769Z] prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container [2024-08-07T05:45:41.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-565 -v /w/workspace/xfoundry_device-modbus-go_PR-565:/w/workspace/xfoundry_device-modbus-go_PR-565:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-565@tmp:/w/workspace/xfoundry_device-modbus-go_PR-565@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-08-07T05:45:42.178Z] $ docker top baa2eea5288e453ce7f497df7b394a4b72aa3572399b9c1f0ce93db34422470a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T05:45:42.594Z] + go version [2024-08-07T05:45:42.594Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T05:45:42.624Z] $ docker stop --time=1 baa2eea5288e453ce7f497df7b394a4b72aa3572399b9c1f0ce93db34422470a [2024-08-07T05:45:43.897Z] $ docker rm -f --volumes baa2eea5288e453ce7f497df7b394a4b72aa3572399b9c1f0ce93db34422470a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:45:44.714Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T05:45:44.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:45:44.894Z] prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container [2024-08-07T05:45:44.925Z] $ 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-565 -v /w/workspace/xfoundry_device-modbus-go_PR-565:/w/workspace/xfoundry_device-modbus-go_PR-565:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-565@tmp:/w/workspace/xfoundry_device-modbus-go_PR-565@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-08-07T05:45:45.277Z] $ docker top 1d8bdf42652ea32c8d5faa0d16acf7f27af701e1a5b845b88598e473615b829b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T05:45:45.689Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-565 [Pipeline] fileExists [Pipeline] sh [2024-08-07T05:45:46.085Z] + make test [2024-08-07T05:45:46.085Z] go test ./... -coverprofile=coverage.out [2024-08-07T05:45:47.464Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-08-07T05:46:09.387Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-08-07T05:46:09.387Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-08-07T05:46:17.491Z] go vet ./... [2024-08-07T05:46:24.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T05:46:24.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T05:46:24.043Z] ./bin/test-attribution-txt.sh [2024-08-07T05:46:24.043Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T05:46:24.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T05:46:24.133Z] $ docker stop --time=1 1d8bdf42652ea32c8d5faa0d16acf7f27af701e1a5b845b88598e473615b829b [2024-08-07T05:46:25.910Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7261 in /w/workspace/xfoundry_device-modbus-go_PR-565 [2024-08-07T05:46:27.390Z] $ docker rm -f --volumes 1d8bdf42652ea32c8d5faa0d16acf7f27af701e1a5b845b88598e473615b829b [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-08-07T05:46:27.833Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-08-07T05:46:27.929Z] The recommended git tool is: git [2024-08-07T05:46:28.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T05:46:28.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-07T05:46:28.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T05:46:29.134Z] + ls -al . [2024-08-07T05:46:29.134Z] total 272 [2024-08-07T05:46:29.134Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 05:45 . [2024-08-07T05:46:29.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 05:44 .. [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 05:44 .dockerignore [2024-08-07T05:46:29.134Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 05:46 .git [2024-08-07T05:46:29.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 05:44 .github [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 7 05:44 .gitignore [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 05:44 .golangci.yml [2024-08-07T05:46:29.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 05:44 .semver [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 19432 Aug 7 05:44 Attribution.txt [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 16388 Aug 7 05:44 CHANGELOG.md [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 1474 Aug 7 05:44 Dockerfile [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 05:44 GOVERNANCE.md [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 658 Aug 7 05:44 Jenkinsfile [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 05:44 LICENSE [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 1942 Aug 7 05:44 Makefile [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 7 05:44 OWNERS.md [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 4463 Aug 7 05:44 README.md [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 05:44 VERSION [2024-08-07T05:46:29.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 05:44 bin [2024-08-07T05:46:29.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 05:44 cmd [2024-08-07T05:46:29.134Z] -rw-r--r-- 1 jenkins jenkins 24601 Aug 7 05:46 coverage.out [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 7185 Aug 7 05:44 go.mod [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 102015 Aug 7 05:44 go.sum [2024-08-07T05:46:29.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 05:44 internal [2024-08-07T05:46:29.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 05:44 simulator [2024-08-07T05:46:29.134Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 7 05:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:46:29.546Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a6be7d0a8cdc109b84d35a046af99c3985ebac0a --label arch=amd64 --label version=0.0.0 . [2024-08-07T05:46:29.546Z] Sending build context to Docker daemon 17.93MB [2024-08-07T05:46:29.546Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T05:46:29.546Z] Step 2/23 : FROM ${BASE} AS builder [2024-08-07T05:46:29.546Z] ---> d1c2b69b25fe [2024-08-07T05:46:29.546Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-08-07T05:46:30.115Z] ---> Running in 223628ef1a4f [2024-08-07T05:46:30.115Z] Removing intermediate container 223628ef1a4f [2024-08-07T05:46:30.115Z] ---> 9c0963e70a95 [2024-08-07T05:46:30.115Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T05:46:30.115Z] ---> Running in ef56f78a1b29 [2024-08-07T05:46:30.115Z] Removing intermediate container ef56f78a1b29 [2024-08-07T05:46:30.115Z] ---> 8dfc5ec1a886 [2024-08-07T05:46:30.115Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-08-07T05:46:30.115Z] ---> Running in f249bc69f7ee [2024-08-07T05:46:30.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T05:46:30.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T05:46:30.941Z] OK: 270 MiB in 60 packages [2024-08-07T05:46:31.509Z] Removing intermediate container f249bc69f7ee [2024-08-07T05:46:31.509Z] ---> 0d6e76c69fed [2024-08-07T05:46:31.509Z] Step 6/23 : WORKDIR /device-modbus-go [2024-08-07T05:46:31.509Z] ---> Running in 967ebc208637 [2024-08-07T05:46:31.509Z] Removing intermediate container 967ebc208637 [2024-08-07T05:46:31.509Z] ---> 17c754383ea8 [2024-08-07T05:46:31.509Z] Step 7/23 : COPY go.mod vendor* ./ [2024-08-07T05:46:31.509Z] ---> 2cf56256b9d0 [2024-08-07T05:46:31.509Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T05:46:31.509Z] ---> Running in bdf1066bf54e [2024-08-07T05:46:32.428Z] using credential edgex-jenkins-ssh [2024-08-07T05:46:32.447Z] Removing intermediate container bdf1066bf54e [2024-08-07T05:46:32.447Z] ---> 6bcf8134c2da [2024-08-07T05:46:32.447Z] Step 9/23 : COPY . . [2024-08-07T05:46:32.449Z] Cloning the remote Git repository [2024-08-07T05:46:32.484Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-08-07T05:46:32.569Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-08-07T05:46:32.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-08-07T05:46:32.698Z] > git --version # timeout=10 [2024-08-07T05:46:32.718Z] > git --version # 'git version 2.25.1' [2024-08-07T05:46:32.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T05:46:32.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T05:46:33.014Z] ---> a6b23cf78f6f [2024-08-07T05:46:33.014Z] Step 10/23 : RUN ${MAKE} [2024-08-07T05:46:33.014Z] ---> Running in 33c35f9f13d2 [2024-08-07T05:46:33.271Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-08-07T05:46:34.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-08-07T05:46:34.881Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T05:46:36.336Z] Merging remotes/origin/main commit a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b into PR head commit a6be7d0a8cdc109b84d35a046af99c3985ebac0a [2024-08-07T05:46:36.603Z] Merge succeeded, producing a6be7d0a8cdc109b84d35a046af99c3985ebac0a [2024-08-07T05:46:36.604Z] Checking out Revision a6be7d0a8cdc109b84d35a046af99c3985ebac0a (PR-565) [2024-08-07T05:46:35.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-08-07T05:46:35.728Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-08-07T05:46:35.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T05:46:35.752Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/565/head:refs/remotes/origin/PR-565 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T05:46:36.353Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T05:46:36.414Z] > git checkout -f a6be7d0a8cdc109b84d35a046af99c3985ebac0a # timeout=10 [2024-08-07T05:46:36.494Z] > git remote # timeout=10 [2024-08-07T05:46:36.515Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T05:46:36.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T05:46:36.561Z] > git merge a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b # timeout=10 [2024-08-07T05:46:36.585Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T05:46:36.607Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T05:46:36.619Z] > git checkout -f a6be7d0a8cdc109b84d35a046af99c3985ebac0a # timeout=10 [2024-08-07T05:46:37.324Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0" [2024-08-07T05:46:37.371Z] > git --version # timeout=10 [2024-08-07T05:46:37.382Z] > git --version # 'git version 2.25.1' [2024-08-07T05:46:37.397Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T05:46:42.583Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T05:46:42.584Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T05:46:42.584Z] Dload Upload Total Spent Left Speed [2024-08-07T05:46:42.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-08-07T05:46:42.927Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T05:46:43.273Z] + sudo tee /etc/docker/daemon.new [2024-08-07T05:46:43.273Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T05:46:43.273Z] { [2024-08-07T05:46:43.273Z] "registry-mirrors": [ [2024-08-07T05:46:43.273Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T05:46:43.273Z] ], [2024-08-07T05:46:43.273Z] "bip": "10.250.0.254/24", [2024-08-07T05:46:43.273Z] "hosts": [ [2024-08-07T05:46:43.273Z] "tcp://0.0.0.0:5555", [2024-08-07T05:46:43.273Z] "unix:///var/run/docker.sock" [2024-08-07T05:46:43.273Z] ], [2024-08-07T05:46:43.273Z] "mtu": 1458, [2024-08-07T05:46:43.273Z] "selinux-enabled": true, [2024-08-07T05:46:43.273Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T05:46:43.273Z] } [Pipeline] sh [2024-08-07T05:46:43.630Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T05:46:43.993Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T05:47:02.333Z] provisioning config files... [2024-08-07T05:47:02.358Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config15802679940577916851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:47:02.852Z] ---> ****-login.sh [2024-08-07T05:47:02.852Z] nexus3.edgexfoundry.org:10001 [2024-08-07T05:47:03.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:47:03.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:47:03.389Z] Configure a credential helper to remove this warning. See [2024-08-07T05:47:03.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:47:03.389Z] [2024-08-07T05:47:03.389Z] Login Succeeded [2024-08-07T05:47:03.389Z] nexus3.edgexfoundry.org:10002 [2024-08-07T05:47:03.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:47:03.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:47:03.656Z] Configure a credential helper to remove this warning. See [2024-08-07T05:47:03.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:47:03.656Z] [2024-08-07T05:47:03.656Z] Login Succeeded [2024-08-07T05:47:03.656Z] nexus3.edgexfoundry.org:10003 [2024-08-07T05:47:03.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:47:04.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:47:04.194Z] Configure a credential helper to remove this warning. See [2024-08-07T05:47:04.194Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:47:04.194Z] [2024-08-07T05:47:04.194Z] Login Succeeded [2024-08-07T05:47:04.194Z] nexus3.edgexfoundry.org:10004 [2024-08-07T05:47:04.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:47:04.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:47:04.465Z] Configure a credential helper to remove this warning. See [2024-08-07T05:47:04.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:47:04.465Z] [2024-08-07T05:47:04.465Z] Login Succeeded [2024-08-07T05:47:04.465Z] ****.io [2024-08-07T05:47:04.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T05:47:04.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T05:47:04.998Z] Configure a credential helper to remove this warning. See [2024-08-07T05:47:04.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T05:47:04.998Z] [2024-08-07T05:47:04.998Z] Login Succeeded [2024-08-07T05:47:04.998Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T05:47:05.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-08-07T05:47:05.370Z] Removing intermediate container 33c35f9f13d2 [2024-08-07T05:47:05.370Z] ---> 69aba35d21f5 [2024-08-07T05:47:05.370Z] Step 11/23 : FROM alpine:3.18 [Pipeline] echo [2024-08-07T05:47:05.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T05:47:05.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T05:47:05.546Z] ========================================================= [2024-08-07T05:47:05.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T05:47:05.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:47:05.935Z] 3.18: Pulling from library/alpine [2024-08-07T05:47:05.935Z] 930bdd4d222e: Pulling fs layer [2024-08-07T05:47:06.082Z] + 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-08-07T05:47:06.193Z] 930bdd4d222e: Verifying Checksum [2024-08-07T05:47:06.194Z] 930bdd4d222e: Download complete [2024-08-07T05:47:06.349Z] Sending build context to Docker daemon 9.085MB [2024-08-07T05:47:06.452Z] 930bdd4d222e: Pull complete [2024-08-07T05:47:06.452Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T05:47:06.452Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T05:47:06.452Z] ---> 18f865063206 [2024-08-07T05:47:06.452Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-08-07T05:47:06.452Z] ---> Running in ba93268bd0d3 [2024-08-07T05:47:06.452Z] Removing intermediate container ba93268bd0d3 [2024-08-07T05:47:06.452Z] ---> b66a9691f41e [2024-08-07T05:47:06.452Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-08-07T05:47:06.452Z] ---> Running in 527965d39c49 [2024-08-07T05:47:06.616Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T05:47:06.616Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-07T05:47:06.616Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T05:47:06.616Z] c6b39de5b339: Pulling fs layer [2024-08-07T05:47:06.616Z] a69c41024577: Pulling fs layer [2024-08-07T05:47:06.616Z] d6de4b400683: Pulling fs layer [2024-08-07T05:47:06.616Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T05:47:06.616Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T05:47:06.616Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T05:47:06.616Z] 00f215d4a9da: Pulling fs layer [2024-08-07T05:47:06.616Z] d496ad576159: Pulling fs layer [2024-08-07T05:47:06.616Z] 4f4fb700ef54: Waiting [2024-08-07T05:47:06.616Z] 464afbd9ba4c: Waiting [2024-08-07T05:47:06.616Z] 00f215d4a9da: Waiting [2024-08-07T05:47:06.616Z] d496ad576159: Waiting [2024-08-07T05:47:06.616Z] 35cb2a7552d0: Waiting [2024-08-07T05:47:06.616Z] a69c41024577: Verifying Checksum [2024-08-07T05:47:06.616Z] a69c41024577: Download complete [2024-08-07T05:47:06.616Z] 35cb2a7552d0: Verifying Checksum [2024-08-07T05:47:06.616Z] 35cb2a7552d0: Download complete [2024-08-07T05:47:06.616Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T05:47:06.616Z] 4f4fb700ef54: Download complete [2024-08-07T05:47:06.616Z] 464afbd9ba4c: Verifying Checksum [2024-08-07T05:47:06.616Z] 464afbd9ba4c: Download complete [2024-08-07T05:47:06.891Z] c6b39de5b339: Download complete [2024-08-07T05:47:07.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T05:47:07.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T05:47:07.166Z] d496ad576159: Verifying Checksum [2024-08-07T05:47:07.166Z] d496ad576159: Download complete [2024-08-07T05:47:07.284Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T05:47:07.284Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T05:47:07.284Z] OK: 7 MiB in 16 packages [2024-08-07T05:47:07.543Z] Removing intermediate container 527965d39c49 [2024-08-07T05:47:07.543Z] ---> 1e4b29d676be [2024-08-07T05:47:07.543Z] Step 14/23 : RUN apk --no-cache upgrade [2024-08-07T05:47:07.543Z] ---> Running in b369142bafd7 [2024-08-07T05:47:07.758Z] c6b39de5b339: Pull complete [2024-08-07T05:47:07.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T05:47:08.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T05:47:08.059Z] OK: 7 MiB in 16 packages [2024-08-07T05:47:08.346Z] a69c41024577: Pull complete [2024-08-07T05:47:08.614Z] d6de4b400683: Download complete [2024-08-07T05:47:08.626Z] Removing intermediate container b369142bafd7 [2024-08-07T05:47:08.626Z] ---> c497653aca66 [2024-08-07T05:47:08.626Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-08-07T05:47:09.559Z] ---> b05a4df06e94 [2024-08-07T05:47:09.559Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-08-07T05:47:09.559Z] ---> 403748ea24a4 [2024-08-07T05:47:09.559Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-08-07T05:47:09.578Z] 00f215d4a9da: Verifying Checksum [2024-08-07T05:47:09.578Z] 00f215d4a9da: Download complete [2024-08-07T05:47:09.817Z] ---> 17d14d8bb70e [2024-08-07T05:47:09.817Z] Step 18/23 : EXPOSE 59901 [2024-08-07T05:47:09.817Z] ---> Running in 038047bf7818 [2024-08-07T05:47:09.817Z] Removing intermediate container 038047bf7818 [2024-08-07T05:47:09.817Z] ---> 3320cb27c30a [2024-08-07T05:47:09.817Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-08-07T05:47:09.817Z] ---> Running in 62414a5b519a [2024-08-07T05:47:10.075Z] Removing intermediate container 62414a5b519a [2024-08-07T05:47:10.075Z] ---> a10053baa873 [2024-08-07T05:47:10.075Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-07T05:47:10.075Z] ---> Running in 1caeff02a37f [2024-08-07T05:47:10.075Z] Removing intermediate container 1caeff02a37f [2024-08-07T05:47:10.075Z] ---> 83b59d9af5f0 [2024-08-07T05:47:10.075Z] Step 21/23 : LABEL arch=amd64 [2024-08-07T05:47:10.075Z] ---> Running in 7ce6e538fc05 [2024-08-07T05:47:10.336Z] Removing intermediate container 7ce6e538fc05 [2024-08-07T05:47:10.336Z] ---> 138efe4f6556 [2024-08-07T05:47:10.336Z] Step 22/23 : LABEL git_sha=a6be7d0a8cdc109b84d35a046af99c3985ebac0a [2024-08-07T05:47:10.336Z] ---> Running in dc7fc8c2490d [2024-08-07T05:47:10.336Z] Removing intermediate container dc7fc8c2490d [2024-08-07T05:47:10.336Z] ---> b83709d23669 [2024-08-07T05:47:10.336Z] Step 23/23 : LABEL version=0.0.0 [2024-08-07T05:47:10.336Z] ---> Running in 426fe9ff25ff [2024-08-07T05:47:10.336Z] Removing intermediate container 426fe9ff25ff [2024-08-07T05:47:10.336Z] ---> 613cbafceada [2024-08-07T05:47:10.336Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T05:47:10.336Z] Successfully built 613cbafceada [2024-08-07T05:47:10.336Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:47:11.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T05:47:11.330Z] [2024-08-07T05:47:11.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:47:11.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T05:47:11.736Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T05:47:11.736Z] 5eb5b503b376: Pulling fs layer [2024-08-07T05:47:11.736Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T05:47:11.736Z] ec43610c2a17: Pulling fs layer [2024-08-07T05:47:11.736Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T05:47:11.736Z] 33b1e0a273af: Pulling fs layer [2024-08-07T05:47:11.736Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T05:47:11.736Z] 2f39f015ded8: Pulling fs layer [2024-08-07T05:47:11.736Z] 5d3b04190fa2: Waiting [2024-08-07T05:47:11.736Z] 33b1e0a273af: Waiting [2024-08-07T05:47:11.736Z] 3a2ae6a8a46f: Waiting [2024-08-07T05:47:11.736Z] 5c69ac0246d0: Download complete [2024-08-07T05:47:11.736Z] 3a2ae6a8a46f: Download complete [2024-08-07T05:47:11.736Z] 33b1e0a273af: Verifying Checksum [2024-08-07T05:47:11.736Z] 33b1e0a273af: Download complete [2024-08-07T05:47:11.736Z] ec43610c2a17: Verifying Checksum [2024-08-07T05:47:11.736Z] ec43610c2a17: Download complete [2024-08-07T05:47:11.737Z] 5d3b04190fa2: Verifying Checksum [2024-08-07T05:47:11.737Z] 5d3b04190fa2: Download complete [2024-08-07T05:47:11.995Z] 5eb5b503b376: Verifying Checksum [2024-08-07T05:47:11.995Z] 5eb5b503b376: Download complete [2024-08-07T05:47:12.563Z] 2f39f015ded8: Download complete [2024-08-07T05:47:13.132Z] 5eb5b503b376: Pull complete [2024-08-07T05:47:13.391Z] 5c69ac0246d0: Pull complete [2024-08-07T05:47:13.650Z] ec43610c2a17: Pull complete [2024-08-07T05:47:13.650Z] 3a2ae6a8a46f: Pull complete [2024-08-07T05:47:13.910Z] 33b1e0a273af: Pull complete [2024-08-07T05:47:14.168Z] 5d3b04190fa2: Pull complete [2024-08-07T05:47:18.362Z] 2f39f015ded8: Pull complete [2024-08-07T05:47:18.362Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T05:47:18.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T05:47:18.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:47:18.615Z] prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container [2024-08-07T05:47:18.643Z] $ 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-565 -v /w/workspace/xfoundry_device-modbus-go_PR-565:/w/workspace/xfoundry_device-modbus-go_PR-565:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-565@tmp:/w/workspace/xfoundry_device-modbus-go_PR-565@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-08-07T05:47:21.885Z] d6de4b400683: Pull complete [2024-08-07T05:47:21.885Z] 35cb2a7552d0: Pull complete [2024-08-07T05:47:21.885Z] 4f4fb700ef54: Pull complete [2024-08-07T05:47:21.885Z] 464afbd9ba4c: Pull complete [2024-08-07T05:47:21.946Z] $ docker top 3e5d6a4154d895091cf29097ed3f684629dac5c43ab5cc58edcde2c353f65af0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:47:22.458Z] ---> job-cost.sh [2024-08-07T05:47:22.458Z] lf-activate-venv: SKIPPING [2024-08-07T05:47:22.458Z] INFO: No Stack... [2024-08-07T05:47:22.717Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T05:47:22.976Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T05:47:23.293Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-565/archives/cost.csv [2024-08-07T05:47:23.293Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T05:47:23.342Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] [2024-08-07T05:47:23.348Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] did not exist. Created. [2024-08-07T05:47:23.363Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T05:47:23.772Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T05:47:23.835Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T05:47:23.883Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T05:47:23.984Z] $ docker stop --time=1 3e5d6a4154d895091cf29097ed3f684629dac5c43ab5cc58edcde2c353f65af0 [2024-08-07T05:47:25.141Z] $ docker rm -f --volumes 3e5d6a4154d895091cf29097ed3f684629dac5c43ab5cc58edcde2c353f65af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T05:47:31.974Z] 00f215d4a9da: Pull complete [2024-08-07T05:47:31.974Z] d496ad576159: Pull complete [2024-08-07T05:47:31.974Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T05:47:32.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T05:47:32.242Z] ---> f246e2811388 [2024-08-07T05:47:32.242Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-08-07T05:47:34.179Z] ---> Running in 651c25336925 [2024-08-07T05:47:34.179Z] Removing intermediate container 651c25336925 [2024-08-07T05:47:34.179Z] ---> 1d556950e6d6 [2024-08-07T05:47:34.179Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T05:47:34.179Z] ---> Running in 8cf7d9798f0f [2024-08-07T05:47:34.448Z] Removing intermediate container 8cf7d9798f0f [2024-08-07T05:47:34.449Z] ---> f3f778a7bda1 [2024-08-07T05:47:34.449Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-08-07T05:47:34.449Z] ---> Running in b8b32ae7f9bb [2024-08-07T05:47:35.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T05:47:36.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T05:47:37.084Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T05:47:37.084Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-08-07T05:47:37.084Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T05:47:37.084Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T05:47:37.084Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-08-07T05:47:37.084Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-08-07T05:47:37.084Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-08-07T05:47:37.084Z] (8/8) Installing openssh (9.3_p2-r2) [2024-08-07T05:47:37.084Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T05:47:37.084Z] OK: 272 MiB in 60 packages [2024-08-07T05:47:38.493Z] Removing intermediate container b8b32ae7f9bb [2024-08-07T05:47:38.493Z] ---> f93a61ba65a3 [2024-08-07T05:47:38.493Z] Step 6/10 : WORKDIR /device-modbus-go [2024-08-07T05:47:38.493Z] ---> Running in 36aed718e60b [2024-08-07T05:47:38.493Z] Removing intermediate container 36aed718e60b [2024-08-07T05:47:38.493Z] ---> 04c7e03e19c2 [2024-08-07T05:47:38.493Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-07T05:47:39.076Z] ---> 167beb305cb3 [2024-08-07T05:47:39.076Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T05:47:39.076Z] ---> Running in 37172e57fda6 [2024-08-07T05:49:30.719Z] Removing intermediate container 37172e57fda6 [2024-08-07T05:49:30.719Z] ---> 8a62e2ed6848 [2024-08-07T05:49:30.719Z] Step 9/10 : COPY . . [2024-08-07T05:49:30.719Z] ---> a6e27c22a691 [2024-08-07T05:49:30.719Z] Step 10/10 : RUN ${MAKE} [2024-08-07T05:49:30.719Z] ---> Running in 71ddfac0eba5 [2024-08-07T05:49:30.719Z] noop [2024-08-07T05:49:30.719Z] Removing intermediate container 71ddfac0eba5 [2024-08-07T05:49:30.719Z] ---> d50a4474c4ae [2024-08-07T05:49:30.719Z] Successfully built d50a4474c4ae [2024-08-07T05:49:30.719Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:49:31.217Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T05:49:31.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:49:31.516Z] prd-ubuntu20.04-docker-arm64-4c-16g-7261 does not seem to be running inside a container [2024-08-07T05:49:31.584Z] $ 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-08-07T05:49:32.851Z] $ docker top fb64cc7afec2e9408afebbe8ab3a99660415a098fd087ddd466d2349521a0ffb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T05:49:33.760Z] + go version [2024-08-07T05:49:33.760Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T05:49:33.788Z] $ docker stop --time=1 fb64cc7afec2e9408afebbe8ab3a99660415a098fd087ddd466d2349521a0ffb [2024-08-07T05:49:35.413Z] $ docker rm -f --volumes fb64cc7afec2e9408afebbe8ab3a99660415a098fd087ddd466d2349521a0ffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:49:36.349Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T05:49:36.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:49:36.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-7261 does not seem to be running inside a container [2024-08-07T05:49:36.672Z] $ 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-08-07T05:49:37.850Z] $ docker top 6a29448b1a7796904f011ae20924926bbdaa7c92b7f99202982fa704fc700fb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T05:49:38.757Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-07T05:49:39.178Z] + make test [2024-08-07T05:49:39.178Z] go test ./... -coverprofile=coverage.out [2024-08-07T05:49:45.832Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-08-07T05:53:22.634Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-08-07T05:53:22.634Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.9% of statements [2024-08-07T05:53:22.634Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T05:53:22.634Z] go vet ./... [2024-08-07T05:54:01.522Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T05:54:01.522Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T05:54:01.522Z] ./bin/test-attribution-txt.sh [2024-08-07T05:54:02.111Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T05:54:02.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T05:54:02.458Z] $ docker stop --time=1 6a29448b1a7796904f011ae20924926bbdaa7c92b7f99202982fa704fc700fb6 [2024-08-07T05:54:04.395Z] $ docker rm -f --volumes 6a29448b1a7796904f011ae20924926bbdaa7c92b7f99202982fa704fc700fb6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T05:54:06.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T05:54:06.103Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T05:54:06.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T05:54:07.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T05:54:07.512Z] + ls -al . [2024-08-07T05:54:07.512Z] total 268 [2024-08-07T05:54:07.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 05:49 . [2024-08-07T05:54:07.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 05:46 .. [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 05:46 .dockerignore [2024-08-07T05:54:07.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 05:46 .git [2024-08-07T05:54:07.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 05:46 .github [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 7 05:46 .gitignore [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 05:46 .golangci.yml [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 19432 Aug 7 05:46 Attribution.txt [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 16388 Aug 7 05:46 CHANGELOG.md [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 1474 Aug 7 05:46 Dockerfile [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 05:46 GOVERNANCE.md [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 658 Aug 7 05:46 Jenkinsfile [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 05:46 LICENSE [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 1942 Aug 7 05:46 Makefile [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 7 05:46 OWNERS.md [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 4463 Aug 7 05:46 README.md [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 05:44 VERSION [2024-08-07T05:54:07.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 05:46 bin [2024-08-07T05:54:07.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 05:46 cmd [2024-08-07T05:54:07.512Z] -rw-r--r-- 1 jenkins jenkins 24601 Aug 7 05:53 coverage.out [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 7185 Aug 7 05:46 go.mod [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 102015 Aug 7 05:46 go.sum [2024-08-07T05:54:07.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 05:46 internal [2024-08-07T05:54:07.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 05:46 simulator [2024-08-07T05:54:07.512Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 7 05:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:54:07.951Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a6be7d0a8cdc109b84d35a046af99c3985ebac0a --label arch=arm64 --label version=0.0.0 . [2024-08-07T05:54:08.220Z] Sending build context to Docker daemon 9.111MB [2024-08-07T05:54:08.486Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T05:54:08.486Z] Step 2/23 : FROM ${BASE} AS builder [2024-08-07T05:54:08.486Z] ---> d50a4474c4ae [2024-08-07T05:54:08.486Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-08-07T05:54:08.486Z] ---> Running in b3b82d8d9df3 [2024-08-07T05:54:08.765Z] Removing intermediate container b3b82d8d9df3 [2024-08-07T05:54:08.765Z] ---> 2db22c8e20b2 [2024-08-07T05:54:08.765Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T05:54:09.033Z] ---> Running in 881c201021aa [2024-08-07T05:54:09.301Z] Removing intermediate container 881c201021aa [2024-08-07T05:54:09.301Z] ---> 7a67e2c0f6f9 [2024-08-07T05:54:09.301Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-08-07T05:54:09.301Z] ---> Running in b77e89cb12de [2024-08-07T05:54:10.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T05:54:10.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T05:54:11.941Z] OK: 272 MiB in 60 packages [2024-08-07T05:54:12.918Z] Removing intermediate container b77e89cb12de [2024-08-07T05:54:12.918Z] ---> 1deaffaefc56 [2024-08-07T05:54:12.918Z] Step 6/23 : WORKDIR /device-modbus-go [2024-08-07T05:54:12.918Z] ---> Running in 56c145e507a9 [2024-08-07T05:54:13.186Z] Removing intermediate container 56c145e507a9 [2024-08-07T05:54:13.186Z] ---> 26da3f039ef7 [2024-08-07T05:54:13.186Z] Step 7/23 : COPY go.mod vendor* ./ [2024-08-07T05:54:13.793Z] ---> bf46d3b1e048 [2024-08-07T05:54:13.793Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T05:54:13.793Z] ---> Running in 3b359e7132d1 [2024-08-07T05:54:16.384Z] Removing intermediate container 3b359e7132d1 [2024-08-07T05:54:16.384Z] ---> c939c6dbe629 [2024-08-07T05:54:16.384Z] Step 9/23 : COPY . . [2024-08-07T05:54:17.346Z] ---> 6de70ac2375c [2024-08-07T05:54:17.346Z] Step 10/23 : RUN ${MAKE} [2024-08-07T05:54:17.346Z] ---> Running in 0c27761e1ab2 [2024-08-07T05:54:18.309Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-08-07T05:57:55.076Z] Removing intermediate container 0c27761e1ab2 [2024-08-07T05:57:55.076Z] ---> 3f524b2fb9df [2024-08-07T05:57:55.076Z] Step 11/23 : FROM alpine:3.18 [2024-08-07T05:57:55.076Z] 3.18: Pulling from library/alpine [2024-08-07T05:57:55.076Z] 4983c3fe2029: Pulling fs layer [2024-08-07T05:57:55.076Z] 4983c3fe2029: Verifying Checksum [2024-08-07T05:57:55.076Z] 4983c3fe2029: Download complete [2024-08-07T05:57:55.076Z] 4983c3fe2029: Pull complete [2024-08-07T05:57:55.076Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T05:57:55.076Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T05:57:55.076Z] ---> a0237000ae83 [2024-08-07T05:57:55.076Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-08-07T05:57:55.076Z] ---> Running in 4d49f33a8d72 [2024-08-07T05:57:55.076Z] Removing intermediate container 4d49f33a8d72 [2024-08-07T05:57:55.076Z] ---> e75091b0f07f [2024-08-07T05:57:55.076Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-08-07T05:57:55.076Z] ---> Running in 0319b23dcb7c [2024-08-07T05:57:55.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T05:57:55.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T05:57:55.076Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T05:57:55.076Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T05:57:55.076Z] OK: 8 MiB in 16 packages [2024-08-07T05:57:55.076Z] Removing intermediate container 0319b23dcb7c [2024-08-07T05:57:55.076Z] ---> 0aad8820bc29 [2024-08-07T05:57:55.076Z] Step 14/23 : RUN apk --no-cache upgrade [2024-08-07T05:57:55.076Z] ---> Running in a0f0f1414760 [2024-08-07T05:57:55.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T05:57:55.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T05:57:55.076Z] OK: 8 MiB in 16 packages [2024-08-07T05:57:55.076Z] Removing intermediate container a0f0f1414760 [2024-08-07T05:57:55.076Z] ---> 1fdb33eb62f0 [2024-08-07T05:57:55.076Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-08-07T05:57:55.076Z] ---> e51c03f4bc15 [2024-08-07T05:57:55.076Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-08-07T05:57:55.076Z] ---> 9144b76a7348 [2024-08-07T05:57:55.076Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-08-07T05:57:55.076Z] ---> 42427c8b021c [2024-08-07T05:57:55.076Z] Step 18/23 : EXPOSE 59901 [2024-08-07T05:57:55.076Z] ---> Running in b40380b17f67 [2024-08-07T05:57:55.354Z] Removing intermediate container b40380b17f67 [2024-08-07T05:57:55.354Z] ---> 3a00c9a592ca [2024-08-07T05:57:55.354Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-08-07T05:57:55.624Z] ---> Running in 4cfb41e7e817 [2024-08-07T05:57:55.890Z] Removing intermediate container 4cfb41e7e817 [2024-08-07T05:57:55.890Z] ---> e2bbc54e395f [2024-08-07T05:57:55.890Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-07T05:57:55.890Z] ---> Running in d36234214d69 [2024-08-07T05:57:56.156Z] Removing intermediate container d36234214d69 [2024-08-07T05:57:56.156Z] ---> e7896dc0fdda [2024-08-07T05:57:56.156Z] Step 21/23 : LABEL arch=arm64 [2024-08-07T05:57:56.156Z] ---> Running in 665163d8296a [2024-08-07T05:57:56.421Z] Removing intermediate container 665163d8296a [2024-08-07T05:57:56.421Z] ---> ff44c848c382 [2024-08-07T05:57:56.421Z] Step 22/23 : LABEL git_sha=a6be7d0a8cdc109b84d35a046af99c3985ebac0a [2024-08-07T05:57:56.687Z] ---> Running in 4601341af4b4 [2024-08-07T05:57:56.953Z] Removing intermediate container 4601341af4b4 [2024-08-07T05:57:56.953Z] ---> b1c4130063e9 [2024-08-07T05:57:56.953Z] Step 23/23 : LABEL version=0.0.0 [2024-08-07T05:57:56.953Z] ---> Running in 67008c3a0e46 [2024-08-07T05:57:57.218Z] Removing intermediate container 67008c3a0e46 [2024-08-07T05:57:57.218Z] ---> 578f30ed55ac [2024-08-07T05:57:57.218Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T05:57:57.218Z] Successfully built 578f30ed55ac [2024-08-07T05:57:57.218Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:57:58.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T05:57:58.198Z] [2024-08-07T05:57:58.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:57:58.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T05:57:58.617Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T05:57:58.617Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T05:57:58.617Z] 04944245beec: Pulling fs layer [2024-08-07T05:57:58.617Z] 699f458cf7ca: Pulling fs layer [2024-08-07T05:57:58.617Z] 765212b225bb: Pulling fs layer [2024-08-07T05:57:58.617Z] f23df028b6ca: Pulling fs layer [2024-08-07T05:57:58.617Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T05:57:58.617Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T05:57:58.617Z] 765212b225bb: Waiting [2024-08-07T05:57:58.617Z] f23df028b6ca: Waiting [2024-08-07T05:57:58.617Z] d65c8cfc05b1: Waiting [2024-08-07T05:57:58.884Z] 04944245beec: Verifying Checksum [2024-08-07T05:57:58.884Z] 04944245beec: Download complete [2024-08-07T05:57:58.884Z] 765212b225bb: Verifying Checksum [2024-08-07T05:57:58.884Z] 765212b225bb: Download complete [2024-08-07T05:57:58.884Z] f23df028b6ca: Verifying Checksum [2024-08-07T05:57:58.884Z] f23df028b6ca: Download complete [2024-08-07T05:57:58.884Z] d65c8cfc05b1: Verifying Checksum [2024-08-07T05:57:58.884Z] d65c8cfc05b1: Download complete [2024-08-07T05:57:59.151Z] 699f458cf7ca: Verifying Checksum [2024-08-07T05:57:59.151Z] 699f458cf7ca: Download complete [2024-08-07T05:57:59.419Z] 8998bd30e6a1: Verifying Checksum [2024-08-07T05:57:59.419Z] 8998bd30e6a1: Download complete [2024-08-07T05:58:02.019Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T05:58:02.019Z] 2437ff75d9bd: Download complete [2024-08-07T05:58:03.962Z] 8998bd30e6a1: Pull complete [2024-08-07T05:58:04.546Z] 04944245beec: Pull complete [2024-08-07T05:58:06.484Z] 699f458cf7ca: Pull complete [2024-08-07T05:58:06.484Z] 765212b225bb: Pull complete [2024-08-07T05:58:07.066Z] f23df028b6ca: Pull complete [2024-08-07T05:58:07.331Z] d65c8cfc05b1: Pull complete [2024-08-07T05:58:25.520Z] 2437ff75d9bd: Pull complete [2024-08-07T05:58:25.520Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T05:58:25.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T05:58:25.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:58:25.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-7261 does not seem to be running inside a container [2024-08-07T05:58:25.951Z] $ 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-08-07T05:58:28.893Z] $ docker top 3bbcea76ac0c071ba10bf5d06f36bb5db1c88f076c7a375c31aa865ea989bc7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:29.845Z] ---> job-cost.sh [2024-08-07T05:58:29.845Z] lf-activate-venv: SKIPPING [2024-08-07T05:58:29.845Z] INFO: No Stack... [2024-08-07T05:58:30.424Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T05:58:31.382Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T05:58:32.059Z] + cut -d, -f6 [2024-08-07T05:58:32.059Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-08-07T05:58:32.143Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] [2024-08-07T05:58:32.151Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] did not exist. Created. [2024-08-07T05:58:32.158Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T05:58:32.585Z] /w/workspace/device-modbus-go/1@tmp/durable-9fb45eb1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T05:58:32.946Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T05:58:32.989Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T05:58:33.046Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T05:58:33.072Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-565-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T05:58:33.165Z] $ docker stop --time=1 3bbcea76ac0c071ba10bf5d06f36bb5db1c88f076c7a375c31aa865ea989bc7f [2024-08-07T05:58:34.606Z] $ docker rm -f --volumes 3bbcea76ac0c071ba10bf5d06f36bb5db1c88f076c7a375c31aa865ea989bc7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-07T05:58:35.761Z] provisioning config files... [2024-08-07T05:58:35.771Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-565@tmp/config850364309692806079tmp [Pipeline] { [Pipeline] sh [2024-08-07T05:58:36.122Z] + set +x [2024-08-07T05:58:36.122Z] + curl -s https://codecov.io/bash [2024-08-07T05:58:36.122Z] + bash -s -- [2024-08-07T05:58:36.122Z] [2024-08-07T05:58:36.122Z] _____ _ [2024-08-07T05:58:36.122Z] / ____| | | [2024-08-07T05:58:36.122Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T05:58:36.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T05:58:36.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T05:58:36.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T05:58:36.122Z] Bash-1.0.6 [2024-08-07T05:58:36.122Z] [2024-08-07T05:58:36.122Z] [2024-08-07T05:58:36.122Z] ==> git version 2.25.1 found [2024-08-07T05:58:36.122Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-07T05:58:36.122Z] Release-Date: 2020-01-08 [2024-08-07T05:58:36.122Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-07T05:58:36.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T05:58:36.122Z] ==> Jenkins CI detected. [2024-08-07T05:58:36.122Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-565 [2024-08-07T05:58:36.122Z] project root: . [2024-08-07T05:58:36.122Z] --> token set from env [2024-08-07T05:58:36.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T05:58:36.122Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T05:58:36.122Z] ==> Python coveragepy not found [2024-08-07T05:58:36.122Z] ==> Searching for coverage reports in: [2024-08-07T05:58:36.122Z] + . [2024-08-07T05:58:36.122Z] -> Found 1 reports [2024-08-07T05:58:36.122Z] ==> Detecting git/mercurial file structure [2024-08-07T05:58:36.388Z] ==> Reading reports [2024-08-07T05:58:36.388Z] + ./coverage.out bytes=24601 [2024-08-07T05:58:36.388Z] ==> Appending adjustments [2024-08-07T05:58:36.388Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T05:58:36.388Z] + Found adjustments [2024-08-07T05:58:36.388Z] ==> Gzipping contents [2024-08-07T05:58:36.388Z] 4.0K /tmp/codecov.mziEgH.gz [2024-08-07T05:58:36.388Z] ==> Uploading reports [2024-08-07T05:58:36.388Z] url: https://codecov.io [2024-08-07T05:58:36.388Z] query: branch=PR-565&commit=a6be7d0a8cdc109b84d35a046af99c3985ebac0a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=565&job=&cmd_args= [2024-08-07T05:58:36.388Z] -> Pinging Codecov [2024-08-07T05:58:36.388Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-565&commit=a6be7d0a8cdc109b84d35a046af99c3985ebac0a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=565&job=&cmd_args= [2024-08-07T05:58:36.388Z] -> Uploading to [2024-08-07T05:58:36.388Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/55DBCA73C666E3227836607328DD7E49/a6be7d0a8cdc109b84d35a046af99c3985ebac0a/f16ae065-f7f1-4fb6-a22a-64d65f5f3bdd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T055836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d7e0c6bfb2bc49ddb65a0e0a78bc54f8b4938c6ce17bb7656c3b68cb67c4a46 [2024-08-07T05:58:36.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T05:58:36.388Z] Dload Upload Total Spent Left Speed [2024-08-07T05:58:36.650Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17080 --:--:-- --:--:-- --:--:-- 17080 [2024-08-07T05:58:36.650Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a6be7d0a8cdc109b84d35a046af99c3985ebac0a [Pipeline] } [2024-08-07T05:58:36.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-07T05:58:38.941Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-565/archives ] [2024-08-07T05:58:38.941Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-565/archives [2024-08-07T05:58:38.941Z] total 16 [2024-08-07T05:58:38.941Z] drwxr-xr-x 3 root root 4096 Aug 7 05:47 . [2024-08-07T05:58:38.941Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 05:47 .. [2024-08-07T05:58:38.941Z] drwxr-xr-x 2 root root 4096 Aug 7 05:47 cost [2024-08-07T05:58:38.941Z] -rw-r--r-- 1 root root 88 Aug 7 05:47 cost.csv [2024-08-07T05:58:38.941Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-565/archives [2024-08-07T05:58:38.941Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-565/archives [2024-08-07T05:58:38.941Z] total 16 [2024-08-07T05:58:38.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 05:47 . [2024-08-07T05:58:38.941Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 05:47 .. [2024-08-07T05:58:38.941Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 05:47 cost [2024-08-07T05:58:38.941Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 7 05:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:39.287Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:40.193Z] ---> package-listing.sh [2024-08-07T05:58:40.193Z] ++ facter osfamily [2024-08-07T05:58:40.193Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T05:58:40.453Z] + OS_FAMILY=debian [2024-08-07T05:58:40.453Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-565 [2024-08-07T05:58:40.453Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T05:58:40.453Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T05:58:40.453Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T05:58:40.453Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T05:58:40.453Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-565 ']' [2024-08-07T05:58:40.453Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T05:58:40.453Z] + case "${OS_FAMILY}" in [2024-08-07T05:58:40.453Z] + dpkg -l [2024-08-07T05:58:40.453Z] + grep '^ii' [2024-08-07T05:58:40.453Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T05:58:40.453Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T05:58:40.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T05:58:40.453Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-565 ']' [2024-08-07T05:58:40.453Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-565/archives/ [2024-08-07T05:58:40.453Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-565/archives/ [Pipeline] echo [2024-08-07T05:58:40.493Z] 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-565/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T05:58:40.792Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T05:58:41.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T05:58:41.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T05:58:41.695Z] prd-ubuntu20.04-docker-8c-8g-7260 does not seem to be running inside a container [2024-08-07T05:58:41.825Z] $ 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-565/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-565 -v /w/workspace/xfoundry_device-modbus-go_PR-565:/w/workspace/xfoundry_device-modbus-go_PR-565:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-565@tmp:/w/workspace/xfoundry_device-modbus-go_PR-565@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-08-07T05:58:42.024Z] $ docker top ecc9ca9ed178b925e7f9b69ca1c7e5782e1af385ca6c99a842c49116012431fc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T05:58:42.493Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T05:58:42.887Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T05:58:43.208Z] + ls /var/log/sa-host [2024-08-07T05:58:43.208Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T05:58:43.441Z] provisioning config files... [2024-08-07T05:58:43.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-565@tmp/config4797642969024737210tmp [Pipeline] { [Pipeline] echo [2024-08-07T05:58:43.526Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:43.861Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T05:58:43.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:44.393Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T05:58:44.435Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:44.760Z] ---> sudo-logs.sh [2024-08-07T05:58:44.760Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T05:58:44.867Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:45.192Z] ---> job-cost.sh [2024-08-07T05:58:45.192Z] lf-activate-venv: SKIPPING [2024-08-07T05:58:45.192Z] DEBUG: total: 0.2199999988079071 [2024-08-07T05:58:45.192Z] INFO: Retrieving Stack Cost... [2024-08-07T05:58:45.451Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T05:58:46.019Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T05:58:46.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T05:58:46.386Z] ---> logs-deploy.sh [2024-08-07T05:58:46.386Z] lf-activate-venv: SKIPPING [2024-08-07T05:58:46.386Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-565/1 [2024-08-07T05:58:46.386Z] INFO: archiving workspace using pattern(s): [2024-08-07T05:58:47.323Z] Archives upload complete. [2024-08-07T05:58:47.323Z] INFO: archiving logs to Nexus