Pull request #502 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e7d4f928b35e767f084d3bb0adede9b769adbb2f+51bdb209bfe3268f564ccfe93ba09768b0d9e930 (684101d5be1748d1d1e8cd2e3f2ab6f2bce06df9) 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-ssh11357299141027269805.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12586109842210220952.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-502/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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1130001704854434040.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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6972511977174152157.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9619540632876599638.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-502/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-502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9178677923963043159.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6665’ Running on prd-ubuntu20.04-docker-8c-8g-6668 in /w/workspace/xfoundry_device-modbus-go_PR-502 [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-502 # 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 Merging remotes/origin/main commit 51bdb209bfe3268f564ccfe93ba09768b0d9e930 into PR head commit e7d4f928b35e767f084d3bb0adede9b769adbb2f > 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/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7d4f928b35e767f084d3bb0adede9b769adbb2f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing e7d4f928b35e767f084d3bb0adede9b769adbb2f Checking out Revision e7d4f928b35e767f084d3bb0adede9b769adbb2f (PR-502) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T05:13:49.701Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T05:13:49.875Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T05:13:49.974Z] ========================================================= [2023-09-20T05:13:49.974Z] EdgeX Global Pipelines Version Info [2023-09-20T05:13:49.974Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7d4f928b35e767f084d3bb0adede9b769adbb2f # timeout=10 [2023-09-20T05:13:50.713Z] ------------------- [2023-09-20T05:13:50.713Z] stable info: [2023-09-20T05:13:50.713Z] ------------------- [2023-09-20T05:13:50.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T05:13:50.713Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:13:50.713Z] Message: update stable to v1.0.254 [2023-09-20T05:13:51.284Z] ------------------- [2023-09-20T05:13:51.284Z] experimental info: [2023-09-20T05:13:51.284Z] ------------------- [2023-09-20T05:13:51.284Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T05:13:51.284Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:13:51.284Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T05:13:51.600Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-20T05:13:51.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-20T05:13:51.681Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T05:13:51.723Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T05:13:51.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T05:13:51.812Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T05:13:51.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T05:13:51.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T05:13:51.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T05:13:51.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T05:13:52.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T05:13:52.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-20T05:13:52.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T05:13:52.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T05:13:52.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T05:13:52.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T05:13:52.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:13:52.310Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:13:52.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T05:13:52.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T05:13:52.450Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T05:13:52.490Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T05:13:52.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T05:13:52.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T05:13:52.613Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T05:13:52.654Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T05:13:52.691Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T05:13:52.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-502 [Pipeline] echo [2023-09-20T05:13:52.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-502 [Pipeline] echo [2023-09-20T05:13:52.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-502 [Pipeline] echo [2023-09-20T05:13:52.847Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7d4f928b35e767f084d3bb0adede9b769adbb2f [Pipeline] echo [2023-09-20T05:13:52.903Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7d4f92 [Pipeline] echo [2023-09-20T05:13:52.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:13:53.064Z] provisioning config files... [2023-09-20T05:13:53.078Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp/config3161150162768237078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:13:53.432Z] ---> docker-login.sh [2023-09-20T05:13:53.432Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:13:53.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:13:53.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:13:53.693Z] Configure a credential helper to remove this warning. See [2023-09-20T05:13:53.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:13:53.693Z] [2023-09-20T05:13:53.693Z] Login Succeeded [2023-09-20T05:13:53.693Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:13:53.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:13:53.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:13:53.952Z] Configure a credential helper to remove this warning. See [2023-09-20T05:13:53.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:13:53.952Z] [2023-09-20T05:13:53.952Z] Login Succeeded [2023-09-20T05:13:53.952Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:13:53.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:13:53.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:13:53.952Z] Configure a credential helper to remove this warning. See [2023-09-20T05:13:53.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:13:53.952Z] [2023-09-20T05:13:53.952Z] Login Succeeded [2023-09-20T05:13:53.952Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:13:53.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:13:53.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:13:53.952Z] Configure a credential helper to remove this warning. See [2023-09-20T05:13:53.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:13:53.952Z] [2023-09-20T05:13:53.952Z] Login Succeeded [2023-09-20T05:13:53.952Z] docker.io [2023-09-20T05:13:54.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:13:54.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:13:54.474Z] Configure a credential helper to remove this warning. See [2023-09-20T05:13:54.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:13:54.474Z] [2023-09-20T05:13:54.474Z] Login Succeeded [2023-09-20T05:13:54.474Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:13:54.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T05:13:55.155Z] + git rev-list -1 --merges e7d4f928b35e767f084d3bb0adede9b769adbb2f~1..e7d4f928b35e767f084d3bb0adede9b769adbb2f [Pipeline] echo [2023-09-20T05:13:55.239Z] -----------> git rev-list -1 --merges e7d4f928b35e767f084d3bb0adede9b769adbb2f~1..e7d4f928b35e767f084d3bb0adede9b769adbb2f e7d4f928b35e767f084d3bb0adede9b769adbb2f [false] [Pipeline] sh [2023-09-20T05:13:55.588Z] + git log --format=format:%s -1 e7d4f928b35e767f084d3bb0adede9b769adbb2f [Pipeline] echo [2023-09-20T05:13:55.625Z] ========================================================= [2023-09-20T05:13:55.625Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T05:13:55.625Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:13:56.046Z] + git log --format=format:%s -1 e7d4f928b35e767f084d3bb0adede9b769adbb2f [Pipeline] echo [2023-09-20T05:13:56.081Z] [semverPrep] GIT_COMMIT: e7d4f928b35e767f084d3bb0adede9b769adbb2f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-20T05:13:56.111Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T05:13:56.489Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T05:13:56.489Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T05:13:56.489Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T05:13:56.489Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T05:13:56.489Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T05:13:56.489Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T05:13:56.489Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:13:56.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:13:56.917Z] [2023-09-20T05:13:56.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:13:57.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:13:57.313Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T05:13:57.313Z] b85a868b505f: Pulling fs layer [2023-09-20T05:13:57.313Z] e2be974225ed: Pulling fs layer [2023-09-20T05:13:57.313Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T05:13:57.313Z] 988bab9f4d93: Pulling fs layer [2023-09-20T05:13:57.313Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T05:13:57.313Z] eaf3925da568: Pulling fs layer [2023-09-20T05:13:57.313Z] bab4dde63d76: Pulling fs layer [2023-09-20T05:13:57.313Z] bde34c3a00c8: Pulling fs layer [2023-09-20T05:13:57.313Z] b352a97aabf1: Pulling fs layer [2023-09-20T05:13:57.313Z] 988bab9f4d93: Waiting [2023-09-20T05:13:57.313Z] 1469e6f7b9e6: Waiting [2023-09-20T05:13:57.313Z] eaf3925da568: Waiting [2023-09-20T05:13:57.313Z] bab4dde63d76: Waiting [2023-09-20T05:13:57.313Z] bde34c3a00c8: Waiting [2023-09-20T05:13:57.313Z] 4872d77fe225: Pulling fs layer [2023-09-20T05:13:57.313Z] 5851b861e8e6: Pulling fs layer [2023-09-20T05:13:57.313Z] b352a97aabf1: Waiting [2023-09-20T05:13:57.313Z] 5851b861e8e6: Waiting [2023-09-20T05:13:57.313Z] 4872d77fe225: Waiting [2023-09-20T05:13:57.313Z] e2be974225ed: Download complete [2023-09-20T05:13:57.313Z] 988bab9f4d93: Download complete [2023-09-20T05:13:57.572Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T05:13:57.572Z] 1469e6f7b9e6: Download complete [2023-09-20T05:13:57.572Z] eaf3925da568: Verifying Checksum [2023-09-20T05:13:57.572Z] eaf3925da568: Download complete [2023-09-20T05:13:57.572Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T05:13:57.572Z] 339a4e72a1f5: Download complete [2023-09-20T05:13:57.572Z] bde34c3a00c8: Verifying Checksum [2023-09-20T05:13:57.572Z] bde34c3a00c8: Download complete [2023-09-20T05:13:57.572Z] b352a97aabf1: Verifying Checksum [2023-09-20T05:13:57.572Z] b352a97aabf1: Download complete [2023-09-20T05:13:57.572Z] 4872d77fe225: Verifying Checksum [2023-09-20T05:13:57.572Z] 4872d77fe225: Download complete [2023-09-20T05:13:57.572Z] 5851b861e8e6: Download complete [2023-09-20T05:13:57.572Z] b85a868b505f: Download complete [2023-09-20T05:13:57.830Z] bab4dde63d76: Verifying Checksum [2023-09-20T05:13:57.830Z] bab4dde63d76: Download complete [2023-09-20T05:13:58.765Z] b85a868b505f: Pull complete [2023-09-20T05:13:59.024Z] e2be974225ed: Pull complete [2023-09-20T05:13:59.595Z] 339a4e72a1f5: Pull complete [2023-09-20T05:13:59.595Z] 988bab9f4d93: Pull complete [2023-09-20T05:13:59.855Z] 1469e6f7b9e6: Pull complete [2023-09-20T05:13:59.855Z] eaf3925da568: Pull complete [2023-09-20T05:14:01.758Z] bab4dde63d76: Pull complete [2023-09-20T05:14:01.758Z] bde34c3a00c8: Pull complete [2023-09-20T05:14:01.758Z] b352a97aabf1: Pull complete [2023-09-20T05:14:02.022Z] 4872d77fe225: Pull complete [2023-09-20T05:14:02.022Z] 5851b861e8e6: Pull complete [2023-09-20T05:14:02.022Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T05:14:02.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:14:02.022Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:14:02.262Z] prd-ubuntu20.04-docker-8c-8g-6668 does not seem to be running inside a container [2023-09-20T05:14:02.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-502 -v /w/workspace/xfoundry_device-modbus-go_PR-502:/w/workspace/xfoundry_device-modbus-go_PR-502:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-502@tmp:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T05:14:04.758Z] $ docker top d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 -eo pid,comm [2023-09-20T05:14:04.812Z] 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-09-20T05:14:04.812Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T05:14:04.932Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:14:04.932Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:14:05.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:14:05.073Z] $ docker exec d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 ssh-agent [2023-09-20T05:14:05.178Z] SSH_AUTH_SOCK=/tmp/ssh-xwy2y03IomEr/agent.33 [2023-09-20T05:14:05.178Z] SSH_AGENT_PID=39 [2023-09-20T05:14:05.183Z] Running ssh-add (command line suppressed) [2023-09-20T05:14:05.303Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-502@tmp/private_key_12557628731941161711.key (/w/workspace/xfoundry_device-modbus-go_PR-502@tmp/private_key_12557628731941161711.key) [2023-09-20T05:14:05.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:14:05.647Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T05:14:05.676Z] $ docker exec --env ******** --env ******** d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 ssh-agent -k [2023-09-20T05:14:05.774Z] unset SSH_AUTH_SOCK; [2023-09-20T05:14:05.775Z] unset SSH_AGENT_PID; [2023-09-20T05:14:05.775Z] echo Agent pid 39 killed; [2023-09-20T05:14:05.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T05:14:05.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:14:05.876Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:14:05.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:14:06.006Z] $ docker exec d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 ssh-agent [2023-09-20T05:14:06.116Z] SSH_AUTH_SOCK=/tmp/ssh-kRW0K2m5oCnW/agent.71 [2023-09-20T05:14:06.116Z] SSH_AGENT_PID=77 [2023-09-20T05:14:06.121Z] Running ssh-add (command line suppressed) [2023-09-20T05:14:06.228Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-502@tmp/private_key_11516950960489233202.key (/w/workspace/xfoundry_device-modbus-go_PR-502@tmp/private_key_11516950960489233202.key) [2023-09-20T05:14:06.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:14:06.570Z] + git semver init [2023-09-20T05:14:06.830Z] 2023-09-20 05:14:06,772 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T05:14:06.830Z] 2023-09-20 05:14:06,773 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-502/.semver [2023-09-20T05:14:06.830Z] 2023-09-20 05:14:06,774 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-502/.semver [2023-09-20T05:14:06.830Z] 2023-09-20 05:14:06,774 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-502/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-502, universal_newlines=False, shell=None, istream=None) [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,522 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-502/.git/info/exclude [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-502/.semver/PR-502 with force:False [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,524 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-502/.semver/PR-502 [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,529 [execute] INFO git cat-file --batch-check [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-502/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,536 [execute] INFO git cat-file --batch [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-502/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T05:14:07.768Z] 2023-09-20 05:14:07,542 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-502/.semver/PR-502 [2023-09-20T05:14:07.768Z] 0.0.0 [Pipeline] } [2023-09-20T05:14:07.802Z] $ docker exec --env ******** --env ******** d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 ssh-agent -k [2023-09-20T05:14:07.903Z] unset SSH_AUTH_SOCK; [2023-09-20T05:14:07.903Z] unset SSH_AGENT_PID; [2023-09-20T05:14:07.903Z] echo Agent pid 77 killed; [2023-09-20T05:14:07.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T05:14:08.332Z] + git semver [Pipeline] } [2023-09-20T05:14:08.619Z] $ docker stop --time=1 d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 [2023-09-20T05:14:09.908Z] $ docker rm -f --volumes d3c9098d9f3e6f4c9722c3f8cdf3724f9d5c8d8a2db331f4424a00581e229e48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:14:10.303Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T05:14:10.665Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T05:14:10.682Z] [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-09-20T05:14:11.233Z] provisioning config files... [2023-09-20T05:14:11.243Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp/config6197921708315160971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:14:11.681Z] ---> docker-login.sh [2023-09-20T05:14:11.681Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:14:11.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:14:11.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:14:11.681Z] Configure a credential helper to remove this warning. See [2023-09-20T05:14:11.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:14:11.681Z] [2023-09-20T05:14:11.681Z] Login Succeeded [2023-09-20T05:14:11.681Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:14:11.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:14:11.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:14:11.681Z] Configure a credential helper to remove this warning. See [2023-09-20T05:14:11.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:14:11.681Z] [2023-09-20T05:14:11.681Z] Login Succeeded [2023-09-20T05:14:11.681Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:14:11.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:14:11.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:14:11.941Z] Configure a credential helper to remove this warning. See [2023-09-20T05:14:11.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:14:11.941Z] [2023-09-20T05:14:11.941Z] Login Succeeded [2023-09-20T05:14:11.941Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:14:11.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:14:11.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:14:11.941Z] Configure a credential helper to remove this warning. See [2023-09-20T05:14:11.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:14:11.941Z] [2023-09-20T05:14:11.942Z] Login Succeeded [2023-09-20T05:14:11.942Z] docker.io [2023-09-20T05:14:12.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:14:12.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:14:12.464Z] Configure a credential helper to remove this warning. See [2023-09-20T05:14:12.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:14:12.464Z] [2023-09-20T05:14:12.464Z] Login Succeeded [2023-09-20T05:14:12.464Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:14:12.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T05:14:12.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:14:12.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:14:12.756Z] ========================================================= [2023-09-20T05:14:12.756Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T05:14:12.756Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:14:13.244Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T05:14:13.244Z] Sending build context to Docker daemon 6.472MB [2023-09-20T05:14:13.244Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:14:13.244Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T05:14:13.244Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T05:14:13.244Z] 7264a8db6415: Pulling fs layer [2023-09-20T05:14:13.244Z] c4d48a809fc2: Pulling fs layer [2023-09-20T05:14:13.244Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T05:14:13.244Z] ad3a456e5733: Pulling fs layer [2023-09-20T05:14:13.244Z] 9e4f439ed901: Pulling fs layer [2023-09-20T05:14:13.244Z] feaf6a47b606: Pulling fs layer [2023-09-20T05:14:13.244Z] 5e8b037d7d82: Pulling fs layer [2023-09-20T05:14:13.244Z] 8ac70367396e: Pulling fs layer [2023-09-20T05:14:13.244Z] 6db16350a2e2: Pulling fs layer [2023-09-20T05:14:13.244Z] 9250d5d63582: Pulling fs layer [2023-09-20T05:14:13.244Z] 5e8b037d7d82: Waiting [2023-09-20T05:14:13.244Z] 8ac70367396e: Waiting [2023-09-20T05:14:13.244Z] 6db16350a2e2: Waiting [2023-09-20T05:14:13.244Z] 9250d5d63582: Waiting [2023-09-20T05:14:13.244Z] ad3a456e5733: Waiting [2023-09-20T05:14:13.244Z] 9e4f439ed901: Waiting [2023-09-20T05:14:13.244Z] feaf6a47b606: Waiting [2023-09-20T05:14:13.244Z] c4d48a809fc2: Download complete [2023-09-20T05:14:13.244Z] ad3a456e5733: Verifying Checksum [2023-09-20T05:14:13.244Z] ad3a456e5733: Download complete [2023-09-20T05:14:13.504Z] 9e4f439ed901: Verifying Checksum [2023-09-20T05:14:13.504Z] 9e4f439ed901: Download complete [2023-09-20T05:14:13.504Z] 7264a8db6415: Verifying Checksum [2023-09-20T05:14:13.504Z] 7264a8db6415: Download complete [2023-09-20T05:14:13.504Z] feaf6a47b606: Verifying Checksum [2023-09-20T05:14:13.504Z] feaf6a47b606: Download complete [2023-09-20T05:14:13.504Z] 7264a8db6415: Pull complete [2023-09-20T05:14:13.504Z] 8ac70367396e: Verifying Checksum [2023-09-20T05:14:13.504Z] 8ac70367396e: Download complete [2023-09-20T05:14:13.765Z] c4d48a809fc2: Pull complete [2023-09-20T05:14:13.765Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T05:14:13.765Z] 4f1c88b9dad5: Download complete [2023-09-20T05:14:14.025Z] 6db16350a2e2: Verifying Checksum [2023-09-20T05:14:14.025Z] 6db16350a2e2: Download complete [2023-09-20T05:14:14.025Z] 9250d5d63582: Verifying Checksum [2023-09-20T05:14:14.025Z] 9250d5d63582: Download complete [2023-09-20T05:14:14.284Z] 5e8b037d7d82: Verifying Checksum [2023-09-20T05:14:14.284Z] 5e8b037d7d82: Download complete [2023-09-20T05:14:17.573Z] 4f1c88b9dad5: Pull complete [2023-09-20T05:14:17.573Z] ad3a456e5733: Pull complete [2023-09-20T05:14:17.573Z] 9e4f439ed901: Pull complete [2023-09-20T05:14:17.573Z] feaf6a47b606: Pull complete [2023-09-20T05:14:20.100Z] 5e8b037d7d82: Pull complete [2023-09-20T05:14:20.100Z] 8ac70367396e: Pull complete [2023-09-20T05:14:20.357Z] 6db16350a2e2: Pull complete [2023-09-20T05:14:20.920Z] 9250d5d63582: Pull complete [2023-09-20T05:14:20.920Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-20T05:14:20.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T05:14:20.920Z] ---> fa269f55d9b9 [2023-09-20T05:14:20.920Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-20T05:14:25.161Z] ---> Running in e577a499d085 [2023-09-20T05:14:25.161Z] Removing intermediate container e577a499d085 [2023-09-20T05:14:25.161Z] ---> 6ca7066dd6f9 [2023-09-20T05:14:25.161Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T05:14:25.161Z] ---> Running in d2b9b3831096 [2023-09-20T05:14:25.161Z] Removing intermediate container d2b9b3831096 [2023-09-20T05:14:25.161Z] ---> 9b353c0374e3 [2023-09-20T05:14:25.161Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-20T05:14:25.161Z] ---> Running in 88d2470129c8 [2023-09-20T05:14:25.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:14:25.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:14:25.678Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T05:14:25.678Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-20T05:14:25.678Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T05:14:25.678Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T05:14:25.678Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-20T05:14:25.678Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-20T05:14:25.678Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-20T05:14:25.678Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-20T05:14:25.938Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T05:14:25.938Z] OK: 271 MiB in 64 packages [2023-09-20T05:14:26.066Z] Still waiting to schedule task [2023-09-20T05:14:26.066Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6666’ is offline [2023-09-20T05:14:26.508Z] Removing intermediate container 88d2470129c8 [2023-09-20T05:14:26.508Z] ---> 4a72ed3cca82 [2023-09-20T05:14:26.508Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-20T05:14:26.508Z] ---> Running in ed4ad2db4586 [2023-09-20T05:14:26.508Z] Removing intermediate container ed4ad2db4586 [2023-09-20T05:14:26.508Z] ---> e22e0d74cae7 [2023-09-20T05:14:26.508Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T05:14:26.508Z] ---> 8dc34ff2d1a1 [2023-09-20T05:14:26.508Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:14:26.508Z] ---> Running in 8ad68e474747 [2023-09-20T05:15:34.214Z] Removing intermediate container 8ad68e474747 [2023-09-20T05:15:34.214Z] ---> 7d1b2c4443f9 [2023-09-20T05:15:34.214Z] Step 9/10 : COPY . . [2023-09-20T05:15:34.214Z] ---> fbe117b19ac9 [2023-09-20T05:15:34.214Z] Step 10/10 : RUN ${MAKE} [2023-09-20T05:15:34.214Z] ---> Running in 4a4fb9e0e628 [2023-09-20T05:15:34.214Z] noop [2023-09-20T05:15:34.214Z] Removing intermediate container 4a4fb9e0e628 [2023-09-20T05:15:34.214Z] ---> acaa890067ac [2023-09-20T05:15:34.214Z] Successfully built acaa890067ac [2023-09-20T05:15:34.214Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:15:34.677Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T05:15:34.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:15:34.833Z] prd-ubuntu20.04-docker-8c-8g-6668 does not seem to be running inside a container [2023-09-20T05:15:34.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-502 -v /w/workspace/xfoundry_device-modbus-go_PR-502:/w/workspace/xfoundry_device-modbus-go_PR-502:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-502@tmp:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T05:15:35.219Z] $ docker top 55402e8d0287fb281729b323b37d335effcd59e34f4e08e818a60ac1d1029fdc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:15:35.604Z] + go version [2023-09-20T05:15:35.605Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T05:15:35.648Z] $ docker stop --time=1 55402e8d0287fb281729b323b37d335effcd59e34f4e08e818a60ac1d1029fdc [2023-09-20T05:15:36.897Z] $ docker rm -f --volumes 55402e8d0287fb281729b323b37d335effcd59e34f4e08e818a60ac1d1029fdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:15:37.673Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T05:15:37.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:15:37.835Z] prd-ubuntu20.04-docker-8c-8g-6668 does not seem to be running inside a container [2023-09-20T05:15:37.871Z] $ 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-502 -v /w/workspace/xfoundry_device-modbus-go_PR-502:/w/workspace/xfoundry_device-modbus-go_PR-502:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-502@tmp:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T05:15:38.388Z] $ docker top 608acbb260a3e4063bcd74942a36f279b939521f85f126cdc0b7c592309cb994 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:15:38.779Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-502 [Pipeline] fileExists [Pipeline] sh [2023-09-20T05:15:39.158Z] + make test [2023-09-20T05:15:39.158Z] go test ./... -coverprofile=coverage.out [2023-09-20T05:15:40.535Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-20T05:15:50.543Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-20T05:15:50.543Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-09-20T05:15:52.210Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6670 in /w/workspace/xfoundry_device-modbus-go_PR-502 [Pipeline] { [Pipeline] ws [2023-09-20T05:15:52.284Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-09-20T05:15:52.370Z] Selected Git installation does not exist. Using Default [2023-09-20T05:15:52.370Z] The recommended git tool is: NONE [2023-09-20T05:15:57.400Z] using credential edgex-jenkins-ssh [2023-09-20T05:15:57.416Z] Cloning the remote Git repository [2023-09-20T05:15:57.454Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-20T05:15:57.540Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-09-20T05:15:57.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-20T05:15:57.679Z] > git --version # timeout=10 [2023-09-20T05:15:57.698Z] > git --version # 'git version 2.25.1' [2023-09-20T05:15:57.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:15:57.834Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T05:15:58.790Z] go vet ./... [2023-09-20T05:15:58.864Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-20T05:15:58.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T05:15:59.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-20T05:15:59.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-20T05:15:59.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:15:59.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T05:16:00.176Z] Merging remotes/origin/main commit 51bdb209bfe3268f564ccfe93ba09768b0d9e930 into PR head commit e7d4f928b35e767f084d3bb0adede9b769adbb2f [2023-09-20T05:16:00.433Z] Merge succeeded, producing e7d4f928b35e767f084d3bb0adede9b769adbb2f [2023-09-20T05:16:00.434Z] Checking out Revision e7d4f928b35e767f084d3bb0adede9b769adbb2f (PR-502) [2023-09-20T05:16:00.848Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-20T05:16:00.888Z] > git --version # timeout=10 [2023-09-20T05:16:00.899Z] > git --version # 'git version 2.25.1' [2023-09-20T05:16:00.911Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:16:00.194Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T05:16:00.266Z] > git checkout -f e7d4f928b35e767f084d3bb0adede9b769adbb2f # timeout=10 [2023-09-20T05:16:00.346Z] > git remote # timeout=10 [2023-09-20T05:16:00.363Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T05:16:00.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:16:00.398Z] > git merge 51bdb209bfe3268f564ccfe93ba09768b0d9e930 # timeout=10 [2023-09-20T05:16:00.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T05:16:00.438Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T05:16:00.454Z] > git checkout -f e7d4f928b35e767f084d3bb0adede9b769adbb2f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:16:02.114Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T05:16:02.114Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T05:16:02.114Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T05:16:02.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T05:16:02.198Z] $ docker stop --time=1 608acbb260a3e4063bcd74942a36f279b939521f85f126cdc0b7c592309cb994 [2023-09-20T05:16:02.194Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T05:16:02.194Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:16:02.194Z] Dload Upload Total Spent Left Speed [2023-09-20T05:16:02.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [2023-09-20T05:16:05.301Z] $ docker rm -f --volumes 608acbb260a3e4063bcd74942a36f279b939521f85f126cdc0b7c592309cb994 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-09-20T05:16:05.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T05:16:05.909Z] Stashed 1 file(s) [2023-09-20T05:16:05.911Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-09-20T05:16:06.327Z] + sudo tee /etc/docker/daemon.new [2023-09-20T05:16:06.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [Pipeline] sh [2023-09-20T05:16:06.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T05:16:07.161Z] + ls -al . [2023-09-20T05:16:07.161Z] total 192 [2023-09-20T05:16:07.161Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 05:15 . [2023-09-20T05:16:07.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:13 .. [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:13 .dockerignore [2023-09-20T05:16:07.161Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:15 .git [2023-09-20T05:16:07.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:13 .github [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 20 05:13 .gitignore [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 05:13 .golangci.yml [2023-09-20T05:16:07.161Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:14 .semver [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 20 05:13 Attribution.txt [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 20 05:13 CHANGELOG.md [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 20 05:13 Dockerfile [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:13 GOVERNANCE.md [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 05:13 Jenkinsfile [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 05:13 LICENSE [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 20 05:13 Makefile [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 20 05:13 OWNERS.md [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 20 05:13 README.md [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 05:14 VERSION [2023-09-20T05:16:07.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:13 bin [2023-09-20T05:16:07.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:13 cmd [2023-09-20T05:16:07.161Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 20 05:15 coverage.out [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 20 05:13 go.mod [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 20 05:13 go.sum [2023-09-20T05:16:07.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:13 internal [2023-09-20T05:16:07.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:13 simulator [2023-09-20T05:16:07.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:13 snap [2023-09-20T05:16:07.161Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 20 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:16:07.291Z] { [2023-09-20T05:16:07.291Z] "registry-mirrors": [ [2023-09-20T05:16:07.291Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T05:16:07.291Z] ], [2023-09-20T05:16:07.291Z] "bip": "10.250.0.254/24", [2023-09-20T05:16:07.291Z] "hosts": [ [2023-09-20T05:16:07.291Z] "tcp://0.0.0.0:5555", [2023-09-20T05:16:07.291Z] "unix:///var/run/docker.sock" [2023-09-20T05:16:07.291Z] ], [2023-09-20T05:16:07.291Z] "mtu": 1458, [2023-09-20T05:16:07.291Z] "selinux-enabled": true, [2023-09-20T05:16:07.291Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T05:16:07.291Z] } [2023-09-20T05:16:07.568Z] + 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=e7d4f928b35e767f084d3bb0adede9b769adbb2f --label arch=amd64 --label version=0.0.0 . [2023-09-20T05:16:07.569Z] Sending build context to Docker daemon 6.497MB [2023-09-20T05:16:07.569Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:16:07.569Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-20T05:16:07.569Z] ---> acaa890067ac [2023-09-20T05:16:07.569Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-20T05:16:07.569Z] ---> Running in 9de8854e7b28 [Pipeline] sh [2023-09-20T05:16:07.827Z] Removing intermediate container 9de8854e7b28 [2023-09-20T05:16:07.827Z] ---> 4e3f00fafd5f [2023-09-20T05:16:07.827Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T05:16:07.827Z] ---> Running in 1f7604ac8bcf [2023-09-20T05:16:07.827Z] Removing intermediate container 1f7604ac8bcf [2023-09-20T05:16:07.827Z] ---> cc3c8e879263 [2023-09-20T05:16:07.827Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-20T05:16:07.827Z] ---> Running in 24b4ba1ea035 [2023-09-20T05:16:07.916Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T05:16:08.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:16:08.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:16:08.271Z] + sudo service docker restart [2023-09-20T05:16:08.347Z] OK: 271 MiB in 64 packages [2023-09-20T05:16:08.915Z] Removing intermediate container 24b4ba1ea035 [2023-09-20T05:16:08.915Z] ---> 24b618ea552e [2023-09-20T05:16:08.915Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-20T05:16:08.915Z] ---> Running in b889f653f103 [2023-09-20T05:16:08.915Z] Removing intermediate container b889f653f103 [2023-09-20T05:16:08.915Z] ---> 2e4b49652d11 [2023-09-20T05:16:08.915Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-20T05:16:08.915Z] ---> bbcfb8c62e50 [2023-09-20T05:16:08.915Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:16:08.915Z] ---> Running in 89b7c572662e [2023-09-20T05:16:09.929Z] Removing intermediate container 89b7c572662e [2023-09-20T05:16:09.929Z] ---> f44ca1f3ceed [2023-09-20T05:16:09.929Z] Step 9/22 : COPY . . [2023-09-20T05:16:10.192Z] ---> e90814454480 [2023-09-20T05:16:10.192Z] Step 10/22 : RUN ${MAKE} [2023-09-20T05:16:10.192Z] ---> Running in 239696e245e4 [2023-09-20T05:16:10.453Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:16:26.595Z] provisioning config files... [2023-09-20T05:16:26.621Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config18291054569997187326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:16:27.011Z] ---> docker-login.sh [2023-09-20T05:16:27.011Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:16:27.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:16:27.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:16:27.560Z] Configure a credential helper to remove this warning. See [2023-09-20T05:16:27.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:16:27.560Z] [2023-09-20T05:16:27.560Z] Login Succeeded [2023-09-20T05:16:27.560Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:16:27.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:16:27.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:16:27.830Z] Configure a credential helper to remove this warning. See [2023-09-20T05:16:27.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:16:27.830Z] [2023-09-20T05:16:27.830Z] Login Succeeded [2023-09-20T05:16:28.100Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:16:28.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:16:28.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:16:28.369Z] Configure a credential helper to remove this warning. See [2023-09-20T05:16:28.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:16:28.369Z] [2023-09-20T05:16:28.369Z] Login Succeeded [2023-09-20T05:16:28.369Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:16:28.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:16:28.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:16:28.640Z] Configure a credential helper to remove this warning. See [2023-09-20T05:16:28.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:16:28.640Z] [2023-09-20T05:16:28.640Z] Login Succeeded [2023-09-20T05:16:28.640Z] docker.io [2023-09-20T05:16:28.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:16:29.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:16:29.175Z] Configure a credential helper to remove this warning. See [2023-09-20T05:16:29.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:16:29.175Z] [2023-09-20T05:16:29.175Z] Login Succeeded [2023-09-20T05:16:29.175Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:16:29.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T05:16:29.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:16:29.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:16:29.665Z] ========================================================= [2023-09-20T05:16:29.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T05:16:29.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:16:30.166Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T05:16:30.435Z] Sending build context to Docker daemon 3.359MB [2023-09-20T05:16:30.435Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:16:30.435Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T05:16:30.709Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T05:16:30.709Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T05:16:30.709Z] 5d54e960e981: Pulling fs layer [2023-09-20T05:16:30.709Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T05:16:30.709Z] f0e02332f6b5: Pulling fs layer [2023-09-20T05:16:30.709Z] 66412af1f25a: Pulling fs layer [2023-09-20T05:16:30.709Z] 1baf3a5c0e64: Pulling fs layer [2023-09-20T05:16:30.709Z] 9a37bb91b891: Pulling fs layer [2023-09-20T05:16:30.709Z] a29adfc67d43: Pulling fs layer [2023-09-20T05:16:30.709Z] d5de9f91c1a4: Pulling fs layer [2023-09-20T05:16:30.709Z] f0e02332f6b5: Waiting [2023-09-20T05:16:30.709Z] 66412af1f25a: Waiting [2023-09-20T05:16:30.709Z] 1baf3a5c0e64: Waiting [2023-09-20T05:16:30.709Z] 9a37bb91b891: Waiting [2023-09-20T05:16:30.709Z] a29adfc67d43: Waiting [2023-09-20T05:16:30.709Z] d5de9f91c1a4: Waiting [2023-09-20T05:16:30.709Z] 5d54e960e981: Verifying Checksum [2023-09-20T05:16:30.709Z] 5d54e960e981: Download complete [2023-09-20T05:16:30.709Z] f0e02332f6b5: Verifying Checksum [2023-09-20T05:16:30.709Z] f0e02332f6b5: Download complete [2023-09-20T05:16:30.709Z] 66412af1f25a: Verifying Checksum [2023-09-20T05:16:30.709Z] 66412af1f25a: Download complete [2023-09-20T05:16:30.709Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T05:16:30.709Z] 9fda8d8052c6: Download complete [2023-09-20T05:16:30.982Z] 9a37bb91b891: Verifying Checksum [2023-09-20T05:16:30.982Z] 9a37bb91b891: Download complete [2023-09-20T05:16:31.577Z] a29adfc67d43: Download complete [2023-09-20T05:16:32.171Z] d5de9f91c1a4: Verifying Checksum [2023-09-20T05:16:32.171Z] d5de9f91c1a4: Download complete [2023-09-20T05:16:32.171Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T05:16:32.171Z] c4a7e357bf2a: Download complete [2023-09-20T05:16:32.437Z] Removing intermediate container 239696e245e4 [2023-09-20T05:16:32.437Z] ---> a14c5baad41f [2023-09-20T05:16:32.437Z] Step 11/22 : FROM alpine:3.18 [2023-09-20T05:16:32.437Z] 3.18: Pulling from library/alpine [2023-09-20T05:16:32.437Z] 7264a8db6415: Already exists [2023-09-20T05:16:32.437Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T05:16:32.437Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T05:16:32.437Z] ---> 7e01a0d0a1dc [2023-09-20T05:16:32.437Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-20T05:16:32.437Z] ---> Running in 78c688d5a50b [2023-09-20T05:16:32.437Z] Removing intermediate container 78c688d5a50b [2023-09-20T05:16:32.437Z] ---> 0229ebcab4c3 [2023-09-20T05:16:32.437Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-20T05:16:32.437Z] ---> Running in dd848112f514 [2023-09-20T05:16:32.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:16:32.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:16:32.437Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T05:16:32.437Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T05:16:32.437Z] OK: 7 MiB in 16 packages [2023-09-20T05:16:32.437Z] Removing intermediate container dd848112f514 [2023-09-20T05:16:32.437Z] ---> 892e85b451f5 [2023-09-20T05:16:32.437Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-20T05:16:32.437Z] ---> 24b5939da5fc [2023-09-20T05:16:32.437Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-20T05:16:32.437Z] ---> afc477225df3 [2023-09-20T05:16:32.437Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-20T05:16:32.437Z] ---> 6b1ab16eb255 [2023-09-20T05:16:32.437Z] Step 17/22 : EXPOSE 59901 [2023-09-20T05:16:32.437Z] ---> Running in 2d56e8fa5d9c [2023-09-20T05:16:32.437Z] Removing intermediate container 2d56e8fa5d9c [2023-09-20T05:16:32.437Z] ---> 18c2d3233209 [2023-09-20T05:16:32.437Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-20T05:16:32.437Z] ---> Running in 6cc05b8dc8ba [2023-09-20T05:16:32.437Z] Removing intermediate container 6cc05b8dc8ba [2023-09-20T05:16:32.437Z] ---> a6ed8b735f4c [2023-09-20T05:16:32.437Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T05:16:32.437Z] ---> Running in b9562b5f1407 [2023-09-20T05:16:32.437Z] Removing intermediate container b9562b5f1407 [2023-09-20T05:16:32.437Z] ---> a3edd9c78240 [2023-09-20T05:16:32.437Z] Step 20/22 : LABEL arch=amd64 [2023-09-20T05:16:32.437Z] ---> Running in f2b42420af3c [2023-09-20T05:16:32.437Z] Removing intermediate container f2b42420af3c [2023-09-20T05:16:32.437Z] ---> ce8d1adf585e [2023-09-20T05:16:32.437Z] Step 21/22 : LABEL git_sha=e7d4f928b35e767f084d3bb0adede9b769adbb2f [2023-09-20T05:16:32.437Z] ---> Running in e082db3a48be [2023-09-20T05:16:32.437Z] Removing intermediate container e082db3a48be [2023-09-20T05:16:32.437Z] ---> aec3d0c2f268 [2023-09-20T05:16:32.437Z] Step 22/22 : LABEL version=0.0.0 [2023-09-20T05:16:32.437Z] ---> Running in 253707510f27 [2023-09-20T05:16:32.437Z] Removing intermediate container 253707510f27 [2023-09-20T05:16:32.437Z] ---> 3a7e98c13b3c [2023-09-20T05:16:32.437Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T05:16:32.437Z] Successfully built 3a7e98c13b3c [2023-09-20T05:16:32.437Z] 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-09-20T05:16:33.211Z] 1baf3a5c0e64: Verifying Checksum [2023-09-20T05:16:33.211Z] 1baf3a5c0e64: Download complete [2023-09-20T05:16:33.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:16:33.337Z] [2023-09-20T05:16:33.337Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:16:33.487Z] 9fda8d8052c6: Pull complete [2023-09-20T05:16:33.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:16:33.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T05:16:33.732Z] 5eb5b503b376: Pulling fs layer [2023-09-20T05:16:33.732Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T05:16:33.732Z] ec43610c2a17: Pulling fs layer [2023-09-20T05:16:33.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T05:16:33.732Z] 33b1e0a273af: Pulling fs layer [2023-09-20T05:16:33.732Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T05:16:33.732Z] 2f39f015ded8: Pulling fs layer [2023-09-20T05:16:33.732Z] 33b1e0a273af: Waiting [2023-09-20T05:16:33.732Z] 5d3b04190fa2: Waiting [2023-09-20T05:16:33.732Z] 3a2ae6a8a46f: Waiting [2023-09-20T05:16:33.732Z] 2f39f015ded8: Waiting [2023-09-20T05:16:33.732Z] 5c69ac0246d0: Download complete [2023-09-20T05:16:33.732Z] 3a2ae6a8a46f: Download complete [2023-09-20T05:16:33.732Z] 33b1e0a273af: Verifying Checksum [2023-09-20T05:16:33.732Z] 33b1e0a273af: Download complete [2023-09-20T05:16:33.732Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T05:16:33.732Z] 5d3b04190fa2: Download complete [2023-09-20T05:16:33.732Z] ec43610c2a17: Verifying Checksum [2023-09-20T05:16:33.732Z] ec43610c2a17: Download complete [2023-09-20T05:16:33.991Z] 5eb5b503b376: Verifying Checksum [2023-09-20T05:16:33.991Z] 5eb5b503b376: Download complete [2023-09-20T05:16:34.073Z] 5d54e960e981: Pull complete [2023-09-20T05:16:34.557Z] 2f39f015ded8: Download complete [2023-09-20T05:16:35.125Z] 5eb5b503b376: Pull complete [2023-09-20T05:16:35.383Z] 5c69ac0246d0: Pull complete [2023-09-20T05:16:35.642Z] ec43610c2a17: Pull complete [2023-09-20T05:16:35.642Z] 3a2ae6a8a46f: Pull complete [2023-09-20T05:16:35.901Z] 33b1e0a273af: Pull complete [2023-09-20T05:16:36.159Z] 5d3b04190fa2: Pull complete [2023-09-20T05:16:40.342Z] 2f39f015ded8: Pull complete [2023-09-20T05:16:40.342Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T05:16:40.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:16:40.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:16:40.598Z] prd-ubuntu20.04-docker-8c-8g-6668 does not seem to be running inside a container [2023-09-20T05:16:40.633Z] $ 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-502 -v /w/workspace/xfoundry_device-modbus-go_PR-502:/w/workspace/xfoundry_device-modbus-go_PR-502:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-502@tmp:/w/workspace/xfoundry_device-modbus-go_PR-502@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-09-20T05:16:43.798Z] $ docker top f4f1f49cf8db498683cd2d15daeb3e4fd298cee8e4a0b969d516c1c5c11f2d1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:16:44.246Z] ---> job-cost.sh [2023-09-20T05:16:44.246Z] lf-activate-venv: SKIPPING [2023-09-20T05:16:44.246Z] INFO: No Stack... [2023-09-20T05:16:44.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T05:16:44.764Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T05:16:45.083Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-502/archives/cost.csv [2023-09-20T05:16:45.083Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T05:16:45.125Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] [2023-09-20T05:16:45.130Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] did not exist. Created. [2023-09-20T05:16:45.130Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T05:16:45.526Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T05:16:45.582Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T05:16:45.622Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T05:16:45.717Z] $ docker stop --time=1 f4f1f49cf8db498683cd2d15daeb3e4fd298cee8e4a0b969d516c1c5c11f2d1e [2023-09-20T05:16:46.883Z] $ docker rm -f --volumes f4f1f49cf8db498683cd2d15daeb3e4fd298cee8e4a0b969d516c1c5c11f2d1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T05:16:49.084Z] c4a7e357bf2a: Pull complete [2023-09-20T05:16:49.084Z] f0e02332f6b5: Pull complete [2023-09-20T05:16:49.084Z] 66412af1f25a: Pull complete [2023-09-20T05:16:54.447Z] 1baf3a5c0e64: Pull complete [2023-09-20T05:16:55.858Z] 9a37bb91b891: Pull complete [2023-09-20T05:16:57.267Z] a29adfc67d43: Pull complete [2023-09-20T05:16:58.681Z] d5de9f91c1a4: Pull complete [2023-09-20T05:16:58.681Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-20T05:16:58.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T05:16:58.681Z] ---> 746ca1b523b5 [2023-09-20T05:16:58.681Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-20T05:17:00.643Z] ---> Running in 9649b7458a40 [2023-09-20T05:17:00.643Z] Removing intermediate container 9649b7458a40 [2023-09-20T05:17:00.643Z] ---> 8b2f3fc8a4b8 [2023-09-20T05:17:00.643Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T05:17:00.643Z] ---> Running in 798525b14cba [2023-09-20T05:17:00.910Z] Removing intermediate container 798525b14cba [2023-09-20T05:17:00.910Z] ---> 1b92d781e4c9 [2023-09-20T05:17:00.910Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-20T05:17:01.181Z] ---> Running in 2bcd92c752f7 [2023-09-20T05:17:02.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:17:02.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:17:03.362Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T05:17:03.632Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-20T05:17:03.632Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T05:17:03.632Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T05:17:03.632Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-20T05:17:03.632Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-20T05:17:03.632Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-20T05:17:03.632Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-20T05:17:03.632Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T05:17:03.632Z] OK: 274 MiB in 64 packages [2023-09-20T05:17:04.602Z] Removing intermediate container 2bcd92c752f7 [2023-09-20T05:17:04.602Z] ---> 06d25d3d5c2a [2023-09-20T05:17:04.602Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-20T05:17:04.868Z] ---> Running in 90aa2162ad90 [2023-09-20T05:17:05.134Z] Removing intermediate container 90aa2162ad90 [2023-09-20T05:17:05.134Z] ---> 2cb9bb5e268e [2023-09-20T05:17:05.134Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T05:17:05.407Z] ---> d573fb5e12e8 [2023-09-20T05:17:05.407Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:17:05.678Z] ---> Running in 0c933cc7a944 [2023-09-20T05:18:13.562Z] Removing intermediate container 0c933cc7a944 [2023-09-20T05:18:13.562Z] ---> 12f6c6e89f6b [2023-09-20T05:18:13.562Z] Step 9/10 : COPY . . [2023-09-20T05:18:13.562Z] ---> ca9c5d70781b [2023-09-20T05:18:13.562Z] Step 10/10 : RUN ${MAKE} [2023-09-20T05:18:13.562Z] ---> Running in 33a9985737b6 [2023-09-20T05:18:13.562Z] noop [2023-09-20T05:18:13.562Z] Removing intermediate container 33a9985737b6 [2023-09-20T05:18:13.562Z] ---> 229558781a3d [2023-09-20T05:18:13.562Z] Successfully built 229558781a3d [2023-09-20T05:18:13.562Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:18:14.027Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T05:18:14.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:18:14.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-6670 does not seem to be running inside a container [2023-09-20T05:18:14.355Z] $ 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-09-20T05:18:15.497Z] $ docker top c280014f4c86e631cab08c7d40a0a4b2b5b9b867fc61d1b69e6ce969a7a97dc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:18:16.371Z] + go version [2023-09-20T05:18:16.371Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T05:18:16.402Z] $ docker stop --time=1 c280014f4c86e631cab08c7d40a0a4b2b5b9b867fc61d1b69e6ce969a7a97dc7 [2023-09-20T05:18:17.997Z] $ docker rm -f --volumes c280014f4c86e631cab08c7d40a0a4b2b5b9b867fc61d1b69e6ce969a7a97dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:18:18.878Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T05:18:18.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:18:19.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-6670 does not seem to be running inside a container [2023-09-20T05:18:19.207Z] $ 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-09-20T05:18:21.851Z] $ docker top 128fac51420ce83d39f79ab6709a84a3a22dd8ee334af10f8832b421e4ef4c33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:18:22.382Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T05:18:22.771Z] + make test [2023-09-20T05:18:22.771Z] go test ./... -coverprofile=coverage.out [2023-09-20T05:18:27.029Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-20T05:20:03.698Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-20T05:20:03.698Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.9% of statements [2023-09-20T05:20:03.698Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T05:20:03.698Z] go vet ./... [2023-09-20T05:20:11.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T05:20:11.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T05:20:11.918Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T05:20:11.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T05:20:11.986Z] $ docker stop --time=1 128fac51420ce83d39f79ab6709a84a3a22dd8ee334af10f8832b421e4ef4c33 [2023-09-20T05:20:13.831Z] $ docker rm -f --volumes 128fac51420ce83d39f79ab6709a84a3a22dd8ee334af10f8832b421e4ef4c33 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:20:15.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T05:20:15.061Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T05:20:15.499Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:20:16.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T05:20:16.433Z] + ls -al . [2023-09-20T05:20:16.434Z] total 188 [2023-09-20T05:20:16.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 05:18 . [2023-09-20T05:20:16.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:15 .. [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:16 .dockerignore [2023-09-20T05:20:16.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:16 .git [2023-09-20T05:20:16.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:16 .github [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 20 05:16 .gitignore [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 05:16 .golangci.yml [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 20 05:16 Attribution.txt [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 20 05:16 CHANGELOG.md [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 20 05:16 Dockerfile [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:16 GOVERNANCE.md [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 05:16 Jenkinsfile [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 05:16 LICENSE [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 20 05:16 Makefile [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 20 05:16 OWNERS.md [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 20 05:16 README.md [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 05:14 VERSION [2023-09-20T05:20:16.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:16 bin [2023-09-20T05:20:16.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:16 cmd [2023-09-20T05:20:16.434Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 20 05:19 coverage.out [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 20 05:16 go.mod [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 20 05:16 go.sum [2023-09-20T05:20:16.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:16 internal [2023-09-20T05:20:16.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:16 simulator [2023-09-20T05:20:16.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:16 snap [2023-09-20T05:20:16.434Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 20 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:20:16.858Z] + 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=e7d4f928b35e767f084d3bb0adede9b769adbb2f --label arch=arm64 --label version=0.0.0 . [2023-09-20T05:20:18.275Z] Sending build context to Docker daemon 3.384MB [2023-09-20T05:20:18.275Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:20:18.275Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-20T05:20:18.275Z] ---> 229558781a3d [2023-09-20T05:20:18.275Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-20T05:20:18.543Z] ---> Running in 62e2a03eb307 [2023-09-20T05:20:18.812Z] Removing intermediate container 62e2a03eb307 [2023-09-20T05:20:18.812Z] ---> 7d30d9712871 [2023-09-20T05:20:18.812Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T05:20:18.812Z] ---> Running in e2614e42fa80 [2023-09-20T05:20:19.087Z] Removing intermediate container e2614e42fa80 [2023-09-20T05:20:19.087Z] ---> da69c76e8d83 [2023-09-20T05:20:19.087Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-20T05:20:19.356Z] ---> Running in 9539f963be56 [2023-09-20T05:20:20.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:20:20.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:20:22.000Z] OK: 274 MiB in 64 packages [2023-09-20T05:20:24.578Z] Removing intermediate container 9539f963be56 [2023-09-20T05:20:24.578Z] ---> 4afd4e3bf5a9 [2023-09-20T05:20:24.578Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-20T05:20:24.578Z] ---> Running in 875180ade12a [2023-09-20T05:20:24.847Z] Removing intermediate container 875180ade12a [2023-09-20T05:20:24.847Z] ---> c1f522916384 [2023-09-20T05:20:24.847Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-20T05:20:25.432Z] ---> 9ff7067632ea [2023-09-20T05:20:25.432Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:20:25.432Z] ---> Running in b98e3b2aab90 [2023-09-20T05:20:28.026Z] Removing intermediate container b98e3b2aab90 [2023-09-20T05:20:28.026Z] ---> 69238cd6328f [2023-09-20T05:20:28.026Z] Step 9/22 : COPY . . [2023-09-20T05:20:29.021Z] ---> 68ed9250a101 [2023-09-20T05:20:29.021Z] Step 10/22 : RUN ${MAKE} [2023-09-20T05:20:29.021Z] ---> Running in f912ea9ac653 [2023-09-20T05:20:30.434Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-20T05:22:37.112Z] Removing intermediate container f912ea9ac653 [2023-09-20T05:22:37.112Z] ---> 5082b3705fb8 [2023-09-20T05:22:37.112Z] Step 11/22 : FROM alpine:3.18 [2023-09-20T05:22:37.112Z] 3.18: Pulling from library/alpine [2023-09-20T05:22:37.112Z] 9fda8d8052c6: Already exists [2023-09-20T05:22:37.112Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T05:22:37.112Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T05:22:37.112Z] ---> f6648c04cd6c [2023-09-20T05:22:37.112Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-20T05:22:37.112Z] ---> Running in 1d0c73fd7dcb [2023-09-20T05:22:37.112Z] Removing intermediate container 1d0c73fd7dcb [2023-09-20T05:22:37.112Z] ---> 7e23ecff7f7b [2023-09-20T05:22:37.112Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-20T05:22:37.112Z] ---> Running in edad55aacb15 [2023-09-20T05:22:37.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:22:37.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:22:37.112Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T05:22:37.112Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T05:22:37.112Z] OK: 8 MiB in 16 packages [2023-09-20T05:22:37.112Z] Removing intermediate container edad55aacb15 [2023-09-20T05:22:37.112Z] ---> fd3a5f8156ff [2023-09-20T05:22:37.112Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-20T05:22:37.112Z] ---> a0c782f13c00 [2023-09-20T05:22:37.112Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-20T05:22:37.112Z] ---> bda9fad5f6fe [2023-09-20T05:22:37.112Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-20T05:22:37.112Z] ---> 2de592e16676 [2023-09-20T05:22:37.112Z] Step 17/22 : EXPOSE 59901 [2023-09-20T05:22:37.112Z] ---> Running in de4c0e88b19a [2023-09-20T05:22:37.112Z] Removing intermediate container de4c0e88b19a [2023-09-20T05:22:37.112Z] ---> bea0bc0cd645 [2023-09-20T05:22:37.112Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-20T05:22:37.112Z] ---> Running in 84c98521d475 [2023-09-20T05:22:37.112Z] Removing intermediate container 84c98521d475 [2023-09-20T05:22:37.112Z] ---> b28b3566cad9 [2023-09-20T05:22:37.112Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T05:22:37.112Z] ---> Running in 31d11eca9b5c [2023-09-20T05:22:37.112Z] Removing intermediate container 31d11eca9b5c [2023-09-20T05:22:37.112Z] ---> 1d9474624744 [2023-09-20T05:22:37.112Z] Step 20/22 : LABEL arch=arm64 [2023-09-20T05:22:37.112Z] ---> Running in 1209e5f28049 [2023-09-20T05:22:37.112Z] Removing intermediate container 1209e5f28049 [2023-09-20T05:22:37.112Z] ---> 3faf316ac836 [2023-09-20T05:22:37.112Z] Step 21/22 : LABEL git_sha=e7d4f928b35e767f084d3bb0adede9b769adbb2f [2023-09-20T05:22:37.112Z] ---> Running in 69b322eb5f29 [2023-09-20T05:22:37.112Z] Removing intermediate container 69b322eb5f29 [2023-09-20T05:22:37.112Z] ---> bf53e70fa466 [2023-09-20T05:22:37.112Z] Step 22/22 : LABEL version=0.0.0 [2023-09-20T05:22:37.112Z] ---> Running in 6e0ac03b8e30 [2023-09-20T05:22:37.112Z] Removing intermediate container 6e0ac03b8e30 [2023-09-20T05:22:37.112Z] ---> 672591183ac7 [2023-09-20T05:22:37.112Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T05:22:37.112Z] Successfully built 672591183ac7 [2023-09-20T05:22:37.112Z] 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-09-20T05:22:38.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:22:38.138Z] [2023-09-20T05:22:38.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:22:38.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:22:38.540Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T05:22:38.540Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T05:22:38.540Z] 04944245beec: Pulling fs layer [2023-09-20T05:22:38.540Z] 699f458cf7ca: Pulling fs layer [2023-09-20T05:22:38.540Z] 765212b225bb: Pulling fs layer [2023-09-20T05:22:38.540Z] f23df028b6ca: Pulling fs layer [2023-09-20T05:22:38.540Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T05:22:38.540Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T05:22:38.540Z] 765212b225bb: Waiting [2023-09-20T05:22:38.540Z] f23df028b6ca: Waiting [2023-09-20T05:22:38.540Z] d65c8cfc05b1: Waiting [2023-09-20T05:22:38.540Z] 2437ff75d9bd: Waiting [2023-09-20T05:22:38.808Z] 04944245beec: Verifying Checksum [2023-09-20T05:22:38.808Z] 04944245beec: Download complete [2023-09-20T05:22:38.808Z] 765212b225bb: Download complete [2023-09-20T05:22:38.808Z] f23df028b6ca: Verifying Checksum [2023-09-20T05:22:38.808Z] f23df028b6ca: Download complete [2023-09-20T05:22:38.808Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T05:22:38.808Z] d65c8cfc05b1: Download complete [2023-09-20T05:22:38.808Z] 699f458cf7ca: Verifying Checksum [2023-09-20T05:22:38.808Z] 699f458cf7ca: Download complete [2023-09-20T05:22:39.390Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T05:22:39.390Z] 8998bd30e6a1: Download complete [2023-09-20T05:22:41.334Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T05:22:41.334Z] 2437ff75d9bd: Download complete [2023-09-20T05:22:43.269Z] 8998bd30e6a1: Pull complete [2023-09-20T05:22:43.269Z] 04944245beec: Pull complete [2023-09-20T05:22:44.686Z] 699f458cf7ca: Pull complete [2023-09-20T05:22:44.686Z] 765212b225bb: Pull complete [2023-09-20T05:22:45.647Z] f23df028b6ca: Pull complete [2023-09-20T05:22:45.647Z] d65c8cfc05b1: Pull complete [2023-09-20T05:23:00.824Z] 2437ff75d9bd: Pull complete [2023-09-20T05:23:00.824Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T05:23:00.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:23:00.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:23:01.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-6670 does not seem to be running inside a container [2023-09-20T05:23:01.187Z] $ 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-09-20T05:23:03.696Z] $ docker top e83b833188fbc2ef685e0c49f7ce0e0f1cd7b97ffd22c636f43ed59c54964e7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:04.583Z] ---> job-cost.sh [2023-09-20T05:23:04.583Z] lf-activate-venv: SKIPPING [2023-09-20T05:23:04.583Z] INFO: No Stack... [2023-09-20T05:23:04.847Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T05:23:05.801Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T05:23:06.152Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-09-20T05:23:06.152Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T05:23:06.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] [2023-09-20T05:23:06.230Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] did not exist. Created. [2023-09-20T05:23:06.230Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T05:23:06.653Z] /w/workspace/device-modbus-go/1@tmp/durable-c1b44986/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T05:23:07.010Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T05:23:07.046Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T05:23:07.100Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T05:23:07.115Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T05:23:07.187Z] $ docker stop --time=1 e83b833188fbc2ef685e0c49f7ce0e0f1cd7b97ffd22c636f43ed59c54964e7e [2023-09-20T05:23:08.643Z] $ docker rm -f --volumes e83b833188fbc2ef685e0c49f7ce0e0f1cd7b97ffd22c636f43ed59c54964e7e [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-09-20T05:23:09.717Z] provisioning config files... [2023-09-20T05:23:09.725Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp/config6995157289544462211tmp [Pipeline] { [Pipeline] sh [2023-09-20T05:23:10.075Z] + set +x [2023-09-20T05:23:10.075Z] + curl -s https://codecov.io/bash [2023-09-20T05:23:10.075Z] + bash -s -- [2023-09-20T05:23:10.075Z] [2023-09-20T05:23:10.075Z] _____ _ [2023-09-20T05:23:10.075Z] / ____| | | [2023-09-20T05:23:10.075Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T05:23:10.075Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T05:23:10.075Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T05:23:10.075Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T05:23:10.075Z] Bash-1.0.6 [2023-09-20T05:23:10.075Z] [2023-09-20T05:23:10.075Z] [2023-09-20T05:23:10.075Z] ==> git version 2.25.1 found [2023-09-20T05:23:10.075Z] ==> 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-09-20T05:23:10.075Z] Release-Date: 2020-01-08 [2023-09-20T05:23:10.075Z] 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-09-20T05:23:10.075Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T05:23:10.075Z] ==> Jenkins CI detected. [2023-09-20T05:23:10.075Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-502 [2023-09-20T05:23:10.075Z] project root: . [2023-09-20T05:23:10.075Z] --> token set from env [2023-09-20T05:23:10.334Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T05:23:10.334Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T05:23:10.334Z] ==> Python coveragepy not found [2023-09-20T05:23:10.334Z] ==> Searching for coverage reports in: [2023-09-20T05:23:10.334Z] + . [2023-09-20T05:23:10.334Z] -> Found 1 reports [2023-09-20T05:23:10.334Z] ==> Detecting git/mercurial file structure [2023-09-20T05:23:10.334Z] ==> Reading reports [2023-09-20T05:23:10.334Z] + ./coverage.out bytes=24334 [2023-09-20T05:23:10.334Z] ==> Appending adjustments [2023-09-20T05:23:10.334Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T05:23:10.334Z] + Found adjustments [2023-09-20T05:23:10.334Z] ==> Gzipping contents [2023-09-20T05:23:10.334Z] 4.0K /tmp/codecov.l3OFua.gz [2023-09-20T05:23:10.334Z] ==> Uploading reports [2023-09-20T05:23:10.334Z] url: https://codecov.io [2023-09-20T05:23:10.334Z] query: branch=PR-502&commit=e7d4f928b35e767f084d3bb0adede9b769adbb2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=502&job=&cmd_args= [2023-09-20T05:23:10.334Z] -> Pinging Codecov [2023-09-20T05:23:10.334Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-502&commit=e7d4f928b35e767f084d3bb0adede9b769adbb2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=502&job=&cmd_args= [2023-09-20T05:23:10.596Z] -> Uploading to [2023-09-20T05:23:10.596Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/55DBCA73C666E3227836607328DD7E49/e7d4f928b35e767f084d3bb0adede9b769adbb2f/c3068c09-df2a-4af1-acfb-18c3a10d3240.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T052310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ce5113eb0b676d796c5d7e3720a5c433c5cb4ad8720a91625fb8cd1d3c2cc3a [2023-09-20T05:23:10.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:23:10.596Z] Dload Upload Total Spent Left Speed [2023-09-20T05:23:10.856Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20379 --:--:-- --:--:-- --:--:-- 20379 [2023-09-20T05:23:10.856Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e7d4f928b35e767f084d3bb0adede9b769adbb2f [Pipeline] } [2023-09-20T05:23:10.883Z] 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-09-20T05:23:12.710Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-502/archives ] [2023-09-20T05:23:12.711Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-502/archives [2023-09-20T05:23:12.711Z] total 16 [2023-09-20T05:23:12.711Z] drwxr-xr-x 3 root root 4096 Sep 20 05:16 . [2023-09-20T05:23:12.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 05:16 .. [2023-09-20T05:23:12.711Z] drwxr-xr-x 2 root root 4096 Sep 20 05:16 cost [2023-09-20T05:23:12.711Z] -rw-r--r-- 1 root root 88 Sep 20 05:16 cost.csv [2023-09-20T05:23:12.711Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-502/archives [2023-09-20T05:23:12.711Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-502/archives [2023-09-20T05:23:12.711Z] total 16 [2023-09-20T05:23:12.711Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:16 . [2023-09-20T05:23:12.711Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 05:16 .. [2023-09-20T05:23:12.711Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 05:16 cost [2023-09-20T05:23:12.711Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 20 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:13.037Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:13.933Z] ---> package-listing.sh [2023-09-20T05:23:13.933Z] ++ facter osfamily [2023-09-20T05:23:13.933Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T05:23:14.194Z] + OS_FAMILY=debian [2023-09-20T05:23:14.194Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-502 [2023-09-20T05:23:14.194Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T05:23:14.194Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T05:23:14.194Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T05:23:14.194Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T05:23:14.194Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-502 ']' [2023-09-20T05:23:14.194Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T05:23:14.194Z] + case "${OS_FAMILY}" in [2023-09-20T05:23:14.194Z] + dpkg -l [2023-09-20T05:23:14.194Z] + grep '^ii' [2023-09-20T05:23:14.194Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T05:23:14.194Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T05:23:14.194Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T05:23:14.194Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-502 ']' [2023-09-20T05:23:14.194Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-502/archives/ [2023-09-20T05:23:14.194Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-502/archives/ [Pipeline] echo [2023-09-20T05:23:14.225Z] 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-502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T05:23:14.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:23:15.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:23:15.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:23:15.297Z] prd-ubuntu20.04-docker-8c-8g-6668 does not seem to be running inside a container [2023-09-20T05:23:15.338Z] $ 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-502/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-502 -v /w/workspace/xfoundry_device-modbus-go_PR-502:/w/workspace/xfoundry_device-modbus-go_PR-502:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-502@tmp:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T05:23:15.548Z] $ docker top a324a3bbc51b2cc032368d497364f9c9ed98ae3439e36b4116ea7796b707165f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:23:15.930Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T05:23:16.242Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T05:23:16.555Z] + ls /var/log/sa-host [2023-09-20T05:23:16.555Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:23:16.687Z] provisioning config files... [2023-09-20T05:23:16.697Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-502@tmp/config1160412930454852382tmp [Pipeline] { [Pipeline] echo [2023-09-20T05:23:16.748Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:17.059Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T05:23:17.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:17.481Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T05:23:17.515Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:17.822Z] ---> sudo-logs.sh [2023-09-20T05:23:17.822Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T05:23:17.910Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:18.228Z] ---> job-cost.sh [2023-09-20T05:23:18.228Z] lf-activate-venv: SKIPPING [2023-09-20T05:23:18.228Z] DEBUG: total: 0.2199999988079071 [2023-09-20T05:23:18.228Z] INFO: Retrieving Stack Cost... [2023-09-20T05:23:18.487Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T05:23:19.056Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T05:23:19.097Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:23:19.410Z] ---> logs-deploy.sh [2023-09-20T05:23:19.410Z] lf-activate-venv: SKIPPING [2023-09-20T05:23:19.410Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-502/1 [2023-09-20T05:23:19.410Z] INFO: archiving workspace using pattern(s): [2023-09-20T05:23:20.350Z] Archives upload complete. [2023-09-20T05:23:20.350Z] INFO: archiving logs to Nexus