Pull request #568 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4+d9d7c9445bd01df0ee4a07f33637a5782cac6865 (202e4236f46f59b2d0a1e60c79a76dfe34b50c40) 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-ssh10173962662944766118.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-ssh12264594648882748593.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-568/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-568/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14688191852244106454.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-568/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14041454607144609461.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-ssh7075568304828605803.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-568/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-568/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh126780733365074451.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-8578 in /w/workspace/xfoundry_device-modbus-go_PR-568 [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-568 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d9d7c9445bd01df0ee4a07f33637a5782cac6865 into PR head commit 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 Merge succeeded, producing 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 Checking out Revision 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 (PR-568) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 # 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 d9d7c9445bd01df0ee4a07f33637a5782cac6865 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-26T05:16:49.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-26T05:16:50.572Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-26T05:16:50.818Z] ========================================================= [2024-08-26T05:16:50.818Z] EdgeX Global Pipelines Version Info [2024-08-26T05:16:50.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:16:51.953Z] ------------------- [2024-08-26T05:16:51.953Z] stable info: [2024-08-26T05:16:51.953Z] ------------------- [2024-08-26T05:16:51.953Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-26T05:16:51.953Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-26T05:16:51.954Z] Message: update stable to v1.0.260 [2024-08-26T05:16:52.214Z] ------------------- [2024-08-26T05:16:52.214Z] experimental info: [2024-08-26T05:16:52.214Z] ------------------- [2024-08-26T05:16:52.214Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-26T05:16:52.214Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-26T05:16:52.214Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-26T05:16:52.436Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-08-26T05:16:52.487Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-08-26T05:16:52.560Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-26T05:16:52.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-26T05:16:52.684Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-26T05:16:52.745Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-26T05:16:52.808Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-26T05:16:52.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-26T05:16:52.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-26T05:16:52.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-26T05:16:53.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-26T05:16:53.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-08-26T05:16:53.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-26T05:16:53.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-26T05:16:53.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-26T05:16:53.348Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-26T05:16:53.410Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-26T05:16:53.470Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-26T05:16:53.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-26T05:16:53.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-26T05:16:53.662Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-26T05:16:53.717Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-26T05:16:53.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-26T05:16:53.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-26T05:16:53.890Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-26T05:16:53.949Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-26T05:16:54.002Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-26T05:16:54.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-568 [Pipeline] echo [2024-08-26T05:16:54.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-568 [Pipeline] echo [2024-08-26T05:16:54.225Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-568 [Pipeline] echo [2024-08-26T05:16:54.285Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [Pipeline] echo [2024-08-26T05:16:54.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f0eb62 [Pipeline] echo [2024-08-26T05:16:54.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-26T05:16:54.557Z] provisioning config files... [2024-08-26T05:16:54.576Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-568@tmp/config5355592376482058849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:16:54.977Z] ---> ****-login.sh [2024-08-26T05:16:54.977Z] nexus3.edgexfoundry.org:10001 [2024-08-26T05:16:55.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:16:55.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:16:55.497Z] Configure a credential helper to remove this warning. See [2024-08-26T05:16:55.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:16:55.497Z] [2024-08-26T05:16:55.497Z] Login Succeeded [2024-08-26T05:16:55.497Z] nexus3.edgexfoundry.org:10002 [2024-08-26T05:16:55.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:16:55.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:16:55.497Z] Configure a credential helper to remove this warning. See [2024-08-26T05:16:55.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:16:55.497Z] [2024-08-26T05:16:55.497Z] Login Succeeded [2024-08-26T05:16:55.497Z] nexus3.edgexfoundry.org:10003 [2024-08-26T05:16:55.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:16:55.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:16:55.757Z] Configure a credential helper to remove this warning. See [2024-08-26T05:16:55.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:16:55.757Z] [2024-08-26T05:16:55.757Z] Login Succeeded [2024-08-26T05:16:55.757Z] nexus3.edgexfoundry.org:10004 [2024-08-26T05:16:55.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:16:55.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:16:55.757Z] Configure a credential helper to remove this warning. See [2024-08-26T05:16:55.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:16:55.757Z] [2024-08-26T05:16:55.757Z] Login Succeeded [2024-08-26T05:16:55.757Z] ****.io [2024-08-26T05:16:55.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:16:56.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:16:56.018Z] Configure a credential helper to remove this warning. See [2024-08-26T05:16:56.018Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:16:56.018Z] [2024-08-26T05:16:56.018Z] Login Succeeded [2024-08-26T05:16:56.018Z] ---> ****-login.sh ends [Pipeline] } [2024-08-26T05:16:56.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-26T05:16:56.734Z] + git rev-list -1 --merges 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4~1..5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [Pipeline] echo [2024-08-26T05:16:56.779Z] -----------> git rev-list -1 --merges 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4~1..5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [false] [Pipeline] sh [2024-08-26T05:16:57.100Z] + git log --format=format:%s -1 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [Pipeline] echo [2024-08-26T05:16:57.144Z] ========================================================= [2024-08-26T05:16:57.144Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-26T05:16:57.144Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-26T05:16:57.631Z] + git log --format=format:%s -1 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [Pipeline] echo [2024-08-26T05:16:57.672Z] [semverPrep] GIT_COMMIT: 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-26T05:16:57.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-26T05:16:58.137Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-26T05:16:58.137Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-26T05:16:58.137Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-26T05:16:58.137Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-26T05:16:58.137Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-26T05:16:58.137Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-26T05:16:58.137Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:16:58.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-26T05:16:58.650Z] [2024-08-26T05:16:58.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:16:59.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-26T05:16:59.047Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-26T05:16:59.047Z] b85a868b505f: Pulling fs layer [2024-08-26T05:16:59.047Z] e2be974225ed: Pulling fs layer [2024-08-26T05:16:59.047Z] 339a4e72a1f5: Pulling fs layer [2024-08-26T05:16:59.047Z] 988bab9f4d93: Pulling fs layer [2024-08-26T05:16:59.047Z] 1469e6f7b9e6: Pulling fs layer [2024-08-26T05:16:59.047Z] eaf3925da568: Pulling fs layer [2024-08-26T05:16:59.047Z] bab4dde63d76: Pulling fs layer [2024-08-26T05:16:59.047Z] bde34c3a00c8: Pulling fs layer [2024-08-26T05:16:59.047Z] b352a97aabf1: Pulling fs layer [2024-08-26T05:16:59.047Z] 4872d77fe225: Pulling fs layer [2024-08-26T05:16:59.047Z] 5851b861e8e6: Pulling fs layer [2024-08-26T05:16:59.047Z] 988bab9f4d93: Waiting [2024-08-26T05:16:59.047Z] bde34c3a00c8: Waiting [2024-08-26T05:16:59.047Z] b352a97aabf1: Waiting [2024-08-26T05:16:59.047Z] eaf3925da568: Waiting [2024-08-26T05:16:59.047Z] 4872d77fe225: Waiting [2024-08-26T05:16:59.047Z] 5851b861e8e6: Waiting [2024-08-26T05:16:59.047Z] 1469e6f7b9e6: Waiting [2024-08-26T05:16:59.047Z] bab4dde63d76: Waiting [2024-08-26T05:16:59.047Z] e2be974225ed: Verifying Checksum [2024-08-26T05:16:59.047Z] e2be974225ed: Download complete [2024-08-26T05:16:59.047Z] 988bab9f4d93: Verifying Checksum [2024-08-26T05:16:59.047Z] 988bab9f4d93: Download complete [2024-08-26T05:16:59.047Z] 1469e6f7b9e6: Verifying Checksum [2024-08-26T05:16:59.047Z] 1469e6f7b9e6: Download complete [2024-08-26T05:16:59.305Z] 339a4e72a1f5: Verifying Checksum [2024-08-26T05:16:59.305Z] 339a4e72a1f5: Download complete [2024-08-26T05:16:59.305Z] eaf3925da568: Verifying Checksum [2024-08-26T05:16:59.305Z] eaf3925da568: Download complete [2024-08-26T05:16:59.305Z] bde34c3a00c8: Verifying Checksum [2024-08-26T05:16:59.305Z] bde34c3a00c8: Download complete [2024-08-26T05:16:59.305Z] b352a97aabf1: Verifying Checksum [2024-08-26T05:16:59.305Z] b352a97aabf1: Download complete [2024-08-26T05:16:59.305Z] 4872d77fe225: Verifying Checksum [2024-08-26T05:16:59.305Z] 4872d77fe225: Download complete [2024-08-26T05:16:59.305Z] 5851b861e8e6: Download complete [2024-08-26T05:16:59.305Z] b85a868b505f: Download complete [2024-08-26T05:16:59.564Z] bab4dde63d76: Verifying Checksum [2024-08-26T05:16:59.564Z] bab4dde63d76: Download complete [2024-08-26T05:17:00.538Z] b85a868b505f: Pull complete [2024-08-26T05:17:00.798Z] e2be974225ed: Pull complete [2024-08-26T05:17:01.369Z] 339a4e72a1f5: Pull complete [2024-08-26T05:17:01.369Z] 988bab9f4d93: Pull complete [2024-08-26T05:17:01.631Z] 1469e6f7b9e6: Pull complete [2024-08-26T05:17:01.631Z] eaf3925da568: Pull complete [2024-08-26T05:17:03.537Z] bab4dde63d76: Pull complete [2024-08-26T05:17:03.537Z] bde34c3a00c8: Pull complete [2024-08-26T05:17:03.809Z] b352a97aabf1: Pull complete [2024-08-26T05:17:03.809Z] 4872d77fe225: Pull complete [2024-08-26T05:17:03.809Z] 5851b861e8e6: Pull complete [2024-08-26T05:17:03.809Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-26T05:17:03.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-26T05:17:03.809Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:17:04.118Z] prd-ubuntu20.04-docker-8c-8g-8578 does not seem to be running inside a container [2024-08-26T05:17:04.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-568 -v /w/workspace/xfoundry_device-modbus-go_PR-568:/w/workspace/xfoundry_device-modbus-go_PR-568:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-568@tmp:/w/workspace/xfoundry_device-modbus-go_PR-568@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-26T05:17:07.393Z] $ docker top 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 -eo pid,comm [2024-08-26T05:17:07.450Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-26T05:17:07.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-26T05:17:07.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-26T05:17:07.672Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-26T05:17:07.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-26T05:17:07.789Z] $ docker exec 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 ssh-agent [2024-08-26T05:17:07.908Z] SSH_AUTH_SOCK=/tmp/ssh-9YNzqi1LY66w/agent.33 [2024-08-26T05:17:07.908Z] SSH_AGENT_PID=39 [2024-08-26T05:17:07.914Z] Running ssh-add (command line suppressed) [2024-08-26T05:17:08.029Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-568@tmp/private_key_2339509994461764274.key (/w/workspace/xfoundry_device-modbus-go_PR-568@tmp/private_key_2339509994461764274.key) [2024-08-26T05:17:08.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-26T05:17:08.404Z] + git tag --points-at HEAD [Pipeline] } [2024-08-26T05:17:08.430Z] $ docker exec --env ******** --env ******** 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 ssh-agent -k [2024-08-26T05:17:08.528Z] unset SSH_AUTH_SOCK; [2024-08-26T05:17:08.528Z] unset SSH_AGENT_PID; [2024-08-26T05:17:08.528Z] echo Agent pid 39 killed; [2024-08-26T05:17:08.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-26T05:17:08.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-26T05:17:08.665Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-26T05:17:08.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-26T05:17:08.779Z] $ docker exec 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 ssh-agent [2024-08-26T05:17:08.883Z] SSH_AUTH_SOCK=/tmp/ssh-wkE0mq3QevMJ/agent.73 [2024-08-26T05:17:08.883Z] SSH_AGENT_PID=79 [2024-08-26T05:17:08.887Z] Running ssh-add (command line suppressed) [2024-08-26T05:17:08.994Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-568@tmp/private_key_4664500873817864881.key (/w/workspace/xfoundry_device-modbus-go_PR-568@tmp/private_key_4664500873817864881.key) [2024-08-26T05:17:09.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-26T05:17:09.376Z] + git semver init [2024-08-26T05:17:09.635Z] 2024-08-26 05:17:09,573 [run_init] DEBUG init version:0.0.0 force:False [2024-08-26T05:17:09.635Z] 2024-08-26 05:17:09,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-568/.semver [2024-08-26T05:17:09.635Z] 2024-08-26 05:17:09,574 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-568/.semver [2024-08-26T05:17:09.635Z] 2024-08-26 05:17:09,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-568/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-568, universal_newlines=False, shell=None, istream=None) [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,715 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-568/.git/info/exclude [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,716 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-568/.semver/PR-568 with force:False [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,716 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-568/.semver/PR-568 [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,721 [execute] INFO git cat-file --batch-check [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-568/.semver, universal_newlines=False, shell=None, istream=) [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,729 [execute] INFO git cat-file --batch [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-568/.semver, universal_newlines=False, shell=None, istream=) [2024-08-26T05:17:11.014Z] 2024-08-26 05:17:10,736 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-568/.semver/PR-568 [2024-08-26T05:17:11.014Z] 0.0.0 [Pipeline] } [2024-08-26T05:17:11.043Z] $ docker exec --env ******** --env ******** 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 ssh-agent -k [2024-08-26T05:17:11.129Z] unset SSH_AUTH_SOCK; [2024-08-26T05:17:11.130Z] unset SSH_AGENT_PID; [2024-08-26T05:17:11.131Z] echo Agent pid 79 killed; [2024-08-26T05:17:11.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-26T05:17:11.613Z] + git semver [Pipeline] } [2024-08-26T05:17:11.898Z] $ docker stop --time=1 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 [2024-08-26T05:17:13.233Z] $ docker rm -f --volumes 977614676d09ca4b010831eae465c0df6e6122b341c99667c29d07a5d85e7ca9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-26T05:17:13.658Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-26T05:17:13.978Z] Stashed 1 file(s) [Pipeline] echo [2024-08-26T05:17:14.011Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-26T05:17:14.763Z] provisioning config files... [2024-08-26T05:17:14.773Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-568@tmp/config11066234354765344742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:17:15.149Z] ---> ****-login.sh [2024-08-26T05:17:15.149Z] nexus3.edgexfoundry.org:10001 [2024-08-26T05:17:15.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:17:15.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:17:15.149Z] Configure a credential helper to remove this warning. See [2024-08-26T05:17:15.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:17:15.149Z] [2024-08-26T05:17:15.149Z] Login Succeeded [2024-08-26T05:17:15.149Z] nexus3.edgexfoundry.org:10002 [2024-08-26T05:17:15.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:17:15.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:17:15.150Z] Configure a credential helper to remove this warning. See [2024-08-26T05:17:15.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:17:15.150Z] [2024-08-26T05:17:15.150Z] Login Succeeded [2024-08-26T05:17:15.150Z] nexus3.edgexfoundry.org:10003 [2024-08-26T05:17:15.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:17:15.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:17:15.409Z] Configure a credential helper to remove this warning. See [2024-08-26T05:17:15.409Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:17:15.409Z] [2024-08-26T05:17:15.409Z] Login Succeeded [2024-08-26T05:17:15.409Z] nexus3.edgexfoundry.org:10004 [2024-08-26T05:17:15.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:17:15.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:17:15.410Z] Configure a credential helper to remove this warning. See [2024-08-26T05:17:15.410Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:17:15.410Z] [2024-08-26T05:17:15.410Z] Login Succeeded [2024-08-26T05:17:15.410Z] ****.io [2024-08-26T05:17:15.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:17:15.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:17:15.670Z] Configure a credential helper to remove this warning. See [2024-08-26T05:17:15.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:17:15.670Z] [2024-08-26T05:17:15.670Z] Login Succeeded [2024-08-26T05:17:15.670Z] ---> ****-login.sh ends [Pipeline] } [2024-08-26T05:17:15.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-26T05:17:15.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-26T05:17:16.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-26T05:17:16.067Z] ========================================================= [2024-08-26T05:17:16.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-26T05:17:16.067Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:17:16.601Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-26T05:17:16.601Z] Sending build context to Docker daemon 17.9MB [2024-08-26T05:17:16.601Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-26T05:17:16.601Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-26T05:17:16.861Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-26T05:17:16.861Z] 619be1103602: Pulling fs layer [2024-08-26T05:17:16.861Z] 7862e08f4a3e: Pulling fs layer [2024-08-26T05:17:16.861Z] 5df492c9dc93: Pulling fs layer [2024-08-26T05:17:16.861Z] 7629e6793208: Pulling fs layer [2024-08-26T05:17:16.861Z] 4f4fb700ef54: Pulling fs layer [2024-08-26T05:17:16.861Z] fb5054dd5b73: Pulling fs layer [2024-08-26T05:17:16.861Z] eeca6798cff9: Pulling fs layer [2024-08-26T05:17:16.861Z] aa269ceb94a6: Pulling fs layer [2024-08-26T05:17:16.861Z] ada007ff1a6a: Pulling fs layer [2024-08-26T05:17:16.861Z] 4f4fb700ef54: Waiting [2024-08-26T05:17:16.861Z] aa269ceb94a6: Waiting [2024-08-26T05:17:16.861Z] ada007ff1a6a: Waiting [2024-08-26T05:17:16.861Z] fb5054dd5b73: Waiting [2024-08-26T05:17:16.861Z] eeca6798cff9: Waiting [2024-08-26T05:17:16.861Z] 7629e6793208: Waiting [2024-08-26T05:17:16.861Z] 7862e08f4a3e: Download complete [2024-08-26T05:17:16.861Z] 7629e6793208: Verifying Checksum [2024-08-26T05:17:16.861Z] 7629e6793208: Download complete [2024-08-26T05:17:16.861Z] 4f4fb700ef54: Download complete [2024-08-26T05:17:16.861Z] fb5054dd5b73: Verifying Checksum [2024-08-26T05:17:16.861Z] fb5054dd5b73: Download complete [2024-08-26T05:17:16.861Z] 619be1103602: Verifying Checksum [2024-08-26T05:17:16.861Z] 619be1103602: Download complete [2024-08-26T05:17:16.861Z] eeca6798cff9: Verifying Checksum [2024-08-26T05:17:16.861Z] eeca6798cff9: Download complete [2024-08-26T05:17:16.861Z] 619be1103602: Pull complete [2024-08-26T05:17:17.122Z] ada007ff1a6a: Verifying Checksum [2024-08-26T05:17:17.122Z] ada007ff1a6a: Download complete [2024-08-26T05:17:17.122Z] 7862e08f4a3e: Pull complete [2024-08-26T05:17:17.383Z] 5df492c9dc93: Verifying Checksum [2024-08-26T05:17:17.383Z] 5df492c9dc93: Download complete [2024-08-26T05:17:17.649Z] aa269ceb94a6: Verifying Checksum [2024-08-26T05:17:17.649Z] aa269ceb94a6: Download complete [2024-08-26T05:17:20.940Z] 5df492c9dc93: Pull complete [2024-08-26T05:17:20.941Z] 7629e6793208: Pull complete [2024-08-26T05:17:20.941Z] 4f4fb700ef54: Pull complete [2024-08-26T05:17:20.941Z] fb5054dd5b73: Pull complete [2024-08-26T05:17:20.941Z] eeca6798cff9: Pull complete [2024-08-26T05:17:23.478Z] aa269ceb94a6: Pull complete [2024-08-26T05:17:24.045Z] ada007ff1a6a: Pull complete [2024-08-26T05:17:24.045Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-26T05:17:24.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-26T05:17:24.046Z] ---> f489d0715acc [2024-08-26T05:17:24.046Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-08-26T05:17:29.527Z] Still waiting to schedule task [2024-08-26T05:17:29.528Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-26T05:17:30.656Z] ---> Running in 4946e797c627 [2024-08-26T05:17:30.656Z] Removing intermediate container 4946e797c627 [2024-08-26T05:17:30.656Z] ---> c19cd9ab6d52 [2024-08-26T05:17:30.656Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-26T05:17:30.656Z] ---> Running in 55d5bdc3c424 [2024-08-26T05:17:30.656Z] Removing intermediate container 55d5bdc3c424 [2024-08-26T05:17:30.656Z] ---> d5622f126484 [2024-08-26T05:17:30.656Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-08-26T05:17:30.656Z] ---> Running in 9ac358aeea09 [2024-08-26T05:17:30.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-26T05:17:33.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-26T05:17:33.197Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-08-26T05:17:33.197Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-08-26T05:17:33.197Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-08-26T05:17:33.197Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-08-26T05:17:33.197Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-08-26T05:17:33.197Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-08-26T05:17:33.197Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-08-26T05:17:33.197Z] (8/8) Installing openssh (9.3_p2-r2) [2024-08-26T05:17:33.197Z] Executing busybox-1.36.1-r5.trigger [2024-08-26T05:17:33.197Z] OK: 270 MiB in 60 packages [2024-08-26T05:17:33.765Z] Removing intermediate container 9ac358aeea09 [2024-08-26T05:17:33.765Z] ---> 5be1406dc27c [2024-08-26T05:17:33.765Z] Step 6/10 : WORKDIR /device-modbus-go [2024-08-26T05:17:33.765Z] ---> Running in c3c021c23838 [2024-08-26T05:17:33.765Z] Removing intermediate container c3c021c23838 [2024-08-26T05:17:33.765Z] ---> 593e7814131d [2024-08-26T05:17:33.765Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-26T05:17:34.025Z] ---> 9f0909039737 [2024-08-26T05:17:34.025Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-26T05:17:34.025Z] ---> Running in 2aae3c15b7a9 [2024-08-26T05:18:30.307Z] Removing intermediate container 2aae3c15b7a9 [2024-08-26T05:18:30.307Z] ---> 17f6d40f2dba [2024-08-26T05:18:30.307Z] Step 9/10 : COPY . . [2024-08-26T05:18:30.307Z] ---> c8819fd6501f [2024-08-26T05:18:30.307Z] Step 10/10 : RUN ${MAKE} [2024-08-26T05:18:30.307Z] ---> Running in db18826382da [2024-08-26T05:18:30.566Z] noop [2024-08-26T05:18:30.824Z] Removing intermediate container db18826382da [2024-08-26T05:18:30.824Z] ---> 6fe80db7cf07 [2024-08-26T05:18:30.824Z] Successfully built 6fe80db7cf07 [2024-08-26T05:18:30.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:18:31.325Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-26T05:18:31.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:18:31.504Z] prd-ubuntu20.04-docker-8c-8g-8578 does not seem to be running inside a container [2024-08-26T05:18:31.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-568 -v /w/workspace/xfoundry_device-modbus-go_PR-568:/w/workspace/xfoundry_device-modbus-go_PR-568:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-568@tmp:/w/workspace/xfoundry_device-modbus-go_PR-568@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 ******** ci-base-image-x86_64 cat [2024-08-26T05:18:31.876Z] $ docker top 24abc9b2744f6ee48f5b37b01c6bcf72d199467b2a7c1ffbbf0f7fb11c41cb90 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-26T05:18:32.290Z] + go version [2024-08-26T05:18:32.290Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-26T05:18:32.332Z] $ docker stop --time=1 24abc9b2744f6ee48f5b37b01c6bcf72d199467b2a7c1ffbbf0f7fb11c41cb90 [2024-08-26T05:18:33.640Z] $ docker rm -f --volumes 24abc9b2744f6ee48f5b37b01c6bcf72d199467b2a7c1ffbbf0f7fb11c41cb90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:18:34.492Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-26T05:18:34.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:18:34.664Z] prd-ubuntu20.04-docker-8c-8g-8578 does not seem to be running inside a container [2024-08-26T05:18:34.696Z] $ 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-568 -v /w/workspace/xfoundry_device-modbus-go_PR-568:/w/workspace/xfoundry_device-modbus-go_PR-568:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-568@tmp:/w/workspace/xfoundry_device-modbus-go_PR-568@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 ******** ci-base-image-x86_64 cat [2024-08-26T05:18:35.031Z] $ docker top 4779ee4f931a2313015c288c18ee8e4db8279187dd7db499ab7c135f5c5b27a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-26T05:18:35.448Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-568 [Pipeline] fileExists [Pipeline] sh [2024-08-26T05:18:35.833Z] + make test [2024-08-26T05:18:35.833Z] go test ./... -coverprofile=coverage.out [2024-08-26T05:18:37.214Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-08-26T05:18:55.293Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-08-26T05:18:55.293Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2024-08-26T05:18:58.411Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8579 in /w/workspace/xfoundry_device-modbus-go_PR-568 [Pipeline] { [Pipeline] ws [2024-08-26T05:18:58.496Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-08-26T05:19:01.698Z] The recommended git tool is: git [2024-08-26T05:19:07.484Z] go vet ./... [2024-08-26T05:19:10.059Z] using credential edgex-jenkins-ssh [2024-08-26T05:19:10.095Z] Cloning the remote Git repository [2024-08-26T05:19:10.167Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-08-26T05:19:10.322Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-08-26T05:19:10.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-08-26T05:19:10.642Z] > git --version # timeout=10 [2024-08-26T05:19:10.732Z] > git --version # 'git version 2.25.1' [2024-08-26T05:19:10.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-26T05:19:11.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-26T05:19:12.756Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-26T05:19:12.756Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-26T05:19:12.756Z] ./bin/test-attribution-txt.sh [2024-08-26T05:19:12.756Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-26T05:19:12.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-26T05:19:12.843Z] $ docker stop --time=1 4779ee4f931a2313015c288c18ee8e4db8279187dd7db499ab7c135f5c5b27a8 [2024-08-26T05:19:13.192Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-08-26T05:19:13.226Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-26T05:19:15.048Z] Merging remotes/origin/main commit d9d7c9445bd01df0ee4a07f33637a5782cac6865 into PR head commit 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [2024-08-26T05:19:15.346Z] Merge succeeded, producing 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [2024-08-26T05:19:15.347Z] Checking out Revision 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 (PR-568) [2024-08-26T05:19:14.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-08-26T05:19:14.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-08-26T05:19:14.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-26T05:19:14.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/568/head:refs/remotes/origin/PR-568 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-26T05:19:15.067Z] > git config core.sparsecheckout # timeout=10 [2024-08-26T05:19:15.128Z] > git checkout -f 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 # timeout=10 [2024-08-26T05:19:15.217Z] > git remote # timeout=10 [2024-08-26T05:19:15.245Z] > git config --get remote.origin.url # timeout=10 [2024-08-26T05:19:15.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-26T05:19:15.292Z] > git merge d9d7c9445bd01df0ee4a07f33637a5782cac6865 # timeout=10 [2024-08-26T05:19:15.324Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-26T05:19:15.350Z] > git config core.sparsecheckout # timeout=10 [2024-08-26T05:19:15.363Z] > git checkout -f 5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 # timeout=10 [2024-08-26T05:19:16.615Z] $ docker rm -f --volumes 4779ee4f931a2313015c288c18ee8e4db8279187dd7db499ab7c135f5c5b27a8 [Pipeline] // withDockerContainer [2024-08-26T05:19:16.931Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] sh [2024-08-26T05:19:17.016Z] > git --version # timeout=10 [2024-08-26T05:19:17.046Z] > git --version # 'git version 2.25.1' [2024-08-26T05:19:17.068Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-26T05:19:17.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-26T05:19:17.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-26T05:19:18.071Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-26T05:19:18.392Z] + ls -al . [2024-08-26T05:19:18.393Z] total 272 [2024-08-26T05:19:18.393Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 26 05:18 . [2024-08-26T05:19:18.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 05:16 .. [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 26 05:16 .dockerignore [2024-08-26T05:19:18.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 05:18 .git [2024-08-26T05:19:18.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 05:16 .github [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 26 05:16 .gitignore [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 26 05:16 .golangci.yml [2024-08-26T05:19:18.393Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 26 05:17 .semver [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 19432 Aug 26 05:16 Attribution.txt [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 16388 Aug 26 05:16 CHANGELOG.md [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 1474 Aug 26 05:16 Dockerfile [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 26 05:16 GOVERNANCE.md [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 658 Aug 26 05:16 Jenkinsfile [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 26 05:16 LICENSE [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 1942 Aug 26 05:16 Makefile [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 26 05:16 OWNERS.md [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 4463 Aug 26 05:16 README.md [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 05:17 VERSION [2024-08-26T05:19:18.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 05:16 bin [2024-08-26T05:19:18.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 05:16 cmd [2024-08-26T05:19:18.393Z] -rw-r--r-- 1 jenkins jenkins 24601 Aug 26 05:18 coverage.out [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 7185 Aug 26 05:16 go.mod [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 102015 Aug 26 05:16 go.sum [2024-08-26T05:19:18.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 05:16 internal [2024-08-26T05:19:18.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 05:16 simulator [2024-08-26T05:19:18.393Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 26 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:19:18.814Z] + 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=5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 --label arch=amd64 --label version=0.0.0 . [2024-08-26T05:19:18.814Z] Sending build context to Docker daemon 17.93MB [2024-08-26T05:19:18.814Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-08-26T05:19:18.814Z] Step 2/23 : FROM ${BASE} AS builder [2024-08-26T05:19:18.814Z] ---> 6fe80db7cf07 [2024-08-26T05:19:18.814Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-08-26T05:19:19.384Z] ---> Running in cc36ca7779c4 [2024-08-26T05:19:19.384Z] Removing intermediate container cc36ca7779c4 [2024-08-26T05:19:19.384Z] ---> 2dbfde875f00 [2024-08-26T05:19:19.384Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-26T05:19:19.384Z] ---> Running in 190b5d65dea4 [2024-08-26T05:19:19.384Z] Removing intermediate container 190b5d65dea4 [2024-08-26T05:19:19.384Z] ---> 40a794b11a21 [2024-08-26T05:19:19.384Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-08-26T05:19:19.643Z] ---> Running in cdd627167aca [2024-08-26T05:19:19.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-26T05:19:19.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-26T05:19:20.163Z] OK: 270 MiB in 60 packages [2024-08-26T05:19:20.730Z] Removing intermediate container cdd627167aca [2024-08-26T05:19:20.730Z] ---> c8dfaa33f8f1 [2024-08-26T05:19:20.730Z] Step 6/23 : WORKDIR /device-modbus-go [2024-08-26T05:19:20.730Z] ---> Running in 5319f1cf6d14 [2024-08-26T05:19:20.730Z] Removing intermediate container 5319f1cf6d14 [2024-08-26T05:19:20.730Z] ---> 4a189ea06d27 [2024-08-26T05:19:20.730Z] Step 7/23 : COPY go.mod vendor* ./ [2024-08-26T05:19:20.730Z] ---> ece682529456 [2024-08-26T05:19:20.730Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-26T05:19:20.730Z] ---> Running in 108093b1e819 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-08-26T05:19:21.666Z] Removing intermediate container 108093b1e819 [2024-08-26T05:19:21.666Z] ---> 9447aca8a399 [2024-08-26T05:19:21.666Z] Step 9/23 : COPY . . [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-26T05:19:22.296Z] ---> c67f0dc42fff [2024-08-26T05:19:22.296Z] Step 10/23 : RUN ${MAKE} [2024-08-26T05:19:22.296Z] ---> Running in 507b9167101c [2024-08-26T05:19:22.331Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-26T05:19:22.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-26T05:19:22.331Z] Dload Upload Total Spent Left Speed [2024-08-26T05:19:22.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-08-26T05:19:22.556Z] 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.32" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-08-26T05:19:22.679Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-26T05:19:23.027Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-26T05:19:23.027Z] + sudo tee /etc/docker/daemon.new [2024-08-26T05:19:23.027Z] { [2024-08-26T05:19:23.028Z] "registry-mirrors": [ [2024-08-26T05:19:23.028Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-26T05:19:23.028Z] ], [2024-08-26T05:19:23.028Z] "bip": "10.250.0.254/24", [2024-08-26T05:19:23.028Z] "hosts": [ [2024-08-26T05:19:23.028Z] "tcp://0.0.0.0:5555", [2024-08-26T05:19:23.028Z] "unix:///var/run/docker.sock" [2024-08-26T05:19:23.028Z] ], [2024-08-26T05:19:23.028Z] "mtu": 1458, [2024-08-26T05:19:23.028Z] "selinux-enabled": true, [2024-08-26T05:19:23.028Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-26T05:19:23.028Z] } [Pipeline] sh [2024-08-26T05:19:23.387Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-26T05:19:23.738Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-26T05:19:42.109Z] provisioning config files... [2024-08-26T05:19:42.134Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14641446341329714344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:19:42.629Z] ---> ****-login.sh [2024-08-26T05:19:42.629Z] nexus3.edgexfoundry.org:10001 [2024-08-26T05:19:43.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:19:43.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:19:43.227Z] Configure a credential helper to remove this warning. See [2024-08-26T05:19:43.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:19:43.227Z] [2024-08-26T05:19:43.227Z] Login Succeeded [2024-08-26T05:19:43.227Z] nexus3.edgexfoundry.org:10002 [2024-08-26T05:19:43.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:19:43.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:19:43.498Z] Configure a credential helper to remove this warning. See [2024-08-26T05:19:43.498Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:19:43.498Z] [2024-08-26T05:19:43.498Z] Login Succeeded [2024-08-26T05:19:43.498Z] nexus3.edgexfoundry.org:10003 [2024-08-26T05:19:43.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:19:44.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:19:44.043Z] Configure a credential helper to remove this warning. See [2024-08-26T05:19:44.043Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:19:44.043Z] [2024-08-26T05:19:44.043Z] Login Succeeded [2024-08-26T05:19:44.043Z] nexus3.edgexfoundry.org:10004 [2024-08-26T05:19:44.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:19:44.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:19:44.315Z] Configure a credential helper to remove this warning. See [2024-08-26T05:19:44.315Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:19:44.315Z] [2024-08-26T05:19:44.315Z] Login Succeeded [2024-08-26T05:19:44.315Z] ****.io [2024-08-26T05:19:44.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-26T05:19:44.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-26T05:19:44.850Z] Configure a credential helper to remove this warning. See [2024-08-26T05:19:44.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-26T05:19:44.850Z] [2024-08-26T05:19:44.850Z] Login Succeeded [2024-08-26T05:19:44.850Z] ---> ****-login.sh ends [Pipeline] } [2024-08-26T05:19:44.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-26T05:19:45.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-26T05:19:45.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-26T05:19:45.466Z] ========================================================= [2024-08-26T05:19:45.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-26T05:19:45.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:19:46.039Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-26T05:19:46.312Z] Sending build context to Docker daemon 9.099MB [2024-08-26T05:19:46.312Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-26T05:19:46.312Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-26T05:19:46.590Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-26T05:19:46.590Z] c6b39de5b339: Pulling fs layer [2024-08-26T05:19:46.590Z] a69c41024577: Pulling fs layer [2024-08-26T05:19:46.590Z] d6de4b400683: Pulling fs layer [2024-08-26T05:19:46.590Z] 35cb2a7552d0: Pulling fs layer [2024-08-26T05:19:46.590Z] 4f4fb700ef54: Pulling fs layer [2024-08-26T05:19:46.590Z] 464afbd9ba4c: Pulling fs layer [2024-08-26T05:19:46.590Z] 00f215d4a9da: Pulling fs layer [2024-08-26T05:19:46.590Z] d496ad576159: Pulling fs layer [2024-08-26T05:19:46.590Z] 464afbd9ba4c: Waiting [2024-08-26T05:19:46.590Z] 00f215d4a9da: Waiting [2024-08-26T05:19:46.590Z] d496ad576159: Waiting [2024-08-26T05:19:46.590Z] 35cb2a7552d0: Waiting [2024-08-26T05:19:46.590Z] 4f4fb700ef54: Waiting [2024-08-26T05:19:46.590Z] a69c41024577: Verifying Checksum [2024-08-26T05:19:46.590Z] a69c41024577: Download complete [2024-08-26T05:19:46.590Z] 35cb2a7552d0: Verifying Checksum [2024-08-26T05:19:46.590Z] 35cb2a7552d0: Download complete [2024-08-26T05:19:46.590Z] 4f4fb700ef54: Verifying Checksum [2024-08-26T05:19:46.590Z] 4f4fb700ef54: Download complete [2024-08-26T05:19:46.590Z] 464afbd9ba4c: Verifying Checksum [2024-08-26T05:19:46.590Z] 464afbd9ba4c: Download complete [2024-08-26T05:19:46.590Z] c6b39de5b339: Verifying Checksum [2024-08-26T05:19:46.590Z] c6b39de5b339: Download complete [2024-08-26T05:19:47.183Z] d496ad576159: Verifying Checksum [2024-08-26T05:19:47.183Z] d496ad576159: Download complete [2024-08-26T05:19:47.792Z] c6b39de5b339: Pull complete [2024-08-26T05:19:48.387Z] a69c41024577: Pull complete [2024-08-26T05:19:48.657Z] d6de4b400683: Verifying Checksum [2024-08-26T05:19:48.657Z] d6de4b400683: Download complete [2024-08-26T05:19:50.074Z] 00f215d4a9da: Verifying Checksum [2024-08-26T05:19:50.074Z] 00f215d4a9da: Download complete [2024-08-26T05:19:54.633Z] Removing intermediate container 507b9167101c [2024-08-26T05:19:54.634Z] ---> 02d199c63b36 [2024-08-26T05:19:54.634Z] Step 11/23 : FROM alpine:3.18 [2024-08-26T05:19:54.634Z] 3.18: Pulling from library/alpine [2024-08-26T05:19:54.634Z] 930bdd4d222e: Pulling fs layer [2024-08-26T05:19:54.634Z] 930bdd4d222e: Verifying Checksum [2024-08-26T05:19:54.634Z] 930bdd4d222e: Download complete [2024-08-26T05:19:54.634Z] 930bdd4d222e: Pull complete [2024-08-26T05:19:54.634Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-26T05:19:54.634Z] Status: Downloaded newer image for alpine:3.18 [2024-08-26T05:19:54.634Z] ---> 18f865063206 [2024-08-26T05:19:54.634Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-08-26T05:19:54.634Z] ---> Running in 177518018d45 [2024-08-26T05:19:54.634Z] Removing intermediate container 177518018d45 [2024-08-26T05:19:54.634Z] ---> 042f86f78a6a [2024-08-26T05:19:54.634Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-08-26T05:19:54.634Z] ---> Running in b6527b4013ae [2024-08-26T05:19:54.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-26T05:19:55.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-26T05:19:55.415Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-26T05:19:55.415Z] Executing busybox-1.36.1-r7.trigger [2024-08-26T05:19:55.415Z] OK: 7 MiB in 16 packages [2024-08-26T05:19:55.675Z] Removing intermediate container b6527b4013ae [2024-08-26T05:19:55.675Z] ---> 8163ac0a29cf [2024-08-26T05:19:55.675Z] Step 14/23 : RUN apk --no-cache upgrade [2024-08-26T05:19:55.675Z] ---> Running in b2b825860906 [2024-08-26T05:19:55.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-26T05:19:56.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-26T05:19:56.195Z] OK: 7 MiB in 16 packages [2024-08-26T05:19:56.455Z] Removing intermediate container b2b825860906 [2024-08-26T05:19:56.455Z] ---> 93cfedea93e2 [2024-08-26T05:19:56.455Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-08-26T05:19:57.942Z] ---> 198e6f6a5298 [2024-08-26T05:19:57.942Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-08-26T05:19:57.942Z] ---> f4c73e54e91d [2024-08-26T05:19:57.942Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-08-26T05:19:57.942Z] ---> cbac311a075c [2024-08-26T05:19:57.942Z] Step 18/23 : EXPOSE 59901 [2024-08-26T05:19:57.942Z] ---> Running in 45b5ee67cee0 [2024-08-26T05:19:57.942Z] Removing intermediate container 45b5ee67cee0 [2024-08-26T05:19:57.942Z] ---> f2d05649faa1 [2024-08-26T05:19:57.942Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-08-26T05:19:57.942Z] ---> Running in dc08d7ca6d92 [2024-08-26T05:19:58.201Z] Removing intermediate container dc08d7ca6d92 [2024-08-26T05:19:58.202Z] ---> 70bec1809ea2 [2024-08-26T05:19:58.202Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-26T05:19:58.202Z] ---> Running in 9355546b9321 [2024-08-26T05:19:58.202Z] Removing intermediate container 9355546b9321 [2024-08-26T05:19:58.202Z] ---> 94b03d15bf68 [2024-08-26T05:19:58.202Z] Step 21/23 : LABEL arch=amd64 [2024-08-26T05:19:58.202Z] ---> Running in e2a8fb53255a [2024-08-26T05:19:58.202Z] Removing intermediate container e2a8fb53255a [2024-08-26T05:19:58.202Z] ---> 6031dbba4fab [2024-08-26T05:19:58.202Z] Step 22/23 : LABEL git_sha=5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [2024-08-26T05:19:58.202Z] ---> Running in f570dd7eec1a [2024-08-26T05:19:58.461Z] Removing intermediate container f570dd7eec1a [2024-08-26T05:19:58.461Z] ---> d44667593222 [2024-08-26T05:19:58.461Z] Step 23/23 : LABEL version=0.0.0 [2024-08-26T05:19:58.461Z] ---> Running in 72c113bbcd73 [2024-08-26T05:19:58.461Z] Removing intermediate container 72c113bbcd73 [2024-08-26T05:19:58.461Z] ---> a0fd4952c862 [2024-08-26T05:19:58.461Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-26T05:19:58.461Z] Successfully built a0fd4952c862 [2024-08-26T05:19:58.461Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:19:59.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-26T05:19:59.522Z] [2024-08-26T05:19:59.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:19:59.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-26T05:19:59.937Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-26T05:19:59.937Z] 5eb5b503b376: Pulling fs layer [2024-08-26T05:19:59.937Z] 5c69ac0246d0: Pulling fs layer [2024-08-26T05:19:59.937Z] ec43610c2a17: Pulling fs layer [2024-08-26T05:19:59.937Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-26T05:19:59.937Z] 33b1e0a273af: Pulling fs layer [2024-08-26T05:19:59.937Z] 5d3b04190fa2: Pulling fs layer [2024-08-26T05:19:59.937Z] 2f39f015ded8: Pulling fs layer [2024-08-26T05:19:59.937Z] 3a2ae6a8a46f: Waiting [2024-08-26T05:19:59.937Z] 33b1e0a273af: Waiting [2024-08-26T05:19:59.937Z] 5d3b04190fa2: Waiting [2024-08-26T05:19:59.937Z] 2f39f015ded8: Waiting [2024-08-26T05:19:59.937Z] 5c69ac0246d0: Download complete [2024-08-26T05:19:59.937Z] 3a2ae6a8a46f: Download complete [2024-08-26T05:19:59.937Z] 33b1e0a273af: Verifying Checksum [2024-08-26T05:19:59.937Z] 33b1e0a273af: Download complete [2024-08-26T05:19:59.937Z] ec43610c2a17: Verifying Checksum [2024-08-26T05:19:59.937Z] ec43610c2a17: Download complete [2024-08-26T05:19:59.937Z] 5d3b04190fa2: Verifying Checksum [2024-08-26T05:19:59.937Z] 5d3b04190fa2: Download complete [2024-08-26T05:20:00.195Z] 5eb5b503b376: Verifying Checksum [2024-08-26T05:20:00.195Z] 5eb5b503b376: Download complete [2024-08-26T05:20:00.763Z] 2f39f015ded8: Verifying Checksum [2024-08-26T05:20:00.763Z] 2f39f015ded8: Download complete [2024-08-26T05:20:01.332Z] 5eb5b503b376: Pull complete [2024-08-26T05:20:01.589Z] 5c69ac0246d0: Pull complete [2024-08-26T05:20:01.849Z] ec43610c2a17: Pull complete [2024-08-26T05:20:02.109Z] 3a2ae6a8a46f: Pull complete [2024-08-26T05:20:02.109Z] 33b1e0a273af: Pull complete [2024-08-26T05:20:02.367Z] 5d3b04190fa2: Pull complete [2024-08-26T05:20:02.392Z] d6de4b400683: Pull complete [2024-08-26T05:20:02.392Z] 35cb2a7552d0: Pull complete [2024-08-26T05:20:02.392Z] 4f4fb700ef54: Pull complete [2024-08-26T05:20:02.392Z] 464afbd9ba4c: Pull complete [2024-08-26T05:20:06.557Z] 2f39f015ded8: Pull complete [2024-08-26T05:20:06.557Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-26T05:20:06.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-26T05:20:06.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:20:06.832Z] prd-ubuntu20.04-docker-8c-8g-8578 does not seem to be running inside a container [2024-08-26T05:20:06.871Z] $ 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-568 -v /w/workspace/xfoundry_device-modbus-go_PR-568:/w/workspace/xfoundry_device-modbus-go_PR-568:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-568@tmp:/w/workspace/xfoundry_device-modbus-go_PR-568@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-26T05:20:10.624Z] 00f215d4a9da: Pull complete [2024-08-26T05:20:11.137Z] $ docker top 779f266c96b85be04856252a792676931100b77774af49edc5d3f4f7be3a71cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:20:11.650Z] ---> job-cost.sh [2024-08-26T05:20:11.650Z] lf-activate-venv: SKIPPING [2024-08-26T05:20:11.650Z] INFO: No Stack... [2024-08-26T05:20:11.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-26T05:20:12.171Z] INFO: Archiving Costs [Pipeline] sh [2024-08-26T05:20:12.491Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-568/archives/cost.csv [2024-08-26T05:20:12.491Z] + cut -d, -f6 [Pipeline] lock [2024-08-26T05:20:12.543Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] [2024-08-26T05:20:12.551Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] did not exist. Created. [2024-08-26T05:20:12.558Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] [Pipeline] { [2024-08-26T05:20:12.582Z] d496ad576159: Pull complete [2024-08-26T05:20:12.582Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-26T05:20:12.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-26T05:20:12.582Z] ---> f246e2811388 [2024-08-26T05:20:12.582Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [Pipeline] unstash [Pipeline] sh [2024-08-26T05:20:13.001Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-26T05:20:13.061Z] Stashed 1 file(s) [Pipeline] } [2024-08-26T05:20:13.110Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] [2024-08-26T05:20:13.162Z] ---> Running in 109fb6c6d4c0 [Pipeline] // lock [Pipeline] } [2024-08-26T05:20:13.244Z] $ docker stop --time=1 779f266c96b85be04856252a792676931100b77774af49edc5d3f4f7be3a71cc [2024-08-26T05:20:13.428Z] Removing intermediate container 109fb6c6d4c0 [2024-08-26T05:20:13.428Z] ---> 85b7cc571444 [2024-08-26T05:20:13.428Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-26T05:20:13.428Z] ---> Running in 1fe9a961f080 [2024-08-26T05:20:13.695Z] Removing intermediate container 1fe9a961f080 [2024-08-26T05:20:13.695Z] ---> 0042a3e8528e [2024-08-26T05:20:13.695Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-08-26T05:20:13.695Z] ---> Running in def7bc63fe59 [2024-08-26T05:20:14.411Z] $ docker rm -f --volumes 779f266c96b85be04856252a792676931100b77774af49edc5d3f4f7be3a71cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-26T05:20:15.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-26T05:20:15.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-26T05:20:16.643Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-08-26T05:20:16.643Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-08-26T05:20:16.643Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-08-26T05:20:16.644Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-08-26T05:20:16.644Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-08-26T05:20:16.644Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-08-26T05:20:16.644Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-08-26T05:20:16.644Z] (8/8) Installing openssh (9.3_p2-r2) [2024-08-26T05:20:16.644Z] Executing busybox-1.36.1-r5.trigger [2024-08-26T05:20:16.644Z] OK: 272 MiB in 60 packages [2024-08-26T05:20:17.674Z] Removing intermediate container def7bc63fe59 [2024-08-26T05:20:17.674Z] ---> b65f02bf4b39 [2024-08-26T05:20:17.674Z] Step 6/10 : WORKDIR /device-modbus-go [2024-08-26T05:20:17.674Z] ---> Running in 65108d860baa [2024-08-26T05:20:17.963Z] Removing intermediate container 65108d860baa [2024-08-26T05:20:17.963Z] ---> 1bbf7f5f74e9 [2024-08-26T05:20:17.963Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-26T05:20:18.577Z] ---> 7a7b61f44517 [2024-08-26T05:20:18.577Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-26T05:20:18.577Z] ---> Running in 6ae60b166627 [2024-08-26T05:22:10.264Z] Removing intermediate container 6ae60b166627 [2024-08-26T05:22:10.264Z] ---> 6729e2b2cef5 [2024-08-26T05:22:10.264Z] Step 9/10 : COPY . . [2024-08-26T05:22:10.264Z] ---> 6904e5a87101 [2024-08-26T05:22:10.264Z] Step 10/10 : RUN ${MAKE} [2024-08-26T05:22:10.264Z] ---> Running in 27c4cd7945ec [2024-08-26T05:22:10.264Z] noop [2024-08-26T05:22:10.264Z] Removing intermediate container 27c4cd7945ec [2024-08-26T05:22:10.264Z] ---> d75d0c367b4d [2024-08-26T05:22:10.264Z] Successfully built d75d0c367b4d [2024-08-26T05:22:10.264Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:22:10.799Z] + docker inspect -f . ci-base-image-arm64 [2024-08-26T05:22:10.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:22:11.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-8579 does not seem to be running inside a container [2024-08-26T05:22:11.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-26T05:22:12.409Z] $ docker top 20b151b05c2c7e729680c92e010eb24ec4b3235eec347347aa31a277a41f65c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-26T05:22:13.329Z] + go version [2024-08-26T05:22:13.330Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-26T05:22:13.366Z] $ docker stop --time=1 20b151b05c2c7e729680c92e010eb24ec4b3235eec347347aa31a277a41f65c0 [2024-08-26T05:22:15.000Z] $ docker rm -f --volumes 20b151b05c2c7e729680c92e010eb24ec4b3235eec347347aa31a277a41f65c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:22:15.946Z] + docker inspect -f . ci-base-image-arm64 [2024-08-26T05:22:15.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:22:16.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-8579 does not seem to be running inside a container [2024-08-26T05:22:16.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-26T05:22:17.441Z] $ docker top 8e12baa778f980ad7b96f7bde9afaa2319fc4f9dd0ca152f4d9bea9d04f45628 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-26T05:22:18.341Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-26T05:22:18.752Z] + make test [2024-08-26T05:22:19.020Z] go test ./... -coverprofile=coverage.out [2024-08-26T05:22:24.631Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-08-26T05:25:31.414Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-08-26T05:25:32.375Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 47.9% of statements [2024-08-26T05:25:33.336Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-26T05:25:33.336Z] go vet ./... [2024-08-26T05:26:20.190Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-26T05:26:20.190Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-26T05:26:20.190Z] ./bin/test-attribution-txt.sh [2024-08-26T05:26:20.190Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-26T05:26:20.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-26T05:26:20.290Z] $ docker stop --time=1 8e12baa778f980ad7b96f7bde9afaa2319fc4f9dd0ca152f4d9bea9d04f45628 [2024-08-26T05:26:22.200Z] $ docker rm -f --volumes 8e12baa778f980ad7b96f7bde9afaa2319fc4f9dd0ca152f4d9bea9d04f45628 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-26T05:26:23.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-26T05:26:23.840Z] Warning: overwriting stash ‘coverage-report’ [2024-08-26T05:26:24.400Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-26T05:26:25.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-26T05:26:25.398Z] + ls -al . [2024-08-26T05:26:25.398Z] total 268 [2024-08-26T05:26:25.398Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 05:22 . [2024-08-26T05:26:25.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 05:19 .. [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 26 05:19 .dockerignore [2024-08-26T05:26:25.398Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 05:19 .git [2024-08-26T05:26:25.398Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 05:19 .github [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 26 05:19 .gitignore [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 26 05:19 .golangci.yml [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 19432 Aug 26 05:19 Attribution.txt [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 16388 Aug 26 05:19 CHANGELOG.md [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 1474 Aug 26 05:19 Dockerfile [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 26 05:19 GOVERNANCE.md [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 658 Aug 26 05:19 Jenkinsfile [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 26 05:19 LICENSE [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 1942 Aug 26 05:19 Makefile [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 26 05:19 OWNERS.md [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 4463 Aug 26 05:19 README.md [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 05:17 VERSION [2024-08-26T05:26:25.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 05:19 bin [2024-08-26T05:26:25.398Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 05:19 cmd [2024-08-26T05:26:25.398Z] -rw-r--r-- 1 jenkins jenkins 24601 Aug 26 05:25 coverage.out [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 7185 Aug 26 05:19 go.mod [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 102015 Aug 26 05:19 go.sum [2024-08-26T05:26:25.398Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 05:19 internal [2024-08-26T05:26:25.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 05:19 simulator [2024-08-26T05:26:25.398Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 26 05:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:26:30.130Z] + 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=5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 --label arch=arm64 --label version=0.0.0 . [2024-08-26T05:26:30.401Z] Sending build context to Docker daemon 9.125MB [2024-08-26T05:26:30.670Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-08-26T05:26:30.670Z] Step 2/23 : FROM ${BASE} AS builder [2024-08-26T05:26:30.670Z] ---> d75d0c367b4d [2024-08-26T05:26:30.670Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-08-26T05:26:30.670Z] ---> Running in de31c8d055e1 [2024-08-26T05:26:30.938Z] Removing intermediate container de31c8d055e1 [2024-08-26T05:26:30.938Z] ---> dd681de110f8 [2024-08-26T05:26:30.938Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-26T05:26:31.215Z] ---> Running in 43064664e92e [2024-08-26T05:26:31.483Z] Removing intermediate container 43064664e92e [2024-08-26T05:26:31.483Z] ---> 1dc94c79d500 [2024-08-26T05:26:31.483Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-08-26T05:26:31.483Z] ---> Running in ee977503c9fb [2024-08-26T05:26:32.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-26T05:26:32.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-26T05:26:33.680Z] OK: 272 MiB in 60 packages [2024-08-26T05:26:34.644Z] Removing intermediate container ee977503c9fb [2024-08-26T05:26:34.644Z] ---> 33ba3aac93fe [2024-08-26T05:26:34.644Z] Step 6/23 : WORKDIR /device-modbus-go [2024-08-26T05:26:34.644Z] ---> Running in 9dda72745f6b [2024-08-26T05:26:34.913Z] Removing intermediate container 9dda72745f6b [2024-08-26T05:26:34.913Z] ---> f26b48dad38c [2024-08-26T05:26:34.913Z] Step 7/23 : COPY go.mod vendor* ./ [2024-08-26T05:26:35.501Z] ---> d1eeaf10c625 [2024-08-26T05:26:35.502Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-26T05:26:35.502Z] ---> Running in 2a46abcc5b59 [2024-08-26T05:26:38.090Z] Removing intermediate container 2a46abcc5b59 [2024-08-26T05:26:38.090Z] ---> 8221abb99b72 [2024-08-26T05:26:38.090Z] Step 9/23 : COPY . . [2024-08-26T05:26:39.056Z] ---> 7251f2e8bdcb [2024-08-26T05:26:39.056Z] Step 10/23 : RUN ${MAKE} [2024-08-26T05:26:39.056Z] ---> Running in ff949f8076bd [2024-08-26T05:26:40.015Z] 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.32" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-08-26T05:30:01.788Z] Removing intermediate container ff949f8076bd [2024-08-26T05:30:01.788Z] ---> 61d11fdb5376 [2024-08-26T05:30:01.788Z] Step 11/23 : FROM alpine:3.18 [2024-08-26T05:30:01.788Z] 3.18: Pulling from library/alpine [2024-08-26T05:30:01.788Z] 4983c3fe2029: Pulling fs layer [2024-08-26T05:30:01.788Z] 4983c3fe2029: Download complete [2024-08-26T05:30:01.788Z] 4983c3fe2029: Pull complete [2024-08-26T05:30:01.788Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-26T05:30:01.788Z] Status: Downloaded newer image for alpine:3.18 [2024-08-26T05:30:01.788Z] ---> a0237000ae83 [2024-08-26T05:30:01.788Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-08-26T05:30:01.788Z] ---> Running in f15fac376c40 [2024-08-26T05:30:01.788Z] Removing intermediate container f15fac376c40 [2024-08-26T05:30:01.788Z] ---> f50f3d7b64f4 [2024-08-26T05:30:01.788Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-08-26T05:30:01.788Z] ---> Running in 656d7785a8b9 [2024-08-26T05:30:01.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-26T05:30:01.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-26T05:30:01.788Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-26T05:30:01.788Z] Executing busybox-1.36.1-r7.trigger [2024-08-26T05:30:01.788Z] OK: 8 MiB in 16 packages [2024-08-26T05:30:01.788Z] Removing intermediate container 656d7785a8b9 [2024-08-26T05:30:01.788Z] ---> 29786f7c8597 [2024-08-26T05:30:01.788Z] Step 14/23 : RUN apk --no-cache upgrade [2024-08-26T05:30:01.788Z] ---> Running in f7008e89eee6 [2024-08-26T05:30:01.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-26T05:30:01.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-26T05:30:01.788Z] OK: 8 MiB in 16 packages [2024-08-26T05:30:01.788Z] Removing intermediate container f7008e89eee6 [2024-08-26T05:30:01.788Z] ---> 5d99da416298 [2024-08-26T05:30:01.788Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-08-26T05:30:03.199Z] ---> 094ec5f7e7ae [2024-08-26T05:30:03.199Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-08-26T05:30:03.465Z] ---> 3e1221804611 [2024-08-26T05:30:03.465Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-08-26T05:30:04.052Z] ---> 0a936c26b97b [2024-08-26T05:30:04.052Z] Step 18/23 : EXPOSE 59901 [2024-08-26T05:30:04.052Z] ---> Running in f77fc0fa5bbe [2024-08-26T05:30:04.317Z] Removing intermediate container f77fc0fa5bbe [2024-08-26T05:30:04.317Z] ---> 5a1e2e869b7d [2024-08-26T05:30:04.317Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-08-26T05:30:04.317Z] ---> Running in 24461e29bdae [2024-08-26T05:30:04.582Z] Removing intermediate container 24461e29bdae [2024-08-26T05:30:04.582Z] ---> ef243bd0a6e8 [2024-08-26T05:30:04.582Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-26T05:30:04.582Z] ---> Running in 2b63dd3b62b8 [2024-08-26T05:30:04.847Z] Removing intermediate container 2b63dd3b62b8 [2024-08-26T05:30:04.847Z] ---> 9ed6e8619591 [2024-08-26T05:30:04.847Z] Step 21/23 : LABEL arch=arm64 [2024-08-26T05:30:04.847Z] ---> Running in f721c149d51b [2024-08-26T05:30:05.127Z] Removing intermediate container f721c149d51b [2024-08-26T05:30:05.127Z] ---> 70d1cda09202 [2024-08-26T05:30:05.127Z] Step 22/23 : LABEL git_sha=5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [2024-08-26T05:30:05.393Z] ---> Running in f132d34dd89f [2024-08-26T05:30:05.657Z] Removing intermediate container f132d34dd89f [2024-08-26T05:30:05.657Z] ---> 98c342bb827c [2024-08-26T05:30:05.657Z] Step 23/23 : LABEL version=0.0.0 [2024-08-26T05:30:05.657Z] ---> Running in 679a62472fde [2024-08-26T05:30:05.923Z] Removing intermediate container 679a62472fde [2024-08-26T05:30:05.923Z] ---> f3c1f95bc50d [2024-08-26T05:30:05.923Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-26T05:30:05.923Z] Successfully built f3c1f95bc50d [2024-08-26T05:30:05.923Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:30:08.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-26T05:30:08.178Z] [2024-08-26T05:30:08.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:30:08.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-26T05:30:08.597Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-26T05:30:08.597Z] 8998bd30e6a1: Pulling fs layer [2024-08-26T05:30:08.597Z] 04944245beec: Pulling fs layer [2024-08-26T05:30:08.597Z] 699f458cf7ca: Pulling fs layer [2024-08-26T05:30:08.597Z] 765212b225bb: Pulling fs layer [2024-08-26T05:30:08.597Z] f23df028b6ca: Pulling fs layer [2024-08-26T05:30:08.597Z] d65c8cfc05b1: Pulling fs layer [2024-08-26T05:30:08.597Z] 2437ff75d9bd: Pulling fs layer [2024-08-26T05:30:08.597Z] 765212b225bb: Waiting [2024-08-26T05:30:08.597Z] f23df028b6ca: Waiting [2024-08-26T05:30:08.597Z] d65c8cfc05b1: Waiting [2024-08-26T05:30:08.597Z] 2437ff75d9bd: Waiting [2024-08-26T05:30:08.863Z] 04944245beec: Verifying Checksum [2024-08-26T05:30:08.863Z] 04944245beec: Download complete [2024-08-26T05:30:08.863Z] 765212b225bb: Verifying Checksum [2024-08-26T05:30:08.863Z] 765212b225bb: Download complete [2024-08-26T05:30:08.863Z] f23df028b6ca: Verifying Checksum [2024-08-26T05:30:08.863Z] f23df028b6ca: Download complete [2024-08-26T05:30:08.863Z] d65c8cfc05b1: Verifying Checksum [2024-08-26T05:30:08.863Z] d65c8cfc05b1: Download complete [2024-08-26T05:30:09.257Z] 699f458cf7ca: Verifying Checksum [2024-08-26T05:30:09.257Z] 699f458cf7ca: Download complete [2024-08-26T05:30:09.547Z] 8998bd30e6a1: Verifying Checksum [2024-08-26T05:30:09.547Z] 8998bd30e6a1: Download complete [2024-08-26T05:30:12.144Z] 2437ff75d9bd: Verifying Checksum [2024-08-26T05:30:12.144Z] 2437ff75d9bd: Download complete [2024-08-26T05:30:14.716Z] 8998bd30e6a1: Pull complete [2024-08-26T05:30:14.716Z] 04944245beec: Pull complete [2024-08-26T05:30:16.664Z] 699f458cf7ca: Pull complete [2024-08-26T05:30:16.664Z] 765212b225bb: Pull complete [2024-08-26T05:30:17.244Z] f23df028b6ca: Pull complete [2024-08-26T05:30:17.511Z] d65c8cfc05b1: Pull complete [2024-08-26T05:30:35.717Z] 2437ff75d9bd: Pull complete [2024-08-26T05:30:35.717Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-26T05:30:35.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-26T05:30:35.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:30:36.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-8579 does not seem to be running inside a container [2024-08-26T05:30:36.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-26T05:30:38.789Z] $ docker top 974425118e20fd8ba54e3bc43abb916c68bc1a8b83df647a55a47ca372999ad4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:39.742Z] ---> job-cost.sh [2024-08-26T05:30:39.742Z] lf-activate-venv: SKIPPING [2024-08-26T05:30:39.742Z] INFO: No Stack... [2024-08-26T05:30:40.320Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-26T05:30:40.897Z] INFO: Archiving Costs [Pipeline] sh [2024-08-26T05:30:41.552Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-08-26T05:30:41.552Z] + cut -d, -f6 [Pipeline] lock [2024-08-26T05:30:41.632Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] [2024-08-26T05:30:41.638Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] did not exist. Created. [2024-08-26T05:30:41.650Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-26T05:30:42.400Z] /w/workspace/device-modbus-go/1@tmp/durable-7bd8e174/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-26T05:30:43.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-26T05:30:43.123Z] Warning: overwriting stash ‘stack-cost’ [2024-08-26T05:30:43.191Z] Stashed 1 file(s) [Pipeline] } [2024-08-26T05:30:43.216Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-568-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-26T05:30:43.320Z] $ docker stop --time=1 974425118e20fd8ba54e3bc43abb916c68bc1a8b83df647a55a47ca372999ad4 [2024-08-26T05:30:44.821Z] $ docker rm -f --volumes 974425118e20fd8ba54e3bc43abb916c68bc1a8b83df647a55a47ca372999ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-26T05:30:46.125Z] provisioning config files... [2024-08-26T05:30:46.133Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-568@tmp/config1892160605629426355tmp [Pipeline] { [Pipeline] sh [2024-08-26T05:30:46.562Z] + set +x [2024-08-26T05:30:46.562Z] + curl -s https://codecov.io/bash [2024-08-26T05:30:46.562Z] + bash -s -- [2024-08-26T05:30:46.562Z] [2024-08-26T05:30:46.562Z] _____ _ [2024-08-26T05:30:46.562Z] / ____| | | [2024-08-26T05:30:46.562Z] | | ___ __| | ___ ___ _____ __ [2024-08-26T05:30:46.562Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-26T05:30:46.562Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-26T05:30:46.562Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-26T05:30:46.562Z] Bash-1.0.6 [2024-08-26T05:30:46.562Z] [2024-08-26T05:30:46.562Z] [2024-08-26T05:30:46.562Z] ==> git version 2.25.1 found [2024-08-26T05:30:46.562Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-26T05:30:46.562Z] Release-Date: 2020-01-08 [2024-08-26T05:30:46.562Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-26T05:30:46.562Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-26T05:30:46.562Z] ==> Jenkins CI detected. [2024-08-26T05:30:46.562Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-568 [2024-08-26T05:30:46.562Z] project root: . [2024-08-26T05:30:46.562Z] --> token set from env [2024-08-26T05:30:46.824Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-26T05:30:46.824Z] ==> Running gcov in . (disable via -X gcov) [2024-08-26T05:30:46.824Z] ==> Python coveragepy not found [2024-08-26T05:30:46.824Z] ==> Searching for coverage reports in: [2024-08-26T05:30:46.824Z] + . [2024-08-26T05:30:46.824Z] -> Found 1 reports [2024-08-26T05:30:46.824Z] ==> Detecting git/mercurial file structure [2024-08-26T05:30:46.824Z] ==> Reading reports [2024-08-26T05:30:46.824Z] + ./coverage.out bytes=24601 [2024-08-26T05:30:46.824Z] ==> Appending adjustments [2024-08-26T05:30:46.824Z] https://docs.codecov.io/docs/fixing-reports [2024-08-26T05:30:46.824Z] + Found adjustments [2024-08-26T05:30:46.824Z] ==> Gzipping contents [2024-08-26T05:30:46.824Z] 4.0K /tmp/codecov.aFF7RF.gz [2024-08-26T05:30:46.824Z] ==> Uploading reports [2024-08-26T05:30:46.824Z] url: https://codecov.io [2024-08-26T05:30:46.825Z] query: branch=PR-568&commit=5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-568%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=568&job=&cmd_args= [2024-08-26T05:30:46.825Z] -> Pinging Codecov [2024-08-26T05:30:46.825Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-568&commit=5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-568%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=568&job=&cmd_args= [2024-08-26T05:30:47.084Z] -> Uploading to [2024-08-26T05:30:47.084Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-26/55DBCA73C666E3227836607328DD7E49/5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4/6e442d5b-1ebc-44cd-818b-fa87d694be3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240826%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240826T053046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2308dc05527654731d1675420be8acc2d26782881845c466594373d9b6328e6 [2024-08-26T05:30:47.084Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-26T05:30:47.084Z] Dload Upload Total Spent Left Speed [2024-08-26T05:30:47.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16012 --:--:-- --:--:-- --:--:-- 16012 [2024-08-26T05:30:47.346Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5f0eb62c2cfa50c84ada8d420b5afcf5a52136c4 [Pipeline] } [2024-08-26T05:30:47.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-26T05:30:49.727Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-568/archives ] [2024-08-26T05:30:49.728Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-568/archives [2024-08-26T05:30:49.728Z] total 16 [2024-08-26T05:30:49.728Z] drwxr-xr-x 3 root root 4096 Aug 26 05:20 . [2024-08-26T05:30:49.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 26 05:20 .. [2024-08-26T05:30:49.728Z] drwxr-xr-x 2 root root 4096 Aug 26 05:20 cost [2024-08-26T05:30:49.728Z] -rw-r--r-- 1 root root 88 Aug 26 05:20 cost.csv [2024-08-26T05:30:49.728Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-568/archives [2024-08-26T05:30:49.728Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-568/archives [2024-08-26T05:30:49.728Z] total 16 [2024-08-26T05:30:49.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 26 05:20 . [2024-08-26T05:30:49.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 26 05:20 .. [2024-08-26T05:30:49.728Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 26 05:20 cost [2024-08-26T05:30:49.728Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 26 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:50.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:50.982Z] ---> package-listing.sh [2024-08-26T05:30:50.982Z] ++ facter osfamily [2024-08-26T05:30:50.982Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-26T05:30:51.242Z] + OS_FAMILY=debian [2024-08-26T05:30:51.242Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-568 [2024-08-26T05:30:51.242Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-26T05:30:51.242Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-26T05:30:51.242Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-26T05:30:51.242Z] + PACKAGES=/tmp/packages_start.txt [2024-08-26T05:30:51.242Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-568 ']' [2024-08-26T05:30:51.242Z] + PACKAGES=/tmp/packages_end.txt [2024-08-26T05:30:51.242Z] + case "${OS_FAMILY}" in [2024-08-26T05:30:51.242Z] + dpkg -l [2024-08-26T05:30:51.242Z] + grep '^ii' [2024-08-26T05:30:51.242Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-26T05:30:51.242Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-26T05:30:51.242Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-26T05:30:51.242Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-568 ']' [2024-08-26T05:30:51.242Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-568/archives/ [2024-08-26T05:30:51.242Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-568/archives/ [Pipeline] echo [2024-08-26T05:30:51.288Z] 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-568/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-26T05:30:51.589Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-26T05:30:52.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-26T05:30:52.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-26T05:30:52.421Z] prd-ubuntu20.04-docker-8c-8g-8578 does not seem to be running inside a container [2024-08-26T05:30:52.462Z] $ 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-568/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-568 -v /w/workspace/xfoundry_device-modbus-go_PR-568:/w/workspace/xfoundry_device-modbus-go_PR-568:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-568@tmp:/w/workspace/xfoundry_device-modbus-go_PR-568@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-26T05:30:53.150Z] $ docker top 91420aea05780deb714d4f828314955203d3708b1537d80b72cbdc3adf12e3f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-26T05:30:53.582Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-26T05:30:53.894Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-26T05:30:54.208Z] + ls /var/log/sa-host [2024-08-26T05:30:54.208Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-26T05:30:54.470Z] provisioning config files... [2024-08-26T05:30:54.481Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-568@tmp/config17988063025964732097tmp [Pipeline] { [Pipeline] echo [2024-08-26T05:30:54.562Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:55.080Z] ---> create-netrc.sh [Pipeline] } [2024-08-26T05:30:55.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:55.598Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-26T05:30:55.644Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:55.993Z] ---> sudo-logs.sh [2024-08-26T05:30:55.993Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-26T05:30:56.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:56.431Z] ---> job-cost.sh [2024-08-26T05:30:56.432Z] lf-activate-venv: SKIPPING [2024-08-26T05:30:56.432Z] DEBUG: total: 0.2199999988079071 [2024-08-26T05:30:56.432Z] INFO: Retrieving Stack Cost... [2024-08-26T05:30:56.691Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-26T05:30:57.262Z] INFO: Archiving Costs [Pipeline] echo [2024-08-26T05:30:57.306Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-26T05:30:57.649Z] ---> logs-deploy.sh [2024-08-26T05:30:57.649Z] lf-activate-venv: SKIPPING [2024-08-26T05:30:57.649Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-568/1 [2024-08-26T05:30:57.649Z] INFO: archiving workspace using pattern(s): [2024-08-26T05:30:58.586Z] Archives upload complete. [2024-08-26T05:30:58.847Z] INFO: archiving logs to Nexus