Pull request #466 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 90cad0090b363539242e7252c7c4457a85f761f3+831951377c32840706638568b0e432e598c2b631 (2e7f6a3e67faa3daf645b69889a2919878b187b8) 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-ssh575102906937013319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10402425527164919998.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-466/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-466/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh919847907257697097.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-466/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5973733506885737017.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh1159018474823885437.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-466/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-466/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9526416847424338777.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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, buildSnap:false] ========================================================= [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.20 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-11999 in /w/workspace/xfoundry_device-modbus-go_PR-466 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-466 # 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/466/head:refs/remotes/origin/PR-466 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 90cad0090b363539242e7252c7c4457a85f761f3 Merge succeeded, producing 90cad0090b363539242e7252c7c4457a85f761f3 Checking out Revision 90cad0090b363539242e7252c7c4457a85f761f3 (PR-466) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-28T05:58:32.592Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-28T05:58:32.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # 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 831951377c32840706638568b0e432e598c2b631 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # timeout=10 [Pipeline] echo [2023-04-28T05:58:32.887Z] ========================================================= [2023-04-28T05:58:32.887Z] EdgeX Global Pipelines Version Info [2023-04-28T05:58:32.887Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:58:33.630Z] ------------------- [2023-04-28T05:58:33.630Z] stable info: [2023-04-28T05:58:33.630Z] ------------------- [2023-04-28T05:58:33.630Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-28T05:58:33.630Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T05:58:33.630Z] Message: update stable to v1.0.248 [2023-04-28T05:58:34.202Z] ------------------- [2023-04-28T05:58:34.202Z] experimental info: [2023-04-28T05:58:34.202Z] ------------------- [2023-04-28T05:58:34.202Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-28T05:58:34.202Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T05:58:34.202Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-28T05:58:34.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-28T05:58:34.536Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-28T05:58:34.574Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-28T05:58:34.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-28T05:58:34.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-28T05:58:34.717Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-28T05:58:34.764Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-28T05:58:34.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-28T05:58:34.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-28T05:58:34.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-28T05:58:34.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-28T05:58:34.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-28T05:58:35.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-28T05:58:35.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-28T05:58:35.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-28T05:58:35.154Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-28T05:58:35.195Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T05:58:35.238Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-28T05:58:35.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-28T05:58:35.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-28T05:58:35.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-28T05:58:35.421Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-28T05:58:35.465Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-28T05:58:35.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-28T05:58:35.554Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-28T05:58:35.600Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-28T05:58:35.644Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-28T05:58:35.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-466 [Pipeline] echo [2023-04-28T05:58:35.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-466 [Pipeline] echo [2023-04-28T05:58:35.776Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-466 [Pipeline] echo [2023-04-28T05:58:35.827Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo [2023-04-28T05:58:35.870Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90cad00 [Pipeline] echo [2023-04-28T05:58:35.914Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T05:58:36.038Z] provisioning config files... [2023-04-28T05:58:36.052Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config4306944565708793168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:58:36.409Z] ---> docker-login.sh [2023-04-28T05:58:36.409Z] nexus3.edgexfoundry.org:10001 [2023-04-28T05:58:36.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:36.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:36.670Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:36.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:36.670Z] [2023-04-28T05:58:36.670Z] Login Succeeded [2023-04-28T05:58:36.670Z] nexus3.edgexfoundry.org:10002 [2023-04-28T05:58:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:36.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:36.940Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:36.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:36.940Z] [2023-04-28T05:58:36.940Z] Login Succeeded [2023-04-28T05:58:36.940Z] nexus3.edgexfoundry.org:10003 [2023-04-28T05:58:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:36.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:36.940Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:36.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:36.940Z] [2023-04-28T05:58:36.940Z] Login Succeeded [2023-04-28T05:58:36.940Z] nexus3.edgexfoundry.org:10004 [2023-04-28T05:58:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:37.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:37.201Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:37.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:37.201Z] [2023-04-28T05:58:37.201Z] Login Succeeded [2023-04-28T05:58:37.201Z] docker.io [2023-04-28T05:58:37.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:37.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:37.461Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:37.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:37.461Z] [2023-04-28T05:58:37.461Z] Login Succeeded [2023-04-28T05:58:37.461Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T05:58:37.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-28T05:58:38.158Z] + git rev-list -1 --merges 90cad0090b363539242e7252c7c4457a85f761f3~1..90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo [2023-04-28T05:58:38.230Z] -----------> git rev-list -1 --merges 90cad0090b363539242e7252c7c4457a85f761f3~1..90cad0090b363539242e7252c7c4457a85f761f3 90cad0090b363539242e7252c7c4457a85f761f3 [false] [Pipeline] sh [2023-04-28T05:58:38.541Z] + git log --format=format:%s -1 90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo [2023-04-28T05:58:38.574Z] ========================================================= [2023-04-28T05:58:38.574Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-28T05:58:38.574Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T05:58:39.027Z] + git log --format=format:%s -1 90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] echo [2023-04-28T05:58:39.063Z] [semverPrep] GIT_COMMIT: 90cad0090b363539242e7252c7c4457a85f761f3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-28T05:58:39.097Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-28T05:58:39.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-28T05:58:39.508Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-28T05:58:39.508Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-28T05:58:39.508Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-28T05:58:39.508Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-28T05:58:39.508Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-28T05:58:39.508Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:58:40.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T05:58:40.022Z] [2023-04-28T05:58:40.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:58:40.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T05:58:40.408Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-28T05:58:40.408Z] b85a868b505f: Pulling fs layer [2023-04-28T05:58:40.408Z] e2be974225ed: Pulling fs layer [2023-04-28T05:58:40.408Z] 339a4e72a1f5: Pulling fs layer [2023-04-28T05:58:40.408Z] 988bab9f4d93: Pulling fs layer [2023-04-28T05:58:40.408Z] 1469e6f7b9e6: Pulling fs layer [2023-04-28T05:58:40.408Z] eaf3925da568: Pulling fs layer [2023-04-28T05:58:40.408Z] bab4dde63d76: Pulling fs layer [2023-04-28T05:58:40.408Z] bde34c3a00c8: Pulling fs layer [2023-04-28T05:58:40.408Z] b352a97aabf1: Pulling fs layer [2023-04-28T05:58:40.408Z] 4872d77fe225: Pulling fs layer [2023-04-28T05:58:40.408Z] 5851b861e8e6: Pulling fs layer [2023-04-28T05:58:40.408Z] 5851b861e8e6: Waiting [2023-04-28T05:58:40.408Z] eaf3925da568: Waiting [2023-04-28T05:58:40.408Z] b352a97aabf1: Waiting [2023-04-28T05:58:40.408Z] bab4dde63d76: Waiting [2023-04-28T05:58:40.408Z] bde34c3a00c8: Waiting [2023-04-28T05:58:40.408Z] 4872d77fe225: Waiting [2023-04-28T05:58:40.408Z] 988bab9f4d93: Waiting [2023-04-28T05:58:40.408Z] e2be974225ed: Verifying Checksum [2023-04-28T05:58:40.408Z] e2be974225ed: Download complete [2023-04-28T05:58:40.408Z] 988bab9f4d93: Verifying Checksum [2023-04-28T05:58:40.408Z] 988bab9f4d93: Download complete [2023-04-28T05:58:40.408Z] 1469e6f7b9e6: Verifying Checksum [2023-04-28T05:58:40.408Z] 1469e6f7b9e6: Download complete [2023-04-28T05:58:40.408Z] 339a4e72a1f5: Verifying Checksum [2023-04-28T05:58:40.408Z] 339a4e72a1f5: Download complete [2023-04-28T05:58:40.668Z] eaf3925da568: Verifying Checksum [2023-04-28T05:58:40.668Z] eaf3925da568: Download complete [2023-04-28T05:58:40.668Z] bde34c3a00c8: Verifying Checksum [2023-04-28T05:58:40.668Z] bde34c3a00c8: Download complete [2023-04-28T05:58:40.668Z] b352a97aabf1: Verifying Checksum [2023-04-28T05:58:40.668Z] b352a97aabf1: Download complete [2023-04-28T05:58:40.668Z] 4872d77fe225: Download complete [2023-04-28T05:58:40.668Z] 5851b861e8e6: Verifying Checksum [2023-04-28T05:58:40.668Z] 5851b861e8e6: Download complete [2023-04-28T05:58:40.668Z] b85a868b505f: Verifying Checksum [2023-04-28T05:58:40.668Z] b85a868b505f: Download complete [2023-04-28T05:58:40.927Z] bab4dde63d76: Verifying Checksum [2023-04-28T05:58:40.927Z] bab4dde63d76: Download complete [2023-04-28T05:58:41.867Z] b85a868b505f: Pull complete [2023-04-28T05:58:41.867Z] e2be974225ed: Pull complete [2023-04-28T05:58:42.126Z] 339a4e72a1f5: Pull complete [2023-04-28T05:58:42.386Z] 988bab9f4d93: Pull complete [2023-04-28T05:58:42.646Z] 1469e6f7b9e6: Pull complete [2023-04-28T05:58:42.646Z] eaf3925da568: Pull complete [2023-04-28T05:58:44.562Z] bab4dde63d76: Pull complete [2023-04-28T05:58:44.562Z] bde34c3a00c8: Pull complete [2023-04-28T05:58:44.562Z] b352a97aabf1: Pull complete [2023-04-28T05:58:44.562Z] 4872d77fe225: Pull complete [2023-04-28T05:58:44.562Z] 5851b861e8e6: Pull complete [2023-04-28T05:58:44.562Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-28T05:58:44.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-28T05:58:44.562Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:58:44.803Z] prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container [2023-04-28T05:58:44.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@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 [2023-04-28T05:58:46.962Z] $ docker top 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 -eo pid,comm [2023-04-28T05:58:47.023Z] 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). [2023-04-28T05:58:47.023Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-28T05:58:47.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-28T05:58:47.160Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-28T05:58:47.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-28T05:58:47.259Z] $ docker exec 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent [2023-04-28T05:58:47.355Z] SSH_AUTH_SOCK=/tmp/ssh-FWdUUiuGL8DL/agent.33 [2023-04-28T05:58:47.355Z] SSH_AGENT_PID=39 [2023-04-28T05:58:47.360Z] Running ssh-add (command line suppressed) [2023-04-28T05:58:47.458Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_17262573112266542356.key (/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_17262573112266542356.key) [2023-04-28T05:58:47.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-28T05:58:47.808Z] + git tag --points-at HEAD [Pipeline] } [2023-04-28T05:58:47.834Z] $ docker exec --env ******** --env ******** 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent -k [2023-04-28T05:58:47.931Z] unset SSH_AUTH_SOCK; [2023-04-28T05:58:47.932Z] unset SSH_AGENT_PID; [2023-04-28T05:58:47.932Z] echo Agent pid 39 killed; [2023-04-28T05:58:47.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-28T05:58:48.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-28T05:58:48.030Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-28T05:58:48.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-28T05:58:48.146Z] $ docker exec 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent [2023-04-28T05:58:48.254Z] SSH_AUTH_SOCK=/tmp/ssh-KvF5xsrKDPFm/agent.71 [2023-04-28T05:58:48.254Z] SSH_AGENT_PID=77 [2023-04-28T05:58:48.259Z] Running ssh-add (command line suppressed) [2023-04-28T05:58:48.358Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_15201949864281775495.key (/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/private_key_15201949864281775495.key) [2023-04-28T05:58:48.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-28T05:58:48.706Z] + git semver init [2023-04-28T05:58:48.967Z] 2023-04-28 05:58:48,894 [run_init] DEBUG init version:0.0.0 force:False [2023-04-28T05:58:48.967Z] 2023-04-28 05:58:48,895 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-466/.semver [2023-04-28T05:58:48.967Z] 2023-04-28 05:58:48,895 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-466/.semver [2023-04-28T05:58:48.967Z] 2023-04-28 05:58:48,895 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-466/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-466, universal_newlines=False, shell=None, istream=None) [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,614 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-466/.git/info/exclude [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,614 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-466/.semver/PR-466 with force:False [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,614 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-466/.semver/PR-466 [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,618 [execute] INFO git cat-file --batch-check [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-466/.semver, universal_newlines=False, shell=None, istream=) [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,623 [execute] INFO git cat-file --batch [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-466/.semver, universal_newlines=False, shell=None, istream=) [2023-04-28T05:58:49.907Z] 2023-04-28 05:58:49,628 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-466/.semver/PR-466 [2023-04-28T05:58:49.907Z] 0.0.0 [Pipeline] } [2023-04-28T05:58:49.931Z] $ docker exec --env ******** --env ******** 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 ssh-agent -k [2023-04-28T05:58:50.025Z] unset SSH_AUTH_SOCK; [2023-04-28T05:58:50.026Z] unset SSH_AGENT_PID; [2023-04-28T05:58:50.026Z] echo Agent pid 77 killed; [2023-04-28T05:58:50.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-28T05:58:50.476Z] + git semver [Pipeline] } [2023-04-28T05:58:50.760Z] $ docker stop --time=1 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 [2023-04-28T05:58:52.159Z] $ docker rm -f --volumes 8961c844cd22f67d0fe7a6a8ef5102cd9a39e0180595b02710c0d30f2b306713 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T05:58:52.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-28T05:58:52.896Z] Stashed 1 file(s) [Pipeline] echo [2023-04-28T05:58:52.913Z] [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] { [2023-04-28T05:58:53.448Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11997 in /w/workspace/xfoundry_device-modbus-go_PR-466 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T05:58:53.512Z] provisioning config files... [2023-04-28T05:58:53.521Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config7990303579051005029tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-04-28T05:58:53.692Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-28T05:58:53.769Z] Selected Git installation does not exist. Using Default [2023-04-28T05:58:53.769Z] The recommended git tool is: NONE [2023-04-28T05:58:53.915Z] ---> docker-login.sh [2023-04-28T05:58:53.915Z] nexus3.edgexfoundry.org:10001 [2023-04-28T05:58:53.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:53.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:53.915Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:53.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:53.915Z] [2023-04-28T05:58:53.915Z] Login Succeeded [2023-04-28T05:58:53.915Z] nexus3.edgexfoundry.org:10002 [2023-04-28T05:58:53.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:53.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:53.915Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:53.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:53.915Z] [2023-04-28T05:58:53.915Z] Login Succeeded [2023-04-28T05:58:53.915Z] nexus3.edgexfoundry.org:10003 [2023-04-28T05:58:54.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:54.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:54.176Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:54.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:54.176Z] [2023-04-28T05:58:54.176Z] Login Succeeded [2023-04-28T05:58:54.176Z] nexus3.edgexfoundry.org:10004 [2023-04-28T05:58:54.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:54.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:54.176Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:54.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:54.176Z] [2023-04-28T05:58:54.176Z] Login Succeeded [2023-04-28T05:58:54.176Z] docker.io [2023-04-28T05:58:54.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:58:54.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:58:54.436Z] Configure a credential helper to remove this warning. See [2023-04-28T05:58:54.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:58:54.436Z] [2023-04-28T05:58:54.436Z] Login Succeeded [2023-04-28T05:58:54.436Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T05:58:54.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-28T05:58:54.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T05:58:54.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T05:58:54.725Z] ========================================================= [2023-04-28T05:58:54.725Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-28T05:58:54.725Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:58:55.207Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-28T05:58:55.207Z] Sending build context to Docker daemon 6.466MB [2023-04-28T05:58:55.207Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T05:58:55.207Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-28T05:58:55.207Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-28T05:58:55.207Z] f56be85fc22e: Pulling fs layer [2023-04-28T05:58:55.207Z] 85791d961cd3: Pulling fs layer [2023-04-28T05:58:55.207Z] d694b5ae8c79: Pulling fs layer [2023-04-28T05:58:55.207Z] 9f32a84ed3da: Pulling fs layer [2023-04-28T05:58:55.207Z] 4d19c01a9841: Pulling fs layer [2023-04-28T05:58:55.207Z] 9325e15d5711: Pulling fs layer [2023-04-28T05:58:55.207Z] 556b6ee489ea: Pulling fs layer [2023-04-28T05:58:55.207Z] c5a4b2cf53e6: Pulling fs layer [2023-04-28T05:58:55.207Z] 9f32a84ed3da: Waiting [2023-04-28T05:58:55.207Z] 4d19c01a9841: Waiting [2023-04-28T05:58:55.207Z] 9325e15d5711: Waiting [2023-04-28T05:58:55.207Z] 556b6ee489ea: Waiting [2023-04-28T05:58:55.207Z] c5a4b2cf53e6: Waiting [2023-04-28T05:58:55.207Z] 85791d961cd3: Download complete [2023-04-28T05:58:55.207Z] 9f32a84ed3da: Verifying Checksum [2023-04-28T05:58:55.207Z] 9f32a84ed3da: Download complete [2023-04-28T05:58:55.207Z] 4d19c01a9841: Verifying Checksum [2023-04-28T05:58:55.207Z] 4d19c01a9841: Download complete [2023-04-28T05:58:55.468Z] f56be85fc22e: Verifying Checksum [2023-04-28T05:58:55.468Z] f56be85fc22e: Download complete [2023-04-28T05:58:55.468Z] 9325e15d5711: Verifying Checksum [2023-04-28T05:58:55.468Z] 9325e15d5711: Download complete [2023-04-28T05:58:55.468Z] f56be85fc22e: Pull complete [2023-04-28T05:58:55.729Z] 85791d961cd3: Pull complete [2023-04-28T05:58:55.729Z] c5a4b2cf53e6: Verifying Checksum [2023-04-28T05:58:55.729Z] c5a4b2cf53e6: Download complete [2023-04-28T05:58:55.988Z] d694b5ae8c79: Verifying Checksum [2023-04-28T05:58:55.988Z] d694b5ae8c79: Download complete [2023-04-28T05:58:56.247Z] 556b6ee489ea: Verifying Checksum [2023-04-28T05:58:56.247Z] 556b6ee489ea: Download complete [2023-04-28T05:58:58.277Z] using credential edgex-jenkins-ssh [2023-04-28T05:58:58.296Z] Cloning the remote Git repository [2023-04-28T05:58:58.323Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-28T05:58:58.398Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-28T05:58:58.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-28T05:58:58.536Z] > git --version # timeout=10 [2023-04-28T05:58:58.563Z] > git --version # 'git version 2.25.1' [2023-04-28T05:58:58.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T05:58:59.575Z] d694b5ae8c79: Pull complete [2023-04-28T05:58:59.575Z] 9f32a84ed3da: Pull complete [2023-04-28T05:58:59.575Z] 4d19c01a9841: Pull complete [2023-04-28T05:58:59.575Z] 9325e15d5711: Pull complete [2023-04-28T05:58:58.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-28T05:58:59.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-28T05:58:59.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-28T05:59:00.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-28T05:59:00.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-28T05:59:00.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T05:59:00.821Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/466/head:refs/remotes/origin/PR-466 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-28T05:59:01.331Z] Merging remotes/origin/main commit 831951377c32840706638568b0e432e598c2b631 into PR head commit 90cad0090b363539242e7252c7c4457a85f761f3 [2023-04-28T05:59:01.478Z] 556b6ee489ea: Pull complete [2023-04-28T05:59:01.599Z] Merge succeeded, producing 90cad0090b363539242e7252c7c4457a85f761f3 [2023-04-28T05:59:01.599Z] Checking out Revision 90cad0090b363539242e7252c7c4457a85f761f3 (PR-466) [2023-04-28T05:59:02.100Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-28T05:59:02.129Z] > git --version # timeout=10 [2023-04-28T05:59:02.139Z] > git --version # 'git version 2.25.1' [2023-04-28T05:59:02.152Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-28T05:59:02.411Z] c5a4b2cf53e6: Pull complete [2023-04-28T05:59:02.411Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-28T05:59:02.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-28T05:59:02.411Z] ---> c4be618373d6 [2023-04-28T05:59:02.411Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-28T05:59:01.333Z] > git config core.sparsecheckout # timeout=10 [2023-04-28T05:59:01.386Z] > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # timeout=10 [2023-04-28T05:59:01.474Z] > git remote # timeout=10 [2023-04-28T05:59:01.493Z] > git config --get remote.origin.url # timeout=10 [2023-04-28T05:59:01.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-28T05:59:01.533Z] > git merge 831951377c32840706638568b0e432e598c2b631 # timeout=10 [2023-04-28T05:59:01.563Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-28T05:59:01.589Z] > git config core.sparsecheckout # timeout=10 [2023-04-28T05:59:01.604Z] > git checkout -f 90cad0090b363539242e7252c7c4457a85f761f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T05:59:03.338Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-28T05:59:03.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-28T05:59:03.339Z] Dload Upload Total Spent Left Speed [2023-04-28T05:59:03.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-04-28T05:59:03.912Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-28T05:59:04.260Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-28T05:59:04.260Z] + sudo tee /etc/docker/daemon.new [2023-04-28T05:59:04.260Z] { [2023-04-28T05:59:04.260Z] "registry-mirrors": [ [2023-04-28T05:59:04.260Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-28T05:59:04.260Z] ], [2023-04-28T05:59:04.260Z] "bip": "10.250.0.254/24", [2023-04-28T05:59:04.260Z] "hosts": [ [2023-04-28T05:59:04.260Z] "tcp://0.0.0.0:5555", [2023-04-28T05:59:04.260Z] "unix:///var/run/docker.sock" [2023-04-28T05:59:04.260Z] ], [2023-04-28T05:59:04.260Z] "mtu": 1458, [2023-04-28T05:59:04.260Z] "selinux-enabled": true, [2023-04-28T05:59:04.260Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-28T05:59:04.260Z] } [Pipeline] sh [2023-04-28T05:59:04.613Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-28T05:59:04.949Z] ---> Running in bd8d6398c5c2 [2023-04-28T05:59:04.949Z] Removing intermediate container bd8d6398c5c2 [2023-04-28T05:59:04.949Z] ---> ba21ada2091a [2023-04-28T05:59:04.949Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-28T05:59:04.949Z] ---> Running in 77f6241d3c24 [2023-04-28T05:59:04.971Z] + sudo service docker restart [2023-04-28T05:59:05.208Z] Removing intermediate container 77f6241d3c24 [2023-04-28T05:59:05.208Z] ---> 84ac62a13b16 [2023-04-28T05:59:05.208Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-28T05:59:05.208Z] ---> Running in ad18b4ef45be [2023-04-28T05:59:05.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T05:59:05.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T05:59:05.725Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-28T05:59:05.726Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-28T05:59:05.726Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-28T05:59:05.726Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-28T05:59:05.726Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-28T05:59:05.726Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-28T05:59:05.726Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-28T05:59:05.726Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-28T05:59:05.726Z] Executing busybox-1.35.0-r29.trigger [2023-04-28T05:59:05.726Z] OK: 270 MiB in 61 packages [2023-04-28T05:59:06.292Z] Removing intermediate container ad18b4ef45be [2023-04-28T05:59:06.292Z] ---> 610bc99b154c [2023-04-28T05:59:06.292Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-28T05:59:06.292Z] ---> Running in 00dfb50e5765 [2023-04-28T05:59:06.292Z] Removing intermediate container 00dfb50e5765 [2023-04-28T05:59:06.292Z] ---> fc9dfdbd50f7 [2023-04-28T05:59:06.292Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-28T05:59:06.551Z] ---> 2cd69cc73f8e [2023-04-28T05:59:06.551Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T05:59:06.551Z] ---> Running in d880995d2a6c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T05:59:23.297Z] provisioning config files... [2023-04-28T05:59:23.327Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12610062853079023090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T05:59:23.712Z] ---> docker-login.sh [2023-04-28T05:59:23.712Z] nexus3.edgexfoundry.org:10001 [2023-04-28T05:59:23.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:59:24.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:59:24.251Z] Configure a credential helper to remove this warning. See [2023-04-28T05:59:24.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:59:24.251Z] [2023-04-28T05:59:24.251Z] Login Succeeded [2023-04-28T05:59:24.251Z] nexus3.edgexfoundry.org:10002 [2023-04-28T05:59:24.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:59:24.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:59:24.520Z] Configure a credential helper to remove this warning. See [2023-04-28T05:59:24.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:59:24.520Z] [2023-04-28T05:59:24.520Z] Login Succeeded [2023-04-28T05:59:24.789Z] nexus3.edgexfoundry.org:10003 [2023-04-28T05:59:24.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:59:25.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:59:25.059Z] Configure a credential helper to remove this warning. See [2023-04-28T05:59:25.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:59:25.059Z] [2023-04-28T05:59:25.059Z] Login Succeeded [2023-04-28T05:59:25.059Z] nexus3.edgexfoundry.org:10004 [2023-04-28T05:59:25.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:59:25.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:59:25.329Z] Configure a credential helper to remove this warning. See [2023-04-28T05:59:25.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:59:25.329Z] [2023-04-28T05:59:25.329Z] Login Succeeded [2023-04-28T05:59:25.329Z] docker.io [2023-04-28T05:59:25.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-28T05:59:25.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-28T05:59:25.867Z] Configure a credential helper to remove this warning. See [2023-04-28T05:59:25.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-28T05:59:25.867Z] [2023-04-28T05:59:25.867Z] Login Succeeded [2023-04-28T05:59:25.867Z] ---> docker-login.sh ends [Pipeline] } [2023-04-28T05:59:25.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-28T05:59:26.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T05:59:26.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-28T05:59:26.306Z] ========================================================= [2023-04-28T05:59:26.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-28T05:59:26.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:59:26.817Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-28T05:59:27.087Z] Sending build context to Docker daemon 3.379MB [2023-04-28T05:59:27.087Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T05:59:27.087Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-28T05:59:27.379Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-28T05:59:27.379Z] c41833b44d91: Pulling fs layer [2023-04-28T05:59:27.379Z] ed15518f5707: Pulling fs layer [2023-04-28T05:59:27.379Z] feae8fd75edb: Pulling fs layer [2023-04-28T05:59:27.379Z] 242c74f7c9fa: Pulling fs layer [2023-04-28T05:59:27.379Z] 3cdef696dda3: Pulling fs layer [2023-04-28T05:59:27.379Z] 2ced38df9373: Pulling fs layer [2023-04-28T05:59:27.379Z] 58f1dce35555: Pulling fs layer [2023-04-28T05:59:27.379Z] 3cdef696dda3: Waiting [2023-04-28T05:59:27.379Z] 2ced38df9373: Waiting [2023-04-28T05:59:27.379Z] 58f1dce35555: Waiting [2023-04-28T05:59:27.379Z] 242c74f7c9fa: Waiting [2023-04-28T05:59:27.379Z] ed15518f5707: Verifying Checksum [2023-04-28T05:59:27.379Z] ed15518f5707: Download complete [2023-04-28T05:59:27.379Z] 242c74f7c9fa: Verifying Checksum [2023-04-28T05:59:27.379Z] 242c74f7c9fa: Download complete [2023-04-28T05:59:27.379Z] 3cdef696dda3: Download complete [2023-04-28T05:59:27.379Z] c41833b44d91: Verifying Checksum [2023-04-28T05:59:27.379Z] c41833b44d91: Download complete [2023-04-28T05:59:28.546Z] Removing intermediate container d880995d2a6c [2023-04-28T05:59:28.546Z] ---> 4bcb83144eff [2023-04-28T05:59:28.546Z] Step 9/10 : COPY . . [2023-04-28T05:59:28.808Z] c41833b44d91: Pull complete [2023-04-28T05:59:28.808Z] 58f1dce35555: Verifying Checksum [2023-04-28T05:59:28.808Z] 58f1dce35555: Download complete [2023-04-28T05:59:29.081Z] ed15518f5707: Pull complete [2023-04-28T05:59:29.113Z] ---> fc8cb55decc5 [2023-04-28T05:59:29.113Z] Step 10/10 : RUN ${MAKE} [2023-04-28T05:59:29.113Z] ---> Running in 87c266e1186e [2023-04-28T05:59:29.372Z] noop [2023-04-28T05:59:29.632Z] Removing intermediate container 87c266e1186e [2023-04-28T05:59:29.632Z] ---> d1d24e2571ce [2023-04-28T05:59:29.632Z] Successfully built d1d24e2571ce [2023-04-28T05:59:29.632Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:59:30.051Z] feae8fd75edb: Verifying Checksum [2023-04-28T05:59:30.051Z] feae8fd75edb: Download complete [2023-04-28T05:59:30.051Z] 2ced38df9373: Verifying Checksum [2023-04-28T05:59:30.051Z] 2ced38df9373: Download complete [2023-04-28T05:59:30.078Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-28T05:59:30.078Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:59:30.241Z] prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container [2023-04-28T05:59:30.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@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 [2023-04-28T05:59:30.603Z] $ docker top 812fc37d20ed95f3649a93e495f3750a9f5538a0ad940d42434a8dd60b37ea16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T05:59:31.005Z] + go version [2023-04-28T05:59:31.006Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-28T05:59:31.038Z] $ docker stop --time=1 812fc37d20ed95f3649a93e495f3750a9f5538a0ad940d42434a8dd60b37ea16 [2023-04-28T05:59:32.352Z] $ docker rm -f --volumes 812fc37d20ed95f3649a93e495f3750a9f5538a0ad940d42434a8dd60b37ea16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T05:59:33.113Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-28T05:59:33.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T05:59:33.281Z] prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container [2023-04-28T05:59:33.309Z] $ 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-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@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 [2023-04-28T05:59:33.629Z] $ docker top 7f57b7758371b7c94ce8d6211e0165a8157675bdc4b0b4c61298acd3f05fd6f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T05:59:34.024Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-466 [Pipeline] fileExists [Pipeline] sh [2023-04-28T05:59:34.394Z] + make test [2023-04-28T05:59:34.394Z] go test ./... -coverprofile=coverage.out [2023-04-28T05:59:39.667Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-28T05:59:42.417Z] feae8fd75edb: Pull complete [2023-04-28T05:59:42.417Z] 242c74f7c9fa: Pull complete [2023-04-28T05:59:42.417Z] 3cdef696dda3: Pull complete [2023-04-28T05:59:47.776Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-28T05:59:47.776Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements [2023-04-28T05:59:49.100Z] 2ced38df9373: Pull complete [2023-04-28T05:59:50.510Z] 58f1dce35555: Pull complete [2023-04-28T05:59:50.510Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-28T05:59:50.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-28T05:59:50.510Z] ---> fadd8f120f05 [2023-04-28T05:59:50.510Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-28T05:59:52.454Z] ---> Running in 4642313f4429 [2023-04-28T05:59:52.723Z] Removing intermediate container 4642313f4429 [2023-04-28T05:59:52.723Z] ---> 70abc1cc776d [2023-04-28T05:59:52.723Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-28T05:59:52.723Z] ---> Running in 9f1d5cdc12c5 [2023-04-28T05:59:52.991Z] Removing intermediate container 9f1d5cdc12c5 [2023-04-28T05:59:52.991Z] ---> 5e7dc774e7ed [2023-04-28T05:59:52.991Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-28T05:59:53.258Z] ---> Running in 55c4158f068e [2023-04-28T05:59:54.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T05:59:54.332Z] go vet ./... [2023-04-28T05:59:54.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T05:59:55.770Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-28T05:59:55.770Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-28T05:59:55.770Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-28T05:59:55.770Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-28T05:59:56.039Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-28T05:59:56.039Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-28T05:59:56.039Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-28T05:59:56.039Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-28T05:59:56.039Z] Executing busybox-1.35.0-r29.trigger [2023-04-28T05:59:56.039Z] OK: 270 MiB in 61 packages [2023-04-28T05:59:57.001Z] Removing intermediate container 55c4158f068e [2023-04-28T05:59:57.001Z] ---> be1b8f22c9fc [2023-04-28T05:59:57.001Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-28T05:59:57.001Z] ---> Running in 13d8a7e76797 [2023-04-28T05:59:57.269Z] Removing intermediate container 13d8a7e76797 [2023-04-28T05:59:57.269Z] ---> 092a92b7e3fe [2023-04-28T05:59:57.269Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-28T05:59:57.851Z] ---> 87f18c150b59 [2023-04-28T05:59:57.852Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T05:59:57.852Z] ---> Running in 2816233a667e [2023-04-28T05:59:58.639Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-28T05:59:58.639Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-28T05:59:58.639Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-28T05:59:58.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-28T05:59:58.709Z] $ docker stop --time=1 7f57b7758371b7c94ce8d6211e0165a8157675bdc4b0b4c61298acd3f05fd6f8 [2023-04-28T06:00:01.247Z] $ docker rm -f --volumes 7f57b7758371b7c94ce8d6211e0165a8157675bdc4b0b4c61298acd3f05fd6f8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T06:00:01.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-28T06:00:01.870Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-28T06:00:02.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-28T06:00:02.914Z] + ls -al . [2023-04-28T06:00:02.914Z] total 180 [2023-04-28T06:00:02.914Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 05:59 . [2023-04-28T06:00:02.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 .. [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:58 .dockerignore [2023-04-28T06:00:02.914Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:58 .git [2023-04-28T06:00:02.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:58 .github [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 28 05:58 .gitignore [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 05:58 .golangci.yml [2023-04-28T06:00:02.914Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 05:58 .semver [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 28 05:58 Attribution.txt [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 28 05:58 CHANGELOG.md [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 28 05:58 Dockerfile [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 05:58 GOVERNANCE.md [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 28 05:58 Jenkinsfile [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 05:58 LICENSE [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 28 05:58 Makefile [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 28 05:58 OWNERS.md [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 28 05:58 README.md [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:58 VERSION [2023-04-28T06:00:02.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 bin [2023-04-28T06:00:02.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:58 cmd [2023-04-28T06:00:02.914Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 28 05:59 coverage.out [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 28 05:58 go.mod [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 28 05:58 go.sum [2023-04-28T06:00:02.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:58 internal [2023-04-28T06:00:02.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 simulator [2023-04-28T06:00:02.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 snap [2023-04-28T06:00:02.914Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 28 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:00:03.321Z] + 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=90cad0090b363539242e7252c7c4457a85f761f3 --label arch=amd64 --label version=0.0.0 . [2023-04-28T06:00:03.321Z] Sending build context to Docker daemon 6.491MB [2023-04-28T06:00:03.321Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T06:00:03.321Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-28T06:00:03.321Z] ---> d1d24e2571ce [2023-04-28T06:00:03.321Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-28T06:00:03.321Z] ---> Running in a9c7eaa674b9 [2023-04-28T06:00:03.579Z] Removing intermediate container a9c7eaa674b9 [2023-04-28T06:00:03.579Z] ---> 876030b35392 [2023-04-28T06:00:03.579Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-28T06:00:03.579Z] ---> Running in ed36a2c63b90 [2023-04-28T06:00:03.580Z] Removing intermediate container ed36a2c63b90 [2023-04-28T06:00:03.580Z] ---> 750438542459 [2023-04-28T06:00:03.580Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-28T06:00:03.580Z] ---> Running in 1e6c7595afee [2023-04-28T06:00:03.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T06:00:03.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T06:00:04.099Z] OK: 270 MiB in 61 packages [2023-04-28T06:00:04.360Z] Removing intermediate container 1e6c7595afee [2023-04-28T06:00:04.360Z] ---> 0ba774e810f6 [2023-04-28T06:00:04.360Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-28T06:00:04.627Z] ---> Running in b7e6ed07a061 [2023-04-28T06:00:04.627Z] Removing intermediate container b7e6ed07a061 [2023-04-28T06:00:04.627Z] ---> 1e0914150203 [2023-04-28T06:00:04.627Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-28T06:00:04.627Z] ---> e4d28070c3b5 [2023-04-28T06:00:04.627Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T06:00:04.627Z] ---> Running in d69ac733ff24 [2023-04-28T06:00:05.564Z] Removing intermediate container d69ac733ff24 [2023-04-28T06:00:05.564Z] ---> 1e1e98f2a227 [2023-04-28T06:00:05.564Z] Step 9/22 : COPY . . [2023-04-28T06:00:06.135Z] ---> 78f9ad00ba97 [2023-04-28T06:00:06.135Z] Step 10/22 : RUN ${MAKE} [2023-04-28T06:00:06.135Z] ---> Running in c4d2ea4963b6 [2023-04-28T06:00:06.397Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-28T06:00:24.486Z] Removing intermediate container c4d2ea4963b6 [2023-04-28T06:00:24.486Z] ---> c6fa9fe9b116 [2023-04-28T06:00:24.486Z] Step 11/22 : FROM alpine:3.17 [2023-04-28T06:00:24.486Z] 3.17: Pulling from library/alpine [2023-04-28T06:00:24.486Z] f56be85fc22e: Already exists [2023-04-28T06:00:24.746Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-28T06:00:24.746Z] Status: Downloaded newer image for alpine:3.17 [2023-04-28T06:00:24.746Z] ---> 9ed4aefc74f6 [2023-04-28T06:00:24.746Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-28T06:00:24.746Z] ---> Running in c9049905128b [2023-04-28T06:00:24.746Z] Removing intermediate container c9049905128b [2023-04-28T06:00:24.746Z] ---> 0ebc55b20b39 [2023-04-28T06:00:24.746Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-28T06:00:24.746Z] ---> Running in f08214372ee6 [2023-04-28T06:00:25.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-28T06:00:25.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-28T06:00:25.523Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-28T06:00:25.523Z] Executing busybox-1.35.0-r29.trigger [2023-04-28T06:00:25.523Z] OK: 7 MiB in 16 packages [2023-04-28T06:00:25.783Z] Removing intermediate container f08214372ee6 [2023-04-28T06:00:25.783Z] ---> 882d334b57bc [2023-04-28T06:00:25.783Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-28T06:00:26.353Z] ---> d03fda656f69 [2023-04-28T06:00:26.353Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-28T06:00:26.353Z] ---> 57761c2d7398 [2023-04-28T06:00:26.353Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-28T06:00:26.613Z] ---> 64f1f34796ed [2023-04-28T06:00:26.613Z] Step 17/22 : EXPOSE 59901 [2023-04-28T06:00:26.613Z] ---> Running in 80794329a691 [2023-04-28T06:00:26.613Z] Removing intermediate container 80794329a691 [2023-04-28T06:00:26.613Z] ---> 38ec887676f9 [2023-04-28T06:00:26.613Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-28T06:00:26.613Z] ---> Running in 33d40e878030 [2023-04-28T06:00:26.613Z] Removing intermediate container 33d40e878030 [2023-04-28T06:00:26.613Z] ---> 98bb3567f373 [2023-04-28T06:00:26.613Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-28T06:00:26.874Z] ---> Running in 0ed2b24fbf57 [2023-04-28T06:00:26.874Z] Removing intermediate container 0ed2b24fbf57 [2023-04-28T06:00:26.874Z] ---> 167c38be7051 [2023-04-28T06:00:26.874Z] Step 20/22 : LABEL arch=amd64 [2023-04-28T06:00:26.874Z] ---> Running in a0f8959bc299 [2023-04-28T06:00:26.874Z] Removing intermediate container a0f8959bc299 [2023-04-28T06:00:26.874Z] ---> 47f8c3425c5e [2023-04-28T06:00:26.874Z] Step 21/22 : LABEL git_sha=90cad0090b363539242e7252c7c4457a85f761f3 [2023-04-28T06:00:26.874Z] ---> Running in 692cbe25958e [2023-04-28T06:00:26.874Z] Removing intermediate container 692cbe25958e [2023-04-28T06:00:26.874Z] ---> 956e795805eb [2023-04-28T06:00:26.874Z] Step 22/22 : LABEL version=0.0.0 [2023-04-28T06:00:27.134Z] ---> Running in 3c9e18fe14ef [2023-04-28T06:00:27.134Z] Removing intermediate container 3c9e18fe14ef [2023-04-28T06:00:27.134Z] ---> 29ec3585355c [2023-04-28T06:00:27.134Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-28T06:00:27.134Z] Successfully built 29ec3585355c [2023-04-28T06:00:27.134Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:00:28.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T06:00:28.058Z] [2023-04-28T06:00:28.058Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:00:28.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T06:00:28.458Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-28T06:00:28.458Z] 5eb5b503b376: Pulling fs layer [2023-04-28T06:00:28.458Z] 5c69ac0246d0: Pulling fs layer [2023-04-28T06:00:28.458Z] ec43610c2a17: Pulling fs layer [2023-04-28T06:00:28.458Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-28T06:00:28.458Z] 33b1e0a273af: Pulling fs layer [2023-04-28T06:00:28.458Z] 5d3b04190fa2: Pulling fs layer [2023-04-28T06:00:28.458Z] 2f39f015ded8: Pulling fs layer [2023-04-28T06:00:28.458Z] 33b1e0a273af: Waiting [2023-04-28T06:00:28.458Z] 5d3b04190fa2: Waiting [2023-04-28T06:00:28.458Z] 3a2ae6a8a46f: Waiting [2023-04-28T06:00:28.458Z] 2f39f015ded8: Waiting [2023-04-28T06:00:28.458Z] 5c69ac0246d0: Download complete [2023-04-28T06:00:28.458Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-28T06:00:28.458Z] 3a2ae6a8a46f: Download complete [2023-04-28T06:00:28.458Z] 33b1e0a273af: Verifying Checksum [2023-04-28T06:00:28.458Z] 33b1e0a273af: Download complete [2023-04-28T06:00:28.458Z] 5d3b04190fa2: Verifying Checksum [2023-04-28T06:00:28.458Z] 5d3b04190fa2: Download complete [2023-04-28T06:00:28.458Z] ec43610c2a17: Verifying Checksum [2023-04-28T06:00:28.458Z] ec43610c2a17: Download complete [2023-04-28T06:00:28.716Z] 5eb5b503b376: Verifying Checksum [2023-04-28T06:00:28.716Z] 5eb5b503b376: Download complete [2023-04-28T06:00:29.281Z] 2f39f015ded8: Download complete [2023-04-28T06:00:29.850Z] 5eb5b503b376: Pull complete [2023-04-28T06:00:29.850Z] 5c69ac0246d0: Pull complete [2023-04-28T06:00:30.417Z] ec43610c2a17: Pull complete [2023-04-28T06:00:30.417Z] 3a2ae6a8a46f: Pull complete [2023-04-28T06:00:30.417Z] 33b1e0a273af: Pull complete [2023-04-28T06:00:30.676Z] 5d3b04190fa2: Pull complete [2023-04-28T06:00:34.861Z] 2f39f015ded8: Pull complete [2023-04-28T06:00:34.861Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-28T06:00:34.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T06:00:34.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T06:00:35.079Z] prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container [2023-04-28T06:00:35.110Z] $ 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-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@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 [2023-04-28T06:00:37.514Z] $ docker top 923ccfa4505af0aa8482c3eed2a5348db1859eefb1e57b54a6d9eba614957bbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:00:37.979Z] ---> job-cost.sh [2023-04-28T06:00:37.979Z] lf-activate-venv: SKIPPING [2023-04-28T06:00:37.979Z] INFO: No Stack... [2023-04-28T06:00:38.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-28T06:00:38.806Z] INFO: Archiving Costs [Pipeline] sh [2023-04-28T06:00:39.122Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-466/archives/cost.csv [2023-04-28T06:00:39.122Z] + cut -d, -f6 [Pipeline] lock [2023-04-28T06:00:39.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [2023-04-28T06:00:39.170Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] did not exist. Created. [2023-04-28T06:00:39.170Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-28T06:00:39.563Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-28T06:00:39.620Z] Stashed 1 file(s) [Pipeline] } [2023-04-28T06:00:39.649Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-28T06:00:39.722Z] $ docker stop --time=1 923ccfa4505af0aa8482c3eed2a5348db1859eefb1e57b54a6d9eba614957bbd [2023-04-28T06:00:40.872Z] $ docker rm -f --volumes 923ccfa4505af0aa8482c3eed2a5348db1859eefb1e57b54a6d9eba614957bbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-28T06:01:05.723Z] Removing intermediate container 2816233a667e [2023-04-28T06:01:05.723Z] ---> e7408464d3c1 [2023-04-28T06:01:05.723Z] Step 9/10 : COPY . . [2023-04-28T06:01:05.723Z] ---> 7322b33118bb [2023-04-28T06:01:05.723Z] Step 10/10 : RUN ${MAKE} [2023-04-28T06:01:05.723Z] ---> Running in 7cfedb24b4a6 [2023-04-28T06:01:05.723Z] noop [2023-04-28T06:01:05.723Z] Removing intermediate container 7cfedb24b4a6 [2023-04-28T06:01:05.723Z] ---> 0babf9b23d84 [2023-04-28T06:01:05.723Z] Successfully built 0babf9b23d84 [2023-04-28T06:01:05.723Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:01:06.216Z] + docker inspect -f . ci-base-image-arm64 [2023-04-28T06:01:06.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T06:01:06.530Z] prd-ubuntu20.04-docker-arm64-4c-16g-11997 does not seem to be running inside a container [2023-04-28T06:01:06.579Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-28T06:01:07.795Z] $ docker top b4e3b7e355000bcf89f0a5966fa5a6035dd34f1874dcae16b3ae2cfc4757e85d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T06:01:08.694Z] + go version [2023-04-28T06:01:08.694Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-28T06:01:08.709Z] $ docker stop --time=1 b4e3b7e355000bcf89f0a5966fa5a6035dd34f1874dcae16b3ae2cfc4757e85d [2023-04-28T06:01:10.317Z] $ docker rm -f --volumes b4e3b7e355000bcf89f0a5966fa5a6035dd34f1874dcae16b3ae2cfc4757e85d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:01:11.185Z] + docker inspect -f . ci-base-image-arm64 [2023-04-28T06:01:11.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T06:01:11.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-11997 does not seem to be running inside a container [2023-04-28T06:01:11.498Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-28T06:01:12.697Z] $ docker top 8d73d560ab38746c015c7842c9ef40833301560b4027a3b12d747ee7aa40d869 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T06:01:13.608Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-28T06:01:14.311Z] + make test [2023-04-28T06:01:14.311Z] go test ./... -coverprofile=coverage.out [2023-04-28T06:01:46.775Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-28T06:03:38.507Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-28T06:03:38.507Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.4% of statements [2023-04-28T06:03:38.507Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-28T06:03:38.507Z] go vet ./... [2023-04-28T06:03:57.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-28T06:03:57.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-28T06:03:57.902Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-28T06:03:57.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-28T06:03:57.964Z] $ docker stop --time=1 8d73d560ab38746c015c7842c9ef40833301560b4027a3b12d747ee7aa40d869 [2023-04-28T06:03:59.735Z] $ docker rm -f --volumes 8d73d560ab38746c015c7842c9ef40833301560b4027a3b12d747ee7aa40d869 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-28T06:04:00.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-28T06:04:00.944Z] Warning: overwriting stash ‘coverage-report’ [2023-04-28T06:04:01.355Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-28T06:04:01.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-28T06:04:02.298Z] + ls -al . [2023-04-28T06:04:02.299Z] total 176 [2023-04-28T06:04:02.299Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 06:01 . [2023-04-28T06:04:02.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 .. [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:59 .dockerignore [2023-04-28T06:04:02.299Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:59 .git [2023-04-28T06:04:02.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:59 .github [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 28 05:59 .gitignore [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 05:59 .golangci.yml [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 28 05:59 Attribution.txt [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 28 05:59 CHANGELOG.md [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 28 05:59 Dockerfile [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 05:59 GOVERNANCE.md [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 28 05:59 Jenkinsfile [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 05:59 LICENSE [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 28 05:59 Makefile [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 28 05:59 OWNERS.md [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 28 05:59 README.md [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:58 VERSION [2023-04-28T06:04:02.299Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:59 bin [2023-04-28T06:04:02.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:59 cmd [2023-04-28T06:04:02.299Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 28 06:03 coverage.out [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 28 05:59 go.mod [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 28 05:59 go.sum [2023-04-28T06:04:02.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 05:59 internal [2023-04-28T06:04:02.299Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:59 simulator [2023-04-28T06:04:02.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:59 snap [2023-04-28T06:04:02.299Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 28 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:04:02.713Z] + 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=90cad0090b363539242e7252c7c4457a85f761f3 --label arch=arm64 --label version=0.0.0 . [2023-04-28T06:04:02.979Z] Sending build context to Docker daemon 3.404MB [2023-04-28T06:04:02.979Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-28T06:04:02.979Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-28T06:04:02.979Z] ---> 0babf9b23d84 [2023-04-28T06:04:02.979Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-28T06:04:03.244Z] ---> Running in 01064ebe7094 [2023-04-28T06:04:03.509Z] Removing intermediate container 01064ebe7094 [2023-04-28T06:04:03.509Z] ---> 148ff5ed2bbf [2023-04-28T06:04:03.509Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-28T06:04:03.509Z] ---> Running in 7fdd68a99a49 [2023-04-28T06:04:03.779Z] Removing intermediate container 7fdd68a99a49 [2023-04-28T06:04:03.779Z] ---> 65fa11167e1e [2023-04-28T06:04:03.779Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-28T06:04:03.779Z] ---> Running in a884e02965bd [2023-04-28T06:04:04.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T06:04:05.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T06:04:06.283Z] OK: 270 MiB in 61 packages [2023-04-28T06:04:07.241Z] Removing intermediate container a884e02965bd [2023-04-28T06:04:07.241Z] ---> 15fc3430027b [2023-04-28T06:04:07.241Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-28T06:04:07.241Z] ---> Running in e1d227e4bdd3 [2023-04-28T06:04:07.506Z] Removing intermediate container e1d227e4bdd3 [2023-04-28T06:04:07.506Z] ---> b7e01199ae72 [2023-04-28T06:04:07.506Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-28T06:04:08.091Z] ---> 708675057640 [2023-04-28T06:04:08.091Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-28T06:04:08.091Z] ---> Running in 70dd954f91bb [2023-04-28T06:04:10.671Z] Removing intermediate container 70dd954f91bb [2023-04-28T06:04:10.671Z] ---> c25a7196cebe [2023-04-28T06:04:10.671Z] Step 9/22 : COPY . . [2023-04-28T06:04:12.085Z] ---> 6912301d09bb [2023-04-28T06:04:12.085Z] Step 10/22 : RUN ${MAKE} [2023-04-28T06:04:12.085Z] ---> Running in 65cabee79900 [2023-04-28T06:04:13.047Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-28T06:06:20.725Z] Removing intermediate container 65cabee79900 [2023-04-28T06:06:20.725Z] ---> 9b47fdf0c71f [2023-04-28T06:06:20.725Z] Step 11/22 : FROM alpine:3.17 [2023-04-28T06:06:20.725Z] 3.17: Pulling from library/alpine [2023-04-28T06:06:20.725Z] c41833b44d91: Already exists [2023-04-28T06:06:20.725Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-28T06:06:20.725Z] Status: Downloaded newer image for alpine:3.17 [2023-04-28T06:06:20.725Z] ---> 51e60588ff2c [2023-04-28T06:06:20.725Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-28T06:06:20.725Z] ---> Running in 2a34b2476b20 [2023-04-28T06:06:20.725Z] Removing intermediate container 2a34b2476b20 [2023-04-28T06:06:20.725Z] ---> b96d0e12d4b5 [2023-04-28T06:06:20.725Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-28T06:06:20.725Z] ---> Running in abbf6eb73e91 [2023-04-28T06:06:20.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-28T06:06:20.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-28T06:06:20.725Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-28T06:06:20.725Z] Executing busybox-1.35.0-r29.trigger [2023-04-28T06:06:20.725Z] OK: 8 MiB in 16 packages [2023-04-28T06:06:20.725Z] Removing intermediate container abbf6eb73e91 [2023-04-28T06:06:20.725Z] ---> 9fc6aefa98ce [2023-04-28T06:06:20.725Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-28T06:06:20.725Z] ---> b0280ff87f62 [2023-04-28T06:06:20.725Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-28T06:06:21.311Z] ---> bbd3fa8113ed [2023-04-28T06:06:21.311Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-28T06:06:21.581Z] ---> c35d9c7423b4 [2023-04-28T06:06:21.581Z] Step 17/22 : EXPOSE 59901 [2023-04-28T06:06:21.848Z] ---> Running in ba6ff59811d2 [2023-04-28T06:06:22.114Z] Removing intermediate container ba6ff59811d2 [2023-04-28T06:06:22.114Z] ---> 05ec4fcc679b [2023-04-28T06:06:22.114Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-28T06:06:22.114Z] ---> Running in cd91cae9c28c [2023-04-28T06:06:22.391Z] Removing intermediate container cd91cae9c28c [2023-04-28T06:06:22.391Z] ---> 055f8794afd9 [2023-04-28T06:06:22.391Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-28T06:06:22.391Z] ---> Running in 0c81c2211d8d [2023-04-28T06:06:22.663Z] Removing intermediate container 0c81c2211d8d [2023-04-28T06:06:22.663Z] ---> dd6603bafa90 [2023-04-28T06:06:22.663Z] Step 20/22 : LABEL arch=arm64 [2023-04-28T06:06:22.930Z] ---> Running in 3a48c267a350 [2023-04-28T06:06:23.202Z] Removing intermediate container 3a48c267a350 [2023-04-28T06:06:23.202Z] ---> 560bedeac020 [2023-04-28T06:06:23.202Z] Step 21/22 : LABEL git_sha=90cad0090b363539242e7252c7c4457a85f761f3 [2023-04-28T06:06:23.202Z] ---> Running in b7149819377b [2023-04-28T06:06:23.471Z] Removing intermediate container b7149819377b [2023-04-28T06:06:23.471Z] ---> 3516d968efa1 [2023-04-28T06:06:23.471Z] Step 22/22 : LABEL version=0.0.0 [2023-04-28T06:06:23.471Z] ---> Running in 2e97003ef106 [2023-04-28T06:06:23.740Z] Removing intermediate container 2e97003ef106 [2023-04-28T06:06:23.740Z] ---> e9599b2d4605 [2023-04-28T06:06:23.740Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-28T06:06:23.740Z] Successfully built e9599b2d4605 [2023-04-28T06:06:24.006Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:06:24.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T06:06:24.818Z] [2023-04-28T06:06:24.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:06:25.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T06:06:26.638Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-28T06:06:26.638Z] 8998bd30e6a1: Pulling fs layer [2023-04-28T06:06:26.638Z] 04944245beec: Pulling fs layer [2023-04-28T06:06:26.638Z] 699f458cf7ca: Pulling fs layer [2023-04-28T06:06:26.638Z] 765212b225bb: Pulling fs layer [2023-04-28T06:06:26.638Z] f23df028b6ca: Pulling fs layer [2023-04-28T06:06:26.638Z] d65c8cfc05b1: Pulling fs layer [2023-04-28T06:06:26.638Z] 2437ff75d9bd: Pulling fs layer [2023-04-28T06:06:26.638Z] f23df028b6ca: Waiting [2023-04-28T06:06:26.638Z] d65c8cfc05b1: Waiting [2023-04-28T06:06:26.638Z] 765212b225bb: Waiting [2023-04-28T06:06:26.638Z] 2437ff75d9bd: Waiting [2023-04-28T06:06:26.638Z] 04944245beec: Verifying Checksum [2023-04-28T06:06:26.638Z] 04944245beec: Download complete [2023-04-28T06:06:26.638Z] 765212b225bb: Verifying Checksum [2023-04-28T06:06:26.638Z] 765212b225bb: Download complete [2023-04-28T06:06:26.638Z] f23df028b6ca: Verifying Checksum [2023-04-28T06:06:26.638Z] f23df028b6ca: Download complete [2023-04-28T06:06:26.638Z] d65c8cfc05b1: Verifying Checksum [2023-04-28T06:06:26.638Z] d65c8cfc05b1: Download complete [2023-04-28T06:06:26.638Z] 699f458cf7ca: Verifying Checksum [2023-04-28T06:06:26.638Z] 699f458cf7ca: Download complete [2023-04-28T06:06:27.224Z] 8998bd30e6a1: Verifying Checksum [2023-04-28T06:06:27.224Z] 8998bd30e6a1: Download complete [2023-04-28T06:06:29.820Z] 2437ff75d9bd: Verifying Checksum [2023-04-28T06:06:29.821Z] 2437ff75d9bd: Download complete [2023-04-28T06:06:31.230Z] 8998bd30e6a1: Pull complete [2023-04-28T06:06:31.498Z] 04944245beec: Pull complete [2023-04-28T06:06:32.905Z] 699f458cf7ca: Pull complete [2023-04-28T06:06:32.905Z] 765212b225bb: Pull complete [2023-04-28T06:06:33.892Z] f23df028b6ca: Pull complete [2023-04-28T06:06:33.892Z] d65c8cfc05b1: Pull complete [2023-04-28T06:06:48.871Z] 2437ff75d9bd: Pull complete [2023-04-28T06:06:48.871Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-28T06:06:48.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-28T06:06:48.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T06:06:49.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-11997 does not seem to be running inside a container [2023-04-28T06:06:49.220Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-28T06:06:51.680Z] $ docker top ecc07686e6845d391451c75417c8b53c1fc06579348a72047e6e9989f37d51a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:06:53.147Z] ---> job-cost.sh [2023-04-28T06:06:53.147Z] lf-activate-venv: SKIPPING [2023-04-28T06:06:53.147Z] INFO: No Stack... [2023-04-28T06:06:53.416Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-28T06:06:54.375Z] INFO: Archiving Costs [Pipeline] sh [2023-04-28T06:06:54.716Z] + + cut -d, -f6 [2023-04-28T06:06:54.716Z] cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-04-28T06:06:54.769Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [2023-04-28T06:06:54.774Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] did not exist. Created. [2023-04-28T06:06:54.774Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-28T06:06:55.182Z] /w/workspace/device-modbus-go/1@tmp/durable-417c6a2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-28T06:06:55.850Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-28T06:06:55.888Z] Warning: overwriting stash ‘stack-cost’ [2023-04-28T06:06:55.931Z] Stashed 1 file(s) [Pipeline] } [2023-04-28T06:06:55.945Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-466-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-28T06:06:56.004Z] $ docker stop --time=1 ecc07686e6845d391451c75417c8b53c1fc06579348a72047e6e9989f37d51a9 [2023-04-28T06:06:57.504Z] $ docker rm -f --volumes ecc07686e6845d391451c75417c8b53c1fc06579348a72047e6e9989f37d51a9 [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 [2023-04-28T06:06:58.534Z] provisioning config files... [2023-04-28T06:06:58.544Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config12842404355193958044tmp [Pipeline] { [Pipeline] sh [2023-04-28T06:06:58.880Z] + set +x [2023-04-28T06:06:58.881Z] + curl -s https://codecov.io/bash [2023-04-28T06:06:58.881Z] + bash -s -- [2023-04-28T06:06:58.881Z] [2023-04-28T06:06:58.881Z] _____ _ [2023-04-28T06:06:58.881Z] / ____| | | [2023-04-28T06:06:58.881Z] | | ___ __| | ___ ___ _____ __ [2023-04-28T06:06:58.881Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-28T06:06:58.881Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-28T06:06:58.881Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-28T06:06:58.881Z] Bash-1.0.6 [2023-04-28T06:06:58.881Z] [2023-04-28T06:06:58.881Z] [2023-04-28T06:06:58.881Z] ==> git version 2.25.1 found [2023-04-28T06:06:58.881Z] ==> 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 [2023-04-28T06:06:58.881Z] Release-Date: 2020-01-08 [2023-04-28T06:06:58.881Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-28T06:06:58.881Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-28T06:06:58.881Z] ==> Jenkins CI detected. [2023-04-28T06:06:58.881Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-466 [2023-04-28T06:06:58.881Z] project root: . [2023-04-28T06:06:58.881Z] --> token set from env [2023-04-28T06:06:58.881Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-28T06:06:58.881Z] ==> Running gcov in . (disable via -X gcov) [2023-04-28T06:06:58.881Z] ==> Python coveragepy not found [2023-04-28T06:06:58.881Z] ==> Searching for coverage reports in: [2023-04-28T06:06:58.881Z] + . [2023-04-28T06:06:58.881Z] -> Found 1 reports [2023-04-28T06:06:58.881Z] ==> Detecting git/mercurial file structure [2023-04-28T06:06:58.881Z] ==> Reading reports [2023-04-28T06:06:59.140Z] + ./coverage.out bytes=24160 [2023-04-28T06:06:59.140Z] ==> Appending adjustments [2023-04-28T06:06:59.140Z] https://docs.codecov.io/docs/fixing-reports [2023-04-28T06:06:59.140Z] + Found adjustments [2023-04-28T06:06:59.140Z] ==> Gzipping contents [2023-04-28T06:06:59.140Z] 4.0K /tmp/codecov.YNTM5n.gz [2023-04-28T06:06:59.140Z] ==> Uploading reports [2023-04-28T06:06:59.140Z] url: https://codecov.io [2023-04-28T06:06:59.140Z] query: branch=PR-466&commit=90cad0090b363539242e7252c7c4457a85f761f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-466%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=466&job=&cmd_args= [2023-04-28T06:06:59.140Z] -> Pinging Codecov [2023-04-28T06:06:59.140Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-466&commit=90cad0090b363539242e7252c7c4457a85f761f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-466%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=466&job=&cmd_args= [2023-04-28T06:06:59.399Z] -> Uploading to [2023-04-28T06:06:59.399Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-28/55DBCA73C666E3227836607328DD7E49/90cad0090b363539242e7252c7c4457a85f761f3/263005f5-cfe5-4dec-a778-0e980600770d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230428T060659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=270710f76c4ba94324aa03d87a18763b05aa68a5c0b091b2893957ed648b1a21 [2023-04-28T06:06:59.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-28T06:06:59.399Z] Dload Upload Total Spent Left Speed [2023-04-28T06:06:59.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16081 --:--:-- --:--:-- --:--:-- 16081 [2023-04-28T06:06:59.658Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/90cad0090b363539242e7252c7c4457a85f761f3 [Pipeline] } [2023-04-28T06:06:59.687Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-28T06:07:01.481Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-466/archives ] [2023-04-28T06:07:01.482Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-466/archives [2023-04-28T06:07:01.482Z] total 16 [2023-04-28T06:07:01.482Z] drwxr-xr-x 3 root root 4096 Apr 28 06:00 . [2023-04-28T06:07:01.482Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 06:00 .. [2023-04-28T06:07:01.482Z] drwxr-xr-x 2 root root 4096 Apr 28 06:00 cost [2023-04-28T06:07:01.482Z] -rw-r--r-- 1 root root 88 Apr 28 06:00 cost.csv [2023-04-28T06:07:01.482Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-466/archives [2023-04-28T06:07:01.482Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-466/archives [2023-04-28T06:07:01.482Z] total 16 [2023-04-28T06:07:01.482Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 06:00 . [2023-04-28T06:07:01.482Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 06:00 .. [2023-04-28T06:07:01.482Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 06:00 cost [2023-04-28T06:07:01.482Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 28 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:01.814Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:02.712Z] ---> package-listing.sh [2023-04-28T06:07:02.713Z] ++ facter osfamily [2023-04-28T06:07:02.713Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-28T06:07:02.973Z] + OS_FAMILY=debian [2023-04-28T06:07:02.973Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-466 [2023-04-28T06:07:02.973Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-28T06:07:02.973Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-28T06:07:02.973Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-28T06:07:02.973Z] + PACKAGES=/tmp/packages_start.txt [2023-04-28T06:07:02.973Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-466 ']' [2023-04-28T06:07:02.973Z] + PACKAGES=/tmp/packages_end.txt [2023-04-28T06:07:02.973Z] + case "${OS_FAMILY}" in [2023-04-28T06:07:02.973Z] + dpkg -l [2023-04-28T06:07:02.973Z] + grep '^ii' [2023-04-28T06:07:02.973Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-28T06:07:02.973Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-28T06:07:02.973Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-28T06:07:02.973Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-466 ']' [2023-04-28T06:07:02.973Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-466/archives/ [2023-04-28T06:07:02.973Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-466/archives/ [Pipeline] echo [2023-04-28T06:07:03.014Z] 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-466/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-28T06:07:03.306Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-28T06:07:03.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-28T06:07:03.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-28T06:07:04.092Z] prd-ubuntu20.04-docker-8c-8g-11999 does not seem to be running inside a container [2023-04-28T06:07:04.120Z] $ 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-466/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-466 -v /w/workspace/xfoundry_device-modbus-go_PR-466:/w/workspace/xfoundry_device-modbus-go_PR-466:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-466@tmp:/w/workspace/xfoundry_device-modbus-go_PR-466@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 [2023-04-28T06:07:04.520Z] $ docker top f529e45a00fd4affa4be0525b541d182fac9a9a804bee26c9822b45734cb0362 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-28T06:07:04.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-28T06:07:05.227Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-28T06:07:05.538Z] + ls /var/log/sa-host [2023-04-28T06:07:05.538Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-28T06:07:05.761Z] provisioning config files... [2023-04-28T06:07:05.771Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-466@tmp/config17957512145409910432tmp [Pipeline] { [Pipeline] echo [2023-04-28T06:07:05.820Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:06.134Z] ---> create-netrc.sh [Pipeline] } [2023-04-28T06:07:06.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:06.560Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-28T06:07:06.596Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:06.909Z] ---> sudo-logs.sh [2023-04-28T06:07:06.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-28T06:07:07.103Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:07.411Z] ---> job-cost.sh [2023-04-28T06:07:07.411Z] lf-activate-venv: SKIPPING [2023-04-28T06:07:07.412Z] DEBUG: total: 0.2199999988079071 [2023-04-28T06:07:07.412Z] INFO: Retrieving Stack Cost... [2023-04-28T06:07:07.979Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-28T06:07:08.239Z] INFO: Archiving Costs [Pipeline] echo [2023-04-28T06:07:08.276Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-28T06:07:08.585Z] ---> logs-deploy.sh [2023-04-28T06:07:08.585Z] lf-activate-venv: SKIPPING [2023-04-28T06:07:08.585Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-466/1 [2023-04-28T06:07:08.585Z] INFO: archiving workspace using pattern(s): [2023-04-28T06:07:09.521Z] Archives upload complete. [2023-04-28T06:07:09.521Z] INFO: archiving logs to Nexus