Pull request #561 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85fe8477a6d2aada7bf5da6a2fdf6cd348060705+d71636c60b8b9ed9f948421f9983ca52d9baac39 (db84a6a78f3eea5a15afa893ba1031df5b2e8ac9) 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-ssh13822172243229437899.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-ssh15356125468587924510.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-561/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-561/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9304425012598417213.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-561/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13234548738129003584.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-ssh8680531908508702632.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-561/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-561/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13476836388517222534.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-5918 in /w/workspace/xfoundry_device-modbus-go_PR-561 [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-561 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d71636c60b8b9ed9f948421f9983ca52d9baac39 into PR head commit 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 Merge succeeded, producing 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 Checking out Revision 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 (PR-561) > 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/561/head:refs/remotes/origin/PR-561 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 # 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 d71636c60b8b9ed9f948421f9983ca52d9baac39 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-19T05:25:03.202Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-19T05:25:03.999Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-19T05:25:04.377Z] ========================================================= [2024-07-19T05:25:04.377Z] EdgeX Global Pipelines Version Info [2024-07-19T05:25:04.378Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:25:05.624Z] ------------------- [2024-07-19T05:25:05.624Z] stable info: [2024-07-19T05:25:05.624Z] ------------------- [2024-07-19T05:25:05.624Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T05:25:05.624Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T05:25:05.624Z] Message: update stable to v1.0.260 [2024-07-19T05:25:05.918Z] ------------------- [2024-07-19T05:25:05.918Z] experimental info: [2024-07-19T05:25:05.918Z] ------------------- [2024-07-19T05:25:05.918Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T05:25:05.918Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-19T05:25:05.918Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-19T05:25:06.630Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-19T05:25:06.843Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-19T05:25:07.050Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-19T05:25:07.230Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-19T05:25:07.419Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-19T05:25:07.738Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-19T05:25:07.947Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-19T05:25:08.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-19T05:25:08.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-19T05:25:08.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-19T05:25:08.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-19T05:25:09.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-19T05:25:09.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-19T05:25:09.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-19T05:25:09.809Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T05:25:09.962Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T05:25:10.175Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T05:25:10.501Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T05:25:10.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-19T05:25:10.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-19T05:25:11.005Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-19T05:25:11.274Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-19T05:25:11.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-19T05:25:11.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-19T05:25:11.940Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-19T05:25:12.134Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-19T05:25:12.305Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-19T05:25:12.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-561 [Pipeline] echo [2024-07-19T05:25:12.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-561 [Pipeline] echo [2024-07-19T05:25:12.819Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-561 [Pipeline] echo [2024-07-19T05:25:13.051Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [Pipeline] echo [2024-07-19T05:25:13.268Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85fe847 [Pipeline] echo [2024-07-19T05:25:13.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T05:25:13.960Z] provisioning config files... [2024-07-19T05:25:14.006Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-561@tmp/config16411983115376269594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:25:14.817Z] ---> ****-login.sh [2024-07-19T05:25:14.817Z] nexus3.edgexfoundry.org:10001 [2024-07-19T05:25:14.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:15.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:15.107Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:15.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:15.107Z] [2024-07-19T05:25:15.107Z] Login Succeeded [2024-07-19T05:25:15.107Z] nexus3.edgexfoundry.org:10002 [2024-07-19T05:25:15.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:15.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:15.107Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:15.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:15.107Z] [2024-07-19T05:25:15.107Z] Login Succeeded [2024-07-19T05:25:15.107Z] nexus3.edgexfoundry.org:10003 [2024-07-19T05:25:15.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:15.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:15.421Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:15.421Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:15.421Z] [2024-07-19T05:25:15.421Z] Login Succeeded [2024-07-19T05:25:15.421Z] nexus3.edgexfoundry.org:10004 [2024-07-19T05:25:15.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:15.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:15.421Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:15.421Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:15.421Z] [2024-07-19T05:25:15.421Z] Login Succeeded [2024-07-19T05:25:15.421Z] ****.io [2024-07-19T05:25:15.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:15.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:15.732Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:15.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:15.732Z] [2024-07-19T05:25:15.732Z] Login Succeeded [2024-07-19T05:25:15.732Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T05:25:15.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-19T05:25:17.635Z] + git rev-list -1 --merges 85fe8477a6d2aada7bf5da6a2fdf6cd348060705~1..85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [Pipeline] echo [2024-07-19T05:25:17.811Z] -----------> git rev-list -1 --merges 85fe8477a6d2aada7bf5da6a2fdf6cd348060705~1..85fe8477a6d2aada7bf5da6a2fdf6cd348060705 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [false] [Pipeline] sh [2024-07-19T05:25:18.320Z] + git log --format=format:%s -1 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [Pipeline] echo [2024-07-19T05:25:18.483Z] ========================================================= [2024-07-19T05:25:18.483Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-19T05:25:18.483Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T05:25:19.386Z] + git log --format=format:%s -1 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [Pipeline] echo [2024-07-19T05:25:19.509Z] [semverPrep] GIT_COMMIT: 85fe8477a6d2aada7bf5da6a2fdf6cd348060705, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-19T05:25:19.695Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-19T05:25:20.506Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T05:25:20.506Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-19T05:25:20.506Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-19T05:25:20.506Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-19T05:25:20.506Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-19T05:25:20.506Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-19T05:25:20.506Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:25:21.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T05:25:21.492Z] [2024-07-19T05:25:21.492Z] 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-19T05:25:22.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T05:25:22.328Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-19T05:25:22.328Z] b85a868b505f: Pulling fs layer [2024-07-19T05:25:22.328Z] e2be974225ed: Pulling fs layer [2024-07-19T05:25:22.328Z] 339a4e72a1f5: Pulling fs layer [2024-07-19T05:25:22.328Z] 988bab9f4d93: Pulling fs layer [2024-07-19T05:25:22.328Z] 1469e6f7b9e6: Pulling fs layer [2024-07-19T05:25:22.328Z] eaf3925da568: Pulling fs layer [2024-07-19T05:25:22.328Z] bab4dde63d76: Pulling fs layer [2024-07-19T05:25:22.328Z] bde34c3a00c8: Pulling fs layer [2024-07-19T05:25:22.328Z] b352a97aabf1: Pulling fs layer [2024-07-19T05:25:22.328Z] 4872d77fe225: Pulling fs layer [2024-07-19T05:25:22.328Z] 5851b861e8e6: Pulling fs layer [2024-07-19T05:25:22.328Z] 1469e6f7b9e6: Waiting [2024-07-19T05:25:22.328Z] 988bab9f4d93: Waiting [2024-07-19T05:25:22.328Z] bab4dde63d76: Waiting [2024-07-19T05:25:22.328Z] eaf3925da568: Waiting [2024-07-19T05:25:22.328Z] bde34c3a00c8: Waiting [2024-07-19T05:25:22.328Z] b352a97aabf1: Waiting [2024-07-19T05:25:22.328Z] 5851b861e8e6: Waiting [2024-07-19T05:25:22.328Z] e2be974225ed: Verifying Checksum [2024-07-19T05:25:22.328Z] 988bab9f4d93: Verifying Checksum [2024-07-19T05:25:22.328Z] 988bab9f4d93: Download complete [2024-07-19T05:25:22.328Z] 339a4e72a1f5: Verifying Checksum [2024-07-19T05:25:22.328Z] 339a4e72a1f5: Download complete [2024-07-19T05:25:22.328Z] 1469e6f7b9e6: Verifying Checksum [2024-07-19T05:25:22.328Z] 1469e6f7b9e6: Download complete [2024-07-19T05:25:22.328Z] eaf3925da568: Verifying Checksum [2024-07-19T05:25:22.328Z] eaf3925da568: Download complete [2024-07-19T05:25:22.328Z] bde34c3a00c8: Download complete [2024-07-19T05:25:22.328Z] b352a97aabf1: Download complete [2024-07-19T05:25:22.644Z] 4872d77fe225: Verifying Checksum [2024-07-19T05:25:22.644Z] 4872d77fe225: Download complete [2024-07-19T05:25:22.644Z] 5851b861e8e6: Verifying Checksum [2024-07-19T05:25:22.644Z] 5851b861e8e6: Download complete [2024-07-19T05:25:22.644Z] b85a868b505f: Verifying Checksum [2024-07-19T05:25:22.644Z] b85a868b505f: Download complete [2024-07-19T05:25:22.972Z] bab4dde63d76: Verifying Checksum [2024-07-19T05:25:22.972Z] bab4dde63d76: Download complete [2024-07-19T05:25:23.632Z] b85a868b505f: Pull complete [2024-07-19T05:25:23.941Z] e2be974225ed: Pull complete [2024-07-19T05:25:24.256Z] 339a4e72a1f5: Pull complete [2024-07-19T05:25:24.530Z] 988bab9f4d93: Pull complete [2024-07-19T05:25:24.815Z] 1469e6f7b9e6: Pull complete [2024-07-19T05:25:24.815Z] eaf3925da568: Pull complete [2024-07-19T05:25:26.294Z] bab4dde63d76: Pull complete [2024-07-19T05:25:26.600Z] bde34c3a00c8: Pull complete [2024-07-19T05:25:26.600Z] b352a97aabf1: Pull complete [2024-07-19T05:25:26.600Z] 4872d77fe225: Pull complete [2024-07-19T05:25:26.916Z] 5851b861e8e6: Pull complete [2024-07-19T05:25:26.916Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-19T05:25:26.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T05:25:26.916Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:25:27.832Z] prd-ubuntu20.04-docker-8c-8g-5918 does not seem to be running inside a container [2024-07-19T05:25:27.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-561 -v /w/workspace/xfoundry_device-modbus-go_PR-561:/w/workspace/xfoundry_device-modbus-go_PR-561:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-561@tmp:/w/workspace/xfoundry_device-modbus-go_PR-561@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-19T05:25:31.076Z] $ docker top 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc -eo pid,comm [2024-07-19T05:25:31.187Z] 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-19T05:25:31.187Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T05:25:31.734Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T05:25:31.734Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T05:25:31.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T05:25:31.868Z] $ docker exec 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc ssh-agent [2024-07-19T05:25:31.998Z] SSH_AUTH_SOCK=/tmp/ssh-jkw0njdvW6Sj/agent.32 [2024-07-19T05:25:31.998Z] SSH_AGENT_PID=38 [2024-07-19T05:25:32.016Z] Running ssh-add (command line suppressed) [2024-07-19T05:25:32.112Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-561@tmp/private_key_8952602700265969445.key (/w/workspace/xfoundry_device-modbus-go_PR-561@tmp/private_key_8952602700265969445.key) [2024-07-19T05:25:32.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T05:25:32.656Z] + git tag --points-at HEAD [Pipeline] } [2024-07-19T05:25:32.765Z] $ docker exec --env ******** --env ******** 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc ssh-agent -k [2024-07-19T05:25:32.862Z] unset SSH_AUTH_SOCK; [2024-07-19T05:25:32.862Z] unset SSH_AGENT_PID; [2024-07-19T05:25:32.863Z] echo Agent pid 38 killed; [2024-07-19T05:25:32.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-19T05:25:33.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T05:25:33.236Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T05:25:33.350Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T05:25:33.353Z] $ docker exec 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc ssh-agent [2024-07-19T05:25:33.490Z] SSH_AUTH_SOCK=/tmp/ssh-ArtnjerkVMXx/agent.72 [2024-07-19T05:25:33.490Z] SSH_AGENT_PID=78 [2024-07-19T05:25:33.509Z] Running ssh-add (command line suppressed) [2024-07-19T05:25:33.607Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-561@tmp/private_key_3189952063219179476.key (/w/workspace/xfoundry_device-modbus-go_PR-561@tmp/private_key_3189952063219179476.key) [2024-07-19T05:25:33.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T05:25:34.261Z] + git semver init [2024-07-19T05:25:34.550Z] 2024-07-19 05:25:34,388 [run_init] DEBUG init version:0.0.0 force:False [2024-07-19T05:25:34.550Z] 2024-07-19 05:25:34,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-561/.semver [2024-07-19T05:25:34.550Z] 2024-07-19 05:25:34,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-561/.semver [2024-07-19T05:25:34.550Z] 2024-07-19 05:25:34,389 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-561/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-561, universal_newlines=False, shell=None, istream=None) [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,375 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-561/.git/info/exclude [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,376 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-561/.semver/PR-561 with force:False [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,376 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-561/.semver/PR-561 [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,380 [execute] INFO git cat-file --batch-check [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-561/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,387 [execute] INFO git cat-file --batch [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-561/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T05:25:35.589Z] 2024-07-19 05:25:35,392 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-561/.semver/PR-561 [2024-07-19T05:25:35.589Z] 0.0.0 [Pipeline] } [2024-07-19T05:25:35.647Z] $ docker exec --env ******** --env ******** 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc ssh-agent -k [2024-07-19T05:25:35.746Z] unset SSH_AUTH_SOCK; [2024-07-19T05:25:35.746Z] unset SSH_AGENT_PID; [2024-07-19T05:25:35.747Z] echo Agent pid 78 killed; [2024-07-19T05:25:35.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T05:25:36.748Z] + git semver [Pipeline] } [2024-07-19T05:25:37.198Z] $ docker stop --time=1 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc [2024-07-19T05:25:38.509Z] $ docker rm -f --volumes 2f113175e962eea0b9a93950b90379991ef0962701a95c1aabd9f3faf91de6fc [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T05:25:39.284Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-19T05:25:40.276Z] Stashed 1 file(s) [Pipeline] echo [2024-07-19T05:25:40.351Z] [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-19T05:25:42.767Z] provisioning config files... [2024-07-19T05:25:42.800Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-561@tmp/config249982626953557239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:25:43.545Z] ---> ****-login.sh [2024-07-19T05:25:43.545Z] nexus3.edgexfoundry.org:10001 [2024-07-19T05:25:43.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:43.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:43.545Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:43.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:43.545Z] [2024-07-19T05:25:43.545Z] Login Succeeded [2024-07-19T05:25:43.545Z] nexus3.edgexfoundry.org:10002 [2024-07-19T05:25:43.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:43.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:43.545Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:43.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:43.545Z] [2024-07-19T05:25:43.545Z] Login Succeeded [2024-07-19T05:25:43.545Z] nexus3.edgexfoundry.org:10003 [2024-07-19T05:25:43.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:43.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:43.876Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:43.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:43.876Z] [2024-07-19T05:25:43.876Z] Login Succeeded [2024-07-19T05:25:43.876Z] nexus3.edgexfoundry.org:10004 [2024-07-19T05:25:43.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:43.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:43.876Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:43.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:43.876Z] [2024-07-19T05:25:43.876Z] Login Succeeded [2024-07-19T05:25:43.876Z] ****.io [2024-07-19T05:25:43.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:25:44.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:25:44.157Z] Configure a credential helper to remove this warning. See [2024-07-19T05:25:44.157Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:25:44.157Z] [2024-07-19T05:25:44.157Z] Login Succeeded [2024-07-19T05:25:44.157Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T05:25:44.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T05:25:44.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T05:25:45.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T05:25:45.320Z] ========================================================= [2024-07-19T05:25:45.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-19T05:25:45.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:25:46.565Z] + 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-19T05:25:46.565Z] Sending build context to Docker daemon 17.88MB [2024-07-19T05:25:46.565Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T05:25:46.565Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-19T05:25:46.565Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-19T05:25:46.565Z] 619be1103602: Pulling fs layer [2024-07-19T05:25:46.565Z] 7862e08f4a3e: Pulling fs layer [2024-07-19T05:25:46.565Z] 5df492c9dc93: Pulling fs layer [2024-07-19T05:25:46.565Z] 7629e6793208: Pulling fs layer [2024-07-19T05:25:46.565Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T05:25:46.565Z] fb5054dd5b73: Pulling fs layer [2024-07-19T05:25:46.565Z] eeca6798cff9: Pulling fs layer [2024-07-19T05:25:46.565Z] aa269ceb94a6: Pulling fs layer [2024-07-19T05:25:46.565Z] ada007ff1a6a: Pulling fs layer [2024-07-19T05:25:46.565Z] 4f4fb700ef54: Waiting [2024-07-19T05:25:46.565Z] fb5054dd5b73: Waiting [2024-07-19T05:25:46.565Z] eeca6798cff9: Waiting [2024-07-19T05:25:46.565Z] aa269ceb94a6: Waiting [2024-07-19T05:25:46.565Z] ada007ff1a6a: Waiting [2024-07-19T05:25:46.565Z] 7629e6793208: Waiting [2024-07-19T05:25:46.565Z] 7862e08f4a3e: Verifying Checksum [2024-07-19T05:25:46.565Z] 7862e08f4a3e: Download complete [2024-07-19T05:25:46.565Z] 7629e6793208: Verifying Checksum [2024-07-19T05:25:46.565Z] 7629e6793208: Download complete [2024-07-19T05:25:46.871Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T05:25:46.871Z] 4f4fb700ef54: Download complete [2024-07-19T05:25:46.871Z] fb5054dd5b73: Verifying Checksum [2024-07-19T05:25:46.871Z] fb5054dd5b73: Download complete [2024-07-19T05:25:46.871Z] 619be1103602: Verifying Checksum [2024-07-19T05:25:46.871Z] 619be1103602: Download complete [2024-07-19T05:25:46.871Z] eeca6798cff9: Verifying Checksum [2024-07-19T05:25:46.871Z] eeca6798cff9: Download complete [2024-07-19T05:25:46.871Z] 619be1103602: Pull complete [2024-07-19T05:25:46.871Z] ada007ff1a6a: Verifying Checksum [2024-07-19T05:25:46.871Z] ada007ff1a6a: Download complete [2024-07-19T05:25:47.197Z] 7862e08f4a3e: Pull complete [2024-07-19T05:25:47.197Z] 5df492c9dc93: Verifying Checksum [2024-07-19T05:25:47.197Z] 5df492c9dc93: Download complete [2024-07-19T05:25:47.496Z] aa269ceb94a6: Verifying Checksum [2024-07-19T05:25:47.496Z] aa269ceb94a6: Download complete [2024-07-19T05:25:50.289Z] 5df492c9dc93: Pull complete [2024-07-19T05:25:50.289Z] 7629e6793208: Pull complete [2024-07-19T05:25:50.289Z] 4f4fb700ef54: Pull complete [2024-07-19T05:25:50.619Z] fb5054dd5b73: Pull complete [2024-07-19T05:25:50.619Z] eeca6798cff9: Pull complete [2024-07-19T05:25:52.720Z] aa269ceb94a6: Pull complete [2024-07-19T05:25:53.377Z] ada007ff1a6a: Pull complete [2024-07-19T05:25:53.377Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-19T05:25:53.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-19T05:25:53.377Z] ---> f489d0715acc [2024-07-19T05:25:53.377Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-19T05:25:57.055Z] Still waiting to schedule task [2024-07-19T05:25:57.055Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-19T05:25:57.832Z] ---> Running in d4c1a879586a [2024-07-19T05:25:57.832Z] Removing intermediate container d4c1a879586a [2024-07-19T05:25:57.832Z] ---> 4398ecd136c1 [2024-07-19T05:25:57.832Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T05:25:57.832Z] ---> Running in 03ef43a1dfb3 [2024-07-19T05:25:57.832Z] Removing intermediate container 03ef43a1dfb3 [2024-07-19T05:25:57.832Z] ---> 55d46d193871 [2024-07-19T05:25:57.832Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-19T05:25:57.832Z] ---> Running in 4017ef9908da [2024-07-19T05:25:57.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T05:25:57.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T05:25:58.153Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T05:25:58.153Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-19T05:25:58.153Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T05:25:58.153Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T05:25:58.153Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-19T05:25:58.153Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-19T05:25:58.153Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-19T05:25:58.153Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-19T05:25:58.153Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T05:25:58.153Z] OK: 270 MiB in 60 packages [2024-07-19T05:25:58.771Z] Removing intermediate container 4017ef9908da [2024-07-19T05:25:58.771Z] ---> 24719755db2a [2024-07-19T05:25:58.771Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-19T05:25:58.771Z] ---> Running in da9b8ecaa673 [2024-07-19T05:25:58.771Z] Removing intermediate container da9b8ecaa673 [2024-07-19T05:25:58.771Z] ---> ce046d54a62b [2024-07-19T05:25:58.771Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-19T05:25:58.771Z] ---> 7a6ec80c57d2 [2024-07-19T05:25:58.771Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T05:25:58.771Z] ---> Running in 41d0065c19d8 [2024-07-19T05:26:55.721Z] Removing intermediate container 41d0065c19d8 [2024-07-19T05:26:55.721Z] ---> 1b0b97c508e1 [2024-07-19T05:26:55.721Z] Step 9/10 : COPY . . [2024-07-19T05:26:55.721Z] ---> edba530e9ae5 [2024-07-19T05:26:55.721Z] Step 10/10 : RUN ${MAKE} [2024-07-19T05:26:55.721Z] ---> Running in 057ac9bf429b [2024-07-19T05:26:55.721Z] noop [2024-07-19T05:26:55.721Z] Removing intermediate container 057ac9bf429b [2024-07-19T05:26:55.721Z] ---> 3929f3ba8b41 [2024-07-19T05:26:55.721Z] Successfully built 3929f3ba8b41 [2024-07-19T05:26:55.721Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:26:56.908Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T05:26:56.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:26:57.463Z] prd-ubuntu20.04-docker-8c-8g-5918 does not seem to be running inside a container [2024-07-19T05:26:57.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-561 -v /w/workspace/xfoundry_device-modbus-go_PR-561:/w/workspace/xfoundry_device-modbus-go_PR-561:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-561@tmp:/w/workspace/xfoundry_device-modbus-go_PR-561@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-19T05:26:57.914Z] $ docker top 850f5f9a476c4a5ab7e4198197ab75c3384368237f51832301a7499846f6508a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T05:26:58.629Z] + go version [2024-07-19T05:26:58.629Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-19T05:26:58.732Z] $ docker stop --time=1 850f5f9a476c4a5ab7e4198197ab75c3384368237f51832301a7499846f6508a [2024-07-19T05:27:00.002Z] $ docker rm -f --volumes 850f5f9a476c4a5ab7e4198197ab75c3384368237f51832301a7499846f6508a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:27:02.067Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T05:27:02.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:27:02.490Z] prd-ubuntu20.04-docker-8c-8g-5918 does not seem to be running inside a container [2024-07-19T05:27:02.653Z] $ 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-561 -v /w/workspace/xfoundry_device-modbus-go_PR-561:/w/workspace/xfoundry_device-modbus-go_PR-561:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-561@tmp:/w/workspace/xfoundry_device-modbus-go_PR-561@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-19T05:27:03.043Z] $ docker top 10491ee5455e0159afb33b9b8e6d6174662a6f4449f16979e6b28497e71b5252 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T05:27:03.817Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-561 [Pipeline] fileExists [Pipeline] sh [2024-07-19T05:27:04.707Z] + make test [2024-07-19T05:27:04.707Z] go test ./... -coverprofile=coverage.out [2024-07-19T05:27:06.324Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-19T05:27:24.869Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-19T05:27:24.869Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements [2024-07-19T05:27:26.497Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5919 in /w/workspace/xfoundry_device-modbus-go_PR-561 [Pipeline] { [Pipeline] ws [2024-07-19T05:27:26.798Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-19T05:27:27.133Z] The recommended git tool is: git [2024-07-19T05:27:34.568Z] using credential edgex-jenkins-ssh [2024-07-19T05:27:34.622Z] Cloning the remote Git repository [2024-07-19T05:27:34.671Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-19T05:27:34.792Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-19T05:27:34.972Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-19T05:27:34.973Z] > git --version # timeout=10 [2024-07-19T05:27:34.993Z] > git --version # 'git version 2.25.1' [2024-07-19T05:27:34.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T05:27:35.315Z] go vet ./... [2024-07-19T05:27:35.125Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T05:27:37.023Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-19T05:27:37.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T05:27:38.952Z] Merging remotes/origin/main commit d71636c60b8b9ed9f948421f9983ca52d9baac39 into PR head commit 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [2024-07-19T05:27:39.248Z] Merge succeeded, producing 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [2024-07-19T05:27:39.249Z] Checking out Revision 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 (PR-561) [2024-07-19T05:27:38.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-19T05:27:38.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-19T05:27:38.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T05:27:38.486Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/561/head:refs/remotes/origin/PR-561 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-19T05:27:38.968Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T05:27:39.034Z] > git checkout -f 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 # timeout=10 [2024-07-19T05:27:39.142Z] > git remote # timeout=10 [2024-07-19T05:27:39.160Z] > git config --get remote.origin.url # timeout=10 [2024-07-19T05:27:39.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T05:27:39.198Z] > git merge d71636c60b8b9ed9f948421f9983ca52d9baac39 # timeout=10 [2024-07-19T05:27:39.229Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-19T05:27:39.252Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T05:27:39.264Z] > git checkout -f 85fe8477a6d2aada7bf5da6a2fdf6cd348060705 # timeout=10 [2024-07-19T05:27:40.069Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-19T05:27:40.131Z] > git --version # timeout=10 [2024-07-19T05:27:40.143Z] > git --version # 'git version 2.25.1' [2024-07-19T05:27:40.163Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T05:27:40.802Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T05:27:40.802Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T05:27:40.802Z] ./bin/test-attribution-txt.sh [2024-07-19T05:27:40.802Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T05:27:40.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T05:27:41.132Z] $ docker stop --time=1 10491ee5455e0159afb33b9b8e6d6174662a6f4449f16979e6b28497e71b5252 [2024-07-19T05:27:42.707Z] $ docker rm -f --volumes 10491ee5455e0159afb33b9b8e6d6174662a6f4449f16979e6b28497e71b5252 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T05:27:43.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T05:27:43.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2024-07-19T05:27:45.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [2024-07-19T05:27:46.029Z] + ls -al . [2024-07-19T05:27:46.029Z] total 272 [2024-07-19T05:27:46.029Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 05:27 . [2024-07-19T05:27:46.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 05:24 .. [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 05:24 .dockerignore [2024-07-19T05:27:46.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 05:27 .git [2024-07-19T05:27:46.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 05:24 .github [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 19 05:24 .gitignore [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 05:24 .golangci.yml [2024-07-19T05:27:46.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 05:25 .semver [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 19 05:24 Attribution.txt [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 19 05:24 CHANGELOG.md [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 19 05:24 Dockerfile [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 05:24 GOVERNANCE.md [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 19 05:24 Jenkinsfile [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 05:24 LICENSE [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 19 05:24 Makefile [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 05:24 OWNERS.md [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 19 05:24 README.md [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 05:25 VERSION [2024-07-19T05:27:46.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 05:24 bin [2024-07-19T05:27:46.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 05:24 cmd [2024-07-19T05:27:46.029Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 19 05:27 coverage.out [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 7184 Jul 19 05:24 go.mod [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 102013 Jul 19 05:24 go.sum [2024-07-19T05:27:46.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 05:24 internal [2024-07-19T05:27:46.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 05:24 simulator [2024-07-19T05:27:46.029Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 19 05:24 version.go [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-07-19T05:27:47.011Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-19T05:27:47.011Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T05:27:47.011Z] Dload Upload Total Spent Left Speed [2024-07-19T05:27:47.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 75017 0 --:--:-- --:--:-- --:--:-- 75017 [Pipeline] sh [Pipeline] sh [2024-07-19T05:27:47.410Z] + 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=85fe8477a6d2aada7bf5da6a2fdf6cd348060705 --label arch=amd64 --label version=0.0.0 . [2024-07-19T05:27:47.410Z] Sending build context to Docker daemon 17.9MB [2024-07-19T05:27:47.410Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T05:27:47.410Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-19T05:27:47.410Z] ---> 3929f3ba8b41 [2024-07-19T05:27:47.410Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-19T05:27:47.789Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-19T05:27:48.066Z] ---> Running in 4ac3fd85eb16 [2024-07-19T05:27:48.066Z] Removing intermediate container 4ac3fd85eb16 [2024-07-19T05:27:48.066Z] ---> 1d2f888ef7de [2024-07-19T05:27:48.066Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T05:27:48.066Z] ---> Running in 4c3e7d607b70 [2024-07-19T05:27:48.066Z] Removing intermediate container 4c3e7d607b70 [2024-07-19T05:27:48.066Z] ---> 0017314ff4f4 [2024-07-19T05:27:48.066Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-19T05:27:48.066Z] ---> Running in e43d30407e04 [2024-07-19T05:27:48.288Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-19T05:27:48.288Z] sudo tee /etc/docker/daemon.new [2024-07-19T05:27:48.288Z] { [2024-07-19T05:27:48.288Z] "registry-mirrors": [ [2024-07-19T05:27:48.288Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-19T05:27:48.288Z] ], [2024-07-19T05:27:48.288Z] "bip": "10.250.0.254/24", [2024-07-19T05:27:48.288Z] "hosts": [ [2024-07-19T05:27:48.288Z] "tcp://0.0.0.0:5555", [2024-07-19T05:27:48.288Z] "unix:///var/run/docker.sock" [2024-07-19T05:27:48.288Z] ], [2024-07-19T05:27:48.288Z] "mtu": 1458, [2024-07-19T05:27:48.288Z] "selinux-enabled": true, [2024-07-19T05:27:48.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-19T05:27:48.288Z] } [2024-07-19T05:27:48.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2024-07-19T05:27:48.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T05:27:48.852Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-19T05:27:48.967Z] OK: 270 MiB in 60 packages [2024-07-19T05:27:49.261Z] Removing intermediate container e43d30407e04 [2024-07-19T05:27:49.261Z] ---> 172567f9ca31 [2024-07-19T05:27:49.261Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-19T05:27:49.261Z] ---> Running in adb0ece25fc0 [2024-07-19T05:27:49.261Z] Removing intermediate container adb0ece25fc0 [2024-07-19T05:27:49.261Z] ---> ec9abcb28ec2 [2024-07-19T05:27:49.261Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-19T05:27:49.261Z] ---> bd883f212e12 [2024-07-19T05:27:49.261Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T05:27:49.261Z] ---> Running in 90b73d5776ff [2024-07-19T05:27:49.400Z] + sudo service docker restart [2024-07-19T05:27:49.910Z] Removing intermediate container 90b73d5776ff [2024-07-19T05:27:49.910Z] ---> 55bf30494bc7 [2024-07-19T05:27:49.910Z] Step 9/23 : COPY . . [2024-07-19T05:27:50.975Z] ---> 54568fcd8fcf [2024-07-19T05:27:50.975Z] Step 10/23 : RUN ${MAKE} [2024-07-19T05:27:50.975Z] ---> Running in 7e8b82359c68 [2024-07-19T05:27:50.975Z] 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.25" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T05:28:08.622Z] provisioning config files... [2024-07-19T05:28:08.683Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4069862369432717333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:28:09.524Z] ---> ****-login.sh [2024-07-19T05:28:09.524Z] nexus3.edgexfoundry.org:10001 [2024-07-19T05:28:09.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:28:10.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:28:10.130Z] Configure a credential helper to remove this warning. See [2024-07-19T05:28:10.130Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:28:10.130Z] [2024-07-19T05:28:10.130Z] Login Succeeded [2024-07-19T05:28:10.130Z] nexus3.edgexfoundry.org:10002 [2024-07-19T05:28:10.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:28:10.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:28:10.455Z] Configure a credential helper to remove this warning. See [2024-07-19T05:28:10.455Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:28:10.455Z] [2024-07-19T05:28:10.455Z] Login Succeeded [2024-07-19T05:28:10.455Z] nexus3.edgexfoundry.org:10003 [2024-07-19T05:28:10.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:28:10.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:28:10.743Z] Configure a credential helper to remove this warning. See [2024-07-19T05:28:10.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:28:10.743Z] [2024-07-19T05:28:10.743Z] Login Succeeded [2024-07-19T05:28:10.743Z] nexus3.edgexfoundry.org:10004 [2024-07-19T05:28:11.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:28:11.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:28:11.046Z] Configure a credential helper to remove this warning. See [2024-07-19T05:28:11.046Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:28:11.046Z] [2024-07-19T05:28:11.046Z] Login Succeeded [2024-07-19T05:28:11.046Z] ****.io [2024-07-19T05:28:11.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T05:28:11.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T05:28:11.708Z] Configure a credential helper to remove this warning. See [2024-07-19T05:28:11.708Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T05:28:11.708Z] [2024-07-19T05:28:11.708Z] Login Succeeded [2024-07-19T05:28:11.708Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T05:28:11.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T05:28:12.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T05:28:13.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T05:28:13.194Z] ========================================================= [2024-07-19T05:28:13.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-19T05:28:13.194Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:28:14.239Z] + 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-19T05:28:14.512Z] Sending build context to Docker daemon 9.08MB [2024-07-19T05:28:14.512Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T05:28:14.512Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-19T05:28:14.827Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-19T05:28:14.827Z] c6b39de5b339: Pulling fs layer [2024-07-19T05:28:14.827Z] a69c41024577: Pulling fs layer [2024-07-19T05:28:14.827Z] d6de4b400683: Pulling fs layer [2024-07-19T05:28:14.827Z] 35cb2a7552d0: Pulling fs layer [2024-07-19T05:28:14.827Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T05:28:14.827Z] 464afbd9ba4c: Pulling fs layer [2024-07-19T05:28:14.827Z] 00f215d4a9da: Pulling fs layer [2024-07-19T05:28:14.827Z] d496ad576159: Pulling fs layer [2024-07-19T05:28:14.827Z] 35cb2a7552d0: Waiting [2024-07-19T05:28:14.827Z] 4f4fb700ef54: Waiting [2024-07-19T05:28:14.827Z] 464afbd9ba4c: Waiting [2024-07-19T05:28:14.827Z] 00f215d4a9da: Waiting [2024-07-19T05:28:14.827Z] d496ad576159: Waiting [2024-07-19T05:28:14.827Z] a69c41024577: Verifying Checksum [2024-07-19T05:28:14.827Z] a69c41024577: Download complete [2024-07-19T05:28:14.827Z] 35cb2a7552d0: Verifying Checksum [2024-07-19T05:28:14.827Z] 35cb2a7552d0: Download complete [2024-07-19T05:28:14.827Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T05:28:14.827Z] 4f4fb700ef54: Download complete [2024-07-19T05:28:14.827Z] 464afbd9ba4c: Verifying Checksum [2024-07-19T05:28:14.827Z] 464afbd9ba4c: Download complete [2024-07-19T05:28:14.827Z] c6b39de5b339: Verifying Checksum [2024-07-19T05:28:14.827Z] c6b39de5b339: Download complete [2024-07-19T05:28:15.446Z] d496ad576159: Verifying Checksum [2024-07-19T05:28:15.446Z] d496ad576159: Download complete [2024-07-19T05:28:15.769Z] c6b39de5b339: Pull complete [2024-07-19T05:28:16.401Z] a69c41024577: Pull complete [2024-07-19T05:28:16.718Z] d6de4b400683: Download complete [2024-07-19T05:28:17.888Z] 00f215d4a9da: Verifying Checksum [2024-07-19T05:28:17.888Z] 00f215d4a9da: Download complete [2024-07-19T05:28:23.539Z] Removing intermediate container 7e8b82359c68 [2024-07-19T05:28:23.539Z] ---> 45b65d96b060 [2024-07-19T05:28:23.539Z] Step 11/23 : FROM alpine:3.18 [2024-07-19T05:28:23.539Z] 3.18: Pulling from library/alpine [2024-07-19T05:28:23.539Z] 73baa7ef167e: Pulling fs layer [2024-07-19T05:28:23.539Z] 73baa7ef167e: Verifying Checksum [2024-07-19T05:28:23.539Z] 73baa7ef167e: Download complete [2024-07-19T05:28:23.539Z] 73baa7ef167e: Pull complete [2024-07-19T05:28:23.539Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T05:28:23.539Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T05:28:23.539Z] ---> 8fd7cac70a4a [2024-07-19T05:28:23.539Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-19T05:28:23.539Z] ---> Running in 19c4b48d7b1b [2024-07-19T05:28:23.539Z] Removing intermediate container 19c4b48d7b1b [2024-07-19T05:28:23.539Z] ---> a37a15d15f5c [2024-07-19T05:28:23.539Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-19T05:28:23.539Z] ---> Running in 0a0ee2b42f6a [2024-07-19T05:28:23.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T05:28:23.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T05:28:23.539Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T05:28:23.539Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T05:28:23.539Z] OK: 7 MiB in 16 packages [2024-07-19T05:28:23.539Z] Removing intermediate container 0a0ee2b42f6a [2024-07-19T05:28:23.539Z] ---> 26d08b219bee [2024-07-19T05:28:23.539Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-19T05:28:23.539Z] ---> Running in d8c7d19c7064 [2024-07-19T05:28:23.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T05:28:23.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T05:28:23.880Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T05:28:23.880Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T05:28:23.880Z] OK: 7 MiB in 16 packages [2024-07-19T05:28:24.520Z] Removing intermediate container d8c7d19c7064 [2024-07-19T05:28:24.520Z] ---> defda6d5feaa [2024-07-19T05:28:24.520Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-19T05:28:25.600Z] ---> 9066fb5f8a77 [2024-07-19T05:28:25.600Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-19T05:28:25.904Z] ---> 5414a4e8a6d5 [2024-07-19T05:28:25.904Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-19T05:28:25.904Z] ---> 5451507986db [2024-07-19T05:28:25.904Z] Step 18/23 : EXPOSE 59901 [2024-07-19T05:28:25.904Z] ---> Running in 51e7515ef305 [2024-07-19T05:28:25.904Z] Removing intermediate container 51e7515ef305 [2024-07-19T05:28:25.904Z] ---> 5abda8520279 [2024-07-19T05:28:25.904Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-19T05:28:25.904Z] ---> Running in c22f57f08214 [2024-07-19T05:28:26.204Z] Removing intermediate container c22f57f08214 [2024-07-19T05:28:26.204Z] ---> 457aa116367c [2024-07-19T05:28:26.204Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-19T05:28:26.204Z] ---> Running in 42fff90f3037 [2024-07-19T05:28:26.204Z] Removing intermediate container 42fff90f3037 [2024-07-19T05:28:26.204Z] ---> 963165401da2 [2024-07-19T05:28:26.204Z] Step 21/23 : LABEL arch=amd64 [2024-07-19T05:28:26.204Z] ---> Running in 9d2cd5a4805b [2024-07-19T05:28:26.204Z] Removing intermediate container 9d2cd5a4805b [2024-07-19T05:28:26.204Z] ---> df62c748d26d [2024-07-19T05:28:26.204Z] Step 22/23 : LABEL git_sha=85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [2024-07-19T05:28:26.204Z] ---> Running in af1fcca3ae80 [2024-07-19T05:28:26.204Z] Removing intermediate container af1fcca3ae80 [2024-07-19T05:28:26.204Z] ---> 544fa59a8b96 [2024-07-19T05:28:26.204Z] Step 23/23 : LABEL version=0.0.0 [2024-07-19T05:28:26.204Z] ---> Running in d00cccd07c18 [2024-07-19T05:28:26.505Z] Removing intermediate container d00cccd07c18 [2024-07-19T05:28:26.505Z] ---> 53488cc043bf [2024-07-19T05:28:26.505Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T05:28:26.505Z] Successfully built 53488cc043bf [2024-07-19T05:28:26.505Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:28:29.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T05:28:29.431Z] [2024-07-19T05:28:29.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:28:30.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T05:28:30.180Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-19T05:28:30.180Z] 5eb5b503b376: Pulling fs layer [2024-07-19T05:28:30.180Z] 5c69ac0246d0: Pulling fs layer [2024-07-19T05:28:30.180Z] ec43610c2a17: Pulling fs layer [2024-07-19T05:28:30.180Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-19T05:28:30.180Z] 33b1e0a273af: Pulling fs layer [2024-07-19T05:28:30.180Z] 5d3b04190fa2: Pulling fs layer [2024-07-19T05:28:30.180Z] 2f39f015ded8: Pulling fs layer [2024-07-19T05:28:30.180Z] 33b1e0a273af: Waiting [2024-07-19T05:28:30.180Z] 5d3b04190fa2: Waiting [2024-07-19T05:28:30.180Z] 2f39f015ded8: Waiting [2024-07-19T05:28:30.180Z] 3a2ae6a8a46f: Waiting [2024-07-19T05:28:30.180Z] 5c69ac0246d0: Verifying Checksum [2024-07-19T05:28:30.180Z] 5c69ac0246d0: Download complete [2024-07-19T05:28:30.180Z] 3a2ae6a8a46f: Download complete [2024-07-19T05:28:30.180Z] 33b1e0a273af: Verifying Checksum [2024-07-19T05:28:30.180Z] 33b1e0a273af: Download complete [2024-07-19T05:28:30.180Z] ec43610c2a17: Verifying Checksum [2024-07-19T05:28:30.180Z] ec43610c2a17: Download complete [2024-07-19T05:28:30.180Z] 5d3b04190fa2: Verifying Checksum [2024-07-19T05:28:30.180Z] 5d3b04190fa2: Download complete [2024-07-19T05:28:30.487Z] 5eb5b503b376: Verifying Checksum [2024-07-19T05:28:30.487Z] 5eb5b503b376: Download complete [2024-07-19T05:28:30.660Z] d6de4b400683: Pull complete [2024-07-19T05:28:30.660Z] 35cb2a7552d0: Pull complete [2024-07-19T05:28:30.660Z] 4f4fb700ef54: Pull complete [2024-07-19T05:28:30.660Z] 464afbd9ba4c: Pull complete [2024-07-19T05:28:31.131Z] 2f39f015ded8: Download complete [2024-07-19T05:28:31.414Z] 5eb5b503b376: Pull complete [2024-07-19T05:28:31.701Z] 5c69ac0246d0: Pull complete [2024-07-19T05:28:32.013Z] ec43610c2a17: Pull complete [2024-07-19T05:28:32.291Z] 3a2ae6a8a46f: Pull complete [2024-07-19T05:28:32.291Z] 33b1e0a273af: Pull complete [2024-07-19T05:28:32.292Z] 5d3b04190fa2: Pull complete [2024-07-19T05:28:36.869Z] 2f39f015ded8: Pull complete [2024-07-19T05:28:36.869Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-19T05:28:36.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T05:28:36.869Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:28:37.785Z] prd-ubuntu20.04-docker-8c-8g-5918 does not seem to be running inside a container [2024-07-19T05:28:37.931Z] $ 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-561 -v /w/workspace/xfoundry_device-modbus-go_PR-561:/w/workspace/xfoundry_device-modbus-go_PR-561:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-561@tmp:/w/workspace/xfoundry_device-modbus-go_PR-561@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-19T05:28:39.318Z] 00f215d4a9da: Pull complete [2024-07-19T05:28:40.016Z] d496ad576159: Pull complete [2024-07-19T05:28:40.016Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-19T05:28:40.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-19T05:28:40.016Z] ---> f246e2811388 [2024-07-19T05:28:40.016Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-19T05:28:41.134Z] ---> Running in b93c22f13327 [2024-07-19T05:28:41.773Z] Removing intermediate container b93c22f13327 [2024-07-19T05:28:41.773Z] ---> 464a9cea5681 [2024-07-19T05:28:41.773Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T05:28:41.773Z] ---> Running in 5fe11b3ced57 [2024-07-19T05:28:42.686Z] Removing intermediate container 5fe11b3ced57 [2024-07-19T05:28:42.686Z] ---> 29e7239e1365 [2024-07-19T05:28:42.686Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-19T05:28:42.686Z] ---> Running in 04d2ca7d4cad [2024-07-19T05:28:43.076Z] $ docker top befd19265cde3fd5105147227dfcf88a275d95ee15d5256f2f357b0ff0592ebd -eo pid,comm [Pipeline] { [2024-07-19T05:28:43.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T05:28:43.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:28:44.208Z] ---> job-cost.sh [2024-07-19T05:28:44.208Z] lf-activate-venv: SKIPPING [2024-07-19T05:28:44.208Z] INFO: No Stack... [2024-07-19T05:28:44.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T05:28:44.717Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T05:28:44.717Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-19T05:28:44.717Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T05:28:44.776Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T05:28:45.006Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T05:28:45.006Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-19T05:28:45.006Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-19T05:28:45.006Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-19T05:28:45.006Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-19T05:28:45.006Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T05:28:45.006Z] OK: 272 MiB in 60 packages [2024-07-19T05:28:45.267Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-561/archives/cost.csv [2024-07-19T05:28:45.267Z] + cut -d, -f6 [Pipeline] lock [2024-07-19T05:28:45.470Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] [2024-07-19T05:28:45.499Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] did not exist. Created. [2024-07-19T05:28:45.517Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T05:28:46.073Z] Removing intermediate container 04d2ca7d4cad [2024-07-19T05:28:46.073Z] ---> c0cbfdb08046 [2024-07-19T05:28:46.073Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-19T05:28:46.294Z] + echo total: 0.2199999988079071 [2024-07-19T05:28:46.381Z] ---> Running in f9a832ea714a [Pipeline] stash [2024-07-19T05:28:46.506Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T05:28:46.582Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] [2024-07-19T05:28:46.692Z] Removing intermediate container f9a832ea714a [2024-07-19T05:28:46.692Z] ---> 0950ddc7e272 [2024-07-19T05:28:46.692Z] Step 7/10 : COPY go.mod vendor* ./ [Pipeline] // lock [Pipeline] } [2024-07-19T05:28:46.895Z] $ docker stop --time=1 befd19265cde3fd5105147227dfcf88a275d95ee15d5256f2f357b0ff0592ebd [2024-07-19T05:28:46.995Z] ---> 5d0f49cecc8d [2024-07-19T05:28:46.995Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T05:28:46.995Z] ---> Running in 23eb43227c30 [2024-07-19T05:28:48.136Z] $ docker rm -f --volumes befd19265cde3fd5105147227dfcf88a275d95ee15d5256f2f357b0ff0592ebd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-19T05:30:39.649Z] Removing intermediate container 23eb43227c30 [2024-07-19T05:30:39.649Z] ---> a7b726e1720d [2024-07-19T05:30:39.649Z] Step 9/10 : COPY . . [2024-07-19T05:30:39.649Z] ---> d9bd1703d5bc [2024-07-19T05:30:39.649Z] Step 10/10 : RUN ${MAKE} [2024-07-19T05:30:39.649Z] ---> Running in 7569193f7322 [2024-07-19T05:30:39.649Z] noop [2024-07-19T05:30:39.649Z] Removing intermediate container 7569193f7322 [2024-07-19T05:30:39.649Z] ---> 33c3b1c113cb [2024-07-19T05:30:39.649Z] Successfully built 33c3b1c113cb [2024-07-19T05:30:39.649Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:30:40.803Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T05:30:40.803Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:30:41.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-5919 does not seem to be running inside a container [2024-07-19T05:30:41.543Z] $ 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-19T05:30:42.835Z] $ docker top 61c27807b9564f4f986d64608244292dad3c5c52990eb61bf27e2a5654cedc52 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T05:30:44.088Z] + go version [2024-07-19T05:30:44.088Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-19T05:30:44.187Z] $ docker stop --time=1 61c27807b9564f4f986d64608244292dad3c5c52990eb61bf27e2a5654cedc52 [2024-07-19T05:30:45.785Z] $ docker rm -f --volumes 61c27807b9564f4f986d64608244292dad3c5c52990eb61bf27e2a5654cedc52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:30:47.942Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T05:30:47.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:30:48.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-5919 does not seem to be running inside a container [2024-07-19T05:30:48.705Z] $ 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-19T05:30:49.849Z] $ docker top 52106d0b94d24b3a35bc6fddcb21d6c2c570664db575e682c3d4301a2c9e232b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T05:30:50.732Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-19T05:30:51.436Z] + make test [2024-07-19T05:30:51.436Z] go test ./... -coverprofile=coverage.out [2024-07-19T05:30:57.110Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-19T05:34:35.196Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-19T05:34:35.196Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 47.9% of statements [2024-07-19T05:34:35.196Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-19T05:34:35.196Z] go vet ./... [2024-07-19T05:35:16.044Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T05:35:16.044Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T05:35:16.044Z] ./bin/test-attribution-txt.sh [2024-07-19T05:35:16.312Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T05:35:16.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T05:35:16.660Z] $ docker stop --time=1 52106d0b94d24b3a35bc6fddcb21d6c2c570664db575e682c3d4301a2c9e232b [2024-07-19T05:35:18.611Z] $ docker rm -f --volumes 52106d0b94d24b3a35bc6fddcb21d6c2c570664db575e682c3d4301a2c9e232b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T05:35:20.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T05:35:20.262Z] Warning: overwriting stash ‘coverage-report’ [2024-07-19T05:35:20.735Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T05:35:21.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T05:35:21.757Z] + ls -al . [2024-07-19T05:35:21.757Z] total 268 [2024-07-19T05:35:21.757Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 05:30 . [2024-07-19T05:35:21.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 05:27 .. [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 05:27 .dockerignore [2024-07-19T05:35:21.757Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 05:27 .git [2024-07-19T05:35:21.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 05:27 .github [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 19 05:27 .gitignore [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 05:27 .golangci.yml [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 19 05:27 Attribution.txt [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 19 05:27 CHANGELOG.md [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 19 05:27 Dockerfile [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 05:27 GOVERNANCE.md [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 19 05:27 Jenkinsfile [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 05:27 LICENSE [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 19 05:27 Makefile [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 05:27 OWNERS.md [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 19 05:27 README.md [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 05:25 VERSION [2024-07-19T05:35:21.757Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 05:27 bin [2024-07-19T05:35:21.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 05:27 cmd [2024-07-19T05:35:21.757Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 19 05:34 coverage.out [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 7184 Jul 19 05:27 go.mod [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 102013 Jul 19 05:27 go.sum [2024-07-19T05:35:21.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 05:27 internal [2024-07-19T05:35:21.757Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 05:27 simulator [2024-07-19T05:35:21.757Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 19 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:35:22.199Z] + 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=85fe8477a6d2aada7bf5da6a2fdf6cd348060705 --label arch=arm64 --label version=0.0.0 . [2024-07-19T05:35:22.474Z] Sending build context to Docker daemon 9.105MB [2024-07-19T05:35:22.749Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T05:35:22.749Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-19T05:35:22.749Z] ---> 33c3b1c113cb [2024-07-19T05:35:22.749Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-19T05:35:22.749Z] ---> Running in 4f6885a64fbe [2024-07-19T05:35:23.020Z] Removing intermediate container 4f6885a64fbe [2024-07-19T05:35:23.020Z] ---> 3a7094752e44 [2024-07-19T05:35:23.020Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T05:35:23.293Z] ---> Running in 9aa99296cc06 [2024-07-19T05:35:23.293Z] Removing intermediate container 9aa99296cc06 [2024-07-19T05:35:23.293Z] ---> 4f08db7e5ebd [2024-07-19T05:35:23.293Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-19T05:35:23.570Z] ---> Running in d6711b3913d3 [2024-07-19T05:35:24.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T05:35:24.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T05:35:25.914Z] OK: 272 MiB in 60 packages [2024-07-19T05:35:26.880Z] Removing intermediate container d6711b3913d3 [2024-07-19T05:35:26.880Z] ---> 0dd0ccb422ac [2024-07-19T05:35:26.880Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-19T05:35:26.880Z] ---> Running in 6588ef751384 [2024-07-19T05:35:27.147Z] Removing intermediate container 6588ef751384 [2024-07-19T05:35:27.147Z] ---> ebcea271edeb [2024-07-19T05:35:27.147Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-19T05:35:27.740Z] ---> ee322dad6739 [2024-07-19T05:35:27.740Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T05:35:27.740Z] ---> Running in f99c1d9578a1 [2024-07-19T05:35:29.681Z] Removing intermediate container f99c1d9578a1 [2024-07-19T05:35:29.681Z] ---> 14645b570212 [2024-07-19T05:35:29.681Z] Step 9/23 : COPY . . [2024-07-19T05:35:31.085Z] ---> 8ab583602a9c [2024-07-19T05:35:31.085Z] Step 10/23 : RUN ${MAKE} [2024-07-19T05:35:31.085Z] ---> Running in cc199270e92b [2024-07-19T05:35:32.044Z] 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.25" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-19T05:38:53.847Z] Removing intermediate container cc199270e92b [2024-07-19T05:38:53.847Z] ---> dc18f4197b98 [2024-07-19T05:38:53.847Z] Step 11/23 : FROM alpine:3.18 [2024-07-19T05:38:53.847Z] 3.18: Pulling from library/alpine [2024-07-19T05:38:53.847Z] 5c905c7ebe2f: Pulling fs layer [2024-07-19T05:38:53.847Z] 5c905c7ebe2f: Verifying Checksum [2024-07-19T05:38:53.847Z] 5c905c7ebe2f: Download complete [2024-07-19T05:38:53.847Z] 5c905c7ebe2f: Pull complete [2024-07-19T05:38:53.847Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T05:38:53.847Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T05:38:53.847Z] ---> dec292d02e07 [2024-07-19T05:38:53.847Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-19T05:38:53.847Z] ---> Running in de0dbc5383f7 [2024-07-19T05:38:53.847Z] Removing intermediate container de0dbc5383f7 [2024-07-19T05:38:53.847Z] ---> 050441225b28 [2024-07-19T05:38:53.847Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-19T05:38:53.847Z] ---> Running in 77f0c30edbf0 [2024-07-19T05:38:53.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T05:38:53.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T05:38:53.847Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T05:38:53.847Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T05:38:53.847Z] OK: 8 MiB in 16 packages [2024-07-19T05:38:53.847Z] Removing intermediate container 77f0c30edbf0 [2024-07-19T05:38:53.847Z] ---> aba2e43a0e0e [2024-07-19T05:38:53.847Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-19T05:38:53.847Z] ---> Running in 6ec0a39ac896 [2024-07-19T05:38:53.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T05:38:53.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T05:38:53.847Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T05:38:53.847Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T05:38:53.847Z] OK: 8 MiB in 16 packages [2024-07-19T05:38:53.847Z] Removing intermediate container 6ec0a39ac896 [2024-07-19T05:38:53.847Z] ---> f8f419d32e9a [2024-07-19T05:38:53.847Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-19T05:38:54.811Z] ---> 45f5de538ab1 [2024-07-19T05:38:54.811Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-19T05:38:55.403Z] ---> 9d77c0e90081 [2024-07-19T05:38:55.403Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-19T05:38:55.672Z] ---> 8c42d78065f9 [2024-07-19T05:38:55.672Z] Step 18/23 : EXPOSE 59901 [2024-07-19T05:38:55.944Z] ---> Running in 8d6df6bd418c [2024-07-19T05:38:55.944Z] Removing intermediate container 8d6df6bd418c [2024-07-19T05:38:55.944Z] ---> 6501bae5b58d [2024-07-19T05:38:55.944Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-19T05:38:56.210Z] ---> Running in 548573dd3f84 [2024-07-19T05:38:56.476Z] Removing intermediate container 548573dd3f84 [2024-07-19T05:38:56.476Z] ---> 9ef2cedc2821 [2024-07-19T05:38:56.476Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-19T05:38:56.476Z] ---> Running in 1e9d587a4e75 [2024-07-19T05:38:56.743Z] Removing intermediate container 1e9d587a4e75 [2024-07-19T05:38:56.743Z] ---> d6bba83db4a4 [2024-07-19T05:38:56.743Z] Step 21/23 : LABEL arch=arm64 [2024-07-19T05:38:57.012Z] ---> Running in 224aa163feca [2024-07-19T05:38:57.278Z] Removing intermediate container 224aa163feca [2024-07-19T05:38:57.278Z] ---> 43a3fa5c2686 [2024-07-19T05:38:57.278Z] Step 22/23 : LABEL git_sha=85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [2024-07-19T05:38:57.278Z] ---> Running in db4ca2b1bfc9 [2024-07-19T05:38:57.549Z] Removing intermediate container db4ca2b1bfc9 [2024-07-19T05:38:57.549Z] ---> 207ce0f98651 [2024-07-19T05:38:57.549Z] Step 23/23 : LABEL version=0.0.0 [2024-07-19T05:38:57.549Z] ---> Running in 566c32f89d97 [2024-07-19T05:38:57.815Z] Removing intermediate container 566c32f89d97 [2024-07-19T05:38:57.815Z] ---> c3ca045c7060 [2024-07-19T05:38:57.815Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T05:38:57.815Z] Successfully built c3ca045c7060 [2024-07-19T05:38:57.815Z] 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-19T05:38:58.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T05:38:58.744Z] [2024-07-19T05:38:58.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:38:59.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T05:38:59.188Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-19T05:38:59.188Z] 8998bd30e6a1: Pulling fs layer [2024-07-19T05:38:59.188Z] 04944245beec: Pulling fs layer [2024-07-19T05:38:59.188Z] 699f458cf7ca: Pulling fs layer [2024-07-19T05:38:59.188Z] 765212b225bb: Pulling fs layer [2024-07-19T05:38:59.188Z] 765212b225bb: Waiting [2024-07-19T05:38:59.188Z] f23df028b6ca: Pulling fs layer [2024-07-19T05:38:59.188Z] d65c8cfc05b1: Pulling fs layer [2024-07-19T05:38:59.188Z] 2437ff75d9bd: Pulling fs layer [2024-07-19T05:38:59.188Z] d65c8cfc05b1: Waiting [2024-07-19T05:38:59.188Z] 2437ff75d9bd: Waiting [2024-07-19T05:38:59.188Z] f23df028b6ca: Waiting [2024-07-19T05:38:59.460Z] 04944245beec: Verifying Checksum [2024-07-19T05:38:59.460Z] 04944245beec: Download complete [2024-07-19T05:38:59.460Z] 765212b225bb: Verifying Checksum [2024-07-19T05:38:59.460Z] 765212b225bb: Download complete [2024-07-19T05:38:59.460Z] f23df028b6ca: Verifying Checksum [2024-07-19T05:38:59.460Z] f23df028b6ca: Download complete [2024-07-19T05:38:59.460Z] d65c8cfc05b1: Verifying Checksum [2024-07-19T05:38:59.460Z] d65c8cfc05b1: Download complete [2024-07-19T05:38:59.460Z] 699f458cf7ca: Verifying Checksum [2024-07-19T05:38:59.460Z] 699f458cf7ca: Download complete [2024-07-19T05:39:00.046Z] 8998bd30e6a1: Verifying Checksum [2024-07-19T05:39:00.046Z] 8998bd30e6a1: Download complete [2024-07-19T05:39:02.632Z] 2437ff75d9bd: Verifying Checksum [2024-07-19T05:39:02.632Z] 2437ff75d9bd: Download complete [2024-07-19T05:39:04.588Z] 8998bd30e6a1: Pull complete [2024-07-19T05:39:05.170Z] 04944245beec: Pull complete [2024-07-19T05:39:06.576Z] 699f458cf7ca: Pull complete [2024-07-19T05:39:06.843Z] 765212b225bb: Pull complete [2024-07-19T05:39:07.799Z] f23df028b6ca: Pull complete [2024-07-19T05:39:08.066Z] d65c8cfc05b1: Pull complete [2024-07-19T05:39:26.292Z] 2437ff75d9bd: Pull complete [2024-07-19T05:39:26.292Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-19T05:39:26.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T05:39:26.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:39:26.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-5919 does not seem to be running inside a container [2024-07-19T05:39:26.696Z] $ 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-19T05:39:29.298Z] $ docker top 04668e2cc2bce002a0c7f24d5b21cd64fe314d74d64ce8814d969627153809b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:30.215Z] ---> job-cost.sh [2024-07-19T05:39:30.215Z] lf-activate-venv: SKIPPING [2024-07-19T05:39:30.215Z] INFO: No Stack... [2024-07-19T05:39:30.480Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-19T05:39:31.431Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T05:39:32.096Z] + cut -d, -f6 [2024-07-19T05:39:32.096Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-07-19T05:39:32.171Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] [2024-07-19T05:39:32.177Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] did not exist. Created. [2024-07-19T05:39:32.183Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T05:39:32.925Z] /w/workspace/device-modbus-go/1@tmp/durable-c97ae2f2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-19T05:39:33.286Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-19T05:39:33.338Z] Warning: overwriting stash ‘stack-cost’ [2024-07-19T05:39:33.383Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T05:39:33.404Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-561-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T05:39:33.492Z] $ docker stop --time=1 04668e2cc2bce002a0c7f24d5b21cd64fe314d74d64ce8814d969627153809b5 [2024-07-19T05:39:34.994Z] $ docker rm -f --volumes 04668e2cc2bce002a0c7f24d5b21cd64fe314d74d64ce8814d969627153809b5 [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-19T05:39:36.241Z] provisioning config files... [2024-07-19T05:39:36.262Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-561@tmp/config14385381675219124330tmp [Pipeline] { [Pipeline] sh [2024-07-19T05:39:36.620Z] + set +x [2024-07-19T05:39:36.620Z] + curl -s https://codecov.io/bash [2024-07-19T05:39:36.620Z] + bash -s -- [2024-07-19T05:39:36.620Z] [2024-07-19T05:39:36.620Z] _____ _ [2024-07-19T05:39:36.620Z] / ____| | | [2024-07-19T05:39:36.621Z] | | ___ __| | ___ ___ _____ __ [2024-07-19T05:39:36.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-19T05:39:36.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-19T05:39:36.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-19T05:39:36.621Z] Bash-1.0.6 [2024-07-19T05:39:36.621Z] [2024-07-19T05:39:36.621Z] [2024-07-19T05:39:36.621Z] ==> git version 2.25.1 found [2024-07-19T05:39:36.621Z] ==> 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-19T05:39:36.621Z] Release-Date: 2020-01-08 [2024-07-19T05:39:36.621Z] 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-19T05:39:36.621Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-19T05:39:36.621Z] ==> Jenkins CI detected. [2024-07-19T05:39:36.621Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-561 [2024-07-19T05:39:36.621Z] project root: . [2024-07-19T05:39:36.621Z] --> token set from env [2024-07-19T05:39:36.621Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-19T05:39:36.621Z] ==> Running gcov in . (disable via -X gcov) [2024-07-19T05:39:36.621Z] ==> Python coveragepy not found [2024-07-19T05:39:36.621Z] ==> Searching for coverage reports in: [2024-07-19T05:39:36.621Z] + . [2024-07-19T05:39:36.621Z] -> Found 1 reports [2024-07-19T05:39:36.621Z] ==> Detecting git/mercurial file structure [2024-07-19T05:39:36.891Z] ==> Reading reports [2024-07-19T05:39:36.891Z] + ./coverage.out bytes=24601 [2024-07-19T05:39:36.891Z] ==> Appending adjustments [2024-07-19T05:39:36.891Z] https://docs.codecov.io/docs/fixing-reports [2024-07-19T05:39:36.891Z] + Found adjustments [2024-07-19T05:39:36.891Z] ==> Gzipping contents [2024-07-19T05:39:36.891Z] 4.0K /tmp/codecov.Czoyld.gz [2024-07-19T05:39:36.891Z] ==> Uploading reports [2024-07-19T05:39:36.891Z] url: https://codecov.io [2024-07-19T05:39:36.891Z] query: branch=PR-561&commit=85fe8477a6d2aada7bf5da6a2fdf6cd348060705&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-561%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=561&job=&cmd_args= [2024-07-19T05:39:36.891Z] -> Pinging Codecov [2024-07-19T05:39:36.891Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-561&commit=85fe8477a6d2aada7bf5da6a2fdf6cd348060705&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-561%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=561&job=&cmd_args= [2024-07-19T05:39:36.891Z] -> Uploading to [2024-07-19T05:39:36.892Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-19/55DBCA73C666E3227836607328DD7E49/85fe8477a6d2aada7bf5da6a2fdf6cd348060705/505378d2-0437-4a4e-abfe-d1077cf2a695.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T053936Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a47930c48de968334a98fcc22ed0bf645bc1fd876ecb314a87cb0104e6ecd4e2 [2024-07-19T05:39:37.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T05:39:37.161Z] Dload Upload Total Spent Left Speed [2024-07-19T05:39:37.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16012 --:--:-- --:--:-- --:--:-- 16012 [2024-07-19T05:39:37.161Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/85fe8477a6d2aada7bf5da6a2fdf6cd348060705 [Pipeline] } [2024-07-19T05:39:37.205Z] 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-19T05:39:39.439Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-561/archives ] [2024-07-19T05:39:39.439Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-561/archives [2024-07-19T05:39:39.439Z] total 16 [2024-07-19T05:39:39.439Z] drwxr-xr-x 3 root root 4096 Jul 19 05:28 . [2024-07-19T05:39:39.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 05:28 .. [2024-07-19T05:39:39.439Z] drwxr-xr-x 2 root root 4096 Jul 19 05:28 cost [2024-07-19T05:39:39.439Z] -rw-r--r-- 1 root root 88 Jul 19 05:28 cost.csv [2024-07-19T05:39:39.439Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-561/archives [2024-07-19T05:39:39.439Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-561/archives [2024-07-19T05:39:39.439Z] total 16 [2024-07-19T05:39:39.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 05:28 . [2024-07-19T05:39:39.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 05:28 .. [2024-07-19T05:39:39.439Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 05:28 cost [2024-07-19T05:39:39.439Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 19 05:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:39.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:40.695Z] ---> package-listing.sh [2024-07-19T05:39:40.695Z] ++ facter osfamily [2024-07-19T05:39:40.695Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-19T05:39:40.967Z] + OS_FAMILY=debian [2024-07-19T05:39:40.967Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-561 [2024-07-19T05:39:40.967Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-19T05:39:40.967Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-19T05:39:40.967Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-19T05:39:40.967Z] + PACKAGES=/tmp/packages_start.txt [2024-07-19T05:39:40.967Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-561 ']' [2024-07-19T05:39:40.967Z] + PACKAGES=/tmp/packages_end.txt [2024-07-19T05:39:40.967Z] + case "${OS_FAMILY}" in [2024-07-19T05:39:40.967Z] + dpkg -l [2024-07-19T05:39:40.967Z] + grep '^ii' [2024-07-19T05:39:40.967Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-19T05:39:40.967Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-19T05:39:40.967Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-19T05:39:40.967Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-561 ']' [2024-07-19T05:39:40.967Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-561/archives/ [2024-07-19T05:39:40.967Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-561/archives/ [Pipeline] echo [2024-07-19T05:39:41.068Z] 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-561/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-19T05:39:41.377Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T05:39:42.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T05:39:42.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T05:39:42.270Z] prd-ubuntu20.04-docker-8c-8g-5918 does not seem to be running inside a container [2024-07-19T05:39:42.314Z] $ 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-561/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-561 -v /w/workspace/xfoundry_device-modbus-go_PR-561:/w/workspace/xfoundry_device-modbus-go_PR-561:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-561@tmp:/w/workspace/xfoundry_device-modbus-go_PR-561@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-19T05:39:42.536Z] $ docker top 4cbaf7fb3dd1d98f21baec960cd06f5c17d30bacd5a15591bff174bc17ace26e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T05:39:42.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-19T05:39:43.383Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-19T05:39:43.701Z] + ls /var/log/sa-host [2024-07-19T05:39:43.701Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T05:39:43.999Z] provisioning config files... [2024-07-19T05:39:44.006Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-561@tmp/config9958704264297387665tmp [Pipeline] { [Pipeline] echo [2024-07-19T05:39:44.084Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:44.420Z] ---> create-netrc.sh [Pipeline] } [2024-07-19T05:39:44.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:44.953Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-19T05:39:44.997Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:45.330Z] ---> sudo-logs.sh [2024-07-19T05:39:45.331Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-19T05:39:45.439Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:45.765Z] ---> job-cost.sh [2024-07-19T05:39:45.765Z] lf-activate-venv: SKIPPING [2024-07-19T05:39:45.765Z] DEBUG: total: 0.2199999988079071 [2024-07-19T05:39:45.765Z] INFO: Retrieving Stack Cost... [2024-07-19T05:39:46.333Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T05:39:46.591Z] INFO: Archiving Costs [Pipeline] echo [2024-07-19T05:39:46.638Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T05:39:46.970Z] ---> logs-deploy.sh [2024-07-19T05:39:46.970Z] lf-activate-venv: SKIPPING [2024-07-19T05:39:46.970Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-561/1 [2024-07-19T05:39:46.970Z] INFO: archiving workspace using pattern(s): [2024-07-19T05:39:47.917Z] Archives upload complete. [2024-07-19T05:39:47.917Z] INFO: archiving logs to Nexus