Pull request #562 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6fe663430dc2fd31ed2be3ef3a9035e314d112bd+6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 (0447e6eae7f467aa98cf4d923c8cfd5680595e1e) 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-ssh2361726108151337858.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-ssh10845137441901173030.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-562/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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7153303457679055563.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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7186632681348003585.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-ssh14614102272457238776.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-562/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-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1879858838777954440.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-6424 in /w/workspace/xfoundry_device-modbus-go_PR-562 [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-562 # 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/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 into PR head commit 6fe663430dc2fd31ed2be3ef3a9035e314d112bd Merge succeeded, producing 6fe663430dc2fd31ed2be3ef3a9035e314d112bd Checking out Revision 6fe663430dc2fd31ed2be3ef3a9035e314d112bd (PR-562) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 6fe663430dc2fd31ed2be3ef3a9035e314d112bd # 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 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fe663430dc2fd31ed2be3ef3a9035e314d112bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-25T05:38:19.134Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-25T05:38:19.401Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-25T05:38:19.524Z] ========================================================= [2024-07-25T05:38:19.524Z] EdgeX Global Pipelines Version Info [2024-07-25T05:38:19.524Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:38:20.326Z] ------------------- [2024-07-25T05:38:20.326Z] stable info: [2024-07-25T05:38:20.326Z] ------------------- [2024-07-25T05:38:20.326Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T05:38:20.326Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-25T05:38:20.326Z] Message: update stable to v1.0.260 [2024-07-25T05:38:20.896Z] ------------------- [2024-07-25T05:38:20.896Z] experimental info: [2024-07-25T05:38:20.896Z] ------------------- [2024-07-25T05:38:20.896Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-25T05:38:20.896Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-25T05:38:20.896Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-25T05:38:21.156Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-25T05:38:21.223Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-25T05:38:21.284Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-25T05:38:21.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-25T05:38:21.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-25T05:38:21.467Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-25T05:38:21.529Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-25T05:38:21.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-25T05:38:21.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-25T05:38:21.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-25T05:38:21.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-25T05:38:21.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-25T05:38:21.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-25T05:38:21.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-25T05:38:22.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T05:38:22.089Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-25T05:38:22.154Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T05:38:22.216Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-25T05:38:22.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-25T05:38:22.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-25T05:38:22.400Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-25T05:38:22.464Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-25T05:38:22.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-25T05:38:22.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-25T05:38:22.646Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-25T05:38:22.707Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-25T05:38:22.772Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-25T05:38:22.839Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-562 [Pipeline] echo [2024-07-25T05:38:22.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-562 [Pipeline] echo [2024-07-25T05:38:22.986Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-562 [Pipeline] echo [2024-07-25T05:38:23.044Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fe663430dc2fd31ed2be3ef3a9035e314d112bd [Pipeline] echo [2024-07-25T05:38:23.109Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fe6634 [Pipeline] echo [2024-07-25T05:38:23.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:38:23.350Z] provisioning config files... [2024-07-25T05:38:23.377Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp/config15128583517788067005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:38:23.785Z] ---> ****-login.sh [2024-07-25T05:38:23.786Z] nexus3.edgexfoundry.org:10001 [2024-07-25T05:38:24.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:24.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:24.307Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:24.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:24.307Z] [2024-07-25T05:38:24.307Z] Login Succeeded [2024-07-25T05:38:24.307Z] nexus3.edgexfoundry.org:10002 [2024-07-25T05:38:24.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:24.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:24.307Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:24.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:24.307Z] [2024-07-25T05:38:24.307Z] Login Succeeded [2024-07-25T05:38:24.307Z] nexus3.edgexfoundry.org:10003 [2024-07-25T05:38:24.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:24.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:24.568Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:24.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:24.568Z] [2024-07-25T05:38:24.568Z] Login Succeeded [2024-07-25T05:38:24.568Z] nexus3.edgexfoundry.org:10004 [2024-07-25T05:38:24.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:24.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:24.568Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:24.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:24.568Z] [2024-07-25T05:38:24.568Z] Login Succeeded [2024-07-25T05:38:24.568Z] ****.io [2024-07-25T05:38:24.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:24.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:24.829Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:24.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:24.829Z] [2024-07-25T05:38:24.829Z] Login Succeeded [2024-07-25T05:38:24.829Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T05:38:24.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-25T05:38:25.655Z] + git rev-list -1 --merges 6fe663430dc2fd31ed2be3ef3a9035e314d112bd~1..6fe663430dc2fd31ed2be3ef3a9035e314d112bd [Pipeline] echo [2024-07-25T05:38:25.712Z] -----------> git rev-list -1 --merges 6fe663430dc2fd31ed2be3ef3a9035e314d112bd~1..6fe663430dc2fd31ed2be3ef3a9035e314d112bd 6fe663430dc2fd31ed2be3ef3a9035e314d112bd [false] [Pipeline] sh [2024-07-25T05:38:26.491Z] + git log --format=format:%s -1 6fe663430dc2fd31ed2be3ef3a9035e314d112bd [Pipeline] echo [2024-07-25T05:38:27.194Z] ========================================================= [2024-07-25T05:38:27.194Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-25T05:38:27.194Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T05:38:27.669Z] + git log --format=format:%s -1 6fe663430dc2fd31ed2be3ef3a9035e314d112bd [Pipeline] echo [2024-07-25T05:38:27.715Z] [semverPrep] GIT_COMMIT: 6fe663430dc2fd31ed2be3ef3a9035e314d112bd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-25T05:38:27.759Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-25T05:38:28.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-25T05:38:28.173Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-25T05:38:28.173Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-25T05:38:28.174Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-25T05:38:28.174Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-25T05:38:28.174Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-25T05:38:28.174Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:38:28.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T05:38:28.714Z] [2024-07-25T05:38:28.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:38:29.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T05:38:29.109Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-25T05:38:29.109Z] b85a868b505f: Pulling fs layer [2024-07-25T05:38:29.109Z] e2be974225ed: Pulling fs layer [2024-07-25T05:38:29.109Z] 339a4e72a1f5: Pulling fs layer [2024-07-25T05:38:29.109Z] 988bab9f4d93: Pulling fs layer [2024-07-25T05:38:29.109Z] 1469e6f7b9e6: Pulling fs layer [2024-07-25T05:38:29.109Z] eaf3925da568: Pulling fs layer [2024-07-25T05:38:29.109Z] bab4dde63d76: Pulling fs layer [2024-07-25T05:38:29.109Z] bde34c3a00c8: Pulling fs layer [2024-07-25T05:38:29.109Z] b352a97aabf1: Pulling fs layer [2024-07-25T05:38:29.109Z] 4872d77fe225: Pulling fs layer [2024-07-25T05:38:29.109Z] 5851b861e8e6: Pulling fs layer [2024-07-25T05:38:29.109Z] 988bab9f4d93: Waiting [2024-07-25T05:38:29.109Z] 1469e6f7b9e6: Waiting [2024-07-25T05:38:29.109Z] bde34c3a00c8: Waiting [2024-07-25T05:38:29.109Z] eaf3925da568: Waiting [2024-07-25T05:38:29.109Z] 4872d77fe225: Waiting [2024-07-25T05:38:29.109Z] b352a97aabf1: Waiting [2024-07-25T05:38:29.109Z] bab4dde63d76: Waiting [2024-07-25T05:38:29.109Z] e2be974225ed: Verifying Checksum [2024-07-25T05:38:29.109Z] e2be974225ed: Download complete [2024-07-25T05:38:29.109Z] 988bab9f4d93: Verifying Checksum [2024-07-25T05:38:29.109Z] 988bab9f4d93: Download complete [2024-07-25T05:38:29.109Z] 1469e6f7b9e6: Verifying Checksum [2024-07-25T05:38:29.109Z] 1469e6f7b9e6: Download complete [2024-07-25T05:38:29.369Z] eaf3925da568: Verifying Checksum [2024-07-25T05:38:29.369Z] eaf3925da568: Download complete [2024-07-25T05:38:29.369Z] 339a4e72a1f5: Verifying Checksum [2024-07-25T05:38:29.369Z] 339a4e72a1f5: Download complete [2024-07-25T05:38:29.369Z] bde34c3a00c8: Download complete [2024-07-25T05:38:29.369Z] b352a97aabf1: Download complete [2024-07-25T05:38:29.369Z] 4872d77fe225: Verifying Checksum [2024-07-25T05:38:29.369Z] 4872d77fe225: Download complete [2024-07-25T05:38:29.369Z] 5851b861e8e6: Download complete [2024-07-25T05:38:29.369Z] b85a868b505f: Verifying Checksum [2024-07-25T05:38:29.369Z] b85a868b505f: Download complete [2024-07-25T05:38:29.627Z] bab4dde63d76: Verifying Checksum [2024-07-25T05:38:29.627Z] bab4dde63d76: Download complete [2024-07-25T05:38:30.986Z] b85a868b505f: Pull complete [2024-07-25T05:38:30.986Z] e2be974225ed: Pull complete [2024-07-25T05:38:31.554Z] 339a4e72a1f5: Pull complete [2024-07-25T05:38:31.554Z] 988bab9f4d93: Pull complete [2024-07-25T05:38:31.816Z] 1469e6f7b9e6: Pull complete [2024-07-25T05:38:31.816Z] eaf3925da568: Pull complete [2024-07-25T05:38:33.719Z] bab4dde63d76: Pull complete [2024-07-25T05:38:33.719Z] bde34c3a00c8: Pull complete [2024-07-25T05:38:33.719Z] b352a97aabf1: Pull complete [2024-07-25T05:38:33.719Z] 4872d77fe225: Pull complete [2024-07-25T05:38:33.978Z] 5851b861e8e6: Pull complete [2024-07-25T05:38:33.978Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-25T05:38:33.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-25T05:38:33.978Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:38:34.288Z] prd-ubuntu20.04-docker-8c-8g-6424 does not seem to be running inside a container [2024-07-25T05:38:34.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-562 -v /w/workspace/xfoundry_device-modbus-go_PR-562:/w/workspace/xfoundry_device-modbus-go_PR-562:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-562@tmp:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-25T05:38:37.604Z] $ docker top 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 -eo pid,comm [2024-07-25T05:38:37.660Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-25T05:38:37.660Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-25T05:38:37.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T05:38:37.838Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T05:38:37.949Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T05:38:37.951Z] $ docker exec 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 ssh-agent [2024-07-25T05:38:38.072Z] SSH_AUTH_SOCK=/tmp/ssh-uTTQzbiEllxt/agent.31 [2024-07-25T05:38:38.072Z] SSH_AGENT_PID=37 [2024-07-25T05:38:38.081Z] Running ssh-add (command line suppressed) [2024-07-25T05:38:38.182Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-562@tmp/private_key_17844762100986900030.key (/w/workspace/xfoundry_device-modbus-go_PR-562@tmp/private_key_17844762100986900030.key) [2024-07-25T05:38:38.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T05:38:38.543Z] + git tag --points-at HEAD [Pipeline] } [2024-07-25T05:38:38.572Z] $ docker exec --env ******** --env ******** 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 ssh-agent -k [2024-07-25T05:38:38.681Z] unset SSH_AUTH_SOCK; [2024-07-25T05:38:38.681Z] unset SSH_AGENT_PID; [2024-07-25T05:38:38.682Z] echo Agent pid 37 killed; [2024-07-25T05:38:38.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-25T05:38:38.819Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-25T05:38:38.819Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-25T05:38:38.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-25T05:38:38.933Z] $ docker exec 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 ssh-agent [2024-07-25T05:38:39.033Z] SSH_AUTH_SOCK=/tmp/ssh-xRYkWaD6BG2w/agent.71 [2024-07-25T05:38:39.033Z] SSH_AGENT_PID=77 [2024-07-25T05:38:39.037Z] Running ssh-add (command line suppressed) [2024-07-25T05:38:39.147Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-562@tmp/private_key_11143496909881005628.key (/w/workspace/xfoundry_device-modbus-go_PR-562@tmp/private_key_11143496909881005628.key) [2024-07-25T05:38:39.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-25T05:38:39.510Z] + git semver init [2024-07-25T05:38:39.769Z] 2024-07-25 05:38:39,689 [run_init] DEBUG init version:0.0.0 force:False [2024-07-25T05:38:39.769Z] 2024-07-25 05:38:39,690 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-562/.semver [2024-07-25T05:38:39.769Z] 2024-07-25 05:38:39,690 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-562/.semver [2024-07-25T05:38:39.769Z] 2024-07-25 05:38:39,690 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-562/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-562, universal_newlines=False, shell=None, istream=None) [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,736 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-562/.git/info/exclude [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-562/.semver/PR-562 with force:False [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,736 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-562/.semver/PR-562 [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,741 [execute] INFO git cat-file --batch-check [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-562/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,747 [execute] INFO git cat-file --batch [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-562/.semver, universal_newlines=False, shell=None, istream=) [2024-07-25T05:38:43.762Z] 2024-07-25 05:38:43,754 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-562/.semver/PR-562 [2024-07-25T05:38:43.762Z] 0.0.0 [Pipeline] } [2024-07-25T05:38:44.040Z] $ docker exec --env ******** --env ******** 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 ssh-agent -k [2024-07-25T05:38:44.146Z] unset SSH_AUTH_SOCK; [2024-07-25T05:38:44.146Z] unset SSH_AGENT_PID; [2024-07-25T05:38:44.148Z] echo Agent pid 77 killed; [2024-07-25T05:38:44.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-25T05:38:44.711Z] + git semver [Pipeline] } [2024-07-25T05:38:44.999Z] $ docker stop --time=1 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 [2024-07-25T05:38:46.319Z] $ docker rm -f --volumes 7844f7d002bdafea75a28999478e194ffb69f9bb057abf9e4394053f4e418235 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T05:38:46.738Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-25T05:38:47.051Z] Stashed 1 file(s) [Pipeline] echo [2024-07-25T05:38:47.077Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:38:47.812Z] provisioning config files... [2024-07-25T05:38:47.822Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp/config4687305385454887145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:38:50.836Z] ---> ****-login.sh [2024-07-25T05:38:50.836Z] nexus3.edgexfoundry.org:10001 [2024-07-25T05:38:50.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:50.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:50.836Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:50.836Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:50.836Z] [2024-07-25T05:38:50.836Z] Login Succeeded [2024-07-25T05:38:50.837Z] nexus3.edgexfoundry.org:10002 [2024-07-25T05:38:50.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:50.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:50.837Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:50.837Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:50.837Z] [2024-07-25T05:38:50.837Z] Login Succeeded [2024-07-25T05:38:50.837Z] nexus3.edgexfoundry.org:10003 [2024-07-25T05:38:50.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:51.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:51.521Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:51.521Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:51.522Z] [2024-07-25T05:38:51.522Z] Login Succeeded [2024-07-25T05:38:51.522Z] nexus3.edgexfoundry.org:10004 [2024-07-25T05:38:51.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:51.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:51.522Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:51.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:51.522Z] [2024-07-25T05:38:51.522Z] Login Succeeded [2024-07-25T05:38:51.522Z] ****.io [2024-07-25T05:38:51.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:38:51.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:38:51.782Z] Configure a credential helper to remove this warning. See [2024-07-25T05:38:51.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:38:51.782Z] [2024-07-25T05:38:51.782Z] Login Succeeded [2024-07-25T05:38:51.782Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T05:38:51.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-25T05:38:52.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T05:38:52.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T05:38:52.166Z] ========================================================= [2024-07-25T05:38:52.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-25T05:38:52.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:38:52.687Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-25T05:38:52.687Z] Sending build context to Docker daemon 17.89MB [2024-07-25T05:38:52.687Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T05:38:52.687Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-25T05:38:52.687Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-25T05:38:52.687Z] 619be1103602: Pulling fs layer [2024-07-25T05:38:52.687Z] 7862e08f4a3e: Pulling fs layer [2024-07-25T05:38:52.687Z] 5df492c9dc93: Pulling fs layer [2024-07-25T05:38:52.687Z] 7629e6793208: Pulling fs layer [2024-07-25T05:38:52.687Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T05:38:52.687Z] fb5054dd5b73: Pulling fs layer [2024-07-25T05:38:52.687Z] eeca6798cff9: Pulling fs layer [2024-07-25T05:38:52.687Z] aa269ceb94a6: Pulling fs layer [2024-07-25T05:38:52.687Z] ada007ff1a6a: Pulling fs layer [2024-07-25T05:38:52.687Z] 7629e6793208: Waiting [2024-07-25T05:38:52.687Z] 4f4fb700ef54: Waiting [2024-07-25T05:38:52.687Z] fb5054dd5b73: Waiting [2024-07-25T05:38:52.687Z] eeca6798cff9: Waiting [2024-07-25T05:38:52.687Z] aa269ceb94a6: Waiting [2024-07-25T05:38:52.687Z] ada007ff1a6a: Waiting [2024-07-25T05:38:52.687Z] 7862e08f4a3e: Verifying Checksum [2024-07-25T05:38:52.687Z] 7862e08f4a3e: Download complete [2024-07-25T05:38:52.687Z] 7629e6793208: Download complete [2024-07-25T05:38:52.948Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T05:38:52.948Z] 4f4fb700ef54: Download complete [2024-07-25T05:38:52.948Z] fb5054dd5b73: Verifying Checksum [2024-07-25T05:38:52.948Z] 619be1103602: Verifying Checksum [2024-07-25T05:38:52.948Z] 619be1103602: Download complete [2024-07-25T05:38:52.948Z] eeca6798cff9: Verifying Checksum [2024-07-25T05:38:52.948Z] eeca6798cff9: Download complete [2024-07-25T05:38:52.948Z] 619be1103602: Pull complete [2024-07-25T05:38:53.206Z] ada007ff1a6a: Verifying Checksum [2024-07-25T05:38:53.206Z] ada007ff1a6a: Download complete [2024-07-25T05:38:53.206Z] 7862e08f4a3e: Pull complete [2024-07-25T05:38:53.206Z] 5df492c9dc93: Verifying Checksum [2024-07-25T05:38:53.206Z] 5df492c9dc93: Download complete [2024-07-25T05:38:53.773Z] aa269ceb94a6: Verifying Checksum [2024-07-25T05:38:56.303Z] 5df492c9dc93: Pull complete [2024-07-25T05:38:56.303Z] 7629e6793208: Pull complete [2024-07-25T05:38:56.303Z] 4f4fb700ef54: Pull complete [2024-07-25T05:38:56.303Z] fb5054dd5b73: Pull complete [2024-07-25T05:38:56.303Z] eeca6798cff9: Pull complete [2024-07-25T05:38:58.832Z] aa269ceb94a6: Pull complete [2024-07-25T05:38:59.093Z] ada007ff1a6a: Pull complete [2024-07-25T05:38:59.093Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-25T05:38:59.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-25T05:38:59.093Z] ---> f489d0715acc [2024-07-25T05:38:59.093Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-25T05:39:02.590Z] Still waiting to schedule task [2024-07-25T05:39:02.590Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6422’ is offline [2024-07-25T05:39:04.408Z] ---> Running in 906ba8dbe0ff [2024-07-25T05:39:04.408Z] Removing intermediate container 906ba8dbe0ff [2024-07-25T05:39:04.408Z] ---> 8dce90a1322f [2024-07-25T05:39:04.408Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T05:39:04.408Z] ---> Running in f58fd490236a [2024-07-25T05:39:04.408Z] Removing intermediate container f58fd490236a [2024-07-25T05:39:04.408Z] ---> a67b4975cabe [2024-07-25T05:39:04.408Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-25T05:39:04.408Z] ---> Running in 9a9958784992 [2024-07-25T05:39:04.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T05:39:04.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T05:39:04.934Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T05:39:04.934Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-25T05:39:04.934Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T05:39:05.194Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T05:39:05.194Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-25T05:39:05.194Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-25T05:39:05.194Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-25T05:39:05.194Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-25T05:39:05.194Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T05:39:05.194Z] OK: 270 MiB in 60 packages [2024-07-25T05:39:05.764Z] Removing intermediate container 9a9958784992 [2024-07-25T05:39:05.764Z] ---> 8d04f0b1f7bc [2024-07-25T05:39:05.764Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-25T05:39:05.764Z] ---> Running in eb695d3980f1 [2024-07-25T05:39:05.764Z] Removing intermediate container eb695d3980f1 [2024-07-25T05:39:05.764Z] ---> 689bc73518c5 [2024-07-25T05:39:05.764Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-25T05:39:05.764Z] ---> 2a90e18d0194 [2024-07-25T05:39:05.764Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T05:39:05.764Z] ---> Running in fdedf1b2f5da [2024-07-25T05:40:02.048Z] Removing intermediate container fdedf1b2f5da [2024-07-25T05:40:02.048Z] ---> 7699736e8ae1 [2024-07-25T05:40:02.048Z] Step 9/10 : COPY . . [2024-07-25T05:40:02.048Z] ---> 5d2dc28d3c01 [2024-07-25T05:40:02.049Z] Step 10/10 : RUN ${MAKE} [2024-07-25T05:40:02.049Z] ---> Running in df6f55edd480 [2024-07-25T05:40:02.049Z] noop [2024-07-25T05:40:02.049Z] Removing intermediate container df6f55edd480 [2024-07-25T05:40:02.049Z] ---> ad43252f54c0 [2024-07-25T05:40:02.049Z] Successfully built ad43252f54c0 [2024-07-25T05:40:02.049Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:40:03.379Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T05:40:03.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:40:03.545Z] prd-ubuntu20.04-docker-8c-8g-6424 does not seem to be running inside a container [2024-07-25T05:40:03.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-562 -v /w/workspace/xfoundry_device-modbus-go_PR-562:/w/workspace/xfoundry_device-modbus-go_PR-562:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-562@tmp:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-25T05:40:03.911Z] $ docker top 06c660b91e329572778f553980874c50db43e8728447ddfbaaad0e2e6ff1a2cd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:40:04.311Z] + go version [2024-07-25T05:40:04.311Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-25T05:40:04.344Z] $ docker stop --time=1 06c660b91e329572778f553980874c50db43e8728447ddfbaaad0e2e6ff1a2cd [2024-07-25T05:40:05.613Z] $ docker rm -f --volumes 06c660b91e329572778f553980874c50db43e8728447ddfbaaad0e2e6ff1a2cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:40:06.387Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-25T05:40:06.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:40:06.551Z] prd-ubuntu20.04-docker-8c-8g-6424 does not seem to be running inside a container [2024-07-25T05:40:06.581Z] $ 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-562 -v /w/workspace/xfoundry_device-modbus-go_PR-562:/w/workspace/xfoundry_device-modbus-go_PR-562:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-562@tmp:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-25T05:40:06.895Z] $ docker top 6ccbf1bf969eb3dabb9dbe5c52cdd9d038cb89bd453c395de8fc0677ff517117 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:40:07.305Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-562 [Pipeline] fileExists [Pipeline] sh [2024-07-25T05:40:07.680Z] + make test [2024-07-25T05:40:07.680Z] go test ./... -coverprofile=coverage.out [2024-07-25T05:40:10.229Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-25T05:40:28.322Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-25T05:40:28.322Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2024-07-25T05:40:37.021Z] go vet ./... [2024-07-25T05:40:41.923Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6425 in /w/workspace/xfoundry_device-modbus-go_PR-562 [Pipeline] { [Pipeline] ws [2024-07-25T05:40:41.997Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-25T05:40:42.219Z] The recommended git tool is: git [2024-07-25T05:40:43.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T05:40:43.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T05:40:43.601Z] ./bin/test-attribution-txt.sh [2024-07-25T05:40:43.601Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T05:40:43.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T05:40:43.685Z] $ docker stop --time=1 6ccbf1bf969eb3dabb9dbe5c52cdd9d038cb89bd453c395de8fc0677ff517117 [2024-07-25T05:40:45.311Z] $ docker rm -f --volumes 6ccbf1bf969eb3dabb9dbe5c52cdd9d038cb89bd453c395de8fc0677ff517117 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T05:40:46.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T05:40:46.077Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-25T05:40:46.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T05:40:47.159Z] + ls -al . [2024-07-25T05:40:47.159Z] total 272 [2024-07-25T05:40:47.159Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 05:40 . [2024-07-25T05:40:47.159Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 05:38 .. [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 05:38 .dockerignore [2024-07-25T05:40:47.159Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 05:40 .git [2024-07-25T05:40:47.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:38 .github [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 25 05:38 .gitignore [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 05:38 .golangci.yml [2024-07-25T05:40:47.159Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 05:38 .semver [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 25 05:38 Attribution.txt [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 25 05:38 CHANGELOG.md [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 25 05:38 Dockerfile [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 05:38 GOVERNANCE.md [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 25 05:38 Jenkinsfile [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 05:38 LICENSE [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 25 05:38 Makefile [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 05:38 OWNERS.md [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 25 05:38 README.md [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 05:38 VERSION [2024-07-25T05:40:47.159Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 05:38 bin [2024-07-25T05:40:47.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:38 cmd [2024-07-25T05:40:47.159Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 25 05:40 coverage.out [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 7185 Jul 25 05:38 go.mod [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 102015 Jul 25 05:38 go.sum [2024-07-25T05:40:47.159Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:38 internal [2024-07-25T05:40:47.159Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 05:38 simulator [2024-07-25T05:40:47.159Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 25 05:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:40:47.588Z] + 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=6fe663430dc2fd31ed2be3ef3a9035e314d112bd --label arch=amd64 --label version=0.0.0 . [2024-07-25T05:40:47.588Z] Sending build context to Docker daemon 17.92MB [2024-07-25T05:40:47.588Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T05:40:47.588Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-25T05:40:47.588Z] ---> ad43252f54c0 [2024-07-25T05:40:47.588Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-25T05:40:47.847Z] ---> Running in edadc88f2cc7 [2024-07-25T05:40:48.108Z] Removing intermediate container edadc88f2cc7 [2024-07-25T05:40:48.108Z] ---> 8725b64d74a4 [2024-07-25T05:40:48.108Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T05:40:48.108Z] ---> Running in b047838cb91d [2024-07-25T05:40:48.109Z] Removing intermediate container b047838cb91d [2024-07-25T05:40:48.109Z] ---> 814295fc882e [2024-07-25T05:40:48.109Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-25T05:40:48.109Z] ---> Running in 9e9f851b1a10 [2024-07-25T05:40:48.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T05:40:48.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T05:40:48.886Z] OK: 270 MiB in 60 packages [2024-07-25T05:40:49.145Z] Removing intermediate container 9e9f851b1a10 [2024-07-25T05:40:49.145Z] ---> b2e5e271e87f [2024-07-25T05:40:49.145Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-25T05:40:49.145Z] ---> Running in 45b449db9259 [2024-07-25T05:40:49.403Z] Removing intermediate container 45b449db9259 [2024-07-25T05:40:49.403Z] ---> a2462090fdad [2024-07-25T05:40:49.403Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-25T05:40:49.403Z] ---> 88025e3fab96 [2024-07-25T05:40:49.403Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T05:40:49.403Z] ---> Running in 45b97f94590d [2024-07-25T05:40:50.337Z] Removing intermediate container 45b97f94590d [2024-07-25T05:40:50.337Z] ---> a9545c75323f [2024-07-25T05:40:50.337Z] Step 9/23 : COPY . . [2024-07-25T05:40:50.404Z] using credential edgex-jenkins-ssh [2024-07-25T05:40:50.427Z] Cloning the remote Git repository [2024-07-25T05:40:50.924Z] ---> 8283539aff63 [2024-07-25T05:40:50.924Z] Step 10/23 : RUN ${MAKE} [2024-07-25T05:40:50.924Z] ---> Running in f1363ef43a12 [2024-07-25T05:40:51.183Z] 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.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-25T05:40:50.465Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-25T05:40:50.562Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-25T05:40:50.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-25T05:40:50.727Z] > git --version # timeout=10 [2024-07-25T05:40:50.766Z] > git --version # 'git version 2.25.1' [2024-07-25T05:40:50.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T05:40:50.961Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T05:40:53.053Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-25T05:40:53.119Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-25T05:40:54.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-25T05:40:54.827Z] Merging remotes/origin/main commit 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 into PR head commit 6fe663430dc2fd31ed2be3ef3a9035e314d112bd [2024-07-25T05:40:55.217Z] Merge succeeded, producing 6fe663430dc2fd31ed2be3ef3a9035e314d112bd [2024-07-25T05:40:55.218Z] Checking out Revision 6fe663430dc2fd31ed2be3ef3a9035e314d112bd (PR-562) [2024-07-25T05:40:54.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-25T05:40:54.262Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T05:40:54.292Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-25T05:40:54.845Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T05:40:54.966Z] > git checkout -f 6fe663430dc2fd31ed2be3ef3a9035e314d112bd # timeout=10 [2024-07-25T05:40:55.060Z] > git remote # timeout=10 [2024-07-25T05:40:55.080Z] > git config --get remote.origin.url # timeout=10 [2024-07-25T05:40:55.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-25T05:40:55.136Z] > git merge 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 # timeout=10 [2024-07-25T05:40:55.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-25T05:40:55.220Z] > git config core.sparsecheckout # timeout=10 [2024-07-25T05:40:55.244Z] > git checkout -f 6fe663430dc2fd31ed2be3ef3a9035e314d112bd # timeout=10 [2024-07-25T05:40:55.958Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-25T05:40:56.005Z] > git --version # timeout=10 [2024-07-25T05:40:56.029Z] > git --version # 'git version 2.25.1' [2024-07-25T05:40:56.052Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T05:41:01.121Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-25T05:41:01.121Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T05:41:01.121Z] Dload Upload Total Spent Left Speed [2024-07-25T05:41:01.121Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-07-25T05:41:01.486Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-25T05:41:01.837Z] + sudo tee /etc/docker/daemon.new [2024-07-25T05:41:01.837Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-25T05:41:01.837Z] { [2024-07-25T05:41:01.837Z] "registry-mirrors": [ [2024-07-25T05:41:01.837Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-25T05:41:01.837Z] ], [2024-07-25T05:41:01.837Z] "bip": "10.250.0.254/24", [2024-07-25T05:41:01.837Z] "hosts": [ [2024-07-25T05:41:01.837Z] "tcp://0.0.0.0:5555", [2024-07-25T05:41:01.837Z] "unix:///var/run/docker.sock" [2024-07-25T05:41:01.837Z] ], [2024-07-25T05:41:01.837Z] "mtu": 1458, [2024-07-25T05:41:01.837Z] "selinux-enabled": true, [2024-07-25T05:41:01.837Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-25T05:41:01.837Z] } [Pipeline] sh [2024-07-25T05:41:02.185Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-25T05:41:02.553Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:41:20.883Z] provisioning config files... [2024-07-25T05:41:20.910Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6950119433690585392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:41:21.424Z] ---> ****-login.sh [2024-07-25T05:41:21.424Z] nexus3.edgexfoundry.org:10001 [2024-07-25T05:41:21.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:41:21.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:41:21.970Z] Configure a credential helper to remove this warning. See [2024-07-25T05:41:21.971Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:41:21.971Z] [2024-07-25T05:41:21.971Z] Login Succeeded [2024-07-25T05:41:21.971Z] nexus3.edgexfoundry.org:10002 [2024-07-25T05:41:22.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:41:22.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:41:22.240Z] Configure a credential helper to remove this warning. See [2024-07-25T05:41:22.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:41:22.240Z] [2024-07-25T05:41:22.240Z] Login Succeeded [2024-07-25T05:41:22.240Z] nexus3.edgexfoundry.org:10003 [2024-07-25T05:41:22.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:41:22.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:41:22.780Z] Configure a credential helper to remove this warning. See [2024-07-25T05:41:22.780Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:41:22.780Z] [2024-07-25T05:41:22.780Z] Login Succeeded [2024-07-25T05:41:22.780Z] nexus3.edgexfoundry.org:10004 [2024-07-25T05:41:23.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:41:23.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:41:23.050Z] Configure a credential helper to remove this warning. See [2024-07-25T05:41:23.050Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:41:23.050Z] [2024-07-25T05:41:23.050Z] Login Succeeded [2024-07-25T05:41:23.050Z] ****.io [2024-07-25T05:41:23.268Z] Removing intermediate container f1363ef43a12 [2024-07-25T05:41:23.268Z] ---> 8d92c3bd5d1f [2024-07-25T05:41:23.268Z] Step 11/23 : FROM alpine:3.18 [2024-07-25T05:41:23.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-25T05:41:23.531Z] 3.18: Pulling from library/alpine [2024-07-25T05:41:23.531Z] 930bdd4d222e: Pulling fs layer [2024-07-25T05:41:23.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-25T05:41:23.587Z] Configure a credential helper to remove this warning. See [2024-07-25T05:41:23.587Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-25T05:41:23.587Z] [2024-07-25T05:41:23.587Z] Login Succeeded [2024-07-25T05:41:23.587Z] ---> ****-login.sh ends [Pipeline] } [2024-07-25T05:41:23.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-07-25T05:41:23.791Z] 930bdd4d222e: Verifying Checksum [2024-07-25T05:41:23.791Z] 930bdd4d222e: Download complete [Pipeline] echo [2024-07-25T05:41:24.052Z] 930bdd4d222e: Pull complete [2024-07-25T05:41:24.052Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T05:41:24.052Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T05:41:24.052Z] ---> 18f865063206 [2024-07-25T05:41:24.052Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-25T05:41:24.052Z] ---> Running in d6a6a94df4e5 [2024-07-25T05:41:24.052Z] Removing intermediate container d6a6a94df4e5 [2024-07-25T05:41:24.052Z] ---> 9d3a5d53c8eb [2024-07-25T05:41:24.052Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-25T05:41:24.052Z] ---> Running in 4827b4b83ecb [2024-07-25T05:41:24.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T05:41:24.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-25T05:41:24.233Z] ========================================================= [2024-07-25T05:41:24.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-25T05:41:24.233Z] ========================================================= [Pipeline] fileExists [2024-07-25T05:41:24.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:41:24.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T05:41:24.573Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T05:41:24.573Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T05:41:24.573Z] OK: 7 MiB in 16 packages [2024-07-25T05:41:24.830Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-25T05:41:25.105Z] Sending build context to Docker daemon 9.085MB [2024-07-25T05:41:25.141Z] Removing intermediate container 4827b4b83ecb [2024-07-25T05:41:25.141Z] ---> d7559c588040 [2024-07-25T05:41:25.141Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-25T05:41:25.141Z] ---> Running in 5ad2fb181b1d [2024-07-25T05:41:25.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-25T05:41:25.375Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T05:41:25.375Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-25T05:41:25.375Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-25T05:41:25.375Z] c6b39de5b339: Pulling fs layer [2024-07-25T05:41:25.375Z] a69c41024577: Pulling fs layer [2024-07-25T05:41:25.375Z] d6de4b400683: Pulling fs layer [2024-07-25T05:41:25.375Z] 35cb2a7552d0: Pulling fs layer [2024-07-25T05:41:25.375Z] 4f4fb700ef54: Pulling fs layer [2024-07-25T05:41:25.375Z] 464afbd9ba4c: Pulling fs layer [2024-07-25T05:41:25.375Z] 00f215d4a9da: Pulling fs layer [2024-07-25T05:41:25.375Z] d496ad576159: Pulling fs layer [2024-07-25T05:41:25.375Z] 35cb2a7552d0: Waiting [2024-07-25T05:41:25.375Z] 4f4fb700ef54: Waiting [2024-07-25T05:41:25.375Z] 464afbd9ba4c: Waiting [2024-07-25T05:41:25.375Z] 00f215d4a9da: Waiting [2024-07-25T05:41:25.375Z] d496ad576159: Waiting [2024-07-25T05:41:25.375Z] a69c41024577: Verifying Checksum [2024-07-25T05:41:25.375Z] a69c41024577: Download complete [2024-07-25T05:41:25.375Z] 35cb2a7552d0: Verifying Checksum [2024-07-25T05:41:25.375Z] 35cb2a7552d0: Download complete [2024-07-25T05:41:25.375Z] 4f4fb700ef54: Verifying Checksum [2024-07-25T05:41:25.375Z] 4f4fb700ef54: Download complete [2024-07-25T05:41:25.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-25T05:41:25.644Z] c6b39de5b339: Download complete [2024-07-25T05:41:25.644Z] 464afbd9ba4c: Verifying Checksum [2024-07-25T05:41:25.644Z] 464afbd9ba4c: Download complete [2024-07-25T05:41:25.660Z] OK: 7 MiB in 16 packages [2024-07-25T05:41:25.915Z] d496ad576159: Verifying Checksum [2024-07-25T05:41:25.915Z] d496ad576159: Download complete [2024-07-25T05:41:25.920Z] Removing intermediate container 5ad2fb181b1d [2024-07-25T05:41:25.920Z] ---> 3c0e2c85d870 [2024-07-25T05:41:25.920Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-25T05:41:26.504Z] c6b39de5b339: Pull complete [2024-07-25T05:41:26.859Z] ---> 47b18d6c3bad [2024-07-25T05:41:26.859Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-25T05:41:27.092Z] a69c41024577: Pull complete [2024-07-25T05:41:27.118Z] ---> 3407f1b5339c [2024-07-25T05:41:27.118Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-25T05:41:27.118Z] ---> e6e981aaf0e4 [2024-07-25T05:41:27.118Z] Step 18/23 : EXPOSE 59901 [2024-07-25T05:41:27.118Z] ---> Running in a330a86db78c [2024-07-25T05:41:27.361Z] d6de4b400683: Verifying Checksum [2024-07-25T05:41:27.361Z] d6de4b400683: Download complete [2024-07-25T05:41:27.375Z] Removing intermediate container a330a86db78c [2024-07-25T05:41:27.375Z] ---> 1c419e437efe [2024-07-25T05:41:27.375Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-25T05:41:27.375Z] ---> Running in 0117b38b1a4a [2024-07-25T05:41:27.375Z] Removing intermediate container 0117b38b1a4a [2024-07-25T05:41:27.375Z] ---> e209873bc2ab [2024-07-25T05:41:27.375Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-25T05:41:27.375Z] ---> Running in 6e616d5388cf [2024-07-25T05:41:27.375Z] Removing intermediate container 6e616d5388cf [2024-07-25T05:41:27.375Z] ---> 9731820db215 [2024-07-25T05:41:27.375Z] Step 21/23 : LABEL arch=amd64 [2024-07-25T05:41:27.375Z] ---> Running in fa0ca37c64a1 [2024-07-25T05:41:27.636Z] Removing intermediate container fa0ca37c64a1 [2024-07-25T05:41:27.636Z] ---> 19d5acaa9846 [2024-07-25T05:41:27.636Z] Step 22/23 : LABEL git_sha=6fe663430dc2fd31ed2be3ef3a9035e314d112bd [2024-07-25T05:41:27.636Z] ---> Running in b4aff6d842ad [2024-07-25T05:41:27.636Z] Removing intermediate container b4aff6d842ad [2024-07-25T05:41:27.636Z] ---> 1c9176157c6d [2024-07-25T05:41:27.636Z] Step 23/23 : LABEL version=0.0.0 [2024-07-25T05:41:27.636Z] ---> Running in d1ab8974b88c [2024-07-25T05:41:27.636Z] Removing intermediate container d1ab8974b88c [2024-07-25T05:41:27.636Z] ---> 5cb384abad3a [2024-07-25T05:41:27.636Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T05:41:27.636Z] Successfully built 5cb384abad3a [2024-07-25T05:41:27.636Z] 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] { [2024-07-25T05:41:28.324Z] 00f215d4a9da: Verifying Checksum [2024-07-25T05:41:28.324Z] 00f215d4a9da: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:41:28.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T05:41:28.760Z] [2024-07-25T05:41:28.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:41:29.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T05:41:29.169Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-25T05:41:29.169Z] 5eb5b503b376: Pulling fs layer [2024-07-25T05:41:29.169Z] 5c69ac0246d0: Pulling fs layer [2024-07-25T05:41:29.169Z] ec43610c2a17: Pulling fs layer [2024-07-25T05:41:29.169Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-25T05:41:29.169Z] 33b1e0a273af: Pulling fs layer [2024-07-25T05:41:29.169Z] 5d3b04190fa2: Pulling fs layer [2024-07-25T05:41:29.169Z] 2f39f015ded8: Pulling fs layer [2024-07-25T05:41:29.169Z] 3a2ae6a8a46f: Waiting [2024-07-25T05:41:29.169Z] 33b1e0a273af: Waiting [2024-07-25T05:41:29.169Z] 5d3b04190fa2: Waiting [2024-07-25T05:41:29.169Z] 2f39f015ded8: Waiting [2024-07-25T05:41:29.169Z] 5c69ac0246d0: Verifying Checksum [2024-07-25T05:41:29.169Z] 5c69ac0246d0: Download complete [2024-07-25T05:41:29.169Z] 3a2ae6a8a46f: Download complete [2024-07-25T05:41:29.169Z] 33b1e0a273af: Download complete [2024-07-25T05:41:29.169Z] 5d3b04190fa2: Verifying Checksum [2024-07-25T05:41:29.169Z] 5d3b04190fa2: Download complete [2024-07-25T05:41:29.169Z] ec43610c2a17: Verifying Checksum [2024-07-25T05:41:29.169Z] ec43610c2a17: Download complete [2024-07-25T05:41:29.426Z] 5eb5b503b376: Verifying Checksum [2024-07-25T05:41:29.426Z] 5eb5b503b376: Download complete [2024-07-25T05:41:29.992Z] 2f39f015ded8: Verifying Checksum [2024-07-25T05:41:29.992Z] 2f39f015ded8: Download complete [2024-07-25T05:41:30.559Z] 5eb5b503b376: Pull complete [2024-07-25T05:41:30.818Z] 5c69ac0246d0: Pull complete [2024-07-25T05:41:31.384Z] ec43610c2a17: Pull complete [2024-07-25T05:41:31.384Z] 3a2ae6a8a46f: Pull complete [2024-07-25T05:41:31.642Z] 33b1e0a273af: Pull complete [2024-07-25T05:41:31.642Z] 5d3b04190fa2: Pull complete [2024-07-25T05:41:36.913Z] 2f39f015ded8: Pull complete [2024-07-25T05:41:36.914Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-25T05:41:36.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T05:41:36.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:41:37.194Z] prd-ubuntu20.04-docker-8c-8g-6424 does not seem to be running inside a container [2024-07-25T05:41:37.219Z] $ 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-562 -v /w/workspace/xfoundry_device-modbus-go_PR-562:/w/workspace/xfoundry_device-modbus-go_PR-562:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-562@tmp:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-25T05:41:40.630Z] d6de4b400683: Pull complete [2024-07-25T05:41:40.630Z] 35cb2a7552d0: Pull complete [2024-07-25T05:41:40.630Z] 4f4fb700ef54: Pull complete [2024-07-25T05:41:40.630Z] 464afbd9ba4c: Pull complete [2024-07-25T05:41:42.190Z] $ docker top 09c653b19d7b95a2903753b3ab6dde034b85f1ce0cd8fe3fef97c11d0f5255a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:41:42.709Z] ---> job-cost.sh [2024-07-25T05:41:42.709Z] lf-activate-venv: SKIPPING [2024-07-25T05:41:42.709Z] INFO: No Stack... [2024-07-25T05:41:42.971Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T05:41:43.233Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T05:41:43.561Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-562/archives/cost.csv [2024-07-25T05:41:43.561Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T05:41:43.611Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] [2024-07-25T05:41:43.618Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] did not exist. Created. [2024-07-25T05:41:43.624Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T05:41:44.051Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-25T05:41:44.107Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T05:41:44.143Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T05:41:44.235Z] $ docker stop --time=1 09c653b19d7b95a2903753b3ab6dde034b85f1ce0cd8fe3fef97c11d0f5255a3 [2024-07-25T05:41:45.412Z] $ docker rm -f --volumes 09c653b19d7b95a2903753b3ab6dde034b85f1ce0cd8fe3fef97c11d0f5255a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-25T05:41:48.840Z] 00f215d4a9da: Pull complete [2024-07-25T05:41:50.798Z] d496ad576159: Pull complete [2024-07-25T05:41:50.798Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-25T05:41:50.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-25T05:41:50.798Z] ---> f246e2811388 [2024-07-25T05:41:50.798Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-25T05:41:52.201Z] ---> Running in 27ec856a36d1 [2024-07-25T05:41:52.468Z] Removing intermediate container 27ec856a36d1 [2024-07-25T05:41:52.468Z] ---> ab37d57b061d [2024-07-25T05:41:52.468Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T05:41:52.468Z] ---> Running in bf2b93e2846d [2024-07-25T05:41:53.051Z] Removing intermediate container bf2b93e2846d [2024-07-25T05:41:53.051Z] ---> 0582e2064064 [2024-07-25T05:41:53.051Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-25T05:41:53.051Z] ---> Running in 1a9b618acfb1 [2024-07-25T05:41:54.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:41:54.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:41:55.233Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-25T05:41:55.233Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-25T05:41:55.233Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-25T05:41:55.500Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-25T05:41:55.500Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-25T05:41:55.500Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-25T05:41:55.500Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-25T05:41:55.500Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-25T05:41:55.500Z] Executing busybox-1.36.1-r5.trigger [2024-07-25T05:41:55.500Z] OK: 272 MiB in 60 packages [2024-07-25T05:41:56.465Z] Removing intermediate container 1a9b618acfb1 [2024-07-25T05:41:56.465Z] ---> 720d3f098ca3 [2024-07-25T05:41:56.465Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-25T05:41:56.734Z] ---> Running in a95f7b774fff [2024-07-25T05:41:57.002Z] Removing intermediate container a95f7b774fff [2024-07-25T05:41:57.002Z] ---> cfaabe4039ce [2024-07-25T05:41:57.002Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-25T05:41:57.269Z] ---> a0e87a38b9b2 [2024-07-25T05:41:57.269Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T05:41:57.535Z] ---> Running in d7f2d3393723 [2024-07-25T05:43:49.208Z] Removing intermediate container d7f2d3393723 [2024-07-25T05:43:49.208Z] ---> fe3b2deca29e [2024-07-25T05:43:49.208Z] Step 9/10 : COPY . . [2024-07-25T05:43:49.208Z] ---> 13449659e139 [2024-07-25T05:43:49.208Z] Step 10/10 : RUN ${MAKE} [2024-07-25T05:43:49.208Z] ---> Running in 030a1d383b85 [2024-07-25T05:43:49.208Z] noop [2024-07-25T05:43:49.208Z] Removing intermediate container 030a1d383b85 [2024-07-25T05:43:49.208Z] ---> ece0d9dbbe73 [2024-07-25T05:43:49.208Z] Successfully built ece0d9dbbe73 [2024-07-25T05:43:49.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:43:49.727Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T05:43:49.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:43:50.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-6425 does not seem to be running inside a container [2024-07-25T05:43:50.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-25T05:43:51.348Z] $ docker top 9423ffd4a7639f397180f6ec1b294cbe764c8444ba24856610b58d9dd252a9e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:43:52.239Z] + go version [2024-07-25T05:43:52.239Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-25T05:43:52.271Z] $ docker stop --time=1 9423ffd4a7639f397180f6ec1b294cbe764c8444ba24856610b58d9dd252a9e4 [2024-07-25T05:43:53.853Z] $ docker rm -f --volumes 9423ffd4a7639f397180f6ec1b294cbe764c8444ba24856610b58d9dd252a9e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:43:54.788Z] + docker inspect -f . ci-base-image-arm64 [2024-07-25T05:43:54.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:43:55.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-6425 does not seem to be running inside a container [2024-07-25T05:43:55.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-25T05:43:56.353Z] $ docker top 627371b067fa47d14135d382db0149c9962abf004f41d087a298b7f90cdf7441 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:43:57.250Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-25T05:43:57.988Z] + make test [2024-07-25T05:43:57.988Z] go test ./... -coverprofile=coverage.out [2024-07-25T05:44:03.339Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-25T05:47:10.215Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-25T05:47:11.170Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 47.9% of statements [2024-07-25T05:47:12.128Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-25T05:47:12.128Z] go vet ./... [2024-07-25T05:47:58.981Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-25T05:47:58.981Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-25T05:47:58.981Z] ./bin/test-attribution-txt.sh [2024-07-25T05:47:58.981Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-25T05:47:59.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-25T05:47:59.077Z] $ docker stop --time=1 627371b067fa47d14135d382db0149c9962abf004f41d087a298b7f90cdf7441 [2024-07-25T05:48:00.887Z] $ docker rm -f --volumes 627371b067fa47d14135d382db0149c9962abf004f41d087a298b7f90cdf7441 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-25T05:48:02.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-25T05:48:02.456Z] Warning: overwriting stash ‘coverage-report’ [2024-07-25T05:48:02.893Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-25T05:48:03.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-25T05:48:03.887Z] + ls -al . [2024-07-25T05:48:03.887Z] total 268 [2024-07-25T05:48:03.887Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 05:44 . [2024-07-25T05:48:03.887Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 05:40 .. [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 05:40 .dockerignore [2024-07-25T05:48:03.887Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 05:40 .git [2024-07-25T05:48:03.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:40 .github [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 25 05:40 .gitignore [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 05:40 .golangci.yml [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 25 05:40 Attribution.txt [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 25 05:40 CHANGELOG.md [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 25 05:40 Dockerfile [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 05:40 GOVERNANCE.md [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 25 05:40 Jenkinsfile [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 05:40 LICENSE [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 25 05:40 Makefile [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 05:40 OWNERS.md [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 25 05:40 README.md [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 05:38 VERSION [2024-07-25T05:48:03.887Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 05:40 bin [2024-07-25T05:48:03.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:40 cmd [2024-07-25T05:48:03.887Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 25 05:47 coverage.out [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 7185 Jul 25 05:40 go.mod [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 102015 Jul 25 05:40 go.sum [2024-07-25T05:48:03.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:40 internal [2024-07-25T05:48:03.887Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 05:40 simulator [2024-07-25T05:48:03.887Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 25 05:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:48:04.331Z] + 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=6fe663430dc2fd31ed2be3ef3a9035e314d112bd --label arch=arm64 --label version=0.0.0 . [2024-07-25T05:48:04.597Z] Sending build context to Docker daemon 9.111MB [2024-07-25T05:48:04.865Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-25T05:48:04.865Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-25T05:48:04.865Z] ---> ece0d9dbbe73 [2024-07-25T05:48:04.865Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-25T05:48:04.865Z] ---> Running in 9dec41ffda9f [2024-07-25T05:48:05.129Z] Removing intermediate container 9dec41ffda9f [2024-07-25T05:48:05.129Z] ---> 173b1608567a [2024-07-25T05:48:05.129Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-25T05:48:05.129Z] ---> Running in bc2f82f07ae1 [2024-07-25T05:48:05.407Z] Removing intermediate container bc2f82f07ae1 [2024-07-25T05:48:05.407Z] ---> 96fb1d81e1ae [2024-07-25T05:48:05.407Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-25T05:48:05.672Z] ---> Running in 85c79ae56e31 [2024-07-25T05:48:06.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:48:06.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:48:07.852Z] OK: 272 MiB in 60 packages [2024-07-25T05:48:08.435Z] Removing intermediate container 85c79ae56e31 [2024-07-25T05:48:08.435Z] ---> 22ab6bcf9f15 [2024-07-25T05:48:08.435Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-25T05:48:08.700Z] ---> Running in 7c59cc362f3b [2024-07-25T05:48:08.965Z] Removing intermediate container 7c59cc362f3b [2024-07-25T05:48:08.965Z] ---> 5b6b7e1d9b1d [2024-07-25T05:48:08.965Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-25T05:48:09.236Z] ---> c045c75ff399 [2024-07-25T05:48:09.237Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-25T05:48:09.505Z] ---> Running in 6524a1c4a4f1 [2024-07-25T05:48:11.451Z] Removing intermediate container 6524a1c4a4f1 [2024-07-25T05:48:11.451Z] ---> a73d420095ef [2024-07-25T05:48:11.451Z] Step 9/23 : COPY . . [2024-07-25T05:48:12.414Z] ---> 2957293b2097 [2024-07-25T05:48:12.414Z] Step 10/23 : RUN ${MAKE} [2024-07-25T05:48:12.414Z] ---> Running in 7c38dc084941 [2024-07-25T05:48:13.374Z] 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.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-25T05:51:35.134Z] Removing intermediate container 7c38dc084941 [2024-07-25T05:51:35.134Z] ---> c99e49905501 [2024-07-25T05:51:35.134Z] Step 11/23 : FROM alpine:3.18 [2024-07-25T05:51:35.134Z] 3.18: Pulling from library/alpine [2024-07-25T05:51:35.134Z] 4983c3fe2029: Pulling fs layer [2024-07-25T05:51:35.134Z] 4983c3fe2029: Download complete [2024-07-25T05:51:35.134Z] 4983c3fe2029: Pull complete [2024-07-25T05:51:35.134Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-25T05:51:35.134Z] Status: Downloaded newer image for alpine:3.18 [2024-07-25T05:51:35.134Z] ---> a0237000ae83 [2024-07-25T05:51:35.134Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-25T05:51:35.134Z] ---> Running in c55f84ad6a75 [2024-07-25T05:51:35.134Z] Removing intermediate container c55f84ad6a75 [2024-07-25T05:51:35.134Z] ---> abffed167aea [2024-07-25T05:51:35.134Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-25T05:51:35.134Z] ---> Running in 30ca5fa5d0fd [2024-07-25T05:51:35.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:51:35.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:51:35.134Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-25T05:51:35.134Z] Executing busybox-1.36.1-r7.trigger [2024-07-25T05:51:35.134Z] OK: 8 MiB in 16 packages [2024-07-25T05:51:35.134Z] Removing intermediate container 30ca5fa5d0fd [2024-07-25T05:51:35.134Z] ---> 4fa3a2e03f4b [2024-07-25T05:51:35.134Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-25T05:51:35.134Z] ---> Running in abad361e0592 [2024-07-25T05:51:35.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-25T05:51:35.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-25T05:51:35.134Z] OK: 8 MiB in 16 packages [2024-07-25T05:51:35.134Z] Removing intermediate container abad361e0592 [2024-07-25T05:51:35.134Z] ---> 62f010aa3d01 [2024-07-25T05:51:35.134Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-25T05:51:35.134Z] ---> bc6c1dd8c2aa [2024-07-25T05:51:35.134Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-25T05:51:35.717Z] ---> 46be1018c129 [2024-07-25T05:51:35.717Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-25T05:51:36.300Z] ---> bf39ab0776e0 [2024-07-25T05:51:36.300Z] Step 18/23 : EXPOSE 59901 [2024-07-25T05:51:36.300Z] ---> Running in 038e939c69d2 [2024-07-25T05:51:36.568Z] Removing intermediate container 038e939c69d2 [2024-07-25T05:51:36.568Z] ---> bbd21dd80f85 [2024-07-25T05:51:36.568Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-25T05:51:36.568Z] ---> Running in db285fa565d2 [2024-07-25T05:51:36.852Z] Removing intermediate container db285fa565d2 [2024-07-25T05:51:36.852Z] ---> 4b4d4937a455 [2024-07-25T05:51:36.852Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-25T05:51:36.852Z] ---> Running in 11a9e6c67d02 [2024-07-25T05:51:37.212Z] Removing intermediate container 11a9e6c67d02 [2024-07-25T05:51:37.212Z] ---> c19956aecc12 [2024-07-25T05:51:37.212Z] Step 21/23 : LABEL arch=arm64 [2024-07-25T05:51:37.212Z] ---> Running in c8f3982a348b [2024-07-25T05:51:39.482Z] Removing intermediate container c8f3982a348b [2024-07-25T05:51:39.482Z] ---> 6f00841548b2 [2024-07-25T05:51:39.482Z] Step 22/23 : LABEL git_sha=6fe663430dc2fd31ed2be3ef3a9035e314d112bd [2024-07-25T05:51:39.482Z] ---> Running in 920dc80ff9be [2024-07-25T05:51:39.482Z] Removing intermediate container 920dc80ff9be [2024-07-25T05:51:39.482Z] ---> 92f529bbe77e [2024-07-25T05:51:39.482Z] Step 23/23 : LABEL version=0.0.0 [2024-07-25T05:51:39.482Z] ---> Running in 83105277c442 [2024-07-25T05:51:39.482Z] Removing intermediate container 83105277c442 [2024-07-25T05:51:39.482Z] ---> 967d9bda378e [2024-07-25T05:51:39.482Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-25T05:51:39.482Z] Successfully built 967d9bda378e [2024-07-25T05:51:39.482Z] 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-07-25T05:51:40.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T05:51:40.829Z] [2024-07-25T05:51:40.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:51:41.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T05:51:41.259Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-25T05:51:41.259Z] 8998bd30e6a1: Pulling fs layer [2024-07-25T05:51:41.259Z] 04944245beec: Pulling fs layer [2024-07-25T05:51:41.259Z] 699f458cf7ca: Pulling fs layer [2024-07-25T05:51:41.259Z] 765212b225bb: Pulling fs layer [2024-07-25T05:51:41.259Z] f23df028b6ca: Pulling fs layer [2024-07-25T05:51:41.259Z] d65c8cfc05b1: Pulling fs layer [2024-07-25T05:51:41.259Z] 2437ff75d9bd: Pulling fs layer [2024-07-25T05:51:41.259Z] f23df028b6ca: Waiting [2024-07-25T05:51:41.259Z] 765212b225bb: Waiting [2024-07-25T05:51:41.259Z] d65c8cfc05b1: Waiting [2024-07-25T05:51:41.259Z] 2437ff75d9bd: Waiting [2024-07-25T05:51:41.526Z] 04944245beec: Verifying Checksum [2024-07-25T05:51:41.526Z] 04944245beec: Download complete [2024-07-25T05:51:41.526Z] 765212b225bb: Verifying Checksum [2024-07-25T05:51:41.526Z] 765212b225bb: Download complete [2024-07-25T05:51:41.526Z] f23df028b6ca: Verifying Checksum [2024-07-25T05:51:41.527Z] f23df028b6ca: Download complete [2024-07-25T05:51:41.527Z] d65c8cfc05b1: Verifying Checksum [2024-07-25T05:51:41.527Z] d65c8cfc05b1: Download complete [2024-07-25T05:51:41.527Z] 699f458cf7ca: Verifying Checksum [2024-07-25T05:51:41.527Z] 699f458cf7ca: Download complete [2024-07-25T05:51:42.109Z] 8998bd30e6a1: Verifying Checksum [2024-07-25T05:51:42.109Z] 8998bd30e6a1: Download complete [2024-07-25T05:51:44.689Z] 2437ff75d9bd: Verifying Checksum [2024-07-25T05:51:44.689Z] 2437ff75d9bd: Download complete [2024-07-25T05:51:46.633Z] 8998bd30e6a1: Pull complete [2024-07-25T05:51:47.220Z] 04944245beec: Pull complete [2024-07-25T05:51:48.624Z] 699f458cf7ca: Pull complete [2024-07-25T05:51:48.891Z] 765212b225bb: Pull complete [2024-07-25T05:51:49.853Z] f23df028b6ca: Pull complete [2024-07-25T05:51:49.853Z] d65c8cfc05b1: Pull complete [2024-07-25T05:52:08.053Z] 2437ff75d9bd: Pull complete [2024-07-25T05:52:08.053Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-25T05:52:08.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-25T05:52:08.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:52:08.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-6425 does not seem to be running inside a container [2024-07-25T05:52:08.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-25T05:52:11.110Z] $ docker top c2133a308d55f18d09b719a8ce14c634897f9f255da0ca52112a09166bb4eb48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:12.036Z] ---> job-cost.sh [2024-07-25T05:52:12.036Z] lf-activate-venv: SKIPPING [2024-07-25T05:52:12.036Z] INFO: No Stack... [2024-07-25T05:52:12.300Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-25T05:52:13.249Z] INFO: Archiving Costs [Pipeline] sh [2024-07-25T05:52:13.915Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-07-25T05:52:13.915Z] + cut -d, -f6 [Pipeline] lock [2024-07-25T05:52:13.996Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] [2024-07-25T05:52:14.002Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] did not exist. Created. [2024-07-25T05:52:14.010Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-25T05:52:14.435Z] /w/workspace/device-modbus-go/1@tmp/durable-36246fbd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-25T05:52:14.795Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-25T05:52:14.844Z] Warning: overwriting stash ‘stack-cost’ [2024-07-25T05:52:14.892Z] Stashed 1 file(s) [Pipeline] } [2024-07-25T05:52:14.914Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-25T05:52:15.056Z] $ docker stop --time=1 c2133a308d55f18d09b719a8ce14c634897f9f255da0ca52112a09166bb4eb48 [2024-07-25T05:52:16.526Z] $ docker rm -f --volumes c2133a308d55f18d09b719a8ce14c634897f9f255da0ca52112a09166bb4eb48 [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-07-25T05:52:17.745Z] provisioning config files... [2024-07-25T05:52:17.753Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp/config8834778130052200078tmp [Pipeline] { [Pipeline] sh [2024-07-25T05:52:18.110Z] + set +x [2024-07-25T05:52:18.110Z] + + curl -sbash https://codecov.io/bash -s [2024-07-25T05:52:18.110Z] -- [2024-07-25T05:52:18.110Z] [2024-07-25T05:52:18.110Z] _____ _ [2024-07-25T05:52:18.110Z] / ____| | | [2024-07-25T05:52:18.110Z] | | ___ __| | ___ ___ _____ __ [2024-07-25T05:52:18.110Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-25T05:52:18.110Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-25T05:52:18.110Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-25T05:52:18.110Z] Bash-1.0.6 [2024-07-25T05:52:18.110Z] [2024-07-25T05:52:18.110Z] [2024-07-25T05:52:18.110Z] ==> git version 2.25.1 found [2024-07-25T05:52:18.110Z] ==> 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-07-25T05:52:18.110Z] Release-Date: 2020-01-08 [2024-07-25T05:52:18.110Z] 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-07-25T05:52:18.110Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-25T05:52:18.110Z] ==> Jenkins CI detected. [2024-07-25T05:52:18.110Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-562 [2024-07-25T05:52:18.110Z] project root: . [2024-07-25T05:52:18.110Z] --> token set from env [2024-07-25T05:52:18.110Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-25T05:52:18.110Z] ==> Running gcov in . (disable via -X gcov) [2024-07-25T05:52:18.110Z] ==> Python coveragepy not found [2024-07-25T05:52:18.110Z] ==> Searching for coverage reports in: [2024-07-25T05:52:18.110Z] + . [2024-07-25T05:52:18.110Z] -> Found 1 reports [2024-07-25T05:52:18.110Z] ==> Detecting git/mercurial file structure [2024-07-25T05:52:18.369Z] ==> Reading reports [2024-07-25T05:52:18.369Z] + ./coverage.out bytes=24601 [2024-07-25T05:52:18.369Z] ==> Appending adjustments [2024-07-25T05:52:18.369Z] https://docs.codecov.io/docs/fixing-reports [2024-07-25T05:52:18.369Z] + Found adjustments [2024-07-25T05:52:18.369Z] ==> Gzipping contents [2024-07-25T05:52:18.369Z] 4.0K /tmp/codecov.vz2rLn.gz [2024-07-25T05:52:18.369Z] ==> Uploading reports [2024-07-25T05:52:18.369Z] url: https://codecov.io [2024-07-25T05:52:18.369Z] query: branch=PR-562&commit=6fe663430dc2fd31ed2be3ef3a9035e314d112bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-562%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=562&job=&cmd_args= [2024-07-25T05:52:18.369Z] -> Pinging Codecov [2024-07-25T05:52:18.369Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-562&commit=6fe663430dc2fd31ed2be3ef3a9035e314d112bd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-562%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=562&job=&cmd_args= [2024-07-25T05:52:18.369Z] -> Uploading to [2024-07-25T05:52:18.369Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-25/55DBCA73C666E3227836607328DD7E49/6fe663430dc2fd31ed2be3ef3a9035e314d112bd/e7a4c793-e760-4430-beb9-cdf440315ca6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T055218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d75b0372bd1229b7f43b3c31fefed676f0996f4d730665b6288760708cbe451 [2024-07-25T05:52:18.369Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-25T05:52:18.369Z] Dload Upload Total Spent Left Speed [2024-07-25T05:52:18.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 18565 --:--:-- --:--:-- --:--:-- 18475 100 3843 0 0 100 3843 0 15250 --:--:-- --:--:-- --:--:-- 15189 [2024-07-25T05:52:18.630Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6fe663430dc2fd31ed2be3ef3a9035e314d112bd [Pipeline] } [2024-07-25T05:52:18.671Z] 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-07-25T05:52:21.125Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-562/archives ] [2024-07-25T05:52:21.126Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-562/archives [2024-07-25T05:52:21.126Z] total 16 [2024-07-25T05:52:21.126Z] drwxr-xr-x 3 root root 4096 Jul 25 05:41 . [2024-07-25T05:52:21.126Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 05:41 .. [2024-07-25T05:52:21.126Z] drwxr-xr-x 2 root root 4096 Jul 25 05:41 cost [2024-07-25T05:52:21.126Z] -rw-r--r-- 1 root root 88 Jul 25 05:41 cost.csv [2024-07-25T05:52:21.126Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-562/archives [2024-07-25T05:52:21.126Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-562/archives [2024-07-25T05:52:21.126Z] total 16 [2024-07-25T05:52:21.126Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 05:41 . [2024-07-25T05:52:21.126Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 05:41 .. [2024-07-25T05:52:21.126Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 05:41 cost [2024-07-25T05:52:21.126Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 25 05:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:21.473Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:22.385Z] ---> package-listing.sh [2024-07-25T05:52:22.385Z] ++ facter osfamily [2024-07-25T05:52:22.385Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-25T05:52:22.646Z] + OS_FAMILY=debian [2024-07-25T05:52:22.646Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-562 [2024-07-25T05:52:22.646Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-25T05:52:22.646Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-25T05:52:22.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-25T05:52:22.646Z] + PACKAGES=/tmp/packages_start.txt [2024-07-25T05:52:22.646Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-562 ']' [2024-07-25T05:52:22.646Z] + PACKAGES=/tmp/packages_end.txt [2024-07-25T05:52:22.646Z] + case "${OS_FAMILY}" in [2024-07-25T05:52:22.646Z] + dpkg -l [2024-07-25T05:52:22.646Z] + grep '^ii' [2024-07-25T05:52:22.646Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-25T05:52:22.646Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-25T05:52:22.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-25T05:52:22.646Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-562 ']' [2024-07-25T05:52:22.646Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-562/archives/ [2024-07-25T05:52:22.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-562/archives/ [Pipeline] echo [2024-07-25T05:52:22.694Z] 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-562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-25T05:52:22.999Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-25T05:52:23.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-25T05:52:23.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-25T05:52:23.863Z] prd-ubuntu20.04-docker-8c-8g-6424 does not seem to be running inside a container [2024-07-25T05:52:23.894Z] $ 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-562/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-562 -v /w/workspace/xfoundry_device-modbus-go_PR-562:/w/workspace/xfoundry_device-modbus-go_PR-562:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-562@tmp:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-25T05:52:24.090Z] $ docker top bd36f1f11247dc020b191bedd5eaf0219899ec5ff4fe5beb998a7f5dfea13943 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-25T05:52:24.509Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-25T05:52:24.839Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-25T05:52:25.159Z] + ls /var/log/sa-host [2024-07-25T05:52:25.160Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-25T05:52:25.411Z] provisioning config files... [2024-07-25T05:52:25.421Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-562@tmp/config8144073950906529017tmp [Pipeline] { [Pipeline] echo [2024-07-25T05:52:25.480Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:25.804Z] ---> create-netrc.sh [Pipeline] } [2024-07-25T05:52:25.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:26.280Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-25T05:52:26.328Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:26.715Z] ---> sudo-logs.sh [2024-07-25T05:52:26.715Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-25T05:52:26.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:27.196Z] ---> job-cost.sh [2024-07-25T05:52:27.197Z] lf-activate-venv: SKIPPING [2024-07-25T05:52:27.197Z] DEBUG: total: 0.2199999988079071 [2024-07-25T05:52:27.197Z] INFO: Retrieving Stack Cost... [2024-07-25T05:52:27.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-25T05:52:28.076Z] INFO: Archiving Costs [Pipeline] echo [2024-07-25T05:52:28.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-25T05:52:28.444Z] ---> logs-deploy.sh [2024-07-25T05:52:28.444Z] lf-activate-venv: SKIPPING [2024-07-25T05:52:28.444Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-562/1 [2024-07-25T05:52:28.444Z] INFO: archiving workspace using pattern(s): [2024-07-25T05:52:29.384Z] Archives upload complete. [2024-07-25T05:52:29.384Z] INFO: archiving logs to Nexus