Pull request #343 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d+34696552c2fac84d635c044d3d9d718bd3379cee (9cb946420a137bdcbc902347f07701f11dafa1ae) 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-ssh5763830965376186579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12089729632631873405.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-343/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-343/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1518571151664267088.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5864389824828199388.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-343/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-343/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12295295281355221987.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45063 in /w/workspace/xfoundry_device-modbus-go_PR-343 [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-343 # 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 34696552c2fac84d635c044d3d9d718bd3379cee into PR head commit 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d Merge succeeded, producing 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d Checking out Revision 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d (PR-343) > 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/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d # 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 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d # timeout=10 Commit message: "docs: additions and changes to CHANGELOG" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 580aa4447f750eaeca36e989d1f452357d06e8ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:44:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:44:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:44:04 ========================================================= 06:44:04 EdgeX Global Pipelines Version Info 06:44:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:44:04 ------------------- 06:44:04 stable info: 06:44:04 ------------------- 06:44:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:44:04 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:44:04 Message: update stable to v1.0.227 06:44:05 ------------------- 06:44:05 experimental info: 06:44:05 ------------------- 06:44:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:44:05 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:44:05 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 06:44:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 06:44:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d [Pipeline] echo 06:44:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 929bf35 [Pipeline] echo 06:44:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:06 provisioning config files... 06:44:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config4448217638009841711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:06 ---> docker-login.sh 06:44:06 nexus3.edgexfoundry.org:10001 06:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:06 Configure a credential helper to remove this warning. See 06:44:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:06 06:44:06 Login Succeeded 06:44:06 nexus3.edgexfoundry.org:10002 06:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:06 Configure a credential helper to remove this warning. See 06:44:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:06 06:44:06 Login Succeeded 06:44:06 nexus3.edgexfoundry.org:10003 06:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:07 Configure a credential helper to remove this warning. See 06:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:07 06:44:07 Login Succeeded 06:44:07 nexus3.edgexfoundry.org:10004 06:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:07 Configure a credential helper to remove this warning. See 06:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:07 06:44:07 Login Succeeded 06:44:07 docker.io 06:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:07 Configure a credential helper to remove this warning. See 06:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:07 06:44:07 Login Succeeded 06:44:07 ---> docker-login.sh ends [Pipeline] } 06:44:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:44:08 + git rev-list -1 --merges 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d~1..929bf354ed6ff8a4d67a131da4a7034d52ab0e5d [Pipeline] echo 06:44:08 -----------> git rev-list -1 --merges 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d~1..929bf354ed6ff8a4d67a131da4a7034d52ab0e5d 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d [false] [Pipeline] sh 06:44:08 + git log --format=format:%s -1 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d [Pipeline] echo 06:44:08 ========================================================= 06:44:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:44:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:08 + git log --format=format:%s -1 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d [Pipeline] echo 06:44:08 [semverPrep] GIT_COMMIT: 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d, Commit Message: docs: additions and changes to CHANGELOG [Pipeline] echo 06:44:08 [semverPrep] This is not a build commit. [Pipeline] sh 06:44:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:44:09 + grep -v github /etc/ssh/ssh_known_hosts 06:44:09 + [ -e /tmp/ssh_known_hosts ] 06:44:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:44:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:44:09 + sudo tee -a /etc/ssh/ssh_known_hosts 06:44:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:44:09 06:44:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:44:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:44:09 latest: Pulling from edgex-devops/py-git-semver 06:44:09 1fe172e4850f: Pulling fs layer 06:44:09 caf521ccaac6: Pulling fs layer 06:44:09 3ead6fa29328: Pulling fs layer 06:44:09 5c2a1cbceb83: Pulling fs layer 06:44:09 a8d5f1318db7: Pulling fs layer 06:44:09 c427282e49a2: Pulling fs layer 06:44:09 5c2a1cbceb83: Waiting 06:44:09 a8d5f1318db7: Waiting 06:44:09 1827001aaf11: Pulling fs layer 06:44:09 c427282e49a2: Waiting 06:44:09 0714d37db230: Pulling fs layer 06:44:09 1827001aaf11: Waiting 06:44:09 ac28cf19c067: Pulling fs layer 06:44:09 ca983d60f3e2: Pulling fs layer 06:44:09 0714d37db230: Waiting 06:44:09 ac28cf19c067: Waiting 06:44:09 ca983d60f3e2: Waiting 06:44:09 9f894cec8388: Pulling fs layer 06:44:09 9f894cec8388: Waiting 06:44:09 caf521ccaac6: Verifying Checksum 06:44:09 caf521ccaac6: Download complete 06:44:09 5c2a1cbceb83: Verifying Checksum 06:44:09 5c2a1cbceb83: Download complete 06:44:09 a8d5f1318db7: Verifying Checksum 06:44:09 a8d5f1318db7: Download complete 06:44:10 3ead6fa29328: Verifying Checksum 06:44:10 3ead6fa29328: Download complete 06:44:10 c427282e49a2: Verifying Checksum 06:44:10 c427282e49a2: Download complete 06:44:10 0714d37db230: Verifying Checksum 06:44:10 0714d37db230: Download complete 06:44:10 ac28cf19c067: Verifying Checksum 06:44:10 ac28cf19c067: Download complete 06:44:10 ca983d60f3e2: Verifying Checksum 06:44:10 ca983d60f3e2: Download complete 06:44:10 9f894cec8388: Verifying Checksum 06:44:10 9f894cec8388: Download complete 06:44:10 1fe172e4850f: Verifying Checksum 06:44:10 1fe172e4850f: Download complete 06:44:10 1827001aaf11: Verifying Checksum 06:44:10 1827001aaf11: Download complete 06:44:11 1fe172e4850f: Pull complete 06:44:11 caf521ccaac6: Pull complete 06:44:12 3ead6fa29328: Pull complete 06:44:12 5c2a1cbceb83: Pull complete 06:44:12 a8d5f1318db7: Pull complete 06:44:12 c427282e49a2: Pull complete 06:44:15 1827001aaf11: Pull complete 06:44:15 0714d37db230: Pull complete 06:44:15 ac28cf19c067: Pull complete 06:44:15 ca983d60f3e2: Pull complete 06:44:15 9f894cec8388: Pull complete 06:44:15 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:44:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:44:15 prd-ubuntu20.04-docker-8c-8g-45063 does not seem to be running inside a container 06:44:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-343 -v /w/workspace/xfoundry_device-modbus-go_PR-343:/w/workspace/xfoundry_device-modbus-go_PR-343:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-343@tmp:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:44:17 $ docker top 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c -eo pid,comm 06:44:17 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). 06:44:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:44:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:17 [ssh-agent] Looking for ssh-agent implementation... 06:44:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:17 $ docker exec 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c ssh-agent 06:44:17 SSH_AUTH_SOCK=/tmp/ssh-erZY0u3eyebg/agent.34 06:44:17 SSH_AGENT_PID=41 06:44:17 Running ssh-add (command line suppressed) 06:44:17 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_5038783349326244747.key (/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_5038783349326244747.key) 06:44:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:18 + git tag --points-at HEAD [Pipeline] } 06:44:18 $ docker exec --env ******** --env ******** 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c ssh-agent -k 06:44:18 unset SSH_AUTH_SOCK; 06:44:18 unset SSH_AGENT_PID; 06:44:18 echo Agent pid 41 killed; 06:44:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:44:18 [ssh-agent] Looking for ssh-agent implementation... 06:44:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:44:18 $ docker exec 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c ssh-agent 06:44:18 SSH_AUTH_SOCK=/tmp/ssh-3zo2LAxoupIt/agent.76 06:44:18 SSH_AGENT_PID=82 06:44:18 Running ssh-add (command line suppressed) 06:44:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_6295936285595340468.key (/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_6295936285595340468.key) 06:44:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:44:19 + git semver init 06:44:19 2022-05-10 06:44:19,437 [run_init] DEBUG init version:0.0.0 force:False 06:44:19 2022-05-10 06:44:19,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-343/.semver 06:44:19 2022-05-10 06:44:19,438 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-343/.semver 06:44:19 2022-05-10 06:44:19,439 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-343/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-343, universal_newlines=False, shell=None, istream=None) 06:44:20 2022-05-10 06:44:20,266 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-343/.git/info/exclude 06:44:20 2022-05-10 06:44:20,267 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-343/.semver/PR-343 with force:False 06:44:20 2022-05-10 06:44:20,267 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-343/.semver/PR-343 06:44:20 2022-05-10 06:44:20,272 [execute] INFO git cat-file --batch-check 06:44:20 2022-05-10 06:44:20,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) 06:44:20 2022-05-10 06:44:20,281 [execute] INFO git cat-file --batch 06:44:20 2022-05-10 06:44:20,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) 06:44:20 2022-05-10 06:44:20,288 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-343/.semver/PR-343 06:44:20 0.0.0 [Pipeline] } 06:44:20 $ docker exec --env ******** --env ******** 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c ssh-agent -k 06:44:20 unset SSH_AUTH_SOCK; 06:44:20 unset SSH_AGENT_PID; 06:44:20 echo Agent pid 82 killed; 06:44:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:44:20 + git semver [Pipeline] } 06:44:21 $ docker stop --time=1 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c 06:44:22 $ docker rm -f 6b1e51d9053f35260b718ffb937b84cab4c95bee82c6d55cd41156f69d1cdf9c [Pipeline] // withDockerContainer [Pipeline] sh 06:44:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:44:23 Stashed 1 file(s) [Pipeline] echo 06:44:23 [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 06:44:23 provisioning config files... 06:44:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config1867635014897215735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:23 ---> docker-login.sh 06:44:23 nexus3.edgexfoundry.org:10001 06:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:23 Configure a credential helper to remove this warning. See 06:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:23 06:44:23 Login Succeeded 06:44:23 nexus3.edgexfoundry.org:10002 06:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:24 Configure a credential helper to remove this warning. See 06:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:24 06:44:24 Login Succeeded 06:44:24 nexus3.edgexfoundry.org:10003 06:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:24 Configure a credential helper to remove this warning. See 06:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:24 06:44:24 Login Succeeded 06:44:24 nexus3.edgexfoundry.org:10004 06:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:24 Configure a credential helper to remove this warning. See 06:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:24 06:44:24 Login Succeeded 06:44:24 docker.io 06:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:24 Configure a credential helper to remove this warning. See 06:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:24 06:44:24 Login Succeeded 06:44:24 ---> docker-login.sh ends [Pipeline] } 06:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:44:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:24 ========================================================= 06:44:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:44:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:44:24 + 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 . 06:44:24 Sending build context to Docker daemon 5.89MB 06:44:24 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 06:44:24 Step 2/10 : FROM ${BASE} AS builder 06:44:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:44:24 59bf1c3509f3: Pulling fs layer 06:44:24 666ba61612fd: Pulling fs layer 06:44:24 8ed8ca486205: Pulling fs layer 06:44:24 4fe6c5a15a65: Pulling fs layer 06:44:24 22a0e8bec74d: Pulling fs layer 06:44:24 ca2b28591e48: Pulling fs layer 06:44:24 a51346096db8: Pulling fs layer 06:44:24 daebc70d1ce1: Pulling fs layer 06:44:24 0e18a0eac166: Pulling fs layer 06:44:24 22a0e8bec74d: Waiting 06:44:24 4fe6c5a15a65: Waiting 06:44:24 ca2b28591e48: Waiting 06:44:24 a51346096db8: Waiting 06:44:24 0e18a0eac166: Waiting 06:44:24 daebc70d1ce1: Waiting 06:44:25 8ed8ca486205: Download complete 06:44:25 666ba61612fd: Verifying Checksum 06:44:25 666ba61612fd: Download complete 06:44:25 22a0e8bec74d: Download complete 06:44:25 ca2b28591e48: Verifying Checksum 06:44:25 ca2b28591e48: Download complete 06:44:25 a51346096db8: Download complete 06:44:25 59bf1c3509f3: Verifying Checksum 06:44:25 59bf1c3509f3: Download complete 06:44:25 daebc70d1ce1: Verifying Checksum 06:44:25 daebc70d1ce1: Download complete 06:44:25 59bf1c3509f3: Pull complete 06:44:25 666ba61612fd: Pull complete 06:44:25 8ed8ca486205: Pull complete 06:44:25 0e18a0eac166: Verifying Checksum 06:44:25 0e18a0eac166: Download complete 06:44:26 4fe6c5a15a65: Download complete 06:44:31 4fe6c5a15a65: Pull complete 06:44:31 22a0e8bec74d: Pull complete 06:44:31 ca2b28591e48: Pull complete 06:44:31 a51346096db8: Pull complete 06:44:31 daebc70d1ce1: Pull complete 06:44:33 0e18a0eac166: Pull complete 06:44:33 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:44:33 ---> f018257e8ee9 06:44:33 Step 3/10 : ARG MAKE='make build' 06:44:35 ---> Running in 223a1fa47734 06:44:35 Removing intermediate container 223a1fa47734 06:44:35 ---> b16a6a8e261c 06:44:35 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:35 ---> Running in 6921c5c7fc02 06:44:35 Removing intermediate container 6921c5c7fc02 06:44:35 ---> 187c51e45e99 06:44:35 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:44:35 ---> Running in 27b7097e081b 06:44:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:44:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:44:37 (1/8) Installing openssh-keygen (8.8_p1-r1) 06:44:37 (2/8) Installing libedit (20210910.3.1-r0) 06:44:37 (3/8) Installing openssh-client-common (8.8_p1-r1) 06:44:37 (4/8) Installing openssh-client-default (8.8_p1-r1) 06:44:37 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 06:44:37 (6/8) Installing openssh-server-common (8.8_p1-r1) 06:44:37 (7/8) Installing openssh-server (8.8_p1-r1) 06:44:37 (8/8) Installing openssh (8.8_p1-r1) 06:44:38 Executing busybox-1.34.1-r3.trigger 06:44:38 OK: 226 MiB in 60 packages 06:44:38 Still waiting to schedule task 06:44:38 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:44:38 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:44:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-45067’ is offline 06:44:38 Removing intermediate container 27b7097e081b 06:44:38 ---> dbbc21872c32 06:44:38 Step 6/10 : WORKDIR /device-modbus-go 06:44:38 ---> Running in 824b8b00e1d1 06:44:38 Removing intermediate container 824b8b00e1d1 06:44:38 ---> 0baf0bea58d2 06:44:38 Step 7/10 : COPY go.mod vendor* ./ 06:44:39 ---> 9986ae0ec149 06:44:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:39 ---> Running in dc4fd99d8174 06:44:57 Removing intermediate container dc4fd99d8174 06:44:57 ---> 56814745c9fa 06:44:57 Step 9/10 : COPY . . 06:44:57 ---> 6870ff201427 06:44:57 Step 10/10 : RUN ${MAKE} 06:44:57 ---> Running in 9204003a685f 06:44:57 noop 06:44:57 Removing intermediate container 9204003a685f 06:44:57 ---> 9b0819d96cc5 06:44:57 Successfully built 9b0819d96cc5 06:44:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:44:57 + docker inspect -f . ci-base-image-x86_64 06:44:57 . [Pipeline] withDockerContainer 06:44:57 prd-ubuntu20.04-docker-8c-8g-45063 does not seem to be running inside a container 06:44:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-343 -v /w/workspace/xfoundry_device-modbus-go_PR-343:/w/workspace/xfoundry_device-modbus-go_PR-343:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-343@tmp:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:58 $ docker top bbf036be7e6d1b031e8fbdf2edbedde6ce381a635aac2ec2523f4b443f9f6a1d -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:58 + go version 06:44:58 go version go1.17.6 linux/amd64 [Pipeline] } 06:44:58 $ docker stop --time=1 bbf036be7e6d1b031e8fbdf2edbedde6ce381a635aac2ec2523f4b443f9f6a1d 06:44:59 $ docker rm -f bbf036be7e6d1b031e8fbdf2edbedde6ce381a635aac2ec2523f4b443f9f6a1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:45:00 + docker inspect -f . ci-base-image-x86_64 06:45:00 . [Pipeline] withDockerContainer 06:45:00 prd-ubuntu20.04-docker-8c-8g-45063 does not seem to be running inside a container 06:45:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-343 -v /w/workspace/xfoundry_device-modbus-go_PR-343:/w/workspace/xfoundry_device-modbus-go_PR-343:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-343@tmp:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:45:00 $ docker top cc4fdae2d84821d744127c661f94586f448d649a4ec879221778c394ce49f4ee -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:45:01 + make test 06:45:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:45:01 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:45:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:45:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 46.4% of statements 06:45:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:45:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:45:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:45:24 ./bin/test-attribution-txt.sh [Pipeline] echo 06:45:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:45:24 $ docker stop --time=1 cc4fdae2d84821d744127c661f94586f448d649a4ec879221778c394ce49f4ee 06:45:26 $ docker rm -f cc4fdae2d84821d744127c661f94586f448d649a4ec879221778c394ce49f4ee [Pipeline] // withDockerContainer [Pipeline] sh 06:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:45:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:45:28 + ls -al . 06:45:28 total 184 06:45:28 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:45 . 06:45:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:43 .. 06:45:28 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:44 .dockerignore 06:45:28 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:44 .git 06:45:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:44 .github 06:45:28 -rw-rw-r-- 1 jenkins jenkins 331 May 10 06:44 .gitignore 06:45:28 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:44 .golangci.yml 06:45:28 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:44 .semver 06:45:28 -rw-rw-r-- 1 jenkins jenkins 9377 May 10 06:44 Attribution.txt 06:45:28 -rw-rw-r-- 1 jenkins jenkins 10001 May 10 06:44 CHANGELOG.md 06:45:28 -rw-rw-r-- 1 jenkins jenkins 1546 May 10 06:44 Dockerfile 06:45:28 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:44 GOVERNANCE.md 06:45:28 -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:44 Jenkinsfile 06:45:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:44 LICENSE 06:45:28 -rw-rw-r-- 1 jenkins jenkins 1905 May 10 06:44 Makefile 06:45:28 -rw-rw-r-- 1 jenkins jenkins 622 May 10 06:44 OWNERS.md 06:45:28 -rw-rw-r-- 1 jenkins jenkins 3397 May 10 06:44 README.md 06:45:28 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:44 VERSION 06:45:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:44 bin 06:45:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:44 cmd 06:45:28 -rw-r--r-- 1 jenkins jenkins 24065 May 10 06:45 coverage.out 06:45:28 -rw-rw-r-- 1 jenkins jenkins 3399 May 10 06:44 go.mod 06:45:28 -rw-rw-r-- 1 jenkins jenkins 35558 May 10 06:44 go.sum 06:45:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:44 internal 06:45:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:44 simulator 06:45:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:44 snap 06:45:28 -rw-rw-r-- 1 jenkins jenkins 229 May 10 06:44 version.go [Pipeline] isUnix [Pipeline] sh 06:45:28 + 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=929bf354ed6ff8a4d67a131da4a7034d52ab0e5d --label arch=amd64 --label version=0.0.0 . 06:45:28 Sending build context to Docker daemon 5.915MB 06:45:28 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:45:28 Step 2/23 : FROM ${BASE} AS builder 06:45:28 ---> 9b0819d96cc5 06:45:28 Step 3/23 : ARG MAKE='make build' 06:45:28 ---> Running in 8f30f207617b 06:45:28 Removing intermediate container 8f30f207617b 06:45:28 ---> 846154fd2686 06:45:28 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:28 ---> Running in 0f116de77679 06:45:29 Removing intermediate container 0f116de77679 06:45:29 ---> a6a4efec6a02 06:45:29 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:45:29 ---> Running in bf6d7f187f2a 06:45:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:45:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:45:35 OK: 226 MiB in 60 packages 06:45:35 Removing intermediate container bf6d7f187f2a 06:45:35 ---> f119099c0fb2 06:45:35 Step 6/23 : WORKDIR /device-modbus-go 06:45:35 ---> Running in bb88c4d6f7c6 06:45:35 Removing intermediate container bb88c4d6f7c6 06:45:35 ---> 4d6592a15628 06:45:35 Step 7/23 : COPY go.mod vendor* ./ 06:45:36 ---> 650eaff1ded1 06:45:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:45:36 ---> Running in 6ed4e354036c 06:45:36 Removing intermediate container 6ed4e354036c 06:45:36 ---> b2f28256870c 06:45:36 Step 9/23 : COPY . . 06:45:37 ---> 88e4acdd4208 06:45:37 Step 10/23 : RUN ${MAKE} 06:45:37 ---> Running in 3f84aad7f63e 06:45:37 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 06:45:59 Removing intermediate container 3f84aad7f63e 06:45:59 ---> 5871619c3deb 06:45:59 Step 11/23 : FROM alpine:3.14 06:45:59 3.14: Pulling from library/alpine 06:45:59 8663204ce13b: Pulling fs layer 06:45:59 8663204ce13b: Verifying Checksum 06:45:59 8663204ce13b: Download complete 06:46:00 8663204ce13b: Pull complete 06:46:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:46:00 Status: Downloaded newer image for alpine:3.14 06:46:00 ---> e04c818066af 06:46:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:46:00 ---> Running in 3eaa9a307aa5 06:46:00 Removing intermediate container 3eaa9a307aa5 06:46:00 ---> abe236da48b6 06:46:00 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:46:00 ---> Running in 3aa450d44c22 06:46:00 Removing intermediate container 3aa450d44c22 06:46:00 ---> f438a0326295 06:46:00 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 06:46:00 ---> Running in 53ff52b648ab 06:46:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:46:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:46:02 (1/6) Installing dumb-init (1.2.5-r1) 06:46:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:46:02 (3/6) Installing libsodium (1.0.18-r0) 06:46:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:46:02 (5/6) Installing libzmq (4.3.4-r0) 06:46:02 (6/6) Installing zeromq (4.3.4-r0) 06:46:02 Executing busybox-1.33.1-r7.trigger 06:46:02 OK: 8 MiB in 20 packages 06:46:03 Removing intermediate container 53ff52b648ab 06:46:03 ---> 996f0d47c23d 06:46:03 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:46:04 ---> 45af400908e1 06:46:04 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:46:04 ---> 9281c7c4dcab 06:46:04 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:46:04 ---> c5b65d0a6f65 06:46:04 Step 18/23 : EXPOSE 59901 06:46:04 ---> Running in 35e2b7a4b45c 06:46:04 Removing intermediate container 35e2b7a4b45c 06:46:04 ---> 1378ea5a4c98 06:46:04 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:46:04 ---> Running in 5dc31447a5d0 06:46:04 Removing intermediate container 5dc31447a5d0 06:46:04 ---> b599ddebf068 06:46:04 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:46:04 ---> Running in d048d14c0744 06:46:04 Removing intermediate container d048d14c0744 06:46:04 ---> 71697fc66e83 06:46:04 Step 21/23 : LABEL arch=amd64 06:46:04 ---> Running in 0050afd9ecf3 06:46:05 Removing intermediate container 0050afd9ecf3 06:46:05 ---> 476e1c1de3e3 06:46:05 Step 22/23 : LABEL git_sha=929bf354ed6ff8a4d67a131da4a7034d52ab0e5d 06:46:05 ---> Running in 4ecfa62cc458 06:46:05 Removing intermediate container 4ecfa62cc458 06:46:05 ---> 05b32b82acb9 06:46:05 Step 23/23 : LABEL version=0.0.0 06:46:05 ---> Running in 4ecac05eb4b5 06:46:05 Removing intermediate container 4ecac05eb4b5 06:46:05 ---> e7587940ede5 06:46:05 [Warning] One or more build-args [ARCH] were not consumed 06:46:05 Successfully built e7587940ede5 06:46:05 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:05 06:46:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:46:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:06 latest: Pulling from edgex-lftools-log-publisher 06:46:06 5eb5b503b376: Pulling fs layer 06:46:06 5c69ac0246d0: Pulling fs layer 06:46:06 ec43610c2a17: Pulling fs layer 06:46:06 3a2ae6a8a46f: Pulling fs layer 06:46:06 33b1e0a273af: Pulling fs layer 06:46:06 5d3b04190fa2: Pulling fs layer 06:46:06 2f39f015ded8: Pulling fs layer 06:46:06 33b1e0a273af: Waiting 06:46:06 5d3b04190fa2: Waiting 06:46:06 2f39f015ded8: Waiting 06:46:06 3a2ae6a8a46f: Waiting 06:46:06 5c69ac0246d0: Download complete 06:46:06 3a2ae6a8a46f: Verifying Checksum 06:46:06 3a2ae6a8a46f: Download complete 06:46:06 33b1e0a273af: Verifying Checksum 06:46:06 33b1e0a273af: Download complete 06:46:06 ec43610c2a17: Verifying Checksum 06:46:06 ec43610c2a17: Download complete 06:46:06 5d3b04190fa2: Verifying Checksum 06:46:06 5d3b04190fa2: Download complete 06:46:06 5eb5b503b376: Verifying Checksum 06:46:06 5eb5b503b376: Download complete 06:46:06 2f39f015ded8: Download complete 06:46:07 5eb5b503b376: Pull complete 06:46:07 5c69ac0246d0: Pull complete 06:46:08 ec43610c2a17: Pull complete 06:46:08 3a2ae6a8a46f: Pull complete 06:46:08 33b1e0a273af: Pull complete 06:46:08 5d3b04190fa2: Pull complete 06:46:14 2f39f015ded8: Pull complete 06:46:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:46:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:46:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:46:14 prd-ubuntu20.04-docker-8c-8g-45063 does not seem to be running inside a container 06:46:14 $ 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-343 -v /w/workspace/xfoundry_device-modbus-go_PR-343:/w/workspace/xfoundry_device-modbus-go_PR-343:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-343@tmp:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:46:16 $ docker top f99e1eb58b968ad248b2d664ec5d48e2af67541a562cbdce6c59251bc0898f6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:16 ---> job-cost.sh 06:46:16 lf-activate-venv: SKIPPING 06:46:16 INFO: No Stack... 06:46:17 INFO: Retrieving Pricing Info for: v3-standard-8 06:46:17 INFO: Archiving Costs [Pipeline] sh 06:46:18 + cat /w/workspace/xfoundry_device-modbus-go_PR-343/archives/cost.csv 06:46:18 + cut -d, -f6 [Pipeline] lock 06:46:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] 06:46:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] did not exist. Created. 06:46:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:46:18 + echo total: 0.2199999988079071 [Pipeline] stash 06:46:18 Stashed 1 file(s) [Pipeline] } 06:46:18 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:46:18 $ docker stop --time=1 f99e1eb58b968ad248b2d664ec5d48e2af67541a562cbdce6c59251bc0898f6e 06:46:19 $ docker rm -f f99e1eb58b968ad248b2d664ec5d48e2af67541a562cbdce6c59251bc0898f6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:55:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45353 in /w/workspace/xfoundry_device-modbus-go_PR-343 [Pipeline] { [Pipeline] ws 06:55:00 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 06:55:01 Selected Git installation does not exist. Using Default 06:55:01 The recommended git tool is: NONE 06:55:07 using credential edgex-jenkins-ssh 06:55:07 Cloning the remote Git repository 06:55:07 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:55:07 > git init /w/workspace/device-modbus-go/4 # timeout=10 06:55:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:55:07 > git --version # timeout=10 06:55:08 > git --version # 'git version 2.25.1' 06:55:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:55:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:55:09 Merging remotes/origin/main commit 34696552c2fac84d635c044d3d9d718bd3379cee into PR head commit 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d 06:55:10 Merge succeeded, producing 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d 06:55:10 Checking out Revision 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d (PR-343) 06:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:55:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:55:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/343/head:refs/remotes/origin/PR-343 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:55:10 > git config core.sparsecheckout # timeout=10 06:55:10 > git checkout -f 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d # timeout=10 06:55:10 > git remote # timeout=10 06:55:10 > git config --get remote.origin.url # timeout=10 06:55:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:55:10 > git merge 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 06:55:10 > git rev-parse HEAD^{commit} # timeout=10 06:55:10 > git config core.sparsecheckout # timeout=10 06:55:10 > git checkout -f 929bf354ed6ff8a4d67a131da4a7034d52ab0e5d # timeout=10 06:55:14 Commit message: "docs: additions and changes to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:55:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:55:15 Dload Upload Total Spent Left Speed 06:55:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh 06:55:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:55:16 + sudo tee+ /etc/docker/daemon.new 06:55:16 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:55:16 { 06:55:16 "registry-mirrors": [ 06:55:16 "https://nexus3.edgexfoundry.org:10001" 06:55:16 ], 06:55:16 "bip": "10.250.0.254/24", 06:55:16 "hosts": [ 06:55:16 "tcp://0.0.0.0:5555", 06:55:16 "unix:///var/run/docker.sock" 06:55:16 ], 06:55:16 "mtu": 1458, 06:55:16 "selinux-enabled": true, 06:55:16 "seccomp-profile": "/etc/docker/seccomp.json" 06:55:16 } [Pipeline] sh 06:55:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:55:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:35 provisioning config files... 06:55:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config1039015737516129618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:35 ---> docker-login.sh 06:55:35 nexus3.edgexfoundry.org:10001 06:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:36 Configure a credential helper to remove this warning. See 06:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:36 06:55:36 Login Succeeded 06:55:36 nexus3.edgexfoundry.org:10002 06:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:37 Configure a credential helper to remove this warning. See 06:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:37 06:55:37 Login Succeeded 06:55:37 nexus3.edgexfoundry.org:10003 06:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:37 Configure a credential helper to remove this warning. See 06:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:37 06:55:37 Login Succeeded 06:55:37 nexus3.edgexfoundry.org:10004 06:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:38 Configure a credential helper to remove this warning. See 06:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:38 06:55:38 Login Succeeded 06:55:38 docker.io 06:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:55:38 Configure a credential helper to remove this warning. See 06:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:55:38 06:55:38 Login Succeeded 06:55:38 ---> docker-login.sh ends [Pipeline] } 06:55:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:55:39 ========================================================= 06:55:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:55:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:55:39 + 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 . 06:55:39 Sending build context to Docker daemon 3.082MB 06:55:39 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 06:55:39 Step 2/10 : FROM ${BASE} AS builder 06:55:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:55:40 9b3977197b4f: Pulling fs layer 06:55:40 1a89e8eeedd5: Pulling fs layer 06:55:40 94645a83ff95: Pulling fs layer 06:55:40 3f3a8bcf1eab: Pulling fs layer 06:55:40 0c92f367c5e7: Pulling fs layer 06:55:40 3096ccb668a1: Pulling fs layer 06:55:40 e8cf19c19ddd: Pulling fs layer 06:55:40 a4caa8a26152: Pulling fs layer 06:55:40 3096ccb668a1: Waiting 06:55:40 e8cf19c19ddd: Waiting 06:55:40 a4caa8a26152: Waiting 06:55:40 3f3a8bcf1eab: Waiting 06:55:40 0c92f367c5e7: Waiting 06:55:40 94645a83ff95: Verifying Checksum 06:55:40 94645a83ff95: Download complete 06:55:40 1a89e8eeedd5: Download complete 06:55:40 0c92f367c5e7: Download complete 06:55:40 9b3977197b4f: Verifying Checksum 06:55:40 e8cf19c19ddd: Verifying Checksum 06:55:40 e8cf19c19ddd: Download complete 06:55:41 9b3977197b4f: Pull complete 06:55:41 1a89e8eeedd5: Pull complete 06:55:42 94645a83ff95: Pull complete 06:55:42 a4caa8a26152: Download complete 06:55:42 3f3a8bcf1eab: Verifying Checksum 06:55:42 3f3a8bcf1eab: Download complete 06:55:55 3f3a8bcf1eab: Pull complete 06:55:55 0c92f367c5e7: Pull complete 06:55:55 3096ccb668a1: Pull complete 06:55:55 e8cf19c19ddd: Pull complete 06:56:02 a4caa8a26152: Pull complete 06:56:02 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:56:02 ---> 725f1c02e7f9 06:56:02 Step 3/10 : ARG MAKE='make build' 06:56:02 ---> Running in cee9a2835dee 06:56:03 Removing intermediate container cee9a2835dee 06:56:03 ---> 53c98cd67a49 06:56:03 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:03 ---> Running in 6ecab0a7ae81 06:56:05 Removing intermediate container 6ecab0a7ae81 06:56:05 ---> aefc62f368df 06:56:05 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:56:05 ---> Running in b7b7b158da77 06:56:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:56:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:56:08 (1/8) Installing openssh-keygen (8.8_p1-r1) 06:56:08 (2/8) Installing libedit (20210910.3.1-r0) 06:56:08 (3/8) Installing openssh-client-common (8.8_p1-r1) 06:56:08 (4/8) Installing openssh-client-default (8.8_p1-r1) 06:56:08 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 06:56:08 (6/8) Installing openssh-server-common (8.8_p1-r1) 06:56:08 (7/8) Installing openssh-server (8.8_p1-r1) 06:56:08 (8/8) Installing openssh (8.8_p1-r1) 06:56:09 Executing busybox-1.34.1-r3.trigger 06:56:09 OK: 226 MiB in 60 packages 06:56:10 Removing intermediate container b7b7b158da77 06:56:10 ---> a612efbdd805 06:56:10 Step 6/10 : WORKDIR /device-modbus-go 06:56:10 ---> Running in 0197f1d76a0d 06:56:10 Removing intermediate container 0197f1d76a0d 06:56:10 ---> ef0c14cb7e96 06:56:10 Step 7/10 : COPY go.mod vendor* ./ 06:56:10 ---> d176749048b1 06:56:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:56:11 ---> Running in 659cf6d2968c 06:56:58 Removing intermediate container 659cf6d2968c 06:56:58 ---> 0394fc202e62 06:56:58 Step 9/10 : COPY . . 06:56:58 ---> 5dbc4095ca4c 06:56:58 Step 10/10 : RUN ${MAKE} 06:56:58 ---> Running in 49d52a09d75d 06:56:59 noop 06:56:59 Removing intermediate container 49d52a09d75d 06:56:59 ---> a2bb073c8ba9 06:56:59 Successfully built a2bb073c8ba9 06:56:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:57:00 + docker inspect -f . ci-base-image-arm64 06:57:00 . [Pipeline] withDockerContainer 06:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-45353 does not seem to be running inside a container 06:57:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:02 $ docker top 04c33f796c4f33ad5921945aaca227af583e13212b466dedd426cce303580b86 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:03 + go version 06:57:03 go version go1.17.6 linux/arm64 [Pipeline] } 06:57:03 $ docker stop --time=1 04c33f796c4f33ad5921945aaca227af583e13212b466dedd426cce303580b86 06:57:04 $ docker rm -f 04c33f796c4f33ad5921945aaca227af583e13212b466dedd426cce303580b86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:05 + docker inspect -f . ci-base-image-arm64 06:57:05 . [Pipeline] withDockerContainer 06:57:05 prd-ubuntu20.04-docker-arm64-4c-16g-45353 does not seem to be running inside a container 06:57:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:07 $ docker top bea987566d94b7097a9380384e7a33647032dab5c0023a3febfc0eff60d33c55 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:57:08 + make test 06:57:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:57:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:58:46 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:58:46 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 46.4% of statements 06:58:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:58:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:59:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:59:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:59:09 ./bin/test-attribution-txt.sh [Pipeline] echo 06:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:59:10 $ docker stop --time=1 bea987566d94b7097a9380384e7a33647032dab5c0023a3febfc0eff60d33c55 06:59:12 $ docker rm -f bea987566d94b7097a9380384e7a33647032dab5c0023a3febfc0eff60d33c55 [Pipeline] // withDockerContainer [Pipeline] sh 06:59:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:59:13 Warning: overwriting stash ‘coverage-report’ 06:59:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:14 + ls -al . 06:59:14 total 180 06:59:14 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:59 . 06:59:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:55 .. 06:59:14 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:55 .dockerignore 06:59:14 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:55 .git 06:59:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:55 .github 06:59:14 -rw-rw-r-- 1 jenkins jenkins 331 May 10 06:55 .gitignore 06:59:14 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:55 .golangci.yml 06:59:14 -rw-rw-r-- 1 jenkins jenkins 9377 May 10 06:55 Attribution.txt 06:59:14 -rw-rw-r-- 1 jenkins jenkins 10001 May 10 06:55 CHANGELOG.md 06:59:14 -rw-rw-r-- 1 jenkins jenkins 1546 May 10 06:55 Dockerfile 06:59:14 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:55 GOVERNANCE.md 06:59:14 -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:55 Jenkinsfile 06:59:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:55 LICENSE 06:59:14 -rw-rw-r-- 1 jenkins jenkins 1905 May 10 06:55 Makefile 06:59:14 -rw-rw-r-- 1 jenkins jenkins 622 May 10 06:55 OWNERS.md 06:59:14 -rw-rw-r-- 1 jenkins jenkins 3397 May 10 06:55 README.md 06:59:14 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:44 VERSION 06:59:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:55 bin 06:59:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:55 cmd 06:59:14 -rw-r--r-- 1 jenkins jenkins 24065 May 10 06:58 coverage.out 06:59:14 -rw-rw-r-- 1 jenkins jenkins 3399 May 10 06:55 go.mod 06:59:14 -rw-rw-r-- 1 jenkins jenkins 35558 May 10 06:55 go.sum 06:59:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:55 internal 06:59:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:55 simulator 06:59:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:55 snap 06:59:14 -rw-rw-r-- 1 jenkins jenkins 229 May 10 06:55 version.go [Pipeline] isUnix [Pipeline] sh 06:59:14 + 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=929bf354ed6ff8a4d67a131da4a7034d52ab0e5d --label arch=arm64 --label version=0.0.0 . 06:59:14 Sending build context to Docker daemon 3.107MB 06:59:14 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:59:14 Step 2/23 : FROM ${BASE} AS builder 06:59:14 ---> a2bb073c8ba9 06:59:14 Step 3/23 : ARG MAKE='make build' 06:59:15 ---> Running in b85737457af7 06:59:15 Removing intermediate container b85737457af7 06:59:15 ---> b910aca465ae 06:59:15 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:15 ---> Running in 8d0e57514483 06:59:17 Removing intermediate container 8d0e57514483 06:59:17 ---> 37fcbd8e750d 06:59:17 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:59:17 ---> Running in 719dc0d98e3f 06:59:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:59:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:59:20 OK: 226 MiB in 60 packages 06:59:21 Removing intermediate container 719dc0d98e3f 06:59:21 ---> 806f92db01b3 06:59:21 Step 6/23 : WORKDIR /device-modbus-go 06:59:21 ---> Running in 02ab5513566c 06:59:21 Removing intermediate container 02ab5513566c 06:59:21 ---> 98fbc07c9a46 06:59:21 Step 7/23 : COPY go.mod vendor* ./ 06:59:22 ---> f7920a2f5745 06:59:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:22 ---> Running in 8316db916037 06:59:24 Removing intermediate container 8316db916037 06:59:24 ---> b24b4bda9a5f 06:59:24 Step 9/23 : COPY . . 06:59:25 ---> 96ca96a7bc13 06:59:25 Step 10/23 : RUN ${MAKE} 06:59:25 ---> Running in d898c357a802 06:59:26 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 07:01:32 Removing intermediate container d898c357a802 07:01:32 ---> 02ae8955a7d6 07:01:32 Step 11/23 : FROM alpine:3.14 07:01:32 3.14: Pulling from library/alpine 07:01:32 455c02918c45: Pulling fs layer 07:01:32 455c02918c45: Verifying Checksum 07:01:32 455c02918c45: Download complete 07:01:32 455c02918c45: Pull complete 07:01:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:01:32 Status: Downloaded newer image for alpine:3.14 07:01:32 ---> ac73e934f311 07:01:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:01:32 ---> Running in 72cf7026c3b7 07:01:33 Removing intermediate container 72cf7026c3b7 07:01:33 ---> 48b65a00b2ec 07:01:33 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:33 ---> Running in fbc47bf19566 07:01:34 Removing intermediate container fbc47bf19566 07:01:34 ---> c0bc616e05c0 07:01:34 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 07:01:35 ---> Running in b0bb80ebae84 07:01:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:01:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:01:37 (1/6) Installing dumb-init (1.2.5-r1) 07:01:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:01:38 (3/6) Installing libsodium (1.0.18-r0) 07:01:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:01:38 (5/6) Installing libzmq (4.3.4-r0) 07:01:38 (6/6) Installing zeromq (4.3.4-r0) 07:01:38 Executing busybox-1.33.1-r7.trigger 07:01:38 OK: 8 MiB in 20 packages 07:01:39 Removing intermediate container b0bb80ebae84 07:01:39 ---> 4cefd4001667 07:01:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:01:41 ---> fc50230ef6d2 07:01:41 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:01:41 ---> 647eb51bb5b6 07:01:41 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:01:41 ---> 4659760ecb07 07:01:41 Step 18/23 : EXPOSE 59901 07:01:41 ---> Running in 81ce04df9b69 07:01:42 Removing intermediate container 81ce04df9b69 07:01:42 ---> 04b65e76200f 07:01:42 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:01:42 ---> Running in e55110de80ec 07:01:42 Removing intermediate container e55110de80ec 07:01:42 ---> eff4926836ed 07:01:42 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:01:42 ---> Running in 2b11e48248fe 07:01:43 Removing intermediate container 2b11e48248fe 07:01:43 ---> f56b1c5184d2 07:01:43 Step 21/23 : LABEL arch=arm64 07:01:43 ---> Running in 7aa072df978e 07:01:43 Removing intermediate container 7aa072df978e 07:01:43 ---> 33cd940f1782 07:01:43 Step 22/23 : LABEL git_sha=929bf354ed6ff8a4d67a131da4a7034d52ab0e5d 07:01:43 ---> Running in dbbed147d7b7 07:01:43 Removing intermediate container dbbed147d7b7 07:01:43 ---> bece5e780fa1 07:01:43 Step 23/23 : LABEL version=0.0.0 07:01:43 ---> Running in 93ded9d13a23 07:01:44 Removing intermediate container 93ded9d13a23 07:01:44 ---> 4d0f68a1881e 07:01:44 [Warning] One or more build-args [ARCH] were not consumed 07:01:44 Successfully built 4d0f68a1881e 07:01:44 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:44 07:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:01:45 arm64: Pulling from edgex-lftools-log-publisher 07:01:45 8998bd30e6a1: Pulling fs layer 07:01:45 04944245beec: Pulling fs layer 07:01:45 699f458cf7ca: Pulling fs layer 07:01:45 765212b225bb: Pulling fs layer 07:01:45 f23df028b6ca: Pulling fs layer 07:01:45 d65c8cfc05b1: Pulling fs layer 07:01:45 2437ff75d9bd: Pulling fs layer 07:01:45 d65c8cfc05b1: Waiting 07:01:45 765212b225bb: Waiting 07:01:45 2437ff75d9bd: Waiting 07:01:45 f23df028b6ca: Waiting 07:01:45 04944245beec: Verifying Checksum 07:01:45 04944245beec: Download complete 07:01:45 765212b225bb: Verifying Checksum 07:01:45 765212b225bb: Download complete 07:01:45 f23df028b6ca: Verifying Checksum 07:01:45 f23df028b6ca: Download complete 07:01:45 d65c8cfc05b1: Verifying Checksum 07:01:45 d65c8cfc05b1: Download complete 07:01:45 699f458cf7ca: Verifying Checksum 07:01:45 699f458cf7ca: Download complete 07:01:45 8998bd30e6a1: Verifying Checksum 07:01:45 8998bd30e6a1: Download complete 07:01:48 2437ff75d9bd: Verifying Checksum 07:01:48 2437ff75d9bd: Download complete 07:01:50 8998bd30e6a1: Pull complete 07:01:50 04944245beec: Pull complete 07:01:52 699f458cf7ca: Pull complete 07:01:52 765212b225bb: Pull complete 07:01:53 f23df028b6ca: Pull complete 07:01:53 d65c8cfc05b1: Pull complete 07:02:08 2437ff75d9bd: Pull complete 07:02:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:02:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:02:08 prd-ubuntu20.04-docker-arm64-4c-16g-45353 does not seem to be running inside a container 07:02:08 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:02:11 $ docker top 559a8472fb602e1ea77f7c8a07b8ae92938355f5cb95a62c2e0cf3a69c3d123f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:12 ---> job-cost.sh 07:02:12 lf-activate-venv: SKIPPING 07:02:12 INFO: No Stack... 07:02:12 INFO: Retrieving Pricing Info for: v3-standard-4 07:02:13 INFO: Archiving Costs [Pipeline] sh 07:02:14 + + cat /w/workspace/device-modbus-go/4/archives/cost.csv 07:02:14 cut -d, -f6 [Pipeline] lock 07:02:14 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] 07:02:14 Resource [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] did not exist. Created. 07:02:14 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:02:14 /w/workspace/device-modbus-go/4@tmp/durable-c5b3e9e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:02:15 + echo total: 0.10999999940395355 [Pipeline] stash 07:02:15 Warning: overwriting stash ‘stack-cost’ 07:02:15 Stashed 1 file(s) [Pipeline] } 07:02:15 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-343-4-stack-cost] [Pipeline] // lock [Pipeline] } 07:02:15 $ docker stop --time=1 559a8472fb602e1ea77f7c8a07b8ae92938355f5cb95a62c2e0cf3a69c3d123f 07:02:17 $ docker rm -f 559a8472fb602e1ea77f7c8a07b8ae92938355f5cb95a62c2e0cf3a69c3d123f [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 07:02:17 provisioning config files... 07:02:17 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config1092136513691137639tmp [Pipeline] { [Pipeline] sh 07:02:17 + set +x 07:02:17 + curl+ -s https://codecov.io/bash 07:02:17 bash -s -- 07:02:17 07:02:17 _____ _ 07:02:17 / ____| | | 07:02:17 | | ___ __| | ___ ___ _____ __ 07:02:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:02:17 | |___| (_) | (_| | __/ (_| (_) \ V / 07:02:17 \_____\___/ \__,_|\___|\___\___/ \_/ 07:02:17 Bash-1.0.6 07:02:17 07:02:17 07:02:17 ==> git version 2.25.1 found 07:02:17 ==> 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 07:02:17 Release-Date: 2020-01-08 07:02:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:02:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:02:17 ==> Jenkins CI detected. 07:02:17 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-343 07:02:17 project root: . 07:02:17 --> token set from env 07:02:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:02:17 ==> Running gcov in . (disable via -X gcov) 07:02:17 ==> Python coveragepy not found 07:02:17 ==> Searching for coverage reports in: 07:02:17 + . 07:02:17 -> Found 1 reports 07:02:17 ==> Detecting git/mercurial file structure 07:02:17 ==> Reading reports 07:02:17 + ./coverage.out bytes=24065 07:02:17 ==> Appending adjustments 07:02:17 https://docs.codecov.io/docs/fixing-reports 07:02:18 + Found adjustments 07:02:18 ==> Gzipping contents 07:02:18 4.0K /tmp/codecov.fPFUHM.gz 07:02:18 ==> Uploading reports 07:02:18 url: https://codecov.io 07:02:18 query: branch=PR-343&commit=929bf354ed6ff8a4d67a131da4a7034d52ab0e5d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-343%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=343&job=&cmd_args= 07:02:18 -> Pinging Codecov 07:02:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-343&commit=929bf354ed6ff8a4d67a131da4a7034d52ab0e5d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-343%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=343&job=&cmd_args= 07:02:18 -> Uploading to 07:02:18 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/929bf354ed6ff8a4d67a131da4a7034d52ab0e5d/cbaf9180-8293-4c4a-a051-6327529925d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T070218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f7236f902465883b24a46f38a33f023660799455efc0dc2d092e7e752166b5c 07:02:18 % Total % Received % Xferd Average Speed Time Time Time Current 07:02:18 Dload Upload Total Spent Left Speed 07:02:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 15634 --:--:-- --:--:-- --:--:-- 15573 07:02:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/929bf354ed6ff8a4d67a131da4a7034d52ab0e5d [Pipeline] } 07:02:18 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 07:02:19 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-343/archives ] 07:02:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-343/archives 07:02:19 total 16 07:02:19 drwxr-xr-x 3 root root 4096 May 10 06:46 . 07:02:19 drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:46 .. 07:02:19 drwxr-xr-x 2 root root 4096 May 10 06:46 cost 07:02:19 -rw-r--r-- 1 root root 87 May 10 06:46 cost.csv 07:02:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-343/archives 07:02:19 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-343/archives 07:02:19 total 16 07:02:19 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:46 . 07:02:19 drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:46 .. 07:02:19 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:46 cost 07:02:19 -rw-r--r-- 1 jenkins jenkins 87 May 10 06:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:02:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:02:20 ---> package-listing.sh 07:02:20 ++ facter osfamily 07:02:20 ++ tr '[:upper:]' '[:lower:]' 07:02:20 + OS_FAMILY=debian 07:02:20 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-343 07:02:20 + START_PACKAGES=/tmp/packages_start.txt 07:02:20 + END_PACKAGES=/tmp/packages_end.txt 07:02:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:02:20 + PACKAGES=/tmp/packages_start.txt 07:02:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-343 ']' 07:02:20 + PACKAGES=/tmp/packages_end.txt 07:02:20 + case "${OS_FAMILY}" in 07:02:20 + dpkg -l 07:02:20 + grep '^ii' 07:02:20 + '[' -f /tmp/packages_start.txt ']' 07:02:20 + '[' -f /tmp/packages_end.txt ']' 07:02:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:02:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-343 ']' 07:02:20 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-343/archives/ 07:02:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-343/archives/ [Pipeline] echo 07:02:20 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-343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:02:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:02:21 . [Pipeline] withDockerContainer 07:02:21 prd-ubuntu20.04-docker-8c-8g-45063 does not seem to be running inside a container 07:02:21 $ 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-343/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-343 -v /w/workspace/xfoundry_device-modbus-go_PR-343:/w/workspace/xfoundry_device-modbus-go_PR-343:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-343@tmp:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:02:22 $ docker top 634b7f36bb80be2d87ad6ccfc921251f12c7bcf1e98a42fcfd1555a27a4f56f5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:22 + touch /tmp/pre-build-complete [Pipeline] sh 07:02:22 + mkdir -p /var/log/sysstat [Pipeline] sh 07:02:23 + ls /var/log/sa-host 07:02:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:02:23 provisioning config files... 07:02:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config6207610939943319343tmp [Pipeline] { [Pipeline] echo 07:02:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:02:23 ---> create-netrc.sh [Pipeline] } 07:02:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:02:23 ---> python-tools-install.sh [Pipeline] echo 07:02:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:02:24 ---> sudo-logs.sh 07:02:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:02:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:02:24 ---> job-cost.sh 07:02:24 lf-activate-venv: SKIPPING 07:02:24 DEBUG: total: 0.2199999988079071 07:02:24 INFO: Retrieving Stack Cost... 07:02:25 INFO: Retrieving Pricing Info for: v3-standard-8 07:02:25 INFO: Archiving Costs [Pipeline] echo 07:02:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:02:25 ---> logs-deploy.sh 07:02:25 lf-activate-venv: SKIPPING 07:02:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-343/4 07:02:25 INFO: archiving workspace using pattern(s): 07:02:26 Archives upload complete. 07:02:26 INFO: archiving logs to Nexus