Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from efeab170feeb6b35ea963f8f3410c798feaccbbe+4c89d6a6c91720700353e870f5243ca140b0cc6d (a76f3132a59ac4bbcf761ff3f09193a0390f6e93) 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-ssh16700907070872494271.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-ssh11042399996713379379.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-357/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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15689442053293681242.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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10097469270187884044.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-ssh15687564878557406046.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-357/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-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4714921537363885842.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16059 in /w/workspace/xfoundry_device-modbus-go_PR-357 [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-357 # 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 4c89d6a6c91720700353e870f5243ca140b0cc6d into PR head commit efeab170feeb6b35ea963f8f3410c798feaccbbe Merge succeeded, producing efeab170feeb6b35ea963f8f3410c798feaccbbe Checking out Revision efeab170feeb6b35ea963f8f3410c798feaccbbe (PR-357) > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efeab170feeb6b35ea963f8f3410c798feaccbbe # 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 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efeab170feeb6b35ea963f8f3410c798feaccbbe # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" 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-27T05:04:10.103Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T05:04:10.261Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T05:04:10.356Z] ========================================================= [2022-06-27T05:04:10.356Z] EdgeX Global Pipelines Version Info [2022-06-27T05:04:10.356Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:04:11.142Z] ------------------- [2022-06-27T05:04:11.142Z] stable info: [2022-06-27T05:04:11.142Z] ------------------- [2022-06-27T05:04:11.142Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T05:04:11.142Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:04:11.142Z] Message: update stable to v1.0.234 [2022-06-27T05:04:11.715Z] ------------------- [2022-06-27T05:04:11.715Z] experimental info: [2022-06-27T05:04:11.715Z] ------------------- [2022-06-27T05:04:11.715Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T05:04:11.715Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T05:04:11.715Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T05:04:12.108Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-06-27T05:04:12.145Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-06-27T05:04:12.183Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T05:04:12.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T05:04:12.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T05:04:12.294Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T05:04:12.336Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T05:04:12.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T05:04:12.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T05:04:12.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T05:04:12.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T05:04:12.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-06-27T05:04:12.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T05:04:12.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T05:04:12.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:04:12.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T05:04:12.709Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:04:12.745Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T05:04:12.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T05:04:12.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T05:04:12.868Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T05:04:12.908Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T05:04:12.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T05:04:12.992Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T05:04:13.030Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T05:04:13.068Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T05:04:13.104Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T05:04:13.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2022-06-27T05:04:13.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2022-06-27T05:04:13.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2022-06-27T05:04:13.251Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efeab170feeb6b35ea963f8f3410c798feaccbbe [Pipeline] echo [2022-06-27T05:04:13.291Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efeab17 [Pipeline] echo [2022-06-27T05:04:13.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:04:13.434Z] provisioning config files... [2022-06-27T05:04:13.453Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp/config6540321224954372028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:04:13.798Z] ---> docker-login.sh [2022-06-27T05:04:13.798Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:04:14.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:14.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:14.060Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:14.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:14.060Z] [2022-06-27T05:04:14.060Z] Login Succeeded [2022-06-27T05:04:14.060Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:04:14.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:14.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:14.321Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:14.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:14.321Z] [2022-06-27T05:04:14.321Z] Login Succeeded [2022-06-27T05:04:14.321Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:04:14.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:14.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:14.321Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:14.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:14.321Z] [2022-06-27T05:04:14.321Z] Login Succeeded [2022-06-27T05:04:14.321Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:04:14.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:14.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:14.583Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:14.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:14.583Z] [2022-06-27T05:04:14.583Z] Login Succeeded [2022-06-27T05:04:14.583Z] docker.io [2022-06-27T05:04:14.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:14.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:14.845Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:14.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:14.845Z] [2022-06-27T05:04:14.845Z] Login Succeeded [2022-06-27T05:04:14.845Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:04:14.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T05:04:15.455Z] + git rev-list -1 --merges efeab170feeb6b35ea963f8f3410c798feaccbbe~1..efeab170feeb6b35ea963f8f3410c798feaccbbe [Pipeline] echo [2022-06-27T05:04:15.501Z] -----------> git rev-list -1 --merges efeab170feeb6b35ea963f8f3410c798feaccbbe~1..efeab170feeb6b35ea963f8f3410c798feaccbbe efeab170feeb6b35ea963f8f3410c798feaccbbe [false] [Pipeline] sh [2022-06-27T05:04:15.814Z] + git log --format=format:%s -1 efeab170feeb6b35ea963f8f3410c798feaccbbe [Pipeline] echo [2022-06-27T05:04:15.847Z] ========================================================= [2022-06-27T05:04:15.847Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T05:04:15.847Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:04:16.272Z] + git log --format=format:%s -1 efeab170feeb6b35ea963f8f3410c798feaccbbe [Pipeline] echo [2022-06-27T05:04:16.304Z] [semverPrep] GIT_COMMIT: efeab170feeb6b35ea963f8f3410c798feaccbbe, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 [Pipeline] echo [2022-06-27T05:04:16.330Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T05:04:16.693Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T05:04:16.693Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T05:04:16.693Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T05:04:16.693Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T05:04:16.693Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T05:04:16.693Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T05:04:16.693Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:04:17.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:04:17.108Z] [2022-06-27T05:04:17.108Z] 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-27T05:04:17.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:04:17.498Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T05:04:17.498Z] 42c077c10790: Pulling fs layer [2022-06-27T05:04:17.498Z] f63e77b7563a: Pulling fs layer [2022-06-27T05:04:17.498Z] bd5fdadae976: Pulling fs layer [2022-06-27T05:04:17.498Z] 205491f53016: Pulling fs layer [2022-06-27T05:04:17.498Z] df18705c85c3: Pulling fs layer [2022-06-27T05:04:17.498Z] bdb3f477010e: Pulling fs layer [2022-06-27T05:04:17.498Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T05:04:17.498Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T05:04:17.498Z] bdb8f0575790: Pulling fs layer [2022-06-27T05:04:17.498Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T05:04:17.498Z] 2343380bae48: Pulling fs layer [2022-06-27T05:04:17.498Z] df18705c85c3: Waiting [2022-06-27T05:04:17.498Z] c8a8fc8e1c8f: Waiting [2022-06-27T05:04:17.498Z] bdb3f477010e: Waiting [2022-06-27T05:04:17.498Z] 386e3cb2ff24: Waiting [2022-06-27T05:04:17.498Z] 2343380bae48: Waiting [2022-06-27T05:04:17.498Z] 2c6e9b1d212d: Waiting [2022-06-27T05:04:17.498Z] bdb8f0575790: Waiting [2022-06-27T05:04:17.498Z] 205491f53016: Waiting [2022-06-27T05:04:17.498Z] f63e77b7563a: Download complete [2022-06-27T05:04:17.498Z] 205491f53016: Verifying Checksum [2022-06-27T05:04:17.498Z] 205491f53016: Download complete [2022-06-27T05:04:17.498Z] df18705c85c3: Verifying Checksum [2022-06-27T05:04:17.498Z] bd5fdadae976: Verifying Checksum [2022-06-27T05:04:17.498Z] df18705c85c3: Download complete [2022-06-27T05:04:17.498Z] bd5fdadae976: Download complete [2022-06-27T05:04:17.758Z] bdb3f477010e: Verifying Checksum [2022-06-27T05:04:17.758Z] bdb3f477010e: Download complete [2022-06-27T05:04:17.758Z] 2c6e9b1d212d: Download complete [2022-06-27T05:04:17.758Z] bdb8f0575790: Download complete [2022-06-27T05:04:17.758Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T05:04:17.758Z] 386e3cb2ff24: Download complete [2022-06-27T05:04:17.759Z] 2343380bae48: Verifying Checksum [2022-06-27T05:04:17.759Z] 2343380bae48: Download complete [2022-06-27T05:04:17.759Z] 42c077c10790: Download complete [2022-06-27T05:04:18.021Z] c8a8fc8e1c8f: Download complete [2022-06-27T05:04:19.404Z] 42c077c10790: Pull complete [2022-06-27T05:04:19.404Z] f63e77b7563a: Pull complete [2022-06-27T05:04:19.666Z] bd5fdadae976: Pull complete [2022-06-27T05:04:19.928Z] 205491f53016: Pull complete [2022-06-27T05:04:20.188Z] df18705c85c3: Pull complete [2022-06-27T05:04:20.188Z] bdb3f477010e: Pull complete [2022-06-27T05:04:22.108Z] c8a8fc8e1c8f: Pull complete [2022-06-27T05:04:22.370Z] 2c6e9b1d212d: Pull complete [2022-06-27T05:04:22.370Z] bdb8f0575790: Pull complete [2022-06-27T05:04:22.637Z] 386e3cb2ff24: Pull complete [2022-06-27T05:04:22.637Z] 2343380bae48: Pull complete [2022-06-27T05:04:22.637Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T05:04:22.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T05:04:22.637Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:04:22.865Z] prd-ubuntu20.04-docker-8c-8g-16059 does not seem to be running inside a container [2022-06-27T05:04:22.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-357 -v /w/workspace/xfoundry_device-modbus-go_PR-357:/w/workspace/xfoundry_device-modbus-go_PR-357:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-357@tmp:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T05:04:24.206Z] $ docker top 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 -eo pid,comm [2022-06-27T05:04:24.275Z] 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-27T05:04:24.275Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T05:04:24.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:04:24.395Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:04:24.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:04:24.537Z] $ docker exec 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 ssh-agent [2022-06-27T05:04:24.669Z] SSH_AUTH_SOCK=/tmp/ssh-3PQQl9UQV2DT/agent.33 [2022-06-27T05:04:24.669Z] SSH_AGENT_PID=39 [2022-06-27T05:04:24.676Z] Running ssh-add (command line suppressed) [2022-06-27T05:04:24.800Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-357@tmp/private_key_1186851063160627728.key (/w/workspace/xfoundry_device-modbus-go_PR-357@tmp/private_key_1186851063160627728.key) [2022-06-27T05:04:24.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:04:25.145Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T05:04:25.180Z] $ docker exec --env ******** --env ******** 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 ssh-agent -k [2022-06-27T05:04:25.299Z] unset SSH_AUTH_SOCK; [2022-06-27T05:04:25.300Z] unset SSH_AGENT_PID; [2022-06-27T05:04:25.300Z] echo Agent pid 39 killed; [2022-06-27T05:04:25.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T05:04:25.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T05:04:25.390Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T05:04:25.523Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T05:04:25.532Z] $ docker exec 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 ssh-agent [2022-06-27T05:04:25.645Z] SSH_AUTH_SOCK=/tmp/ssh-RE5tZCiIG4Gb/agent.74 [2022-06-27T05:04:25.645Z] SSH_AGENT_PID=80 [2022-06-27T05:04:25.651Z] Running ssh-add (command line suppressed) [2022-06-27T05:04:25.787Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-357@tmp/private_key_7787597109249153394.key (/w/workspace/xfoundry_device-modbus-go_PR-357@tmp/private_key_7787597109249153394.key) [2022-06-27T05:04:25.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T05:04:26.126Z] + git semver init [2022-06-27T05:04:26.387Z] 2022-06-27 05:04:26,324 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T05:04:26.387Z] 2022-06-27 05:04:26,325 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-357/.semver [2022-06-27T05:04:26.387Z] 2022-06-27 05:04:26,325 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-357/.semver [2022-06-27T05:04:26.387Z] 2022-06-27 05:04:26,326 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-357/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-357, universal_newlines=False, shell=None, istream=None) [2022-06-27T05:04:26.960Z] 2022-06-27 05:04:26,952 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-357/.git/info/exclude [2022-06-27T05:04:26.960Z] 2022-06-27 05:04:26,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-357/.semver/PR-357 with force:False [2022-06-27T05:04:26.960Z] 2022-06-27 05:04:26,953 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-357/.semver/PR-357 [2022-06-27T05:04:26.960Z] 2022-06-27 05:04:26,957 [execute] INFO git cat-file --batch-check [2022-06-27T05:04:26.960Z] 2022-06-27 05:04:26,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:04:27.221Z] 2022-06-27 05:04:26,967 [execute] INFO git cat-file --batch [2022-06-27T05:04:27.221Z] 2022-06-27 05:04:26,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T05:04:27.221Z] 2022-06-27 05:04:26,974 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-357/.semver/PR-357 [2022-06-27T05:04:27.221Z] 0.0.0 [Pipeline] } [2022-06-27T05:04:27.252Z] $ docker exec --env ******** --env ******** 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 ssh-agent -k [2022-06-27T05:04:27.365Z] unset SSH_AUTH_SOCK; [2022-06-27T05:04:27.370Z] unset SSH_AGENT_PID; [2022-06-27T05:04:27.370Z] echo Agent pid 80 killed; [2022-06-27T05:04:27.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T05:04:27.807Z] + git semver [Pipeline] } [2022-06-27T05:04:28.104Z] $ docker stop --time=1 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 [2022-06-27T05:04:29.413Z] $ docker rm -f 06ba6c6b3bf311b9b88e13f6309e7fd0786663af42fd6a2a4cda839666f5c0c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:04:29.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T05:04:30.127Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T05:04:30.146Z] [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-27T05:04:30.721Z] provisioning config files... [2022-06-27T05:04:30.732Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp/config8369005657418485649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:04:31.079Z] ---> docker-login.sh [2022-06-27T05:04:31.079Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:04:31.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:31.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:31.079Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:31.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:31.079Z] [2022-06-27T05:04:31.079Z] Login Succeeded [2022-06-27T05:04:31.079Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:04:31.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:31.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:31.342Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:31.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:31.342Z] [2022-06-27T05:04:31.342Z] Login Succeeded [2022-06-27T05:04:31.342Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:04:31.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:31.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:31.342Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:31.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:31.342Z] [2022-06-27T05:04:31.342Z] Login Succeeded [2022-06-27T05:04:31.342Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:04:31.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:31.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:31.603Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:31.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:31.603Z] [2022-06-27T05:04:31.603Z] Login Succeeded [2022-06-27T05:04:31.603Z] docker.io [2022-06-27T05:04:31.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:04:31.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:04:31.864Z] Configure a credential helper to remove this warning. See [2022-06-27T05:04:31.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:04:31.864Z] [2022-06-27T05:04:31.864Z] Login Succeeded [2022-06-27T05:04:31.864Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:04:31.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:04:32.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:04:32.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:04:32.154Z] ========================================================= [2022-06-27T05:04:32.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T05:04:32.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:04:32.634Z] + 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-27T05:04:32.634Z] Sending build context to Docker daemon 6.053MB [2022-06-27T05:04:32.634Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:04:32.634Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-27T05:04:32.634Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T05:04:32.634Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T05:04:32.635Z] 666ba61612fd: Pulling fs layer [2022-06-27T05:04:32.635Z] 8ed8ca486205: Pulling fs layer [2022-06-27T05:04:32.635Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T05:04:32.635Z] c516ae0d96e1: Pulling fs layer [2022-06-27T05:04:32.635Z] 684cea983483: Pulling fs layer [2022-06-27T05:04:32.635Z] dd3240ac7de5: Pulling fs layer [2022-06-27T05:04:32.635Z] b1e948a4e11c: Pulling fs layer [2022-06-27T05:04:32.635Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T05:04:32.635Z] 646ad004c059: Pulling fs layer [2022-06-27T05:04:32.635Z] cc1cd167ecdc: Waiting [2022-06-27T05:04:32.635Z] dd3240ac7de5: Waiting [2022-06-27T05:04:32.635Z] a8fd76ee1af6: Waiting [2022-06-27T05:04:32.635Z] b1e948a4e11c: Waiting [2022-06-27T05:04:32.635Z] c516ae0d96e1: Waiting [2022-06-27T05:04:32.635Z] 646ad004c059: Waiting [2022-06-27T05:04:32.635Z] 684cea983483: Waiting [2022-06-27T05:04:32.635Z] 8ed8ca486205: Verifying Checksum [2022-06-27T05:04:32.635Z] 8ed8ca486205: Download complete [2022-06-27T05:04:32.635Z] 666ba61612fd: Download complete [2022-06-27T05:04:32.635Z] c516ae0d96e1: Verifying Checksum [2022-06-27T05:04:32.635Z] c516ae0d96e1: Download complete [2022-06-27T05:04:32.897Z] 684cea983483: Download complete [2022-06-27T05:04:32.897Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T05:04:32.897Z] 59bf1c3509f3: Download complete [2022-06-27T05:04:32.897Z] dd3240ac7de5: Verifying Checksum [2022-06-27T05:04:32.897Z] dd3240ac7de5: Download complete [2022-06-27T05:04:32.897Z] b1e948a4e11c: Verifying Checksum [2022-06-27T05:04:32.897Z] b1e948a4e11c: Download complete [2022-06-27T05:04:32.897Z] 59bf1c3509f3: Pull complete [2022-06-27T05:04:33.169Z] 666ba61612fd: Pull complete [2022-06-27T05:04:33.169Z] 8ed8ca486205: Pull complete [2022-06-27T05:04:33.169Z] 646ad004c059: Verifying Checksum [2022-06-27T05:04:33.169Z] 646ad004c059: Download complete [2022-06-27T05:04:33.433Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T05:04:33.433Z] a8fd76ee1af6: Download complete [2022-06-27T05:04:33.433Z] cc1cd167ecdc: Download complete [2022-06-27T05:04:37.628Z] cc1cd167ecdc: Pull complete [2022-06-27T05:04:37.628Z] c516ae0d96e1: Pull complete [2022-06-27T05:04:37.628Z] 684cea983483: Pull complete [2022-06-27T05:04:37.628Z] dd3240ac7de5: Pull complete [2022-06-27T05:04:37.628Z] b1e948a4e11c: Pull complete [2022-06-27T05:04:40.168Z] a8fd76ee1af6: Pull complete [2022-06-27T05:04:40.739Z] 646ad004c059: Pull complete [2022-06-27T05:04:40.739Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T05:04:40.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T05:04:40.739Z] ---> 8f69c11f6b0c [2022-06-27T05:04:40.739Z] Step 3/10 : ARG MAKE='make build' [2022-06-27T05:04:42.126Z] ---> Running in d6dd4499cdc7 [2022-06-27T05:04:42.126Z] Removing intermediate container d6dd4499cdc7 [2022-06-27T05:04:42.126Z] ---> ff8d3a7896f1 [2022-06-27T05:04:42.126Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:04:42.387Z] ---> Running in 70710c993f41 [2022-06-27T05:04:42.958Z] Removing intermediate container 70710c993f41 [2022-06-27T05:04:42.958Z] ---> 9868cc59f940 [2022-06-27T05:04:42.958Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:04:42.958Z] ---> Running in 1f9a3c053e82 [2022-06-27T05:04:43.220Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:04:44.159Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:04:44.418Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:04:44.418Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-27T05:04:44.677Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:04:44.677Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:04:44.677Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-27T05:04:44.937Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-27T05:04:44.937Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-27T05:04:44.937Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-27T05:04:45.199Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:04:45.199Z] OK: 226 MiB in 60 packages [2022-06-27T05:04:45.458Z] Removing intermediate container 1f9a3c053e82 [2022-06-27T05:04:45.458Z] ---> c54738b2aa16 [2022-06-27T05:04:45.458Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-27T05:04:45.458Z] ---> Running in 823bf7dd5a30 [2022-06-27T05:04:45.549Z] Still waiting to schedule task [2022-06-27T05:04:45.549Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T05:04:45.718Z] Removing intermediate container 823bf7dd5a30 [2022-06-27T05:04:45.719Z] ---> ef448165e39d [2022-06-27T05:04:45.719Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-27T05:04:45.719Z] ---> 5da354d034b5 [2022-06-27T05:04:45.719Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:04:45.719Z] ---> Running in 67bd9595ec99 [2022-06-27T05:05:03.848Z] Removing intermediate container 67bd9595ec99 [2022-06-27T05:05:03.848Z] ---> 32ba4e875850 [2022-06-27T05:05:03.848Z] Step 9/10 : COPY . . [2022-06-27T05:05:03.848Z] ---> 93bd188c38da [2022-06-27T05:05:03.848Z] Step 10/10 : RUN ${MAKE} [2022-06-27T05:05:03.848Z] ---> Running in 193687987e50 [2022-06-27T05:05:04.108Z] noop [2022-06-27T05:05:04.373Z] Removing intermediate container 193687987e50 [2022-06-27T05:05:04.373Z] ---> 90b3e0a0342f [2022-06-27T05:05:04.373Z] Successfully built 90b3e0a0342f [2022-06-27T05:05:04.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:04.809Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:05:04.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:05:04.965Z] prd-ubuntu20.04-docker-8c-8g-16059 does not seem to be running inside a container [2022-06-27T05:05:04.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-357 -v /w/workspace/xfoundry_device-modbus-go_PR-357:/w/workspace/xfoundry_device-modbus-go_PR-357:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-357@tmp:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:05:05.401Z] $ docker top 330ca2f8f103d2d8aadc80706f2a1736ba59fcbed4b30777b94ae37d09ba5e4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:05:05.872Z] + go version [2022-06-27T05:05:05.872Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T05:05:05.908Z] $ docker stop --time=1 330ca2f8f103d2d8aadc80706f2a1736ba59fcbed4b30777b94ae37d09ba5e4b [2022-06-27T05:05:07.188Z] $ docker rm -f 330ca2f8f103d2d8aadc80706f2a1736ba59fcbed4b30777b94ae37d09ba5e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:07.911Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T05:05:07.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:05:08.066Z] prd-ubuntu20.04-docker-8c-8g-16059 does not seem to be running inside a container [2022-06-27T05:05:08.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-357 -v /w/workspace/xfoundry_device-modbus-go_PR-357:/w/workspace/xfoundry_device-modbus-go_PR-357:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-357@tmp:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T05:05:08.466Z] $ docker top 0dac5462e828e3f7fc730651eb37844302f417453bb54f5ef888758d34b89a9b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:05:08.916Z] + make test [2022-06-27T05:05:08.916Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:05:09.175Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-27T05:05:17.302Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-27T05:05:17.302Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.4% of statements [2022-06-27T05:05:23.877Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:05:27.170Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:05:27.170Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:05:27.170Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:05:27.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:05:27.489Z] $ docker stop --time=1 0dac5462e828e3f7fc730651eb37844302f417453bb54f5ef888758d34b89a9b [2022-06-27T05:05:29.144Z] $ docker rm -f 0dac5462e828e3f7fc730651eb37844302f417453bb54f5ef888758d34b89a9b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:05:29.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:05:29.712Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T05:05:30.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:05:30.699Z] + ls -al . [2022-06-27T05:05:30.699Z] total 184 [2022-06-27T05:05:30.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 05:05 . [2022-06-27T05:05:30.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:04 .. [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 05:04 .dockerignore [2022-06-27T05:05:30.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:04 .git [2022-06-27T05:05:30.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:04 .github [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 27 05:04 .gitignore [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:04 .golangci.yml [2022-06-27T05:05:30.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:04 .semver [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 27 05:04 Attribution.txt [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 27 05:04 CHANGELOG.md [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 27 05:04 Dockerfile [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:04 GOVERNANCE.md [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 05:04 Jenkinsfile [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:04 LICENSE [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 27 05:04 Makefile [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 27 05:04 OWNERS.md [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 27 05:04 README.md [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 05:04 VERSION [2022-06-27T05:05:30.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:04 bin [2022-06-27T05:05:30.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:04 cmd [2022-06-27T05:05:30.699Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 27 05:05 coverage.out [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 3403 Jun 27 05:04 go.mod [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 36194 Jun 27 05:04 go.sum [2022-06-27T05:05:30.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:04 internal [2022-06-27T05:05:30.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:04 simulator [2022-06-27T05:05:30.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:04 snap [2022-06-27T05:05:30.699Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 27 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:31.163Z] + 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=efeab170feeb6b35ea963f8f3410c798feaccbbe --label arch=amd64 --label version=0.0.0 . [2022-06-27T05:05:31.163Z] Sending build context to Docker daemon 6.078MB [2022-06-27T05:05:31.163Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:05:31.163Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-27T05:05:31.163Z] ---> 90b3e0a0342f [2022-06-27T05:05:31.163Z] Step 3/23 : ARG MAKE='make build' [2022-06-27T05:05:31.163Z] ---> Running in 1ed7eaa4a4fe [2022-06-27T05:05:31.421Z] Removing intermediate container 1ed7eaa4a4fe [2022-06-27T05:05:31.421Z] ---> f34cb7de82c3 [2022-06-27T05:05:31.421Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:05:31.421Z] ---> Running in ae3d8cfb90ee [2022-06-27T05:05:31.990Z] Removing intermediate container ae3d8cfb90ee [2022-06-27T05:05:31.990Z] ---> 754355dbe838 [2022-06-27T05:05:31.990Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:05:31.990Z] ---> Running in 727ea8f50032 [2022-06-27T05:05:32.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:05:33.190Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:05:33.450Z] OK: 226 MiB in 60 packages [2022-06-27T05:05:33.710Z] Removing intermediate container 727ea8f50032 [2022-06-27T05:05:33.710Z] ---> aae326c90c59 [2022-06-27T05:05:33.710Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-27T05:05:33.710Z] ---> Running in 1019e0a79ef4 [2022-06-27T05:05:33.974Z] Removing intermediate container 1019e0a79ef4 [2022-06-27T05:05:33.974Z] ---> 0930da560469 [2022-06-27T05:05:33.974Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-27T05:05:33.974Z] ---> 3c4364125a25 [2022-06-27T05:05:33.974Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:05:33.974Z] ---> Running in e7e59cab697e [2022-06-27T05:05:34.548Z] Removing intermediate container e7e59cab697e [2022-06-27T05:05:34.548Z] ---> 18310d9f50ea [2022-06-27T05:05:34.548Z] Step 9/23 : COPY . . [2022-06-27T05:05:34.807Z] ---> ac9dabe6fc9d [2022-06-27T05:05:34.807Z] Step 10/23 : RUN ${MAKE} [2022-06-27T05:05:34.807Z] ---> Running in d489cbbd511b [2022-06-27T05:05:35.066Z] 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-27T05:05:53.158Z] Removing intermediate container d489cbbd511b [2022-06-27T05:05:53.158Z] ---> 8ca1a03852d2 [2022-06-27T05:05:53.158Z] Step 11/23 : FROM alpine:3.14 [2022-06-27T05:05:53.158Z] 3.14: Pulling from library/alpine [2022-06-27T05:05:53.417Z] 8663204ce13b: Pulling fs layer [2022-06-27T05:05:53.417Z] 8663204ce13b: Verifying Checksum [2022-06-27T05:05:53.417Z] 8663204ce13b: Download complete [2022-06-27T05:05:53.676Z] 8663204ce13b: Pull complete [2022-06-27T05:05:53.676Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:05:53.676Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:05:53.676Z] ---> e04c818066af [2022-06-27T05:05:53.676Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-27T05:05:53.676Z] ---> Running in 1d8a84dc3625 [2022-06-27T05:05:53.676Z] Removing intermediate container 1d8a84dc3625 [2022-06-27T05:05:53.676Z] ---> fa8762a645b6 [2022-06-27T05:05:53.676Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:05:53.676Z] ---> Running in dd0489325545 [2022-06-27T05:05:54.242Z] Removing intermediate container dd0489325545 [2022-06-27T05:05:54.242Z] ---> 8efa01b3533f [2022-06-27T05:05:54.242Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:05:54.242Z] ---> Running in e3a6ebf6d96a [2022-06-27T05:05:54.501Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T05:05:55.446Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T05:05:55.707Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:05:55.966Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:05:55.966Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:05:55.966Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:05:56.226Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:05:56.226Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:05:56.226Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:05:56.226Z] OK: 8 MiB in 20 packages [2022-06-27T05:05:56.792Z] Removing intermediate container e3a6ebf6d96a [2022-06-27T05:05:56.792Z] ---> df1ac68682d2 [2022-06-27T05:05:56.792Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-27T05:05:57.052Z] ---> 0e82b720c884 [2022-06-27T05:05:57.052Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-27T05:05:57.312Z] ---> 15b403ac46bf [2022-06-27T05:05:57.312Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-27T05:05:57.571Z] ---> 4a6e415e5b29 [2022-06-27T05:05:57.571Z] Step 18/23 : EXPOSE 59901 [2022-06-27T05:05:57.571Z] ---> Running in b20cdfcc697d [2022-06-27T05:05:57.571Z] Removing intermediate container b20cdfcc697d [2022-06-27T05:05:57.571Z] ---> 8514ef55178e [2022-06-27T05:05:57.571Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-27T05:05:57.571Z] ---> Running in 9d02a981f23f [2022-06-27T05:05:57.571Z] Removing intermediate container 9d02a981f23f [2022-06-27T05:05:57.571Z] ---> 98b1cb1934ca [2022-06-27T05:05:57.571Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T05:05:57.571Z] ---> Running in 570af2045d72 [2022-06-27T05:05:57.829Z] Removing intermediate container 570af2045d72 [2022-06-27T05:05:57.829Z] ---> 207165bc3d93 [2022-06-27T05:05:57.829Z] Step 21/23 : LABEL arch=amd64 [2022-06-27T05:05:57.829Z] ---> Running in db2c065cf664 [2022-06-27T05:05:57.829Z] Removing intermediate container db2c065cf664 [2022-06-27T05:05:57.829Z] ---> 2d2da85e0bc7 [2022-06-27T05:05:57.829Z] Step 22/23 : LABEL git_sha=efeab170feeb6b35ea963f8f3410c798feaccbbe [2022-06-27T05:05:57.829Z] ---> Running in fd9aea66c509 [2022-06-27T05:05:58.089Z] Removing intermediate container fd9aea66c509 [2022-06-27T05:05:58.089Z] ---> a133d6c440f6 [2022-06-27T05:05:58.089Z] Step 23/23 : LABEL version=0.0.0 [2022-06-27T05:05:58.089Z] ---> Running in 15658b4830ac [2022-06-27T05:05:58.089Z] Removing intermediate container 15658b4830ac [2022-06-27T05:05:58.089Z] ---> b469809383d2 [2022-06-27T05:05:58.089Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:05:58.089Z] Successfully built b469809383d2 [2022-06-27T05:05:58.089Z] 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-27T05:05:58.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:05:58.899Z] [2022-06-27T05:05:58.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:05:59.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:05:59.272Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T05:05:59.272Z] 5eb5b503b376: Pulling fs layer [2022-06-27T05:05:59.272Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T05:05:59.272Z] ec43610c2a17: Pulling fs layer [2022-06-27T05:05:59.272Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T05:05:59.272Z] 33b1e0a273af: Pulling fs layer [2022-06-27T05:05:59.272Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T05:05:59.272Z] 2f39f015ded8: Pulling fs layer [2022-06-27T05:05:59.272Z] 33b1e0a273af: Waiting [2022-06-27T05:05:59.272Z] 2f39f015ded8: Waiting [2022-06-27T05:05:59.272Z] 5d3b04190fa2: Waiting [2022-06-27T05:05:59.272Z] 3a2ae6a8a46f: Waiting [2022-06-27T05:05:59.272Z] 5c69ac0246d0: Download complete [2022-06-27T05:05:59.272Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T05:05:59.272Z] 3a2ae6a8a46f: Download complete [2022-06-27T05:05:59.272Z] 33b1e0a273af: Verifying Checksum [2022-06-27T05:05:59.272Z] 33b1e0a273af: Download complete [2022-06-27T05:05:59.272Z] ec43610c2a17: Verifying Checksum [2022-06-27T05:05:59.272Z] ec43610c2a17: Download complete [2022-06-27T05:05:59.272Z] 5d3b04190fa2: Download complete [2022-06-27T05:05:59.532Z] 5eb5b503b376: Verifying Checksum [2022-06-27T05:05:59.532Z] 5eb5b503b376: Download complete [2022-06-27T05:06:00.100Z] 2f39f015ded8: Download complete [2022-06-27T05:06:00.669Z] 5eb5b503b376: Pull complete [2022-06-27T05:06:00.928Z] 5c69ac0246d0: Pull complete [2022-06-27T05:06:01.189Z] ec43610c2a17: Pull complete [2022-06-27T05:06:01.189Z] 3a2ae6a8a46f: Pull complete [2022-06-27T05:06:01.450Z] 33b1e0a273af: Pull complete [2022-06-27T05:06:01.710Z] 5d3b04190fa2: Pull complete [2022-06-27T05:06:05.910Z] 2f39f015ded8: Pull complete [2022-06-27T05:06:05.910Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T05:06:05.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:06:05.910Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:06:06.115Z] prd-ubuntu20.04-docker-8c-8g-16059 does not seem to be running inside a container [2022-06-27T05:06:06.152Z] $ 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-357 -v /w/workspace/xfoundry_device-modbus-go_PR-357:/w/workspace/xfoundry_device-modbus-go_PR-357:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-357@tmp:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:06:07.607Z] $ docker top e9f09c7697570d52217761b751cf18eb8229c1ead263db96efb8b88b4b5440b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:06:08.060Z] ---> job-cost.sh [2022-06-27T05:06:08.060Z] lf-activate-venv: SKIPPING [2022-06-27T05:06:08.060Z] INFO: No Stack... [2022-06-27T05:06:08.319Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:06:08.888Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:06:09.209Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-357/archives/cost.csv [2022-06-27T05:06:09.209Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T05:06:09.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] [2022-06-27T05:06:09.253Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] did not exist. Created. [2022-06-27T05:06:09.253Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:06:09.637Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T05:06:09.687Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:06:09.706Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:06:09.794Z] $ docker stop --time=1 e9f09c7697570d52217761b751cf18eb8229c1ead263db96efb8b88b4b5440b1 [2022-06-27T05:06:10.966Z] $ docker rm -f e9f09c7697570d52217761b751cf18eb8229c1ead263db96efb8b88b4b5440b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T05:07:22.931Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16063 in /w/workspace/xfoundry_device-modbus-go_PR-357 [Pipeline] { [Pipeline] ws [2022-06-27T05:07:22.972Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T05:07:23.085Z] Selected Git installation does not exist. Using Default [2022-06-27T05:07:23.085Z] The recommended git tool is: NONE [2022-06-27T05:07:30.712Z] using credential edgex-jenkins-ssh [2022-06-27T05:07:30.730Z] Cloning the remote Git repository [2022-06-27T05:07:30.803Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:07:30.889Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-06-27T05:07:30.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:07:30.972Z] > git --version # timeout=10 [2022-06-27T05:07:30.990Z] > git --version # 'git version 2.25.1' [2022-06-27T05:07:30.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:07:31.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:07:32.821Z] Merging remotes/origin/main commit 4c89d6a6c91720700353e870f5243ca140b0cc6d into PR head commit efeab170feeb6b35ea963f8f3410c798feaccbbe [2022-06-27T05:07:33.105Z] Merge succeeded, producing efeab170feeb6b35ea963f8f3410c798feaccbbe [2022-06-27T05:07:33.106Z] Checking out Revision efeab170feeb6b35ea963f8f3410c798feaccbbe (PR-357) [2022-06-27T05:07:32.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-27T05:07:32.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T05:07:32.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-06-27T05:07:32.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-06-27T05:07:32.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:07:32.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T05:07:32.846Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:07:32.869Z] > git checkout -f efeab170feeb6b35ea963f8f3410c798feaccbbe # timeout=10 [2022-06-27T05:07:32.982Z] > git remote # timeout=10 [2022-06-27T05:07:33.020Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T05:07:33.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T05:07:33.057Z] > git merge 4c89d6a6c91720700353e870f5243ca140b0cc6d # timeout=10 [2022-06-27T05:07:33.087Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T05:07:33.117Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T05:07:33.129Z] > git checkout -f efeab170feeb6b35ea963f8f3410c798feaccbbe # timeout=10 [2022-06-27T05:07:37.436Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" [2022-06-27T05:07:37.509Z] > git --version # timeout=10 [2022-06-27T05:07:37.522Z] > git --version # 'git version 2.25.1' [2022-06-27T05:07:37.543Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:07:38.611Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T05:07:38.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:07:38.611Z] Dload Upload Total Spent Left Speed [2022-06-27T05:07:38.611Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 225k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh [2022-06-27T05:07:39.385Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T05:07:39.958Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-06-27T05:07:39.958Z] /etc/docker/daemon.json [2022-06-27T05:07:39.958Z] { [2022-06-27T05:07:39.958Z] "registry-mirrors": [ [2022-06-27T05:07:39.958Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T05:07:39.958Z] ], [2022-06-27T05:07:39.958Z] "bip": "10.250.0.254/24", [2022-06-27T05:07:39.958Z] "hosts": [ [2022-06-27T05:07:39.958Z] "tcp://0.0.0.0:5555", [2022-06-27T05:07:39.958Z] "unix:///var/run/docker.sock" [2022-06-27T05:07:39.958Z] ], [2022-06-27T05:07:39.958Z] "mtu": 1458, [2022-06-27T05:07:39.958Z] "selinux-enabled": true, [2022-06-27T05:07:39.958Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T05:07:39.958Z] } [Pipeline] sh [2022-06-27T05:07:40.316Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T05:07:40.665Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:07:59.056Z] provisioning config files... [2022-06-27T05:07:59.086Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5855576227599111645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:07:59.485Z] ---> docker-login.sh [2022-06-27T05:07:59.485Z] nexus3.edgexfoundry.org:10001 [2022-06-27T05:08:00.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:08:00.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:08:00.364Z] Configure a credential helper to remove this warning. See [2022-06-27T05:08:00.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:08:00.364Z] [2022-06-27T05:08:00.364Z] Login Succeeded [2022-06-27T05:08:00.364Z] nexus3.edgexfoundry.org:10002 [2022-06-27T05:08:00.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:08:00.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:08:00.913Z] Configure a credential helper to remove this warning. See [2022-06-27T05:08:00.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:08:00.913Z] [2022-06-27T05:08:00.913Z] Login Succeeded [2022-06-27T05:08:00.913Z] nexus3.edgexfoundry.org:10003 [2022-06-27T05:08:01.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:08:01.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:08:01.463Z] Configure a credential helper to remove this warning. See [2022-06-27T05:08:01.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:08:01.463Z] [2022-06-27T05:08:01.463Z] Login Succeeded [2022-06-27T05:08:01.463Z] nexus3.edgexfoundry.org:10004 [2022-06-27T05:08:01.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:08:01.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:08:01.736Z] Configure a credential helper to remove this warning. See [2022-06-27T05:08:01.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:08:01.736Z] [2022-06-27T05:08:01.736Z] Login Succeeded [2022-06-27T05:08:01.736Z] docker.io [2022-06-27T05:08:02.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T05:08:02.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T05:08:02.604Z] Configure a credential helper to remove this warning. See [2022-06-27T05:08:02.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T05:08:02.604Z] [2022-06-27T05:08:02.604Z] Login Succeeded [2022-06-27T05:08:02.604Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T05:08:02.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T05:08:03.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:08:03.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T05:08:03.089Z] ========================================================= [2022-06-27T05:08:03.089Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T05:08:03.089Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:08:03.577Z] + 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-27T05:08:03.876Z] Sending build context to Docker daemon 3.145MB [2022-06-27T05:08:03.876Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:08:03.876Z] Step 2/10 : FROM ${BASE} AS builder [2022-06-27T05:08:04.157Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T05:08:04.157Z] 9b3977197b4f: Pulling fs layer [2022-06-27T05:08:04.157Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T05:08:04.157Z] 94645a83ff95: Pulling fs layer [2022-06-27T05:08:04.157Z] e6fb740bc735: Pulling fs layer [2022-06-27T05:08:04.157Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T05:08:04.157Z] 355e64cbe906: Pulling fs layer [2022-06-27T05:08:04.157Z] 63ab81a10011: Pulling fs layer [2022-06-27T05:08:04.157Z] 555d1d1c4555: Pulling fs layer [2022-06-27T05:08:04.157Z] e6fb740bc735: Waiting [2022-06-27T05:08:04.157Z] 7d9057610161: Pulling fs layer [2022-06-27T05:08:04.157Z] 3a77bd46dcc9: Waiting [2022-06-27T05:08:04.157Z] 355e64cbe906: Waiting [2022-06-27T05:08:04.157Z] 63ab81a10011: Waiting [2022-06-27T05:08:04.157Z] 555d1d1c4555: Waiting [2022-06-27T05:08:04.157Z] 7d9057610161: Waiting [2022-06-27T05:08:04.157Z] 94645a83ff95: Download complete [2022-06-27T05:08:04.157Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T05:08:04.157Z] 1a89e8eeedd5: Download complete [2022-06-27T05:08:04.157Z] 3a77bd46dcc9: Download complete [2022-06-27T05:08:04.157Z] 355e64cbe906: Verifying Checksum [2022-06-27T05:08:04.157Z] 355e64cbe906: Download complete [2022-06-27T05:08:04.157Z] 9b3977197b4f: Verifying Checksum [2022-06-27T05:08:04.157Z] 9b3977197b4f: Download complete [2022-06-27T05:08:04.157Z] 63ab81a10011: Verifying Checksum [2022-06-27T05:08:04.157Z] 63ab81a10011: Download complete [2022-06-27T05:08:05.168Z] 9b3977197b4f: Pull complete [2022-06-27T05:08:05.448Z] 7d9057610161: Download complete [2022-06-27T05:08:06.052Z] 1a89e8eeedd5: Pull complete [2022-06-27T05:08:06.330Z] 94645a83ff95: Pull complete [2022-06-27T05:08:06.610Z] 555d1d1c4555: Verifying Checksum [2022-06-27T05:08:06.610Z] 555d1d1c4555: Download complete [2022-06-27T05:08:07.212Z] e6fb740bc735: Verifying Checksum [2022-06-27T05:08:07.212Z] e6fb740bc735: Download complete [2022-06-27T05:08:19.618Z] e6fb740bc735: Pull complete [2022-06-27T05:08:19.894Z] 3a77bd46dcc9: Pull complete [2022-06-27T05:08:20.171Z] 355e64cbe906: Pull complete [2022-06-27T05:08:20.450Z] 63ab81a10011: Pull complete [2022-06-27T05:08:27.177Z] 555d1d1c4555: Pull complete [2022-06-27T05:08:29.807Z] 7d9057610161: Pull complete [2022-06-27T05:08:29.808Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T05:08:29.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T05:08:29.808Z] ---> 819e984ddca1 [2022-06-27T05:08:29.808Z] Step 3/10 : ARG MAKE='make build' [2022-06-27T05:08:30.789Z] ---> Running in 83d56828b8f3 [2022-06-27T05:08:32.777Z] Removing intermediate container 83d56828b8f3 [2022-06-27T05:08:32.777Z] ---> 2848c2fc2305 [2022-06-27T05:08:32.777Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:08:32.777Z] ---> Running in 23041f0d4d8a [2022-06-27T05:08:34.775Z] Removing intermediate container 23041f0d4d8a [2022-06-27T05:08:34.775Z] ---> ad33805c0206 [2022-06-27T05:08:34.775Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:08:34.775Z] ---> Running in 59dfc9901b51 [2022-06-27T05:08:35.756Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:08:36.353Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:08:37.351Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T05:08:37.351Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-06-27T05:08:37.628Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T05:08:37.628Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T05:08:37.901Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-06-27T05:08:37.901Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-06-27T05:08:37.901Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-06-27T05:08:38.178Z] (8/8) Installing openssh (8.8_p1-r1) [2022-06-27T05:08:38.179Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T05:08:38.179Z] OK: 226 MiB in 60 packages [2022-06-27T05:08:39.165Z] Removing intermediate container 59dfc9901b51 [2022-06-27T05:08:39.165Z] ---> 890a03b4f30e [2022-06-27T05:08:39.165Z] Step 6/10 : WORKDIR /device-modbus-go [2022-06-27T05:08:39.442Z] ---> Running in df6cc1155c13 [2022-06-27T05:08:39.716Z] Removing intermediate container df6cc1155c13 [2022-06-27T05:08:39.716Z] ---> 4f9af6c6f925 [2022-06-27T05:08:39.716Z] Step 7/10 : COPY go.mod vendor* ./ [2022-06-27T05:08:40.322Z] ---> 27ae8d2f3f50 [2022-06-27T05:08:40.322Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:08:40.322Z] ---> Running in 923fcfc573cf [2022-06-27T05:09:27.327Z] Removing intermediate container 923fcfc573cf [2022-06-27T05:09:27.327Z] ---> 6c866d3c5792 [2022-06-27T05:09:27.328Z] Step 9/10 : COPY . . [2022-06-27T05:09:27.328Z] ---> 1dd225e4cb7e [2022-06-27T05:09:27.328Z] Step 10/10 : RUN ${MAKE} [2022-06-27T05:09:27.328Z] ---> Running in 60b89c79c591 [2022-06-27T05:09:28.765Z] noop [2022-06-27T05:09:29.374Z] Removing intermediate container 60b89c79c591 [2022-06-27T05:09:29.374Z] ---> 0b7bb8f34f9f [2022-06-27T05:09:29.374Z] Successfully built 0b7bb8f34f9f [2022-06-27T05:09:29.374Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:09:29.933Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:09:29.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:09:30.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-16063 does not seem to be running inside a container [2022-06-27T05:09:30.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T05:09:31.924Z] $ docker top b6d3a8d8b814b2a6176d64731828737d23ac7ca18abc8570b2c4d0b41d7884fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:09:32.939Z] + go version [2022-06-27T05:09:32.940Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T05:09:32.984Z] $ docker stop --time=1 b6d3a8d8b814b2a6176d64731828737d23ac7ca18abc8570b2c4d0b41d7884fc [2022-06-27T05:09:34.713Z] $ docker rm -f b6d3a8d8b814b2a6176d64731828737d23ac7ca18abc8570b2c4d0b41d7884fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:09:35.621Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T05:09:35.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:09:35.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-16063 does not seem to be running inside a container [2022-06-27T05:09:36.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T05:09:37.445Z] $ docker top 6a5618630c2c5103e61c1c03c644107696b8e16176a2786636193390bb671525 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T05:09:38.462Z] + make test [2022-06-27T05:09:38.462Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T05:09:40.444Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-06-27T05:11:17.333Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-06-27T05:11:17.333Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.144s coverage: 46.4% of statements [2022-06-27T05:11:17.333Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T05:11:17.333Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T05:11:35.718Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T05:11:35.718Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T05:11:35.718Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T05:11:39.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T05:11:39.194Z] $ docker stop --time=1 6a5618630c2c5103e61c1c03c644107696b8e16176a2786636193390bb671525 [2022-06-27T05:11:40.982Z] $ docker rm -f 6a5618630c2c5103e61c1c03c644107696b8e16176a2786636193390bb671525 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T05:11:42.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T05:11:42.069Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T05:11:42.580Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T05:11:43.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T05:11:43.540Z] + ls -al . [2022-06-27T05:11:43.540Z] total 180 [2022-06-27T05:11:43.540Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 05:11 . [2022-06-27T05:11:43.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:07 .. [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 05:07 .dockerignore [2022-06-27T05:11:43.540Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 05:07 .git [2022-06-27T05:11:43.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:07 .github [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 331 Jun 27 05:07 .gitignore [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 05:07 .golangci.yml [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jun 27 05:07 Attribution.txt [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jun 27 05:07 CHANGELOG.md [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jun 27 05:07 Dockerfile [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 05:07 GOVERNANCE.md [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 05:07 Jenkinsfile [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 05:07 LICENSE [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 1905 Jun 27 05:07 Makefile [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 27 05:07 OWNERS.md [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jun 27 05:07 README.md [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 05:04 VERSION [2022-06-27T05:11:43.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:07 bin [2022-06-27T05:11:43.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:07 cmd [2022-06-27T05:11:43.540Z] -rw-r--r-- 1 jenkins jenkins 24065 Jun 27 05:11 coverage.out [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 3403 Jun 27 05:07 go.mod [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 36194 Jun 27 05:07 go.sum [2022-06-27T05:11:43.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 05:07 internal [2022-06-27T05:11:43.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 05:07 simulator [2022-06-27T05:11:43.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 05:07 snap [2022-06-27T05:11:43.540Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 27 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:11:43.994Z] + 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=efeab170feeb6b35ea963f8f3410c798feaccbbe --label arch=arm64 --label version=0.0.0 . [2022-06-27T05:11:44.268Z] Sending build context to Docker daemon 3.17MB [2022-06-27T05:11:44.268Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T05:11:44.268Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-27T05:11:44.268Z] ---> 0b7bb8f34f9f [2022-06-27T05:11:44.268Z] Step 3/23 : ARG MAKE='make build' [2022-06-27T05:11:44.543Z] ---> Running in b88f9ad911e7 [2022-06-27T05:11:44.821Z] Removing intermediate container b88f9ad911e7 [2022-06-27T05:11:44.821Z] ---> d7d7aed2fe55 [2022-06-27T05:11:44.821Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:11:44.821Z] ---> Running in ffc9b74788e6 [2022-06-27T05:11:46.807Z] Removing intermediate container ffc9b74788e6 [2022-06-27T05:11:46.807Z] ---> 6c11e74f6d8d [2022-06-27T05:11:46.807Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-06-27T05:11:46.807Z] ---> Running in 6fd1a019cd0f [2022-06-27T05:11:47.798Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:11:48.785Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:11:49.773Z] OK: 226 MiB in 60 packages [2022-06-27T05:11:50.768Z] Removing intermediate container 6fd1a019cd0f [2022-06-27T05:11:50.768Z] ---> 35b98081ac30 [2022-06-27T05:11:50.768Z] Step 6/23 : WORKDIR /device-modbus-go [2022-06-27T05:11:50.768Z] ---> Running in c599b36efc32 [2022-06-27T05:11:51.045Z] Removing intermediate container c599b36efc32 [2022-06-27T05:11:51.045Z] ---> 95def8b28081 [2022-06-27T05:11:51.045Z] Step 7/23 : COPY go.mod vendor* ./ [2022-06-27T05:11:51.654Z] ---> 1dad095c7747 [2022-06-27T05:11:51.654Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T05:11:51.654Z] ---> Running in a3e639ee007b [2022-06-27T05:11:53.648Z] Removing intermediate container a3e639ee007b [2022-06-27T05:11:53.648Z] ---> 051d6f10a546 [2022-06-27T05:11:53.648Z] Step 9/23 : COPY . . [2022-06-27T05:11:54.639Z] ---> 3e5356b15c64 [2022-06-27T05:11:54.639Z] Step 10/23 : RUN ${MAKE} [2022-06-27T05:11:54.915Z] ---> Running in 46d1c808fd20 [2022-06-27T05:11:55.913Z] 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-27T05:14:17.858Z] Removing intermediate container 46d1c808fd20 [2022-06-27T05:14:17.858Z] ---> 08614acd12a4 [2022-06-27T05:14:17.858Z] Step 11/23 : FROM alpine:3.14 [2022-06-27T05:14:17.858Z] 3.14: Pulling from library/alpine [2022-06-27T05:14:17.858Z] 455c02918c45: Pulling fs layer [2022-06-27T05:14:17.858Z] 455c02918c45: Verifying Checksum [2022-06-27T05:14:17.858Z] 455c02918c45: Download complete [2022-06-27T05:14:17.858Z] 455c02918c45: Pull complete [2022-06-27T05:14:17.858Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T05:14:17.858Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T05:14:17.858Z] ---> ac73e934f311 [2022-06-27T05:14:17.858Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-06-27T05:14:17.858Z] ---> Running in 1acf965d9a4d [2022-06-27T05:14:17.858Z] Removing intermediate container 1acf965d9a4d [2022-06-27T05:14:17.858Z] ---> b57476616973 [2022-06-27T05:14:17.858Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T05:14:17.858Z] ---> Running in 51b911e61a2d [2022-06-27T05:14:17.858Z] Removing intermediate container 51b911e61a2d [2022-06-27T05:14:17.858Z] ---> 53dedf7c4c53 [2022-06-27T05:14:17.858Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T05:14:17.858Z] ---> Running in 49bdaba918de [2022-06-27T05:14:17.858Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T05:14:17.858Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T05:14:17.858Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T05:14:17.858Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T05:14:17.858Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T05:14:17.858Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T05:14:17.858Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T05:14:17.858Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T05:14:17.858Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T05:14:17.858Z] OK: 8 MiB in 20 packages [2022-06-27T05:14:17.858Z] Removing intermediate container 49bdaba918de [2022-06-27T05:14:17.858Z] ---> 8234fde5f949 [2022-06-27T05:14:17.858Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-06-27T05:14:17.858Z] ---> 7a906e708fda [2022-06-27T05:14:17.858Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-06-27T05:14:17.858Z] ---> 8191d65a65d2 [2022-06-27T05:14:17.858Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-06-27T05:14:17.858Z] ---> 86272173f7b0 [2022-06-27T05:14:17.858Z] Step 18/23 : EXPOSE 59901 [2022-06-27T05:14:17.858Z] ---> Running in 6cc3a85158c6 [2022-06-27T05:14:17.858Z] Removing intermediate container 6cc3a85158c6 [2022-06-27T05:14:17.858Z] ---> da6c53e420d5 [2022-06-27T05:14:17.858Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-06-27T05:14:17.858Z] ---> Running in db093f40892e [2022-06-27T05:14:17.858Z] Removing intermediate container db093f40892e [2022-06-27T05:14:17.858Z] ---> bf67f0e06efe [2022-06-27T05:14:17.858Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T05:14:17.858Z] ---> Running in 86cf3932738e [2022-06-27T05:14:18.135Z] Removing intermediate container 86cf3932738e [2022-06-27T05:14:18.135Z] ---> 7c3216312179 [2022-06-27T05:14:18.135Z] Step 21/23 : LABEL arch=arm64 [2022-06-27T05:14:18.135Z] ---> Running in 752f23603c26 [2022-06-27T05:14:18.412Z] Removing intermediate container 752f23603c26 [2022-06-27T05:14:18.412Z] ---> 407b2ee0e62f [2022-06-27T05:14:18.412Z] Step 22/23 : LABEL git_sha=efeab170feeb6b35ea963f8f3410c798feaccbbe [2022-06-27T05:14:18.412Z] ---> Running in ba03626b5193 [2022-06-27T05:14:18.696Z] Removing intermediate container ba03626b5193 [2022-06-27T05:14:18.696Z] ---> f1bc4ee39ea8 [2022-06-27T05:14:18.696Z] Step 23/23 : LABEL version=0.0.0 [2022-06-27T05:14:18.973Z] ---> Running in bf133f682d69 [2022-06-27T05:14:19.248Z] Removing intermediate container bf133f682d69 [2022-06-27T05:14:19.248Z] ---> 84bd88d4e2ea [2022-06-27T05:14:19.248Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T05:14:19.248Z] Successfully built 84bd88d4e2ea [2022-06-27T05:14:19.248Z] 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-27T05:14:20.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:14:20.049Z] [2022-06-27T05:14:20.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:14:20.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:14:20.737Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T05:14:20.737Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T05:14:20.737Z] 04944245beec: Pulling fs layer [2022-06-27T05:14:20.737Z] 699f458cf7ca: Pulling fs layer [2022-06-27T05:14:20.737Z] 765212b225bb: Pulling fs layer [2022-06-27T05:14:20.737Z] f23df028b6ca: Pulling fs layer [2022-06-27T05:14:20.737Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T05:14:20.737Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T05:14:20.737Z] 765212b225bb: Waiting [2022-06-27T05:14:20.737Z] f23df028b6ca: Waiting [2022-06-27T05:14:20.737Z] d65c8cfc05b1: Waiting [2022-06-27T05:14:20.737Z] 2437ff75d9bd: Waiting [2022-06-27T05:14:20.737Z] 04944245beec: Verifying Checksum [2022-06-27T05:14:20.737Z] 04944245beec: Download complete [2022-06-27T05:14:20.737Z] 765212b225bb: Verifying Checksum [2022-06-27T05:14:20.737Z] 765212b225bb: Download complete [2022-06-27T05:14:20.737Z] f23df028b6ca: Verifying Checksum [2022-06-27T05:14:20.737Z] f23df028b6ca: Download complete [2022-06-27T05:14:20.737Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T05:14:20.737Z] d65c8cfc05b1: Download complete [2022-06-27T05:14:21.018Z] 699f458cf7ca: Verifying Checksum [2022-06-27T05:14:21.018Z] 699f458cf7ca: Download complete [2022-06-27T05:14:21.294Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T05:14:21.294Z] 8998bd30e6a1: Download complete [2022-06-27T05:14:23.920Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T05:14:23.920Z] 2437ff75d9bd: Download complete [2022-06-27T05:14:25.356Z] 8998bd30e6a1: Pull complete [2022-06-27T05:14:25.629Z] 04944245beec: Pull complete [2022-06-27T05:14:27.068Z] 699f458cf7ca: Pull complete [2022-06-27T05:14:27.340Z] 765212b225bb: Pull complete [2022-06-27T05:14:27.938Z] f23df028b6ca: Pull complete [2022-06-27T05:14:28.212Z] d65c8cfc05b1: Pull complete [2022-06-27T05:14:43.316Z] 2437ff75d9bd: Pull complete [2022-06-27T05:14:43.317Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T05:14:43.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T05:14:43.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:14:43.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-16063 does not seem to be running inside a container [2022-06-27T05:14:43.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T05:14:46.531Z] $ docker top 49feecf7fa9076d274265550096e7489a5058d853febf806fc335955f6a18884 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:14:47.495Z] ---> job-cost.sh [2022-06-27T05:14:47.495Z] lf-activate-venv: SKIPPING [2022-06-27T05:14:47.495Z] INFO: No Stack... [2022-06-27T05:14:48.100Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T05:14:48.706Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T05:14:49.381Z] + + cutcat -d, /w/workspace/device-modbus-go/1/archives/cost.csv -f6 [2022-06-27T05:14:49.381Z] [Pipeline] lock [2022-06-27T05:14:49.466Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] [2022-06-27T05:14:49.471Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] did not exist. Created. [2022-06-27T05:14:49.471Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T05:14:50.218Z] /w/workspace/device-modbus-go/1@tmp/durable-64fa36a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T05:14:50.919Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T05:14:50.954Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T05:14:51.012Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T05:14:51.029Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T05:14:51.111Z] $ docker stop --time=1 49feecf7fa9076d274265550096e7489a5058d853febf806fc335955f6a18884 [2022-06-27T05:14:52.592Z] $ docker rm -f 49feecf7fa9076d274265550096e7489a5058d853febf806fc335955f6a18884 [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-27T05:14:53.546Z] provisioning config files... [2022-06-27T05:14:53.557Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp/config3251156163935144135tmp [Pipeline] { [Pipeline] sh [2022-06-27T05:14:54.097Z] + set +x [2022-06-27T05:14:54.097Z] + curl -s https://codecov.io/bash [2022-06-27T05:14:54.097Z] + bash -s -- [2022-06-27T05:14:54.097Z] [2022-06-27T05:14:54.097Z] _____ _ [2022-06-27T05:14:54.097Z] / ____| | | [2022-06-27T05:14:54.097Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T05:14:54.097Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T05:14:54.097Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T05:14:54.097Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T05:14:54.097Z] Bash-1.0.6 [2022-06-27T05:14:54.097Z] [2022-06-27T05:14:54.097Z] [2022-06-27T05:14:54.097Z] ==> git version 2.25.1 found [2022-06-27T05:14:54.097Z] ==> 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-27T05:14:54.097Z] Release-Date: 2020-01-08 [2022-06-27T05:14:54.097Z] 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-27T05:14:54.097Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T05:14:54.097Z] ==> Jenkins CI detected. [2022-06-27T05:14:54.097Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-357 [2022-06-27T05:14:54.097Z] project root: . [2022-06-27T05:14:54.097Z] --> token set from env [2022-06-27T05:14:54.097Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T05:14:54.097Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T05:14:54.097Z] ==> Python coveragepy not found [2022-06-27T05:14:54.097Z] ==> Searching for coverage reports in: [2022-06-27T05:14:54.097Z] + . [2022-06-27T05:14:54.097Z] -> Found 1 reports [2022-06-27T05:14:54.097Z] ==> Detecting git/mercurial file structure [2022-06-27T05:14:54.097Z] ==> Reading reports [2022-06-27T05:14:54.097Z] + ./coverage.out bytes=24065 [2022-06-27T05:14:54.097Z] ==> Appending adjustments [2022-06-27T05:14:54.097Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T05:14:54.358Z] + Found adjustments [2022-06-27T05:14:54.358Z] ==> Gzipping contents [2022-06-27T05:14:54.358Z] 4.0K /tmp/codecov.7M97QT.gz [2022-06-27T05:14:54.358Z] ==> Uploading reports [2022-06-27T05:14:54.358Z] url: https://codecov.io [2022-06-27T05:14:54.358Z] query: branch=PR-357&commit=efeab170feeb6b35ea963f8f3410c798feaccbbe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2022-06-27T05:14:54.358Z] -> Pinging Codecov [2022-06-27T05:14:54.358Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-357&commit=efeab170feeb6b35ea963f8f3410c798feaccbbe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2022-06-27T05:14:54.619Z] -> Uploading to [2022-06-27T05:14:54.619Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/55DBCA73C666E3227836607328DD7E49/efeab170feeb6b35ea963f8f3410c798feaccbbe/b13491cb-8339-4b73-b625-a10da4727903.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T051454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d6acfebc29fdcdd9a27156c90dfeec40883452a644aa8fdbf6c863071c3be14 [2022-06-27T05:14:54.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T05:14:54.619Z] Dload Upload Total Spent Left Speed [2022-06-27T05:14:54.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4025 0 0 100 4025 0 19827 --:--:-- --:--:-- --:--:-- 19730 100 4025 0 0 100 4025 0 15909 --:--:-- --:--:-- --:--:-- 15846 [2022-06-27T05:14:54.879Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/efeab170feeb6b35ea963f8f3410c798feaccbbe [Pipeline] } [2022-06-27T05:14:54.904Z] 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-27T05:14:56.606Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-357/archives ] [2022-06-27T05:14:56.607Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-357/archives [2022-06-27T05:14:56.607Z] total 16 [2022-06-27T05:14:56.607Z] drwxr-xr-x 3 root root 4096 Jun 27 05:06 . [2022-06-27T05:14:56.607Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 05:06 .. [2022-06-27T05:14:56.607Z] drwxr-xr-x 2 root root 4096 Jun 27 05:06 cost [2022-06-27T05:14:56.607Z] -rw-r--r-- 1 root root 87 Jun 27 05:06 cost.csv [2022-06-27T05:14:56.607Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-357/archives [2022-06-27T05:14:56.607Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-357/archives [2022-06-27T05:14:56.607Z] total 16 [2022-06-27T05:14:56.607Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 05:06 . [2022-06-27T05:14:56.607Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 05:06 .. [2022-06-27T05:14:56.607Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 05:06 cost [2022-06-27T05:14:56.607Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 27 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:14:56.939Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:14:58.047Z] ---> package-listing.sh [2022-06-27T05:14:58.047Z] ++ facter osfamily [2022-06-27T05:14:58.047Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T05:14:58.308Z] + OS_FAMILY=debian [2022-06-27T05:14:58.308Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-357 [2022-06-27T05:14:58.308Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T05:14:58.308Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T05:14:58.308Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T05:14:58.308Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T05:14:58.308Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-357 ']' [2022-06-27T05:14:58.308Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T05:14:58.308Z] + case "${OS_FAMILY}" in [2022-06-27T05:14:58.308Z] + dpkg -l [2022-06-27T05:14:58.308Z] + grep '^ii' [2022-06-27T05:14:58.308Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T05:14:58.308Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T05:14:58.308Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T05:14:58.308Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-357 ']' [2022-06-27T05:14:58.308Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-357/archives/ [2022-06-27T05:14:58.308Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-357/archives/ [Pipeline] echo [2022-06-27T05:14:58.346Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T05:14:58.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T05:14:59.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T05:14:59.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T05:14:59.171Z] prd-ubuntu20.04-docker-8c-8g-16059 does not seem to be running inside a container [2022-06-27T05:14:59.211Z] $ 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-357/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-357 -v /w/workspace/xfoundry_device-modbus-go_PR-357:/w/workspace/xfoundry_device-modbus-go_PR-357:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-357@tmp:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T05:14:59.419Z] $ docker top 0b391855b2a114ea248f1bdf8b800070a86295bc63ec9b07edc6f3fd9e2419d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T05:14:59.822Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T05:15:00.132Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T05:15:00.443Z] + ls /var/log/sa-host [2022-06-27T05:15:00.443Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T05:15:00.572Z] provisioning config files... [2022-06-27T05:15:00.584Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-357@tmp/config6422191873980558972tmp [Pipeline] { [Pipeline] echo [2022-06-27T05:15:00.633Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:15:00.949Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T05:15:00.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:15:01.376Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T05:15:01.407Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:15:01.731Z] ---> sudo-logs.sh [2022-06-27T05:15:01.731Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T05:15:01.813Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:15:02.125Z] ---> job-cost.sh [2022-06-27T05:15:02.125Z] lf-activate-venv: SKIPPING [2022-06-27T05:15:02.125Z] DEBUG: total: 0.2199999988079071 [2022-06-27T05:15:02.125Z] INFO: Retrieving Stack Cost... [2022-06-27T05:15:02.387Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T05:15:02.957Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T05:15:02.990Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T05:15:03.295Z] ---> logs-deploy.sh [2022-06-27T05:15:03.295Z] lf-activate-venv: SKIPPING [2022-06-27T05:15:03.295Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-357/1 [2022-06-27T05:15:03.295Z] INFO: archiving workspace using pattern(s): [2022-06-27T05:15:04.237Z] Archives upload complete. [2022-06-27T05:15:04.237Z] INFO: archiving logs to Nexus