Pull request #462 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac+1a68168e1b466f81fb38e733dbe2211c06120b2a (1f46018596fb7d0b9ec72309c3edd7dbb83b270f) 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-ssh2381559780936849613.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-ssh9740114302658881991.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-462/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-462/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh661441952673537005.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-462/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7689939127575924550.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-ssh10778867527742249399.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-462/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-462/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7328458403166838622.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-9489 in /w/workspace/xfoundry_device-modbus-go_PR-462 [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-462 # 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/462/head:refs/remotes/origin/PR-462 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a68168e1b466f81fb38e733dbe2211c06120b2a into PR head commit eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac Merge succeeded, producing eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac Checking out Revision eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac (PR-462) 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-24T05:59:59.643Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac # 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 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac # timeout=10 [Pipeline] withCredentials [2023-04-24T05:59:59.856Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T05:59:59.991Z] ========================================================= [2023-04-24T05:59:59.991Z] EdgeX Global Pipelines Version Info [2023-04-24T05:59:59.991Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:00:00.752Z] ------------------- [2023-04-24T06:00:00.753Z] stable info: [2023-04-24T06:00:00.753Z] ------------------- [2023-04-24T06:00:00.753Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T06:00:00.753Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:00:00.753Z] Message: update stable to v1.0.248 [2023-04-24T06:00:01.330Z] ------------------- [2023-04-24T06:00:01.330Z] experimental info: [2023-04-24T06:00:01.330Z] ------------------- [2023-04-24T06:00:01.330Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T06:00:01.330Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:00:01.330Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T06:00:01.682Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-24T06:00:01.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-24T06:00:01.773Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T06:00:01.827Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T06:00:01.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T06:00:01.952Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T06:00:02.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T06:00:02.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T06:00:02.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T06:00:02.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T06:00:02.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T06:00:02.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-24T06:00:02.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T06:00:02.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T06:00:02.426Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:00:02.469Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:00:02.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:00:02.562Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:00:02.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T06:00:02.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T06:00:02.696Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T06:00:02.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T06:00:02.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T06:00:02.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T06:00:02.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T06:00:02.909Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T06:00:02.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T06:00:02.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-462 [Pipeline] echo [2023-04-24T06:00:03.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-462 [Pipeline] echo [2023-04-24T06:00:03.071Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-462 [Pipeline] echo [2023-04-24T06:00:03.117Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [Pipeline] echo [2023-04-24T06:00:03.158Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eca0f97 [Pipeline] echo [2023-04-24T06:00:03.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:00:03.333Z] provisioning config files... [2023-04-24T06:00:03.367Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp/config5780650072361886004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:00:03.724Z] ---> docker-login.sh [2023-04-24T06:00:03.724Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:00:03.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:03.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:03.987Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:03.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:03.987Z] [2023-04-24T06:00:03.987Z] Login Succeeded [2023-04-24T06:00:03.987Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:00:03.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:03.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:03.987Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:03.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:03.987Z] [2023-04-24T06:00:03.987Z] Login Succeeded [2023-04-24T06:00:03.987Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:00:04.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:04.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:04.255Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:04.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:04.255Z] [2023-04-24T06:00:04.255Z] Login Succeeded [2023-04-24T06:00:04.255Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:00:04.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:04.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:04.255Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:04.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:04.255Z] [2023-04-24T06:00:04.255Z] Login Succeeded [2023-04-24T06:00:04.255Z] docker.io [2023-04-24T06:00:04.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:10.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:10.338Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:10.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:10.338Z] [2023-04-24T06:00:10.338Z] Login Succeeded [2023-04-24T06:00:10.338Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:00:10.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T06:00:12.348Z] + git rev-list -1 --merges eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac~1..eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [Pipeline] echo [2023-04-24T06:00:12.413Z] -----------> git rev-list -1 --merges eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac~1..eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [false] [Pipeline] sh [2023-04-24T06:00:13.077Z] + git log --format=format:%s -1 eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [Pipeline] echo [2023-04-24T06:00:13.111Z] ========================================================= [2023-04-24T06:00:13.111Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T06:00:13.111Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:00:13.559Z] + git log --format=format:%s -1 eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [Pipeline] echo [2023-04-24T06:00:13.592Z] [semverPrep] GIT_COMMIT: eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-24T06:00:13.626Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T06:00:14.015Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:00:14.015Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T06:00:14.015Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T06:00:14.015Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T06:00:14.015Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T06:00:14.015Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T06:00:14.015Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:00:16.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:00:16.334Z] [2023-04-24T06:00:16.334Z] 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-24T06:00:16.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:00:16.715Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T06:00:16.715Z] b85a868b505f: Pulling fs layer [2023-04-24T06:00:16.715Z] e2be974225ed: Pulling fs layer [2023-04-24T06:00:16.715Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T06:00:16.715Z] 988bab9f4d93: Pulling fs layer [2023-04-24T06:00:16.715Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T06:00:16.715Z] eaf3925da568: Pulling fs layer [2023-04-24T06:00:16.715Z] bab4dde63d76: Pulling fs layer [2023-04-24T06:00:16.715Z] bde34c3a00c8: Pulling fs layer [2023-04-24T06:00:16.715Z] b352a97aabf1: Pulling fs layer [2023-04-24T06:00:16.715Z] 4872d77fe225: Pulling fs layer [2023-04-24T06:00:16.715Z] 5851b861e8e6: Pulling fs layer [2023-04-24T06:00:16.715Z] b352a97aabf1: Waiting [2023-04-24T06:00:16.715Z] eaf3925da568: Waiting [2023-04-24T06:00:16.715Z] 1469e6f7b9e6: Waiting [2023-04-24T06:00:16.715Z] 988bab9f4d93: Waiting [2023-04-24T06:00:16.715Z] bab4dde63d76: Waiting [2023-04-24T06:00:16.715Z] 4872d77fe225: Waiting [2023-04-24T06:00:16.715Z] bde34c3a00c8: Waiting [2023-04-24T06:00:16.715Z] 5851b861e8e6: Waiting [2023-04-24T06:00:16.715Z] e2be974225ed: Verifying Checksum [2023-04-24T06:00:16.715Z] e2be974225ed: Download complete [2023-04-24T06:00:16.715Z] 988bab9f4d93: Download complete [2023-04-24T06:00:16.974Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T06:00:16.974Z] 1469e6f7b9e6: Download complete [2023-04-24T06:00:16.974Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T06:00:16.974Z] 339a4e72a1f5: Download complete [2023-04-24T06:00:16.974Z] eaf3925da568: Download complete [2023-04-24T06:00:16.974Z] bde34c3a00c8: Verifying Checksum [2023-04-24T06:00:16.974Z] bde34c3a00c8: Download complete [2023-04-24T06:00:16.974Z] b352a97aabf1: Verifying Checksum [2023-04-24T06:00:16.974Z] b352a97aabf1: Download complete [2023-04-24T06:00:16.974Z] 4872d77fe225: Download complete [2023-04-24T06:00:16.974Z] 5851b861e8e6: Verifying Checksum [2023-04-24T06:00:16.974Z] 5851b861e8e6: Download complete [2023-04-24T06:00:16.974Z] b85a868b505f: Download complete [2023-04-24T06:00:17.234Z] bab4dde63d76: Verifying Checksum [2023-04-24T06:00:17.234Z] bab4dde63d76: Download complete [2023-04-24T06:00:18.173Z] b85a868b505f: Pull complete [2023-04-24T06:00:18.446Z] e2be974225ed: Pull complete [2023-04-24T06:00:19.020Z] 339a4e72a1f5: Pull complete [2023-04-24T06:00:19.020Z] 988bab9f4d93: Pull complete [2023-04-24T06:00:19.280Z] 1469e6f7b9e6: Pull complete [2023-04-24T06:00:19.280Z] eaf3925da568: Pull complete [2023-04-24T06:00:21.204Z] bab4dde63d76: Pull complete [2023-04-24T06:00:21.204Z] bde34c3a00c8: Pull complete [2023-04-24T06:00:21.204Z] b352a97aabf1: Pull complete [2023-04-24T06:00:21.204Z] 4872d77fe225: Pull complete [2023-04-24T06:00:21.464Z] 5851b861e8e6: Pull complete [2023-04-24T06:00:21.464Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T06:00:21.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:00:21.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:00:21.701Z] prd-ubuntu20.04-docker-8c-8g-9489 does not seem to be running inside a container [2023-04-24T06:00:21.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-462 -v /w/workspace/xfoundry_device-modbus-go_PR-462:/w/workspace/xfoundry_device-modbus-go_PR-462:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-462@tmp:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:00:23.002Z] $ docker top a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 -eo pid,comm [2023-04-24T06:00:23.049Z] 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-24T06:00:23.049Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:00:23.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:00:23.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:00:23.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:00:23.295Z] $ docker exec a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 ssh-agent [2023-04-24T06:00:23.412Z] SSH_AUTH_SOCK=/tmp/ssh-nkj2eevXsGvE/agent.32 [2023-04-24T06:00:23.412Z] SSH_AGENT_PID=38 [2023-04-24T06:00:23.419Z] Running ssh-add (command line suppressed) [2023-04-24T06:00:23.516Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-462@tmp/private_key_4290587614927742721.key (/w/workspace/xfoundry_device-modbus-go_PR-462@tmp/private_key_4290587614927742721.key) [2023-04-24T06:00:23.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:00:23.861Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T06:00:23.890Z] $ docker exec --env ******** --env ******** a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 ssh-agent -k [2023-04-24T06:00:23.998Z] unset SSH_AUTH_SOCK; [2023-04-24T06:00:23.999Z] unset SSH_AGENT_PID; [2023-04-24T06:00:23.999Z] echo Agent pid 38 killed; [2023-04-24T06:00:24.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T06:00:24.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:00:24.098Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:00:24.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:00:24.214Z] $ docker exec a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 ssh-agent [2023-04-24T06:00:24.318Z] SSH_AUTH_SOCK=/tmp/ssh-BvEQ9SG4e59h/agent.70 [2023-04-24T06:00:24.318Z] SSH_AGENT_PID=76 [2023-04-24T06:00:24.323Z] Running ssh-add (command line suppressed) [2023-04-24T06:00:24.420Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-462@tmp/private_key_16663969364297017216.key (/w/workspace/xfoundry_device-modbus-go_PR-462@tmp/private_key_16663969364297017216.key) [2023-04-24T06:00:24.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:00:24.762Z] + git semver init [2023-04-24T06:00:25.021Z] 2023-04-24 06:00:24,951 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T06:00:25.021Z] 2023-04-24 06:00:24,952 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-462/.semver [2023-04-24T06:00:25.021Z] 2023-04-24 06:00:24,952 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-462/.semver [2023-04-24T06:00:25.021Z] 2023-04-24 06:00:24,953 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-462/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-462, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,706 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-462/.git/info/exclude [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,706 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-462/.semver/PR-462 with force:False [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,706 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-462/.semver/PR-462 [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,708 [execute] INFO git cat-file --batch-check [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-462/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,716 [execute] INFO git cat-file --batch [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-462/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:00:25.958Z] 2023-04-24 06:00:25,722 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-462/.semver/PR-462 [2023-04-24T06:00:25.958Z] 0.0.0 [Pipeline] } [2023-04-24T06:00:25.986Z] $ docker exec --env ******** --env ******** a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 ssh-agent -k [2023-04-24T06:00:26.110Z] unset SSH_AUTH_SOCK; [2023-04-24T06:00:26.110Z] unset SSH_AGENT_PID; [2023-04-24T06:00:26.110Z] echo Agent pid 76 killed; [2023-04-24T06:00:26.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:00:26.533Z] + git semver [Pipeline] } [2023-04-24T06:00:26.821Z] $ docker stop --time=1 a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 [2023-04-24T06:00:28.099Z] $ docker rm -f --volumes a5ef8fad4adfdfc0957f6c93a076ba18d858014801df1b290bf481e73a848429 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:00:28.492Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T06:00:28.740Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T06:00:28.757Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:00:29.341Z] provisioning config files... [2023-04-24T06:00:29.350Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp/config16751982391212356561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:00:29.699Z] ---> docker-login.sh [2023-04-24T06:00:29.700Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:00:29.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:29.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:29.700Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:29.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:29.700Z] [2023-04-24T06:00:29.700Z] Login Succeeded [2023-04-24T06:00:29.700Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:00:29.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:29.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:29.700Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:29.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:29.700Z] [2023-04-24T06:00:29.700Z] Login Succeeded [2023-04-24T06:00:29.700Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:00:29.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:29.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:29.959Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:29.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:29.959Z] [2023-04-24T06:00:29.959Z] Login Succeeded [2023-04-24T06:00:29.959Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:00:29.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:29.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:29.959Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:29.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:29.959Z] [2023-04-24T06:00:29.959Z] Login Succeeded [2023-04-24T06:00:29.959Z] docker.io [2023-04-24T06:00:30.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:00:30.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:00:30.219Z] Configure a credential helper to remove this warning. See [2023-04-24T06:00:30.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:00:30.219Z] [2023-04-24T06:00:30.219Z] Login Succeeded [2023-04-24T06:00:30.219Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:00:30.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:00:30.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:00:30.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:00:30.533Z] ========================================================= [2023-04-24T06:00:30.533Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T06:00:30.533Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:00:31.016Z] + 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-24T06:00:31.016Z] Sending build context to Docker daemon 6.462MB [2023-04-24T06:00:31.016Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:00:31.016Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T06:00:31.016Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T06:00:31.016Z] 63b65145d645: Pulling fs layer [2023-04-24T06:00:31.016Z] a2d21d5440eb: Pulling fs layer [2023-04-24T06:00:31.016Z] 935e6c44a52c: Pulling fs layer [2023-04-24T06:00:31.016Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T06:00:31.016Z] 30dea6a524f1: Pulling fs layer [2023-04-24T06:00:31.016Z] a2aff8979fd8: Pulling fs layer [2023-04-24T06:00:31.016Z] 6808be2612f2: Pulling fs layer [2023-04-24T06:00:31.016Z] f25807f1079a: Pulling fs layer [2023-04-24T06:00:31.016Z] 30dea6a524f1: Waiting [2023-04-24T06:00:31.016Z] a2aff8979fd8: Waiting [2023-04-24T06:00:31.016Z] 6808be2612f2: Waiting [2023-04-24T06:00:31.016Z] 94cc34f8dd06: Waiting [2023-04-24T06:00:31.016Z] f25807f1079a: Waiting [2023-04-24T06:00:31.016Z] a2d21d5440eb: Download complete [2023-04-24T06:00:31.016Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T06:00:31.016Z] 94cc34f8dd06: Download complete [2023-04-24T06:00:31.016Z] 30dea6a524f1: Verifying Checksum [2023-04-24T06:00:31.016Z] 30dea6a524f1: Download complete [2023-04-24T06:00:31.016Z] 63b65145d645: Verifying Checksum [2023-04-24T06:00:31.016Z] 63b65145d645: Download complete [2023-04-24T06:00:31.276Z] a2aff8979fd8: Verifying Checksum [2023-04-24T06:00:31.276Z] a2aff8979fd8: Download complete [2023-04-24T06:00:31.276Z] 63b65145d645: Pull complete [2023-04-24T06:00:31.536Z] a2d21d5440eb: Pull complete [2023-04-24T06:00:31.799Z] f25807f1079a: Verifying Checksum [2023-04-24T06:00:31.799Z] f25807f1079a: Download complete [2023-04-24T06:00:31.799Z] 935e6c44a52c: Verifying Checksum [2023-04-24T06:00:31.799Z] 935e6c44a52c: Download complete [2023-04-24T06:00:32.057Z] 6808be2612f2: Verifying Checksum [2023-04-24T06:00:32.057Z] 6808be2612f2: Download complete [2023-04-24T06:00:35.342Z] 935e6c44a52c: Pull complete [2023-04-24T06:00:35.342Z] 94cc34f8dd06: Pull complete [2023-04-24T06:00:35.342Z] 30dea6a524f1: Pull complete [2023-04-24T06:00:35.342Z] a2aff8979fd8: Pull complete [2023-04-24T06:00:37.885Z] 6808be2612f2: Pull complete [2023-04-24T06:00:38.146Z] f25807f1079a: Pull complete [2023-04-24T06:00:38.146Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T06:00:38.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T06:00:38.146Z] ---> 3b553350e43f [2023-04-24T06:00:38.146Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:00:40.059Z] ---> Running in 48b6d57ede18 [2023-04-24T06:00:40.059Z] Removing intermediate container 48b6d57ede18 [2023-04-24T06:00:40.059Z] ---> 74947f5bb8d9 [2023-04-24T06:00:40.059Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:00:40.059Z] ---> Running in 1603c6b4acc3 [2023-04-24T06:00:40.059Z] Removing intermediate container 1603c6b4acc3 [2023-04-24T06:00:40.059Z] ---> 6f71c916940a [2023-04-24T06:00:40.059Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:00:40.059Z] ---> Running in da1675e4a6dd [2023-04-24T06:00:40.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:00:40.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:00:40.587Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:00:40.587Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-24T06:00:40.587Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:00:40.587Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:00:40.587Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-24T06:00:40.587Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-24T06:00:40.587Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-24T06:00:40.587Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-24T06:00:40.587Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:00:40.587Z] OK: 270 MiB in 61 packages [2023-04-24T06:00:41.161Z] Removing intermediate container da1675e4a6dd [2023-04-24T06:00:41.161Z] ---> 07baf2d59724 [2023-04-24T06:00:41.161Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-24T06:00:41.161Z] ---> Running in 0cd34035d661 [2023-04-24T06:00:41.161Z] Removing intermediate container 0cd34035d661 [2023-04-24T06:00:41.161Z] ---> 560b769ebd18 [2023-04-24T06:00:41.161Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T06:00:41.161Z] ---> 22e97e601276 [2023-04-24T06:00:41.161Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:00:41.161Z] ---> Running in 4e790a8b4433 [2023-04-24T06:00:44.165Z] Still waiting to schedule task [2023-04-24T06:00:44.165Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9488’ is offline [2023-04-24T06:00:59.250Z] Removing intermediate container 4e790a8b4433 [2023-04-24T06:00:59.250Z] ---> de7ef16f758d [2023-04-24T06:00:59.250Z] Step 9/10 : COPY . . [2023-04-24T06:00:59.250Z] ---> 041160de4a76 [2023-04-24T06:00:59.250Z] Step 10/10 : RUN ${MAKE} [2023-04-24T06:00:59.250Z] ---> Running in 1c42318d1cd4 [2023-04-24T06:00:59.511Z] noop [2023-04-24T06:00:59.770Z] Removing intermediate container 1c42318d1cd4 [2023-04-24T06:00:59.770Z] ---> d9917b53ef6f [2023-04-24T06:00:59.770Z] Successfully built d9917b53ef6f [2023-04-24T06:00:59.770Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:00.228Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:01:00.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:01:00.377Z] prd-ubuntu20.04-docker-8c-8g-9489 does not seem to be running inside a container [2023-04-24T06:01:00.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-462 -v /w/workspace/xfoundry_device-modbus-go_PR-462:/w/workspace/xfoundry_device-modbus-go_PR-462:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-462@tmp:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:01:00.764Z] $ docker top 652ed8f6ee31b279900976e94ab88ecc27173432d4c1902c0185cedfbb4f7e6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:01:01.153Z] + go version [2023-04-24T06:01:01.153Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:01:01.188Z] $ docker stop --time=1 652ed8f6ee31b279900976e94ab88ecc27173432d4c1902c0185cedfbb4f7e6b [2023-04-24T06:01:02.485Z] $ docker rm -f --volumes 652ed8f6ee31b279900976e94ab88ecc27173432d4c1902c0185cedfbb4f7e6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:03.217Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:01:03.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:01:03.382Z] prd-ubuntu20.04-docker-8c-8g-9489 does not seem to be running inside a container [2023-04-24T06:01:03.413Z] $ 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-462 -v /w/workspace/xfoundry_device-modbus-go_PR-462:/w/workspace/xfoundry_device-modbus-go_PR-462:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-462@tmp:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:01:03.724Z] $ docker top 6c3281d043e43029bf1b3a207390224f803ca3914b9dcdfd8691e2c2888f5e1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:01:04.118Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-462 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:01:04.496Z] + make test [2023-04-24T06:01:04.496Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:01:08.683Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-24T06:01:18.656Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-24T06:01:18.656Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements [2023-04-24T06:01:23.914Z] go vet ./... [2023-04-24T06:01:27.195Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:01:27.195Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:01:27.195Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:01:27.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:01:27.264Z] $ docker stop --time=1 6c3281d043e43029bf1b3a207390224f803ca3914b9dcdfd8691e2c2888f5e1c [2023-04-24T06:01:29.918Z] $ docker rm -f --volumes 6c3281d043e43029bf1b3a207390224f803ca3914b9dcdfd8691e2c2888f5e1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:01:30.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:01:30.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:01:31.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:01:31.501Z] + ls -al . [2023-04-24T06:01:31.501Z] total 180 [2023-04-24T06:01:31.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:01 . [2023-04-24T06:01:31.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:59 .. [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 05:59 .dockerignore [2023-04-24T06:01:31.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:00 .git [2023-04-24T06:01:31.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:59 .github [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 24 05:59 .gitignore [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 05:59 .golangci.yml [2023-04-24T06:01:31.501Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:00 .semver [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 24 05:59 Attribution.txt [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 24 05:59 CHANGELOG.md [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 24 05:59 Dockerfile [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 05:59 GOVERNANCE.md [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 05:59 Jenkinsfile [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 05:59 LICENSE [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 24 05:59 Makefile [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 05:59 OWNERS.md [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 24 05:59 README.md [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:00 VERSION [2023-04-24T06:01:31.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:59 bin [2023-04-24T06:01:31.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:59 cmd [2023-04-24T06:01:31.501Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 24 06:01 coverage.out [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 24 05:59 go.mod [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 24 05:59 go.sum [2023-04-24T06:01:31.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 05:59 internal [2023-04-24T06:01:31.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 05:59 simulator [2023-04-24T06:01:31.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 05:59 snap [2023-04-24T06:01:31.501Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:31.891Z] + 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=eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac --label arch=amd64 --label version=0.0.0 . [2023-04-24T06:01:31.891Z] Sending build context to Docker daemon 6.488MB [2023-04-24T06:01:31.891Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:01:31.891Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-24T06:01:31.891Z] ---> d9917b53ef6f [2023-04-24T06:01:31.891Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:01:31.891Z] ---> Running in 9d5063d3311a [2023-04-24T06:01:32.153Z] Removing intermediate container 9d5063d3311a [2023-04-24T06:01:32.153Z] ---> 616bb2557713 [2023-04-24T06:01:32.153Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:01:32.153Z] ---> Running in c1bc12bcad5c [2023-04-24T06:01:32.153Z] Removing intermediate container c1bc12bcad5c [2023-04-24T06:01:32.153Z] ---> cf988bb39e7c [2023-04-24T06:01:32.153Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:01:32.153Z] ---> Running in 993521908cc9 [2023-04-24T06:01:32.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:32.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:32.672Z] OK: 270 MiB in 61 packages [2023-04-24T06:01:32.931Z] Removing intermediate container 993521908cc9 [2023-04-24T06:01:32.931Z] ---> 95f61cdce6a3 [2023-04-24T06:01:32.931Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-24T06:01:33.190Z] ---> Running in b522429a142f [2023-04-24T06:01:33.190Z] Removing intermediate container b522429a142f [2023-04-24T06:01:33.190Z] ---> c2841961af9c [2023-04-24T06:01:33.190Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-24T06:01:33.190Z] ---> 48094a40b5b5 [2023-04-24T06:01:33.190Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:01:33.449Z] ---> Running in b61a901fc40c [2023-04-24T06:01:34.017Z] Removing intermediate container b61a901fc40c [2023-04-24T06:01:34.017Z] ---> 7f072292a758 [2023-04-24T06:01:34.017Z] Step 9/22 : COPY . . [2023-04-24T06:01:34.584Z] ---> 11192224aa44 [2023-04-24T06:01:34.584Z] Step 10/22 : RUN ${MAKE} [2023-04-24T06:01:34.584Z] ---> Running in b9f4b37ae6ed [2023-04-24T06:01:34.584Z] 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-24T06:01:52.673Z] Removing intermediate container b9f4b37ae6ed [2023-04-24T06:01:52.673Z] ---> 9782d4f5a1e9 [2023-04-24T06:01:52.673Z] Step 11/22 : FROM alpine:3.17 [2023-04-24T06:01:52.673Z] 3.17: Pulling from library/alpine [2023-04-24T06:01:52.673Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:01:52.673Z] f56be85fc22e: Verifying Checksum [2023-04-24T06:01:52.673Z] f56be85fc22e: Download complete [2023-04-24T06:01:52.673Z] f56be85fc22e: Pull complete [2023-04-24T06:01:52.673Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:01:52.673Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:01:52.673Z] ---> 9ed4aefc74f6 [2023-04-24T06:01:52.673Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-24T06:01:52.673Z] ---> Running in 09f6d754ee39 [2023-04-24T06:01:52.673Z] Removing intermediate container 09f6d754ee39 [2023-04-24T06:01:52.673Z] ---> 970fbecd734b [2023-04-24T06:01:52.673Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:01:52.673Z] ---> Running in 993384c94c7f [2023-04-24T06:01:52.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:52.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:01:53.222Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:01:53.222Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:01:53.222Z] OK: 7 MiB in 16 packages [2023-04-24T06:01:53.480Z] Removing intermediate container 993384c94c7f [2023-04-24T06:01:53.480Z] ---> 2151d9d05ea9 [2023-04-24T06:01:53.480Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-24T06:01:54.073Z] ---> 4cd7703743bb [2023-04-24T06:01:54.074Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-24T06:01:54.332Z] ---> 43fd2d3366f1 [2023-04-24T06:01:54.332Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-24T06:01:54.332Z] ---> 5ebecefcfc11 [2023-04-24T06:01:54.332Z] Step 17/22 : EXPOSE 59901 [2023-04-24T06:01:54.332Z] ---> Running in 18038212db01 [2023-04-24T06:01:54.590Z] Removing intermediate container 18038212db01 [2023-04-24T06:01:54.590Z] ---> 88f78ce4d49e [2023-04-24T06:01:54.590Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-24T06:01:54.590Z] ---> Running in 31c94113c288 [2023-04-24T06:01:54.590Z] Removing intermediate container 31c94113c288 [2023-04-24T06:01:54.590Z] ---> cbc26ecca141 [2023-04-24T06:01:54.590Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T06:01:54.590Z] ---> Running in ea9f906c4f3c [2023-04-24T06:01:54.590Z] Removing intermediate container ea9f906c4f3c [2023-04-24T06:01:54.590Z] ---> 518276da11eb [2023-04-24T06:01:54.590Z] Step 20/22 : LABEL arch=amd64 [2023-04-24T06:01:54.590Z] ---> Running in 3b1db1cc61be [2023-04-24T06:01:54.848Z] Removing intermediate container 3b1db1cc61be [2023-04-24T06:01:54.848Z] ---> 45ec47775a90 [2023-04-24T06:01:54.848Z] Step 21/22 : LABEL git_sha=eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [2023-04-24T06:01:54.848Z] ---> Running in 46f4f3cac77f [2023-04-24T06:01:54.848Z] Removing intermediate container 46f4f3cac77f [2023-04-24T06:01:54.848Z] ---> 9a084dcf484d [2023-04-24T06:01:54.848Z] Step 22/22 : LABEL version=0.0.0 [2023-04-24T06:01:54.848Z] ---> Running in 2ede364ecf2e [2023-04-24T06:01:54.848Z] Removing intermediate container 2ede364ecf2e [2023-04-24T06:01:54.848Z] ---> d90851bc6213 [2023-04-24T06:01:54.848Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:01:54.848Z] Successfully built d90851bc6213 [2023-04-24T06:01:54.848Z] 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-24T06:01:55.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:01:55.832Z] [2023-04-24T06:01:55.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:01:56.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:01:56.230Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:01:56.230Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:01:56.230Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:01:56.230Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:01:56.230Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:01:56.230Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:01:56.230Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:01:56.230Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:01:56.230Z] 33b1e0a273af: Waiting [2023-04-24T06:01:56.230Z] 5d3b04190fa2: Waiting [2023-04-24T06:01:56.230Z] 2f39f015ded8: Waiting [2023-04-24T06:01:56.230Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:01:56.230Z] 5c69ac0246d0: Download complete [2023-04-24T06:01:56.230Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T06:01:56.230Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:01:56.498Z] 33b1e0a273af: Verifying Checksum [2023-04-24T06:01:56.498Z] 33b1e0a273af: Download complete [2023-04-24T06:01:56.498Z] 5d3b04190fa2: Download complete [2023-04-24T06:01:56.498Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:01:56.498Z] ec43610c2a17: Download complete [2023-04-24T06:01:56.498Z] 5eb5b503b376: Download complete [2023-04-24T06:01:57.075Z] 2f39f015ded8: Download complete [2023-04-24T06:01:57.644Z] 5eb5b503b376: Pull complete [2023-04-24T06:01:57.644Z] 5c69ac0246d0: Pull complete [2023-04-24T06:01:58.210Z] ec43610c2a17: Pull complete [2023-04-24T06:01:58.210Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:01:58.467Z] 33b1e0a273af: Pull complete [2023-04-24T06:01:58.467Z] 5d3b04190fa2: Pull complete [2023-04-24T06:02:02.663Z] 2f39f015ded8: Pull complete [2023-04-24T06:02:02.663Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:02:02.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:02:02.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:02:02.885Z] prd-ubuntu20.04-docker-8c-8g-9489 does not seem to be running inside a container [2023-04-24T06:02:02.921Z] $ 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-462 -v /w/workspace/xfoundry_device-modbus-go_PR-462:/w/workspace/xfoundry_device-modbus-go_PR-462:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-462@tmp:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:02:05.194Z] $ docker top ab0f687e6e590ea19296403189fd4b420c0048827fb81f2cdecc2fa81691991e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:02:05.634Z] ---> job-cost.sh [2023-04-24T06:02:05.634Z] lf-activate-venv: SKIPPING [2023-04-24T06:02:05.634Z] INFO: No Stack... [2023-04-24T06:02:05.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:02:06.154Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:02:06.472Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-462/archives/cost.csv [2023-04-24T06:02:06.472Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:02:06.510Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] [2023-04-24T06:02:06.515Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] did not exist. Created. [2023-04-24T06:02:06.515Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:02:06.901Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:02:06.952Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:02:06.975Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:02:07.055Z] $ docker stop --time=1 ab0f687e6e590ea19296403189fd4b420c0048827fb81f2cdecc2fa81691991e [2023-04-24T06:02:08.198Z] $ docker rm -f --volumes ab0f687e6e590ea19296403189fd4b420c0048827fb81f2cdecc2fa81691991e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:03:35.771Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9493 in /w/workspace/xfoundry_device-modbus-go_PR-462 [Pipeline] { [Pipeline] ws [2023-04-24T06:03:35.830Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-24T06:03:35.916Z] Selected Git installation does not exist. Using Default [2023-04-24T06:03:35.916Z] The recommended git tool is: NONE [2023-04-24T06:03:42.136Z] using credential edgex-jenkins-ssh [2023-04-24T06:03:42.155Z] Cloning the remote Git repository [2023-04-24T06:03:42.220Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:03:42.342Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-24T06:03:42.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:03:42.532Z] > git --version # timeout=10 [2023-04-24T06:03:42.569Z] > git --version # 'git version 2.25.1' [2023-04-24T06:03:42.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:03:42.751Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:03:43.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-24T06:03:43.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:03:45.472Z] Merging remotes/origin/main commit 1a68168e1b466f81fb38e733dbe2211c06120b2a into PR head commit eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [2023-04-24T06:03:45.791Z] Merge succeeded, producing eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [2023-04-24T06:03:45.791Z] Checking out Revision eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac (PR-462) [2023-04-24T06:03:44.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-24T06:03:44.939Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-24T06:03:44.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:03:44.960Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/462/head:refs/remotes/origin/PR-462 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T06:03:45.493Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:03:45.578Z] > git checkout -f eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac # timeout=10 [2023-04-24T06:03:45.673Z] > git remote # timeout=10 [2023-04-24T06:03:45.693Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T06:03:45.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:03:45.743Z] > git merge 1a68168e1b466f81fb38e733dbe2211c06120b2a # timeout=10 [2023-04-24T06:03:45.773Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T06:03:45.801Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:03:45.818Z] > git checkout -f eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac # timeout=10 [2023-04-24T06:03:46.347Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-24T06:03:46.407Z] > git --version # timeout=10 [2023-04-24T06:03:46.419Z] > git --version # 'git version 2.25.1' [2023-04-24T06:03:46.432Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:03:47.588Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:03:47.589Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:03:47.589Z] Dload Upload Total Spent Left Speed [2023-04-24T06:03:47.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-04-24T06:03:48.374Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:03:48.723Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-04-24T06:03:48.723Z] /etc/docker/daemon.new [2023-04-24T06:03:48.723Z] { [2023-04-24T06:03:48.723Z] "registry-mirrors": [ [2023-04-24T06:03:48.724Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:03:48.724Z] ], [2023-04-24T06:03:48.724Z] "bip": "10.250.0.254/24", [2023-04-24T06:03:48.724Z] "hosts": [ [2023-04-24T06:03:48.724Z] "tcp://0.0.0.0:5555", [2023-04-24T06:03:48.724Z] "unix:///var/run/docker.sock" [2023-04-24T06:03:48.724Z] ], [2023-04-24T06:03:48.724Z] "mtu": 1458, [2023-04-24T06:03:48.724Z] "selinux-enabled": true, [2023-04-24T06:03:48.724Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:03:48.724Z] } [Pipeline] sh [2023-04-24T06:03:49.070Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:03:49.414Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:04:07.764Z] provisioning config files... [2023-04-24T06:04:07.797Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3593309551666363909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:04:08.212Z] ---> docker-login.sh [2023-04-24T06:04:08.212Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:04:08.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:04:08.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:04:08.806Z] Configure a credential helper to remove this warning. See [2023-04-24T06:04:08.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:04:08.806Z] [2023-04-24T06:04:08.806Z] Login Succeeded [2023-04-24T06:04:08.806Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:04:09.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:04:09.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:04:09.349Z] Configure a credential helper to remove this warning. See [2023-04-24T06:04:09.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:04:09.349Z] [2023-04-24T06:04:09.349Z] Login Succeeded [2023-04-24T06:04:09.349Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:04:09.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:04:09.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:04:09.624Z] Configure a credential helper to remove this warning. See [2023-04-24T06:04:09.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:04:09.624Z] [2023-04-24T06:04:09.624Z] Login Succeeded [2023-04-24T06:04:09.624Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:04:09.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:04:10.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:04:10.175Z] Configure a credential helper to remove this warning. See [2023-04-24T06:04:10.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:04:10.175Z] [2023-04-24T06:04:10.175Z] Login Succeeded [2023-04-24T06:04:10.175Z] docker.io [2023-04-24T06:04:10.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:04:10.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:04:10.714Z] Configure a credential helper to remove this warning. See [2023-04-24T06:04:10.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:04:10.714Z] [2023-04-24T06:04:10.714Z] Login Succeeded [2023-04-24T06:04:10.714Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:04:10.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:04:11.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:04:11.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:04:11.326Z] ========================================================= [2023-04-24T06:04:11.326Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:04:11.326Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:04:11.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-24T06:04:12.087Z] Sending build context to Docker daemon 3.376MB [2023-04-24T06:04:12.087Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:04:12.087Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-24T06:04:12.362Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:04:12.362Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:04:12.363Z] 55522c791124: Pulling fs layer [2023-04-24T06:04:12.363Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:04:12.363Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:04:12.363Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:04:12.363Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:04:12.363Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:04:12.363Z] 169dfbe0d373: Waiting [2023-04-24T06:04:12.363Z] e1ff8fa3b103: Waiting [2023-04-24T06:04:12.363Z] 52ebb69f0ebf: Waiting [2023-04-24T06:04:12.363Z] 5abe8eddf0d5: Waiting [2023-04-24T06:04:12.363Z] 55522c791124: Download complete [2023-04-24T06:04:12.363Z] 169dfbe0d373: Verifying Checksum [2023-04-24T06:04:12.363Z] 169dfbe0d373: Download complete [2023-04-24T06:04:12.363Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:04:12.363Z] e1ff8fa3b103: Download complete [2023-04-24T06:04:12.363Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:04:12.363Z] af6eaf76a39c: Download complete [2023-04-24T06:04:13.809Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:04:13.809Z] 5abe8eddf0d5: Download complete [2023-04-24T06:04:13.809Z] af6eaf76a39c: Pull complete [2023-04-24T06:04:14.080Z] 55522c791124: Pull complete [2023-04-24T06:04:15.059Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:04:15.059Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:04:15.059Z] 52ebb69f0ebf: Download complete [2023-04-24T06:04:27.417Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:04:27.417Z] 169dfbe0d373: Pull complete [2023-04-24T06:04:27.417Z] e1ff8fa3b103: Pull complete [2023-04-24T06:04:32.804Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:04:33.781Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:04:33.781Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:04:33.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:04:33.781Z] ---> 6cb57ee374ae [2023-04-24T06:04:33.782Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:04:35.759Z] ---> Running in aa12e6259ddf [2023-04-24T06:04:36.032Z] Removing intermediate container aa12e6259ddf [2023-04-24T06:04:36.032Z] ---> d7a3968c4738 [2023-04-24T06:04:36.032Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:04:36.032Z] ---> Running in 1071aaecfe5b [2023-04-24T06:04:36.621Z] Removing intermediate container 1071aaecfe5b [2023-04-24T06:04:36.621Z] ---> f37e2c85e302 [2023-04-24T06:04:36.621Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:04:36.621Z] ---> Running in 447f7808bd81 [2023-04-24T06:04:38.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:04:38.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:04:39.739Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:04:39.739Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-24T06:04:39.739Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:04:39.739Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:04:39.739Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-24T06:04:39.739Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-24T06:04:39.739Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-24T06:04:39.739Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-24T06:04:39.739Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:04:39.739Z] OK: 270 MiB in 61 packages [2023-04-24T06:04:41.174Z] Removing intermediate container 447f7808bd81 [2023-04-24T06:04:41.174Z] ---> c649dbe700d3 [2023-04-24T06:04:41.174Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-24T06:04:41.174Z] ---> Running in ac04bbb95c74 [2023-04-24T06:04:41.444Z] Removing intermediate container ac04bbb95c74 [2023-04-24T06:04:41.444Z] ---> b9dcadf818bf [2023-04-24T06:04:41.444Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-24T06:04:42.037Z] ---> 3b043c9c9e2c [2023-04-24T06:04:42.037Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:04:42.037Z] ---> Running in 4df789af28a2 [2023-04-24T06:05:50.035Z] Removing intermediate container 4df789af28a2 [2023-04-24T06:05:50.035Z] ---> 986d3a617ff4 [2023-04-24T06:05:50.035Z] Step 9/10 : COPY . . [2023-04-24T06:05:50.035Z] ---> 9b0c9dc16870 [2023-04-24T06:05:50.035Z] Step 10/10 : RUN ${MAKE} [2023-04-24T06:05:50.035Z] ---> Running in e013b448559c [2023-04-24T06:05:50.035Z] noop [2023-04-24T06:05:50.630Z] Removing intermediate container e013b448559c [2023-04-24T06:05:50.630Z] ---> b189b8f1e5c1 [2023-04-24T06:05:50.630Z] Successfully built b189b8f1e5c1 [2023-04-24T06:05:50.630Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:05:51.117Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:05:51.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:05:51.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-9493 does not seem to be running inside a container [2023-04-24T06:05:51.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:05:52.830Z] $ docker top 1e80b226126f795b4cd5533c8cf7fcf5197f84eeaf54edc8737e21be05a9f904 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:05:53.759Z] + go version [2023-04-24T06:05:53.759Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:05:53.802Z] $ docker stop --time=1 1e80b226126f795b4cd5533c8cf7fcf5197f84eeaf54edc8737e21be05a9f904 [2023-04-24T06:05:55.516Z] $ docker rm -f --volumes 1e80b226126f795b4cd5533c8cf7fcf5197f84eeaf54edc8737e21be05a9f904 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:05:56.405Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:05:56.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:05:56.681Z] prd-ubuntu20.04-docker-arm64-4c-16g-9493 does not seem to be running inside a container [2023-04-24T06:05:56.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:05:58.070Z] $ docker top fd4deb6e0a89309e823bdcf3450cb01a2f87b5cdc3c0a8be1346d47193f8ab3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:05:58.972Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:05:59.695Z] + make test [2023-04-24T06:05:59.695Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:06:39.232Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-24T06:09:01.292Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-24T06:09:01.292Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 47.4% of statements [2023-04-24T06:09:01.564Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T06:09:01.564Z] go vet ./... [2023-04-24T06:09:33.838Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:09:33.838Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:09:33.838Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:09:33.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:09:33.913Z] $ docker stop --time=1 fd4deb6e0a89309e823bdcf3450cb01a2f87b5cdc3c0a8be1346d47193f8ab3f [2023-04-24T06:09:35.806Z] $ docker rm -f --volumes fd4deb6e0a89309e823bdcf3450cb01a2f87b5cdc3c0a8be1346d47193f8ab3f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:09:37.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:09:37.138Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T06:09:37.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:09:38.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:09:38.696Z] + ls -al . [2023-04-24T06:09:38.696Z] total 176 [2023-04-24T06:09:38.696Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 06:06 . [2023-04-24T06:09:38.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:03 .. [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 06:03 .dockerignore [2023-04-24T06:09:38.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:03 .git [2023-04-24T06:09:38.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:03 .github [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 24 06:03 .gitignore [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 06:03 .golangci.yml [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 24 06:03 Attribution.txt [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 24 06:03 CHANGELOG.md [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 24 06:03 Dockerfile [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:03 GOVERNANCE.md [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 06:03 Jenkinsfile [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 06:03 LICENSE [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 24 06:03 Makefile [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 06:03 OWNERS.md [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 24 06:03 README.md [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:00 VERSION [2023-04-24T06:09:38.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:03 bin [2023-04-24T06:09:38.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:03 cmd [2023-04-24T06:09:38.696Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 24 06:09 coverage.out [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 24 06:03 go.mod [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 24 06:03 go.sum [2023-04-24T06:09:38.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:03 internal [2023-04-24T06:09:38.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:03 simulator [2023-04-24T06:09:38.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:03 snap [2023-04-24T06:09:38.696Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:09:39.138Z] + 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=eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac --label arch=arm64 --label version=0.0.0 . [2023-04-24T06:09:39.409Z] Sending build context to Docker daemon 3.401MB [2023-04-24T06:09:39.409Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:09:39.409Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-24T06:09:39.409Z] ---> b189b8f1e5c1 [2023-04-24T06:09:39.409Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:09:40.832Z] ---> Running in 83cfceb717f9 [2023-04-24T06:09:40.832Z] Removing intermediate container 83cfceb717f9 [2023-04-24T06:09:40.832Z] ---> ae1874a29853 [2023-04-24T06:09:40.832Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:09:41.104Z] ---> Running in a5731e61aedb [2023-04-24T06:09:41.374Z] Removing intermediate container a5731e61aedb [2023-04-24T06:09:41.374Z] ---> 397ad5ceaed5 [2023-04-24T06:09:41.374Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-24T06:09:41.374Z] ---> Running in 350540ccaba2 [2023-04-24T06:09:42.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:09:43.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:09:44.492Z] OK: 270 MiB in 61 packages [2023-04-24T06:09:45.468Z] Removing intermediate container 350540ccaba2 [2023-04-24T06:09:45.468Z] ---> 02d65a1f8114 [2023-04-24T06:09:45.468Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-24T06:09:45.468Z] ---> Running in 2bad800516f4 [2023-04-24T06:09:45.742Z] Removing intermediate container 2bad800516f4 [2023-04-24T06:09:45.742Z] ---> 8b39422bedf2 [2023-04-24T06:09:45.742Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-24T06:09:46.331Z] ---> 79c43ae798bb [2023-04-24T06:09:46.331Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:09:46.331Z] ---> Running in a4312606b3fd [2023-04-24T06:09:48.927Z] Removing intermediate container a4312606b3fd [2023-04-24T06:09:48.928Z] ---> 29a6f87944a3 [2023-04-24T06:09:48.928Z] Step 9/22 : COPY . . [2023-04-24T06:09:49.898Z] ---> 8f89f20ae61c [2023-04-24T06:09:49.898Z] Step 10/22 : RUN ${MAKE} [2023-04-24T06:09:50.168Z] ---> Running in 4b7d1b35706d [2023-04-24T06:09:51.139Z] 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-24T06:12:12.873Z] Removing intermediate container 4b7d1b35706d [2023-04-24T06:12:12.873Z] ---> 6bedfc75a891 [2023-04-24T06:12:12.873Z] Step 11/22 : FROM alpine:3.17 [2023-04-24T06:12:12.873Z] 3.17: Pulling from library/alpine [2023-04-24T06:12:12.873Z] c41833b44d91: Pulling fs layer [2023-04-24T06:12:12.873Z] c41833b44d91: Verifying Checksum [2023-04-24T06:12:12.873Z] c41833b44d91: Download complete [2023-04-24T06:12:12.873Z] c41833b44d91: Pull complete [2023-04-24T06:12:12.873Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:12:12.873Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:12:12.873Z] ---> 51e60588ff2c [2023-04-24T06:12:12.873Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-24T06:12:12.873Z] ---> Running in a14c538ce249 [2023-04-24T06:12:12.873Z] Removing intermediate container a14c538ce249 [2023-04-24T06:12:12.873Z] ---> 516868685899 [2023-04-24T06:12:12.873Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:12:12.873Z] ---> Running in ab78434f202b [2023-04-24T06:12:12.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:12:12.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:12:12.873Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:12:12.873Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:12:12.873Z] OK: 8 MiB in 16 packages [2023-04-24T06:12:13.838Z] Removing intermediate container ab78434f202b [2023-04-24T06:12:13.838Z] ---> dc954316499c [2023-04-24T06:12:13.838Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-24T06:12:14.807Z] ---> d6472f578fc5 [2023-04-24T06:12:14.807Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-24T06:12:15.391Z] ---> 64c1b30a8276 [2023-04-24T06:12:15.391Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-24T06:12:15.978Z] ---> 0326f0af7cf0 [2023-04-24T06:12:15.978Z] Step 17/22 : EXPOSE 59901 [2023-04-24T06:12:15.978Z] ---> Running in 8d3c32ef0b81 [2023-04-24T06:12:16.245Z] Removing intermediate container 8d3c32ef0b81 [2023-04-24T06:12:16.245Z] ---> d63cc4f83504 [2023-04-24T06:12:16.245Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-24T06:12:16.245Z] ---> Running in eb7935e9b63e [2023-04-24T06:12:16.529Z] Removing intermediate container eb7935e9b63e [2023-04-24T06:12:16.529Z] ---> 326ff64fc3d2 [2023-04-24T06:12:16.529Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T06:12:16.799Z] ---> Running in bd900ae8500f [2023-04-24T06:12:17.067Z] Removing intermediate container bd900ae8500f [2023-04-24T06:12:17.067Z] ---> 4ae9e5bbb114 [2023-04-24T06:12:17.067Z] Step 20/22 : LABEL arch=arm64 [2023-04-24T06:12:17.067Z] ---> Running in 826d9cdeac69 [2023-04-24T06:12:17.335Z] Removing intermediate container 826d9cdeac69 [2023-04-24T06:12:17.335Z] ---> 5383c2822b09 [2023-04-24T06:12:17.335Z] Step 21/22 : LABEL git_sha=eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [2023-04-24T06:12:17.602Z] ---> Running in c2581c79708b [2023-04-24T06:12:17.869Z] Removing intermediate container c2581c79708b [2023-04-24T06:12:17.869Z] ---> 790f6f82c675 [2023-04-24T06:12:17.869Z] Step 22/22 : LABEL version=0.0.0 [2023-04-24T06:12:17.869Z] ---> Running in 9acb33b0f270 [2023-04-24T06:12:18.135Z] Removing intermediate container 9acb33b0f270 [2023-04-24T06:12:18.135Z] ---> 9bbe7f0f803b [2023-04-24T06:12:18.135Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:12:18.135Z] Successfully built 9bbe7f0f803b [2023-04-24T06:12:18.135Z] 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-24T06:12:18.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:12:18.939Z] [2023-04-24T06:12:18.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:12:19.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:12:19.343Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:12:19.343Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:12:19.343Z] 04944245beec: Pulling fs layer [2023-04-24T06:12:19.343Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:12:19.343Z] 765212b225bb: Pulling fs layer [2023-04-24T06:12:19.343Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:12:19.343Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:12:19.343Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:12:19.343Z] 765212b225bb: Waiting [2023-04-24T06:12:19.343Z] f23df028b6ca: Waiting [2023-04-24T06:12:19.343Z] d65c8cfc05b1: Waiting [2023-04-24T06:12:19.343Z] 2437ff75d9bd: Waiting [2023-04-24T06:12:19.612Z] 04944245beec: Verifying Checksum [2023-04-24T06:12:19.612Z] 04944245beec: Download complete [2023-04-24T06:12:19.612Z] 765212b225bb: Verifying Checksum [2023-04-24T06:12:19.612Z] 765212b225bb: Download complete [2023-04-24T06:12:19.612Z] f23df028b6ca: Verifying Checksum [2023-04-24T06:12:19.612Z] f23df028b6ca: Download complete [2023-04-24T06:12:19.612Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T06:12:19.612Z] d65c8cfc05b1: Download complete [2023-04-24T06:12:19.612Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:12:19.612Z] 699f458cf7ca: Download complete [2023-04-24T06:12:20.298Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T06:12:20.298Z] 8998bd30e6a1: Download complete [2023-04-24T06:12:22.920Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:12:22.920Z] 2437ff75d9bd: Download complete [2023-04-24T06:12:24.353Z] 8998bd30e6a1: Pull complete [2023-04-24T06:12:24.938Z] 04944245beec: Pull complete [2023-04-24T06:12:26.349Z] 699f458cf7ca: Pull complete [2023-04-24T06:12:26.349Z] 765212b225bb: Pull complete [2023-04-24T06:12:26.935Z] f23df028b6ca: Pull complete [2023-04-24T06:12:27.204Z] d65c8cfc05b1: Pull complete [2023-04-24T06:12:42.220Z] 2437ff75d9bd: Pull complete [2023-04-24T06:12:42.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:12:42.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:12:42.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:12:42.548Z] prd-ubuntu20.04-docker-arm64-4c-16g-9493 does not seem to be running inside a container [2023-04-24T06:12:42.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T06:12:45.287Z] $ docker top 00e53fd3a74f49373bc6cb3038295ce78de378ab58c158b0e6c1dd2d39a77121 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:46.198Z] ---> job-cost.sh [2023-04-24T06:12:46.198Z] lf-activate-venv: SKIPPING [2023-04-24T06:12:46.198Z] INFO: No Stack... [2023-04-24T06:12:46.782Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:12:47.366Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:12:47.708Z] + cut -d, -f6 [2023-04-24T06:12:47.708Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-04-24T06:12:48.063Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] [2023-04-24T06:12:48.068Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] did not exist. Created. [2023-04-24T06:12:48.068Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:12:48.806Z] /w/workspace/device-modbus-go/1@tmp/durable-48468aab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:12:49.477Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:12:49.515Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:12:49.566Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:12:49.583Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-462-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:12:49.678Z] $ docker stop --time=1 00e53fd3a74f49373bc6cb3038295ce78de378ab58c158b0e6c1dd2d39a77121 [2023-04-24T06:12:51.173Z] $ docker rm -f --volumes 00e53fd3a74f49373bc6cb3038295ce78de378ab58c158b0e6c1dd2d39a77121 [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-24T06:12:52.193Z] provisioning config files... [2023-04-24T06:12:52.200Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp/config3207584697214809892tmp [Pipeline] { [Pipeline] sh [2023-04-24T06:12:52.535Z] + set +x [2023-04-24T06:12:52.535Z] + bash -s -- [2023-04-24T06:12:52.535Z] + curl -s https://codecov.io/bash [2023-04-24T06:12:52.535Z] [2023-04-24T06:12:52.535Z] _____ _ [2023-04-24T06:12:52.535Z] / ____| | | [2023-04-24T06:12:52.535Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T06:12:52.535Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T06:12:52.535Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T06:12:52.535Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T06:12:52.535Z] Bash-1.0.6 [2023-04-24T06:12:52.535Z] [2023-04-24T06:12:52.535Z] [2023-04-24T06:12:52.535Z] ==> git version 2.25.1 found [2023-04-24T06:12:52.535Z] ==> 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-24T06:12:52.535Z] Release-Date: 2020-01-08 [2023-04-24T06:12:52.535Z] 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-24T06:12:52.535Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T06:12:52.535Z] ==> Jenkins CI detected. [2023-04-24T06:12:52.535Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-462 [2023-04-24T06:12:52.535Z] project root: . [2023-04-24T06:12:52.535Z] --> token set from env [2023-04-24T06:12:52.535Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T06:12:52.535Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T06:12:52.535Z] ==> Python coveragepy not found [2023-04-24T06:12:52.535Z] ==> Searching for coverage reports in: [2023-04-24T06:12:52.535Z] + . [2023-04-24T06:12:52.535Z] -> Found 1 reports [2023-04-24T06:12:52.535Z] ==> Detecting git/mercurial file structure [2023-04-24T06:12:52.535Z] ==> Reading reports [2023-04-24T06:12:52.535Z] + ./coverage.out bytes=24160 [2023-04-24T06:12:52.535Z] ==> Appending adjustments [2023-04-24T06:12:52.535Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T06:12:52.793Z] + Found adjustments [2023-04-24T06:12:52.793Z] ==> Gzipping contents [2023-04-24T06:12:52.793Z] 4.0K /tmp/codecov.npaKFb.gz [2023-04-24T06:12:52.793Z] ==> Uploading reports [2023-04-24T06:12:52.793Z] url: https://codecov.io [2023-04-24T06:12:52.793Z] query: branch=PR-462&commit=eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-462%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=462&job=&cmd_args= [2023-04-24T06:12:52.793Z] -> Pinging Codecov [2023-04-24T06:12:52.793Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-462&commit=eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-462%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=462&job=&cmd_args= [2023-04-24T06:12:52.793Z] -> Uploading to [2023-04-24T06:12:52.793Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/55DBCA73C666E3227836607328DD7E49/eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac/25db1919-d2ae-418a-bc3f-639f6ff80513.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T061252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=53ad6bd95683b3a372cda6e8797aeaf0786616f33739e907652983e13f0ae6e8 [2023-04-24T06:12:52.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:12:52.793Z] Dload Upload Total Spent Left Speed [2023-04-24T06:12:53.051Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18251 --:--:-- --:--:-- --:--:-- 18166 [2023-04-24T06:12:53.051Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/eca0f97673401f5dbcdc55f53cdd05ebcb8ab7ac [Pipeline] } [2023-04-24T06:12:53.080Z] 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-24T06:12:54.830Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-462/archives ] [2023-04-24T06:12:54.830Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-462/archives [2023-04-24T06:12:54.830Z] total 16 [2023-04-24T06:12:54.830Z] drwxr-xr-x 3 root root 4096 Apr 24 06:02 . [2023-04-24T06:12:54.830Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:02 .. [2023-04-24T06:12:54.830Z] drwxr-xr-x 2 root root 4096 Apr 24 06:02 cost [2023-04-24T06:12:54.830Z] -rw-r--r-- 1 root root 88 Apr 24 06:02 cost.csv [2023-04-24T06:12:54.830Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-462/archives [2023-04-24T06:12:54.830Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-462/archives [2023-04-24T06:12:54.830Z] total 16 [2023-04-24T06:12:54.830Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:02 . [2023-04-24T06:12:54.830Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:02 .. [2023-04-24T06:12:54.830Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:02 cost [2023-04-24T06:12:54.830Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 24 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:55.155Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:56.046Z] ---> package-listing.sh [2023-04-24T06:12:56.046Z] ++ facter osfamily [2023-04-24T06:12:56.046Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:12:56.306Z] + OS_FAMILY=debian [2023-04-24T06:12:56.306Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-462 [2023-04-24T06:12:56.306Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:12:56.306Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:12:56.306Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:12:56.306Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:12:56.306Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-462 ']' [2023-04-24T06:12:56.306Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:12:56.306Z] + case "${OS_FAMILY}" in [2023-04-24T06:12:56.306Z] + dpkg -l [2023-04-24T06:12:56.306Z] + grep '^ii' [2023-04-24T06:12:56.306Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:12:56.306Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:12:56.306Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:12:56.306Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-462 ']' [2023-04-24T06:12:56.306Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-462/archives/ [2023-04-24T06:12:56.306Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-462/archives/ [Pipeline] echo [2023-04-24T06:12:56.341Z] 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-462/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T06:12:56.637Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:12:57.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:12:57.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:12:57.411Z] prd-ubuntu20.04-docker-8c-8g-9489 does not seem to be running inside a container [2023-04-24T06:12:57.441Z] $ 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-462/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-462 -v /w/workspace/xfoundry_device-modbus-go_PR-462:/w/workspace/xfoundry_device-modbus-go_PR-462:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-462@tmp:/w/workspace/xfoundry_device-modbus-go_PR-462@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-24T06:12:57.652Z] $ docker top adb473f21c9b1a1a2a4f614ff2a3bf2968615bfbe798e1ad62365e28afde56d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:12:58.034Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:12:58.343Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:12:58.650Z] + ls /var/log/sa-host [2023-04-24T06:12:58.650Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:12:58.790Z] provisioning config files... [2023-04-24T06:12:58.800Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-462@tmp/config18188288985709911058tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:12:58.848Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:59.163Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:12:59.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:59.588Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:12:59.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:12:59.933Z] ---> sudo-logs.sh [2023-04-24T06:12:59.933Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:13:00.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:13:00.326Z] ---> job-cost.sh [2023-04-24T06:13:00.326Z] lf-activate-venv: SKIPPING [2023-04-24T06:13:00.326Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:13:00.326Z] INFO: Retrieving Stack Cost... [2023-04-24T06:13:00.584Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:13:01.153Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:13:01.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:13:01.498Z] ---> logs-deploy.sh [2023-04-24T06:13:01.498Z] lf-activate-venv: SKIPPING [2023-04-24T06:13:01.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-462/1 [2023-04-24T06:13:01.498Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:13:02.434Z] Archives upload complete. [2023-04-24T06:13:02.694Z] INFO: archiving logs to Nexus [2023-04-24T06:13:03.263Z] ---> uname -a: [2023-04-24T06:13:03.263Z] Linux prd-ubuntu20-04-docker-8c-8g-9489 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] ---> lscpu: [2023-04-24T06:13:03.263Z] Architecture: x86_64 [2023-04-24T06:13:03.263Z] CPU op-mode(s): 32-bit, 64-bit [2023-04-24T06:13:03.263Z] Byte Order: Little Endian [2023-04-24T06:13:03.263Z] Address sizes: 40 bits physical, 48 bits virtual [2023-04-24T06:13:03.263Z] CPU(s): 8 [2023-04-24T06:13:03.263Z] On-line CPU(s) list: 0-7 [2023-04-24T06:13:03.263Z] Thread(s) per core: 1 [2023-04-24T06:13:03.263Z] Core(s) per socket: 1 [2023-04-24T06:13:03.263Z] Socket(s): 8 [2023-04-24T06:13:03.263Z] NUMA node(s): 1 [2023-04-24T06:13:03.263Z] Vendor ID: AuthenticAMD [2023-04-24T06:13:03.263Z] CPU family: 23 [2023-04-24T06:13:03.263Z] Model: 49 [2023-04-24T06:13:03.263Z] Model name: AMD EPYC-Rome Processor [2023-04-24T06:13:03.263Z] Stepping: 0 [2023-04-24T06:13:03.263Z] CPU MHz: 2800.000 [2023-04-24T06:13:03.263Z] BogoMIPS: 5600.00 [2023-04-24T06:13:03.263Z] Virtualization: AMD-V [2023-04-24T06:13:03.263Z] Hypervisor vendor: KVM [2023-04-24T06:13:03.263Z] Virtualization type: full [2023-04-24T06:13:03.263Z] L1d cache: 256 KiB [2023-04-24T06:13:03.263Z] L1i cache: 256 KiB [2023-04-24T06:13:03.263Z] L2 cache: 4 MiB [2023-04-24T06:13:03.263Z] L3 cache: 128 MiB [2023-04-24T06:13:03.263Z] NUMA node0 CPU(s): 0-7 [2023-04-24T06:13:03.263Z] Vulnerability Itlb multihit: Not affected [2023-04-24T06:13:03.263Z] Vulnerability L1tf: Not affected [2023-04-24T06:13:03.263Z] Vulnerability Mds: Not affected [2023-04-24T06:13:03.263Z] Vulnerability Meltdown: Not affected [2023-04-24T06:13:03.263Z] Vulnerability Mmio stale data: Not affected [2023-04-24T06:13:03.263Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-04-24T06:13:03.263Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-04-24T06:13:03.263Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-04-24T06:13:03.263Z] Vulnerability Srbds: Not affected [2023-04-24T06:13:03.263Z] Vulnerability Tsx async abort: Not affected [2023-04-24T06:13:03.263Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] ---> nproc: [2023-04-24T06:13:03.263Z] 8 [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] ---> df -h: [2023-04-24T06:13:03.263Z] Filesystem Size Used Avail Use% Mounted on [2023-04-24T06:13:03.263Z] overlay 155G 12G 144G 8% / [2023-04-24T06:13:03.263Z] tmpfs 64M 0 64M 0% /dev [2023-04-24T06:13:03.263Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-04-24T06:13:03.263Z] shm 64M 0 64M 0% /dev/shm [2023-04-24T06:13:03.263Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] ---> sar -b -r -n DEV: [2023-04-24T06:13:03.263Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9489) 04/24/23 _x86_64_ (8 CPU) [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] 05:59:26 LINUX RESTART (8 CPU) [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] 06:00:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-04-24T06:13:03.263Z] 06:01:01 218.98 11.35 207.63 0.00 1740.86 83249.75 0.00 [2023-04-24T06:13:03.263Z] 06:02:01 144.19 0.23 143.96 0.00 17.86 27441.56 0.00 [2023-04-24T06:13:03.263Z] 06:03:01 31.54 0.00 31.54 0.00 0.00 16453.14 0.00 [2023-04-24T06:13:03.263Z] 06:04:01 4.18 1.02 3.17 0.00 21.86 39.99 0.00 [2023-04-24T06:13:03.263Z] 06:05:01 38.03 11.83 26.20 0.00 5437.23 6290.28 0.00 [2023-04-24T06:13:03.263Z] 06:06:01 4.03 0.00 4.03 0.00 0.00 48.66 0.00 [2023-04-24T06:13:03.263Z] 06:07:01 1.35 0.00 1.35 0.00 0.00 16.26 0.00 [2023-04-24T06:13:03.263Z] 06:08:01 1.97 0.00 1.97 0.00 0.00 21.60 0.00 [2023-04-24T06:13:03.263Z] 06:09:01 1.35 0.00 1.35 0.00 0.00 15.46 0.00 [2023-04-24T06:13:03.263Z] 06:10:01 2.65 0.00 2.65 0.00 0.00 42.13 0.00 [2023-04-24T06:13:03.263Z] 06:11:01 1.42 0.00 1.42 0.00 0.00 15.86 0.00 [2023-04-24T06:13:03.263Z] 06:12:01 2.05 0.00 2.05 0.00 0.00 23.33 0.00 [2023-04-24T06:13:03.263Z] 06:13:01 6.20 0.28 5.92 0.00 22.40 112.65 0.00 [2023-04-24T06:13:03.263Z] Average: 34.99 1.89 33.10 0.00 555.41 10196.15 0.00 [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] 06:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-04-24T06:13:03.263Z] 06:01:01 28477104 31588480 718840 2.19 145032 3175132 1981868 5.84 1062992 2907296 592 [2023-04-24T06:13:03.263Z] 06:02:01 27578072 31555560 747104 2.27 158272 3958940 2102704 6.20 1263088 3529764 538152 [2023-04-24T06:13:03.263Z] 06:03:01 27690652 31587740 714052 2.17 158788 3878060 1784072 5.26 1243144 3436416 8 [2023-04-24T06:13:03.263Z] 06:04:01 27690132 31588300 713944 2.17 158920 3878680 1807680 5.33 1243600 3436940 12 [2023-04-24T06:13:03.263Z] 06:05:01 27323136 31576648 715956 2.18 167204 4211548 1825608 5.38 1474752 3549424 904 [2023-04-24T06:13:03.263Z] 06:06:01 27324436 31577992 714516 2.17 167276 4211544 1825608 5.38 1469876 3549428 8 [2023-04-24T06:13:03.263Z] 06:07:01 27331292 31585028 707356 2.15 167376 4211556 1825608 5.38 1463448 3549432 32 [2023-04-24T06:13:03.263Z] 06:08:01 27331348 31585140 707156 2.15 167460 4211556 1825608 5.38 1463500 3549436 16 [2023-04-24T06:13:03.263Z] 06:09:01 27331288 31585516 707296 2.15 167524 4211560 1825608 5.38 1463276 3549768 16 [2023-04-24T06:13:03.263Z] 06:10:01 27331192 31585516 707172 2.15 167676 4211532 1825608 5.38 1463456 3549744 8 [2023-04-24T06:13:03.263Z] 06:11:01 27331208 31585624 707024 2.15 167744 4211532 1825608 5.38 1463536 3549744 12 [2023-04-24T06:13:03.263Z] 06:12:01 27331276 31585896 706564 2.15 167840 4211544 1825608 5.38 1464412 3549756 180 [2023-04-24T06:13:03.263Z] 06:13:01 27267576 31526468 760596 2.31 168052 4212968 1875896 5.53 1521876 3546876 376 [2023-04-24T06:13:03.263Z] Average: 27487593 31577993 717506 2.18 163782 4061242 1858237 5.48 1389304 3481079 41563 [2023-04-24T06:13:03.263Z] [2023-04-24T06:13:03.263Z] 06:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-04-24T06:13:03.263Z] 06:01:01 docker0 187.24 316.13 15.24 2059.24 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:01:01 ens3 578.61 342.20 7881.75 51.60 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:01:01 veth5922356 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:01:01 lo 5.90 5.90 0.58 0.58 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:02:01 docker0 2.85 6.42 0.18 85.51 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:02:01 ens3 143.98 100.38 2690.15 97.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:02:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:03:01 ens3 11.80 7.33 12.53 4.62 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:03:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:04:01 ens3 1.80 0.83 1.98 0.60 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:05:01 ens3 136.93 72.34 1952.60 5.14 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:05:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:06:01 ens3 0.38 0.23 0.02 0.02 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:07:01 ens3 0.25 0.08 0.07 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.263Z] 06:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:08:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:09:01 ens3 0.20 0.00 0.02 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:10:01 ens3 0.38 0.20 0.09 0.07 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:11:01 ens3 0.50 0.00 0.05 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:12:01 ens3 0.73 0.57 0.33 0.22 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:13:01 ens3 27.33 17.23 30.22 10.20 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] 06:13:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] Average: docker0 14.40 24.44 1.17 162.55 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] Average: ens3 68.81 41.27 958.01 12.99 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] Average: lo 0.77 0.77 0.07 0.07 0.00 0.00 0.00 0.00 [2023-04-24T06:13:03.264Z] [2023-04-24T06:13:03.264Z]