Pull request #345 opened 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 3ea26778437bdff40bced88224eec1767570a456 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-ssh406029852064840947.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-ssh3871213968572438231.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4757262390213524317.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4744332561891867396.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh11570643690858578902.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-345/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4826748712049221911.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-47171 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 3ea26778437bdff40bced88224eec1767570a456 Merge succeeded, producing 3ea26778437bdff40bced88224eec1767570a456 Checking out Revision 3ea26778437bdff40bced88224eec1767570a456 (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 3ea26778437bdff40bced88224eec1767570a456 # 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 3ea26778437bdff40bced88224eec1767570a456 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T09:33:50.685Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T09:33:50.835Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T09:33:50.932Z] ========================================================= [2022-05-10T09:33:50.932Z] EdgeX Global Pipelines Version Info [2022-05-10T09:33:50.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:33:51.750Z] ------------------- [2022-05-10T09:33:51.750Z] stable info: [2022-05-10T09:33:51.750Z] ------------------- [2022-05-10T09:33:51.750Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T09:33:51.750Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T09:33:51.750Z] Message: update stable to v1.0.227 [2022-05-10T09:33:52.325Z] ------------------- [2022-05-10T09:33:52.325Z] experimental info: [2022-05-10T09:33:52.325Z] ------------------- [2022-05-10T09:33:52.325Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T09:33:52.325Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T09:33:52.325Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T09:33:52.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-05-10T09:33:52.693Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-05-10T09:33:52.730Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T09:33:52.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T09:33:52.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T09:33:52.957Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T09:33:52.990Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T09:33:53.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T09:33:53.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T09:33:53.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T09:33:53.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T09:33:53.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-05-10T09:33:53.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T09:33:53.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T09:33:53.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T09:33:53.382Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T09:33:53.426Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T09:33:53.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T09:33:53.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T09:33:53.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T09:33:53.597Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T09:33:53.637Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T09:33:53.701Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T09:33:53.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T09:33:53.787Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T09:33:53.834Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T09:33:53.884Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo [2022-05-10T09:33:53.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo [2022-05-10T09:33:53.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo [2022-05-10T09:33:53.998Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ea26778437bdff40bced88224eec1767570a456 [Pipeline] echo [2022-05-10T09:33:54.043Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ea2677 [Pipeline] echo [2022-05-10T09:33:54.082Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:33:54.195Z] provisioning config files... [2022-05-10T09:33:54.209Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config8385011414332390057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:33:54.562Z] ---> docker-login.sh [2022-05-10T09:33:54.562Z] nexus3.edgexfoundry.org:10001 [2022-05-10T09:33:54.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:33:54.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:33:54.826Z] Configure a credential helper to remove this warning. See [2022-05-10T09:33:54.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:33:54.826Z] [2022-05-10T09:33:54.826Z] Login Succeeded [2022-05-10T09:33:54.826Z] nexus3.edgexfoundry.org:10002 [2022-05-10T09:33:55.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:33:55.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:33:55.087Z] Configure a credential helper to remove this warning. See [2022-05-10T09:33:55.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:33:55.087Z] [2022-05-10T09:33:55.087Z] Login Succeeded [2022-05-10T09:33:55.087Z] nexus3.edgexfoundry.org:10003 [2022-05-10T09:33:55.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:33:55.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:33:55.351Z] Configure a credential helper to remove this warning. See [2022-05-10T09:33:55.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:33:55.351Z] [2022-05-10T09:33:55.351Z] Login Succeeded [2022-05-10T09:33:55.351Z] nexus3.edgexfoundry.org:10004 [2022-05-10T09:33:55.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:33:55.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:33:55.351Z] Configure a credential helper to remove this warning. See [2022-05-10T09:33:55.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:33:55.351Z] [2022-05-10T09:33:55.351Z] Login Succeeded [2022-05-10T09:33:55.351Z] docker.io [2022-05-10T09:33:55.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:33:55.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:33:55.874Z] Configure a credential helper to remove this warning. See [2022-05-10T09:33:55.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:33:55.874Z] [2022-05-10T09:33:55.874Z] Login Succeeded [2022-05-10T09:33:55.874Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T09:33:55.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T09:33:56.538Z] + git rev-list -1 --merges 3ea26778437bdff40bced88224eec1767570a456~1..3ea26778437bdff40bced88224eec1767570a456 [Pipeline] echo [2022-05-10T09:33:56.702Z] -----------> git rev-list -1 --merges 3ea26778437bdff40bced88224eec1767570a456~1..3ea26778437bdff40bced88224eec1767570a456 3ea26778437bdff40bced88224eec1767570a456 [false] [Pipeline] sh [2022-05-10T09:33:57.006Z] + git log --format=format:%s -1 3ea26778437bdff40bced88224eec1767570a456 [Pipeline] echo [2022-05-10T09:33:57.041Z] ========================================================= [2022-05-10T09:33:57.041Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T09:33:57.041Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T09:33:57.502Z] + git log --format=format:%s -1 3ea26778437bdff40bced88224eec1767570a456 [Pipeline] echo [2022-05-10T09:33:57.541Z] [semverPrep] GIT_COMMIT: 3ea26778437bdff40bced88224eec1767570a456, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo [2022-05-10T09:33:57.570Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T09:33:58.210Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T09:33:58.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T09:33:58.210Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T09:33:58.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T09:33:58.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T09:33:58.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T09:33:58.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:33:58.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T09:33:58.673Z] [2022-05-10T09:33:58.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:33:59.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T09:33:59.022Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T09:33:59.022Z] 1fe172e4850f: Pulling fs layer [2022-05-10T09:33:59.022Z] caf521ccaac6: Pulling fs layer [2022-05-10T09:33:59.022Z] 3ead6fa29328: Pulling fs layer [2022-05-10T09:33:59.022Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T09:33:59.022Z] a8d5f1318db7: Pulling fs layer [2022-05-10T09:33:59.022Z] c427282e49a2: Pulling fs layer [2022-05-10T09:33:59.022Z] 1827001aaf11: Pulling fs layer [2022-05-10T09:33:59.022Z] 0714d37db230: Pulling fs layer [2022-05-10T09:33:59.022Z] ac28cf19c067: Pulling fs layer [2022-05-10T09:33:59.022Z] ca983d60f3e2: Pulling fs layer [2022-05-10T09:33:59.022Z] 9f894cec8388: Pulling fs layer [2022-05-10T09:33:59.022Z] 5c2a1cbceb83: Waiting [2022-05-10T09:33:59.022Z] 0714d37db230: Waiting [2022-05-10T09:33:59.022Z] a8d5f1318db7: Waiting [2022-05-10T09:33:59.022Z] ac28cf19c067: Waiting [2022-05-10T09:33:59.022Z] c427282e49a2: Waiting [2022-05-10T09:33:59.022Z] ca983d60f3e2: Waiting [2022-05-10T09:33:59.022Z] 1827001aaf11: Waiting [2022-05-10T09:33:59.022Z] 9f894cec8388: Waiting [2022-05-10T09:33:59.022Z] caf521ccaac6: Download complete [2022-05-10T09:33:59.022Z] 5c2a1cbceb83: Download complete [2022-05-10T09:33:59.284Z] 3ead6fa29328: Verifying Checksum [2022-05-10T09:33:59.284Z] 3ead6fa29328: Download complete [2022-05-10T09:33:59.284Z] c427282e49a2: Verifying Checksum [2022-05-10T09:33:59.284Z] c427282e49a2: Download complete [2022-05-10T09:33:59.284Z] a8d5f1318db7: Verifying Checksum [2022-05-10T09:33:59.284Z] a8d5f1318db7: Download complete [2022-05-10T09:33:59.284Z] 0714d37db230: Download complete [2022-05-10T09:33:59.284Z] ac28cf19c067: Download complete [2022-05-10T09:33:59.284Z] ca983d60f3e2: Verifying Checksum [2022-05-10T09:33:59.284Z] ca983d60f3e2: Download complete [2022-05-10T09:33:59.284Z] 9f894cec8388: Download complete [2022-05-10T09:33:59.284Z] 1fe172e4850f: Verifying Checksum [2022-05-10T09:33:59.284Z] 1fe172e4850f: Download complete [2022-05-10T09:33:59.855Z] 1827001aaf11: Verifying Checksum [2022-05-10T09:33:59.855Z] 1827001aaf11: Download complete [2022-05-10T09:34:00.793Z] 1fe172e4850f: Pull complete [2022-05-10T09:34:01.054Z] caf521ccaac6: Pull complete [2022-05-10T09:34:01.623Z] 3ead6fa29328: Pull complete [2022-05-10T09:34:01.623Z] 5c2a1cbceb83: Pull complete [2022-05-10T09:34:01.884Z] a8d5f1318db7: Pull complete [2022-05-10T09:34:01.884Z] c427282e49a2: Pull complete [2022-05-10T09:34:03.800Z] 1827001aaf11: Pull complete [2022-05-10T09:34:04.062Z] 0714d37db230: Pull complete [2022-05-10T09:34:04.062Z] ac28cf19c067: Pull complete [2022-05-10T09:34:04.323Z] ca983d60f3e2: Pull complete [2022-05-10T09:34:04.323Z] 9f894cec8388: Pull complete [2022-05-10T09:34:04.323Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T09:34:04.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T09:34:04.323Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T09:34:04.424Z] prd-ubuntu20.04-docker-8c-8g-47171 does not seem to be running inside a container [2022-05-10T09:34:04.464Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T09:34:05.917Z] $ docker top 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 -eo pid,comm [2022-05-10T09:34:05.989Z] 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-10T09:34:05.989Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T09:34:06.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T09:34:06.104Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T09:34:06.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T09:34:06.257Z] $ docker exec 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 ssh-agent [2022-05-10T09:34:06.405Z] SSH_AUTH_SOCK=/tmp/ssh-8c5rlhtMrbxi/agent.33 [2022-05-10T09:34:06.405Z] SSH_AGENT_PID=39 [2022-05-10T09:34:06.413Z] Running ssh-add (command line suppressed) [2022-05-10T09:34:06.543Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_1059335936124064769.key (/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_1059335936124064769.key) [2022-05-10T09:34:06.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T09:34:06.902Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T09:34:06.926Z] $ docker exec --env ******** --env ******** 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 ssh-agent -k [2022-05-10T09:34:07.054Z] unset SSH_AUTH_SOCK; [2022-05-10T09:34:07.055Z] unset SSH_AGENT_PID; [2022-05-10T09:34:07.055Z] echo Agent pid 39 killed; [2022-05-10T09:34:07.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T09:34:07.139Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T09:34:07.139Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T09:34:07.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T09:34:07.282Z] $ docker exec 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 ssh-agent [2022-05-10T09:34:07.439Z] SSH_AUTH_SOCK=/tmp/ssh-em4UZeQDJykL/agent.74 [2022-05-10T09:34:07.439Z] SSH_AGENT_PID=80 [2022-05-10T09:34:07.445Z] Running ssh-add (command line suppressed) [2022-05-10T09:34:07.570Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_1795267536938206269.key (/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/private_key_1795267536938206269.key) [2022-05-10T09:34:07.587Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T09:34:07.912Z] + git semver init [2022-05-10T09:34:08.173Z] 2022-05-10 09:34:08,152 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T09:34:08.173Z] 2022-05-10 09:34:08,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-345/.semver [2022-05-10T09:34:08.173Z] 2022-05-10 09:34:08,153 [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-10T09:34:08.173Z] 2022-05-10 09:34:08,153 [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-10T09:34:09.115Z] 2022-05-10 09:34:08,976 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-345/.git/info/exclude [2022-05-10T09:34:09.115Z] 2022-05-10 09:34:08,977 [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-10T09:34:09.115Z] 2022-05-10 09:34:08,977 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-345/.semver/PR-345 [2022-05-10T09:34:09.115Z] 2022-05-10 09:34:08,981 [execute] INFO git cat-file --batch-check [2022-05-10T09:34:09.115Z] 2022-05-10 09:34:08,981 [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-10T09:34:09.115Z] 2022-05-10 09:34:08,987 [execute] INFO git cat-file --batch [2022-05-10T09:34:09.115Z] 2022-05-10 09:34:08,988 [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-10T09:34:09.115Z] 2022-05-10 09:34:08,993 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-345/.semver/PR-345 [2022-05-10T09:34:09.115Z] 0.0.0 [Pipeline] } [2022-05-10T09:34:09.140Z] $ docker exec --env ******** --env ******** 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 ssh-agent -k [2022-05-10T09:34:09.256Z] unset SSH_AUTH_SOCK; [2022-05-10T09:34:09.256Z] unset SSH_AGENT_PID; [2022-05-10T09:34:09.257Z] echo Agent pid 80 killed; [2022-05-10T09:34:09.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T09:34:09.691Z] + git semver [Pipeline] } [2022-05-10T09:34:10.305Z] $ docker stop --time=1 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 [2022-05-10T09:34:11.621Z] $ docker rm -f 6c560dd54c995a24f573a54704f49117751b2499dbe144eb9054cb0cdbf19013 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T09:34:12.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T09:34:12.426Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T09:34:12.440Z] [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-10T09:34:13.143Z] provisioning config files... [2022-05-10T09:34:13.162Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config5035451698222824927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:34:13.504Z] ---> docker-login.sh [2022-05-10T09:34:13.504Z] nexus3.edgexfoundry.org:10001 [2022-05-10T09:34:13.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:34:13.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:34:13.504Z] Configure a credential helper to remove this warning. See [2022-05-10T09:34:13.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:34:13.504Z] [2022-05-10T09:34:13.504Z] Login Succeeded [2022-05-10T09:34:13.504Z] nexus3.edgexfoundry.org:10002 [2022-05-10T09:34:13.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:34:13.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:34:13.771Z] Configure a credential helper to remove this warning. See [2022-05-10T09:34:13.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:34:13.771Z] [2022-05-10T09:34:13.771Z] Login Succeeded [2022-05-10T09:34:13.771Z] nexus3.edgexfoundry.org:10003 [2022-05-10T09:34:13.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:34:13.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:34:13.771Z] Configure a credential helper to remove this warning. See [2022-05-10T09:34:13.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:34:13.771Z] [2022-05-10T09:34:13.771Z] Login Succeeded [2022-05-10T09:34:13.771Z] nexus3.edgexfoundry.org:10004 [2022-05-10T09:34:14.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:34:14.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:34:14.032Z] Configure a credential helper to remove this warning. See [2022-05-10T09:34:14.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:34:14.032Z] [2022-05-10T09:34:14.032Z] Login Succeeded [2022-05-10T09:34:14.032Z] docker.io [2022-05-10T09:34:14.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:34:14.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:34:14.294Z] Configure a credential helper to remove this warning. See [2022-05-10T09:34:14.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:34:14.294Z] [2022-05-10T09:34:14.294Z] Login Succeeded [2022-05-10T09:34:14.294Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T09:34:14.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T09:34:14.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T09:34:14.540Z] ========================================================= [2022-05-10T09:34:14.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T09:34:14.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:34:14.948Z] + 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-10T09:34:14.948Z] Sending build context to Docker daemon 5.899MB [2022-05-10T09:34:14.948Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:34:14.948Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T09:34:14.948Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T09:34:14.948Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T09:34:14.948Z] 666ba61612fd: Pulling fs layer [2022-05-10T09:34:14.948Z] 8ed8ca486205: Pulling fs layer [2022-05-10T09:34:14.948Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T09:34:14.948Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T09:34:14.948Z] ca2b28591e48: Pulling fs layer [2022-05-10T09:34:14.948Z] a51346096db8: Pulling fs layer [2022-05-10T09:34:14.948Z] daebc70d1ce1: Pulling fs layer [2022-05-10T09:34:14.948Z] 0e18a0eac166: Pulling fs layer [2022-05-10T09:34:14.948Z] ca2b28591e48: Waiting [2022-05-10T09:34:14.948Z] a51346096db8: Waiting [2022-05-10T09:34:14.948Z] 4fe6c5a15a65: Waiting [2022-05-10T09:34:14.948Z] 22a0e8bec74d: Waiting [2022-05-10T09:34:14.948Z] daebc70d1ce1: Waiting [2022-05-10T09:34:14.948Z] 0e18a0eac166: Waiting [2022-05-10T09:34:14.948Z] 8ed8ca486205: Verifying Checksum [2022-05-10T09:34:14.948Z] 8ed8ca486205: Download complete [2022-05-10T09:34:15.210Z] 666ba61612fd: Verifying Checksum [2022-05-10T09:34:15.210Z] 666ba61612fd: Download complete [2022-05-10T09:34:15.210Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T09:34:15.210Z] 59bf1c3509f3: Download complete [2022-05-10T09:34:15.210Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T09:34:15.210Z] 22a0e8bec74d: Download complete [2022-05-10T09:34:15.210Z] ca2b28591e48: Verifying Checksum [2022-05-10T09:34:15.210Z] ca2b28591e48: Download complete [2022-05-10T09:34:15.210Z] a51346096db8: Verifying Checksum [2022-05-10T09:34:15.210Z] a51346096db8: Download complete [2022-05-10T09:34:15.210Z] daebc70d1ce1: Verifying Checksum [2022-05-10T09:34:15.210Z] daebc70d1ce1: Download complete [2022-05-10T09:34:15.210Z] 59bf1c3509f3: Pull complete [2022-05-10T09:34:15.470Z] 666ba61612fd: Pull complete [2022-05-10T09:34:15.470Z] 8ed8ca486205: Pull complete [2022-05-10T09:34:16.042Z] 0e18a0eac166: Verifying Checksum [2022-05-10T09:34:16.042Z] 0e18a0eac166: Download complete [2022-05-10T09:34:16.302Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T09:34:16.302Z] 4fe6c5a15a65: Download complete [2022-05-10T09:34:20.507Z] 4fe6c5a15a65: Pull complete [2022-05-10T09:34:20.507Z] 22a0e8bec74d: Pull complete [2022-05-10T09:34:20.507Z] ca2b28591e48: Pull complete [2022-05-10T09:34:20.507Z] a51346096db8: Pull complete [2022-05-10T09:34:20.507Z] daebc70d1ce1: Pull complete [2022-05-10T09:34:23.047Z] 0e18a0eac166: Pull complete [2022-05-10T09:34:23.047Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T09:34:23.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T09:34:23.047Z] ---> f018257e8ee9 [2022-05-10T09:34:23.047Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T09:34:24.432Z] ---> Running in c6ecaac804cb [2022-05-10T09:34:24.432Z] Removing intermediate container c6ecaac804cb [2022-05-10T09:34:24.432Z] ---> 76891a3cdf9e [2022-05-10T09:34:24.432Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:34:24.694Z] ---> Running in 73c33cfc50a1 [2022-05-10T09:34:25.267Z] Removing intermediate container 73c33cfc50a1 [2022-05-10T09:34:25.267Z] ---> 011af06bb2a1 [2022-05-10T09:34:25.267Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T09:34:25.267Z] ---> Running in 3d9c6841c6c9 [2022-05-10T09:34:25.529Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T09:34:26.480Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T09:34:26.742Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T09:34:26.742Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T09:34:27.003Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T09:34:27.003Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T09:34:27.003Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T09:34:27.264Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T09:34:27.264Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T09:34:27.264Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T09:34:27.526Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T09:34:27.526Z] OK: 226 MiB in 60 packages [2022-05-10T09:34:27.787Z] Removing intermediate container 3d9c6841c6c9 [2022-05-10T09:34:27.787Z] ---> c3de3272fd1e [2022-05-10T09:34:27.787Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T09:34:27.943Z] Still waiting to schedule task [2022-05-10T09:34:27.943Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-47176’ is offline [2022-05-10T09:34:28.058Z] ---> Running in db459f5993bd [2022-05-10T09:34:28.058Z] Removing intermediate container db459f5993bd [2022-05-10T09:34:28.058Z] ---> 123415249ee7 [2022-05-10T09:34:28.058Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T09:34:28.058Z] ---> 92320858d414 [2022-05-10T09:34:28.058Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:34:28.321Z] ---> Running in a439300de122 [2022-05-10T09:34:43.234Z] Removing intermediate container a439300de122 [2022-05-10T09:34:43.234Z] ---> c303f110ce90 [2022-05-10T09:34:43.234Z] Step 9/10 : COPY . . [2022-05-10T09:34:43.234Z] ---> 06c182d19a4f [2022-05-10T09:34:43.234Z] Step 10/10 : RUN ${MAKE} [2022-05-10T09:34:43.234Z] ---> Running in d7dc795198f7 [2022-05-10T09:34:43.234Z] noop [2022-05-10T09:34:43.496Z] Removing intermediate container d7dc795198f7 [2022-05-10T09:34:43.496Z] ---> 64002f9cdf99 [2022-05-10T09:34:43.496Z] Successfully built 64002f9cdf99 [2022-05-10T09:34:43.496Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:34:43.840Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T09:34:43.840Z] . [Pipeline] withDockerContainer [2022-05-10T09:34:43.932Z] prd-ubuntu20.04-docker-8c-8g-47171 does not seem to be running inside a container [2022-05-10T09:34:43.969Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T09:34:44.371Z] $ docker top 373c68c87b15d40449a2ebb3f6a670d065588e736f92d72a0d17aa52b11df3df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T09:34:44.768Z] + go version [2022-05-10T09:34:44.768Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T09:34:44.808Z] $ docker stop --time=1 373c68c87b15d40449a2ebb3f6a670d065588e736f92d72a0d17aa52b11df3df [2022-05-10T09:34:46.153Z] $ docker rm -f 373c68c87b15d40449a2ebb3f6a670d065588e736f92d72a0d17aa52b11df3df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:34:46.856Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T09:34:46.856Z] . [Pipeline] withDockerContainer [2022-05-10T09:34:46.980Z] prd-ubuntu20.04-docker-8c-8g-47171 does not seem to be running inside a container [2022-05-10T09:34:47.055Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T09:34:47.459Z] $ docker top a28fb3b9d43828b5b71e2eb3b2506329ddd3de951b4113d1359f1bf51130203d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T09:34:47.938Z] + make test [2022-05-10T09:34:47.938Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T09:34:48.507Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T09:34:58.493Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T09:34:58.493Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements [2022-05-10T09:35:06.625Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T09:35:10.822Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T09:35:10.822Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T09:35:10.822Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T09:35:11.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T09:35:11.467Z] $ docker stop --time=1 a28fb3b9d43828b5b71e2eb3b2506329ddd3de951b4113d1359f1bf51130203d [2022-05-10T09:35:13.215Z] $ docker rm -f a28fb3b9d43828b5b71e2eb3b2506329ddd3de951b4113d1359f1bf51130203d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T09:35:13.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T09:35:13.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T09:35:14.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T09:35:14.831Z] + ls -al . [2022-05-10T09:35:14.831Z] total 184 [2022-05-10T09:35:14.831Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:35 . [2022-05-10T09:35:14.831Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:33 .. [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 09:33 .dockerignore [2022-05-10T09:35:14.831Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:34 .git [2022-05-10T09:35:14.831Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 .github [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 09:33 .gitignore [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:33 .golangci.yml [2022-05-10T09:35:14.831Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:34 .semver [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 09:33 Attribution.txt [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 09:33 CHANGELOG.md [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 09:33 Dockerfile [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:33 GOVERNANCE.md [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 09:33 Jenkinsfile [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:33 LICENSE [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 09:33 Makefile [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 09:33 OWNERS.md [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 09:33 README.md [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:34 VERSION [2022-05-10T09:35:14.831Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:33 bin [2022-05-10T09:35:14.831Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 cmd [2022-05-10T09:35:14.831Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 09:34 coverage.out [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 09:33 go.mod [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 09:33 go.sum [2022-05-10T09:35:14.831Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:33 internal [2022-05-10T09:35:14.831Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:33 simulator [2022-05-10T09:35:14.831Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:33 snap [2022-05-10T09:35:14.831Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 09:33 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:35:15.162Z] + 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=3ea26778437bdff40bced88224eec1767570a456 --label arch=amd64 --label version=0.0.0 . [2022-05-10T09:35:15.162Z] Sending build context to Docker daemon 5.924MB [2022-05-10T09:35:15.162Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:35:15.162Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T09:35:15.162Z] ---> 64002f9cdf99 [2022-05-10T09:35:15.162Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T09:35:15.422Z] ---> Running in e7bce71935f9 [2022-05-10T09:35:15.422Z] Removing intermediate container e7bce71935f9 [2022-05-10T09:35:15.422Z] ---> 40fa4dfa3fb3 [2022-05-10T09:35:15.422Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:35:15.684Z] ---> Running in 2a1438a2f19a [2022-05-10T09:35:16.254Z] Removing intermediate container 2a1438a2f19a [2022-05-10T09:35:16.254Z] ---> d43782e44851 [2022-05-10T09:35:16.254Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T09:35:16.254Z] ---> Running in 1e6982751e82 [2022-05-10T09:35:16.825Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T09:35:17.396Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T09:35:17.966Z] OK: 226 MiB in 60 packages [2022-05-10T09:35:18.225Z] Removing intermediate container 1e6982751e82 [2022-05-10T09:35:18.225Z] ---> d86a95fcc50b [2022-05-10T09:35:18.225Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T09:35:18.225Z] ---> Running in 7b3b3c2e4f9d [2022-05-10T09:35:18.225Z] Removing intermediate container 7b3b3c2e4f9d [2022-05-10T09:35:18.225Z] ---> ae783f2a7fa4 [2022-05-10T09:35:18.225Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T09:35:18.485Z] ---> 52dfa69563f5 [2022-05-10T09:35:18.485Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:35:18.485Z] ---> Running in d83b6a07e3b9 [2022-05-10T09:35:19.054Z] Removing intermediate container d83b6a07e3b9 [2022-05-10T09:35:19.054Z] ---> 172aa20a2427 [2022-05-10T09:35:19.054Z] Step 9/23 : COPY . . [2022-05-10T09:35:19.627Z] ---> be2044d132e7 [2022-05-10T09:35:19.627Z] Step 10/23 : RUN ${MAKE} [2022-05-10T09:35:19.627Z] ---> Running in c1d171c7fc01 [2022-05-10T09:35:19.887Z] 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-10T09:35:41.834Z] Removing intermediate container c1d171c7fc01 [2022-05-10T09:35:41.834Z] ---> 352a63a36ea9 [2022-05-10T09:35:41.834Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T09:35:41.834Z] 3.14: Pulling from library/alpine [2022-05-10T09:35:41.834Z] 8663204ce13b: Pulling fs layer [2022-05-10T09:35:41.834Z] 8663204ce13b: Verifying Checksum [2022-05-10T09:35:41.834Z] 8663204ce13b: Download complete [2022-05-10T09:35:41.834Z] 8663204ce13b: Pull complete [2022-05-10T09:35:41.834Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T09:35:41.834Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T09:35:41.834Z] ---> e04c818066af [2022-05-10T09:35:41.834Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T09:35:41.834Z] ---> Running in 494509332ce8 [2022-05-10T09:35:41.834Z] Removing intermediate container 494509332ce8 [2022-05-10T09:35:41.834Z] ---> b79ae72fc693 [2022-05-10T09:35:41.834Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:35:41.834Z] ---> Running in 693cfb0db57d [2022-05-10T09:35:42.402Z] Removing intermediate container 693cfb0db57d [2022-05-10T09:35:42.402Z] ---> aa995e8b93d9 [2022-05-10T09:35:42.402Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T09:35:42.402Z] ---> Running in b7e376335dd1 [2022-05-10T09:35:42.663Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T09:35:43.603Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T09:35:43.864Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T09:35:43.864Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T09:35:44.126Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T09:35:44.126Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T09:35:44.126Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T09:35:44.387Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T09:35:44.387Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T09:35:44.387Z] OK: 8 MiB in 20 packages [2022-05-10T09:35:44.647Z] Removing intermediate container b7e376335dd1 [2022-05-10T09:35:44.647Z] ---> 4a497aeb3b42 [2022-05-10T09:35:44.647Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T09:35:45.590Z] ---> f1e1c808b97c [2022-05-10T09:35:45.590Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T09:35:45.590Z] ---> 651bc2985861 [2022-05-10T09:35:45.590Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T09:35:45.590Z] ---> c723748f7df4 [2022-05-10T09:35:45.590Z] Step 18/23 : EXPOSE 59901 [2022-05-10T09:35:45.851Z] ---> Running in 5d56608259db [2022-05-10T09:35:45.851Z] Removing intermediate container 5d56608259db [2022-05-10T09:35:45.851Z] ---> d6a3ccbc6068 [2022-05-10T09:35:45.851Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T09:35:45.851Z] ---> Running in feafe45efe06 [2022-05-10T09:35:45.851Z] Removing intermediate container feafe45efe06 [2022-05-10T09:35:45.851Z] ---> 4f1b343d3a07 [2022-05-10T09:35:45.851Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T09:35:46.110Z] ---> Running in 2d40e33d3567 [2022-05-10T09:35:46.110Z] Removing intermediate container 2d40e33d3567 [2022-05-10T09:35:46.110Z] ---> 3dc7d3b49168 [2022-05-10T09:35:46.110Z] Step 21/23 : LABEL arch=amd64 [2022-05-10T09:35:46.110Z] ---> Running in 64f342e1d915 [2022-05-10T09:35:46.110Z] Removing intermediate container 64f342e1d915 [2022-05-10T09:35:46.110Z] ---> 35d08f4e87b4 [2022-05-10T09:35:46.110Z] Step 22/23 : LABEL git_sha=3ea26778437bdff40bced88224eec1767570a456 [2022-05-10T09:35:46.110Z] ---> Running in a2d519a0667c [2022-05-10T09:35:46.378Z] Removing intermediate container a2d519a0667c [2022-05-10T09:35:46.378Z] ---> 10a880fee5de [2022-05-10T09:35:46.378Z] Step 23/23 : LABEL version=0.0.0 [2022-05-10T09:35:46.378Z] ---> Running in 402137a9048a [2022-05-10T09:35:46.378Z] Removing intermediate container 402137a9048a [2022-05-10T09:35:46.378Z] ---> f4182555fa75 [2022-05-10T09:35:46.378Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T09:35:46.378Z] Successfully built f4182555fa75 [2022-05-10T09:35:46.378Z] 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-10T09:35:47.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:35:47.098Z] [2022-05-10T09:35:47.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:35:47.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:35:47.439Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T09:35:47.439Z] 5eb5b503b376: Pulling fs layer [2022-05-10T09:35:47.439Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T09:35:47.439Z] ec43610c2a17: Pulling fs layer [2022-05-10T09:35:47.439Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T09:35:47.439Z] 33b1e0a273af: Pulling fs layer [2022-05-10T09:35:47.439Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T09:35:47.439Z] 2f39f015ded8: Pulling fs layer [2022-05-10T09:35:47.439Z] 5d3b04190fa2: Waiting [2022-05-10T09:35:47.439Z] 2f39f015ded8: Waiting [2022-05-10T09:35:47.439Z] 33b1e0a273af: Waiting [2022-05-10T09:35:47.439Z] 3a2ae6a8a46f: Waiting [2022-05-10T09:35:47.439Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T09:35:47.439Z] 5c69ac0246d0: Download complete [2022-05-10T09:35:47.439Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T09:35:47.439Z] 3a2ae6a8a46f: Download complete [2022-05-10T09:35:47.439Z] ec43610c2a17: Verifying Checksum [2022-05-10T09:35:47.439Z] ec43610c2a17: Download complete [2022-05-10T09:35:47.439Z] 33b1e0a273af: Verifying Checksum [2022-05-10T09:35:47.439Z] 33b1e0a273af: Download complete [2022-05-10T09:35:47.439Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T09:35:47.439Z] 5d3b04190fa2: Download complete [2022-05-10T09:35:47.701Z] 5eb5b503b376: Verifying Checksum [2022-05-10T09:35:47.701Z] 5eb5b503b376: Download complete [2022-05-10T09:35:48.272Z] 2f39f015ded8: Verifying Checksum [2022-05-10T09:35:48.272Z] 2f39f015ded8: Download complete [2022-05-10T09:35:49.209Z] 5eb5b503b376: Pull complete [2022-05-10T09:35:49.209Z] 5c69ac0246d0: Pull complete [2022-05-10T09:35:49.780Z] ec43610c2a17: Pull complete [2022-05-10T09:35:49.780Z] 3a2ae6a8a46f: Pull complete [2022-05-10T09:35:50.040Z] 33b1e0a273af: Pull complete [2022-05-10T09:35:50.300Z] 5d3b04190fa2: Pull complete [2022-05-10T09:35:55.583Z] 2f39f015ded8: Pull complete [2022-05-10T09:35:55.583Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T09:35:55.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:35:55.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T09:35:55.680Z] prd-ubuntu20.04-docker-8c-8g-47171 does not seem to be running inside a container [2022-05-10T09:35:55.716Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T09:35:57.543Z] $ docker top 6ffaffb2046755800c5f11fae4d4e1d40aa75a950e2864648ddb171aa2ade0fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:35:58.017Z] ---> job-cost.sh [2022-05-10T09:35:58.017Z] lf-activate-venv: SKIPPING [2022-05-10T09:35:58.017Z] INFO: No Stack... [2022-05-10T09:35:58.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T09:35:59.159Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T09:35:59.482Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-345/archives/cost.csv [2022-05-10T09:35:59.482Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T09:35:59.531Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] [2022-05-10T09:35:59.536Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] did not exist. Created. [2022-05-10T09:35:59.536Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T09:35:59.927Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T09:35:59.982Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T09:36:00.010Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T09:36:00.085Z] $ docker stop --time=1 6ffaffb2046755800c5f11fae4d4e1d40aa75a950e2864648ddb171aa2ade0fe [2022-05-10T09:36:01.269Z] $ docker rm -f 6ffaffb2046755800c5f11fae4d4e1d40aa75a950e2864648ddb171aa2ade0fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T09:44:52.324Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47397 in /w/workspace/xfoundry_device-modbus-go_PR-345 [Pipeline] { [Pipeline] ws [2022-05-10T09:44:52.368Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-05-10T09:44:52.763Z] Selected Git installation does not exist. Using Default [2022-05-10T09:44:52.763Z] The recommended git tool is: NONE [2022-05-10T09:44:59.147Z] using credential edgex-jenkins-ssh [2022-05-10T09:44:59.165Z] Cloning the remote Git repository [2022-05-10T09:44:59.240Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T09:44:59.408Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-05-10T09:44:59.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T09:44:59.502Z] > git --version # timeout=10 [2022-05-10T09:44:59.532Z] > git --version # 'git version 2.25.1' [2022-05-10T09:44:59.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T09:44:59.632Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T09:45:01.566Z] Merging remotes/origin/main commit 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea into PR head commit 3ea26778437bdff40bced88224eec1767570a456 [2022-05-10T09:45:01.808Z] Merge succeeded, producing 3ea26778437bdff40bced88224eec1767570a456 [2022-05-10T09:45:01.809Z] Checking out Revision 3ea26778437bdff40bced88224eec1767570a456 (PR-345) [2022-05-10T09:45:00.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-10T09:45:00.812Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T09:45:00.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-05-10T09:45:00.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-05-10T09:45:00.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T09:45:00.902Z] > 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-10T09:45:01.590Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T09:45:01.614Z] > git checkout -f 3ea26778437bdff40bced88224eec1767570a456 # timeout=10 [2022-05-10T09:45:01.711Z] > git remote # timeout=10 [2022-05-10T09:45:01.732Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T09:45:01.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T09:45:01.764Z] > git merge 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 [2022-05-10T09:45:01.790Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T09:45:01.819Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T09:45:01.839Z] > git checkout -f 3ea26778437bdff40bced88224eec1767570a456 # timeout=10 [2022-05-10T09:45:06.107Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" [2022-05-10T09:45:06.162Z] > git --version # timeout=10 [2022-05-10T09:45:06.172Z] > git --version # 'git version 2.25.1' [2022-05-10T09:45:06.187Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T09:45:07.278Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T09:45:07.278Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T09:45:07.278Z] Dload Upload Total Spent Left Speed [2022-05-10T09:45:07.278Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2022-05-10T09:45:07.802Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T09:45:08.205Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T09:45:08.205Z] + sudo tee /etc/docker/daemon.new [2022-05-10T09:45:08.205Z] { [2022-05-10T09:45:08.205Z] "registry-mirrors": [ [2022-05-10T09:45:08.205Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T09:45:08.205Z] ], [2022-05-10T09:45:08.205Z] "bip": "10.250.0.254/24", [2022-05-10T09:45:08.205Z] "hosts": [ [2022-05-10T09:45:08.205Z] "tcp://0.0.0.0:5555", [2022-05-10T09:45:08.205Z] "unix:///var/run/docker.sock" [2022-05-10T09:45:08.205Z] ], [2022-05-10T09:45:08.205Z] "mtu": 1458, [2022-05-10T09:45:08.205Z] "selinux-enabled": true, [2022-05-10T09:45:08.205Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T09:45:08.205Z] } [Pipeline] sh [2022-05-10T09:45:08.583Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T09:45:08.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:45:27.351Z] provisioning config files... [2022-05-10T09:45:27.381Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4861115707477748328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:45:27.987Z] ---> docker-login.sh [2022-05-10T09:45:27.987Z] nexus3.edgexfoundry.org:10001 [2022-05-10T09:45:28.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:45:28.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:45:28.874Z] Configure a credential helper to remove this warning. See [2022-05-10T09:45:28.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:45:28.874Z] [2022-05-10T09:45:28.874Z] Login Succeeded [2022-05-10T09:45:28.874Z] nexus3.edgexfoundry.org:10002 [2022-05-10T09:45:29.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:45:29.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:45:29.472Z] Configure a credential helper to remove this warning. See [2022-05-10T09:45:29.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:45:29.472Z] [2022-05-10T09:45:29.472Z] Login Succeeded [2022-05-10T09:45:29.472Z] nexus3.edgexfoundry.org:10003 [2022-05-10T09:45:29.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:45:30.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:45:30.028Z] Configure a credential helper to remove this warning. See [2022-05-10T09:45:30.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:45:30.028Z] [2022-05-10T09:45:30.028Z] Login Succeeded [2022-05-10T09:45:30.028Z] nexus3.edgexfoundry.org:10004 [2022-05-10T09:45:30.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:45:30.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:45:30.581Z] Configure a credential helper to remove this warning. See [2022-05-10T09:45:30.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:45:30.581Z] [2022-05-10T09:45:30.581Z] Login Succeeded [2022-05-10T09:45:30.581Z] docker.io [2022-05-10T09:45:30.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T09:45:31.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T09:45:31.132Z] Configure a credential helper to remove this warning. See [2022-05-10T09:45:31.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T09:45:31.132Z] [2022-05-10T09:45:31.132Z] Login Succeeded [2022-05-10T09:45:31.132Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T09:45:31.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T09:45:31.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T09:45:31.629Z] ========================================================= [2022-05-10T09:45:31.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T09:45:31.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:45:32.103Z] + 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-10T09:45:32.382Z] Sending build context to Docker daemon 3.081MB [2022-05-10T09:45:32.382Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:45:32.382Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-10T09:45:32.657Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T09:45:32.657Z] 9b3977197b4f: Pulling fs layer [2022-05-10T09:45:32.657Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T09:45:32.657Z] 94645a83ff95: Pulling fs layer [2022-05-10T09:45:32.657Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T09:45:32.657Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T09:45:32.657Z] 3096ccb668a1: Pulling fs layer [2022-05-10T09:45:32.657Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T09:45:32.657Z] a4caa8a26152: Pulling fs layer [2022-05-10T09:45:32.657Z] 3f3a8bcf1eab: Waiting [2022-05-10T09:45:32.657Z] 3096ccb668a1: Waiting [2022-05-10T09:45:32.657Z] e8cf19c19ddd: Waiting [2022-05-10T09:45:32.657Z] a4caa8a26152: Waiting [2022-05-10T09:45:32.657Z] 0c92f367c5e7: Waiting [2022-05-10T09:45:32.657Z] 94645a83ff95: Download complete [2022-05-10T09:45:32.657Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T09:45:32.657Z] 1a89e8eeedd5: Download complete [2022-05-10T09:45:32.657Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T09:45:32.657Z] 0c92f367c5e7: Download complete [2022-05-10T09:45:32.657Z] 3096ccb668a1: Verifying Checksum [2022-05-10T09:45:32.657Z] 3096ccb668a1: Download complete [2022-05-10T09:45:32.657Z] 9b3977197b4f: Verifying Checksum [2022-05-10T09:45:32.657Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T09:45:32.657Z] e8cf19c19ddd: Download complete [2022-05-10T09:45:33.665Z] 9b3977197b4f: Pull complete [2022-05-10T09:45:34.272Z] 1a89e8eeedd5: Pull complete [2022-05-10T09:45:34.272Z] 94645a83ff95: Pull complete [2022-05-10T09:45:34.875Z] a4caa8a26152: Verifying Checksum [2022-05-10T09:45:34.875Z] a4caa8a26152: Download complete [2022-05-10T09:45:35.479Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T09:45:35.479Z] 3f3a8bcf1eab: Download complete [2022-05-10T09:45:50.610Z] 3f3a8bcf1eab: Pull complete [2022-05-10T09:45:50.610Z] 0c92f367c5e7: Pull complete [2022-05-10T09:45:50.610Z] 3096ccb668a1: Pull complete [2022-05-10T09:45:50.610Z] e8cf19c19ddd: Pull complete [2022-05-10T09:45:56.043Z] a4caa8a26152: Pull complete [2022-05-10T09:45:56.043Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T09:45:56.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T09:45:56.043Z] ---> 725f1c02e7f9 [2022-05-10T09:45:56.043Z] Step 3/10 : ARG MAKE='make build' [2022-05-10T09:45:57.045Z] ---> Running in 636cba0af8eb [2022-05-10T09:45:57.658Z] Removing intermediate container 636cba0af8eb [2022-05-10T09:45:57.658Z] ---> 4276d1c79d2b [2022-05-10T09:45:57.658Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:45:57.658Z] ---> Running in 94156f98d379 [2022-05-10T09:46:01.077Z] Removing intermediate container 94156f98d379 [2022-05-10T09:46:01.077Z] ---> 827b2ba7a4e1 [2022-05-10T09:46:01.077Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T09:46:01.077Z] ---> Running in 25227cb35825 [2022-05-10T09:46:01.682Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T09:46:02.665Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T09:46:03.653Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T09:46:03.653Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-05-10T09:46:03.931Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T09:46:03.931Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T09:46:04.205Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-05-10T09:46:04.205Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-05-10T09:46:04.205Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-05-10T09:46:04.486Z] (8/8) Installing openssh (8.8_p1-r1) [2022-05-10T09:46:04.486Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T09:46:04.486Z] OK: 226 MiB in 60 packages [2022-05-10T09:46:05.468Z] Removing intermediate container 25227cb35825 [2022-05-10T09:46:05.468Z] ---> 46dcd3ac5872 [2022-05-10T09:46:05.468Z] Step 6/10 : WORKDIR /device-modbus-go [2022-05-10T09:46:05.469Z] ---> Running in f821a73a046f [2022-05-10T09:46:06.082Z] Removing intermediate container f821a73a046f [2022-05-10T09:46:06.082Z] ---> 2fe6f6ea6e70 [2022-05-10T09:46:06.082Z] Step 7/10 : COPY go.mod vendor* ./ [2022-05-10T09:46:06.357Z] ---> 3c2ffd8347df [2022-05-10T09:46:06.357Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:46:06.639Z] ---> Running in 398c6d502f1b [2022-05-10T09:46:53.649Z] Removing intermediate container 398c6d502f1b [2022-05-10T09:46:53.649Z] ---> ad8e1746ec93 [2022-05-10T09:46:53.649Z] Step 9/10 : COPY . . [2022-05-10T09:46:54.639Z] ---> 92ca1c261429 [2022-05-10T09:46:54.639Z] Step 10/10 : RUN ${MAKE} [2022-05-10T09:46:54.639Z] ---> Running in 28212b7ba0b9 [2022-05-10T09:46:56.095Z] noop [2022-05-10T09:46:56.370Z] Removing intermediate container 28212b7ba0b9 [2022-05-10T09:46:56.370Z] ---> adb633fd500a [2022-05-10T09:46:56.370Z] Successfully built adb633fd500a [2022-05-10T09:46:56.370Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:46:56.770Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T09:46:56.771Z] . [Pipeline] withDockerContainer [2022-05-10T09:46:57.059Z] prd-ubuntu20.04-docker-arm64-4c-16g-47397 does not seem to be running inside a container [2022-05-10T09:46:57.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T09:46:58.585Z] $ docker top 83ac1604901dc282878ce2fc6a0e2ff92f211efc3a3efdd67bc0c7eef449c22c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T09:46:59.602Z] + go version [2022-05-10T09:46:59.602Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T09:46:59.641Z] $ docker stop --time=1 83ac1604901dc282878ce2fc6a0e2ff92f211efc3a3efdd67bc0c7eef449c22c [2022-05-10T09:47:01.386Z] $ docker rm -f 83ac1604901dc282878ce2fc6a0e2ff92f211efc3a3efdd67bc0c7eef449c22c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:47:02.269Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T09:47:02.269Z] . [Pipeline] withDockerContainer [2022-05-10T09:47:02.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-47397 does not seem to be running inside a container [2022-05-10T09:47:02.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T09:47:03.962Z] $ docker top 5385f0e1f2271d87c91eab2e00e3a0626ed712da493b589ba1a28ccba1c6e23e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T09:47:04.985Z] + make test [2022-05-10T09:47:04.985Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T09:47:07.229Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-05-10T09:48:44.142Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-05-10T09:48:44.142Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.087s coverage: 46.4% of statements [2022-05-10T09:48:44.142Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T09:48:44.142Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T09:49:06.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T09:49:06.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T09:49:06.409Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T09:49:07.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T09:49:07.467Z] $ docker stop --time=1 5385f0e1f2271d87c91eab2e00e3a0626ed712da493b589ba1a28ccba1c6e23e [2022-05-10T09:49:09.326Z] $ docker rm -f 5385f0e1f2271d87c91eab2e00e3a0626ed712da493b589ba1a28ccba1c6e23e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T09:49:10.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T09:49:10.473Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T09:49:10.963Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T09:49:11.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T09:49:11.919Z] + ls -al . [2022-05-10T09:49:11.919Z] total 180 [2022-05-10T09:49:11.919Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:49 . [2022-05-10T09:49:11.919Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:44 .. [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 09:45 .dockerignore [2022-05-10T09:49:11.919Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:45 .git [2022-05-10T09:49:11.919Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 .github [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 09:45 .gitignore [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:45 .golangci.yml [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 9377 May 10 09:45 Attribution.txt [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 10001 May 10 09:45 CHANGELOG.md [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 1546 May 10 09:45 Dockerfile [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:45 GOVERNANCE.md [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 09:45 Jenkinsfile [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:45 LICENSE [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 10 09:45 Makefile [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 09:45 OWNERS.md [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 3397 May 10 09:45 README.md [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:34 VERSION [2022-05-10T09:49:11.919Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:45 bin [2022-05-10T09:49:11.919Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 cmd [2022-05-10T09:49:11.919Z] -rw-r--r-- 1 jenkins jenkins 24065 May 10 09:48 coverage.out [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 3399 May 10 09:45 go.mod [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 35558 May 10 09:45 go.sum [2022-05-10T09:49:11.919Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:45 internal [2022-05-10T09:49:11.919Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:45 simulator [2022-05-10T09:49:11.919Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:45 snap [2022-05-10T09:49:11.919Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 09:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:49:12.284Z] + 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=3ea26778437bdff40bced88224eec1767570a456 --label arch=arm64 --label version=0.0.0 . [2022-05-10T09:49:12.559Z] Sending build context to Docker daemon 3.106MB [2022-05-10T09:49:12.559Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T09:49:12.559Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-10T09:49:12.559Z] ---> adb633fd500a [2022-05-10T09:49:12.559Z] Step 3/23 : ARG MAKE='make build' [2022-05-10T09:49:12.838Z] ---> Running in 02ae68029654 [2022-05-10T09:49:13.111Z] Removing intermediate container 02ae68029654 [2022-05-10T09:49:13.111Z] ---> 522698aa986f [2022-05-10T09:49:13.111Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:49:13.111Z] ---> Running in 4ec80a43b134 [2022-05-10T09:49:15.104Z] Removing intermediate container 4ec80a43b134 [2022-05-10T09:49:15.104Z] ---> 16c7bc69b4e3 [2022-05-10T09:49:15.104Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T09:49:15.104Z] ---> Running in eb71601534cd [2022-05-10T09:49:16.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T09:49:17.078Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T09:49:18.061Z] OK: 226 MiB in 60 packages [2022-05-10T09:49:19.106Z] Removing intermediate container eb71601534cd [2022-05-10T09:49:19.106Z] ---> 15277064738f [2022-05-10T09:49:19.106Z] Step 6/23 : WORKDIR /device-modbus-go [2022-05-10T09:49:19.106Z] ---> Running in 053e300e3f5f [2022-05-10T09:49:19.379Z] Removing intermediate container 053e300e3f5f [2022-05-10T09:49:19.379Z] ---> d1c7a54beb06 [2022-05-10T09:49:19.379Z] Step 7/23 : COPY go.mod vendor* ./ [2022-05-10T09:49:19.974Z] ---> f425ff5a792b [2022-05-10T09:49:19.974Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T09:49:19.974Z] ---> Running in b9ff8e81658a [2022-05-10T09:49:21.958Z] Removing intermediate container b9ff8e81658a [2022-05-10T09:49:21.958Z] ---> dbfa0580f14e [2022-05-10T09:49:21.958Z] Step 9/23 : COPY . . [2022-05-10T09:49:22.940Z] ---> 7428181f4208 [2022-05-10T09:49:22.940Z] Step 10/23 : RUN ${MAKE} [2022-05-10T09:49:22.940Z] ---> Running in 06ee37a40862 [2022-05-10T09:49:24.377Z] 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-10T09:51:46.263Z] Removing intermediate container 06ee37a40862 [2022-05-10T09:51:46.263Z] ---> eca31cf3184b [2022-05-10T09:51:46.263Z] Step 11/23 : FROM alpine:3.14 [2022-05-10T09:51:46.263Z] 3.14: Pulling from library/alpine [2022-05-10T09:51:46.263Z] 455c02918c45: Pulling fs layer [2022-05-10T09:51:46.263Z] 455c02918c45: Verifying Checksum [2022-05-10T09:51:46.263Z] 455c02918c45: Download complete [2022-05-10T09:51:46.263Z] 455c02918c45: Pull complete [2022-05-10T09:51:46.263Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T09:51:46.263Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T09:51:46.263Z] ---> ac73e934f311 [2022-05-10T09:51:46.263Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-05-10T09:51:46.263Z] ---> Running in 1766fa001d8a [2022-05-10T09:51:46.263Z] Removing intermediate container 1766fa001d8a [2022-05-10T09:51:46.263Z] ---> 9633133c897c [2022-05-10T09:51:46.264Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T09:51:46.264Z] ---> Running in 1479985fa294 [2022-05-10T09:51:46.264Z] Removing intermediate container 1479985fa294 [2022-05-10T09:51:46.264Z] ---> 2ab9bca752c0 [2022-05-10T09:51:46.264Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T09:51:46.264Z] ---> Running in 66048477dc33 [2022-05-10T09:51:46.264Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T09:51:46.264Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T09:51:46.264Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T09:51:46.264Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T09:51:46.264Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T09:51:46.264Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T09:51:46.264Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T09:51:46.264Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T09:51:46.264Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T09:51:46.264Z] OK: 8 MiB in 20 packages [2022-05-10T09:51:46.264Z] Removing intermediate container 66048477dc33 [2022-05-10T09:51:46.264Z] ---> adfcc8ed42cb [2022-05-10T09:51:46.264Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-05-10T09:51:46.264Z] ---> 54fb17891a29 [2022-05-10T09:51:46.264Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-05-10T09:51:46.264Z] ---> 66afe5b77038 [2022-05-10T09:51:46.264Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-05-10T09:51:46.264Z] ---> 3c2cffa79db5 [2022-05-10T09:51:46.264Z] Step 18/23 : EXPOSE 59901 [2022-05-10T09:51:46.264Z] ---> Running in 7a87efc45370 [2022-05-10T09:51:46.264Z] Removing intermediate container 7a87efc45370 [2022-05-10T09:51:46.264Z] ---> 604b9192d58d [2022-05-10T09:51:46.264Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-05-10T09:51:46.264Z] ---> Running in 4e8562925e51 [2022-05-10T09:51:46.264Z] Removing intermediate container 4e8562925e51 [2022-05-10T09:51:46.264Z] ---> 22c885e8dcc6 [2022-05-10T09:51:46.264Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T09:51:46.264Z] ---> Running in a4e173bdc5ce [2022-05-10T09:51:46.264Z] Removing intermediate container a4e173bdc5ce [2022-05-10T09:51:46.264Z] ---> a063b2e5d990 [2022-05-10T09:51:46.264Z] Step 21/23 : LABEL arch=arm64 [2022-05-10T09:51:46.264Z] ---> Running in e829f0937193 [2022-05-10T09:51:46.537Z] Removing intermediate container e829f0937193 [2022-05-10T09:51:46.537Z] ---> da2960a1cb35 [2022-05-10T09:51:46.537Z] Step 22/23 : LABEL git_sha=3ea26778437bdff40bced88224eec1767570a456 [2022-05-10T09:51:46.537Z] ---> Running in 3b8185ed2d8e [2022-05-10T09:51:46.810Z] Removing intermediate container 3b8185ed2d8e [2022-05-10T09:51:46.810Z] ---> 7b1d2cc09644 [2022-05-10T09:51:46.810Z] Step 23/23 : LABEL version=0.0.0 [2022-05-10T09:51:47.089Z] ---> Running in 7e62c7d8ae95 [2022-05-10T09:51:47.361Z] Removing intermediate container 7e62c7d8ae95 [2022-05-10T09:51:47.361Z] ---> 769c47529ad8 [2022-05-10T09:51:47.361Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T09:51:47.361Z] Successfully built 769c47529ad8 [2022-05-10T09:51:47.361Z] 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-10T09:51:48.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T09:51:48.082Z] [2022-05-10T09:51:48.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:51:48.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T09:51:48.735Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T09:51:48.735Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T09:51:48.735Z] 04944245beec: Pulling fs layer [2022-05-10T09:51:48.735Z] 699f458cf7ca: Pulling fs layer [2022-05-10T09:51:48.735Z] 765212b225bb: Pulling fs layer [2022-05-10T09:51:48.735Z] f23df028b6ca: Pulling fs layer [2022-05-10T09:51:48.735Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T09:51:48.735Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T09:51:48.735Z] 765212b225bb: Waiting [2022-05-10T09:51:48.735Z] d65c8cfc05b1: Waiting [2022-05-10T09:51:48.735Z] f23df028b6ca: Waiting [2022-05-10T09:51:48.735Z] 2437ff75d9bd: Waiting [2022-05-10T09:51:48.735Z] 04944245beec: Verifying Checksum [2022-05-10T09:51:48.735Z] 04944245beec: Download complete [2022-05-10T09:51:48.735Z] 765212b225bb: Verifying Checksum [2022-05-10T09:51:48.735Z] 765212b225bb: Download complete [2022-05-10T09:51:48.735Z] f23df028b6ca: Verifying Checksum [2022-05-10T09:51:48.735Z] f23df028b6ca: Download complete [2022-05-10T09:51:49.014Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T09:51:49.014Z] d65c8cfc05b1: Download complete [2022-05-10T09:51:49.014Z] 699f458cf7ca: Verifying Checksum [2022-05-10T09:51:49.014Z] 699f458cf7ca: Download complete [2022-05-10T09:51:49.288Z] 8998bd30e6a1: Download complete [2022-05-10T09:51:51.920Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T09:51:51.920Z] 2437ff75d9bd: Download complete [2022-05-10T09:51:53.893Z] 8998bd30e6a1: Pull complete [2022-05-10T09:51:54.167Z] 04944245beec: Pull complete [2022-05-10T09:51:55.601Z] 699f458cf7ca: Pull complete [2022-05-10T09:51:55.874Z] 765212b225bb: Pull complete [2022-05-10T09:51:56.854Z] f23df028b6ca: Pull complete [2022-05-10T09:51:57.131Z] d65c8cfc05b1: Pull complete [2022-05-10T09:52:12.216Z] 2437ff75d9bd: Pull complete [2022-05-10T09:52:12.216Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T09:52:12.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T09:52:12.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T09:52:12.466Z] prd-ubuntu20.04-docker-arm64-4c-16g-47397 does not seem to be running inside a container [2022-05-10T09:52:12.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T09:52:15.356Z] $ docker top 6529f372dced98f6ee7e2a63dcb76f495323dc42aea66265aa834f78a47bd89c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:16.411Z] ---> job-cost.sh [2022-05-10T09:52:16.411Z] lf-activate-venv: SKIPPING [2022-05-10T09:52:16.411Z] INFO: No Stack... [2022-05-10T09:52:17.015Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T09:52:17.990Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T09:52:18.675Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-05-10T09:52:18.675Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T09:52:18.721Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] [2022-05-10T09:52:18.725Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] did not exist. Created. [2022-05-10T09:52:18.725Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T09:52:19.469Z] /w/workspace/device-modbus-go/1@tmp/durable-da5b83e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T09:52:20.163Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T09:52:20.203Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T09:52:20.249Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T09:52:20.276Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-345-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T09:52:20.351Z] $ docker stop --time=1 6529f372dced98f6ee7e2a63dcb76f495323dc42aea66265aa834f78a47bd89c [2022-05-10T09:52:21.865Z] $ docker rm -f 6529f372dced98f6ee7e2a63dcb76f495323dc42aea66265aa834f78a47bd89c [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-10T09:52:22.903Z] provisioning config files... [2022-05-10T09:52:22.912Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config4782285066568555493tmp [Pipeline] { [Pipeline] sh [2022-05-10T09:52:23.265Z] + set +x [2022-05-10T09:52:23.265Z] + curl -s https://codecov.io/bash [2022-05-10T09:52:23.265Z] + bash -s -- [2022-05-10T09:52:23.265Z] [2022-05-10T09:52:23.265Z] _____ _ [2022-05-10T09:52:23.265Z] / ____| | | [2022-05-10T09:52:23.265Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T09:52:23.265Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T09:52:23.265Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T09:52:23.265Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T09:52:23.265Z] Bash-1.0.6 [2022-05-10T09:52:23.265Z] [2022-05-10T09:52:23.265Z] [2022-05-10T09:52:23.265Z] ==> git version 2.25.1 found [2022-05-10T09:52:23.265Z] ==> 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-10T09:52:23.265Z] Release-Date: 2020-01-08 [2022-05-10T09:52:23.265Z] 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-10T09:52:23.265Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T09:52:23.265Z] ==> Jenkins CI detected. [2022-05-10T09:52:23.265Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-345 [2022-05-10T09:52:23.265Z] project root: . [2022-05-10T09:52:23.265Z] --> token set from env [2022-05-10T09:52:23.265Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T09:52:23.265Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T09:52:23.265Z] ==> Python coveragepy not found [2022-05-10T09:52:23.265Z] ==> Searching for coverage reports in: [2022-05-10T09:52:23.265Z] + . [2022-05-10T09:52:23.265Z] -> Found 1 reports [2022-05-10T09:52:23.265Z] ==> Detecting git/mercurial file structure [2022-05-10T09:52:23.265Z] ==> Reading reports [2022-05-10T09:52:23.265Z] + ./coverage.out bytes=24065 [2022-05-10T09:52:23.265Z] ==> Appending adjustments [2022-05-10T09:52:23.265Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T09:52:23.525Z] + Found adjustments [2022-05-10T09:52:23.525Z] ==> Gzipping contents [2022-05-10T09:52:23.525Z] 4.0K /tmp/codecov.kaTBuS.gz [2022-05-10T09:52:23.525Z] ==> Uploading reports [2022-05-10T09:52:23.525Z] url: https://codecov.io [2022-05-10T09:52:23.525Z] query: branch=PR-345&commit=3ea26778437bdff40bced88224eec1767570a456&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-345%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=345&job=&cmd_args= [2022-05-10T09:52:23.525Z] -> Pinging Codecov [2022-05-10T09:52:23.525Z] 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=3ea26778437bdff40bced88224eec1767570a456&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-345%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=345&job=&cmd_args= [2022-05-10T09:52:23.785Z] -> Uploading to [2022-05-10T09:52:23.785Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/3ea26778437bdff40bced88224eec1767570a456/726cf6d6-ae9d-4395-937f-d9d8282cda4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T095223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8c0fcbaaa957ea9e017f3fe619b829210a711e1a36f0a4e554fc206d5a4d4ff [2022-05-10T09:52:23.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T09:52:23.785Z] Dload Upload Total Spent Left Speed [2022-05-10T09:52:23.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 17910 --:--:-- --:--:-- --:--:-- 17910 [2022-05-10T09:52:24.044Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/3ea26778437bdff40bced88224eec1767570a456 [Pipeline] } [2022-05-10T09:52:24.068Z] 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-10T09:52:25.820Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-345/archives ] [2022-05-10T09:52:25.820Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-345/archives [2022-05-10T09:52:25.820Z] total 16 [2022-05-10T09:52:25.820Z] drwxr-xr-x 3 root root 4096 May 10 09:35 . [2022-05-10T09:52:25.820Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 09:35 .. [2022-05-10T09:52:25.820Z] drwxr-xr-x 2 root root 4096 May 10 09:35 cost [2022-05-10T09:52:25.820Z] -rw-r--r-- 1 root root 87 May 10 09:35 cost.csv [2022-05-10T09:52:25.820Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-345/archives [2022-05-10T09:52:25.820Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-345/archives [2022-05-10T09:52:25.820Z] total 16 [2022-05-10T09:52:25.820Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:35 . [2022-05-10T09:52:25.820Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 09:35 .. [2022-05-10T09:52:25.820Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:35 cost [2022-05-10T09:52:25.820Z] -rw-r--r-- 1 jenkins jenkins 87 May 10 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:26.152Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:27.051Z] ---> package-listing.sh [2022-05-10T09:52:27.051Z] ++ facter osfamily [2022-05-10T09:52:27.051Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T09:52:27.314Z] + OS_FAMILY=debian [2022-05-10T09:52:27.314Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-345 [2022-05-10T09:52:27.314Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T09:52:27.314Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T09:52:27.314Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T09:52:27.314Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T09:52:27.314Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-345 ']' [2022-05-10T09:52:27.314Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T09:52:27.314Z] + case "${OS_FAMILY}" in [2022-05-10T09:52:27.314Z] + dpkg -l [2022-05-10T09:52:27.314Z] + grep '^ii' [2022-05-10T09:52:27.314Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T09:52:27.314Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T09:52:27.314Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T09:52:27.314Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-345 ']' [2022-05-10T09:52:27.314Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-345/archives/ [2022-05-10T09:52:27.314Z] + 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-10T09:52:27.345Z] 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-10T09:52:27.642Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T09:52:28.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T09:52:28.241Z] . [Pipeline] withDockerContainer [2022-05-10T09:52:28.330Z] prd-ubuntu20.04-docker-8c-8g-47171 does not seem to be running inside a container [2022-05-10T09:52:28.372Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T09:52:28.601Z] $ docker top bfc49b6025f8c044aac7399301b599f9d702503f965e2760b0fc5391e0655c24 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T09:52:29.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T09:52:29.326Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T09:52:29.636Z] + ls /var/log/sa-host [2022-05-10T09:52:29.636Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T09:52:29.799Z] provisioning config files... [2022-05-10T09:52:29.813Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-345@tmp/config3913321979481033192tmp [Pipeline] { [Pipeline] echo [2022-05-10T09:52:29.858Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:30.176Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T09:52:30.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:30.621Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T09:52:30.656Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:30.973Z] ---> sudo-logs.sh [2022-05-10T09:52:30.973Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T09:52:31.056Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:31.380Z] ---> job-cost.sh [2022-05-10T09:52:31.380Z] lf-activate-venv: SKIPPING [2022-05-10T09:52:31.380Z] DEBUG: total: 0.2199999988079071 [2022-05-10T09:52:31.380Z] INFO: Retrieving Stack Cost... [2022-05-10T09:52:31.953Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T09:52:32.215Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T09:52:32.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T09:52:32.574Z] ---> logs-deploy.sh [2022-05-10T09:52:32.574Z] lf-activate-venv: SKIPPING [2022-05-10T09:52:32.574Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-345/1 [2022-05-10T09:52:32.574Z] INFO: archiving workspace using pattern(s): [2022-05-10T09:52:33.518Z] Archives upload complete. [2022-05-10T09:52:33.779Z] INFO: archiving logs to Nexus