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 e5f2a8e3721d1093ba85c237dea8e9bf07f944e2+d7023bcda15e937cec539ef29d6768596b85ffc4 (b5ab1cb6199c292c63dbba60dfce28ba6be5c402) 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-ssh549761635424783021.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-ssh1345958548102533929.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-ssh15051981491548513212.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-ssh15158750525366403564.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-ssh16680564525334838079.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-41639 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 d7023bcda15e937cec539ef29d6768596b85ffc4 into PR head commit e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 Merge succeeded, producing e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 Checking out Revision e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 (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 e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 # 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 d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 # timeout=10 Commit message: "docs: additions and changes to CHANGELOG" > git rev-list --no-walk 633f722516a358b0b6ff0b3f4522daa25bf22fc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:43:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:43:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:43:49 ========================================================= 01:43:49 EdgeX Global Pipelines Version Info 01:43:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:43:50 ------------------- 01:43:50 stable info: 01:43:50 ------------------- 01:43:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:43:50 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:43:50 Message: update stable to v1.0.227 01:43:51 ------------------- 01:43:51 experimental info: 01:43:51 ------------------- 01:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:43:51 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 01:43:51 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-343 [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-343 [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-343 [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5f2a8e [Pipeline] echo 01:43:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:51 provisioning config files... 01:43:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config7387822414978173907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:52 ---> docker-login.sh 01:43:52 nexus3.edgexfoundry.org:10001 01:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:52 Configure a credential helper to remove this warning. See 01:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:52 01:43:52 Login Succeeded 01:43:52 nexus3.edgexfoundry.org:10002 01:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:52 Configure a credential helper to remove this warning. See 01:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:52 01:43:52 Login Succeeded 01:43:52 nexus3.edgexfoundry.org:10003 01:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:52 Configure a credential helper to remove this warning. See 01:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:52 01:43:52 Login Succeeded 01:43:52 nexus3.edgexfoundry.org:10004 01:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:52 Configure a credential helper to remove this warning. See 01:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:52 01:43:52 Login Succeeded 01:43:52 docker.io 01:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:53 Configure a credential helper to remove this warning. See 01:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:53 01:43:53 Login Succeeded 01:43:53 ---> docker-login.sh ends [Pipeline] } 01:43:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:43:53 + git rev-list -1 --merges e5f2a8e3721d1093ba85c237dea8e9bf07f944e2~1..e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 [Pipeline] echo 01:43:54 -----------> git rev-list -1 --merges e5f2a8e3721d1093ba85c237dea8e9bf07f944e2~1..e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 [false] [Pipeline] sh 01:43:54 + git log --format=format:%s -1 e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 [Pipeline] echo 01:43:54 ========================================================= 01:43:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:43:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:43:54 + git log --format=format:%s -1 e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 [Pipeline] echo 01:43:54 [semverPrep] GIT_COMMIT: e5f2a8e3721d1093ba85c237dea8e9bf07f944e2, Commit Message: docs: additions and changes to CHANGELOG [Pipeline] echo 01:43:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:43:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:43:55 + grep -v github /etc/ssh/ssh_known_hosts 01:43:55 + [ -e /tmp/ssh_known_hosts ] 01:43:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:43:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:43:55 + sudo tee -a /etc/ssh/ssh_known_hosts 01:43:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:43:55 01:43:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:43:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:43:55 latest: Pulling from edgex-devops/py-git-semver 01:43:55 1fe172e4850f: Pulling fs layer 01:43:55 caf521ccaac6: Pulling fs layer 01:43:55 3ead6fa29328: Pulling fs layer 01:43:55 5c2a1cbceb83: Pulling fs layer 01:43:55 a8d5f1318db7: Pulling fs layer 01:43:55 c427282e49a2: Pulling fs layer 01:43:55 1827001aaf11: Pulling fs layer 01:43:55 0714d37db230: Pulling fs layer 01:43:55 ac28cf19c067: Pulling fs layer 01:43:55 ca983d60f3e2: Pulling fs layer 01:43:55 9f894cec8388: Pulling fs layer 01:43:55 c427282e49a2: Waiting 01:43:55 1827001aaf11: Waiting 01:43:55 0714d37db230: Waiting 01:43:55 ac28cf19c067: Waiting 01:43:55 9f894cec8388: Waiting 01:43:55 5c2a1cbceb83: Waiting 01:43:55 ca983d60f3e2: Waiting 01:43:55 a8d5f1318db7: Waiting 01:43:55 caf521ccaac6: Download complete 01:43:55 5c2a1cbceb83: Verifying Checksum 01:43:55 5c2a1cbceb83: Download complete 01:43:56 a8d5f1318db7: Verifying Checksum 01:43:56 a8d5f1318db7: Download complete 01:43:56 3ead6fa29328: Verifying Checksum 01:43:56 3ead6fa29328: Download complete 01:43:56 c427282e49a2: Verifying Checksum 01:43:56 c427282e49a2: Download complete 01:43:56 0714d37db230: Verifying Checksum 01:43:56 0714d37db230: Download complete 01:43:56 ac28cf19c067: Download complete 01:43:56 ca983d60f3e2: Verifying Checksum 01:43:56 ca983d60f3e2: Download complete 01:43:56 9f894cec8388: Verifying Checksum 01:43:56 9f894cec8388: Download complete 01:43:56 1fe172e4850f: Verifying Checksum 01:43:56 1fe172e4850f: Download complete 01:43:56 1827001aaf11: Verifying Checksum 01:43:56 1827001aaf11: Download complete 01:43:57 1fe172e4850f: Pull complete 01:43:57 caf521ccaac6: Pull complete 01:43:58 3ead6fa29328: Pull complete 01:43:58 5c2a1cbceb83: Pull complete 01:43:58 a8d5f1318db7: Pull complete 01:43:58 c427282e49a2: Pull complete 01:44:00 1827001aaf11: Pull complete 01:44:00 0714d37db230: Pull complete 01:44:00 ac28cf19c067: Pull complete 01:44:00 ca983d60f3e2: Pull complete 01:44:00 9f894cec8388: Pull complete 01:44:00 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:44:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:44:01 prd-ubuntu20.04-docker-8c-8g-41639 does not seem to be running inside a container 01:44:01 $ 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 01:44:02 $ docker top f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d -eo pid,comm 01:44:02 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). 01:44:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:44:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:44:02 [ssh-agent] Looking for ssh-agent implementation... 01:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:03 $ docker exec f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d ssh-agent 01:44:03 SSH_AUTH_SOCK=/tmp/ssh-pqtt6fdIRt8u/agent.33 01:44:03 SSH_AGENT_PID=40 01:44:03 Running ssh-add (command line suppressed) 01:44:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_4636906441943596148.key (/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_4636906441943596148.key) 01:44:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:44:03 + git tag --points-at HEAD [Pipeline] } 01:44:03 $ docker exec --env ******** --env ******** f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d ssh-agent -k 01:44:03 unset SSH_AUTH_SOCK; 01:44:03 unset SSH_AGENT_PID; 01:44:03 echo Agent pid 40 killed; 01:44:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:44:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:44:03 [ssh-agent] Looking for ssh-agent implementation... 01:44:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:44:03 $ docker exec f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d ssh-agent 01:44:04 SSH_AUTH_SOCK=/tmp/ssh-XBT4WyFMAvhB/agent.74 01:44:04 SSH_AGENT_PID=80 01:44:04 Running ssh-add (command line suppressed) 01:44:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_5282909739086773383.key (/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/private_key_5282909739086773383.key) 01:44:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:44:04 + git semver init 01:44:04 2022-05-08 01:44:04,675 [run_init] DEBUG init version:0.0.0 force:False 01:44:04 2022-05-08 01:44:04,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-343/.semver 01:44:04 2022-05-08 01:44:04,676 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-343/.semver 01:44:04 2022-05-08 01:44:04,677 [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) 01:44:05 2022-05-08 01:44:05,484 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-343/.git/info/exclude 01:44:05 2022-05-08 01:44:05,485 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-343/.semver/PR-343 with force:False 01:44:05 2022-05-08 01:44:05,485 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-343/.semver/PR-343 01:44:05 2022-05-08 01:44:05,489 [execute] INFO git cat-file --batch-check 01:44:05 2022-05-08 01:44:05,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) 01:44:05 2022-05-08 01:44:05,495 [execute] INFO git cat-file --batch 01:44:05 2022-05-08 01:44:05,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-343/.semver, universal_newlines=False, shell=None, istream=) 01:44:05 2022-05-08 01:44:05,499 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-343/.semver/PR-343 01:44:05 0.0.0 [Pipeline] } 01:44:05 $ docker exec --env ******** --env ******** f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d ssh-agent -k 01:44:05 unset SSH_AUTH_SOCK; 01:44:05 unset SSH_AGENT_PID; 01:44:05 echo Agent pid 80 killed; 01:44:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:44:06 + git semver [Pipeline] } 01:44:06 $ docker stop --time=1 f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d 01:44:08 $ docker rm -f f750c23e5b83170ce3aecef4761ae76377e64ad905293db3e615c168afb3751d [Pipeline] // withDockerContainer [Pipeline] sh 01:44:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:44:09 Stashed 1 file(s) [Pipeline] echo 01:44:09 [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 01:44:09 provisioning config files... 01:44:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config2583188643659617566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:09 ---> docker-login.sh 01:44:09 nexus3.edgexfoundry.org:10001 01:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:09 Configure a credential helper to remove this warning. See 01:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:09 01:44:09 Login Succeeded 01:44:09 nexus3.edgexfoundry.org:10002 01:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:10 Configure a credential helper to remove this warning. See 01:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:10 01:44:10 Login Succeeded 01:44:10 nexus3.edgexfoundry.org:10003 01:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:10 Configure a credential helper to remove this warning. See 01:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:10 01:44:10 Login Succeeded 01:44:10 nexus3.edgexfoundry.org:10004 01:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:10 Configure a credential helper to remove this warning. See 01:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:10 01:44:10 Login Succeeded 01:44:10 docker.io 01:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:10 Configure a credential helper to remove this warning. See 01:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:10 01:44:10 Login Succeeded 01:44:10 ---> docker-login.sh ends [Pipeline] } 01:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:44:10 ========================================================= 01:44:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:44:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:44:10 + 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 . 01:44:10 Sending build context to Docker daemon 5.898MB 01:44:10 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 01:44:10 Step 2/10 : FROM ${BASE} AS builder 01:44:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:44:11 59bf1c3509f3: Pulling fs layer 01:44:11 666ba61612fd: Pulling fs layer 01:44:11 8ed8ca486205: Pulling fs layer 01:44:11 4fe6c5a15a65: Pulling fs layer 01:44:11 22a0e8bec74d: Pulling fs layer 01:44:11 ca2b28591e48: Pulling fs layer 01:44:11 a51346096db8: Pulling fs layer 01:44:11 daebc70d1ce1: Pulling fs layer 01:44:11 0e18a0eac166: Pulling fs layer 01:44:11 4fe6c5a15a65: Waiting 01:44:11 22a0e8bec74d: Waiting 01:44:11 ca2b28591e48: Waiting 01:44:11 a51346096db8: Waiting 01:44:11 daebc70d1ce1: Waiting 01:44:11 0e18a0eac166: Waiting 01:44:11 8ed8ca486205: Download complete 01:44:11 666ba61612fd: Download complete 01:44:11 22a0e8bec74d: Verifying Checksum 01:44:11 22a0e8bec74d: Download complete 01:44:11 ca2b28591e48: Verifying Checksum 01:44:11 ca2b28591e48: Download complete 01:44:11 a51346096db8: Verifying Checksum 01:44:11 a51346096db8: Download complete 01:44:11 59bf1c3509f3: Verifying Checksum 01:44:11 59bf1c3509f3: Download complete 01:44:11 daebc70d1ce1: Verifying Checksum 01:44:11 daebc70d1ce1: Download complete 01:44:11 59bf1c3509f3: Pull complete 01:44:11 666ba61612fd: Pull complete 01:44:11 8ed8ca486205: Pull complete 01:44:11 0e18a0eac166: Verifying Checksum 01:44:11 0e18a0eac166: Download complete 01:44:11 4fe6c5a15a65: Verifying Checksum 01:44:11 4fe6c5a15a65: Download complete 01:44:16 4fe6c5a15a65: Pull complete 01:44:16 22a0e8bec74d: Pull complete 01:44:16 ca2b28591e48: Pull complete 01:44:16 a51346096db8: Pull complete 01:44:16 daebc70d1ce1: Pull complete 01:44:18 0e18a0eac166: Pull complete 01:44:18 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:44:18 ---> f018257e8ee9 01:44:18 Step 3/10 : ARG MAKE='make build' 01:44:20 ---> Running in 8dbe96823941 01:44:20 Removing intermediate container 8dbe96823941 01:44:20 ---> 283b2542ce46 01:44:20 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:44:20 ---> Running in 3e6079bd8ece 01:44:20 Removing intermediate container 3e6079bd8ece 01:44:20 ---> 16839d34aeea 01:44:20 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:44:21 ---> Running in badb98116f99 01:44:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:44:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:44:22 (1/8) Installing openssh-keygen (8.8_p1-r1) 01:44:22 (2/8) Installing libedit (20210910.3.1-r0) 01:44:22 (3/8) Installing openssh-client-common (8.8_p1-r1) 01:44:22 (4/8) Installing openssh-client-default (8.8_p1-r1) 01:44:22 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 01:44:23 (6/8) Installing openssh-server-common (8.8_p1-r1) 01:44:23 (7/8) Installing openssh-server (8.8_p1-r1) 01:44:23 (8/8) Installing openssh (8.8_p1-r1) 01:44:23 Executing busybox-1.34.1-r3.trigger 01:44:23 OK: 226 MiB in 60 packages 01:44:24 Removing intermediate container badb98116f99 01:44:24 ---> b785489b579e 01:44:24 Step 6/10 : WORKDIR /device-modbus-go 01:44:24 ---> Running in a92da1f5b7a1 01:44:24 Removing intermediate container a92da1f5b7a1 01:44:24 ---> 446adc9e7bee 01:44:24 Step 7/10 : COPY go.mod vendor* ./ 01:44:24 ---> 74ec1749e1a7 01:44:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:44:24 ---> Running in 1525cf93bbb9 01:44:24 Still waiting to schedule task 01:44:24 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:44:24 ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:44:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41641’ is offline 01:44:39 Removing intermediate container 1525cf93bbb9 01:44:39 ---> aa36af2ad8b7 01:44:39 Step 9/10 : COPY . . 01:44:39 ---> 2867f4458389 01:44:39 Step 10/10 : RUN ${MAKE} 01:44:39 ---> Running in f980795f6068 01:44:40 noop 01:44:40 Removing intermediate container f980795f6068 01:44:40 ---> 934909dd2e4e 01:44:40 Successfully built 934909dd2e4e 01:44:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:44:41 + docker inspect -f . ci-base-image-x86_64 01:44:41 . [Pipeline] withDockerContainer 01:44:41 prd-ubuntu20.04-docker-8c-8g-41639 does not seem to be running inside a container 01:44:41 $ 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 01:44:41 $ docker top a64d20d9b8caa570d666e5b28d97c2c3bd30c708503f5c0037df1ea75460eaf6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:42 + go version 01:44:42 go version go1.17.6 linux/amd64 [Pipeline] } 01:44:42 $ docker stop --time=1 a64d20d9b8caa570d666e5b28d97c2c3bd30c708503f5c0037df1ea75460eaf6 01:44:43 $ docker rm -f a64d20d9b8caa570d666e5b28d97c2c3bd30c708503f5c0037df1ea75460eaf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:44:43 + docker inspect -f . ci-base-image-x86_64 01:44:43 . [Pipeline] withDockerContainer 01:44:44 prd-ubuntu20.04-docker-8c-8g-41639 does not seem to be running inside a container 01:44:44 $ 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 01:44:44 $ docker top 66d0852556a0f1814619bef91baff92b1379e823d330a2f2beb25d3ff85ae9da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:44:44 + make test 01:44:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:44:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:44:55 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:44:55 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements 01:45:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:45:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:45:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:45:05 ./bin/test-attribution-txt.sh [Pipeline] echo 01:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:45:05 $ docker stop --time=1 66d0852556a0f1814619bef91baff92b1379e823d330a2f2beb25d3ff85ae9da 01:45:07 $ docker rm -f 66d0852556a0f1814619bef91baff92b1379e823d330a2f2beb25d3ff85ae9da [Pipeline] // withDockerContainer [Pipeline] sh 01:45:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:45:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:45:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:45:08 + ls -al . 01:45:08 total 184 01:45:08 drwxrwxr-x 10 jenkins jenkins 4096 May 8 01:45 . 01:45:08 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:43 .. 01:45:08 -rw-rw-r-- 1 jenkins jenkins 140 May 8 01:43 .dockerignore 01:45:08 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:44 .git 01:45:08 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:43 .github 01:45:08 -rw-rw-r-- 1 jenkins jenkins 331 May 8 01:43 .gitignore 01:45:08 -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:43 .golangci.yml 01:45:08 drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:44 .semver 01:45:08 -rw-rw-r-- 1 jenkins jenkins 9377 May 8 01:43 Attribution.txt 01:45:08 -rw-rw-r-- 1 jenkins jenkins 10001 May 8 01:43 CHANGELOG.md 01:45:08 -rw-rw-r-- 1 jenkins jenkins 1546 May 8 01:43 Dockerfile 01:45:08 -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:43 GOVERNANCE.md 01:45:08 -rw-rw-r-- 1 jenkins jenkins 680 May 8 01:43 Jenkinsfile 01:45:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:43 LICENSE 01:45:08 -rw-rw-r-- 1 jenkins jenkins 1905 May 8 01:43 Makefile 01:45:08 -rw-rw-r-- 1 jenkins jenkins 622 May 8 01:43 OWNERS.md 01:45:08 -rw-rw-r-- 1 jenkins jenkins 3397 May 8 01:43 README.md 01:45:08 -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:44 VERSION 01:45:08 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:43 bin 01:45:08 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:43 cmd 01:45:08 -rw-r--r-- 1 jenkins jenkins 24065 May 8 01:44 coverage.out 01:45:08 -rw-rw-r-- 1 jenkins jenkins 3399 May 8 01:43 go.mod 01:45:08 -rw-rw-r-- 1 jenkins jenkins 35440 May 8 01:43 go.sum 01:45:08 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:43 internal 01:45:08 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:43 simulator 01:45:08 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:43 snap 01:45:08 -rw-rw-r-- 1 jenkins jenkins 229 May 8 01:43 version.go [Pipeline] isUnix [Pipeline] sh 01:45:09 + 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=e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 --label arch=amd64 --label version=0.0.0 . 01:45:09 Sending build context to Docker daemon 5.923MB 01:45:09 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 01:45:09 Step 2/23 : FROM ${BASE} AS builder 01:45:09 ---> 934909dd2e4e 01:45:09 Step 3/23 : ARG MAKE='make build' 01:45:09 ---> Running in cf812fd53161 01:45:09 Removing intermediate container cf812fd53161 01:45:09 ---> 1acba0bca7c4 01:45:09 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:09 ---> Running in fdd7d9dcf2e8 01:45:09 Removing intermediate container fdd7d9dcf2e8 01:45:09 ---> 256d999289d7 01:45:09 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:45:09 ---> Running in 1a21633f6008 01:45:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:45:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:45:11 OK: 226 MiB in 60 packages 01:45:11 Removing intermediate container 1a21633f6008 01:45:11 ---> d4b60c515d98 01:45:11 Step 6/23 : WORKDIR /device-modbus-go 01:45:11 ---> Running in 4b064714f0e6 01:45:11 Removing intermediate container 4b064714f0e6 01:45:11 ---> f02c99210e29 01:45:11 Step 7/23 : COPY go.mod vendor* ./ 01:45:12 ---> cf93054c2066 01:45:12 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:12 ---> Running in d3407943e31a 01:45:13 Removing intermediate container d3407943e31a 01:45:13 ---> f471c75f6f99 01:45:13 Step 9/23 : COPY . . 01:45:13 ---> 202bbec30b41 01:45:13 Step 10/23 : RUN ${MAKE} 01:45:13 ---> Running in baa069fea314 01:45:13 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 01:45:35 Removing intermediate container baa069fea314 01:45:35 ---> 9160303abb2a 01:45:35 Step 11/23 : FROM alpine:3.14 01:45:35 3.14: Pulling from library/alpine 01:45:35 8663204ce13b: Pulling fs layer 01:45:35 8663204ce13b: Verifying Checksum 01:45:35 8663204ce13b: Download complete 01:45:35 8663204ce13b: Pull complete 01:45:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:45:35 Status: Downloaded newer image for alpine:3.14 01:45:35 ---> e04c818066af 01:45:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:45:35 ---> Running in 13431b7e2397 01:45:35 Removing intermediate container 13431b7e2397 01:45:35 ---> 714be6a343b5 01:45:35 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:35 ---> Running in ed7ba77beb84 01:45:35 Removing intermediate container ed7ba77beb84 01:45:35 ---> dd23cea84369 01:45:35 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 01:45:35 ---> Running in 077856b7539e 01:45:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:45:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:45:36 (1/6) Installing dumb-init (1.2.5-r1) 01:45:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:45:36 (3/6) Installing libsodium (1.0.18-r0) 01:45:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:45:37 (5/6) Installing libzmq (4.3.4-r0) 01:45:37 (6/6) Installing zeromq (4.3.4-r0) 01:45:37 Executing busybox-1.33.1-r7.trigger 01:45:37 OK: 8 MiB in 20 packages 01:45:37 Removing intermediate container 077856b7539e 01:45:37 ---> 63434e6515d7 01:45:37 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:45:38 ---> 961f0f7fd9bb 01:45:38 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:45:38 ---> 322dea871cba 01:45:38 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:45:38 ---> 1276a27a4ac4 01:45:38 Step 18/23 : EXPOSE 59901 01:45:38 ---> Running in ca0b0c34f88e 01:45:38 Removing intermediate container ca0b0c34f88e 01:45:38 ---> 133f36fa63a3 01:45:38 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:45:38 ---> Running in ed784057c980 01:45:38 Removing intermediate container ed784057c980 01:45:38 ---> 6f2665d56640 01:45:38 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:45:38 ---> Running in d0b839614831 01:45:38 Removing intermediate container d0b839614831 01:45:38 ---> 1412932e68c9 01:45:38 Step 21/23 : LABEL arch=amd64 01:45:38 ---> Running in f19e56444521 01:45:39 Removing intermediate container f19e56444521 01:45:39 ---> 60f3c8473cb6 01:45:39 Step 22/23 : LABEL git_sha=e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 01:45:39 ---> Running in 46ae7fc1c561 01:45:39 Removing intermediate container 46ae7fc1c561 01:45:39 ---> 1f630cab5d62 01:45:39 Step 23/23 : LABEL version=0.0.0 01:45:39 ---> Running in 4bc5a30c37b6 01:45:39 Removing intermediate container 4bc5a30c37b6 01:45:39 ---> 42abef1af996 01:45:39 [Warning] One or more build-args [ARCH] were not consumed 01:45:39 Successfully built 42abef1af996 01:45:39 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 01:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:39 01:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:45:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:40 latest: Pulling from edgex-lftools-log-publisher 01:45:40 5eb5b503b376: Pulling fs layer 01:45:40 5c69ac0246d0: Pulling fs layer 01:45:40 ec43610c2a17: Pulling fs layer 01:45:40 3a2ae6a8a46f: Pulling fs layer 01:45:40 33b1e0a273af: Pulling fs layer 01:45:40 5d3b04190fa2: Pulling fs layer 01:45:40 3a2ae6a8a46f: Waiting 01:45:40 33b1e0a273af: Waiting 01:45:40 2f39f015ded8: Pulling fs layer 01:45:40 2f39f015ded8: Waiting 01:45:40 5d3b04190fa2: Waiting 01:45:40 5c69ac0246d0: Verifying Checksum 01:45:40 5c69ac0246d0: Download complete 01:45:40 3a2ae6a8a46f: Verifying Checksum 01:45:40 3a2ae6a8a46f: Download complete 01:45:40 33b1e0a273af: Verifying Checksum 01:45:40 33b1e0a273af: Download complete 01:45:40 ec43610c2a17: Verifying Checksum 01:45:40 ec43610c2a17: Download complete 01:45:40 5d3b04190fa2: Download complete 01:45:40 5eb5b503b376: Verifying Checksum 01:45:40 5eb5b503b376: Download complete 01:45:41 2f39f015ded8: Download complete 01:45:41 5eb5b503b376: Pull complete 01:45:41 5c69ac0246d0: Pull complete 01:45:42 ec43610c2a17: Pull complete 01:45:42 3a2ae6a8a46f: Pull complete 01:45:42 33b1e0a273af: Pull complete 01:45:42 5d3b04190fa2: Pull complete 01:45:46 2f39f015ded8: Pull complete 01:45:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:45:46 prd-ubuntu20.04-docker-8c-8g-41639 does not seem to be running inside a container 01:45:47 $ 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 01:45:49 $ docker top 659c1bd3a7a12203a4ef265841ef8524bd48c3c58dbef55dcf3b32d0430f9850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:49 ---> job-cost.sh 01:45:49 lf-activate-venv: SKIPPING 01:45:49 INFO: No Stack... 01:45:49 INFO: Retrieving Pricing Info for: v3-standard-8 01:45:50 INFO: Archiving Costs [Pipeline] sh 01:45:50 + cat /w/workspace/xfoundry_device-modbus-go_PR-343/archives/cost.csv 01:45:50 + cut -d, -f6 [Pipeline] lock 01:45:50 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] 01:45:50 Resource [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] did not exist. Created. 01:45:50 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:45:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:45:51 Stashed 1 file(s) [Pipeline] } 01:45:51 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:45:51 $ docker stop --time=1 659c1bd3a7a12203a4ef265841ef8524bd48c3c58dbef55dcf3b32d0430f9850 01:45:52 $ docker rm -f 659c1bd3a7a12203a4ef265841ef8524bd48c3c58dbef55dcf3b32d0430f9850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:46:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41644 in /w/workspace/xfoundry_device-modbus-go_PR-343 [Pipeline] { [Pipeline] ws 01:46:25 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 01:46:25 Selected Git installation does not exist. Using Default 01:46:25 The recommended git tool is: NONE 01:46:32 using credential edgex-jenkins-ssh 01:46:32 Cloning the remote Git repository 01:46:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:46:32 > git init /w/workspace/device-modbus-go/2 # timeout=10 01:46:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:46:33 > git --version # timeout=10 01:46:33 > git --version # 'git version 2.25.1' 01:46:33 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:46:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:46:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:34 > 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 01:46:35 Merging remotes/origin/main commit d7023bcda15e937cec539ef29d6768596b85ffc4 into PR head commit e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 01:46:35 Merge succeeded, producing e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 01:46:35 Checking out Revision e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 (PR-343) 01:46:35 > git config core.sparsecheckout # timeout=10 01:46:35 > git checkout -f e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 # timeout=10 01:46:35 > git remote # timeout=10 01:46:35 > git config --get remote.origin.url # timeout=10 01:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:35 > git merge d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 01:46:35 > git rev-parse HEAD^{commit} # timeout=10 01:46:35 > git config core.sparsecheckout # timeout=10 01:46:35 > git checkout -f e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 # timeout=10 01:46:39 Commit message: "docs: additions and changes to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:46:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:46:40 Dload Upload Total Spent Left Speed 01:46:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 01:46:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:46:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:46:41 + sudo tee /etc/docker/daemon.new 01:46:41 { 01:46:41 "registry-mirrors": [ 01:46:41 "https://nexus3.edgexfoundry.org:10001" 01:46:41 ], 01:46:41 "bip": "10.250.0.254/24", 01:46:41 "hosts": [ 01:46:41 "tcp://0.0.0.0:5555", 01:46:41 "unix:///var/run/docker.sock" 01:46:41 ], 01:46:41 "mtu": 1458, 01:46:41 "selinux-enabled": true, 01:46:41 "seccomp-profile": "/etc/docker/seccomp.json" 01:46:41 } [Pipeline] sh 01:46:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:46:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:00 provisioning config files... 01:47:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config6247621117792147917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:00 ---> docker-login.sh 01:47:00 nexus3.edgexfoundry.org:10001 01:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:01 Configure a credential helper to remove this warning. See 01:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:01 01:47:01 Login Succeeded 01:47:02 nexus3.edgexfoundry.org:10002 01:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:02 Configure a credential helper to remove this warning. See 01:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:02 01:47:02 Login Succeeded 01:47:02 nexus3.edgexfoundry.org:10003 01:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:03 Configure a credential helper to remove this warning. See 01:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:03 01:47:03 Login Succeeded 01:47:03 nexus3.edgexfoundry.org:10004 01:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:03 Configure a credential helper to remove this warning. See 01:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:03 01:47:03 Login Succeeded 01:47:03 docker.io 01:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:04 Configure a credential helper to remove this warning. See 01:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:04 01:47:04 Login Succeeded 01:47:04 ---> docker-login.sh ends [Pipeline] } 01:47:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:47:05 ========================================================= 01:47:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:47:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:47:05 + 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 . 01:47:05 Sending build context to Docker daemon 3.086MB 01:47:06 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 01:47:06 Step 2/10 : FROM ${BASE} AS builder 01:47:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:47:06 9b3977197b4f: Pulling fs layer 01:47:06 1a89e8eeedd5: Pulling fs layer 01:47:06 94645a83ff95: Pulling fs layer 01:47:06 3f3a8bcf1eab: Pulling fs layer 01:47:06 0c92f367c5e7: Pulling fs layer 01:47:06 3096ccb668a1: Pulling fs layer 01:47:06 e8cf19c19ddd: Pulling fs layer 01:47:06 a4caa8a26152: Pulling fs layer 01:47:06 3f3a8bcf1eab: Waiting 01:47:06 0c92f367c5e7: Waiting 01:47:06 e8cf19c19ddd: Waiting 01:47:06 3096ccb668a1: Waiting 01:47:06 a4caa8a26152: Waiting 01:47:06 94645a83ff95: Verifying Checksum 01:47:06 94645a83ff95: Download complete 01:47:06 1a89e8eeedd5: Verifying Checksum 01:47:06 1a89e8eeedd5: Download complete 01:47:06 0c92f367c5e7: Verifying Checksum 01:47:06 0c92f367c5e7: Download complete 01:47:06 3096ccb668a1: Verifying Checksum 01:47:06 3096ccb668a1: Download complete 01:47:06 9b3977197b4f: Verifying Checksum 01:47:06 9b3977197b4f: Download complete 01:47:06 e8cf19c19ddd: Verifying Checksum 01:47:06 e8cf19c19ddd: Download complete 01:47:07 9b3977197b4f: Pull complete 01:47:08 1a89e8eeedd5: Pull complete 01:47:08 94645a83ff95: Pull complete 01:47:08 a4caa8a26152: Download complete 01:47:09 3f3a8bcf1eab: Verifying Checksum 01:47:09 3f3a8bcf1eab: Download complete 01:47:24 3f3a8bcf1eab: Pull complete 01:47:24 0c92f367c5e7: Pull complete 01:47:24 3096ccb668a1: Pull complete 01:47:24 e8cf19c19ddd: Pull complete 01:47:29 a4caa8a26152: Pull complete 01:47:29 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:47:29 ---> 725f1c02e7f9 01:47:29 Step 3/10 : ARG MAKE='make build' 01:47:30 ---> Running in 9f3c07982f50 01:47:30 Removing intermediate container 9f3c07982f50 01:47:30 ---> dbee343fb349 01:47:30 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:47:30 ---> Running in 295a7e57d222 01:47:32 Removing intermediate container 295a7e57d222 01:47:32 ---> 7d9073d4c0bc 01:47:32 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:47:32 ---> Running in a8192c261d95 01:47:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:47:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:47:36 (1/8) Installing openssh-keygen (8.8_p1-r1) 01:47:37 (2/8) Installing libedit (20210910.3.1-r0) 01:47:37 (3/8) Installing openssh-client-common (8.8_p1-r1) 01:47:37 (4/8) Installing openssh-client-default (8.8_p1-r1) 01:47:37 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 01:47:37 (6/8) Installing openssh-server-common (8.8_p1-r1) 01:47:37 (7/8) Installing openssh-server (8.8_p1-r1) 01:47:37 (8/8) Installing openssh (8.8_p1-r1) 01:47:37 Executing busybox-1.34.1-r3.trigger 01:47:37 OK: 226 MiB in 60 packages 01:47:38 Removing intermediate container a8192c261d95 01:47:38 ---> 5c5683c484ef 01:47:38 Step 6/10 : WORKDIR /device-modbus-go 01:47:38 ---> Running in 08284351270f 01:47:39 Removing intermediate container 08284351270f 01:47:39 ---> c3ac1154520f 01:47:39 Step 7/10 : COPY go.mod vendor* ./ 01:47:39 ---> bcce128bf1dc 01:47:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:39 ---> Running in 85fd61e4ffe6 01:48:26 Removing intermediate container 85fd61e4ffe6 01:48:26 ---> 066b133f71bf 01:48:26 Step 9/10 : COPY . . 01:48:28 ---> f39bd9e7d018 01:48:28 Step 10/10 : RUN ${MAKE} 01:48:28 ---> Running in b6f38b458651 01:48:29 noop 01:48:29 Removing intermediate container b6f38b458651 01:48:29 ---> e52c50fd5987 01:48:29 Successfully built e52c50fd5987 01:48:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:48:30 + docker inspect -f . ci-base-image-arm64 01:48:30 . [Pipeline] withDockerContainer 01:48:30 prd-ubuntu20.04-docker-arm64-4c-16g-41644 does not seem to be running inside a container 01:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 01:48:31 $ docker top 61881f5a0a9c89beb38bf7799e8d50e7331504113206d66f6c13cdabd31aa7e1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:32 + go version 01:48:32 go version go1.17.6 linux/arm64 [Pipeline] } 01:48:32 $ docker stop --time=1 61881f5a0a9c89beb38bf7799e8d50e7331504113206d66f6c13cdabd31aa7e1 01:48:34 $ docker rm -f 61881f5a0a9c89beb38bf7799e8d50e7331504113206d66f6c13cdabd31aa7e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:34 + docker inspect -f . ci-base-image-arm64 01:48:34 . [Pipeline] withDockerContainer 01:48:35 prd-ubuntu20.04-docker-arm64-4c-16g-41644 does not seem to be running inside a container 01:48:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 01:48:36 $ docker top 1a2a02493bc5682928d7dc164748e6531bf8a1f33f250fb6a3ffeb4a74e7ef6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:48:37 + make test 01:48:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:48:38 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:50:00 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:50:00 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 46.4% of statements 01:50:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:50:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:50:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:33 ./bin/test-attribution-txt.sh [Pipeline] echo 01:50:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:50:33 $ docker stop --time=1 1a2a02493bc5682928d7dc164748e6531bf8a1f33f250fb6a3ffeb4a74e7ef6b 01:50:34 $ docker rm -f 1a2a02493bc5682928d7dc164748e6531bf8a1f33f250fb6a3ffeb4a74e7ef6b [Pipeline] // withDockerContainer [Pipeline] sh 01:50:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:35 Warning: overwriting stash ‘coverage-report’ 01:50:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:37 + ls -al . 01:50:37 total 180 01:50:37 drwxrwxr-x 9 jenkins jenkins 4096 May 8 01:50 . 01:50:37 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:46 .. 01:50:37 -rw-rw-r-- 1 jenkins jenkins 140 May 8 01:46 .dockerignore 01:50:37 drwxrwxr-x 8 jenkins jenkins 4096 May 8 01:46 .git 01:50:37 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:46 .github 01:50:37 -rw-rw-r-- 1 jenkins jenkins 331 May 8 01:46 .gitignore 01:50:37 -rw-rw-r-- 1 jenkins jenkins 41 May 8 01:46 .golangci.yml 01:50:37 -rw-rw-r-- 1 jenkins jenkins 9377 May 8 01:46 Attribution.txt 01:50:37 -rw-rw-r-- 1 jenkins jenkins 10001 May 8 01:46 CHANGELOG.md 01:50:37 -rw-rw-r-- 1 jenkins jenkins 1546 May 8 01:46 Dockerfile 01:50:37 -rw-rw-r-- 1 jenkins jenkins 677 May 8 01:46 GOVERNANCE.md 01:50:37 -rw-rw-r-- 1 jenkins jenkins 680 May 8 01:46 Jenkinsfile 01:50:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 01:46 LICENSE 01:50:37 -rw-rw-r-- 1 jenkins jenkins 1905 May 8 01:46 Makefile 01:50:37 -rw-rw-r-- 1 jenkins jenkins 622 May 8 01:46 OWNERS.md 01:50:37 -rw-rw-r-- 1 jenkins jenkins 3397 May 8 01:46 README.md 01:50:37 -rw-rw-r-- 1 jenkins jenkins 5 May 8 01:44 VERSION 01:50:37 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:46 bin 01:50:37 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:46 cmd 01:50:37 -rw-r--r-- 1 jenkins jenkins 24065 May 8 01:49 coverage.out 01:50:37 -rw-rw-r-- 1 jenkins jenkins 3399 May 8 01:46 go.mod 01:50:37 -rw-rw-r-- 1 jenkins jenkins 35440 May 8 01:46 go.sum 01:50:37 drwxrwxr-x 3 jenkins jenkins 4096 May 8 01:46 internal 01:50:37 drwxrwxr-x 2 jenkins jenkins 4096 May 8 01:46 simulator 01:50:37 drwxrwxr-x 4 jenkins jenkins 4096 May 8 01:46 snap 01:50:37 -rw-rw-r-- 1 jenkins jenkins 229 May 8 01:46 version.go [Pipeline] isUnix [Pipeline] sh 01:50:37 + 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=e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 --label arch=arm64 --label version=0.0.0 . 01:50:37 Sending build context to Docker daemon 3.111MB 01:50:38 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 01:50:38 Step 2/23 : FROM ${BASE} AS builder 01:50:38 ---> e52c50fd5987 01:50:38 Step 3/23 : ARG MAKE='make build' 01:50:38 ---> Running in aec9958dfa99 01:50:38 Removing intermediate container aec9958dfa99 01:50:38 ---> 4d39a791a33d 01:50:38 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:38 ---> Running in eaa54e4b4dd8 01:50:40 Removing intermediate container eaa54e4b4dd8 01:50:40 ---> 19b7ec9e51e6 01:50:40 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 01:50:40 ---> Running in b9f4792861fa 01:50:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:50:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:50:43 OK: 226 MiB in 60 packages 01:50:43 Removing intermediate container b9f4792861fa 01:50:43 ---> cd64df9a66c9 01:50:43 Step 6/23 : WORKDIR /device-modbus-go 01:50:43 ---> Running in f1ab7863a3e5 01:50:44 Removing intermediate container f1ab7863a3e5 01:50:44 ---> e535b1608ce7 01:50:44 Step 7/23 : COPY go.mod vendor* ./ 01:50:44 ---> 617167ebff24 01:50:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:44 ---> Running in ef84433aa92e 01:50:46 Removing intermediate container ef84433aa92e 01:50:46 ---> 86506568a3b0 01:50:46 Step 9/23 : COPY . . 01:50:47 ---> cea5b64c312b 01:50:47 Step 10/23 : RUN ${MAKE} 01:50:47 ---> Running in 5fa1bdd6b194 01:50:48 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 01:53:10 Removing intermediate container 5fa1bdd6b194 01:53:10 ---> b759db14ed93 01:53:10 Step 11/23 : FROM alpine:3.14 01:53:10 3.14: Pulling from library/alpine 01:53:10 455c02918c45: Pulling fs layer 01:53:10 455c02918c45: Verifying Checksum 01:53:10 455c02918c45: Download complete 01:53:10 455c02918c45: Pull complete 01:53:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:53:10 Status: Downloaded newer image for alpine:3.14 01:53:10 ---> ac73e934f311 01:53:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:53:10 ---> Running in 7302b1564998 01:53:10 Removing intermediate container 7302b1564998 01:53:10 ---> 0db39cd9d1df 01:53:10 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:53:10 ---> Running in 89504b74031b 01:53:10 Removing intermediate container 89504b74031b 01:53:10 ---> 56c66123ab28 01:53:10 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 01:53:10 ---> Running in a6d926e0b4c9 01:53:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:53:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:53:10 (1/6) Installing dumb-init (1.2.5-r1) 01:53:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:53:10 (3/6) Installing libsodium (1.0.18-r0) 01:53:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:53:10 (5/6) Installing libzmq (4.3.4-r0) 01:53:10 (6/6) Installing zeromq (4.3.4-r0) 01:53:10 Executing busybox-1.33.1-r7.trigger 01:53:10 OK: 8 MiB in 20 packages 01:53:10 Removing intermediate container a6d926e0b4c9 01:53:10 ---> d88f9dafed2f 01:53:10 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:53:10 ---> ff887185004a 01:53:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:53:10 ---> a4c6d438fc62 01:53:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:53:10 ---> e2f8d8feabb8 01:53:10 Step 18/23 : EXPOSE 59901 01:53:10 ---> Running in dc3957a78560 01:53:10 Removing intermediate container dc3957a78560 01:53:10 ---> 327c99d3ef45 01:53:10 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:53:10 ---> Running in 81b405d585b5 01:53:10 Removing intermediate container 81b405d585b5 01:53:10 ---> 4c4684218edd 01:53:10 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:53:10 ---> Running in 8048cbbaec65 01:53:10 Removing intermediate container 8048cbbaec65 01:53:10 ---> 13d9b11652b9 01:53:10 Step 21/23 : LABEL arch=arm64 01:53:10 ---> Running in 726b7a23fc86 01:53:11 Removing intermediate container 726b7a23fc86 01:53:11 ---> 21b4bbc10539 01:53:11 Step 22/23 : LABEL git_sha=e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 01:53:11 ---> Running in 5c1f51d79bcd 01:53:11 Removing intermediate container 5c1f51d79bcd 01:53:11 ---> 93c89a38af05 01:53:11 Step 23/23 : LABEL version=0.0.0 01:53:11 ---> Running in 44681a865eaf 01:53:11 Removing intermediate container 44681a865eaf 01:53:11 ---> d571adb9d25c 01:53:11 [Warning] One or more build-args [ARCH] were not consumed 01:53:11 Successfully built d571adb9d25c 01:53:11 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 01:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:12 01:53:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:53:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:12 arm64: Pulling from edgex-lftools-log-publisher 01:53:12 8998bd30e6a1: Pulling fs layer 01:53:12 04944245beec: Pulling fs layer 01:53:12 699f458cf7ca: Pulling fs layer 01:53:12 765212b225bb: Pulling fs layer 01:53:12 f23df028b6ca: Pulling fs layer 01:53:12 d65c8cfc05b1: Pulling fs layer 01:53:12 2437ff75d9bd: Pulling fs layer 01:53:12 765212b225bb: Waiting 01:53:12 f23df028b6ca: Waiting 01:53:12 d65c8cfc05b1: Waiting 01:53:12 2437ff75d9bd: Waiting 01:53:12 04944245beec: Verifying Checksum 01:53:12 04944245beec: Download complete 01:53:12 765212b225bb: Download complete 01:53:12 f23df028b6ca: Verifying Checksum 01:53:12 f23df028b6ca: Download complete 01:53:12 d65c8cfc05b1: Verifying Checksum 01:53:12 d65c8cfc05b1: Download complete 01:53:13 699f458cf7ca: Verifying Checksum 01:53:13 699f458cf7ca: Download complete 01:53:13 8998bd30e6a1: Verifying Checksum 01:53:13 8998bd30e6a1: Download complete 01:53:15 2437ff75d9bd: Verifying Checksum 01:53:15 2437ff75d9bd: Download complete 01:53:17 8998bd30e6a1: Pull complete 01:53:18 04944245beec: Pull complete 01:53:19 699f458cf7ca: Pull complete 01:53:19 765212b225bb: Pull complete 01:53:20 f23df028b6ca: Pull complete 01:53:21 d65c8cfc05b1: Pull complete 01:53:36 2437ff75d9bd: Pull complete 01:53:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:53:36 prd-ubuntu20.04-docker-arm64-4c-16g-41644 does not seem to be running inside a container 01:53:36 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 01:53:39 $ docker top dd0fd9b1afe862702ce9c83e00f7d4671a46f9f718bdf1f401272f0bd8c79702 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:40 ---> job-cost.sh 01:53:40 lf-activate-venv: SKIPPING 01:53:40 INFO: No Stack... 01:53:41 INFO: Retrieving Pricing Info for: v3-standard-4 01:53:42 INFO: Archiving Costs [Pipeline] sh 01:53:42 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 01:53:42 + cut -d, -f6 [Pipeline] lock 01:53:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] 01:53:42 Resource [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] did not exist. Created. 01:53:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:53:43 /w/workspace/device-modbus-go/2@tmp/durable-c5cff37f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:53:44 + echo total: 0.10999999940395355 [Pipeline] stash 01:53:44 Warning: overwriting stash ‘stack-cost’ 01:53:44 Stashed 1 file(s) [Pipeline] } 01:53:44 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-343-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:53:44 $ docker stop --time=1 dd0fd9b1afe862702ce9c83e00f7d4671a46f9f718bdf1f401272f0bd8c79702 01:53:45 $ docker rm -f dd0fd9b1afe862702ce9c83e00f7d4671a46f9f718bdf1f401272f0bd8c79702 [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 01:53:46 provisioning config files... 01:53:46 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config9070490052491385554tmp [Pipeline] { [Pipeline] sh 01:53:46 + set +x 01:53:46 + curl -s https://codecov.io/bash 01:53:46 + bash -s -- 01:53:46 01:53:46 _____ _ 01:53:46 / ____| | | 01:53:46 | | ___ __| | ___ ___ _____ __ 01:53:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:53:46 | |___| (_) | (_| | __/ (_| (_) \ V / 01:53:46 \_____\___/ \__,_|\___|\___\___/ \_/ 01:53:46 Bash-1.0.6 01:53:46 01:53:46 01:53:46 ==> git version 2.25.1 found 01:53:46 ==> 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 01:53:46 Release-Date: 2020-01-08 01:53:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:53:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:53:46 ==> Jenkins CI detected. 01:53:46 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-343 01:53:46 project root: . 01:53:46 --> token set from env 01:53:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:53:46 ==> Running gcov in . (disable via -X gcov) 01:53:46 ==> Python coveragepy not found 01:53:46 ==> Searching for coverage reports in: 01:53:46 + . 01:53:46 -> Found 1 reports 01:53:46 ==> Detecting git/mercurial file structure 01:53:46 ==> Reading reports 01:53:46 + ./coverage.out bytes=24065 01:53:46 ==> Appending adjustments 01:53:46 https://docs.codecov.io/docs/fixing-reports 01:53:46 + Found adjustments 01:53:46 ==> Gzipping contents 01:53:46 4.0K /tmp/codecov.ceOVad.gz 01:53:46 ==> Uploading reports 01:53:46 url: https://codecov.io 01:53:46 query: branch=PR-343&commit=e5f2a8e3721d1093ba85c237dea8e9bf07f944e2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=343&job=&cmd_args= 01:53:46 -> Pinging Codecov 01:53:46 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=e5f2a8e3721d1093ba85c237dea8e9bf07f944e2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=343&job=&cmd_args= 01:53:47 -> Uploading to 01:53:47 https://storage.googleapis.com/codecov/v4/raw/2022-05-08/55DBCA73C666E3227836607328DD7E49/e5f2a8e3721d1093ba85c237dea8e9bf07f944e2/c8b744bc-d3e3-4807-b474-c460bed60934.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T015346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3415d719cefe87c306418bfff80df2cd3cbc76b0e8eeae3086b16a5151a83d7a 01:53:47 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:47 Dload Upload Total Spent Left Speed 01:53:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4012 0 0 100 4012 0 19861 --:--:-- --:--:-- --:--:-- 19763 100 4012 0 0 100 4012 0 14695 --:--:-- --:--:-- --:--:-- 14642 01:53:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/e5f2a8e3721d1093ba85c237dea8e9bf07f944e2 [Pipeline] } 01:53:47 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 01:53:48 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-343/archives ] 01:53:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-343/archives 01:53:48 total 16 01:53:48 drwxr-xr-x 3 root root 4096 May 8 01:45 . 01:53:48 drwxrwxr-x 11 jenkins jenkins 4096 May 8 01:45 .. 01:53:48 drwxr-xr-x 2 root root 4096 May 8 01:45 cost 01:53:48 -rw-r--r-- 1 root root 87 May 8 01:45 cost.csv 01:53:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-343/archives 01:53:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-343/archives 01:53:48 total 16 01:53:48 drwxr-xr-x 3 jenkins jenkins 4096 May 8 01:45 . 01:53:48 drwxrwxr-x 11 jenkins jenkins 4096 May 8 01:45 .. 01:53:48 drwxr-xr-x 2 jenkins jenkins 4096 May 8 01:45 cost 01:53:48 -rw-r--r-- 1 jenkins jenkins 87 May 8 01:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:53:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:53:49 ---> package-listing.sh 01:53:49 ++ facter osfamily 01:53:49 ++ tr '[:upper:]' '[:lower:]' 01:53:49 + OS_FAMILY=debian 01:53:49 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-343 01:53:49 + START_PACKAGES=/tmp/packages_start.txt 01:53:49 + END_PACKAGES=/tmp/packages_end.txt 01:53:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:53:49 + PACKAGES=/tmp/packages_start.txt 01:53:49 + '[' /w/workspace/xfoundry_device-modbus-go_PR-343 ']' 01:53:49 + PACKAGES=/tmp/packages_end.txt 01:53:49 + case "${OS_FAMILY}" in 01:53:49 + dpkg -l 01:53:49 + grep '^ii' 01:53:49 + '[' -f /tmp/packages_start.txt ']' 01:53:49 + '[' -f /tmp/packages_end.txt ']' 01:53:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:53:49 + '[' /w/workspace/xfoundry_device-modbus-go_PR-343 ']' 01:53:49 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-343/archives/ 01:53:49 + 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 01:53:49 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 01:53:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:53:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:50 . [Pipeline] withDockerContainer 01:53:50 prd-ubuntu20.04-docker-8c-8g-41639 does not seem to be running inside a container 01:53:50 $ 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 01:53:50 $ docker top dcbc8915b2520218ca1d24cc2d6b81d470fc962e3f34dd263a8d61109a2ceea7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:51 + touch /tmp/pre-build-complete [Pipeline] sh 01:53:51 + mkdir -p /var/log/sysstat [Pipeline] sh 01:53:51 + ls /var/log/sa-host 01:53:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:51 provisioning config files... 01:53:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-343@tmp/config4844464709618307675tmp [Pipeline] { [Pipeline] echo 01:53:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:53:52 ---> create-netrc.sh [Pipeline] } 01:53:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:53:52 ---> python-tools-install.sh [Pipeline] echo 01:53:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:53:52 ---> sudo-logs.sh 01:53:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:53:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:53:52 ---> job-cost.sh 01:53:52 lf-activate-venv: SKIPPING 01:53:52 DEBUG: total: 0.2199999988079071 01:53:52 INFO: Retrieving Stack Cost... 01:53:53 INFO: Retrieving Pricing Info for: v3-standard-8 01:53:53 INFO: Archiving Costs [Pipeline] echo 01:53:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:53:54 ---> logs-deploy.sh 01:53:54 lf-activate-venv: SKIPPING 01:53:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-343/2 01:53:54 INFO: archiving workspace using pattern(s): 01:53:55 Archives upload complete. 01:53:55 INFO: archiving logs to Nexus