Pull request #345 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea rather than 8fe31c03d27ece93ff91a989a0b9f6025d8f231e Obtained Jenkinsfile from 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 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-ssh11485453751838758873.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh1810335437681171631.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-345/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3997574201676479896.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh10383853098793845060.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-345/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16366083470313693530.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47542 in /w/workspace/xfoundry_device-modbus-go_PR-345 [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-345 # 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 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea into PR head commit 8fe31c03d27ece93ff91a989a0b9f6025d8f231e Merge succeeded, producing 8fe31c03d27ece93ff91a989a0b9f6025d8f231e Checking out Revision 8fe31c03d27ece93ff91a989a0b9f6025d8f231e (PR-345) > 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/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fe31c03d27ece93ff91a989a0b9f6025d8f231e # 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 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fe31c03d27ece93ff91a989a0b9f6025d8f231e # timeout=10 Commit message: "build(deps): go 1.17 mod tidy" > git rev-list --no-walk 14ff68196de14f84e156ad11d70fc60c7e109548 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T12:09:17.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T12:09:17.123Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T12:09:17.141Z] ========================================================= [2022-05-10T12:09:17.141Z] EdgeX Global Pipelines Version Info [2022-05-10T12:09:17.141Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:09:17.900Z] ------------------- [2022-05-10T12:09:17.900Z] stable info: [2022-05-10T12:09:17.900Z] ------------------- [2022-05-10T12:09:17.900Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:09:17.900Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T12:09:17.900Z] Message: update stable to v1.0.227 [2022-05-10T12:09:18.485Z] ------------------- [2022-05-10T12:09:18.485Z] experimental info: [2022-05-10T12:09:18.485Z] ------------------- [2022-05-10T12:09:18.485Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:09:18.485Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T12:09:18.485Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T12:09:18.614Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-10T12:09:18.629Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-10T12:09:18.649Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T12:09:18.658Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T12:09:18.671Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T12:09:18.691Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T12:09:18.711Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T12:09:18.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T12:09:18.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T12:09:18.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T12:09:18.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T12:09:18.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-10T12:09:18.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T12:09:18.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T12:09:18.853Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:09:18.872Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:09:18.886Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:09:18.898Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:09:18.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T12:09:18.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T12:09:18.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T12:09:18.967Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T12:09:18.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T12:09:18.995Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T12:09:19.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T12:09:19.022Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T12:09:19.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo [2022-05-10T12:09:19.062Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo [2022-05-10T12:09:19.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo [2022-05-10T12:09:19.099Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fe31c03d27ece93ff91a989a0b9f6025d8f231e [Pipeline] echo [2022-05-10T12:09:19.130Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fe31c0 [Pipeline] echo [2022-05-10T12:09:19.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:09:19.179Z] provisioning config files... [2022-05-10T12:09:19.191Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config4298845485998632728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:09:19.500Z] ---> docker-login.sh [2022-05-10T12:09:19.500Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:09:19.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:19.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:19.761Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:19.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:19.761Z] [2022-05-10T12:09:19.761Z] Login Succeeded [2022-05-10T12:09:19.761Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:09:19.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:20.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:20.023Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:20.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:20.023Z] [2022-05-10T12:09:20.023Z] Login Succeeded [2022-05-10T12:09:20.023Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:09:20.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:20.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:20.023Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:20.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:20.023Z] [2022-05-10T12:09:20.023Z] Login Succeeded [2022-05-10T12:09:20.023Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:09:20.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:20.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:20.289Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:20.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:20.289Z] [2022-05-10T12:09:20.289Z] Login Succeeded [2022-05-10T12:09:20.289Z] docker.io [2022-05-10T12:09:20.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:20.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:20.549Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:20.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:20.549Z] [2022-05-10T12:09:20.549Z] Login Succeeded [2022-05-10T12:09:20.549Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:09:20.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T12:09:20.927Z] + git rev-list -1 --merges 8fe31c03d27ece93ff91a989a0b9f6025d8f231e~1..8fe31c03d27ece93ff91a989a0b9f6025d8f231e [Pipeline] echo [2022-05-10T12:09:21.029Z] -----------> git rev-list -1 --merges 8fe31c03d27ece93ff91a989a0b9f6025d8f231e~1..8fe31c03d27ece93ff91a989a0b9f6025d8f231e 8fe31c03d27ece93ff91a989a0b9f6025d8f231e [false] [Pipeline] sh [2022-05-10T12:09:21.321Z] + git log --format=format:%s -1 8fe31c03d27ece93ff91a989a0b9f6025d8f231e [Pipeline] echo [2022-05-10T12:09:21.336Z] ========================================================= [2022-05-10T12:09:21.336Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T12:09:21.336Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:09:21.679Z] + git log --format=format:%s -1 8fe31c03d27ece93ff91a989a0b9f6025d8f231e [Pipeline] echo [2022-05-10T12:09:21.691Z] [semverPrep] GIT_COMMIT: 8fe31c03d27ece93ff91a989a0b9f6025d8f231e, Commit Message: build(deps): go 1.17 mod tidy [Pipeline] echo [2022-05-10T12:09:21.701Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T12:09:22.102Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:09:22.102Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T12:09:22.102Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T12:09:22.102Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T12:09:22.102Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T12:09:22.102Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T12:09:22.102Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:09:22.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:09:22.459Z] [2022-05-10T12:09:22.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:09:22.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:09:22.768Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T12:09:22.768Z] 1fe172e4850f: Pulling fs layer [2022-05-10T12:09:22.768Z] caf521ccaac6: Pulling fs layer [2022-05-10T12:09:22.768Z] 3ead6fa29328: Pulling fs layer [2022-05-10T12:09:22.768Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T12:09:22.768Z] a8d5f1318db7: Pulling fs layer [2022-05-10T12:09:22.768Z] c427282e49a2: Pulling fs layer [2022-05-10T12:09:22.768Z] 1827001aaf11: Pulling fs layer [2022-05-10T12:09:22.768Z] 0714d37db230: Pulling fs layer [2022-05-10T12:09:22.768Z] ac28cf19c067: Pulling fs layer [2022-05-10T12:09:22.768Z] ca983d60f3e2: Pulling fs layer [2022-05-10T12:09:22.768Z] 9f894cec8388: Pulling fs layer [2022-05-10T12:09:22.768Z] 0714d37db230: Waiting [2022-05-10T12:09:22.768Z] 9f894cec8388: Waiting [2022-05-10T12:09:22.768Z] 5c2a1cbceb83: Waiting [2022-05-10T12:09:22.768Z] ca983d60f3e2: Waiting [2022-05-10T12:09:22.768Z] ac28cf19c067: Waiting [2022-05-10T12:09:22.768Z] c427282e49a2: Waiting [2022-05-10T12:09:22.768Z] a8d5f1318db7: Waiting [2022-05-10T12:09:22.768Z] 1827001aaf11: Waiting [2022-05-10T12:09:22.768Z] caf521ccaac6: Download complete [2022-05-10T12:09:22.768Z] 5c2a1cbceb83: Download complete [2022-05-10T12:09:22.768Z] a8d5f1318db7: Verifying Checksum [2022-05-10T12:09:22.768Z] a8d5f1318db7: Download complete [2022-05-10T12:09:23.028Z] c427282e49a2: Download complete [2022-05-10T12:09:23.028Z] 3ead6fa29328: Verifying Checksum [2022-05-10T12:09:23.028Z] 3ead6fa29328: Download complete [2022-05-10T12:09:23.028Z] 0714d37db230: Download complete [2022-05-10T12:09:23.028Z] ac28cf19c067: Download complete [2022-05-10T12:09:23.028Z] ca983d60f3e2: Verifying Checksum [2022-05-10T12:09:23.028Z] ca983d60f3e2: Download complete [2022-05-10T12:09:23.028Z] 9f894cec8388: Download complete [2022-05-10T12:09:23.028Z] 1fe172e4850f: Verifying Checksum [2022-05-10T12:09:23.028Z] 1fe172e4850f: Download complete [2022-05-10T12:09:23.288Z] 1827001aaf11: Verifying Checksum [2022-05-10T12:09:23.288Z] 1827001aaf11: Download complete [2022-05-10T12:09:24.670Z] 1fe172e4850f: Pull complete [2022-05-10T12:09:24.670Z] caf521ccaac6: Pull complete [2022-05-10T12:09:24.930Z] 3ead6fa29328: Pull complete [2022-05-10T12:09:25.190Z] 5c2a1cbceb83: Pull complete [2022-05-10T12:09:25.448Z] a8d5f1318db7: Pull complete [2022-05-10T12:09:25.448Z] c427282e49a2: Pull complete [2022-05-10T12:09:27.359Z] 1827001aaf11: Pull complete [2022-05-10T12:09:27.359Z] 0714d37db230: Pull complete [2022-05-10T12:09:27.359Z] ac28cf19c067: Pull complete [2022-05-10T12:09:27.620Z] ca983d60f3e2: Pull complete [2022-05-10T12:09:27.620Z] 9f894cec8388: Pull complete [2022-05-10T12:09:27.620Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T12:09:27.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:09:27.620Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T12:09:27.690Z] prd-ubuntu20.04-docker-8c-8g-47542 does not seem to be running inside a container [2022-05-10T12:09:27.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-345 -v /w/workspace/xfoundry_device-modbus-go_PR-345:/w/workspace/xfoundry_device-modbus-go_PR-345:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-345@tmp:/w/workspace/xfoundry_device-modbus-go_PR-345@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:09:29.356Z] $ docker top ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 -eo pid,comm [2022-05-10T12:09:29.424Z] 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). [2022-05-10T12:09:29.424Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:09:29.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:09:29.478Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:09:29.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:09:29.629Z] $ docker exec ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 ssh-agent [2022-05-10T12:09:29.754Z] SSH_AUTH_SOCK=/tmp/ssh-RQFVCeL6lyAu/agent.33 [2022-05-10T12:09:29.754Z] SSH_AGENT_PID=39 [2022-05-10T12:09:29.762Z] Running ssh-add (command line suppressed) [2022-05-10T12:09:29.876Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_24971367626239402.key (/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_24971367626239402.key) [2022-05-10T12:09:29.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:09:30.181Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T12:09:30.196Z] $ docker exec --env ******** --env ******** ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 ssh-agent -k [2022-05-10T12:09:30.309Z] unset SSH_AUTH_SOCK; [2022-05-10T12:09:30.309Z] unset SSH_AGENT_PID; [2022-05-10T12:09:30.309Z] echo Agent pid 39 killed; [2022-05-10T12:09:30.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T12:09:30.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:09:30.343Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:09:30.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:09:30.490Z] $ docker exec ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 ssh-agent [2022-05-10T12:09:30.604Z] SSH_AUTH_SOCK=/tmp/ssh-mgcAl8QLkfIk/agent.72 [2022-05-10T12:09:30.604Z] SSH_AGENT_PID=78 [2022-05-10T12:09:30.610Z] Running ssh-add (command line suppressed) [2022-05-10T12:09:30.724Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_6588489444500057884.key (/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_6588489444500057884.key) [2022-05-10T12:09:30.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:09:31.028Z] + git semver init [2022-05-10T12:09:31.288Z] 2022-05-10 12:09:31,214 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T12:09:31.288Z] 2022-05-10 12:09:31,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-345/.semver [2022-05-10T12:09:31.288Z] 2022-05-10 12:09:31,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-345/.semver [2022-05-10T12:09:31.288Z] 2022-05-10 12:09:31,215 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-345/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-345, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:09:32.230Z] 2022-05-10 12:09:32,228 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-345/.git/info/exclude [2022-05-10T12:09:32.230Z] 2022-05-10 12:09:32,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-345/.semver/PR-345 with force:False [2022-05-10T12:09:32.230Z] 2022-05-10 12:09:32,228 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-345/.semver/PR-345 [2022-05-10T12:09:32.230Z] 2022-05-10 12:09:32,233 [execute] INFO git cat-file --batch-check [2022-05-10T12:09:32.230Z] 2022-05-10 12:09:32,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-345/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:09:32.492Z] 2022-05-10 12:09:32,239 [execute] INFO git cat-file --batch [2022-05-10T12:09:32.492Z] 2022-05-10 12:09:32,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-345/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:09:32.492Z] 2022-05-10 12:09:32,246 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-345/.semver/PR-345 [2022-05-10T12:09:32.492Z] 0.0.0 [Pipeline] } [2022-05-10T12:09:32.509Z] $ docker exec --env ******** --env ******** ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 ssh-agent -k [2022-05-10T12:09:32.634Z] unset SSH_AUTH_SOCK; [2022-05-10T12:09:32.634Z] unset SSH_AGENT_PID; [2022-05-10T12:09:32.634Z] echo Agent pid 78 killed; [2022-05-10T12:09:32.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:09:32.958Z] + git semver [Pipeline] } [2022-05-10T12:09:33.235Z] $ docker stop --time=1 ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 [2022-05-10T12:09:34.613Z] $ docker rm -f ef17f108981d076ea62ad6f45b64e1fe3a3d551df4b7f089258120fd8248a0a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:09:34.969Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T12:09:35.215Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T12:09:35.219Z] [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 [2022-05-10T12:09:35.329Z] provisioning config files... [2022-05-10T12:09:35.340Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config36663929786142711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:09:35.645Z] ---> docker-login.sh [2022-05-10T12:09:35.645Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:09:35.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:35.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:35.645Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:35.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:35.645Z] [2022-05-10T12:09:35.645Z] Login Succeeded [2022-05-10T12:09:35.645Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:09:35.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:35.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:35.906Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:35.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:35.906Z] [2022-05-10T12:09:35.906Z] Login Succeeded [2022-05-10T12:09:35.906Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:09:35.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:35.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:35.906Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:35.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:35.906Z] [2022-05-10T12:09:35.906Z] Login Succeeded [2022-05-10T12:09:35.906Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:09:35.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:36.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:36.168Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:36.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:36.168Z] [2022-05-10T12:09:36.168Z] Login Succeeded [2022-05-10T12:09:36.168Z] docker.io [2022-05-10T12:09:36.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:09:36.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:09:36.429Z] Configure a credential helper to remove this warning. See [2022-05-10T12:09:36.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:09:36.429Z] [2022-05-10T12:09:36.429Z] Login Succeeded [2022-05-10T12:09:36.429Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:09:36.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:09:36.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:09:36.522Z] ========================================================= [2022-05-10T12:09:36.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T12:09:36.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:09:36.835Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T12:09:36.835Z] Sending build context to Docker daemon 5.922MB [2022-05-10T12:09:36.835Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:09:36.835Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T12:09:36.835Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T12:09:36.835Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T12:09:36.835Z] 666ba61612fd: Pulling fs layer [2022-05-10T12:09:36.835Z] 8ed8ca486205: Pulling fs layer [2022-05-10T12:09:36.835Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T12:09:36.835Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T12:09:36.835Z] ca2b28591e48: Pulling fs layer [2022-05-10T12:09:36.835Z] 4fe6c5a15a65: Waiting [2022-05-10T12:09:36.835Z] 22a0e8bec74d: Waiting [2022-05-10T12:09:36.835Z] a51346096db8: Pulling fs layer [2022-05-10T12:09:36.835Z] daebc70d1ce1: Pulling fs layer [2022-05-10T12:09:36.835Z] 0e18a0eac166: Pulling fs layer [2022-05-10T12:09:36.835Z] ca2b28591e48: Waiting [2022-05-10T12:09:36.835Z] daebc70d1ce1: Waiting [2022-05-10T12:09:36.835Z] 0e18a0eac166: Waiting [2022-05-10T12:09:36.835Z] 8ed8ca486205: Verifying Checksum [2022-05-10T12:09:36.835Z] 8ed8ca486205: Download complete [2022-05-10T12:09:36.835Z] 666ba61612fd: Verifying Checksum [2022-05-10T12:09:36.835Z] 666ba61612fd: Download complete [2022-05-10T12:09:36.835Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T12:09:36.835Z] 22a0e8bec74d: Download complete [2022-05-10T12:09:37.097Z] ca2b28591e48: Verifying Checksum [2022-05-10T12:09:37.097Z] ca2b28591e48: Download complete [2022-05-10T12:09:37.097Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T12:09:37.097Z] 59bf1c3509f3: Download complete [2022-05-10T12:09:37.097Z] a51346096db8: Verifying Checksum [2022-05-10T12:09:37.097Z] a51346096db8: Download complete [2022-05-10T12:09:37.097Z] daebc70d1ce1: Verifying Checksum [2022-05-10T12:09:37.097Z] daebc70d1ce1: Download complete [2022-05-10T12:09:37.097Z] 59bf1c3509f3: Pull complete [2022-05-10T12:09:37.360Z] 666ba61612fd: Pull complete [2022-05-10T12:09:37.360Z] 8ed8ca486205: Pull complete [2022-05-10T12:09:37.621Z] 0e18a0eac166: Verifying Checksum [2022-05-10T12:09:37.621Z] 0e18a0eac166: Download complete [2022-05-10T12:09:37.881Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T12:09:37.881Z] 4fe6c5a15a65: Download complete [2022-05-10T12:09:42.079Z] 4fe6c5a15a65: Pull complete [2022-05-10T12:09:42.079Z] 22a0e8bec74d: Pull complete [2022-05-10T12:09:42.079Z] ca2b28591e48: Pull complete [2022-05-10T12:09:42.079Z] a51346096db8: Pull complete [2022-05-10T12:09:42.079Z] daebc70d1ce1: Pull complete [2022-05-10T12:09:43.986Z] 0e18a0eac166: Pull complete [2022-05-10T12:09:43.986Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T12:09:43.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T12:09:43.986Z] ---> f018257e8ee9 [2022-05-10T12:09:43.986Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T12:09:45.904Z] ---> Running in 93d55cdf57ff [2022-05-10T12:09:45.904Z] Removing intermediate container 93d55cdf57ff [2022-05-10T12:09:45.904Z] ---> 6c55d8ada546 [2022-05-10T12:09:45.904Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:09:45.904Z] ---> Running in 5c70c8e76e0a [2022-05-10T12:09:46.475Z] Removing intermediate container 5c70c8e76e0a [2022-05-10T12:09:46.475Z] ---> afd67968ce03 [2022-05-10T12:09:46.475Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:09:46.475Z] ---> Running in e480bf20cb29 [2022-05-10T12:09:47.048Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:09:47.621Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:09:47.882Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:09:48.144Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T12:09:48.144Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:09:48.405Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:09:48.405Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T12:09:48.405Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T12:09:48.666Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T12:09:48.666Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T12:09:48.666Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:09:48.666Z] OK: 226 MiB in 60 packages [2022-05-10T12:09:49.250Z] Removing intermediate container e480bf20cb29 [2022-05-10T12:09:49.250Z] ---> 1b7bab1b213b [2022-05-10T12:09:49.250Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T12:09:49.250Z] ---> Running in 9ff20f27ea44 [2022-05-10T12:09:49.830Z] Removing intermediate container 9ff20f27ea44 [2022-05-10T12:09:49.830Z] ---> 519e508a1b4d [2022-05-10T12:09:49.830Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T12:09:50.090Z] ---> 02dbe25ea82e [2022-05-10T12:09:50.090Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:09:50.090Z] ---> Running in 8dbec38143db [2022-05-10T12:09:50.300Z] Still waiting to schedule task [2022-05-10T12:09:50.300Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:10:08.219Z] Removing intermediate container 8dbec38143db [2022-05-10T12:10:08.219Z] ---> 750739f7ca49 [2022-05-10T12:10:08.219Z] Step 9/10 : COPY . . [2022-05-10T12:10:08.219Z] ---> 6776348362b2 [2022-05-10T12:10:08.219Z] Step 10/10 : RUN ${MAKE} [2022-05-10T12:10:08.219Z] ---> Running in d7841abaa652 [2022-05-10T12:10:08.219Z] noop [2022-05-10T12:10:08.219Z] Removing intermediate container d7841abaa652 [2022-05-10T12:10:08.219Z] ---> 18c2d787282d [2022-05-10T12:10:08.219Z] Successfully built 18c2d787282d [2022-05-10T12:10:08.219Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:08.520Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:10:08.520Z] . [Pipeline] withDockerContainer [2022-05-10T12:10:08.603Z] prd-ubuntu20.04-docker-8c-8g-47542 does not seem to be running inside a container [2022-05-10T12:10:08.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-345 -v /w/workspace/xfoundry_device-modbus-go_PR-345:/w/workspace/xfoundry_device-modbus-go_PR-345:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-345@tmp:/w/workspace/xfoundry_device-modbus-go_PR-345@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T12:10:09.156Z] $ docker top ba82f7d7a2c7be81000ba4f10dc52d7cdd7ccb984689d2bade05feed5fc57adb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:10:09.514Z] + go version [2022-05-10T12:10:09.514Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T12:10:09.534Z] $ docker stop --time=1 ba82f7d7a2c7be81000ba4f10dc52d7cdd7ccb984689d2bade05feed5fc57adb [2022-05-10T12:10:10.852Z] $ docker rm -f ba82f7d7a2c7be81000ba4f10dc52d7cdd7ccb984689d2bade05feed5fc57adb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:11.263Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:10:11.264Z] . [Pipeline] withDockerContainer [2022-05-10T12:10:11.332Z] prd-ubuntu20.04-docker-8c-8g-47542 does not seem to be running inside a container [2022-05-10T12:10:11.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-345 -v /w/workspace/xfoundry_device-modbus-go_PR-345:/w/workspace/xfoundry_device-modbus-go_PR-345:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-345@tmp:/w/workspace/xfoundry_device-modbus-go_PR-345@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T12:10:11.743Z] $ docker top ee9fbbb34d249aff781b05e50a65f3cac481385c6bf8dbc968269cc7af360a87 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:10:12.167Z] + make test [2022-05-10T12:10:12.167Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T12:10:12.437Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T12:10:22.426Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T12:10:22.426Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.022s coverage: 46.4% of statements [2022-05-10T12:10:28.996Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:10:33.204Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:10:33.204Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:10:33.204Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:10:33.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:10:33.503Z] $ docker stop --time=1 ee9fbbb34d249aff781b05e50a65f3cac481385c6bf8dbc968269cc7af360a87 [2022-05-10T12:10:35.323Z] $ docker rm -f ee9fbbb34d249aff781b05e50a65f3cac481385c6bf8dbc968269cc7af360a87 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:10:35.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:10:35.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T12:10:36.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:10:36.604Z] + ls -al . [2022-05-10T12:10:36.604Z] total 184 [2022-05-10T12:10:36.604Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:10 . [2022-05-10T12:10:36.604Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:09 .. [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:09 .dockerignore [2022-05-10T12:10:36.604Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:09 .git [2022-05-10T12:10:36.604Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:09 .github [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 12:09 .gitignore [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:09 .golangci.yml [2022-05-10T12:10:36.604Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:09 .semver [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 12:09 Attribution.txt [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 12:09 CHANGELOG.md [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 12:09 Dockerfile [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:09 GOVERNANCE.md [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:09 Jenkinsfile [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:09 LICENSE [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 12:09 Makefile [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 12:09 OWNERS.md [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 12:09 README.md [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 12:09 VERSION [2022-05-10T12:10:36.604Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:09 bin [2022-05-10T12:10:36.604Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:09 cmd [2022-05-10T12:10:36.604Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 12:10 coverage.out [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 12:09 go.mod [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 12:09 go.sum [2022-05-10T12:10:36.604Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:09 internal [2022-05-10T12:10:36.604Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:09 simulator [2022-05-10T12:10:36.604Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:09 snap [2022-05-10T12:10:36.604Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 12:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:36.905Z] + 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=8fe31c03d27ece93ff91a989a0b9f6025d8f231e --label arch=amd64 --label version=0.0.0 . [2022-05-10T12:10:36.905Z] Sending build context to Docker daemon 5.947MB [2022-05-10T12:10:36.905Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:10:36.905Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T12:10:36.905Z] ---> 18c2d787282d [2022-05-10T12:10:36.905Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T12:10:37.164Z] ---> Running in 5bdd3bdf698b [2022-05-10T12:10:37.164Z] Removing intermediate container 5bdd3bdf698b [2022-05-10T12:10:37.164Z] ---> ad8333235582 [2022-05-10T12:10:37.164Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:10:37.164Z] ---> Running in 978463b1923f [2022-05-10T12:10:38.104Z] Removing intermediate container 978463b1923f [2022-05-10T12:10:38.104Z] ---> 98d89a0d7d0e [2022-05-10T12:10:38.104Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:10:38.104Z] ---> Running in b51b61d36498 [2022-05-10T12:10:38.363Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:10:39.305Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:10:39.571Z] OK: 226 MiB in 60 packages [2022-05-10T12:10:40.145Z] Removing intermediate container b51b61d36498 [2022-05-10T12:10:40.145Z] ---> 438058618abd [2022-05-10T12:10:40.145Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T12:10:40.145Z] ---> Running in 9cd768e76c57 [2022-05-10T12:10:40.145Z] Removing intermediate container 9cd768e76c57 [2022-05-10T12:10:40.145Z] ---> ab683f47b7c0 [2022-05-10T12:10:40.145Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T12:10:40.408Z] ---> 72b1b95fa972 [2022-05-10T12:10:40.408Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:10:40.408Z] ---> Running in 3ab40bef3045 [2022-05-10T12:10:41.347Z] Removing intermediate container 3ab40bef3045 [2022-05-10T12:10:41.347Z] ---> a6411cbdd6f6 [2022-05-10T12:10:41.347Z] Step 9/23 : COPY . . [2022-05-10T12:10:41.608Z] ---> 1a62e06e5392 [2022-05-10T12:10:41.608Z] Step 10/23 : RUN ${MAKE} [2022-05-10T12:10:41.608Z] ---> Running in b79b87904efa [2022-05-10T12:10:41.867Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-10T12:11:03.812Z] Removing intermediate container b79b87904efa [2022-05-10T12:11:03.812Z] ---> 44f275c503b4 [2022-05-10T12:11:03.812Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T12:11:03.812Z] 3.14: Pulling from library/alpine [2022-05-10T12:11:03.812Z] 8663204ce13b: Pulling fs layer [2022-05-10T12:11:03.812Z] 8663204ce13b: Verifying Checksum [2022-05-10T12:11:03.812Z] 8663204ce13b: Download complete [2022-05-10T12:11:03.812Z] 8663204ce13b: Pull complete [2022-05-10T12:11:03.812Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:11:03.812Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:11:03.812Z] ---> e04c818066af [2022-05-10T12:11:03.812Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T12:11:03.812Z] ---> Running in 0bc1ad18eaaa [2022-05-10T12:11:03.812Z] Removing intermediate container 0bc1ad18eaaa [2022-05-10T12:11:03.812Z] ---> 941b19d4b7e6 [2022-05-10T12:11:03.812Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:11:03.812Z] ---> Running in 28af5bca2a1e [2022-05-10T12:11:03.812Z] Removing intermediate container 28af5bca2a1e [2022-05-10T12:11:03.812Z] ---> 6a97850e50c0 [2022-05-10T12:11:03.812Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:11:03.812Z] ---> Running in 489b01556c46 [2022-05-10T12:11:04.071Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:11:05.013Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:11:05.013Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:11:05.273Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:11:05.273Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:11:05.273Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:11:05.532Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:11:05.532Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:11:05.532Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:11:05.532Z] OK: 8 MiB in 20 packages [2022-05-10T12:11:06.101Z] Removing intermediate container 489b01556c46 [2022-05-10T12:11:06.101Z] ---> 64aab3a5c714 [2022-05-10T12:11:06.101Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T12:11:06.671Z] ---> 304f799287ef [2022-05-10T12:11:06.671Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T12:11:06.931Z] ---> 40798098e986 [2022-05-10T12:11:06.931Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T12:11:07.191Z] ---> 7e2c150ea3d7 [2022-05-10T12:11:07.191Z] Step 18/23 : EXPOSE 59901 [2022-05-10T12:11:07.191Z] ---> Running in 45c2b5a6df3e [2022-05-10T12:11:07.192Z] Removing intermediate container 45c2b5a6df3e [2022-05-10T12:11:07.192Z] ---> 5db3bdc59207 [2022-05-10T12:11:07.192Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T12:11:07.452Z] ---> Running in d55dc43b42cf [2022-05-10T12:11:07.452Z] Removing intermediate container d55dc43b42cf [2022-05-10T12:11:07.452Z] ---> 5d0af454aa45 [2022-05-10T12:11:07.452Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:11:07.712Z] ---> Running in 670e3bf1f9aa [2022-05-10T12:11:07.712Z] Removing intermediate container 670e3bf1f9aa [2022-05-10T12:11:07.712Z] ---> 8d1dffac9c1c [2022-05-10T12:11:07.712Z] Step 21/23 : LABEL arch=amd64 [2022-05-10T12:11:07.712Z] ---> Running in 119fd5f37a6b [2022-05-10T12:11:07.972Z] Removing intermediate container 119fd5f37a6b [2022-05-10T12:11:07.972Z] ---> 473fe4240af7 [2022-05-10T12:11:07.972Z] Step 22/23 : LABEL git_sha=8fe31c03d27ece93ff91a989a0b9f6025d8f231e [2022-05-10T12:11:07.972Z] ---> Running in e3f55f12626d [2022-05-10T12:11:07.972Z] Removing intermediate container e3f55f12626d [2022-05-10T12:11:07.972Z] ---> abfdf69993b3 [2022-05-10T12:11:07.972Z] Step 23/23 : LABEL version=0.0.0 [2022-05-10T12:11:07.972Z] ---> Running in d25e34ad419a [2022-05-10T12:11:08.234Z] Removing intermediate container d25e34ad419a [2022-05-10T12:11:08.234Z] ---> 1675258e7ea3 [2022-05-10T12:11:08.234Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:11:08.234Z] Successfully built 1675258e7ea3 [2022-05-10T12:11:08.234Z] Successfully tagged device-modbus:latest [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] sh [2022-05-10T12:11:08.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:11:08.630Z] [2022-05-10T12:11:08.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:11:08.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:11:08.931Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T12:11:08.931Z] 5eb5b503b376: Pulling fs layer [2022-05-10T12:11:08.931Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T12:11:08.931Z] ec43610c2a17: Pulling fs layer [2022-05-10T12:11:08.931Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T12:11:08.931Z] 33b1e0a273af: Pulling fs layer [2022-05-10T12:11:08.931Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T12:11:08.931Z] 2f39f015ded8: Pulling fs layer [2022-05-10T12:11:08.931Z] 33b1e0a273af: Waiting [2022-05-10T12:11:08.931Z] 5d3b04190fa2: Waiting [2022-05-10T12:11:08.931Z] 3a2ae6a8a46f: Waiting [2022-05-10T12:11:08.931Z] 2f39f015ded8: Waiting [2022-05-10T12:11:08.931Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T12:11:08.931Z] 5c69ac0246d0: Download complete [2022-05-10T12:11:08.931Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T12:11:08.931Z] 3a2ae6a8a46f: Download complete [2022-05-10T12:11:08.931Z] 33b1e0a273af: Verifying Checksum [2022-05-10T12:11:08.931Z] 33b1e0a273af: Download complete [2022-05-10T12:11:08.931Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T12:11:08.931Z] 5d3b04190fa2: Download complete [2022-05-10T12:11:09.190Z] ec43610c2a17: Verifying Checksum [2022-05-10T12:11:09.190Z] ec43610c2a17: Download complete [2022-05-10T12:11:09.190Z] 5eb5b503b376: Verifying Checksum [2022-05-10T12:11:09.190Z] 5eb5b503b376: Download complete [2022-05-10T12:11:09.758Z] 2f39f015ded8: Download complete [2022-05-10T12:11:10.327Z] 5eb5b503b376: Pull complete [2022-05-10T12:11:10.586Z] 5c69ac0246d0: Pull complete [2022-05-10T12:11:10.846Z] ec43610c2a17: Pull complete [2022-05-10T12:11:11.106Z] 3a2ae6a8a46f: Pull complete [2022-05-10T12:11:11.106Z] 33b1e0a273af: Pull complete [2022-05-10T12:11:11.365Z] 5d3b04190fa2: Pull complete [2022-05-10T12:11:15.558Z] 2f39f015ded8: Pull complete [2022-05-10T12:11:15.558Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T12:11:15.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:11:15.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T12:11:15.622Z] prd-ubuntu20.04-docker-8c-8g-47542 does not seem to be running inside a container [2022-05-10T12:11:15.672Z] $ 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-345 -v /w/workspace/xfoundry_device-modbus-go_PR-345:/w/workspace/xfoundry_device-modbus-go_PR-345:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-345@tmp:/w/workspace/xfoundry_device-modbus-go_PR-345@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:11:17.725Z] $ docker top 88efed0acf1d3bfa11546becc34ffc9230a4866044fdbf4577e5ff5d436348a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:11:18.107Z] ---> job-cost.sh [2022-05-10T12:11:18.107Z] lf-activate-venv: SKIPPING [2022-05-10T12:11:18.107Z] INFO: No Stack... [2022-05-10T12:11:18.680Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:11:18.941Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:11:19.242Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-345/archives/cost.csv [2022-05-10T12:11:19.242Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:11:19.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] [2022-05-10T12:11:19.264Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] did not exist. Created. [2022-05-10T12:11:19.264Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:11:19.565Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T12:11:19.597Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:11:19.603Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:11:19.632Z] $ docker stop --time=1 88efed0acf1d3bfa11546becc34ffc9230a4866044fdbf4577e5ff5d436348a0 [2022-05-10T12:11:20.788Z] $ docker rm -f 88efed0acf1d3bfa11546becc34ffc9230a4866044fdbf4577e5ff5d436348a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T12:12:26.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47546 in /w/workspace/xfoundry_device-modbus-go_PR-345 [Pipeline] { [Pipeline] ws [2022-05-10T12:12:26.611Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2022-05-10T12:12:26.889Z] Selected Git installation does not exist. Using Default [2022-05-10T12:12:26.889Z] The recommended git tool is: NONE [2022-05-10T12:12:33.100Z] using credential edgex-jenkins-ssh [2022-05-10T12:12:33.117Z] Cloning the remote Git repository [2022-05-10T12:12:33.178Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T12:12:33.256Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2022-05-10T12:12:33.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T12:12:33.417Z] > git --version # timeout=10 [2022-05-10T12:12:33.475Z] > git --version # 'git version 2.25.1' [2022-05-10T12:12:33.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:12:33.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:12:35.359Z] Merging remotes/origin/main commit 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea into PR head commit 8fe31c03d27ece93ff91a989a0b9f6025d8f231e [2022-05-10T12:12:35.558Z] Merge succeeded, producing 8fe31c03d27ece93ff91a989a0b9f6025d8f231e [2022-05-10T12:12:35.559Z] Checking out Revision 8fe31c03d27ece93ff91a989a0b9f6025d8f231e (PR-345) [2022-05-10T12:12:34.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-10T12:12:34.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:12:34.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-10T12:12:34.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T12:12:34.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:12:34.769Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T12:12:35.383Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T12:12:35.401Z] > git checkout -f 8fe31c03d27ece93ff91a989a0b9f6025d8f231e # timeout=10 [2022-05-10T12:12:35.483Z] > git remote # timeout=10 [2022-05-10T12:12:35.501Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T12:12:35.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:12:35.525Z] > git merge 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 [2022-05-10T12:12:35.550Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T12:12:35.571Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T12:12:35.582Z] > git checkout -f 8fe31c03d27ece93ff91a989a0b9f6025d8f231e # timeout=10 [2022-05-10T12:12:39.714Z] Commit message: "build(deps): go 1.17 mod tidy" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:12:40.704Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T12:12:40.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:12:40.704Z] Dload Upload Total Spent Left Speed [2022-05-10T12:12:40.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2022-05-10T12:12:41.229Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T12:12:41.568Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T12:12:41.568Z] + sudo tee /etc/docker/daemon.new [2022-05-10T12:12:41.568Z] { [2022-05-10T12:12:41.568Z] "registry-mirrors": [ [2022-05-10T12:12:41.568Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T12:12:41.568Z] ], [2022-05-10T12:12:41.568Z] "bip": "10.250.0.254/24", [2022-05-10T12:12:41.568Z] "hosts": [ [2022-05-10T12:12:41.568Z] "tcp://0.0.0.0:5555", [2022-05-10T12:12:41.568Z] "unix:///var/run/docker.sock" [2022-05-10T12:12:41.568Z] ], [2022-05-10T12:12:41.568Z] "mtu": 1458, [2022-05-10T12:12:41.568Z] "selinux-enabled": true, [2022-05-10T12:12:41.568Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T12:12:41.568Z] } [Pipeline] sh [2022-05-10T12:12:42.013Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T12:12:42.356Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:13:00.690Z] provisioning config files... [2022-05-10T12:13:00.714Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config1279188566366134395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:13:01.077Z] ---> docker-login.sh [2022-05-10T12:13:01.077Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:13:01.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:01.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:01.947Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:01.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:01.947Z] [2022-05-10T12:13:01.947Z] Login Succeeded [2022-05-10T12:13:01.947Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:13:02.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:02.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:02.492Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:02.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:02.492Z] [2022-05-10T12:13:02.492Z] Login Succeeded [2022-05-10T12:13:02.492Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:13:02.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:02.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:02.764Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:02.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:02.764Z] [2022-05-10T12:13:02.764Z] Login Succeeded [2022-05-10T12:13:02.764Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:13:03.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:03.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:03.309Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:03.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:03.309Z] [2022-05-10T12:13:03.309Z] Login Succeeded [2022-05-10T12:13:03.309Z] docker.io [2022-05-10T12:13:03.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:13:03.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:13:03.851Z] Configure a credential helper to remove this warning. See [2022-05-10T12:13:03.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:13:03.851Z] [2022-05-10T12:13:03.851Z] Login Succeeded [2022-05-10T12:13:03.851Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:13:03.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:13:04.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:13:04.335Z] ========================================================= [2022-05-10T12:13:04.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T12:13:04.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:13:04.684Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-10T12:13:04.956Z] Sending build context to Docker daemon 3.104MB [2022-05-10T12:13:04.956Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:13:04.956Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T12:13:05.234Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T12:13:05.234Z] 9b3977197b4f: Pulling fs layer [2022-05-10T12:13:05.234Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T12:13:05.234Z] 94645a83ff95: Pulling fs layer [2022-05-10T12:13:05.234Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T12:13:05.234Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T12:13:05.234Z] 3096ccb668a1: Pulling fs layer [2022-05-10T12:13:05.234Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T12:13:05.234Z] a4caa8a26152: Pulling fs layer [2022-05-10T12:13:05.234Z] 3f3a8bcf1eab: Waiting [2022-05-10T12:13:05.234Z] 0c92f367c5e7: Waiting [2022-05-10T12:13:05.234Z] 3096ccb668a1: Waiting [2022-05-10T12:13:05.234Z] e8cf19c19ddd: Waiting [2022-05-10T12:13:05.234Z] a4caa8a26152: Waiting [2022-05-10T12:13:05.234Z] 94645a83ff95: Verifying Checksum [2022-05-10T12:13:05.234Z] 94645a83ff95: Download complete [2022-05-10T12:13:05.234Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T12:13:05.234Z] 1a89e8eeedd5: Download complete [2022-05-10T12:13:05.234Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T12:13:05.234Z] 0c92f367c5e7: Download complete [2022-05-10T12:13:05.234Z] 3096ccb668a1: Verifying Checksum [2022-05-10T12:13:05.234Z] 3096ccb668a1: Download complete [2022-05-10T12:13:05.234Z] 9b3977197b4f: Verifying Checksum [2022-05-10T12:13:05.234Z] 9b3977197b4f: Download complete [2022-05-10T12:13:05.234Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T12:13:05.234Z] e8cf19c19ddd: Download complete [2022-05-10T12:13:06.227Z] 9b3977197b4f: Pull complete [2022-05-10T12:13:06.500Z] 1a89e8eeedd5: Pull complete [2022-05-10T12:13:06.774Z] 94645a83ff95: Pull complete [2022-05-10T12:13:07.371Z] a4caa8a26152: Verifying Checksum [2022-05-10T12:13:07.371Z] a4caa8a26152: Download complete [2022-05-10T12:13:07.642Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T12:13:07.642Z] 3f3a8bcf1eab: Download complete [2022-05-10T12:13:20.042Z] 3f3a8bcf1eab: Pull complete [2022-05-10T12:13:20.042Z] 0c92f367c5e7: Pull complete [2022-05-10T12:13:20.042Z] 3096ccb668a1: Pull complete [2022-05-10T12:13:20.042Z] e8cf19c19ddd: Pull complete [2022-05-10T12:13:25.442Z] a4caa8a26152: Pull complete [2022-05-10T12:13:25.442Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T12:13:25.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T12:13:25.442Z] ---> 725f1c02e7f9 [2022-05-10T12:13:25.442Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T12:13:26.884Z] ---> Running in 3bbc0cb6c736 [2022-05-10T12:13:27.163Z] Removing intermediate container 3bbc0cb6c736 [2022-05-10T12:13:27.163Z] ---> 91f237b4f2de [2022-05-10T12:13:27.163Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:13:27.163Z] ---> Running in 27a1f457969f [2022-05-10T12:13:29.157Z] Removing intermediate container 27a1f457969f [2022-05-10T12:13:29.157Z] ---> 90bf7a949415 [2022-05-10T12:13:29.157Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:13:29.157Z] ---> Running in ba23333c3978 [2022-05-10T12:13:30.614Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:13:31.597Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:13:32.583Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:13:32.583Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T12:13:32.583Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:13:32.858Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:13:32.858Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T12:13:32.858Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T12:13:33.134Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T12:13:33.134Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T12:13:33.134Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:13:33.412Z] OK: 226 MiB in 60 packages [2022-05-10T12:13:34.876Z] Removing intermediate container ba23333c3978 [2022-05-10T12:13:34.876Z] ---> fe53155a3143 [2022-05-10T12:13:34.876Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T12:13:34.876Z] ---> Running in 5a41c7e76d7e [2022-05-10T12:13:35.149Z] Removing intermediate container 5a41c7e76d7e [2022-05-10T12:13:35.149Z] ---> a355849dfcba [2022-05-10T12:13:35.149Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T12:13:35.761Z] ---> f0cc3343b551 [2022-05-10T12:13:35.761Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:13:35.761Z] ---> Running in f785192bcacd [2022-05-10T12:14:22.780Z] Removing intermediate container f785192bcacd [2022-05-10T12:14:22.780Z] ---> dd0d1104c2a2 [2022-05-10T12:14:22.780Z] Step 9/10 : COPY . . [2022-05-10T12:14:22.780Z] ---> ec4749da04c9 [2022-05-10T12:14:22.780Z] Step 10/10 : RUN ${MAKE} [2022-05-10T12:14:23.059Z] ---> Running in 68c43f78a574 [2022-05-10T12:14:24.059Z] noop [2022-05-10T12:14:24.668Z] Removing intermediate container 68c43f78a574 [2022-05-10T12:14:24.668Z] ---> 486068cc542d [2022-05-10T12:14:24.668Z] Successfully built 486068cc542d [2022-05-10T12:14:24.668Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:25.032Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:14:25.032Z] . [Pipeline] withDockerContainer [2022-05-10T12:14:25.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-47546 does not seem to be running inside a container [2022-05-10T12:14:25.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:14:26.807Z] $ docker top c4b8db422ca239eac869a98b7187b8500e5c894ad7715b00348b876669300cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:14:27.772Z] + go version [2022-05-10T12:14:27.772Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T12:14:27.802Z] $ docker stop --time=1 c4b8db422ca239eac869a98b7187b8500e5c894ad7715b00348b876669300cc2 [2022-05-10T12:14:29.462Z] $ docker rm -f c4b8db422ca239eac869a98b7187b8500e5c894ad7715b00348b876669300cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:14:30.080Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:14:30.080Z] . [Pipeline] withDockerContainer [2022-05-10T12:14:30.329Z] prd-ubuntu20.04-docker-arm64-4c-16g-47546 does not seem to be running inside a container [2022-05-10T12:14:30.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:14:31.878Z] $ docker top fc34f78d97f6420c57893f18642e4bb4b6e56d2a11f74b878feffec0deed7677 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:14:32.823Z] + make test [2022-05-10T12:14:32.823Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T12:14:34.835Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T12:16:11.766Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T12:16:11.766Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 46.4% of statements [2022-05-10T12:16:11.766Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T12:16:11.766Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:16:26.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:16:26.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:16:26.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:16:28.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:16:28.923Z] $ docker stop --time=1 fc34f78d97f6420c57893f18642e4bb4b6e56d2a11f74b878feffec0deed7677 [2022-05-10T12:16:30.751Z] $ docker rm -f fc34f78d97f6420c57893f18642e4bb4b6e56d2a11f74b878feffec0deed7677 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:16:31.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:16:31.735Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T12:16:32.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:16:32.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:16:32.995Z] + ls -al . [2022-05-10T12:16:32.995Z] total 180 [2022-05-10T12:16:32.995Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:16 . [2022-05-10T12:16:32.995Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:12 .. [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:12 .dockerignore [2022-05-10T12:16:32.995Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:12 .git [2022-05-10T12:16:32.995Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:12 .github [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 12:12 .gitignore [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:12 .golangci.yml [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 12:12 Attribution.txt [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 12:12 CHANGELOG.md [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 12:12 Dockerfile [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:12 GOVERNANCE.md [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:12 Jenkinsfile [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:12 LICENSE [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 12:12 Makefile [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 12:12 OWNERS.md [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 12:12 README.md [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 12:09 VERSION [2022-05-10T12:16:32.995Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:12 bin [2022-05-10T12:16:32.995Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:12 cmd [2022-05-10T12:16:32.995Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 12:15 coverage.out [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 12:12 go.mod [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 12:12 go.sum [2022-05-10T12:16:32.995Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:12 internal [2022-05-10T12:16:32.995Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:12 simulator [2022-05-10T12:16:32.995Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:12 snap [2022-05-10T12:16:32.995Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 12:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:16:33.342Z] + 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=8fe31c03d27ece93ff91a989a0b9f6025d8f231e --label arch=arm64 --label version=0.0.0 . [2022-05-10T12:16:33.615Z] Sending build context to Docker daemon 3.129MB [2022-05-10T12:16:33.615Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:16:33.615Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T12:16:33.615Z] ---> 486068cc542d [2022-05-10T12:16:33.888Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T12:16:33.888Z] ---> Running in c7310ee3f920 [2022-05-10T12:16:34.168Z] Removing intermediate container c7310ee3f920 [2022-05-10T12:16:34.168Z] ---> 0afe86eb3ca3 [2022-05-10T12:16:34.168Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:16:34.168Z] ---> Running in 7255a3a1add3 [2022-05-10T12:16:36.145Z] Removing intermediate container 7255a3a1add3 [2022-05-10T12:16:36.145Z] ---> 3ce239e0947c [2022-05-10T12:16:36.145Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T12:16:36.145Z] ---> Running in 30d0eacd5c59 [2022-05-10T12:16:37.127Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:16:37.724Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:16:38.699Z] OK: 226 MiB in 60 packages [2022-05-10T12:16:39.687Z] Removing intermediate container 30d0eacd5c59 [2022-05-10T12:16:39.687Z] ---> ec0e46707bb5 [2022-05-10T12:16:39.687Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T12:16:39.687Z] ---> Running in 8532ad0501f3 [2022-05-10T12:16:39.960Z] Removing intermediate container 8532ad0501f3 [2022-05-10T12:16:39.960Z] ---> 7bb99976808c [2022-05-10T12:16:39.960Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T12:16:40.564Z] ---> b7533477c996 [2022-05-10T12:16:40.564Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:16:40.564Z] ---> Running in 6cd327f35893 [2022-05-10T12:16:42.553Z] Removing intermediate container 6cd327f35893 [2022-05-10T12:16:42.553Z] ---> b9559c61eeb9 [2022-05-10T12:16:42.553Z] Step 9/23 : COPY . . [2022-05-10T12:16:43.542Z] ---> 749bc7e27eb9 [2022-05-10T12:16:43.542Z] Step 10/23 : RUN ${MAKE} [2022-05-10T12:16:43.542Z] ---> Running in 9095ea43622e [2022-05-10T12:16:44.536Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-05-10T12:18:51.446Z] Removing intermediate container 9095ea43622e [2022-05-10T12:18:51.446Z] ---> 0c0cc56eae30 [2022-05-10T12:18:51.446Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T12:18:51.446Z] 3.14: Pulling from library/alpine [2022-05-10T12:18:51.446Z] 455c02918c45: Pulling fs layer [2022-05-10T12:18:51.446Z] 455c02918c45: Verifying Checksum [2022-05-10T12:18:51.446Z] 455c02918c45: Download complete [2022-05-10T12:18:51.446Z] 455c02918c45: Pull complete [2022-05-10T12:18:51.446Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:18:51.446Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:18:51.446Z] ---> ac73e934f311 [2022-05-10T12:18:51.446Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T12:18:51.446Z] ---> Running in 3049a24ecf37 [2022-05-10T12:18:51.446Z] Removing intermediate container 3049a24ecf37 [2022-05-10T12:18:51.446Z] ---> a2bc801fe511 [2022-05-10T12:18:51.446Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:18:51.446Z] ---> Running in f4bc6c5ecacf [2022-05-10T12:18:52.891Z] Removing intermediate container f4bc6c5ecacf [2022-05-10T12:18:52.891Z] ---> a53aa8446a34 [2022-05-10T12:18:52.891Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:18:52.891Z] ---> Running in 3e89dca52209 [2022-05-10T12:18:53.877Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:18:54.856Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:18:55.835Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:18:55.835Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:18:55.835Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:18:55.835Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:18:56.108Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:18:56.108Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:18:56.381Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:18:56.381Z] OK: 8 MiB in 20 packages [2022-05-10T12:18:57.373Z] Removing intermediate container 3e89dca52209 [2022-05-10T12:18:57.373Z] ---> df5b92a4af25 [2022-05-10T12:18:57.373Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T12:18:58.823Z] ---> da1c366474e4 [2022-05-10T12:18:58.823Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T12:18:59.431Z] ---> 1275ae2a2764 [2022-05-10T12:18:59.431Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T12:19:00.034Z] ---> 9bb734a9ea11 [2022-05-10T12:19:00.034Z] Step 18/23 : EXPOSE 59901 [2022-05-10T12:19:00.034Z] ---> Running in 2c696995dbc9 [2022-05-10T12:19:00.309Z] Removing intermediate container 2c696995dbc9 [2022-05-10T12:19:00.309Z] ---> 49c0c1ca3319 [2022-05-10T12:19:00.309Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T12:19:00.309Z] ---> Running in f97270ff703c [2022-05-10T12:19:00.586Z] Removing intermediate container f97270ff703c [2022-05-10T12:19:00.586Z] ---> 64f98f1f839a [2022-05-10T12:19:00.586Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:19:00.862Z] ---> Running in 3e06929805a1 [2022-05-10T12:19:01.137Z] Removing intermediate container 3e06929805a1 [2022-05-10T12:19:01.137Z] ---> 0af2223368bf [2022-05-10T12:19:01.137Z] Step 21/23 : LABEL arch=arm64 [2022-05-10T12:19:01.137Z] ---> Running in 04a3d10b91c9 [2022-05-10T12:19:01.412Z] Removing intermediate container 04a3d10b91c9 [2022-05-10T12:19:01.412Z] ---> f2636aca1977 [2022-05-10T12:19:01.412Z] Step 22/23 : LABEL git_sha=8fe31c03d27ece93ff91a989a0b9f6025d8f231e [2022-05-10T12:19:01.412Z] ---> Running in 171334ac537e [2022-05-10T12:19:02.011Z] Removing intermediate container 171334ac537e [2022-05-10T12:19:02.011Z] ---> c04b038a9303 [2022-05-10T12:19:02.011Z] Step 23/23 : LABEL version=0.0.0 [2022-05-10T12:19:02.011Z] ---> Running in b5acbf624b1b [2022-05-10T12:19:02.285Z] Removing intermediate container b5acbf624b1b [2022-05-10T12:19:02.286Z] ---> 69b40bf6b8c6 [2022-05-10T12:19:02.286Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:19:02.286Z] Successfully built 69b40bf6b8c6 [2022-05-10T12:19:02.286Z] Successfully tagged device-modbus-arm64:latest [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] sh [2022-05-10T12:19:02.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:19:02.719Z] [2022-05-10T12:19:02.719Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:19:03.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:19:03.349Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T12:19:03.349Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T12:19:03.349Z] 04944245beec: Pulling fs layer [2022-05-10T12:19:03.349Z] 699f458cf7ca: Pulling fs layer [2022-05-10T12:19:03.349Z] 765212b225bb: Pulling fs layer [2022-05-10T12:19:03.349Z] f23df028b6ca: Pulling fs layer [2022-05-10T12:19:03.349Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T12:19:03.349Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T12:19:03.349Z] f23df028b6ca: Waiting [2022-05-10T12:19:03.349Z] d65c8cfc05b1: Waiting [2022-05-10T12:19:03.349Z] 765212b225bb: Waiting [2022-05-10T12:19:03.349Z] 2437ff75d9bd: Waiting [2022-05-10T12:19:03.349Z] 04944245beec: Verifying Checksum [2022-05-10T12:19:03.349Z] 04944245beec: Download complete [2022-05-10T12:19:03.349Z] 765212b225bb: Verifying Checksum [2022-05-10T12:19:03.349Z] 765212b225bb: Download complete [2022-05-10T12:19:03.349Z] f23df028b6ca: Verifying Checksum [2022-05-10T12:19:03.349Z] f23df028b6ca: Download complete [2022-05-10T12:19:03.349Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T12:19:03.349Z] d65c8cfc05b1: Download complete [2022-05-10T12:19:03.625Z] 699f458cf7ca: Verifying Checksum [2022-05-10T12:19:03.625Z] 699f458cf7ca: Download complete [2022-05-10T12:19:03.900Z] 8998bd30e6a1: Download complete [2022-05-10T12:19:06.545Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T12:19:06.545Z] 2437ff75d9bd: Download complete [2022-05-10T12:19:08.533Z] 8998bd30e6a1: Pull complete [2022-05-10T12:19:08.809Z] 04944245beec: Pull complete [2022-05-10T12:19:10.794Z] 699f458cf7ca: Pull complete [2022-05-10T12:19:10.794Z] 765212b225bb: Pull complete [2022-05-10T12:19:11.779Z] f23df028b6ca: Pull complete [2022-05-10T12:19:11.779Z] d65c8cfc05b1: Pull complete [2022-05-10T12:19:26.888Z] 2437ff75d9bd: Pull complete [2022-05-10T12:19:26.888Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T12:19:26.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:19:26.888Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T12:19:27.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-47546 does not seem to be running inside a container [2022-05-10T12:19:27.248Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T12:19:30.056Z] $ docker top b65aa4c9e587fd222e430374b476f21ee9163836bd772ac282d781cda93db35d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:31.014Z] ---> job-cost.sh [2022-05-10T12:19:31.014Z] lf-activate-venv: SKIPPING [2022-05-10T12:19:31.014Z] INFO: No Stack... [2022-05-10T12:19:31.288Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T12:19:32.269Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:19:32.949Z] + cut -d, -f6 [2022-05-10T12:19:32.949Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [Pipeline] lock [2022-05-10T12:19:33.022Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] [2022-05-10T12:19:33.028Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] did not exist. Created. [2022-05-10T12:19:33.029Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:19:33.715Z] /w/workspace/device-modbus-go/3@tmp/durable-883d5048/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T12:19:34.423Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T12:19:34.456Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T12:19:34.511Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:19:34.516Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-345-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:19:34.542Z] $ docker stop --time=1 b65aa4c9e587fd222e430374b476f21ee9163836bd772ac282d781cda93db35d [2022-05-10T12:19:36.091Z] $ docker rm -f b65aa4c9e587fd222e430374b476f21ee9163836bd772ac282d781cda93db35d [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 [2022-05-10T12:19:36.521Z] provisioning config files... [2022-05-10T12:19:36.530Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config2711871365643704533tmp [Pipeline] { [Pipeline] sh [2022-05-10T12:19:36.828Z] + set +x [2022-05-10T12:19:36.828Z] + + curl -s https://codecov.io/bash [2022-05-10T12:19:36.828Z] bash -s -- [2022-05-10T12:19:36.828Z] [2022-05-10T12:19:36.828Z] _____ _ [2022-05-10T12:19:36.828Z] / ____| | | [2022-05-10T12:19:36.828Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T12:19:36.828Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T12:19:36.828Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T12:19:36.828Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T12:19:36.828Z] Bash-1.0.6 [2022-05-10T12:19:36.828Z] [2022-05-10T12:19:36.828Z] [2022-05-10T12:19:36.828Z] ==> git version 2.25.1 found [2022-05-10T12:19:36.828Z] ==> 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 [2022-05-10T12:19:36.828Z] Release-Date: 2020-01-08 [2022-05-10T12:19:36.828Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-10T12:19:36.828Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T12:19:36.828Z] ==> Jenkins CI detected. [2022-05-10T12:19:36.828Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-345 [2022-05-10T12:19:36.828Z] project root: . [2022-05-10T12:19:36.828Z] --> token set from env [2022-05-10T12:19:36.828Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T12:19:36.828Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T12:19:36.828Z] ==> Python coveragepy not found [2022-05-10T12:19:36.828Z] ==> Searching for coverage reports in: [2022-05-10T12:19:36.828Z] + . [2022-05-10T12:19:36.828Z] -> Found 1 reports [2022-05-10T12:19:36.828Z] ==> Detecting git/mercurial file structure [2022-05-10T12:19:36.828Z] ==> Reading reports [2022-05-10T12:19:36.828Z] + ./coverage.out bytes=24065 [2022-05-10T12:19:36.828Z] ==> Appending adjustments [2022-05-10T12:19:36.828Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T12:19:37.090Z] + Found adjustments [2022-05-10T12:19:37.090Z] ==> Gzipping contents [2022-05-10T12:19:37.090Z] 4.0K /tmp/codecov.Q9O0yh.gz [2022-05-10T12:19:37.090Z] ==> Uploading reports [2022-05-10T12:19:37.090Z] url: https://codecov.io [2022-05-10T12:19:37.090Z] query: branch=PR-345&commit=8fe31c03d27ece93ff91a989a0b9f6025d8f231e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-345%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=345&job=&cmd_args= [2022-05-10T12:19:37.090Z] -> Pinging Codecov [2022-05-10T12:19:37.090Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-345&commit=8fe31c03d27ece93ff91a989a0b9f6025d8f231e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-345%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=345&job=&cmd_args= [2022-05-10T12:19:37.351Z] -> Uploading to [2022-05-10T12:19:37.351Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/8fe31c03d27ece93ff91a989a0b9f6025d8f231e/0e57f954-6488-4109-b0dd-c81dbfa499d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T121937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5cd99df89407e11dd097ed0570c519cb70ee26985b82a642561e59fad66d8a1 [2022-05-10T12:19:37.351Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:19:37.351Z] Dload Upload Total Spent Left Speed [2022-05-10T12:19:37.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 18099 --:--:-- --:--:-- --:--:-- 18099 [2022-05-10T12:19:37.612Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/8fe31c03d27ece93ff91a989a0b9f6025d8f231e [Pipeline] } [2022-05-10T12:19:37.620Z] 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 [2022-05-10T12:19:38.308Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-345/archives ] [2022-05-10T12:19:38.308Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-345/archives [2022-05-10T12:19:38.308Z] total 16 [2022-05-10T12:19:38.308Z] drwxr-xr-x 3 root root 4096 May 10 12:11 . [2022-05-10T12:19:38.308Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:11 .. [2022-05-10T12:19:38.308Z] drwxr-xr-x 2 root root 4096 May 10 12:11 cost [2022-05-10T12:19:38.308Z] -rw-r--r-- 1 root root 87 May 10 12:11 cost.csv [2022-05-10T12:19:38.308Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-345/archives [2022-05-10T12:19:38.308Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-345/archives [2022-05-10T12:19:38.308Z] total 16 [2022-05-10T12:19:38.308Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:11 . [2022-05-10T12:19:38.308Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:11 .. [2022-05-10T12:19:38.308Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:11 cost [2022-05-10T12:19:38.308Z] -rw-r--r-- 1 jenkins jenkins 87 May 10 12:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:38.606Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:39.475Z] ---> package-listing.sh [2022-05-10T12:19:39.475Z] ++ facter osfamily [2022-05-10T12:19:39.475Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T12:19:39.736Z] + OS_FAMILY=debian [2022-05-10T12:19:39.736Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-345 [2022-05-10T12:19:39.736Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T12:19:39.736Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T12:19:39.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T12:19:39.736Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T12:19:39.736Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-345 ']' [2022-05-10T12:19:39.736Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T12:19:39.736Z] + case "${OS_FAMILY}" in [2022-05-10T12:19:39.736Z] + dpkg -l [2022-05-10T12:19:39.736Z] + grep '^ii' [2022-05-10T12:19:39.736Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T12:19:39.736Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T12:19:39.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T12:19:39.736Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-345 ']' [2022-05-10T12:19:39.736Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-345/archives/ [2022-05-10T12:19:39.736Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-345/archives/ [Pipeline] echo [2022-05-10T12:19:39.748Z] 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-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T12:19:40.030Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:19:40.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:19:40.591Z] . [Pipeline] withDockerContainer [2022-05-10T12:19:40.660Z] prd-ubuntu20.04-docker-8c-8g-47542 does not seem to be running inside a container [2022-05-10T12:19:40.707Z] $ 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-345/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-345 -v /w/workspace/xfoundry_device-modbus-go_PR-345:/w/workspace/xfoundry_device-modbus-go_PR-345:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-345@tmp:/w/workspace/xfoundry_device-modbus-go_PR-345@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:19:40.948Z] $ docker top 5d1a0b7f92833b6b7b78246384c33ce95ac96b38c49a8df3ac8b195c1db62f43 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:19:41.309Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T12:19:41.602Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T12:19:41.895Z] + ls /var/log/sa-host [2022-05-10T12:19:41.895Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:19:41.980Z] provisioning config files... [2022-05-10T12:19:41.988Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config5238314315862214310tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:19:42.003Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:42.360Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T12:19:42.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:42.713Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T12:19:42.724Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:43.014Z] ---> sudo-logs.sh [2022-05-10T12:19:43.014Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T12:19:43.047Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:43.336Z] ---> job-cost.sh [2022-05-10T12:19:43.336Z] lf-activate-venv: SKIPPING [2022-05-10T12:19:43.336Z] DEBUG: total: 0.2199999988079071 [2022-05-10T12:19:43.336Z] INFO: Retrieving Stack Cost... [2022-05-10T12:19:43.595Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:19:44.165Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T12:19:44.182Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:19:44.467Z] ---> logs-deploy.sh [2022-05-10T12:19:44.467Z] lf-activate-venv: SKIPPING [2022-05-10T12:19:44.467Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-345/3 [2022-05-10T12:19:44.467Z] INFO: archiving workspace using pattern(s): [2022-05-10T12:19:45.408Z] Archives upload complete. [2022-05-10T12:19:45.408Z] INFO: archiving logs to Nexus