Pull request #505 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97e5d59619a97e0ea732da14c8df92277a3df7aa+1fc6a9bac598d8b717ba28d0c645d44cc2d3275e (a2056350cc6900b44a2f65e1c328c195d41124ca) 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-ssh849214077739891369.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-ssh484640764259027561.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-505/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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1710620866662695241.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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15288003752523846858.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-ssh3601676502249478586.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-505/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-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8546380161115621883.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7792 in /w/workspace/xfoundry_device-modbus-go_PR-505 [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-505 # 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 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e into PR head commit 97e5d59619a97e0ea732da14c8df92277a3df7aa Merge succeeded, producing 97e5d59619a97e0ea732da14c8df92277a3df7aa Checking out Revision 97e5d59619a97e0ea732da14c8df92277a3df7aa (PR-505) > 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/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T05:44:15.478Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T05:44:15.676Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T05:44:15.778Z] ========================================================= [2023-09-25T05:44:15.778Z] EdgeX Global Pipelines Version Info [2023-09-25T05:44:15.778Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:44:16.517Z] ------------------- [2023-09-25T05:44:16.517Z] stable info: [2023-09-25T05:44:16.517Z] ------------------- [2023-09-25T05:44:16.517Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T05:44:16.517Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T05:44:16.517Z] Message: update stable to v1.0.254 [2023-09-25T05:44:17.090Z] ------------------- [2023-09-25T05:44:17.090Z] experimental info: [2023-09-25T05:44:17.090Z] ------------------- [2023-09-25T05:44:17.090Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T05:44:17.090Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T05:44:17.090Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T05:44:17.361Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-25T05:44:17.399Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-25T05:44:17.437Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T05:44:17.474Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T05:44:17.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T05:44:17.544Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T05:44:17.580Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T05:44:17.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-25T05:44:17.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T05:44:17.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T05:44:17.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T05:44:17.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-25T05:44:17.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T05:44:17.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T05:44:17.901Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T05:44:17.939Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T05:44:17.976Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T05:44:18.014Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T05:44:18.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T05:44:18.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T05:44:18.152Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-25T05:44:18.192Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-25T05:44:18.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T05:44:18.272Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T05:44:18.308Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T05:44:18.347Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T05:44:18.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T05:44:18.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2023-09-25T05:44:18.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2023-09-25T05:44:18.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2023-09-25T05:44:18.529Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo [2023-09-25T05:44:18.567Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97e5d59 [Pipeline] echo [2023-09-25T05:44:18.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T05:44:18.729Z] provisioning config files... [2023-09-25T05:44:18.744Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config14705584278807493457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:44:19.090Z] ---> docker-login.sh [2023-09-25T05:44:19.090Z] nexus3.edgexfoundry.org:10001 [2023-09-25T05:44:19.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:19.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:19.350Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:19.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:19.350Z] [2023-09-25T05:44:19.350Z] Login Succeeded [2023-09-25T05:44:19.350Z] nexus3.edgexfoundry.org:10002 [2023-09-25T05:44:19.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:19.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:19.610Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:19.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:19.610Z] [2023-09-25T05:44:19.610Z] Login Succeeded [2023-09-25T05:44:19.610Z] nexus3.edgexfoundry.org:10003 [2023-09-25T05:44:19.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:19.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:19.610Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:19.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:19.610Z] [2023-09-25T05:44:19.610Z] Login Succeeded [2023-09-25T05:44:19.610Z] nexus3.edgexfoundry.org:10004 [2023-09-25T05:44:19.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:19.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:19.869Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:19.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:19.869Z] [2023-09-25T05:44:19.869Z] Login Succeeded [2023-09-25T05:44:19.869Z] docker.io [2023-09-25T05:44:19.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:20.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:20.130Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:20.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:20.130Z] [2023-09-25T05:44:20.130Z] Login Succeeded [2023-09-25T05:44:20.130Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T05:44:20.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T05:44:20.816Z] + git rev-list -1 --merges 97e5d59619a97e0ea732da14c8df92277a3df7aa~1..97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo [2023-09-25T05:44:20.878Z] -----------> git rev-list -1 --merges 97e5d59619a97e0ea732da14c8df92277a3df7aa~1..97e5d59619a97e0ea732da14c8df92277a3df7aa 97e5d59619a97e0ea732da14c8df92277a3df7aa [false] [Pipeline] sh [2023-09-25T05:44:21.194Z] + git log --format=format:%s -1 97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo [2023-09-25T05:44:21.231Z] ========================================================= [2023-09-25T05:44:21.231Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T05:44:21.231Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T05:44:21.688Z] + git log --format=format:%s -1 97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] echo [2023-09-25T05:44:21.720Z] [semverPrep] GIT_COMMIT: 97e5d59619a97e0ea732da14c8df92277a3df7aa, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-25T05:44:21.750Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T05:44:22.145Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T05:44:22.145Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T05:44:22.145Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T05:44:22.145Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T05:44:22.145Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T05:44:22.145Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T05:44:22.145Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:44:22.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T05:44:22.653Z] [2023-09-25T05:44:22.653Z] 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-25T05:44:23.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T05:44:23.043Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T05:44:23.043Z] b85a868b505f: Pulling fs layer [2023-09-25T05:44:23.043Z] e2be974225ed: Pulling fs layer [2023-09-25T05:44:23.043Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T05:44:23.043Z] 988bab9f4d93: Pulling fs layer [2023-09-25T05:44:23.043Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T05:44:23.043Z] eaf3925da568: Pulling fs layer [2023-09-25T05:44:23.043Z] bab4dde63d76: Pulling fs layer [2023-09-25T05:44:23.043Z] bde34c3a00c8: Pulling fs layer [2023-09-25T05:44:23.043Z] b352a97aabf1: Pulling fs layer [2023-09-25T05:44:23.043Z] 4872d77fe225: Pulling fs layer [2023-09-25T05:44:23.043Z] 5851b861e8e6: Pulling fs layer [2023-09-25T05:44:23.043Z] b352a97aabf1: Waiting [2023-09-25T05:44:23.043Z] bab4dde63d76: Waiting [2023-09-25T05:44:23.043Z] 4872d77fe225: Waiting [2023-09-25T05:44:23.044Z] bde34c3a00c8: Waiting [2023-09-25T05:44:23.044Z] 5851b861e8e6: Waiting [2023-09-25T05:44:23.044Z] 988bab9f4d93: Waiting [2023-09-25T05:44:23.044Z] eaf3925da568: Waiting [2023-09-25T05:44:23.044Z] 1469e6f7b9e6: Waiting [2023-09-25T05:44:23.044Z] e2be974225ed: Verifying Checksum [2023-09-25T05:44:23.044Z] e2be974225ed: Download complete [2023-09-25T05:44:23.044Z] 988bab9f4d93: Verifying Checksum [2023-09-25T05:44:23.044Z] 988bab9f4d93: Download complete [2023-09-25T05:44:23.044Z] 1469e6f7b9e6: Verifying Checksum [2023-09-25T05:44:23.044Z] 1469e6f7b9e6: Download complete [2023-09-25T05:44:23.044Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T05:44:23.044Z] 339a4e72a1f5: Download complete [2023-09-25T05:44:23.044Z] eaf3925da568: Verifying Checksum [2023-09-25T05:44:23.044Z] eaf3925da568: Download complete [2023-09-25T05:44:23.303Z] bde34c3a00c8: Verifying Checksum [2023-09-25T05:44:23.303Z] bde34c3a00c8: Download complete [2023-09-25T05:44:23.303Z] b352a97aabf1: Download complete [2023-09-25T05:44:23.303Z] 4872d77fe225: Verifying Checksum [2023-09-25T05:44:23.303Z] 4872d77fe225: Download complete [2023-09-25T05:44:23.303Z] 5851b861e8e6: Verifying Checksum [2023-09-25T05:44:23.303Z] 5851b861e8e6: Download complete [2023-09-25T05:44:23.303Z] b85a868b505f: Verifying Checksum [2023-09-25T05:44:23.303Z] b85a868b505f: Download complete [2023-09-25T05:44:23.562Z] bab4dde63d76: Verifying Checksum [2023-09-25T05:44:23.562Z] bab4dde63d76: Download complete [2023-09-25T05:44:24.496Z] b85a868b505f: Pull complete [2023-09-25T05:44:24.754Z] e2be974225ed: Pull complete [2023-09-25T05:44:25.014Z] 339a4e72a1f5: Pull complete [2023-09-25T05:44:25.275Z] 988bab9f4d93: Pull complete [2023-09-25T05:44:25.534Z] 1469e6f7b9e6: Pull complete [2023-09-25T05:44:25.534Z] eaf3925da568: Pull complete [2023-09-25T05:44:27.437Z] bab4dde63d76: Pull complete [2023-09-25T05:44:27.437Z] bde34c3a00c8: Pull complete [2023-09-25T05:44:27.437Z] b352a97aabf1: Pull complete [2023-09-25T05:44:27.437Z] 4872d77fe225: Pull complete [2023-09-25T05:44:27.437Z] 5851b861e8e6: Pull complete [2023-09-25T05:44:27.437Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T05:44:27.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T05:44:27.437Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:44:27.663Z] prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container [2023-09-25T05:44:27.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T05:44:28.872Z] $ docker top 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 -eo pid,comm [2023-09-25T05:44:28.927Z] 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-25T05:44:28.927Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T05:44:29.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T05:44:29.055Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T05:44:29.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T05:44:29.159Z] $ docker exec 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent [2023-09-25T05:44:29.265Z] SSH_AUTH_SOCK=/tmp/ssh-pFbbnupmIgi1/agent.32 [2023-09-25T05:44:29.265Z] SSH_AGENT_PID=38 [2023-09-25T05:44:29.272Z] Running ssh-add (command line suppressed) [2023-09-25T05:44:29.365Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_10668890226225231026.key (/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_10668890226225231026.key) [2023-09-25T05:44:29.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T05:44:29.707Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T05:44:29.731Z] $ docker exec --env ******** --env ******** 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent -k [2023-09-25T05:44:29.824Z] unset SSH_AUTH_SOCK; [2023-09-25T05:44:29.824Z] unset SSH_AGENT_PID; [2023-09-25T05:44:29.824Z] echo Agent pid 38 killed; [2023-09-25T05:44:29.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T05:44:29.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T05:44:29.935Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T05:44:30.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T05:44:30.049Z] $ docker exec 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent [2023-09-25T05:44:30.153Z] SSH_AUTH_SOCK=/tmp/ssh-mqcwAEtMyzJg/agent.70 [2023-09-25T05:44:30.153Z] SSH_AGENT_PID=77 [2023-09-25T05:44:30.157Z] Running ssh-add (command line suppressed) [2023-09-25T05:44:30.260Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_15911835950630555118.key (/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/private_key_15911835950630555118.key) [2023-09-25T05:44:30.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T05:44:30.605Z] + git semver init [2023-09-25T05:44:30.863Z] 2023-09-25 05:44:30,770 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T05:44:30.863Z] 2023-09-25 05:44:30,771 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-505/.semver [2023-09-25T05:44:30.863Z] 2023-09-25 05:44:30,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-505/.semver [2023-09-25T05:44:30.863Z] 2023-09-25 05:44:30,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-505/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-505, universal_newlines=False, shell=None, istream=None) [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,528 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-505/.git/info/exclude [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-505/.semver/PR-505 with force:False [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,529 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-505/.semver/PR-505 [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,533 [execute] INFO git cat-file --batch-check [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,539 [execute] INFO git cat-file --batch [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T05:44:31.800Z] 2023-09-25 05:44:31,544 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-505/.semver/PR-505 [2023-09-25T05:44:31.800Z] 0.0.0 [Pipeline] } [2023-09-25T05:44:31.823Z] $ docker exec --env ******** --env ******** 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 ssh-agent -k [2023-09-25T05:44:31.908Z] unset SSH_AUTH_SOCK; [2023-09-25T05:44:31.908Z] unset SSH_AGENT_PID; [2023-09-25T05:44:31.909Z] echo Agent pid 77 killed; [2023-09-25T05:44:31.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T05:44:32.352Z] + git semver [Pipeline] } [2023-09-25T05:44:32.633Z] $ docker stop --time=1 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 [2023-09-25T05:44:33.935Z] $ docker rm -f --volumes 2d68c9e1be324eb6eb2a99df97df9ca24ff66131f0fc04c7c03b9fa751691300 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T05:44:34.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T05:44:34.610Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T05:44:34.628Z] [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-25T05:44:35.238Z] provisioning config files... [2023-09-25T05:44:35.247Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config1479930453704745528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:44:35.602Z] ---> docker-login.sh [2023-09-25T05:44:35.602Z] nexus3.edgexfoundry.org:10001 [2023-09-25T05:44:35.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:35.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:35.602Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:35.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:35.602Z] [2023-09-25T05:44:35.602Z] Login Succeeded [2023-09-25T05:44:35.602Z] nexus3.edgexfoundry.org:10002 [2023-09-25T05:44:35.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:35.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:35.602Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:35.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:35.602Z] [2023-09-25T05:44:35.602Z] Login Succeeded [2023-09-25T05:44:35.602Z] nexus3.edgexfoundry.org:10003 [2023-09-25T05:44:35.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:35.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:35.862Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:35.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:35.862Z] [2023-09-25T05:44:35.862Z] Login Succeeded [2023-09-25T05:44:35.862Z] nexus3.edgexfoundry.org:10004 [2023-09-25T05:44:35.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:35.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:35.862Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:35.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:35.862Z] [2023-09-25T05:44:35.862Z] Login Succeeded [2023-09-25T05:44:35.862Z] docker.io [2023-09-25T05:44:35.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:44:36.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:44:36.121Z] Configure a credential helper to remove this warning. See [2023-09-25T05:44:36.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:44:36.121Z] [2023-09-25T05:44:36.121Z] Login Succeeded [2023-09-25T05:44:36.121Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T05:44:36.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T05:44:36.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T05:44:36.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T05:44:36.414Z] ========================================================= [2023-09-25T05:44:36.414Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T05:44:36.414Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:44:36.872Z] + 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-25T05:44:36.872Z] Sending build context to Docker daemon 6.49MB [2023-09-25T05:44:36.872Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T05:44:36.872Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-25T05:44:36.872Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T05:44:36.872Z] 7264a8db6415: Pulling fs layer [2023-09-25T05:44:36.872Z] c4d48a809fc2: Pulling fs layer [2023-09-25T05:44:36.872Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T05:44:36.872Z] ad3a456e5733: Pulling fs layer [2023-09-25T05:44:36.872Z] 33e27b845d1e: Pulling fs layer [2023-09-25T05:44:36.872Z] c68163c4e522: Pulling fs layer [2023-09-25T05:44:36.872Z] 50da416c3ac9: Pulling fs layer [2023-09-25T05:44:36.872Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T05:44:36.872Z] 33e27b845d1e: Waiting [2023-09-25T05:44:36.872Z] c68163c4e522: Waiting [2023-09-25T05:44:36.872Z] ad3a456e5733: Waiting [2023-09-25T05:44:36.872Z] 23d2d4c4bb30: Waiting [2023-09-25T05:44:36.872Z] c4d48a809fc2: Download complete [2023-09-25T05:44:36.872Z] ad3a456e5733: Verifying Checksum [2023-09-25T05:44:36.872Z] ad3a456e5733: Download complete [2023-09-25T05:44:36.872Z] 33e27b845d1e: Verifying Checksum [2023-09-25T05:44:36.872Z] 33e27b845d1e: Download complete [2023-09-25T05:44:36.872Z] 7264a8db6415: Verifying Checksum [2023-09-25T05:44:36.872Z] 7264a8db6415: Download complete [2023-09-25T05:44:37.132Z] c68163c4e522: Verifying Checksum [2023-09-25T05:44:37.132Z] c68163c4e522: Download complete [2023-09-25T05:44:37.132Z] 7264a8db6415: Pull complete [2023-09-25T05:44:37.132Z] c4d48a809fc2: Pull complete [2023-09-25T05:44:37.391Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T05:44:37.391Z] 23d2d4c4bb30: Download complete [2023-09-25T05:44:37.391Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T05:44:37.391Z] 4f1c88b9dad5: Download complete [2023-09-25T05:44:37.649Z] 50da416c3ac9: Verifying Checksum [2023-09-25T05:44:40.177Z] 4f1c88b9dad5: Pull complete [2023-09-25T05:44:40.177Z] ad3a456e5733: Pull complete [2023-09-25T05:44:40.177Z] 33e27b845d1e: Pull complete [2023-09-25T05:44:40.177Z] c68163c4e522: Pull complete [2023-09-25T05:44:42.704Z] 50da416c3ac9: Pull complete [2023-09-25T05:44:42.704Z] 23d2d4c4bb30: Pull complete [2023-09-25T05:44:42.704Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T05:44:42.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T05:44:42.704Z] ---> 0786185ac409 [2023-09-25T05:44:42.704Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-25T05:44:44.085Z] ---> Running in 643382c920e2 [2023-09-25T05:44:44.085Z] Removing intermediate container 643382c920e2 [2023-09-25T05:44:44.085Z] ---> a59a114ebb5f [2023-09-25T05:44:44.085Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T05:44:44.344Z] ---> Running in 59e7b34e6da1 [2023-09-25T05:44:44.344Z] Removing intermediate container 59e7b34e6da1 [2023-09-25T05:44:44.344Z] ---> b511085f1e9a [2023-09-25T05:44:44.344Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-25T05:44:44.344Z] ---> Running in 775489cafc5d [2023-09-25T05:44:44.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T05:44:44.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T05:44:45.122Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T05:44:45.122Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-25T05:44:45.122Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T05:44:45.122Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T05:44:45.122Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-25T05:44:45.122Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-25T05:44:45.122Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-25T05:44:45.122Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-25T05:44:45.122Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T05:44:45.122Z] OK: 270 MiB in 60 packages [2023-09-25T05:44:45.381Z] Removing intermediate container 775489cafc5d [2023-09-25T05:44:45.381Z] ---> 02c5a23b2d6f [2023-09-25T05:44:45.381Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-25T05:44:45.640Z] ---> Running in 805adbf631cf [2023-09-25T05:44:45.640Z] Removing intermediate container 805adbf631cf [2023-09-25T05:44:45.640Z] ---> f4d48da22233 [2023-09-25T05:44:45.640Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-25T05:44:45.640Z] ---> 2d473debcb8e [2023-09-25T05:44:45.640Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T05:44:45.640Z] ---> Running in 7ea38635a396 [2023-09-25T05:44:50.051Z] Still waiting to schedule task [2023-09-25T05:44:50.051Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-25T05:45:24.373Z] Removing intermediate container 7ea38635a396 [2023-09-25T05:45:24.373Z] ---> 90a429fa5b22 [2023-09-25T05:45:24.373Z] Step 9/10 : COPY . . [2023-09-25T05:45:24.373Z] ---> d0e9ab66373b [2023-09-25T05:45:24.373Z] Step 10/10 : RUN ${MAKE} [2023-09-25T05:45:24.373Z] ---> Running in 59eb05f13a52 [2023-09-25T05:45:24.373Z] noop [2023-09-25T05:45:24.373Z] Removing intermediate container 59eb05f13a52 [2023-09-25T05:45:24.373Z] ---> 5ef85b8fee73 [2023-09-25T05:45:24.373Z] Successfully built 5ef85b8fee73 [2023-09-25T05:45:24.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:45:24.810Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T05:45:24.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:45:24.964Z] prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container [2023-09-25T05:45:24.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T05:45:25.305Z] $ docker top c4eca0511fd48ab002b943a8848714b3171fa92bdac4d0c84c1e07014ff6dd8a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T05:45:25.697Z] + go version [2023-09-25T05:45:25.697Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T05:45:25.733Z] $ docker stop --time=1 c4eca0511fd48ab002b943a8848714b3171fa92bdac4d0c84c1e07014ff6dd8a [2023-09-25T05:45:26.994Z] $ docker rm -f --volumes c4eca0511fd48ab002b943a8848714b3171fa92bdac4d0c84c1e07014ff6dd8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:45:27.686Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T05:45:27.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:45:27.837Z] prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container [2023-09-25T05:45:27.866Z] $ 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-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T05:45:28.199Z] $ docker top fd28fe2c4b83016dfa8cedc9e0b23037447d907b7fe5314776b7f2ce84852269 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T05:45:28.586Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-505 [Pipeline] fileExists [Pipeline] sh [2023-09-25T05:45:28.938Z] + make test [2023-09-25T05:45:28.939Z] go test ./... -coverprofile=coverage.out [2023-09-25T05:45:29.872Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-25T05:45:39.846Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-25T05:45:39.846Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements [2023-09-25T05:45:45.114Z] go vet ./... [2023-09-25T05:45:47.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T05:45:47.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T05:45:47.641Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T05:45:47.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T05:45:47.709Z] $ docker stop --time=1 fd28fe2c4b83016dfa8cedc9e0b23037447d907b7fe5314776b7f2ce84852269 [2023-09-25T05:45:49.501Z] $ docker rm -f --volumes fd28fe2c4b83016dfa8cedc9e0b23037447d907b7fe5314776b7f2ce84852269 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T05:45:50.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T05:45:50.120Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T05:45:50.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T05:45:51.152Z] + ls -al . [2023-09-25T05:45:51.152Z] total 192 [2023-09-25T05:45:51.152Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 05:45 . [2023-09-25T05:45:51.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:44 .. [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 05:44 .dockerignore [2023-09-25T05:45:51.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 05:45 .git [2023-09-25T05:45:51.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:44 .github [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 25 05:44 .gitignore [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 05:44 .golangci.yml [2023-09-25T05:45:51.152Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 05:44 .semver [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 25 05:44 Attribution.txt [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 25 05:44 CHANGELOG.md [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 25 05:44 Dockerfile [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 05:44 GOVERNANCE.md [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 05:44 Jenkinsfile [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 05:44 LICENSE [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 25 05:44 Makefile [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 25 05:44 OWNERS.md [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 25 05:44 README.md [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 05:44 VERSION [2023-09-25T05:45:51.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:44 bin [2023-09-25T05:45:51.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:44 cmd [2023-09-25T05:45:51.152Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 25 05:45 coverage.out [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 25 05:44 go.mod [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 25 05:44 go.sum [2023-09-25T05:45:51.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:44 internal [2023-09-25T05:45:51.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:44 simulator [2023-09-25T05:45:51.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:44 snap [2023-09-25T05:45:51.152Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 25 05:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:45:51.574Z] + 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=97e5d59619a97e0ea732da14c8df92277a3df7aa --label arch=amd64 --label version=0.0.0 . [2023-09-25T05:45:51.574Z] Sending build context to Docker daemon 6.515MB [2023-09-25T05:45:51.574Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T05:45:51.574Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-25T05:45:51.574Z] ---> 5ef85b8fee73 [2023-09-25T05:45:51.574Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-25T05:45:51.574Z] ---> Running in b18132e48534 [2023-09-25T05:45:51.574Z] Removing intermediate container b18132e48534 [2023-09-25T05:45:51.574Z] ---> 83cd60544b15 [2023-09-25T05:45:51.574Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T05:45:51.574Z] ---> Running in 000ec55d0cfb [2023-09-25T05:45:51.832Z] Removing intermediate container 000ec55d0cfb [2023-09-25T05:45:51.832Z] ---> de7011b22291 [2023-09-25T05:45:51.832Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-25T05:45:51.832Z] ---> Running in 28fafffa61d4 [2023-09-25T05:45:52.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T05:45:52.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T05:45:52.350Z] OK: 270 MiB in 60 packages [2023-09-25T05:45:52.608Z] Removing intermediate container 28fafffa61d4 [2023-09-25T05:45:52.608Z] ---> dbf62934b3a8 [2023-09-25T05:45:52.608Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-25T05:45:52.608Z] ---> Running in d6023f3c4099 [2023-09-25T05:45:52.608Z] Removing intermediate container d6023f3c4099 [2023-09-25T05:45:52.608Z] ---> f90ed2a267d0 [2023-09-25T05:45:52.608Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-25T05:45:52.867Z] ---> e6b307d7c144 [2023-09-25T05:45:52.867Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T05:45:52.867Z] ---> Running in 7c34acd5d96b [2023-09-25T05:45:53.434Z] Removing intermediate container 7c34acd5d96b [2023-09-25T05:45:53.435Z] ---> fdf3ee20c8fc [2023-09-25T05:45:53.435Z] Step 9/22 : COPY . . [2023-09-25T05:45:53.693Z] ---> 7fddbe73cfdf [2023-09-25T05:45:53.693Z] Step 10/22 : RUN ${MAKE} [2023-09-25T05:45:53.693Z] ---> Running in 70a63095e5bf [2023-09-25T05:45:53.951Z] 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.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-25T05:46:08.819Z] Removing intermediate container 70a63095e5bf [2023-09-25T05:46:08.819Z] ---> 48c63a83c383 [2023-09-25T05:46:08.819Z] Step 11/22 : FROM alpine:3.18 [2023-09-25T05:46:08.819Z] 3.18: Pulling from library/alpine [2023-09-25T05:46:08.819Z] 7264a8db6415: Already exists [2023-09-25T05:46:09.079Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T05:46:09.079Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T05:46:09.079Z] ---> 7e01a0d0a1dc [2023-09-25T05:46:09.079Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-25T05:46:09.079Z] ---> Running in 017abeda677a [2023-09-25T05:46:09.079Z] Removing intermediate container 017abeda677a [2023-09-25T05:46:09.079Z] ---> 7696a2709fd0 [2023-09-25T05:46:09.079Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-25T05:46:09.079Z] ---> Running in b79bdfa8db24 [2023-09-25T05:46:09.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T05:46:09.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T05:46:10.236Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T05:46:10.236Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T05:46:10.236Z] OK: 7 MiB in 16 packages [2023-09-25T05:46:10.236Z] Removing intermediate container b79bdfa8db24 [2023-09-25T05:46:10.236Z] ---> 89e3dbfda0e7 [2023-09-25T05:46:10.236Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-25T05:46:10.804Z] ---> ecfa38f94900 [2023-09-25T05:46:10.804Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-25T05:46:10.804Z] ---> 3c01290e4a10 [2023-09-25T05:46:10.804Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-25T05:46:10.804Z] ---> 86ff710d37ec [2023-09-25T05:46:10.804Z] Step 17/22 : EXPOSE 59901 [2023-09-25T05:46:11.062Z] ---> Running in d8bff87aca91 [2023-09-25T05:46:11.062Z] Removing intermediate container d8bff87aca91 [2023-09-25T05:46:11.062Z] ---> 4361ce959391 [2023-09-25T05:46:11.062Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-25T05:46:11.062Z] ---> Running in e8114dd01828 [2023-09-25T05:46:11.062Z] Removing intermediate container e8114dd01828 [2023-09-25T05:46:11.062Z] ---> 26308812a22a [2023-09-25T05:46:11.062Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T05:46:11.062Z] ---> Running in 6972b5adbbe0 [2023-09-25T05:46:11.321Z] Removing intermediate container 6972b5adbbe0 [2023-09-25T05:46:11.321Z] ---> 02d1778de0b5 [2023-09-25T05:46:11.321Z] Step 20/22 : LABEL arch=amd64 [2023-09-25T05:46:11.321Z] ---> Running in dd9df87253d6 [2023-09-25T05:46:11.321Z] Removing intermediate container dd9df87253d6 [2023-09-25T05:46:11.321Z] ---> df3680b463d8 [2023-09-25T05:46:11.321Z] Step 21/22 : LABEL git_sha=97e5d59619a97e0ea732da14c8df92277a3df7aa [2023-09-25T05:46:11.321Z] ---> Running in 9bfc09117373 [2023-09-25T05:46:11.321Z] Removing intermediate container 9bfc09117373 [2023-09-25T05:46:11.321Z] ---> b680a0c37bfa [2023-09-25T05:46:11.321Z] Step 22/22 : LABEL version=0.0.0 [2023-09-25T05:46:11.321Z] ---> Running in 0b244abf1aea [2023-09-25T05:46:11.580Z] Removing intermediate container 0b244abf1aea [2023-09-25T05:46:11.580Z] ---> 378880ab9c3b [2023-09-25T05:46:11.580Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T05:46:11.580Z] Successfully built 378880ab9c3b [2023-09-25T05:46:11.580Z] 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-25T05:46:12.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T05:46:12.413Z] [2023-09-25T05:46:12.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:46:12.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T05:46:12.778Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T05:46:12.778Z] 5eb5b503b376: Pulling fs layer [2023-09-25T05:46:12.778Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T05:46:12.778Z] ec43610c2a17: Pulling fs layer [2023-09-25T05:46:12.778Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T05:46:12.778Z] 33b1e0a273af: Pulling fs layer [2023-09-25T05:46:12.778Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T05:46:12.778Z] 2f39f015ded8: Pulling fs layer [2023-09-25T05:46:12.778Z] 3a2ae6a8a46f: Waiting [2023-09-25T05:46:12.778Z] 33b1e0a273af: Waiting [2023-09-25T05:46:12.778Z] 5d3b04190fa2: Waiting [2023-09-25T05:46:12.778Z] 2f39f015ded8: Waiting [2023-09-25T05:46:12.778Z] 5c69ac0246d0: Verifying Checksum [2023-09-25T05:46:12.778Z] 5c69ac0246d0: Download complete [2023-09-25T05:46:12.778Z] 3a2ae6a8a46f: Download complete [2023-09-25T05:46:12.778Z] 33b1e0a273af: Verifying Checksum [2023-09-25T05:46:12.778Z] 33b1e0a273af: Download complete [2023-09-25T05:46:12.778Z] 5d3b04190fa2: Verifying Checksum [2023-09-25T05:46:12.778Z] 5d3b04190fa2: Download complete [2023-09-25T05:46:12.778Z] ec43610c2a17: Verifying Checksum [2023-09-25T05:46:12.778Z] ec43610c2a17: Download complete [2023-09-25T05:46:13.038Z] 5eb5b503b376: Verifying Checksum [2023-09-25T05:46:13.038Z] 5eb5b503b376: Download complete [2023-09-25T05:46:13.604Z] 2f39f015ded8: Download complete [2023-09-25T05:46:14.168Z] 5eb5b503b376: Pull complete [2023-09-25T05:46:14.168Z] 5c69ac0246d0: Pull complete [2023-09-25T05:46:14.426Z] ec43610c2a17: Pull complete [2023-09-25T05:46:14.427Z] 3a2ae6a8a46f: Pull complete [2023-09-25T05:46:14.684Z] 33b1e0a273af: Pull complete [2023-09-25T05:46:14.684Z] 5d3b04190fa2: Pull complete [2023-09-25T05:46:18.867Z] 2f39f015ded8: Pull complete [2023-09-25T05:46:18.867Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T05:46:18.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T05:46:18.867Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:46:19.089Z] prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container [2023-09-25T05:46:19.116Z] $ 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-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T05:46:20.342Z] $ docker top 5e58fb654ac6ec85be144f33c01439e74935b52774dff753292e6b84930c11f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:46:20.812Z] ---> job-cost.sh [2023-09-25T05:46:20.812Z] lf-activate-venv: SKIPPING [2023-09-25T05:46:20.812Z] INFO: No Stack... [2023-09-25T05:46:21.070Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T05:46:21.329Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T05:46:21.643Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-505/archives/cost.csv [2023-09-25T05:46:21.643Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T05:46:22.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [2023-09-25T05:46:22.542Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] did not exist. Created. [2023-09-25T05:46:22.542Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T05:46:22.934Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-25T05:46:22.979Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T05:46:23.010Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T05:46:23.097Z] $ docker stop --time=1 5e58fb654ac6ec85be144f33c01439e74935b52774dff753292e6b84930c11f1 [2023-09-25T05:46:24.235Z] $ docker rm -f --volumes 5e58fb654ac6ec85be144f33c01439e74935b52774dff753292e6b84930c11f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-25T05:46:26.385Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7793 in /w/workspace/xfoundry_device-modbus-go_PR-505 [Pipeline] { [Pipeline] ws [2023-09-25T05:46:26.442Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-09-25T05:46:26.519Z] Selected Git installation does not exist. Using Default [2023-09-25T05:46:26.519Z] The recommended git tool is: NONE [2023-09-25T05:46:31.431Z] using credential edgex-jenkins-ssh [2023-09-25T05:46:31.454Z] Cloning the remote Git repository [2023-09-25T05:46:31.492Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-25T05:46:31.585Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-09-25T05:46:31.735Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-25T05:46:31.736Z] > git --version # timeout=10 [2023-09-25T05:46:31.760Z] > git --version # 'git version 2.25.1' [2023-09-25T05:46:31.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T05:46:31.921Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T05:46:34.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-25T05:46:34.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T05:46:34.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-25T05:46:35.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-25T05:46:35.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T05:46:35.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-25T05:46:35.486Z] Merging remotes/origin/main commit 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e into PR head commit 97e5d59619a97e0ea732da14c8df92277a3df7aa [2023-09-25T05:46:35.759Z] Merge succeeded, producing 97e5d59619a97e0ea732da14c8df92277a3df7aa [2023-09-25T05:46:35.760Z] Checking out Revision 97e5d59619a97e0ea732da14c8df92277a3df7aa (PR-505) [2023-09-25T05:46:36.194Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-25T05:46:36.236Z] > git --version # timeout=10 [2023-09-25T05:46:36.246Z] > git --version # 'git version 2.25.1' [2023-09-25T05:46:36.270Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T05:46:35.499Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T05:46:35.568Z] > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 [2023-09-25T05:46:35.657Z] > git remote # timeout=10 [2023-09-25T05:46:35.676Z] > git config --get remote.origin.url # timeout=10 [2023-09-25T05:46:35.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T05:46:35.715Z] > git merge 1fc6a9bac598d8b717ba28d0c645d44cc2d3275e # timeout=10 [2023-09-25T05:46:35.741Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-25T05:46:35.763Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T05:46:35.779Z] > git checkout -f 97e5d59619a97e0ea732da14c8df92277a3df7aa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T05:46:37.496Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T05:46:37.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T05:46:37.496Z] Dload Upload Total Spent Left Speed [2023-09-25T05:46:37.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-09-25T05:46:38.093Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T05:46:38.430Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T05:46:38.431Z] + sudo tee /etc/docker/daemon.new [2023-09-25T05:46:38.431Z] { [2023-09-25T05:46:38.431Z] "registry-mirrors": [ [2023-09-25T05:46:38.431Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T05:46:38.431Z] ], [2023-09-25T05:46:38.431Z] "bip": "10.250.0.254/24", [2023-09-25T05:46:38.431Z] "hosts": [ [2023-09-25T05:46:38.431Z] "tcp://0.0.0.0:5555", [2023-09-25T05:46:38.431Z] "unix:///var/run/docker.sock" [2023-09-25T05:46:38.431Z] ], [2023-09-25T05:46:38.431Z] "mtu": 1458, [2023-09-25T05:46:38.431Z] "selinux-enabled": true, [2023-09-25T05:46:38.431Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T05:46:38.431Z] } [Pipeline] sh [2023-09-25T05:46:38.769Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-25T05:46:39.112Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T05:46:57.429Z] provisioning config files... [2023-09-25T05:46:57.452Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5210960664652539744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:46:57.846Z] ---> docker-login.sh [2023-09-25T05:46:57.846Z] nexus3.edgexfoundry.org:10001 [2023-09-25T05:46:58.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:46:58.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:46:58.386Z] Configure a credential helper to remove this warning. See [2023-09-25T05:46:58.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:46:58.386Z] [2023-09-25T05:46:58.386Z] Login Succeeded [2023-09-25T05:46:58.386Z] nexus3.edgexfoundry.org:10002 [2023-09-25T05:46:58.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:46:58.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:46:58.655Z] Configure a credential helper to remove this warning. See [2023-09-25T05:46:58.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:46:58.655Z] [2023-09-25T05:46:58.655Z] Login Succeeded [2023-09-25T05:46:58.925Z] nexus3.edgexfoundry.org:10003 [2023-09-25T05:46:58.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:46:59.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:46:59.197Z] Configure a credential helper to remove this warning. See [2023-09-25T05:46:59.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:46:59.197Z] [2023-09-25T05:46:59.197Z] Login Succeeded [2023-09-25T05:46:59.197Z] nexus3.edgexfoundry.org:10004 [2023-09-25T05:46:59.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:46:59.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:46:59.473Z] Configure a credential helper to remove this warning. See [2023-09-25T05:46:59.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:46:59.473Z] [2023-09-25T05:46:59.473Z] Login Succeeded [2023-09-25T05:46:59.473Z] docker.io [2023-09-25T05:46:59.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T05:47:00.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T05:47:00.008Z] Configure a credential helper to remove this warning. See [2023-09-25T05:47:00.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T05:47:00.008Z] [2023-09-25T05:47:00.008Z] Login Succeeded [2023-09-25T05:47:00.008Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T05:47:00.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T05:47:00.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T05:47:00.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T05:47:00.512Z] ========================================================= [2023-09-25T05:47:00.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T05:47:00.512Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:47:01.029Z] + 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-25T05:47:02.982Z] Sending build context to Docker daemon 3.369MB [2023-09-25T05:47:02.983Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T05:47:02.983Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-25T05:47:02.983Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T05:47:02.983Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T05:47:02.983Z] 5d54e960e981: Pulling fs layer [2023-09-25T05:47:02.983Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T05:47:02.983Z] f0e02332f6b5: Pulling fs layer [2023-09-25T05:47:02.983Z] cefa15bbcfad: Pulling fs layer [2023-09-25T05:47:02.983Z] 17808c966233: Pulling fs layer [2023-09-25T05:47:02.983Z] f4c1fc716caa: Pulling fs layer [2023-09-25T05:47:02.983Z] f0e02332f6b5: Waiting [2023-09-25T05:47:02.983Z] cefa15bbcfad: Waiting [2023-09-25T05:47:02.983Z] 17808c966233: Waiting [2023-09-25T05:47:02.983Z] f4c1fc716caa: Waiting [2023-09-25T05:47:02.983Z] 5d54e960e981: Download complete [2023-09-25T05:47:02.983Z] f0e02332f6b5: Download complete [2023-09-25T05:47:02.983Z] cefa15bbcfad: Verifying Checksum [2023-09-25T05:47:02.983Z] cefa15bbcfad: Download complete [2023-09-25T05:47:02.983Z] 9fda8d8052c6: Download complete [2023-09-25T05:47:03.255Z] f4c1fc716caa: Verifying Checksum [2023-09-25T05:47:03.255Z] f4c1fc716caa: Download complete [2023-09-25T05:47:03.852Z] 9fda8d8052c6: Pull complete [2023-09-25T05:47:04.124Z] 5d54e960e981: Pull complete [2023-09-25T05:47:04.711Z] c4a7e357bf2a: Verifying Checksum [2023-09-25T05:47:04.711Z] c4a7e357bf2a: Download complete [2023-09-25T05:47:05.305Z] 17808c966233: Verifying Checksum [2023-09-25T05:47:05.305Z] 17808c966233: Download complete [2023-09-25T05:47:15.533Z] c4a7e357bf2a: Pull complete [2023-09-25T05:47:15.800Z] f0e02332f6b5: Pull complete [2023-09-25T05:47:16.080Z] cefa15bbcfad: Pull complete [2023-09-25T05:47:22.743Z] 17808c966233: Pull complete [2023-09-25T05:47:24.160Z] f4c1fc716caa: Pull complete [2023-09-25T05:47:24.160Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T05:47:24.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T05:47:24.160Z] ---> ea914061e18c [2023-09-25T05:47:24.160Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-25T05:47:26.101Z] ---> Running in 3726d096cdf1 [2023-09-25T05:47:26.101Z] Removing intermediate container 3726d096cdf1 [2023-09-25T05:47:26.101Z] ---> 4a0770eca2b0 [2023-09-25T05:47:26.101Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T05:47:26.101Z] ---> Running in 7b22c888cb93 [2023-09-25T05:47:26.369Z] Removing intermediate container 7b22c888cb93 [2023-09-25T05:47:26.369Z] ---> 522054d8f2bb [2023-09-25T05:47:26.369Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-25T05:47:26.638Z] ---> Running in 7e5c496bb667 [2023-09-25T05:47:27.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T05:47:28.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T05:47:29.150Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T05:47:29.150Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-09-25T05:47:29.150Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T05:47:29.150Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T05:47:29.420Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-09-25T05:47:29.420Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-09-25T05:47:29.420Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-09-25T05:47:29.420Z] (8/8) Installing openssh (9.3_p2-r0) [2023-09-25T05:47:29.420Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T05:47:29.420Z] OK: 272 MiB in 60 packages [2023-09-25T05:47:30.391Z] Removing intermediate container 7e5c496bb667 [2023-09-25T05:47:30.391Z] ---> 5291eeb20519 [2023-09-25T05:47:30.391Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-25T05:47:30.391Z] ---> Running in 31fcc24a68f6 [2023-09-25T05:47:30.973Z] Removing intermediate container 31fcc24a68f6 [2023-09-25T05:47:30.973Z] ---> a242108976a2 [2023-09-25T05:47:30.973Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-25T05:47:31.241Z] ---> dc394038de61 [2023-09-25T05:47:31.241Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T05:47:31.242Z] ---> Running in bf9206406576 [2023-09-25T05:48:39.104Z] Removing intermediate container bf9206406576 [2023-09-25T05:48:39.104Z] ---> 01493ad84052 [2023-09-25T05:48:39.104Z] Step 9/10 : COPY . . [2023-09-25T05:48:39.104Z] ---> 26e3bc369487 [2023-09-25T05:48:39.104Z] Step 10/10 : RUN ${MAKE} [2023-09-25T05:48:39.104Z] ---> Running in f6951358e561 [2023-09-25T05:48:39.104Z] noop [2023-09-25T05:48:39.104Z] Removing intermediate container f6951358e561 [2023-09-25T05:48:39.104Z] ---> 88f952b1f31e [2023-09-25T05:48:39.104Z] Successfully built 88f952b1f31e [2023-09-25T05:48:39.104Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:48:39.578Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T05:48:39.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:48:39.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-7793 does not seem to be running inside a container [2023-09-25T05:48:39.934Z] $ 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-25T05:48:41.102Z] $ docker top 83d8a112c2f49f61d42a8e8f685a68366e3050b4e16eb2ff9f101e1f5b6e1dff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T05:48:41.989Z] + go version [2023-09-25T05:48:41.989Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T05:48:42.034Z] $ docker stop --time=1 83d8a112c2f49f61d42a8e8f685a68366e3050b4e16eb2ff9f101e1f5b6e1dff [2023-09-25T05:48:43.618Z] $ docker rm -f --volumes 83d8a112c2f49f61d42a8e8f685a68366e3050b4e16eb2ff9f101e1f5b6e1dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:48:44.433Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T05:48:44.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:48:44.674Z] prd-ubuntu20.04-docker-arm64-4c-16g-7793 does not seem to be running inside a container [2023-09-25T05:48:44.743Z] $ 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-25T05:48:45.878Z] $ docker top 5176fbd76848d9891e99e047ea399cb7458dfd36bb98e08036bacc8745e7c8cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T05:48:46.407Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-25T05:48:46.798Z] + make test [2023-09-25T05:48:46.798Z] go test ./... -coverprofile=coverage.out [2023-09-25T05:48:55.008Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-25T05:50:16.824Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-25T05:50:37.247Z] Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-7793: java.lang.InterruptedException [2023-09-25T05:50:53.474Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements [2023-09-25T05:50:53.474Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T05:50:53.474Z] go vet ./... [2023-09-25T05:50:53.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T05:50:53.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T05:50:53.474Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T05:51:03.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T05:51:03.994Z] $ docker stop --time=1 5176fbd76848d9891e99e047ea399cb7458dfd36bb98e08036bacc8745e7c8cd [2023-09-25T05:51:06.450Z] $ docker rm -f --volumes 5176fbd76848d9891e99e047ea399cb7458dfd36bb98e08036bacc8745e7c8cd [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T05:51:07.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T05:51:07.724Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T05:51:08.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T05:51:09.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T05:51:09.393Z] + ls -al . [2023-09-25T05:51:09.393Z] total 188 [2023-09-25T05:51:09.393Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 05:48 . [2023-09-25T05:51:09.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:46 .. [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 05:46 .dockerignore [2023-09-25T05:51:09.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 05:46 .git [2023-09-25T05:51:09.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:46 .github [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 25 05:46 .gitignore [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 05:46 .golangci.yml [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 25 05:46 Attribution.txt [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 25 05:46 CHANGELOG.md [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 25 05:46 Dockerfile [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 05:46 GOVERNANCE.md [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 05:46 Jenkinsfile [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 05:46 LICENSE [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 25 05:46 Makefile [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 25 05:46 OWNERS.md [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 25 05:46 README.md [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 05:44 VERSION [2023-09-25T05:51:09.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:46 bin [2023-09-25T05:51:09.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:46 cmd [2023-09-25T05:51:09.393Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 25 05:50 coverage.out [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 3941 Sep 25 05:46 go.mod [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 35965 Sep 25 05:46 go.sum [2023-09-25T05:51:09.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 05:46 internal [2023-09-25T05:51:09.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 05:46 simulator [2023-09-25T05:51:09.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 05:46 snap [2023-09-25T05:51:09.393Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 25 05:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:51:09.825Z] + 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=97e5d59619a97e0ea732da14c8df92277a3df7aa --label arch=arm64 --label version=0.0.0 . [2023-09-25T05:51:10.416Z] Sending build context to Docker daemon 3.395MB [2023-09-25T05:51:10.416Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T05:51:10.416Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-25T05:51:10.416Z] ---> 88f952b1f31e [2023-09-25T05:51:10.416Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-25T05:51:10.685Z] ---> Running in 62c9adb88c77 [2023-09-25T05:51:10.954Z] Removing intermediate container 62c9adb88c77 [2023-09-25T05:51:10.954Z] ---> bb56262326bd [2023-09-25T05:51:10.954Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T05:51:11.224Z] ---> Running in 97d606045e03 [2023-09-25T05:51:12.637Z] Removing intermediate container 97d606045e03 [2023-09-25T05:51:12.637Z] ---> 6c76f1fd3379 [2023-09-25T05:51:12.637Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-25T05:51:12.637Z] ---> Running in ab099292cc26 [2023-09-25T05:51:15.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T05:51:15.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T05:51:17.396Z] OK: 272 MiB in 60 packages [2023-09-25T05:51:18.359Z] Removing intermediate container ab099292cc26 [2023-09-25T05:51:18.359Z] ---> a0bc7da9918d [2023-09-25T05:51:18.359Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-25T05:51:18.359Z] ---> Running in 211f74150d0f [2023-09-25T05:51:18.627Z] Removing intermediate container 211f74150d0f [2023-09-25T05:51:18.627Z] ---> 9efcd3163f69 [2023-09-25T05:51:18.627Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-25T05:51:19.216Z] ---> a7917497622c [2023-09-25T05:51:19.216Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T05:51:19.483Z] ---> Running in ef256e4e9330 [2023-09-25T05:51:22.071Z] Removing intermediate container ef256e4e9330 [2023-09-25T05:51:22.071Z] ---> 3d10e3987bc8 [2023-09-25T05:51:22.071Z] Step 9/22 : COPY . . [2023-09-25T05:51:22.660Z] ---> 99df3c14d4c7 [2023-09-25T05:51:22.661Z] Step 10/22 : RUN ${MAKE} [2023-09-25T05:51:22.928Z] ---> Running in 91b547791d83 [2023-09-25T05:51:23.888Z] 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.30" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-25T05:53:15.543Z] Removing intermediate container 91b547791d83 [2023-09-25T05:53:15.543Z] ---> eb7f5dec7986 [2023-09-25T05:53:15.543Z] Step 11/22 : FROM alpine:3.18 [2023-09-25T05:53:15.543Z] 3.18: Pulling from library/alpine [2023-09-25T05:53:15.543Z] 9fda8d8052c6: Already exists [2023-09-25T05:53:15.543Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T05:53:15.543Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T05:53:15.543Z] ---> f6648c04cd6c [2023-09-25T05:53:15.543Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-25T05:53:15.543Z] ---> Running in 58b72c9d1702 [2023-09-25T05:53:15.543Z] Removing intermediate container 58b72c9d1702 [2023-09-25T05:53:15.543Z] ---> 4b95b3f8210c [2023-09-25T05:53:15.543Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-25T05:53:15.543Z] ---> Running in c01c4739f29e [2023-09-25T05:53:15.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T05:53:15.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T05:53:16.127Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T05:53:16.127Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T05:53:16.127Z] OK: 8 MiB in 16 packages [2023-09-25T05:53:18.174Z] Removing intermediate container c01c4739f29e [2023-09-25T05:53:18.174Z] ---> 71c0185a3ba4 [2023-09-25T05:53:18.174Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-25T05:53:19.582Z] ---> b04bd53e4b88 [2023-09-25T05:53:19.582Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-25T05:53:19.852Z] ---> 6e87a48a2169 [2023-09-25T05:53:19.852Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-25T05:53:20.444Z] ---> 68e6dd343240 [2023-09-25T05:53:20.444Z] Step 17/22 : EXPOSE 59901 [2023-09-25T05:53:20.444Z] ---> Running in 70c2416f8e9b [2023-09-25T05:53:20.712Z] Removing intermediate container 70c2416f8e9b [2023-09-25T05:53:20.712Z] ---> 93d5f80d9204 [2023-09-25T05:53:20.712Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-25T05:53:20.712Z] ---> Running in 9e9c58acf8c7 [2023-09-25T05:53:20.979Z] Removing intermediate container 9e9c58acf8c7 [2023-09-25T05:53:20.979Z] ---> b199fb0d134d [2023-09-25T05:53:20.979Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T05:53:20.979Z] ---> Running in 19024ed88aa7 [2023-09-25T05:53:21.247Z] Removing intermediate container 19024ed88aa7 [2023-09-25T05:53:21.247Z] ---> 26a68c67bc06 [2023-09-25T05:53:21.247Z] Step 20/22 : LABEL arch=arm64 [2023-09-25T05:53:21.247Z] ---> Running in 822d8f839628 [2023-09-25T05:53:21.521Z] Removing intermediate container 822d8f839628 [2023-09-25T05:53:21.521Z] ---> 729c9e43d039 [2023-09-25T05:53:21.521Z] Step 21/22 : LABEL git_sha=97e5d59619a97e0ea732da14c8df92277a3df7aa [2023-09-25T05:53:21.788Z] ---> Running in 1c42a9bfc042 [2023-09-25T05:53:22.055Z] Removing intermediate container 1c42a9bfc042 [2023-09-25T05:53:22.055Z] ---> fd3942a2819a [2023-09-25T05:53:22.055Z] Step 22/22 : LABEL version=0.0.0 [2023-09-25T05:53:22.055Z] ---> Running in 1c616c7a6ab0 [2023-09-25T05:53:22.324Z] Removing intermediate container 1c616c7a6ab0 [2023-09-25T05:53:22.324Z] ---> 30f929683caf [2023-09-25T05:53:22.324Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T05:53:22.324Z] Successfully built 30f929683caf [2023-09-25T05:53:22.324Z] 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-25T05:53:23.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T05:53:23.211Z] [2023-09-25T05:53:23.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:53:23.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T05:53:23.622Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T05:53:23.622Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T05:53:23.622Z] 04944245beec: Pulling fs layer [2023-09-25T05:53:23.622Z] 699f458cf7ca: Pulling fs layer [2023-09-25T05:53:23.622Z] 765212b225bb: Pulling fs layer [2023-09-25T05:53:23.622Z] f23df028b6ca: Pulling fs layer [2023-09-25T05:53:23.622Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T05:53:23.622Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T05:53:23.622Z] 765212b225bb: Waiting [2023-09-25T05:53:23.622Z] f23df028b6ca: Waiting [2023-09-25T05:53:23.622Z] d65c8cfc05b1: Waiting [2023-09-25T05:53:23.622Z] 2437ff75d9bd: Waiting [2023-09-25T05:53:23.890Z] 04944245beec: Verifying Checksum [2023-09-25T05:53:23.890Z] 04944245beec: Download complete [2023-09-25T05:53:23.890Z] 765212b225bb: Verifying Checksum [2023-09-25T05:53:23.890Z] 765212b225bb: Download complete [2023-09-25T05:53:23.890Z] f23df028b6ca: Verifying Checksum [2023-09-25T05:53:23.890Z] f23df028b6ca: Download complete [2023-09-25T05:53:23.890Z] d65c8cfc05b1: Verifying Checksum [2023-09-25T05:53:23.890Z] d65c8cfc05b1: Download complete [2023-09-25T05:53:23.890Z] 699f458cf7ca: Verifying Checksum [2023-09-25T05:53:23.890Z] 699f458cf7ca: Download complete [2023-09-25T05:53:24.473Z] 8998bd30e6a1: Verifying Checksum [2023-09-25T05:53:24.473Z] 8998bd30e6a1: Download complete [2023-09-25T05:53:26.415Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T05:53:26.415Z] 2437ff75d9bd: Download complete [2023-09-25T05:53:28.359Z] 8998bd30e6a1: Pull complete [2023-09-25T05:53:28.626Z] 04944245beec: Pull complete [2023-09-25T05:53:33.958Z] 699f458cf7ca: Pull complete [2023-09-25T05:53:33.958Z] 765212b225bb: Pull complete [2023-09-25T05:53:34.303Z] f23df028b6ca: Pull complete [2023-09-25T05:53:34.593Z] d65c8cfc05b1: Pull complete [2023-09-25T05:53:49.712Z] 2437ff75d9bd: Pull complete [2023-09-25T05:53:49.712Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T05:53:49.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T05:53:49.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:53:50.051Z] prd-ubuntu20.04-docker-arm64-4c-16g-7793 does not seem to be running inside a container [2023-09-25T05:53:50.124Z] $ 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-25T05:53:52.625Z] $ docker top fe8ae9082fe572743f0e74b15856ce26765ee97f9398f5a8019d727978b44dfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:53:53.170Z] ---> job-cost.sh [2023-09-25T05:53:53.436Z] lf-activate-venv: SKIPPING [2023-09-25T05:53:53.436Z] INFO: No Stack... [2023-09-25T05:53:53.700Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T05:53:54.652Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T05:53:54.986Z] + cut -d, -f6 [2023-09-25T05:53:54.986Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-09-25T05:53:55.339Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [2023-09-25T05:53:55.343Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] did not exist. Created. [2023-09-25T05:53:55.343Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T05:53:55.752Z] /w/workspace/device-modbus-go/1@tmp/durable-eec960af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T05:53:56.101Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T05:53:56.136Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T05:53:56.188Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T05:53:56.203Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T05:53:56.293Z] $ docker stop --time=1 fe8ae9082fe572743f0e74b15856ce26765ee97f9398f5a8019d727978b44dfe [2023-09-25T05:53:57.749Z] $ docker rm -f --volumes fe8ae9082fe572743f0e74b15856ce26765ee97f9398f5a8019d727978b44dfe [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-25T05:53:58.724Z] provisioning config files... [2023-09-25T05:53:58.731Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config16261276879260261607tmp [Pipeline] { [Pipeline] sh [2023-09-25T05:53:59.062Z] + set +x [2023-09-25T05:53:59.062Z] + curl -s https://codecov.io/bash [2023-09-25T05:53:59.062Z] + bash -s -- [2023-09-25T05:53:59.579Z] [2023-09-25T05:53:59.579Z] _____ _ [2023-09-25T05:53:59.579Z] / ____| | | [2023-09-25T05:53:59.579Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T05:53:59.579Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T05:53:59.579Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T05:53:59.579Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T05:53:59.579Z] Bash-1.0.6 [2023-09-25T05:53:59.579Z] [2023-09-25T05:53:59.579Z] [2023-09-25T05:53:59.579Z] ==> git version 2.25.1 found [2023-09-25T05:53:59.579Z] ==> 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-25T05:53:59.579Z] Release-Date: 2020-01-08 [2023-09-25T05:53:59.579Z] 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-25T05:53:59.579Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T05:53:59.579Z] ==> Jenkins CI detected. [2023-09-25T05:53:59.579Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-505 [2023-09-25T05:53:59.579Z] project root: . [2023-09-25T05:53:59.579Z] --> token set from env [2023-09-25T05:53:59.579Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T05:53:59.579Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T05:53:59.579Z] ==> Python coveragepy not found [2023-09-25T05:53:59.579Z] ==> Searching for coverage reports in: [2023-09-25T05:53:59.579Z] + . [2023-09-25T05:53:59.579Z] -> Found 1 reports [2023-09-25T05:53:59.579Z] ==> Detecting git/mercurial file structure [2023-09-25T05:53:59.579Z] ==> Reading reports [2023-09-25T05:53:59.579Z] + ./coverage.out bytes=24334 [2023-09-25T05:53:59.579Z] ==> Appending adjustments [2023-09-25T05:53:59.579Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T05:53:59.579Z] + Found adjustments [2023-09-25T05:53:59.579Z] ==> Gzipping contents [2023-09-25T05:53:59.579Z] 4.0K /tmp/codecov.T6FIBB.gz [2023-09-25T05:53:59.579Z] ==> Uploading reports [2023-09-25T05:53:59.579Z] url: https://codecov.io [2023-09-25T05:53:59.579Z] query: branch=PR-505&commit=97e5d59619a97e0ea732da14c8df92277a3df7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=505&job=&cmd_args= [2023-09-25T05:53:59.580Z] -> Pinging Codecov [2023-09-25T05:53:59.580Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-505&commit=97e5d59619a97e0ea732da14c8df92277a3df7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=505&job=&cmd_args= [2023-09-25T05:53:59.580Z] -> Uploading to [2023-09-25T05:53:59.580Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/55DBCA73C666E3227836607328DD7E49/97e5d59619a97e0ea732da14c8df92277a3df7aa/b2ad7897-0170-48f1-82f9-9d5206eac663.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T055359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b8a332fc2dd731c971bb1b589b294bb62f6806d7d83b645ea68b883e32acb9b [2023-09-25T05:53:59.580Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T05:53:59.580Z] Dload Upload Total Spent Left Speed [2023-09-25T05:53:59.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 18570 --:--:-- --:--:-- --:--:-- 18570 [2023-09-25T05:53:59.839Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/97e5d59619a97e0ea732da14c8df92277a3df7aa [Pipeline] } [2023-09-25T05:53:59.870Z] 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-25T05:54:01.712Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-505/archives ] [2023-09-25T05:54:01.713Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-505/archives [2023-09-25T05:54:01.713Z] total 16 [2023-09-25T05:54:01.713Z] drwxr-xr-x 3 root root 4096 Sep 25 05:46 . [2023-09-25T05:54:01.713Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 05:46 .. [2023-09-25T05:54:01.713Z] drwxr-xr-x 2 root root 4096 Sep 25 05:46 cost [2023-09-25T05:54:01.713Z] -rw-r--r-- 1 root root 88 Sep 25 05:46 cost.csv [2023-09-25T05:54:01.713Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-505/archives [2023-09-25T05:54:01.713Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-505/archives [2023-09-25T05:54:01.713Z] total 16 [2023-09-25T05:54:01.713Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 05:46 . [2023-09-25T05:54:01.713Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 05:46 .. [2023-09-25T05:54:01.713Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 05:46 cost [2023-09-25T05:54:01.713Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 25 05:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:02.045Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:02.929Z] ---> package-listing.sh [2023-09-25T05:54:02.929Z] ++ facter osfamily [2023-09-25T05:54:02.929Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T05:54:03.188Z] + OS_FAMILY=debian [2023-09-25T05:54:03.188Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-505 [2023-09-25T05:54:03.188Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T05:54:03.188Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T05:54:03.188Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T05:54:03.188Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T05:54:03.188Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-505 ']' [2023-09-25T05:54:03.188Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T05:54:03.188Z] + case "${OS_FAMILY}" in [2023-09-25T05:54:03.188Z] + dpkg -l [2023-09-25T05:54:03.188Z] + grep '^ii' [2023-09-25T05:54:03.188Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T05:54:03.188Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T05:54:03.188Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T05:54:03.188Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-505 ']' [2023-09-25T05:54:03.188Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-505/archives/ [2023-09-25T05:54:03.188Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-505/archives/ [Pipeline] echo [2023-09-25T05:54:03.222Z] 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-25T05:54:03.513Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T05:54:04.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T05:54:04.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T05:54:04.287Z] prd-ubuntu20.04-docker-8c-8g-7792 does not seem to be running inside a container [2023-09-25T05:54:04.307Z] $ 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-505/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-505 -v /w/workspace/xfoundry_device-modbus-go_PR-505:/w/workspace/xfoundry_device-modbus-go_PR-505:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-505@tmp:/w/workspace/xfoundry_device-modbus-go_PR-505@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-25T05:54:04.661Z] $ docker top 31e9d90417275b61a69642ad2b46d6f38b43abd0a95e630983df6dfe90a2e7d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T05:54:05.068Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T05:54:05.385Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T05:54:05.693Z] + ls /var/log/sa-host [2023-09-25T05:54:05.693Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T05:54:05.924Z] provisioning config files... [2023-09-25T05:54:05.933Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-505@tmp/config10322235571712566177tmp [Pipeline] { [Pipeline] echo [2023-09-25T05:54:05.981Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:06.292Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T05:54:06.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:06.733Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T05:54:06.764Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:07.080Z] ---> sudo-logs.sh [2023-09-25T05:54:07.080Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T05:54:07.170Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:07.476Z] ---> job-cost.sh [2023-09-25T05:54:07.476Z] lf-activate-venv: SKIPPING [2023-09-25T05:54:07.476Z] DEBUG: total: 0.2199999988079071 [2023-09-25T05:54:07.476Z] INFO: Retrieving Stack Cost... [2023-09-25T05:54:08.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T05:54:08.300Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T05:54:08.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T05:54:08.645Z] ---> logs-deploy.sh [2023-09-25T05:54:08.645Z] lf-activate-venv: SKIPPING [2023-09-25T05:54:08.645Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-505/1 [2023-09-25T05:54:08.645Z] INFO: archiving workspace using pattern(s): [2023-09-25T05:54:09.581Z] Archives upload complete. [2023-09-25T05:54:09.581Z] INFO: archiving logs to Nexus