Pull request #354 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from d5cc59ccc1123cafdcef011ea7bb1e0436b93c20+7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 (d6ace362222a65352cfc9d8a8191d3385340d532) 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-ssh18388663443037055235.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2866726729196683303.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10624578397936696707.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-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh543684390745583786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9388723206213200368.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17529336355977917664.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2548’ Running on prd-ubuntu20.04-docker-8c-8g-2550 in /w/workspace/xfoundry_device-modbus-go_PR-354 [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-354 # 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 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 into PR head commit d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 Merge succeeded, producing d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 Checking out Revision d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 (PR-354) > 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/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 # 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 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 # timeout=10 Commit message: "build: Upgrade sdk and paho.mqtt lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T09:58:57.495Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T09:58:57.674Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T09:58:57.748Z] ========================================================= [2022-06-17T09:58:57.748Z] EdgeX Global Pipelines Version Info [2022-06-17T09:58:57.748Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T09:58:58.532Z] ------------------- [2022-06-17T09:58:58.532Z] stable info: [2022-06-17T09:58:58.532Z] ------------------- [2022-06-17T09:58:58.532Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T09:58:58.532Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T09:58:58.532Z] Message: update stable to v1.0.234 [2022-06-17T09:58:59.105Z] ------------------- [2022-06-17T09:58:59.105Z] experimental info: [2022-06-17T09:58:59.105Z] ------------------- [2022-06-17T09:58:59.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T09:58:59.105Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T09:58:59.105Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T09:58:59.443Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-17T09:58:59.481Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-17T09:58:59.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T09:58:59.556Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T09:58:59.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T09:58:59.627Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T09:58:59.664Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T09:58:59.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T09:58:59.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T09:58:59.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T09:58:59.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T09:58:59.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-17T09:58:59.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T09:58:59.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T09:58:59.988Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T09:59:00.026Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T09:59:00.061Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T09:59:00.097Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T09:59:00.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T09:59:00.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T09:59:00.215Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T09:59:00.253Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T09:59:00.292Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T09:59:00.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T09:59:00.369Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T09:59:00.410Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T09:59:00.450Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T09:59:00.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo [2022-06-17T09:59:00.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo [2022-06-17T09:59:00.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo [2022-06-17T09:59:00.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [Pipeline] echo [2022-06-17T09:59:00.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5cc59c [Pipeline] echo [2022-06-17T09:59:00.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T09:59:00.796Z] provisioning config files... [2022-06-17T09:59:00.815Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp/config7014382033878647606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T09:59:01.155Z] ---> docker-login.sh [2022-06-17T09:59:01.155Z] nexus3.edgexfoundry.org:10001 [2022-06-17T09:59:01.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:01.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:01.417Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:01.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:01.417Z] [2022-06-17T09:59:01.417Z] Login Succeeded [2022-06-17T09:59:01.417Z] nexus3.edgexfoundry.org:10002 [2022-06-17T09:59:01.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:01.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:01.678Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:01.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:01.678Z] [2022-06-17T09:59:01.678Z] Login Succeeded [2022-06-17T09:59:01.678Z] nexus3.edgexfoundry.org:10003 [2022-06-17T09:59:01.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:01.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:01.678Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:01.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:01.678Z] [2022-06-17T09:59:01.678Z] Login Succeeded [2022-06-17T09:59:01.678Z] nexus3.edgexfoundry.org:10004 [2022-06-17T09:59:01.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:01.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:01.941Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:01.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:01.941Z] [2022-06-17T09:59:01.941Z] Login Succeeded [2022-06-17T09:59:01.941Z] docker.io [2022-06-17T09:59:01.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:02.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:02.204Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:02.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:02.204Z] [2022-06-17T09:59:02.204Z] Login Succeeded [2022-06-17T09:59:02.204Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T09:59:02.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T09:59:02.841Z] + git rev-list -1 --merges d5cc59ccc1123cafdcef011ea7bb1e0436b93c20~1..d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [Pipeline] echo [2022-06-17T09:59:02.886Z] -----------> git rev-list -1 --merges d5cc59ccc1123cafdcef011ea7bb1e0436b93c20~1..d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [false] [Pipeline] sh [2022-06-17T09:59:03.197Z] + git log --format=format:%s -1 d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [Pipeline] echo [2022-06-17T09:59:03.228Z] ========================================================= [2022-06-17T09:59:03.228Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T09:59:03.228Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T09:59:03.659Z] + git log --format=format:%s -1 d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [Pipeline] echo [2022-06-17T09:59:03.695Z] [semverPrep] GIT_COMMIT: d5cc59ccc1123cafdcef011ea7bb1e0436b93c20, Commit Message: build: Upgrade sdk and paho.mqtt lib [Pipeline] echo [2022-06-17T09:59:03.722Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T09:59:04.094Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T09:59:04.094Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T09:59:04.094Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T09:59:04.094Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T09:59:04.094Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T09:59:04.094Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T09:59:04.094Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T09:59:04.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T09:59:04.529Z] [2022-06-17T09:59:04.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T09:59:04.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T09:59:04.912Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T09:59:04.912Z] 42c077c10790: Pulling fs layer [2022-06-17T09:59:04.912Z] f63e77b7563a: Pulling fs layer [2022-06-17T09:59:04.912Z] bd5fdadae976: Pulling fs layer [2022-06-17T09:59:04.912Z] 205491f53016: Pulling fs layer [2022-06-17T09:59:04.912Z] df18705c85c3: Pulling fs layer [2022-06-17T09:59:04.912Z] 205491f53016: Waiting [2022-06-17T09:59:04.912Z] df18705c85c3: Waiting [2022-06-17T09:59:04.912Z] bdb3f477010e: Pulling fs layer [2022-06-17T09:59:04.912Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T09:59:04.912Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T09:59:04.912Z] bdb3f477010e: Waiting [2022-06-17T09:59:04.912Z] c8a8fc8e1c8f: Waiting [2022-06-17T09:59:04.912Z] bdb8f0575790: Pulling fs layer [2022-06-17T09:59:04.912Z] 2c6e9b1d212d: Waiting [2022-06-17T09:59:04.912Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T09:59:04.912Z] bdb8f0575790: Waiting [2022-06-17T09:59:04.912Z] 386e3cb2ff24: Waiting [2022-06-17T09:59:04.912Z] 2343380bae48: Pulling fs layer [2022-06-17T09:59:04.912Z] 2343380bae48: Waiting [2022-06-17T09:59:04.912Z] f63e77b7563a: Verifying Checksum [2022-06-17T09:59:04.912Z] f63e77b7563a: Download complete [2022-06-17T09:59:04.912Z] 205491f53016: Verifying Checksum [2022-06-17T09:59:04.912Z] 205491f53016: Download complete [2022-06-17T09:59:05.171Z] df18705c85c3: Verifying Checksum [2022-06-17T09:59:05.171Z] df18705c85c3: Download complete [2022-06-17T09:59:05.171Z] bd5fdadae976: Verifying Checksum [2022-06-17T09:59:05.171Z] bd5fdadae976: Download complete [2022-06-17T09:59:05.171Z] bdb3f477010e: Download complete [2022-06-17T09:59:05.171Z] 2c6e9b1d212d: Download complete [2022-06-17T09:59:05.171Z] bdb8f0575790: Verifying Checksum [2022-06-17T09:59:05.171Z] 386e3cb2ff24: Download complete [2022-06-17T09:59:05.171Z] 2343380bae48: Verifying Checksum [2022-06-17T09:59:05.171Z] 2343380bae48: Download complete [2022-06-17T09:59:05.171Z] 42c077c10790: Verifying Checksum [2022-06-17T09:59:05.171Z] 42c077c10790: Download complete [2022-06-17T09:59:05.430Z] c8a8fc8e1c8f: Download complete [2022-06-17T09:59:06.372Z] 42c077c10790: Pull complete [2022-06-17T09:59:06.632Z] f63e77b7563a: Pull complete [2022-06-17T09:59:06.891Z] bd5fdadae976: Pull complete [2022-06-17T09:59:07.150Z] 205491f53016: Pull complete [2022-06-17T09:59:07.411Z] df18705c85c3: Pull complete [2022-06-17T09:59:07.411Z] bdb3f477010e: Pull complete [2022-06-17T09:59:09.321Z] c8a8fc8e1c8f: Pull complete [2022-06-17T09:59:09.321Z] 2c6e9b1d212d: Pull complete [2022-06-17T09:59:09.321Z] bdb8f0575790: Pull complete [2022-06-17T09:59:09.321Z] 386e3cb2ff24: Pull complete [2022-06-17T09:59:09.582Z] 2343380bae48: Pull complete [2022-06-17T09:59:09.582Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T09:59:09.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T09:59:09.582Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T09:59:09.821Z] prd-ubuntu20.04-docker-8c-8g-2550 does not seem to be running inside a container [2022-06-17T09:59:09.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-354 -v /w/workspace/xfoundry_device-modbus-go_PR-354:/w/workspace/xfoundry_device-modbus-go_PR-354:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-354@tmp:/w/workspace/xfoundry_device-modbus-go_PR-354@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-devops/py-git-semver:0.1.4 cat [2022-06-17T09:59:11.188Z] $ docker top 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 -eo pid,comm [2022-06-17T09:59:11.272Z] 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-06-17T09:59:11.272Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T09:59:11.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T09:59:11.399Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T09:59:11.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T09:59:11.510Z] $ docker exec 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 ssh-agent [2022-06-17T09:59:11.645Z] SSH_AUTH_SOCK=/tmp/ssh-L3DxAMX3hDm4/agent.33 [2022-06-17T09:59:11.645Z] SSH_AGENT_PID=39 [2022-06-17T09:59:11.653Z] Running ssh-add (command line suppressed) [2022-06-17T09:59:11.759Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-354@tmp/private_key_25356594680444698.key (/w/workspace/xfoundry_device-modbus-go_PR-354@tmp/private_key_25356594680444698.key) [2022-06-17T09:59:11.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T09:59:12.114Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T09:59:12.129Z] $ docker exec --env ******** --env ******** 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 ssh-agent -k [2022-06-17T09:59:12.237Z] unset SSH_AUTH_SOCK; [2022-06-17T09:59:12.237Z] unset SSH_AGENT_PID; [2022-06-17T09:59:12.238Z] echo Agent pid 39 killed; [2022-06-17T09:59:12.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T09:59:12.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T09:59:12.354Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T09:59:12.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T09:59:12.485Z] $ docker exec 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 ssh-agent [2022-06-17T09:59:12.624Z] SSH_AUTH_SOCK=/tmp/ssh-kIeTEeinAsPD/agent.74 [2022-06-17T09:59:12.624Z] SSH_AGENT_PID=80 [2022-06-17T09:59:12.631Z] Running ssh-add (command line suppressed) [2022-06-17T09:59:12.732Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-354@tmp/private_key_216218634131775380.key (/w/workspace/xfoundry_device-modbus-go_PR-354@tmp/private_key_216218634131775380.key) [2022-06-17T09:59:12.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T09:59:13.097Z] + git semver init [2022-06-17T09:59:13.357Z] 2022-06-17 09:59:13,279 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T09:59:13.357Z] 2022-06-17 09:59:13,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-354/.semver [2022-06-17T09:59:13.357Z] 2022-06-17 09:59:13,281 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-354/.semver [2022-06-17T09:59:13.357Z] 2022-06-17 09:59:13,281 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-354/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-354, universal_newlines=False, shell=None, istream=None) [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,937 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-354/.git/info/exclude [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-354/.semver/PR-354 with force:False [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,937 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-354/.semver/PR-354 [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,939 [execute] INFO git cat-file --batch-check [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,946 [execute] INFO git cat-file --batch [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T09:59:14.293Z] 2022-06-17 09:59:13,950 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-354/.semver/PR-354 [2022-06-17T09:59:14.293Z] 0.0.0 [Pipeline] } [2022-06-17T09:59:14.308Z] $ docker exec --env ******** --env ******** 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 ssh-agent -k [2022-06-17T09:59:14.419Z] unset SSH_AUTH_SOCK; [2022-06-17T09:59:14.419Z] unset SSH_AGENT_PID; [2022-06-17T09:59:14.419Z] echo Agent pid 80 killed; [2022-06-17T09:59:14.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T09:59:14.861Z] + git semver [Pipeline] } [2022-06-17T09:59:15.140Z] $ docker stop --time=1 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 [2022-06-17T09:59:16.440Z] $ docker rm -f 4491afca516da9bac802b4d26211020b1bbe317f7b040cb6b8afe89441d51545 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T09:59:16.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T09:59:17.144Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T09:59:17.161Z] [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-06-17T09:59:17.729Z] provisioning config files... [2022-06-17T09:59:17.740Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp/config8150032974193902213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T09:59:18.087Z] ---> docker-login.sh [2022-06-17T09:59:18.087Z] nexus3.edgexfoundry.org:10001 [2022-06-17T09:59:18.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:18.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:18.087Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:18.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:18.087Z] [2022-06-17T09:59:18.087Z] Login Succeeded [2022-06-17T09:59:18.087Z] nexus3.edgexfoundry.org:10002 [2022-06-17T09:59:18.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:18.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:18.087Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:18.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:18.087Z] [2022-06-17T09:59:18.087Z] Login Succeeded [2022-06-17T09:59:18.348Z] nexus3.edgexfoundry.org:10003 [2022-06-17T09:59:18.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:18.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:18.348Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:18.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:18.348Z] [2022-06-17T09:59:18.348Z] Login Succeeded [2022-06-17T09:59:18.348Z] nexus3.edgexfoundry.org:10004 [2022-06-17T09:59:18.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:18.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:18.610Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:18.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:18.610Z] [2022-06-17T09:59:18.610Z] Login Succeeded [2022-06-17T09:59:18.610Z] docker.io [2022-06-17T09:59:18.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T09:59:18.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T09:59:18.872Z] Configure a credential helper to remove this warning. See [2022-06-17T09:59:18.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T09:59:18.872Z] [2022-06-17T09:59:18.872Z] Login Succeeded [2022-06-17T09:59:18.872Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T09:59:18.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T09:59:19.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T09:59:19.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T09:59:19.227Z] ========================================================= [2022-06-17T09:59:19.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T09:59:19.227Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T09:59:19.683Z] + 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-06-17T09:59:19.683Z] Sending build context to Docker daemon 6.049MB [2022-06-17T09:59:19.683Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T09:59:19.683Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-17T09:59:19.683Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T09:59:19.683Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T09:59:19.683Z] 666ba61612fd: Pulling fs layer [2022-06-17T09:59:19.683Z] 8ed8ca486205: Pulling fs layer [2022-06-17T09:59:19.683Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T09:59:19.683Z] c516ae0d96e1: Pulling fs layer [2022-06-17T09:59:19.683Z] 684cea983483: Pulling fs layer [2022-06-17T09:59:19.683Z] dd3240ac7de5: Pulling fs layer [2022-06-17T09:59:19.683Z] b1e948a4e11c: Pulling fs layer [2022-06-17T09:59:19.683Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T09:59:19.683Z] 646ad004c059: Pulling fs layer [2022-06-17T09:59:19.683Z] c516ae0d96e1: Waiting [2022-06-17T09:59:19.683Z] 684cea983483: Waiting [2022-06-17T09:59:19.683Z] dd3240ac7de5: Waiting [2022-06-17T09:59:19.683Z] 646ad004c059: Waiting [2022-06-17T09:59:19.683Z] b1e948a4e11c: Waiting [2022-06-17T09:59:19.683Z] a8fd76ee1af6: Waiting [2022-06-17T09:59:19.683Z] 8ed8ca486205: Verifying Checksum [2022-06-17T09:59:19.683Z] 8ed8ca486205: Download complete [2022-06-17T09:59:19.683Z] 666ba61612fd: Download complete [2022-06-17T09:59:19.948Z] c516ae0d96e1: Verifying Checksum [2022-06-17T09:59:19.948Z] c516ae0d96e1: Download complete [2022-06-17T09:59:19.948Z] 684cea983483: Download complete [2022-06-17T09:59:19.948Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T09:59:19.948Z] 59bf1c3509f3: Download complete [2022-06-17T09:59:19.948Z] dd3240ac7de5: Verifying Checksum [2022-06-17T09:59:19.948Z] dd3240ac7de5: Download complete [2022-06-17T09:59:19.948Z] b1e948a4e11c: Verifying Checksum [2022-06-17T09:59:19.948Z] b1e948a4e11c: Download complete [2022-06-17T09:59:19.948Z] 59bf1c3509f3: Pull complete [2022-06-17T09:59:20.216Z] 666ba61612fd: Pull complete [2022-06-17T09:59:20.216Z] 8ed8ca486205: Pull complete [2022-06-17T09:59:20.480Z] 646ad004c059: Verifying Checksum [2022-06-17T09:59:20.480Z] 646ad004c059: Download complete [2022-06-17T09:59:20.480Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T09:59:20.480Z] cc1cd167ecdc: Download complete [2022-06-17T09:59:20.738Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T09:59:20.738Z] a8fd76ee1af6: Download complete [2022-06-17T09:59:24.032Z] cc1cd167ecdc: Pull complete [2022-06-17T09:59:24.032Z] c516ae0d96e1: Pull complete [2022-06-17T09:59:24.032Z] 684cea983483: Pull complete [2022-06-17T09:59:24.032Z] dd3240ac7de5: Pull complete [2022-06-17T09:59:24.291Z] b1e948a4e11c: Pull complete [2022-06-17T09:59:26.198Z] a8fd76ee1af6: Pull complete [2022-06-17T09:59:27.135Z] 646ad004c059: Pull complete [2022-06-17T09:59:27.136Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T09:59:27.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T09:59:27.136Z] ---> 8f69c11f6b0c [2022-06-17T09:59:27.136Z] Step 3/10 : ARG MAKE='make build' [2022-06-17T09:59:29.045Z] ---> Running in 4bfd044a2789 [2022-06-17T09:59:29.045Z] Removing intermediate container 4bfd044a2789 [2022-06-17T09:59:29.045Z] ---> 814f68291398 [2022-06-17T09:59:29.045Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T09:59:29.045Z] ---> Running in 291be6147ab6 [2022-06-17T09:59:29.305Z] Removing intermediate container 291be6147ab6 [2022-06-17T09:59:29.305Z] ---> 02b053c78981 [2022-06-17T09:59:29.305Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T09:59:29.564Z] ---> Running in 59fa760edafc [2022-06-17T09:59:29.824Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T09:59:30.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T09:59:30.959Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T09:59:30.960Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-17T09:59:30.960Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T09:59:31.218Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T09:59:31.218Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-17T09:59:31.218Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-17T09:59:31.477Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-17T09:59:31.477Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-17T09:59:31.477Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T09:59:31.477Z] OK: 226 MiB in 60 packages [2022-06-17T09:59:32.047Z] Removing intermediate container 59fa760edafc [2022-06-17T09:59:32.047Z] ---> 5c84cc0c9c5f [2022-06-17T09:59:32.047Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-17T09:59:32.047Z] ---> Running in 77bf10db3efd [2022-06-17T09:59:32.047Z] Removing intermediate container 77bf10db3efd [2022-06-17T09:59:32.047Z] ---> bf7da46416f0 [2022-06-17T09:59:32.047Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-17T09:59:32.306Z] ---> d49fe4c903f8 [2022-06-17T09:59:32.306Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T09:59:32.306Z] ---> Running in eccac1990ac3 [2022-06-17T09:59:32.552Z] Still waiting to schedule task [2022-06-17T09:59:32.552Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2549’ is offline [2022-06-17T09:59:47.283Z] Removing intermediate container eccac1990ac3 [2022-06-17T09:59:47.283Z] ---> 5cd6c7594a64 [2022-06-17T09:59:47.283Z] Step 9/10 : COPY . . [2022-06-17T09:59:47.283Z] ---> a39be04d58c5 [2022-06-17T09:59:47.283Z] Step 10/10 : RUN ${MAKE} [2022-06-17T09:59:47.283Z] ---> Running in 650084ebee0d [2022-06-17T09:59:47.283Z] noop [2022-06-17T09:59:47.283Z] Removing intermediate container 650084ebee0d [2022-06-17T09:59:47.283Z] ---> 054cc58ec75c [2022-06-17T09:59:47.283Z] Successfully built 054cc58ec75c [2022-06-17T09:59:47.283Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T09:59:47.747Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T09:59:47.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T09:59:47.915Z] prd-ubuntu20.04-docker-8c-8g-2550 does not seem to be running inside a container [2022-06-17T09:59:47.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-354 -v /w/workspace/xfoundry_device-modbus-go_PR-354:/w/workspace/xfoundry_device-modbus-go_PR-354:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-354@tmp:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T09:59:48.313Z] $ docker top c6bb4151a62fd1bd59a91762f3a5be8f9ecf35081c1fb7668e01883b699558da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T09:59:48.700Z] + go version [2022-06-17T09:59:48.700Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T09:59:48.735Z] $ docker stop --time=1 c6bb4151a62fd1bd59a91762f3a5be8f9ecf35081c1fb7668e01883b699558da [2022-06-17T09:59:49.991Z] $ docker rm -f c6bb4151a62fd1bd59a91762f3a5be8f9ecf35081c1fb7668e01883b699558da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T09:59:50.692Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T09:59:50.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T09:59:50.841Z] prd-ubuntu20.04-docker-8c-8g-2550 does not seem to be running inside a container [2022-06-17T09:59:50.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-354 -v /w/workspace/xfoundry_device-modbus-go_PR-354:/w/workspace/xfoundry_device-modbus-go_PR-354:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-354@tmp:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T09:59:51.250Z] $ docker top 8667be191c743af0940a9a3c3c61fc72fdde32ad1cd3bf15118ec1171dfe5609 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T09:59:51.688Z] + make test [2022-06-17T09:59:51.688Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T09:59:51.948Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-17T10:00:00.071Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-17T10:00:00.071Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 46.4% of statements [2022-06-17T10:00:08.191Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:00:10.724Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:00:10.724Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:00:10.724Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:00:11.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:00:11.045Z] $ docker stop --time=1 8667be191c743af0940a9a3c3c61fc72fdde32ad1cd3bf15118ec1171dfe5609 [2022-06-17T10:00:12.784Z] $ docker rm -f 8667be191c743af0940a9a3c3c61fc72fdde32ad1cd3bf15118ec1171dfe5609 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:00:13.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:00:13.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T10:00:13.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:00:14.277Z] + ls -al . [2022-06-17T10:00:14.277Z] total 184 [2022-06-17T10:00:14.277Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:00 . [2022-06-17T10:00:14.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 09:58 .. [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 09:58 .dockerignore [2022-06-17T10:00:14.277Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 09:59 .git [2022-06-17T10:00:14.277Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 09:58 .github [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 17 09:58 .gitignore [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 09:58 .golangci.yml [2022-06-17T10:00:14.277Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 09:59 .semver [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 17 09:58 Attribution.txt [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 17 09:58 CHANGELOG.md [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 17 09:58 Dockerfile [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 09:58 GOVERNANCE.md [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 09:58 Jenkinsfile [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 09:58 LICENSE [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 17 09:58 Makefile [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 17 09:58 OWNERS.md [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 17 09:58 README.md [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 09:59 VERSION [2022-06-17T10:00:14.277Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 09:58 bin [2022-06-17T10:00:14.277Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 09:58 cmd [2022-06-17T10:00:14.277Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 17 09:59 coverage.out [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 3403 Jun 17 09:58 go.mod [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 36017 Jun 17 09:58 go.sum [2022-06-17T10:00:14.277Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 09:58 internal [2022-06-17T10:00:14.277Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 09:58 simulator [2022-06-17T10:00:14.277Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 09:58 snap [2022-06-17T10:00:14.277Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 17 09:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:00:14.663Z] + 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=d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 --label arch=amd64 --label version=0.0.0 . [2022-06-17T10:00:14.663Z] Sending build context to Docker daemon 6.074MB [2022-06-17T10:00:14.663Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:00:14.663Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-17T10:00:14.663Z] ---> 054cc58ec75c [2022-06-17T10:00:14.663Z] Step 3/23 : ARG MAKE='make build' [2022-06-17T10:00:14.663Z] ---> Running in a4e7bd6b265e [2022-06-17T10:00:14.922Z] Removing intermediate container a4e7bd6b265e [2022-06-17T10:00:14.922Z] ---> 5d084a0b3178 [2022-06-17T10:00:14.922Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:00:14.922Z] ---> Running in 4ddebcbb6dcb [2022-06-17T10:00:15.494Z] Removing intermediate container 4ddebcbb6dcb [2022-06-17T10:00:15.494Z] ---> 3a0187c2fe8c [2022-06-17T10:00:15.494Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T10:00:15.494Z] ---> Running in 8ade8b9edecc [2022-06-17T10:00:15.754Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:00:16.713Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:00:16.974Z] OK: 226 MiB in 60 packages [2022-06-17T10:00:17.235Z] Removing intermediate container 8ade8b9edecc [2022-06-17T10:00:17.235Z] ---> 29cac0b4cbf1 [2022-06-17T10:00:17.235Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-17T10:00:17.235Z] ---> Running in 6eefa7bda238 [2022-06-17T10:00:17.235Z] Removing intermediate container 6eefa7bda238 [2022-06-17T10:00:17.235Z] ---> 9053c515b86f [2022-06-17T10:00:17.235Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-17T10:00:17.495Z] ---> 35245ef8ad50 [2022-06-17T10:00:17.495Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:00:17.495Z] ---> Running in 225ce5ba50dd [2022-06-17T10:00:18.065Z] Removing intermediate container 225ce5ba50dd [2022-06-17T10:00:18.065Z] ---> 0f36cf15779b [2022-06-17T10:00:18.065Z] Step 9/23 : COPY . . [2022-06-17T10:00:18.326Z] ---> 679d82a71d6d [2022-06-17T10:00:18.326Z] Step 10/23 : RUN ${MAKE} [2022-06-17T10:00:18.326Z] ---> Running in daf6beade06d [2022-06-17T10:00:18.586Z] 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-06-17T10:00:36.684Z] Removing intermediate container daf6beade06d [2022-06-17T10:00:36.684Z] ---> e079602a7447 [2022-06-17T10:00:36.684Z] Step 11/23 : FROM alpine:3.14 [2022-06-17T10:00:37.254Z] 3.14: Pulling from library/alpine [2022-06-17T10:00:37.515Z] 8663204ce13b: Pulling fs layer [2022-06-17T10:00:37.775Z] 8663204ce13b: Verifying Checksum [2022-06-17T10:00:37.775Z] 8663204ce13b: Download complete [2022-06-17T10:00:37.775Z] 8663204ce13b: Pull complete [2022-06-17T10:00:37.775Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T10:00:37.776Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T10:00:37.776Z] ---> e04c818066af [2022-06-17T10:00:37.776Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-17T10:00:37.776Z] ---> Running in ab22cc91e1ee [2022-06-17T10:00:38.036Z] Removing intermediate container ab22cc91e1ee [2022-06-17T10:00:38.036Z] ---> 6b53425c6d62 [2022-06-17T10:00:38.036Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:00:38.036Z] ---> Running in 4fa7b802e9ae [2022-06-17T10:00:38.606Z] Removing intermediate container 4fa7b802e9ae [2022-06-17T10:00:38.606Z] ---> 0067185863a1 [2022-06-17T10:00:38.606Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:00:38.606Z] ---> Running in 239e2a06f676 [2022-06-17T10:00:38.867Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:00:39.810Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:00:39.810Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:00:40.075Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T10:00:40.075Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:00:40.075Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T10:00:40.333Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:00:40.333Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:00:40.594Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T10:00:40.595Z] OK: 8 MiB in 20 packages [2022-06-17T10:00:40.853Z] Removing intermediate container 239e2a06f676 [2022-06-17T10:00:40.853Z] ---> a5f95f916e65 [2022-06-17T10:00:40.853Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-17T10:00:41.422Z] ---> 56a098e30528 [2022-06-17T10:00:41.422Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-17T10:00:41.422Z] ---> 6d08f1739b37 [2022-06-17T10:00:41.422Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-17T10:00:41.683Z] ---> c4b230514619 [2022-06-17T10:00:41.683Z] Step 18/23 : EXPOSE 59901 [2022-06-17T10:00:41.683Z] ---> Running in a6bbf799f59f [2022-06-17T10:00:41.952Z] Removing intermediate container a6bbf799f59f [2022-06-17T10:00:41.952Z] ---> 1911c24523d5 [2022-06-17T10:00:41.952Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-17T10:00:41.952Z] ---> Running in 8d310e32e29f [2022-06-17T10:00:41.952Z] Removing intermediate container 8d310e32e29f [2022-06-17T10:00:41.952Z] ---> d2d4cfaeb38a [2022-06-17T10:00:41.952Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:00:41.952Z] ---> Running in 5c89457dc83d [2022-06-17T10:00:41.952Z] Removing intermediate container 5c89457dc83d [2022-06-17T10:00:41.952Z] ---> 6e0dee270782 [2022-06-17T10:00:41.952Z] Step 21/23 : LABEL arch=amd64 [2022-06-17T10:00:42.212Z] ---> Running in eba7dbbbeeb5 [2022-06-17T10:00:42.212Z] Removing intermediate container eba7dbbbeeb5 [2022-06-17T10:00:42.212Z] ---> 6eead3f39e11 [2022-06-17T10:00:42.212Z] Step 22/23 : LABEL git_sha=d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [2022-06-17T10:00:42.212Z] ---> Running in 2a3e0eb95e30 [2022-06-17T10:00:42.212Z] Removing intermediate container 2a3e0eb95e30 [2022-06-17T10:00:42.212Z] ---> 4aa72ddfa8ea [2022-06-17T10:00:42.212Z] Step 23/23 : LABEL version=0.0.0 [2022-06-17T10:00:42.472Z] ---> Running in b9fbd4db9c7a [2022-06-17T10:00:42.472Z] Removing intermediate container b9fbd4db9c7a [2022-06-17T10:00:42.472Z] ---> 8b4eb3fbf15e [2022-06-17T10:00:42.472Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:00:42.472Z] Successfully built 8b4eb3fbf15e [2022-06-17T10:00:42.472Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:00:43.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:00:43.350Z] [2022-06-17T10:00:43.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:00:43.734Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:00:43.734Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T10:00:43.734Z] 5eb5b503b376: Pulling fs layer [2022-06-17T10:00:43.734Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T10:00:43.734Z] ec43610c2a17: Pulling fs layer [2022-06-17T10:00:43.734Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T10:00:43.734Z] 33b1e0a273af: Pulling fs layer [2022-06-17T10:00:43.734Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T10:00:43.734Z] 2f39f015ded8: Pulling fs layer [2022-06-17T10:00:43.734Z] 33b1e0a273af: Waiting [2022-06-17T10:00:43.734Z] 5d3b04190fa2: Waiting [2022-06-17T10:00:43.734Z] 2f39f015ded8: Waiting [2022-06-17T10:00:43.734Z] 3a2ae6a8a46f: Waiting [2022-06-17T10:00:43.734Z] 5c69ac0246d0: Verifying Checksum [2022-06-17T10:00:43.734Z] 5c69ac0246d0: Download complete [2022-06-17T10:00:43.734Z] 3a2ae6a8a46f: Download complete [2022-06-17T10:00:43.734Z] 33b1e0a273af: Verifying Checksum [2022-06-17T10:00:43.734Z] 33b1e0a273af: Download complete [2022-06-17T10:00:43.734Z] 5d3b04190fa2: Download complete [2022-06-17T10:00:43.734Z] ec43610c2a17: Verifying Checksum [2022-06-17T10:00:43.734Z] ec43610c2a17: Download complete [2022-06-17T10:00:43.996Z] 5eb5b503b376: Verifying Checksum [2022-06-17T10:00:43.996Z] 5eb5b503b376: Download complete [2022-06-17T10:00:44.567Z] 2f39f015ded8: Download complete [2022-06-17T10:00:45.135Z] 5eb5b503b376: Pull complete [2022-06-17T10:00:45.394Z] 5c69ac0246d0: Pull complete [2022-06-17T10:00:45.654Z] ec43610c2a17: Pull complete [2022-06-17T10:00:45.654Z] 3a2ae6a8a46f: Pull complete [2022-06-17T10:00:45.914Z] 33b1e0a273af: Pull complete [2022-06-17T10:00:45.914Z] 5d3b04190fa2: Pull complete [2022-06-17T10:00:50.108Z] 2f39f015ded8: Pull complete [2022-06-17T10:00:50.108Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T10:00:50.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:00:50.108Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:00:50.399Z] prd-ubuntu20.04-docker-8c-8g-2550 does not seem to be running inside a container [2022-06-17T10:00:50.498Z] $ 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-354 -v /w/workspace/xfoundry_device-modbus-go_PR-354:/w/workspace/xfoundry_device-modbus-go_PR-354:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-354@tmp:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T10:00:52.092Z] $ docker top f04467ce810c55ee3f5f9c4a63438c5acc54e771b4a4a552efecefc0741c2215 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:00:52.561Z] ---> job-cost.sh [2022-06-17T10:00:52.561Z] lf-activate-venv: SKIPPING [2022-06-17T10:00:52.561Z] INFO: No Stack... [2022-06-17T10:00:53.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:00:53.699Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:00:54.020Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-354/archives/cost.csv [2022-06-17T10:00:54.020Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T10:00:54.059Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] [2022-06-17T10:00:54.064Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] did not exist. Created. [2022-06-17T10:00:54.064Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:00:54.455Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T10:00:54.506Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:00:54.530Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:00:54.613Z] $ docker stop --time=1 f04467ce810c55ee3f5f9c4a63438c5acc54e771b4a4a552efecefc0741c2215 [2022-06-17T10:00:55.770Z] $ docker rm -f f04467ce810c55ee3f5f9c4a63438c5acc54e771b4a4a552efecefc0741c2215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T10:01:04.060Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2551 in /w/workspace/xfoundry_device-modbus-go_PR-354 [Pipeline] { [Pipeline] ws [2022-06-17T10:01:04.098Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-06-17T10:01:04.175Z] Selected Git installation does not exist. Using Default [2022-06-17T10:01:04.175Z] The recommended git tool is: NONE [2022-06-17T10:01:09.437Z] using credential edgex-jenkins-ssh [2022-06-17T10:01:09.459Z] Cloning the remote Git repository [2022-06-17T10:01:09.544Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-17T10:01:09.669Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-06-17T10:01:09.879Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-17T10:01:09.879Z] > git --version # timeout=10 [2022-06-17T10:01:09.937Z] > git --version # 'git version 2.25.1' [2022-06-17T10:01:09.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:01:10.045Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:01:11.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-17T10:01:11.499Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:01:11.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-17T10:01:11.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-17T10:01:11.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:01:11.575Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T10:01:12.065Z] Merging remotes/origin/main commit 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 into PR head commit d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [2022-06-17T10:01:12.332Z] Merge succeeded, producing d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [2022-06-17T10:01:12.332Z] Checking out Revision d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 (PR-354) [2022-06-17T10:01:12.093Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:01:12.117Z] > git checkout -f d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 # timeout=10 [2022-06-17T10:01:12.206Z] > git remote # timeout=10 [2022-06-17T10:01:12.239Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T10:01:12.270Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:01:12.282Z] > git merge 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 # timeout=10 [2022-06-17T10:01:12.308Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T10:01:12.343Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:01:12.365Z] > git checkout -f d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 # timeout=10 [2022-06-17T10:01:17.002Z] Commit message: "build: Upgrade sdk and paho.mqtt lib" [2022-06-17T10:01:17.081Z] > git --version # timeout=10 [2022-06-17T10:01:17.099Z] > git --version # 'git version 2.25.1' [2022-06-17T10:01:17.119Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:01:18.404Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T10:01:18.404Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:01:18.404Z] Dload Upload Total Spent Left Speed [2022-06-17T10:01:18.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 60359 0 --:--:-- --:--:-- --:--:-- 60359 [Pipeline] sh [2022-06-17T10:01:19.238Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T10:01:19.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T10:01:19.612Z] + sudo tee /etc/docker/daemon.new [2022-06-17T10:01:19.612Z] { [2022-06-17T10:01:19.612Z] "registry-mirrors": [ [2022-06-17T10:01:19.612Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T10:01:19.612Z] ], [2022-06-17T10:01:19.612Z] "bip": "10.250.0.254/24", [2022-06-17T10:01:19.612Z] "hosts": [ [2022-06-17T10:01:19.612Z] "tcp://0.0.0.0:5555", [2022-06-17T10:01:19.612Z] "unix:///var/run/docker.sock" [2022-06-17T10:01:19.612Z] ], [2022-06-17T10:01:19.612Z] "mtu": 1458, [2022-06-17T10:01:19.612Z] "selinux-enabled": true, [2022-06-17T10:01:19.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T10:01:19.612Z] } [Pipeline] sh [2022-06-17T10:01:19.995Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T10:01:20.377Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:01:38.970Z] provisioning config files... [2022-06-17T10:01:38.994Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2448211400077896973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:01:39.393Z] ---> docker-login.sh [2022-06-17T10:01:39.393Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:01:39.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:01:40.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:01:40.262Z] Configure a credential helper to remove this warning. See [2022-06-17T10:01:40.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:01:40.262Z] [2022-06-17T10:01:40.262Z] Login Succeeded [2022-06-17T10:01:40.262Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:01:40.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:01:40.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:01:40.813Z] Configure a credential helper to remove this warning. See [2022-06-17T10:01:40.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:01:40.813Z] [2022-06-17T10:01:40.813Z] Login Succeeded [2022-06-17T10:01:40.813Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:01:41.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:01:41.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:01:41.089Z] Configure a credential helper to remove this warning. See [2022-06-17T10:01:41.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:01:41.089Z] [2022-06-17T10:01:41.089Z] Login Succeeded [2022-06-17T10:01:41.089Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:01:41.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:01:41.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:01:41.685Z] Configure a credential helper to remove this warning. See [2022-06-17T10:01:41.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:01:41.685Z] [2022-06-17T10:01:41.685Z] Login Succeeded [2022-06-17T10:01:41.685Z] docker.io [2022-06-17T10:01:41.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:01:42.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:01:42.551Z] Configure a credential helper to remove this warning. See [2022-06-17T10:01:42.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:01:42.551Z] [2022-06-17T10:01:42.551Z] Login Succeeded [2022-06-17T10:01:42.551Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:01:42.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:01:42.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:01:42.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:01:42.999Z] ========================================================= [2022-06-17T10:01:42.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T10:01:42.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:01:43.513Z] + 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-06-17T10:01:43.787Z] Sending build context to Docker daemon 3.15MB [2022-06-17T10:01:43.787Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:01:43.787Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-17T10:01:44.071Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T10:01:44.071Z] 9b3977197b4f: Pulling fs layer [2022-06-17T10:01:44.071Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T10:01:44.071Z] 94645a83ff95: Pulling fs layer [2022-06-17T10:01:44.071Z] e6fb740bc735: Pulling fs layer [2022-06-17T10:01:44.071Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T10:01:44.071Z] 355e64cbe906: Pulling fs layer [2022-06-17T10:01:44.071Z] 63ab81a10011: Pulling fs layer [2022-06-17T10:01:44.071Z] 555d1d1c4555: Pulling fs layer [2022-06-17T10:01:44.071Z] 7d9057610161: Pulling fs layer [2022-06-17T10:01:44.071Z] e6fb740bc735: Waiting [2022-06-17T10:01:44.071Z] 3a77bd46dcc9: Waiting [2022-06-17T10:01:44.071Z] 555d1d1c4555: Waiting [2022-06-17T10:01:44.071Z] 355e64cbe906: Waiting [2022-06-17T10:01:44.071Z] 63ab81a10011: Waiting [2022-06-17T10:01:44.071Z] 7d9057610161: Waiting [2022-06-17T10:01:44.071Z] 94645a83ff95: Download complete [2022-06-17T10:01:44.071Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T10:01:44.071Z] 1a89e8eeedd5: Download complete [2022-06-17T10:01:44.071Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T10:01:44.071Z] 3a77bd46dcc9: Download complete [2022-06-17T10:01:44.071Z] 355e64cbe906: Verifying Checksum [2022-06-17T10:01:44.071Z] 355e64cbe906: Download complete [2022-06-17T10:01:44.071Z] 9b3977197b4f: Verifying Checksum [2022-06-17T10:01:44.072Z] 9b3977197b4f: Download complete [2022-06-17T10:01:44.072Z] 63ab81a10011: Verifying Checksum [2022-06-17T10:01:44.072Z] 63ab81a10011: Download complete [2022-06-17T10:01:45.089Z] 9b3977197b4f: Pull complete [2022-06-17T10:01:45.089Z] 7d9057610161: Verifying Checksum [2022-06-17T10:01:45.089Z] 7d9057610161: Download complete [2022-06-17T10:01:45.692Z] 1a89e8eeedd5: Pull complete [2022-06-17T10:01:45.964Z] 94645a83ff95: Pull complete [2022-06-17T10:01:46.239Z] 555d1d1c4555: Download complete [2022-06-17T10:01:46.836Z] e6fb740bc735: Verifying Checksum [2022-06-17T10:01:46.836Z] e6fb740bc735: Download complete [2022-06-17T10:01:59.259Z] e6fb740bc735: Pull complete [2022-06-17T10:01:59.259Z] 3a77bd46dcc9: Pull complete [2022-06-17T10:01:59.259Z] 355e64cbe906: Pull complete [2022-06-17T10:01:59.534Z] 63ab81a10011: Pull complete [2022-06-17T10:02:06.272Z] 555d1d1c4555: Pull complete [2022-06-17T10:02:08.254Z] 7d9057610161: Pull complete [2022-06-17T10:02:08.254Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T10:02:08.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T10:02:08.254Z] ---> 819e984ddca1 [2022-06-17T10:02:08.254Z] Step 3/10 : ARG MAKE='make build' [2022-06-17T10:02:09.703Z] ---> Running in 990f23061f8a [2022-06-17T10:02:09.980Z] Removing intermediate container 990f23061f8a [2022-06-17T10:02:09.980Z] ---> b2c7bf125071 [2022-06-17T10:02:09.980Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:02:09.980Z] ---> Running in d9d0294c2ad1 [2022-06-17T10:02:11.964Z] Removing intermediate container d9d0294c2ad1 [2022-06-17T10:02:11.964Z] ---> 1c63918c39ab [2022-06-17T10:02:11.964Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T10:02:11.964Z] ---> Running in d83964ffdee4 [2022-06-17T10:02:12.560Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:02:13.541Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:02:14.523Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T10:02:14.523Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-17T10:02:14.523Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T10:02:14.795Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T10:02:14.795Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-17T10:02:14.795Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-17T10:02:15.071Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-17T10:02:15.071Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-17T10:02:15.071Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T10:02:15.071Z] OK: 226 MiB in 60 packages [2022-06-17T10:02:16.055Z] Removing intermediate container d83964ffdee4 [2022-06-17T10:02:16.055Z] ---> dbd94cea7a2c [2022-06-17T10:02:16.055Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-17T10:02:16.332Z] ---> Running in 50fa88d84bd1 [2022-06-17T10:02:16.607Z] Removing intermediate container 50fa88d84bd1 [2022-06-17T10:02:16.607Z] ---> b8a0cf48f06c [2022-06-17T10:02:16.607Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-17T10:02:17.212Z] ---> 93645920015b [2022-06-17T10:02:17.212Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:02:17.212Z] ---> Running in b59aac10d8b4 [2022-06-17T10:03:04.208Z] Removing intermediate container b59aac10d8b4 [2022-06-17T10:03:04.208Z] ---> 92020fb92499 [2022-06-17T10:03:04.208Z] Step 9/10 : COPY . . [2022-06-17T10:03:04.208Z] ---> eb7039cc5cd0 [2022-06-17T10:03:04.208Z] Step 10/10 : RUN ${MAKE} [2022-06-17T10:03:04.208Z] ---> Running in 56f1e7228efa [2022-06-17T10:03:04.208Z] noop [2022-06-17T10:03:04.208Z] Removing intermediate container 56f1e7228efa [2022-06-17T10:03:04.208Z] ---> e3bc1ca44f52 [2022-06-17T10:03:04.208Z] Successfully built e3bc1ca44f52 [2022-06-17T10:03:04.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:03:04.690Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:03:04.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:03:05.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-2551 does not seem to be running inside a container [2022-06-17T10:03:05.099Z] $ 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-06-17T10:03:06.368Z] $ docker top f56ab6f7bcef5e8f2f8c3880a25cc516f339133e47305bb844517c663b01e5b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:03:07.289Z] + go version [2022-06-17T10:03:07.289Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T10:03:07.330Z] $ docker stop --time=1 f56ab6f7bcef5e8f2f8c3880a25cc516f339133e47305bb844517c663b01e5b6 [2022-06-17T10:03:08.974Z] $ docker rm -f f56ab6f7bcef5e8f2f8c3880a25cc516f339133e47305bb844517c663b01e5b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:03:09.864Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:03:09.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:03:10.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-2551 does not seem to be running inside a container [2022-06-17T10:03:10.266Z] $ 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-06-17T10:03:11.524Z] $ docker top 808ab625927db9e1c8bbd43d6605a3ae48e059466f2cf6b22471841a221660dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:03:12.529Z] + make test [2022-06-17T10:03:12.529Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T10:03:13.972Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-17T10:04:35.828Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-17T10:04:35.828Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 46.4% of statements [2022-06-17T10:04:35.828Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T10:04:35.828Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:04:58.049Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:04:58.049Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:04:58.049Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:04:58.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:04:58.133Z] $ docker stop --time=1 808ab625927db9e1c8bbd43d6605a3ae48e059466f2cf6b22471841a221660dc [2022-06-17T10:04:59.916Z] $ docker rm -f 808ab625927db9e1c8bbd43d6605a3ae48e059466f2cf6b22471841a221660dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:05:00.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:05:00.983Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T10:05:01.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:05:02.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:05:02.383Z] + ls -al . [2022-06-17T10:05:02.383Z] total 180 [2022-06-17T10:05:02.383Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 10:04 . [2022-06-17T10:05:02.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:01 .. [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 10:01 .dockerignore [2022-06-17T10:05:02.383Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:01 .git [2022-06-17T10:05:02.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:01 .github [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 17 10:01 .gitignore [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 10:01 .golangci.yml [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 17 10:01 Attribution.txt [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 17 10:01 CHANGELOG.md [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 17 10:01 Dockerfile [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:01 GOVERNANCE.md [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 10:01 Jenkinsfile [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 10:01 LICENSE [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 17 10:01 Makefile [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 17 10:01 OWNERS.md [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 17 10:01 README.md [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 09:59 VERSION [2022-06-17T10:05:02.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:01 bin [2022-06-17T10:05:02.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:01 cmd [2022-06-17T10:05:02.383Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 17 10:04 coverage.out [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 3403 Jun 17 10:01 go.mod [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 36017 Jun 17 10:01 go.sum [2022-06-17T10:05:02.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:01 internal [2022-06-17T10:05:02.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:01 simulator [2022-06-17T10:05:02.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:01 snap [2022-06-17T10:05:02.383Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 17 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:05:02.808Z] + 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=d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 --label arch=arm64 --label version=0.0.0 . [2022-06-17T10:05:03.082Z] Sending build context to Docker daemon 3.175MB [2022-06-17T10:05:03.082Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:05:03.082Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-17T10:05:03.082Z] ---> e3bc1ca44f52 [2022-06-17T10:05:03.082Z] Step 3/23 : ARG MAKE='make build' [2022-06-17T10:05:03.355Z] ---> Running in 28017ced2101 [2022-06-17T10:05:03.630Z] Removing intermediate container 28017ced2101 [2022-06-17T10:05:03.630Z] ---> ba5f9d628e0e [2022-06-17T10:05:03.630Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:05:03.630Z] ---> Running in c5296d0ef058 [2022-06-17T10:05:05.618Z] Removing intermediate container c5296d0ef058 [2022-06-17T10:05:05.618Z] ---> bc21715e912b [2022-06-17T10:05:05.618Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T10:05:05.618Z] ---> Running in 9f0232490914 [2022-06-17T10:05:06.212Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:05:07.187Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:05:08.170Z] OK: 226 MiB in 60 packages [2022-06-17T10:05:08.772Z] Removing intermediate container 9f0232490914 [2022-06-17T10:05:08.772Z] ---> 7bcedbdd65ae [2022-06-17T10:05:08.772Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-17T10:05:09.044Z] ---> Running in fc012d7062c3 [2022-06-17T10:05:09.317Z] Removing intermediate container fc012d7062c3 [2022-06-17T10:05:09.317Z] ---> 344d3002dda2 [2022-06-17T10:05:09.317Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-17T10:05:09.913Z] ---> b7d31a486510 [2022-06-17T10:05:09.913Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:05:09.913Z] ---> Running in c83c4f4bfe39 [2022-06-17T10:05:11.884Z] Removing intermediate container c83c4f4bfe39 [2022-06-17T10:05:11.884Z] ---> 391e02da76c8 [2022-06-17T10:05:11.884Z] Step 9/23 : COPY . . [2022-06-17T10:05:12.478Z] ---> b3f5e1bf1a6d [2022-06-17T10:05:12.478Z] Step 10/23 : RUN ${MAKE} [2022-06-17T10:05:12.755Z] ---> Running in 73f1f25ce748 [2022-06-17T10:05:13.735Z] 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-06-17T10:07:20.630Z] Removing intermediate container 73f1f25ce748 [2022-06-17T10:07:20.630Z] ---> 2387767b4535 [2022-06-17T10:07:20.630Z] Step 11/23 : FROM alpine:3.14 [2022-06-17T10:07:20.630Z] 3.14: Pulling from library/alpine [2022-06-17T10:07:20.630Z] 455c02918c45: Pulling fs layer [2022-06-17T10:07:20.630Z] 455c02918c45: Verifying Checksum [2022-06-17T10:07:20.630Z] 455c02918c45: Download complete [2022-06-17T10:07:20.630Z] 455c02918c45: Pull complete [2022-06-17T10:07:20.630Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T10:07:20.630Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T10:07:20.630Z] ---> ac73e934f311 [2022-06-17T10:07:20.630Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-17T10:07:20.630Z] ---> Running in 01644db7377c [2022-06-17T10:07:20.630Z] Removing intermediate container 01644db7377c [2022-06-17T10:07:20.630Z] ---> ce589069ec0d [2022-06-17T10:07:20.630Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:07:20.630Z] ---> Running in bd4742060d6b [2022-06-17T10:07:20.630Z] Removing intermediate container bd4742060d6b [2022-06-17T10:07:20.630Z] ---> bd8e9fb07914 [2022-06-17T10:07:20.630Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:07:20.630Z] ---> Running in 768b726c7f0b [2022-06-17T10:07:20.630Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:07:20.630Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:07:20.630Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:07:20.630Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T10:07:20.630Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:07:20.630Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T10:07:20.630Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:07:20.630Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:07:20.630Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T10:07:20.630Z] OK: 8 MiB in 20 packages [2022-06-17T10:07:20.630Z] Removing intermediate container 768b726c7f0b [2022-06-17T10:07:20.630Z] ---> 3042c45a6faf [2022-06-17T10:07:20.630Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-17T10:07:20.630Z] ---> bc76e9fcc13e [2022-06-17T10:07:20.630Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-17T10:07:20.630Z] ---> f505e56a77b0 [2022-06-17T10:07:20.630Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-17T10:07:20.630Z] ---> afc7ca4d9a5c [2022-06-17T10:07:20.630Z] Step 18/23 : EXPOSE 59901 [2022-06-17T10:07:20.630Z] ---> Running in 9b5d064767e8 [2022-06-17T10:07:20.630Z] Removing intermediate container 9b5d064767e8 [2022-06-17T10:07:20.630Z] ---> a9706cfd7971 [2022-06-17T10:07:20.630Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-17T10:07:20.630Z] ---> Running in 182edbecf824 [2022-06-17T10:07:20.630Z] Removing intermediate container 182edbecf824 [2022-06-17T10:07:20.630Z] ---> 32fe70727d16 [2022-06-17T10:07:20.630Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:07:20.630Z] ---> Running in 133cc2adec04 [2022-06-17T10:07:20.630Z] Removing intermediate container 133cc2adec04 [2022-06-17T10:07:20.630Z] ---> 82b72704bfd3 [2022-06-17T10:07:20.630Z] Step 21/23 : LABEL arch=arm64 [2022-06-17T10:07:20.630Z] ---> Running in 1305e414c6ee [2022-06-17T10:07:20.630Z] Removing intermediate container 1305e414c6ee [2022-06-17T10:07:20.630Z] ---> beeeaf119e9b [2022-06-17T10:07:20.630Z] Step 22/23 : LABEL git_sha=d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [2022-06-17T10:07:20.630Z] ---> Running in 14b52b6dfc3f [2022-06-17T10:07:20.630Z] Removing intermediate container 14b52b6dfc3f [2022-06-17T10:07:20.630Z] ---> da688cf02dd8 [2022-06-17T10:07:20.630Z] Step 23/23 : LABEL version=0.0.0 [2022-06-17T10:07:20.630Z] ---> Running in ff76ad924b4e [2022-06-17T10:07:20.902Z] Removing intermediate container ff76ad924b4e [2022-06-17T10:07:20.902Z] ---> 9145447f4f00 [2022-06-17T10:07:20.902Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:07:20.902Z] Successfully built 9145447f4f00 [2022-06-17T10:07:20.903Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:07:21.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:07:21.720Z] [2022-06-17T10:07:21.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:07:22.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:07:22.413Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T10:07:22.413Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T10:07:22.413Z] 04944245beec: Pulling fs layer [2022-06-17T10:07:22.413Z] 699f458cf7ca: Pulling fs layer [2022-06-17T10:07:22.413Z] 765212b225bb: Pulling fs layer [2022-06-17T10:07:22.413Z] f23df028b6ca: Pulling fs layer [2022-06-17T10:07:22.413Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T10:07:22.413Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T10:07:22.413Z] 765212b225bb: Waiting [2022-06-17T10:07:22.413Z] f23df028b6ca: Waiting [2022-06-17T10:07:22.413Z] d65c8cfc05b1: Waiting [2022-06-17T10:07:22.413Z] 2437ff75d9bd: Waiting [2022-06-17T10:07:22.413Z] 04944245beec: Verifying Checksum [2022-06-17T10:07:22.413Z] 04944245beec: Download complete [2022-06-17T10:07:22.413Z] 765212b225bb: Verifying Checksum [2022-06-17T10:07:22.413Z] 765212b225bb: Download complete [2022-06-17T10:07:22.413Z] f23df028b6ca: Download complete [2022-06-17T10:07:22.413Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T10:07:22.413Z] d65c8cfc05b1: Download complete [2022-06-17T10:07:22.690Z] 699f458cf7ca: Verifying Checksum [2022-06-17T10:07:22.690Z] 699f458cf7ca: Download complete [2022-06-17T10:07:22.965Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T10:07:22.965Z] 8998bd30e6a1: Download complete [2022-06-17T10:07:25.597Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T10:07:25.597Z] 2437ff75d9bd: Download complete [2022-06-17T10:07:27.586Z] 8998bd30e6a1: Pull complete [2022-06-17T10:07:27.863Z] 04944245beec: Pull complete [2022-06-17T10:07:29.308Z] 699f458cf7ca: Pull complete [2022-06-17T10:07:29.583Z] 765212b225bb: Pull complete [2022-06-17T10:07:30.186Z] f23df028b6ca: Pull complete [2022-06-17T10:07:30.460Z] d65c8cfc05b1: Pull complete [2022-06-17T10:07:45.567Z] 2437ff75d9bd: Pull complete [2022-06-17T10:07:45.567Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T10:07:45.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:07:45.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:07:45.936Z] prd-ubuntu20.04-docker-arm64-4c-16g-2551 does not seem to be running inside a container [2022-06-17T10:07:46.031Z] $ 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-06-17T10:07:48.501Z] $ docker top 7f914e975ee619dd94bcd9c59e6d9246412aee5e11932d989d012a8d979718e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:07:49.466Z] ---> job-cost.sh [2022-06-17T10:07:49.466Z] lf-activate-venv: SKIPPING [2022-06-17T10:07:49.466Z] INFO: No Stack... [2022-06-17T10:07:49.742Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T10:07:50.721Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:07:51.400Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-06-17T10:07:51.400Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T10:07:51.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] [2022-06-17T10:07:51.490Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] did not exist. Created. [2022-06-17T10:07:51.490Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:07:52.245Z] /w/workspace/device-modbus-go/1@tmp/durable-3f7d3787/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T10:07:52.949Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T10:07:52.987Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T10:07:53.036Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:07:53.051Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:07:53.125Z] $ docker stop --time=1 7f914e975ee619dd94bcd9c59e6d9246412aee5e11932d989d012a8d979718e0 [2022-06-17T10:07:54.627Z] $ docker rm -f 7f914e975ee619dd94bcd9c59e6d9246412aee5e11932d989d012a8d979718e0 [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-06-17T10:07:55.619Z] provisioning config files... [2022-06-17T10:07:55.626Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp/config6280939756050153557tmp [Pipeline] { [Pipeline] sh [2022-06-17T10:07:55.953Z] + set +x [2022-06-17T10:07:55.953Z] + + curl -s https://codecov.io/bash [2022-06-17T10:07:55.953Z] bash -s -- [2022-06-17T10:07:55.953Z] [2022-06-17T10:07:55.953Z] _____ _ [2022-06-17T10:07:55.953Z] / ____| | | [2022-06-17T10:07:55.953Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T10:07:55.953Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T10:07:55.953Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T10:07:55.953Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T10:07:55.953Z] Bash-1.0.6 [2022-06-17T10:07:55.953Z] [2022-06-17T10:07:55.953Z] [2022-06-17T10:07:55.953Z] ==> git version 2.25.1 found [2022-06-17T10:07:55.953Z] ==> 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-06-17T10:07:55.953Z] Release-Date: 2020-01-08 [2022-06-17T10:07:55.953Z] 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-06-17T10:07:55.953Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T10:07:55.953Z] ==> Jenkins CI detected. [2022-06-17T10:07:55.953Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-354 [2022-06-17T10:07:55.953Z] project root: . [2022-06-17T10:07:55.953Z] --> token set from env [2022-06-17T10:07:55.953Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T10:07:55.953Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T10:07:55.953Z] ==> Python coveragepy not found [2022-06-17T10:07:55.953Z] ==> Searching for coverage reports in: [2022-06-17T10:07:55.953Z] + . [2022-06-17T10:07:55.953Z] -> Found 1 reports [2022-06-17T10:07:55.953Z] ==> Detecting git/mercurial file structure [2022-06-17T10:07:55.953Z] ==> Reading reports [2022-06-17T10:07:55.953Z] + ./coverage.out bytes=24065 [2022-06-17T10:07:55.953Z] ==> Appending adjustments [2022-06-17T10:07:55.953Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T10:07:56.212Z] + Found adjustments [2022-06-17T10:07:56.212Z] ==> Gzipping contents [2022-06-17T10:07:56.212Z] 4.0K /tmp/codecov.XB37Aa.gz [2022-06-17T10:07:56.212Z] ==> Uploading reports [2022-06-17T10:07:56.212Z] url: https://codecov.io [2022-06-17T10:07:56.212Z] query: branch=PR-354&commit=d5cc59ccc1123cafdcef011ea7bb1e0436b93c20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2022-06-17T10:07:56.212Z] -> Pinging Codecov [2022-06-17T10:07:56.212Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-354&commit=d5cc59ccc1123cafdcef011ea7bb1e0436b93c20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2022-06-17T10:07:56.472Z] -> Uploading to [2022-06-17T10:07:56.472Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/55DBCA73C666E3227836607328DD7E49/d5cc59ccc1123cafdcef011ea7bb1e0436b93c20/9b9bee39-e5a6-4594-ae35-ef2e28cdb541.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T100756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c38b618a3e6f4efa09a07b88dc08ea7b05e7521908decd4211ba2dc6818f31c1 [2022-06-17T10:07:56.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:07:56.472Z] Dload Upload Total Spent Left Speed [2022-06-17T10:07:56.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 18263 --:--:-- --:--:-- --:--:-- 18180 100 4018 0 0 100 4018 0 17622 --:--:-- --:--:-- --:--:-- 17545 [2022-06-17T10:07:56.731Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d5cc59ccc1123cafdcef011ea7bb1e0436b93c20 [Pipeline] } [2022-06-17T10:07:56.758Z] 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-06-17T10:07:58.413Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-354/archives ] [2022-06-17T10:07:58.413Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-354/archives [2022-06-17T10:07:58.413Z] total 16 [2022-06-17T10:07:58.413Z] drwxr-xr-x 3 root root 4096 Jun 17 10:00 . [2022-06-17T10:07:58.413Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 10:00 .. [2022-06-17T10:07:58.413Z] drwxr-xr-x 2 root root 4096 Jun 17 10:00 cost [2022-06-17T10:07:58.414Z] -rw-r--r-- 1 root root 87 Jun 17 10:00 cost.csv [2022-06-17T10:07:58.414Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-354/archives [2022-06-17T10:07:58.414Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-354/archives [2022-06-17T10:07:58.414Z] total 16 [2022-06-17T10:07:58.414Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:00 . [2022-06-17T10:07:58.414Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 10:00 .. [2022-06-17T10:07:58.414Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 10:00 cost [2022-06-17T10:07:58.414Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 17 10:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:07:58.739Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:07:59.625Z] ---> package-listing.sh [2022-06-17T10:07:59.625Z] ++ facter osfamily [2022-06-17T10:07:59.625Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T10:07:59.885Z] + OS_FAMILY=debian [2022-06-17T10:07:59.885Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-354 [2022-06-17T10:07:59.885Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T10:07:59.885Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T10:07:59.885Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T10:07:59.885Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T10:07:59.885Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-354 ']' [2022-06-17T10:07:59.885Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T10:07:59.885Z] + case "${OS_FAMILY}" in [2022-06-17T10:07:59.885Z] + dpkg -l [2022-06-17T10:07:59.885Z] + grep '^ii' [2022-06-17T10:07:59.885Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T10:07:59.885Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T10:07:59.885Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T10:07:59.885Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-354 ']' [2022-06-17T10:07:59.885Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-354/archives/ [2022-06-17T10:07:59.885Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-354/archives/ [Pipeline] echo [2022-06-17T10:07:59.922Z] 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T10:08:00.216Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:08:00.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:08:00.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:08:00.990Z] prd-ubuntu20.04-docker-8c-8g-2550 does not seem to be running inside a container [2022-06-17T10:08:01.039Z] $ 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-354/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-354 -v /w/workspace/xfoundry_device-modbus-go_PR-354:/w/workspace/xfoundry_device-modbus-go_PR-354:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-354@tmp:/w/workspace/xfoundry_device-modbus-go_PR-354@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:latest cat [2022-06-17T10:08:01.229Z] $ docker top b92dab8c8c46365b1a59024c10889dccdc1790ec898f2e1e6fc6dea5b2e9f7ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:08:01.608Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T10:08:01.925Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T10:08:02.234Z] + ls /var/log/sa-host [2022-06-17T10:08:02.234Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:08:02.359Z] provisioning config files... [2022-06-17T10:08:02.368Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-354@tmp/config7450712453701426109tmp [Pipeline] { [Pipeline] echo [2022-06-17T10:08:02.415Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:08:02.726Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T10:08:02.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:08:03.168Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T10:08:03.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:08:03.509Z] ---> sudo-logs.sh [2022-06-17T10:08:03.509Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T10:08:03.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:08:03.913Z] ---> job-cost.sh [2022-06-17T10:08:03.914Z] lf-activate-venv: SKIPPING [2022-06-17T10:08:03.914Z] DEBUG: total: 0.2199999988079071 [2022-06-17T10:08:03.914Z] INFO: Retrieving Stack Cost... [2022-06-17T10:08:04.483Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:08:04.743Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T10:08:04.777Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:08:05.087Z] ---> logs-deploy.sh [2022-06-17T10:08:05.088Z] lf-activate-venv: SKIPPING [2022-06-17T10:08:05.088Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-354/1 [2022-06-17T10:08:05.088Z] INFO: archiving workspace using pattern(s): [2022-06-17T10:08:06.028Z] Archives upload complete. [2022-06-17T10:08:06.028Z] INFO: archiving logs to Nexus