Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9a8e48121ebcca9ca22e2206d1cabb18260261b+d7023bcda15e937cec539ef29d6768596b85ffc4 (24e96c7d78a3042bf7d1cb740e160804b24061a4) 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-ssh6830175485509172543.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-ssh8877253064477918768.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-341/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-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2820199575398935861.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-ssh5874647935691102094.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-341/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-341/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4978557346282834020.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41391 in /w/workspace/xfoundry_device-modbus-go_PR-341 [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-341 # 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 f9a8e48121ebcca9ca22e2206d1cabb18260261b Merge succeeded, producing 798555d94811c00bd459415b5f7b3ac30c9dac93 Checking out Revision 798555d94811c00bd459415b5f7b3ac30c9dac93 (PR-341) > 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/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9a8e48121ebcca9ca22e2206d1cabb18260261b # 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 798555d94811c00bd459415b5f7b3ac30c9dac93 # timeout=10 Commit message: "Merge commit 'd7023bcda15e937cec539ef29d6768596b85ffc4' into HEAD" > git rev-list --no-walk f9a8e48121ebcca9ca22e2206d1cabb18260261b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:52:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:52:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:52:52 ========================================================= 12:52:52 EdgeX Global Pipelines Version Info 12:52:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:52:53 ------------------- 12:52:53 stable info: 12:52:53 ------------------- 12:52:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:53 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:52:53 Message: update stable to v1.0.227 12:52:53 ------------------- 12:52:53 experimental info: 12:52:53 ------------------- 12:52:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:53 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:52:53 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:52:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 798555d94811c00bd459415b5f7b3ac30c9dac93 [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 798555d [Pipeline] echo 12:52:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:52:54 provisioning config files... 12:52:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config2160464434264312622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:54 ---> docker-login.sh 12:52:54 nexus3.edgexfoundry.org:10001 12:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:54 Configure a credential helper to remove this warning. See 12:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:54 12:52:54 Login Succeeded 12:52:54 nexus3.edgexfoundry.org:10002 12:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:55 Configure a credential helper to remove this warning. See 12:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:55 12:52:55 Login Succeeded 12:52:55 nexus3.edgexfoundry.org:10003 12:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:55 Configure a credential helper to remove this warning. See 12:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:55 12:52:55 Login Succeeded 12:52:55 nexus3.edgexfoundry.org:10004 12:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:55 Configure a credential helper to remove this warning. See 12:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:55 12:52:55 Login Succeeded 12:52:55 docker.io 12:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:55 Configure a credential helper to remove this warning. See 12:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:55 12:52:55 Login Succeeded 12:52:55 ---> docker-login.sh ends [Pipeline] } 12:52:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:52:56 + git rev-list -1 --merges 798555d94811c00bd459415b5f7b3ac30c9dac93~1..798555d94811c00bd459415b5f7b3ac30c9dac93 [Pipeline] echo 12:52:56 -----------> git rev-list -1 --merges 798555d94811c00bd459415b5f7b3ac30c9dac93~1..798555d94811c00bd459415b5f7b3ac30c9dac93 798555d94811c00bd459415b5f7b3ac30c9dac93 12:52:56 798555d94811c00bd459415b5f7b3ac30c9dac93 [false] [Pipeline] sh 12:52:56 + git log --format=format:%s -1 798555d94811c00bd459415b5f7b3ac30c9dac93 [Pipeline] echo 12:52:56 ========================================================= 12:52:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:52:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:52:56 + git log --format=format:%s -1 798555d94811c00bd459415b5f7b3ac30c9dac93 [Pipeline] echo 12:52:56 [semverPrep] GIT_COMMIT: 798555d94811c00bd459415b5f7b3ac30c9dac93, Commit Message: Merge commit 'd7023bcda15e937cec539ef29d6768596b85ffc4' into HEAD [Pipeline] echo 12:52:56 [semverPrep] This is not a build commit. [Pipeline] sh 12:52:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:52:57 + grep -v github /etc/ssh/ssh_known_hosts 12:52:57 + [ -e /tmp/ssh_known_hosts ] 12:52:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:52:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:52:57 + sudo tee -a /etc/ssh/ssh_known_hosts 12:52:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:52:57 12:52:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:52:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:52:57 latest: Pulling from edgex-devops/py-git-semver 12:52:57 1fe172e4850f: Pulling fs layer 12:52:57 caf521ccaac6: Pulling fs layer 12:52:57 3ead6fa29328: Pulling fs layer 12:52:57 5c2a1cbceb83: Pulling fs layer 12:52:57 a8d5f1318db7: Pulling fs layer 12:52:57 c427282e49a2: Pulling fs layer 12:52:57 1827001aaf11: Pulling fs layer 12:52:57 0714d37db230: Pulling fs layer 12:52:57 ac28cf19c067: Pulling fs layer 12:52:57 a8d5f1318db7: Waiting 12:52:57 ca983d60f3e2: Pulling fs layer 12:52:57 9f894cec8388: Pulling fs layer 12:52:57 1827001aaf11: Waiting 12:52:57 0714d37db230: Waiting 12:52:57 c427282e49a2: Waiting 12:52:57 ac28cf19c067: Waiting 12:52:57 9f894cec8388: Waiting 12:52:57 ca983d60f3e2: Waiting 12:52:57 5c2a1cbceb83: Waiting 12:52:57 caf521ccaac6: Download complete 12:52:57 5c2a1cbceb83: Verifying Checksum 12:52:57 5c2a1cbceb83: Download complete 12:52:57 a8d5f1318db7: Verifying Checksum 12:52:57 a8d5f1318db7: Download complete 12:52:57 c427282e49a2: Download complete 12:52:58 3ead6fa29328: Verifying Checksum 12:52:58 3ead6fa29328: Download complete 12:52:58 0714d37db230: Download complete 12:52:58 ac28cf19c067: Verifying Checksum 12:52:58 ac28cf19c067: Download complete 12:52:58 ca983d60f3e2: Download complete 12:52:58 9f894cec8388: Download complete 12:52:58 1fe172e4850f: Verifying Checksum 12:52:58 1fe172e4850f: Download complete 12:52:58 1827001aaf11: Verifying Checksum 12:52:58 1827001aaf11: Download complete 12:52:59 1fe172e4850f: Pull complete 12:52:59 caf521ccaac6: Pull complete 12:53:00 3ead6fa29328: Pull complete 12:53:00 5c2a1cbceb83: Pull complete 12:53:00 a8d5f1318db7: Pull complete 12:53:00 c427282e49a2: Pull complete 12:53:02 1827001aaf11: Pull complete 12:53:02 0714d37db230: Pull complete 12:53:02 ac28cf19c067: Pull complete 12:53:02 ca983d60f3e2: Pull complete 12:53:02 9f894cec8388: Pull complete 12:53:02 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:53:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:53:02 prd-ubuntu20.04-docker-8c-8g-41391 does not seem to be running inside a container 12:53:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:53:04 $ docker top 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:13 [ssh-agent] Looking for ssh-agent implementation... 12:53:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:13 $ docker exec 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 ssh-agent 12:53:13 SSH_AUTH_SOCK=/tmp/ssh-9QsoTRTBYfE2/agent.32 12:53:13 SSH_AGENT_PID=38 12:53:13 Running ssh-add (command line suppressed) 12:53:13 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_8841937382169583749.key (/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_8841937382169583749.key) 12:53:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:13 + git tag --points-at HEAD [Pipeline] } 12:53:13 $ docker exec --env ******** --env ******** 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 ssh-agent -k 12:53:14 unset SSH_AUTH_SOCK; 12:53:14 unset SSH_AGENT_PID; 12:53:14 echo Agent pid 38 killed; 12:53:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:14 [ssh-agent] Looking for ssh-agent implementation... 12:53:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:14 $ docker exec 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 ssh-agent 12:53:14 SSH_AUTH_SOCK=/tmp/ssh-mOPurPCGQoCc/agent.71 12:53:14 SSH_AGENT_PID=77 12:53:14 Running ssh-add (command line suppressed) 12:53:14 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_6404675569548695220.key (/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/private_key_6404675569548695220.key) 12:53:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:14 + git semver init 12:53:15 2022-05-07 12:53:15,000 [run_init] DEBUG init version:0.0.0 force:False 12:53:15 2022-05-07 12:53:15,000 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver 12:53:15 2022-05-07 12:53:15,001 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-341/.semver 12:53:15 2022-05-07 12:53:15,001 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-341/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341, universal_newlines=False, shell=None, istream=None) 12:53:16 2022-05-07 12:53:15,887 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-341/.git/info/exclude 12:53:16 2022-05-07 12:53:15,888 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 with force:False 12:53:16 2022-05-07 12:53:15,888 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 12:53:16 2022-05-07 12:53:15,892 [execute] INFO git cat-file --batch-check 12:53:16 2022-05-07 12:53:15,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) 12:53:16 2022-05-07 12:53:15,898 [execute] INFO git cat-file --batch 12:53:16 2022-05-07 12:53:15,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-341/.semver, universal_newlines=False, shell=None, istream=) 12:53:16 2022-05-07 12:53:15,904 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-341/.semver/PR-341 12:53:16 0.0.0 [Pipeline] } 12:53:16 $ docker exec --env ******** --env ******** 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 ssh-agent -k 12:53:16 unset SSH_AUTH_SOCK; 12:53:16 unset SSH_AGENT_PID; 12:53:16 echo Agent pid 77 killed; 12:53:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:16 + git semver [Pipeline] } 12:53:16 $ docker stop --time=1 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 12:53:18 $ docker rm -f 47e480aeaff11a861ef7b2eba8aa426845a695816fe268d827fcb6555fabed35 [Pipeline] // withDockerContainer [Pipeline] sh 12:53:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:18 Stashed 1 file(s) [Pipeline] echo 12:53:18 [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 12:53:18 provisioning config files... 12:53:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config99635045130128245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:19 ---> docker-login.sh 12:53:19 nexus3.edgexfoundry.org:10001 12:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:19 Configure a credential helper to remove this warning. See 12:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:19 12:53:19 Login Succeeded 12:53:19 nexus3.edgexfoundry.org:10002 12:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:19 Configure a credential helper to remove this warning. See 12:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:19 12:53:19 Login Succeeded 12:53:19 nexus3.edgexfoundry.org:10003 12:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:19 Configure a credential helper to remove this warning. See 12:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:19 12:53:19 Login Succeeded 12:53:19 nexus3.edgexfoundry.org:10004 12:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:19 Configure a credential helper to remove this warning. See 12:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:19 12:53:19 Login Succeeded 12:53:19 docker.io 12:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:19 Configure a credential helper to remove this warning. See 12:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:19 12:53:19 Login Succeeded 12:53:19 ---> docker-login.sh ends [Pipeline] } 12:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:20 ========================================================= 12:53:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:53:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:53:20 + 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 . 12:53:20 Sending build context to Docker daemon 5.87MB 12:53:20 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:53:20 Step 2/10 : FROM ${BASE} AS builder 12:53:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:53:20 59bf1c3509f3: Pulling fs layer 12:53:20 666ba61612fd: Pulling fs layer 12:53:20 8ed8ca486205: Pulling fs layer 12:53:20 4fe6c5a15a65: Pulling fs layer 12:53:20 22a0e8bec74d: Pulling fs layer 12:53:20 ca2b28591e48: Pulling fs layer 12:53:20 a51346096db8: Pulling fs layer 12:53:20 daebc70d1ce1: Pulling fs layer 12:53:20 0e18a0eac166: Pulling fs layer 12:53:20 4fe6c5a15a65: Waiting 12:53:20 22a0e8bec74d: Waiting 12:53:20 ca2b28591e48: Waiting 12:53:20 a51346096db8: Waiting 12:53:20 daebc70d1ce1: Waiting 12:53:20 0e18a0eac166: Waiting 12:53:20 8ed8ca486205: Verifying Checksum 12:53:20 8ed8ca486205: Download complete 12:53:20 22a0e8bec74d: Verifying Checksum 12:53:20 22a0e8bec74d: Download complete 12:53:20 ca2b28591e48: Download complete 12:53:20 59bf1c3509f3: Verifying Checksum 12:53:20 59bf1c3509f3: Download complete 12:53:20 a51346096db8: Verifying Checksum 12:53:20 a51346096db8: Download complete 12:53:20 daebc70d1ce1: Verifying Checksum 12:53:20 daebc70d1ce1: Download complete 12:53:20 59bf1c3509f3: Pull complete 12:53:20 666ba61612fd: Pull complete 12:53:20 8ed8ca486205: Pull complete 12:53:21 0e18a0eac166: Verifying Checksum 12:53:21 0e18a0eac166: Download complete 12:53:21 4fe6c5a15a65: Download complete 12:53:25 4fe6c5a15a65: Pull complete 12:53:25 22a0e8bec74d: Pull complete 12:53:25 ca2b28591e48: Pull complete 12:53:25 a51346096db8: Pull complete 12:53:25 daebc70d1ce1: Pull complete 12:53:27 0e18a0eac166: Pull complete 12:53:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:53:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:53:27 ---> f018257e8ee9 12:53:27 Step 3/10 : ARG MAKE='make build' 12:53:28 ---> Running in f8a4817193c5 12:53:28 Removing intermediate container f8a4817193c5 12:53:28 ---> 96a1b131c61a 12:53:28 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:53:28 ---> Running in d4a8e0d252c2 12:53:29 Removing intermediate container d4a8e0d252c2 12:53:29 ---> 431b241830e2 12:53:29 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:53:29 ---> Running in eab18f5f6ced 12:53:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:53:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:53:31 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:53:31 (2/8) Installing libedit (20210910.3.1-r0) 12:53:31 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:53:31 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:53:31 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:53:31 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:53:31 (7/8) Installing openssh-server (8.8_p1-r1) 12:53:31 (8/8) Installing openssh (8.8_p1-r1) 12:53:32 Executing busybox-1.34.1-r3.trigger 12:53:32 OK: 226 MiB in 60 packages 12:53:32 Removing intermediate container eab18f5f6ced 12:53:32 ---> 19d8ea600c75 12:53:32 Step 6/10 : WORKDIR /device-modbus-go 12:53:32 ---> Running in 17f903e79683 12:53:32 Removing intermediate container 17f903e79683 12:53:32 ---> a6c3143da05f 12:53:32 Step 7/10 : COPY go.mod vendor* ./ 12:53:32 ---> 0cfba9eafe87 12:53:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:32 ---> Running in f762d9b71c9c 12:53:33 Still waiting to schedule task 12:53:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:53:50 Removing intermediate container f762d9b71c9c 12:53:50 ---> c09b18cbc21a 12:53:50 Step 9/10 : COPY . . 12:53:50 ---> 7a37a8e9bed5 12:53:50 Step 10/10 : RUN ${MAKE} 12:53:50 ---> Running in f33532de5f6f 12:53:50 noop 12:53:51 Removing intermediate container f33532de5f6f 12:53:51 ---> 570caf306acc 12:53:51 Successfully built 570caf306acc 12:53:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:53:51 + docker inspect -f . ci-base-image-x86_64 12:53:51 . [Pipeline] withDockerContainer 12:53:51 prd-ubuntu20.04-docker-8c-8g-41391 does not seem to be running inside a container 12:53:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:53:52 $ docker top 29b0304bf6fb5917006ae0b1e530d7bb51cb021f5ef5d5e59c973ca7a81c06f0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:52 + go version 12:53:52 go version go1.17.6 linux/amd64 [Pipeline] } 12:53:52 $ docker stop --time=1 29b0304bf6fb5917006ae0b1e530d7bb51cb021f5ef5d5e59c973ca7a81c06f0 12:53:54 $ docker rm -f 29b0304bf6fb5917006ae0b1e530d7bb51cb021f5ef5d5e59c973ca7a81c06f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:53:54 + docker inspect -f . ci-base-image-x86_64 12:53:54 . [Pipeline] withDockerContainer 12:53:54 prd-ubuntu20.04-docker-8c-8g-41391 does not seem to be running inside a container 12:53:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:53:54 $ docker top c4244114cd1c4af7851c8cc8aaedeb9da18c0db3b057c27ae5cf4fb55e22d7cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:53:55 + make test 12:53:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:53:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:54:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:54:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 46.4% of statements 12:54:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:54:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:54:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:54:15 ./bin/test-attribution-txt.sh [Pipeline] echo 12:54:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:54:15 $ docker stop --time=1 c4244114cd1c4af7851c8cc8aaedeb9da18c0db3b057c27ae5cf4fb55e22d7cc 12:54:17 $ docker rm -f c4244114cd1c4af7851c8cc8aaedeb9da18c0db3b057c27ae5cf4fb55e22d7cc [Pipeline] // withDockerContainer [Pipeline] sh 12:54:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:54:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:54:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:54:19 + ls -al . 12:54:19 total 180 12:54:19 drwxrwxr-x 10 jenkins jenkins 4096 May 7 12:54 . 12:54:19 drwxrwxr-x 4 jenkins jenkins 4096 May 7 12:52 .. 12:54:19 -rw-rw-r-- 1 jenkins jenkins 140 May 7 12:52 .dockerignore 12:54:19 drwxrwxr-x 8 jenkins jenkins 4096 May 7 12:53 .git 12:54:19 drwxrwxr-x 3 jenkins jenkins 4096 May 7 12:52 .github 12:54:19 -rw-rw-r-- 1 jenkins jenkins 331 May 7 12:52 .gitignore 12:54:19 -rw-rw-r-- 1 jenkins jenkins 41 May 7 12:52 .golangci.yml 12:54:19 drwxr-xr-x 3 jenkins jenkins 4096 May 7 12:53 .semver 12:54:19 -rw-rw-r-- 1 jenkins jenkins 9377 May 7 12:52 Attribution.txt 12:54:19 -rw-rw-r-- 1 jenkins jenkins 6038 May 7 12:52 CHANGELOG.md 12:54:19 -rw-rw-r-- 1 jenkins jenkins 1546 May 7 12:52 Dockerfile 12:54:19 -rw-rw-r-- 1 jenkins jenkins 677 May 7 12:52 GOVERNANCE.md 12:54:19 -rw-rw-r-- 1 jenkins jenkins 680 May 7 12:52 Jenkinsfile 12:54:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 7 12:52 LICENSE 12:54:19 -rw-rw-r-- 1 jenkins jenkins 1905 May 7 12:52 Makefile 12:54:19 -rw-rw-r-- 1 jenkins jenkins 622 May 7 12:52 OWNERS.md 12:54:19 -rw-rw-r-- 1 jenkins jenkins 3397 May 7 12:52 README.md 12:54:19 -rw-rw-r-- 1 jenkins jenkins 5 May 7 12:53 VERSION 12:54:19 drwxrwxr-x 2 jenkins jenkins 4096 May 7 12:52 bin 12:54:19 drwxrwxr-x 3 jenkins jenkins 4096 May 7 12:52 cmd 12:54:19 -rw-r--r-- 1 jenkins jenkins 24065 May 7 12:54 coverage.out 12:54:19 -rw-rw-r-- 1 jenkins jenkins 3399 May 7 12:52 go.mod 12:54:19 -rw-rw-r-- 1 jenkins jenkins 35558 May 7 12:52 go.sum 12:54:19 drwxrwxr-x 3 jenkins jenkins 4096 May 7 12:52 internal 12:54:19 drwxrwxr-x 2 jenkins jenkins 4096 May 7 12:52 simulator 12:54:19 drwxrwxr-x 4 jenkins jenkins 4096 May 7 12:52 snap 12:54:19 -rw-rw-r-- 1 jenkins jenkins 229 May 7 12:52 version.go [Pipeline] isUnix [Pipeline] sh 12:54:19 + 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=798555d94811c00bd459415b5f7b3ac30c9dac93 --label arch=amd64 --label version=0.0.0 . 12:54:19 Sending build context to Docker daemon 5.895MB 12:54:19 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:54:19 Step 2/23 : FROM ${BASE} AS builder 12:54:19 ---> 570caf306acc 12:54:19 Step 3/23 : ARG MAKE='make build' 12:54:19 ---> Running in 9dd678713927 12:54:19 Removing intermediate container 9dd678713927 12:54:19 ---> b1d42aacffca 12:54:19 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:19 ---> Running in 19e14b308aed 12:54:20 Removing intermediate container 19e14b308aed 12:54:20 ---> 21f536675582 12:54:20 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:54:20 ---> Running in c37c8a7273f9 12:54:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:54:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:54:21 OK: 226 MiB in 60 packages 12:54:21 Removing intermediate container c37c8a7273f9 12:54:21 ---> 13ea6a101d96 12:54:21 Step 6/23 : WORKDIR /device-modbus-go 12:54:21 ---> Running in 9aa8683ed011 12:54:22 Removing intermediate container 9aa8683ed011 12:54:22 ---> deb124859570 12:54:22 Step 7/23 : COPY go.mod vendor* ./ 12:54:22 ---> 7c2a7664b830 12:54:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:22 ---> Running in 91e80bc1eb18 12:54:22 Removing intermediate container 91e80bc1eb18 12:54:22 ---> e2df3c894e40 12:54:22 Step 9/23 : COPY . . 12:54:23 ---> f0e12db2220e 12:54:23 Step 10/23 : RUN ${MAKE} 12:54:23 ---> Running in 61af52ea85dd 12:54:23 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 12:54:45 Removing intermediate container 61af52ea85dd 12:54:45 ---> 9322a39d324a 12:54:45 Step 11/23 : FROM alpine:3.14 12:54:45 3.14: Pulling from library/alpine 12:54:45 8663204ce13b: Pulling fs layer 12:54:45 8663204ce13b: Verifying Checksum 12:54:45 8663204ce13b: Download complete 12:54:45 8663204ce13b: Pull complete 12:54:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:54:45 Status: Downloaded newer image for alpine:3.14 12:54:45 ---> e04c818066af 12:54:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 12:54:45 ---> Running in 96cb42f9ad0f 12:54:45 Removing intermediate container 96cb42f9ad0f 12:54:45 ---> ec4478fb2e11 12:54:45 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:45 ---> Running in 46b8145fef62 12:54:45 Removing intermediate container 46b8145fef62 12:54:45 ---> f40e7a8abaa4 12:54:45 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 12:54:45 ---> Running in 556b4597b50e 12:54:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:54:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:54:45 (1/6) Installing dumb-init (1.2.5-r1) 12:54:45 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:54:45 (3/6) Installing libsodium (1.0.18-r0) 12:54:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:54:45 (5/6) Installing libzmq (4.3.4-r0) 12:54:46 (6/6) Installing zeromq (4.3.4-r0) 12:54:46 Executing busybox-1.33.1-r7.trigger 12:54:46 OK: 8 MiB in 20 packages 12:54:46 Removing intermediate container 556b4597b50e 12:54:46 ---> 043ec13b8f98 12:54:46 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:54:47 ---> bd6a8956dd5e 12:54:47 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:54:47 ---> 9daf50ced144 12:54:47 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:54:47 ---> 04db40932d03 12:54:47 Step 18/23 : EXPOSE 59901 12:54:48 ---> Running in da680ac8dd2c 12:54:48 Removing intermediate container da680ac8dd2c 12:54:48 ---> efc3758f3dad 12:54:48 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:54:48 ---> Running in 7e235f224ec8 12:54:48 Removing intermediate container 7e235f224ec8 12:54:48 ---> 4323803dff81 12:54:48 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:54:49 ---> Running in 21d51bfaaa03 12:54:49 Removing intermediate container 21d51bfaaa03 12:54:49 ---> 7444fec4df48 12:54:49 Step 21/23 : LABEL arch=amd64 12:54:49 ---> Running in 7b103a34a5f3 12:54:49 Removing intermediate container 7b103a34a5f3 12:54:49 ---> 8f878d46ba4b 12:54:49 Step 22/23 : LABEL git_sha=798555d94811c00bd459415b5f7b3ac30c9dac93 12:54:49 ---> Running in 6432d564f575 12:54:50 Removing intermediate container 6432d564f575 12:54:50 ---> 29a108f77046 12:54:50 Step 23/23 : LABEL version=0.0.0 12:54:50 ---> Running in a6fd5879258f 12:54:50 Removing intermediate container a6fd5879258f 12:54:50 ---> d30b73d5e983 12:54:50 [Warning] One or more build-args [ARCH] were not consumed 12:54:50 Successfully built d30b73d5e983 12:54:50 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 12:54:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:50 12:54:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:54:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:50 latest: Pulling from edgex-lftools-log-publisher 12:54:50 5eb5b503b376: Pulling fs layer 12:54:50 5c69ac0246d0: Pulling fs layer 12:54:50 ec43610c2a17: Pulling fs layer 12:54:50 3a2ae6a8a46f: Pulling fs layer 12:54:50 33b1e0a273af: Pulling fs layer 12:54:50 5d3b04190fa2: Pulling fs layer 12:54:50 2f39f015ded8: Pulling fs layer 12:54:50 33b1e0a273af: Waiting 12:54:50 5d3b04190fa2: Waiting 12:54:50 2f39f015ded8: Waiting 12:54:50 3a2ae6a8a46f: Waiting 12:54:50 5c69ac0246d0: Download complete 12:54:50 3a2ae6a8a46f: Verifying Checksum 12:54:50 3a2ae6a8a46f: Download complete 12:54:50 33b1e0a273af: Verifying Checksum 12:54:50 33b1e0a273af: Download complete 12:54:51 5d3b04190fa2: Verifying Checksum 12:54:51 5d3b04190fa2: Download complete 12:54:51 ec43610c2a17: Verifying Checksum 12:54:51 ec43610c2a17: Download complete 12:54:51 5eb5b503b376: Verifying Checksum 12:54:51 5eb5b503b376: Download complete 12:54:51 2f39f015ded8: Download complete 12:54:52 5eb5b503b376: Pull complete 12:54:52 5c69ac0246d0: Pull complete 12:54:52 ec43610c2a17: Pull complete 12:54:53 3a2ae6a8a46f: Pull complete 12:54:53 33b1e0a273af: Pull complete 12:54:53 5d3b04190fa2: Pull complete 12:54:57 2f39f015ded8: Pull complete 12:54:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:54:57 prd-ubuntu20.04-docker-8c-8g-41391 does not seem to be running inside a container 12:54:57 $ 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-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:54:59 $ docker top db8a7a3b0e2d3ec4ca9a69b8d4096002b0599260135120a22773d274201f7a0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:00 ---> job-cost.sh 12:55:00 lf-activate-venv: SKIPPING 12:55:00 INFO: No Stack... 12:55:00 INFO: Retrieving Pricing Info for: v3-standard-8 12:55:01 INFO: Archiving Costs [Pipeline] sh 12:55:01 + cat /w/workspace/xfoundry_device-modbus-go_PR-341/archives/cost.csv 12:55:01 + cut -d, -f6 [Pipeline] lock 12:55:01 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] 12:55:01 Resource [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] did not exist. Created. 12:55:01 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:55:01 + echo total: 0.2199999988079071 [Pipeline] stash 12:55:01 Stashed 1 file(s) [Pipeline] } 12:55:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:55:01 $ docker stop --time=1 db8a7a3b0e2d3ec4ca9a69b8d4096002b0599260135120a22773d274201f7a0f 12:55:03 $ docker rm -f db8a7a3b0e2d3ec4ca9a69b8d4096002b0599260135120a22773d274201f7a0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:55:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41392 in /w/workspace/xfoundry_device-modbus-go_PR-341 [Pipeline] { [Pipeline] ws 12:55:05 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 12:55:05 Selected Git installation does not exist. Using Default 12:55:05 The recommended git tool is: NONE 12:55:12 using credential edgex-jenkins-ssh 12:55:12 Cloning the remote Git repository 12:55:12 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 12:55:13 > git init /w/workspace/device-modbus-go/3 # timeout=10 12:55:13 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:55:13 > git --version # timeout=10 12:55:13 > git --version # 'git version 2.25.1' 12:55:13 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:15 Merging remotes/origin/main commit d7023bcda15e937cec539ef29d6768596b85ffc4 into PR head commit f9a8e48121ebcca9ca22e2206d1cabb18260261b 12:55:15 Merge succeeded, producing 8fd1b008db63ed9fdea8f36299dc65075a32b1c6 12:55:15 Checking out Revision 8fd1b008db63ed9fdea8f36299dc65075a32b1c6 (PR-341) 12:55:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:55:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:55:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:55:14 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:55:15 > git config core.sparsecheckout # timeout=10 12:55:15 > git checkout -f f9a8e48121ebcca9ca22e2206d1cabb18260261b # timeout=10 12:55:15 > git remote # timeout=10 12:55:15 > git config --get remote.origin.url # timeout=10 12:55:15 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:15 > git merge d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 12:55:15 > git rev-parse HEAD^{commit} # timeout=10 12:55:15 > git config core.sparsecheckout # timeout=10 12:55:15 > git checkout -f 8fd1b008db63ed9fdea8f36299dc65075a32b1c6 # timeout=10 12:55:19 Commit message: "Merge commit 'd7023bcda15e937cec539ef29d6768596b85ffc4' into HEAD" 12:55:19 > git rev-list --no-walk f9a8e48121ebcca9ca22e2206d1cabb18260261b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:55:20 % Total % Received % Xferd Average Speed Time Time Time Current 12:55:20 Dload Upload Total Spent Left Speed 12:55:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87725 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh 12:55:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:55:21 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 12:55:21 tee /etc/docker/daemon.new 12:55:21 { 12:55:21 "registry-mirrors": [ 12:55:21 "https://nexus3.edgexfoundry.org:10001" 12:55:21 ], 12:55:21 "bip": "10.250.0.254/24", 12:55:21 "hosts": [ 12:55:21 "tcp://0.0.0.0:5555", 12:55:21 "unix:///var/run/docker.sock" 12:55:21 ], 12:55:21 "mtu": 1458, 12:55:21 "selinux-enabled": true, 12:55:21 "seccomp-profile": "/etc/docker/seccomp.json" 12:55:21 } [Pipeline] sh 12:55:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:55:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:40 provisioning config files... 12:55:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config3693487175445235320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:41 ---> docker-login.sh 12:55:41 nexus3.edgexfoundry.org:10001 12:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:42 Configure a credential helper to remove this warning. See 12:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:42 12:55:42 Login Succeeded 12:55:42 nexus3.edgexfoundry.org:10002 12:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:42 Configure a credential helper to remove this warning. See 12:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:42 12:55:42 Login Succeeded 12:55:42 nexus3.edgexfoundry.org:10003 12:55:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:42 Configure a credential helper to remove this warning. See 12:55:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:42 12:55:42 Login Succeeded 12:55:42 nexus3.edgexfoundry.org:10004 12:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:43 Configure a credential helper to remove this warning. See 12:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:43 12:55:43 Login Succeeded 12:55:43 docker.io 12:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:44 Configure a credential helper to remove this warning. See 12:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:44 12:55:44 Login Succeeded 12:55:44 ---> docker-login.sh ends [Pipeline] } 12:55:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:44 ========================================================= 12:55:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:55:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:55:45 + 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 . 12:55:45 Sending build context to Docker daemon 3.061MB 12:55:45 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:55:45 Step 2/10 : FROM ${BASE} AS builder 12:55:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:45 9b3977197b4f: Pulling fs layer 12:55:45 1a89e8eeedd5: Pulling fs layer 12:55:45 94645a83ff95: Pulling fs layer 12:55:45 3f3a8bcf1eab: Pulling fs layer 12:55:45 0c92f367c5e7: Pulling fs layer 12:55:45 3096ccb668a1: Pulling fs layer 12:55:45 e8cf19c19ddd: Pulling fs layer 12:55:45 a4caa8a26152: Pulling fs layer 12:55:45 3096ccb668a1: Waiting 12:55:45 e8cf19c19ddd: Waiting 12:55:45 a4caa8a26152: Waiting 12:55:45 3f3a8bcf1eab: Waiting 12:55:45 0c92f367c5e7: Waiting 12:55:45 94645a83ff95: Verifying Checksum 12:55:45 94645a83ff95: Download complete 12:55:45 1a89e8eeedd5: Verifying Checksum 12:55:45 1a89e8eeedd5: Download complete 12:55:45 0c92f367c5e7: Verifying Checksum 12:55:45 0c92f367c5e7: Download complete 12:55:45 3096ccb668a1: Verifying Checksum 12:55:45 3096ccb668a1: Download complete 12:55:45 9b3977197b4f: Download complete 12:55:45 e8cf19c19ddd: Verifying Checksum 12:55:45 e8cf19c19ddd: Download complete 12:55:46 9b3977197b4f: Pull complete 12:55:47 1a89e8eeedd5: Pull complete 12:55:47 94645a83ff95: Pull complete 12:55:47 a4caa8a26152: Verifying Checksum 12:55:47 a4caa8a26152: Download complete 12:55:48 3f3a8bcf1eab: Verifying Checksum 12:55:48 3f3a8bcf1eab: Download complete 12:56:00 3f3a8bcf1eab: Pull complete 12:56:00 0c92f367c5e7: Pull complete 12:56:00 3096ccb668a1: Pull complete 12:56:00 e8cf19c19ddd: Pull complete 12:56:07 a4caa8a26152: Pull complete 12:56:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:56:07 ---> 725f1c02e7f9 12:56:07 Step 3/10 : ARG MAKE='make build' 12:56:07 ---> Running in 03d282ed23e1 12:56:08 Removing intermediate container 03d282ed23e1 12:56:08 ---> 2f6ed9f37e05 12:56:08 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:08 ---> Running in 05219f27f70b 12:56:10 Removing intermediate container 05219f27f70b 12:56:10 ---> 907265686e54 12:56:10 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:56:10 ---> Running in 5d1dff1b8e52 12:56:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:56:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:56:12 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:56:12 (2/8) Installing libedit (20210910.3.1-r0) 12:56:12 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:56:12 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:56:13 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:56:13 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:56:13 (7/8) Installing openssh-server (8.8_p1-r1) 12:56:13 (8/8) Installing openssh (8.8_p1-r1) 12:56:13 Executing busybox-1.34.1-r3.trigger 12:56:13 OK: 226 MiB in 60 packages 12:56:14 Removing intermediate container 5d1dff1b8e52 12:56:14 ---> ed2dbc5c8e53 12:56:14 Step 6/10 : WORKDIR /device-modbus-go 12:56:14 ---> Running in f6aacd52b370 12:56:14 Removing intermediate container f6aacd52b370 12:56:14 ---> c5c560e5713c 12:56:14 Step 7/10 : COPY go.mod vendor* ./ 12:56:15 ---> 796ced313f2d 12:56:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:15 ---> Running in 9d99fc0ff084 12:57:02 Removing intermediate container 9d99fc0ff084 12:57:02 ---> 62e82ff0367a 12:57:02 Step 9/10 : COPY . . 12:57:02 ---> ce3c149a4a22 12:57:02 Step 10/10 : RUN ${MAKE} 12:57:02 ---> Running in 8a991fe203e6 12:57:02 noop 12:57:02 Removing intermediate container 8a991fe203e6 12:57:02 ---> 6db9a1c29169 12:57:02 Successfully built 6db9a1c29169 12:57:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:57:03 + docker inspect -f . ci-base-image-arm64 12:57:03 . [Pipeline] withDockerContainer 12:57:03 prd-ubuntu20.04-docker-arm64-4c-16g-41392 does not seem to be running inside a container 12:57:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:57:05 $ docker top a0059d12d19311112609c8d8326d3e0a7f44a51a7177f238118d52622d023cc6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:06 + go version 12:57:06 go version go1.17.6 linux/arm64 [Pipeline] } 12:57:06 $ docker stop --time=1 a0059d12d19311112609c8d8326d3e0a7f44a51a7177f238118d52622d023cc6 12:57:07 $ docker rm -f a0059d12d19311112609c8d8326d3e0a7f44a51a7177f238118d52622d023cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:57:08 + docker inspect -f . ci-base-image-arm64 12:57:08 . [Pipeline] withDockerContainer 12:57:08 prd-ubuntu20.04-docker-arm64-4c-16g-41392 does not seem to be running inside a container 12:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:57:10 $ docker top 31808ad76d874f09e43be00053d33e307ac40e0ab1c1c9e04006b519d45c1f04 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:57:11 + make test 12:57:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:57:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:58:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:58:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 46.4% of statements 12:58:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:58:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:58:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:58:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:58:52 ./bin/test-attribution-txt.sh [Pipeline] echo 12:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:58:55 $ docker stop --time=1 31808ad76d874f09e43be00053d33e307ac40e0ab1c1c9e04006b519d45c1f04 12:58:57 $ docker rm -f 31808ad76d874f09e43be00053d33e307ac40e0ab1c1c9e04006b519d45c1f04 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:58 Warning: overwriting stash ‘coverage-report’ 12:58:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:59 + ls -al . 12:58:59 total 176 12:58:59 drwxrwxr-x 9 jenkins jenkins 4096 May 7 12:58 . 12:58:59 drwxrwxr-x 4 jenkins jenkins 4096 May 7 12:55 .. 12:58:59 -rw-rw-r-- 1 jenkins jenkins 140 May 7 12:55 .dockerignore 12:58:59 drwxrwxr-x 8 jenkins jenkins 4096 May 7 12:55 .git 12:58:59 drwxrwxr-x 3 jenkins jenkins 4096 May 7 12:55 .github 12:58:59 -rw-rw-r-- 1 jenkins jenkins 331 May 7 12:55 .gitignore 12:58:59 -rw-rw-r-- 1 jenkins jenkins 41 May 7 12:55 .golangci.yml 12:58:59 -rw-rw-r-- 1 jenkins jenkins 9377 May 7 12:55 Attribution.txt 12:58:59 -rw-rw-r-- 1 jenkins jenkins 6038 May 7 12:55 CHANGELOG.md 12:58:59 -rw-rw-r-- 1 jenkins jenkins 1546 May 7 12:55 Dockerfile 12:58:59 -rw-rw-r-- 1 jenkins jenkins 677 May 7 12:55 GOVERNANCE.md 12:58:59 -rw-rw-r-- 1 jenkins jenkins 680 May 7 12:55 Jenkinsfile 12:58:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 7 12:55 LICENSE 12:58:59 -rw-rw-r-- 1 jenkins jenkins 1905 May 7 12:55 Makefile 12:58:59 -rw-rw-r-- 1 jenkins jenkins 622 May 7 12:55 OWNERS.md 12:58:59 -rw-rw-r-- 1 jenkins jenkins 3397 May 7 12:55 README.md 12:58:59 -rw-rw-r-- 1 jenkins jenkins 5 May 7 12:53 VERSION 12:58:59 drwxrwxr-x 2 jenkins jenkins 4096 May 7 12:55 bin 12:58:59 drwxrwxr-x 3 jenkins jenkins 4096 May 7 12:55 cmd 12:58:59 -rw-r--r-- 1 jenkins jenkins 24065 May 7 12:58 coverage.out 12:58:59 -rw-rw-r-- 1 jenkins jenkins 3399 May 7 12:55 go.mod 12:58:59 -rw-rw-r-- 1 jenkins jenkins 35558 May 7 12:55 go.sum 12:58:59 drwxrwxr-x 3 jenkins jenkins 4096 May 7 12:55 internal 12:58:59 drwxrwxr-x 2 jenkins jenkins 4096 May 7 12:55 simulator 12:58:59 drwxrwxr-x 4 jenkins jenkins 4096 May 7 12:55 snap 12:58:59 -rw-rw-r-- 1 jenkins jenkins 229 May 7 12:55 version.go [Pipeline] isUnix [Pipeline] sh 12:58:59 + 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=8fd1b008db63ed9fdea8f36299dc65075a32b1c6 --label arch=arm64 --label version=0.0.0 . 12:58:59 Sending build context to Docker daemon 3.086MB 12:58:59 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:58:59 Step 2/23 : FROM ${BASE} AS builder 12:58:59 ---> 6db9a1c29169 12:58:59 Step 3/23 : ARG MAKE='make build' 12:59:00 ---> Running in a0f99cbf53c3 12:59:00 Removing intermediate container a0f99cbf53c3 12:59:00 ---> 39de6bdf8464 12:59:00 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:59:00 ---> Running in 1783bc12ba01 12:59:02 Removing intermediate container 1783bc12ba01 12:59:02 ---> 77f4f1b1d7d5 12:59:02 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:59:02 ---> Running in cb90af6a7cc0 12:59:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:59:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:59:04 OK: 226 MiB in 60 packages 12:59:05 Removing intermediate container cb90af6a7cc0 12:59:05 ---> 735c585aaa80 12:59:05 Step 6/23 : WORKDIR /device-modbus-go 12:59:05 ---> Running in 374156e1c4d2 12:59:06 Removing intermediate container 374156e1c4d2 12:59:06 ---> c53af8ee71db 12:59:06 Step 7/23 : COPY go.mod vendor* ./ 12:59:06 ---> 13d5e74f1535 12:59:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:06 ---> Running in 991f8f573fa6 12:59:08 Removing intermediate container 991f8f573fa6 12:59:08 ---> 65d43c767208 12:59:08 Step 9/23 : COPY . . 12:59:09 ---> b10123b78d50 12:59:09 Step 10/23 : RUN ${MAKE} 12:59:09 ---> Running in 2452486b57f5 12:59:10 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 13:01:17 Removing intermediate container 2452486b57f5 13:01:17 ---> 310946f27878 13:01:17 Step 11/23 : FROM alpine:3.14 13:01:17 3.14: Pulling from library/alpine 13:01:17 455c02918c45: Pulling fs layer 13:01:17 455c02918c45: Verifying Checksum 13:01:17 455c02918c45: Download complete 13:01:17 455c02918c45: Pull complete 13:01:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:01:17 Status: Downloaded newer image for alpine:3.14 13:01:17 ---> ac73e934f311 13:01:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:01:17 ---> Running in e55867d6bb44 13:01:17 Removing intermediate container e55867d6bb44 13:01:17 ---> 025c194efc31 13:01:17 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:17 ---> Running in 1328d20eaf6a 13:01:17 Removing intermediate container 1328d20eaf6a 13:01:17 ---> b699bb89e964 13:01:17 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:01:17 ---> Running in ffb54a3b1bcb 13:01:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:01:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:01:17 (1/6) Installing dumb-init (1.2.5-r1) 13:01:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:01:17 (3/6) Installing libsodium (1.0.18-r0) 13:01:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:01:17 (5/6) Installing libzmq (4.3.4-r0) 13:01:17 (6/6) Installing zeromq (4.3.4-r0) 13:01:17 Executing busybox-1.33.1-r7.trigger 13:01:17 OK: 8 MiB in 20 packages 13:01:17 Removing intermediate container ffb54a3b1bcb 13:01:17 ---> 92bb90dde9d2 13:01:17 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:01:17 ---> 4f6a663c4e90 13:01:17 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:01:17 ---> a8ed4be86f18 13:01:17 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:01:17 ---> cefebf7213ba 13:01:17 Step 18/23 : EXPOSE 59901 13:01:17 ---> Running in 23b5ed96c945 13:01:17 Removing intermediate container 23b5ed96c945 13:01:17 ---> 50f70cbcf2e5 13:01:17 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:01:17 ---> Running in 540d2a1f3bd3 13:01:17 Removing intermediate container 540d2a1f3bd3 13:01:17 ---> 65fb8f4b1d48 13:01:17 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:01:17 ---> Running in 8583ffa3e8e8 13:01:17 Removing intermediate container 8583ffa3e8e8 13:01:17 ---> 83e6c51e5635 13:01:17 Step 21/23 : LABEL arch=arm64 13:01:17 ---> Running in 4bf2c7999800 13:01:17 Removing intermediate container 4bf2c7999800 13:01:17 ---> 84070b9bfeb8 13:01:17 Step 22/23 : LABEL git_sha=8fd1b008db63ed9fdea8f36299dc65075a32b1c6 13:01:17 ---> Running in 25a14336549e 13:01:17 Removing intermediate container 25a14336549e 13:01:17 ---> 907b02314b6f 13:01:17 Step 23/23 : LABEL version=0.0.0 13:01:17 ---> Running in 51477f4d6af0 13:01:17 Removing intermediate container 51477f4d6af0 13:01:17 ---> 309057b7c2c4 13:01:17 [Warning] One or more build-args [ARCH] were not consumed 13:01:17 Successfully built 309057b7c2c4 13:01:17 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 13:01:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:17 13:01:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:01:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:18 arm64: Pulling from edgex-lftools-log-publisher 13:01:18 8998bd30e6a1: Pulling fs layer 13:01:18 04944245beec: Pulling fs layer 13:01:18 699f458cf7ca: Pulling fs layer 13:01:18 765212b225bb: Pulling fs layer 13:01:18 f23df028b6ca: Pulling fs layer 13:01:18 d65c8cfc05b1: Pulling fs layer 13:01:18 2437ff75d9bd: Pulling fs layer 13:01:18 765212b225bb: Waiting 13:01:18 f23df028b6ca: Waiting 13:01:18 d65c8cfc05b1: Waiting 13:01:18 2437ff75d9bd: Waiting 13:01:18 04944245beec: Verifying Checksum 13:01:18 04944245beec: Download complete 13:01:18 765212b225bb: Verifying Checksum 13:01:18 765212b225bb: Download complete 13:01:18 f23df028b6ca: Download complete 13:01:18 d65c8cfc05b1: Verifying Checksum 13:01:18 d65c8cfc05b1: Download complete 13:01:18 699f458cf7ca: Verifying Checksum 13:01:18 699f458cf7ca: Download complete 13:01:19 8998bd30e6a1: Verifying Checksum 13:01:19 8998bd30e6a1: Download complete 13:01:21 2437ff75d9bd: Verifying Checksum 13:01:21 2437ff75d9bd: Download complete 13:01:23 8998bd30e6a1: Pull complete 13:01:23 04944245beec: Pull complete 13:01:25 699f458cf7ca: Pull complete 13:01:25 765212b225bb: Pull complete 13:01:26 f23df028b6ca: Pull complete 13:01:26 d65c8cfc05b1: Pull complete 13:01:41 2437ff75d9bd: Pull complete 13:01:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:01:42 prd-ubuntu20.04-docker-arm64-4c-16g-41392 does not seem to be running inside a container 13:01:42 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:01:44 $ docker top 20ef164d8d47f03deab982b5c050bca5a72d6d0a4c46ca4d9848e184d52dd5cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:45 ---> job-cost.sh 13:01:45 lf-activate-venv: SKIPPING 13:01:45 INFO: No Stack... 13:01:45 INFO: Retrieving Pricing Info for: v3-standard-4 13:01:46 INFO: Archiving Costs [Pipeline] sh 13:01:47 + + catcut /w/workspace/device-modbus-go/3/archives/cost.csv -d, 13:01:47 -f6 [Pipeline] lock 13:01:47 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] 13:01:47 Resource [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] did not exist. Created. 13:01:47 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:48 /w/workspace/device-modbus-go/3@tmp/durable-109d3cbc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:01:48 + echo total: 0.10999999940395355 [Pipeline] stash 13:01:48 Warning: overwriting stash ‘stack-cost’ 13:01:48 Stashed 1 file(s) [Pipeline] } 13:01:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-341-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:49 $ docker stop --time=1 20ef164d8d47f03deab982b5c050bca5a72d6d0a4c46ca4d9848e184d52dd5cd 13:01:50 $ docker rm -f 20ef164d8d47f03deab982b5c050bca5a72d6d0a4c46ca4d9848e184d52dd5cd [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 13:01:50 provisioning config files... 13:01:51 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config3689219239511044389tmp [Pipeline] { [Pipeline] sh 13:01:51 + set +x 13:01:51 + curl -s https://codecov.io/bash 13:01:51 + bash -s -- 13:01:51 13:01:51 _____ _ 13:01:51 / ____| | | 13:01:51 | | ___ __| | ___ ___ _____ __ 13:01:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:01:51 | |___| (_) | (_| | __/ (_| (_) \ V / 13:01:51 \_____\___/ \__,_|\___|\___\___/ \_/ 13:01:51 Bash-1.0.6 13:01:51 13:01:51 13:01:51 ==> git version 2.25.1 found 13:01:51 ==> 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 13:01:51 Release-Date: 2020-01-08 13:01:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:01:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:01:51 ==> Jenkins CI detected. 13:01:51 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-341 13:01:51 project root: . 13:01:51 --> token set from env 13:01:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:01:51 ==> Running gcov in . (disable via -X gcov) 13:01:51 ==> Python coveragepy not found 13:01:51 ==> Searching for coverage reports in: 13:01:51 + . 13:01:51 -> Found 1 reports 13:01:51 ==> Detecting git/mercurial file structure 13:01:51 ==> Reading reports 13:01:51 + ./coverage.out bytes=24065 13:01:51 ==> Appending adjustments 13:01:51 https://docs.codecov.io/docs/fixing-reports 13:01:51 + Found adjustments 13:01:51 ==> Gzipping contents 13:01:51 4.0K /tmp/codecov.MUepRW.gz 13:01:51 ==> Uploading reports 13:01:51 url: https://codecov.io 13:01:51 query: branch=PR-341&commit=798555d94811c00bd459415b5f7b3ac30c9dac93&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-341%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=341&job=&cmd_args= 13:01:51 -> Pinging Codecov 13:01:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-341&commit=798555d94811c00bd459415b5f7b3ac30c9dac93&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-341%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=341&job=&cmd_args= 13:01:51 -> Uploading to 13:01:51 https://storage.googleapis.com/codecov/v4/raw/2022-05-07/55DBCA73C666E3227836607328DD7E49/798555d94811c00bd459415b5f7b3ac30c9dac93/1a247f27-028f-49c4-b5cf-9dcc90dda899.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220507T130151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad1e2772ff32ee0776bc392099391090c8c4afad712dbf42995258f3a74cde45 13:01:51 % Total % Received % Xferd Average Speed Time Time Time Current 13:01:51 Dload Upload Total Spent Left Speed 13:01:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 16201 --:--:-- --:--:-- --:--:-- 16201 13:01:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/798555d94811c00bd459415b5f7b3ac30c9dac93 [Pipeline] } 13:01:52 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 13:01:52 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-341/archives ] 13:01:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-341/archives 13:01:52 total 16 13:01:52 drwxr-xr-x 3 root root 4096 May 7 12:55 . 13:01:52 drwxrwxr-x 11 jenkins jenkins 4096 May 7 12:55 .. 13:01:52 drwxr-xr-x 2 root root 4096 May 7 12:55 cost 13:01:52 -rw-r--r-- 1 root root 87 May 7 12:55 cost.csv 13:01:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-341/archives 13:01:52 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-341/archives 13:01:52 total 16 13:01:52 drwxr-xr-x 3 jenkins jenkins 4096 May 7 12:55 . 13:01:52 drwxrwxr-x 11 jenkins jenkins 4096 May 7 12:55 .. 13:01:52 drwxr-xr-x 2 jenkins jenkins 4096 May 7 12:55 cost 13:01:52 -rw-r--r-- 1 jenkins jenkins 87 May 7 12:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:01:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:01:54 ---> package-listing.sh 13:01:54 ++ facter osfamily 13:01:54 ++ tr '[:upper:]' '[:lower:]' 13:01:54 + OS_FAMILY=debian 13:01:54 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-341 13:01:54 + START_PACKAGES=/tmp/packages_start.txt 13:01:54 + END_PACKAGES=/tmp/packages_end.txt 13:01:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:01:54 + PACKAGES=/tmp/packages_start.txt 13:01:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-341 ']' 13:01:54 + PACKAGES=/tmp/packages_end.txt 13:01:54 + case "${OS_FAMILY}" in 13:01:54 + dpkg -l 13:01:54 + grep '^ii' 13:01:54 + '[' -f /tmp/packages_start.txt ']' 13:01:54 + '[' -f /tmp/packages_end.txt ']' 13:01:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:01:54 + '[' /w/workspace/xfoundry_device-modbus-go_PR-341 ']' 13:01:54 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-341/archives/ 13:01:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-341/archives/ [Pipeline] echo 13:01:54 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:01:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:55 . [Pipeline] withDockerContainer 13:01:55 prd-ubuntu20.04-docker-8c-8g-41391 does not seem to be running inside a container 13:01:55 $ 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-341/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-341 -v /w/workspace/xfoundry_device-modbus-go_PR-341:/w/workspace/xfoundry_device-modbus-go_PR-341:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-341@tmp:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:55 $ docker top c657124a93c485e7b527499a9ba9f8bc75364e447507fe3abcdc142797de56d4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:55 + touch /tmp/pre-build-complete [Pipeline] sh 13:01:56 + mkdir -p /var/log/sysstat [Pipeline] sh 13:01:56 + ls /var/log/sa-host 13:01:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:56 provisioning config files... 13:01:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-341@tmp/config2470070438365674931tmp [Pipeline] { [Pipeline] echo 13:01:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:01:56 ---> create-netrc.sh [Pipeline] } 13:01:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:01:57 ---> python-tools-install.sh [Pipeline] echo 13:01:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:01:57 ---> sudo-logs.sh 13:01:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:01:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:01:57 ---> job-cost.sh 13:01:57 lf-activate-venv: SKIPPING 13:01:57 DEBUG: total: 0.2199999988079071 13:01:57 INFO: Retrieving Stack Cost... 13:01:58 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:58 INFO: Archiving Costs [Pipeline] echo 13:01:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:01:59 ---> logs-deploy.sh 13:01:59 lf-activate-venv: SKIPPING 13:01:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-341/3 13:01:59 INFO: archiving workspace using pattern(s): 13:02:00 Archives upload complete. 13:02:00 INFO: archiving logs to Nexus