Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 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-ssh5135390793286635834.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-ssh13332662127055682058.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6074819210572170553.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-ssh7454572526349666207.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2326319058241791445.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 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-45620’ is offline ‘prd-ubuntu20.04-docker-8c-8g-45621’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-45616’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45617’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45835 in /w/workspace/gexfoundry_device-modbus-go_main [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/gexfoundry_device-modbus-go_main # 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 Avoid second fetch Checking out Revision 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 Commit message: "Merge pull request #343 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:13:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:13:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:13:54 ========================================================= 07:13:54 EdgeX Global Pipelines Version Info 07:13:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:13:55 ------------------- 07:13:55 stable info: 07:13:55 ------------------- 07:13:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:13:55 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 07:13:55 Message: update stable to v1.0.227 07:13:56 ------------------- 07:13:56 experimental info: 07:13:56 ------------------- 07:13:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:13:56 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 07:13:56 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 241fbfb [Pipeline] echo 07:13:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:56 provisioning config files... 07:13:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6337064493447399884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:57 ---> docker-login.sh 07:13:57 nexus3.edgexfoundry.org:10001 07:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:57 Configure a credential helper to remove this warning. See 07:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:57 07:13:57 Login Succeeded 07:13:57 nexus3.edgexfoundry.org:10002 07:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:57 Configure a credential helper to remove this warning. See 07:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:57 07:13:57 Login Succeeded 07:13:57 nexus3.edgexfoundry.org:10003 07:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:58 Configure a credential helper to remove this warning. See 07:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:58 07:13:58 Login Succeeded 07:13:58 nexus3.edgexfoundry.org:10004 07:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:58 Configure a credential helper to remove this warning. See 07:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:58 07:13:58 Login Succeeded 07:13:58 docker.io 07:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:58 Configure a credential helper to remove this warning. See 07:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:58 07:13:58 Login Succeeded 07:13:58 ---> docker-login.sh ends [Pipeline] } 07:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:13:58 + git rev-list -1 --merges 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea~1..241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo 07:13:58 -----------> git rev-list -1 --merges 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea~1..241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:13:58 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [false] [Pipeline] sh 07:13:59 + git log --format=format:%s -1 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo 07:13:59 ========================================================= 07:13:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:13:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:59 + git log --format=format:%s -1 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] echo 07:13:59 [semverPrep] GIT_COMMIT: 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea, Commit Message: Merge pull request #343 from jpwhitemn/kamakura-rls-notes [Pipeline] echo 07:13:59 [semverPrep] This is not a build commit. [Pipeline] sh 07:14:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:14:00 + grep -v github /etc/ssh/ssh_known_hosts 07:14:00 + [ -e /tmp/ssh_known_hosts ] 07:14:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:14:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:14:00 + sudo tee -a /etc/ssh/ssh_known_hosts 07:14:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:14:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:14:00 07:14:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:14:00 latest: Pulling from edgex-devops/py-git-semver 07:14:00 1fe172e4850f: Pulling fs layer 07:14:00 caf521ccaac6: Pulling fs layer 07:14:00 3ead6fa29328: Pulling fs layer 07:14:00 5c2a1cbceb83: Pulling fs layer 07:14:00 a8d5f1318db7: Pulling fs layer 07:14:00 c427282e49a2: Pulling fs layer 07:14:00 1827001aaf11: Pulling fs layer 07:14:00 0714d37db230: Pulling fs layer 07:14:00 ac28cf19c067: Pulling fs layer 07:14:00 ca983d60f3e2: Pulling fs layer 07:14:00 1827001aaf11: Waiting 07:14:00 a8d5f1318db7: Waiting 07:14:00 0714d37db230: Waiting 07:14:00 c427282e49a2: Waiting 07:14:00 5c2a1cbceb83: Waiting 07:14:00 ac28cf19c067: Waiting 07:14:00 9f894cec8388: Pulling fs layer 07:14:00 9f894cec8388: Waiting 07:14:00 ca983d60f3e2: Waiting 07:14:00 caf521ccaac6: Download complete 07:14:00 5c2a1cbceb83: Download complete 07:14:00 a8d5f1318db7: Verifying Checksum 07:14:00 a8d5f1318db7: Download complete 07:14:00 c427282e49a2: Verifying Checksum 07:14:00 3ead6fa29328: Verifying Checksum 07:14:00 3ead6fa29328: Download complete 07:14:00 0714d37db230: Download complete 07:14:00 ac28cf19c067: Verifying Checksum 07:14:00 ac28cf19c067: Download complete 07:14:00 ca983d60f3e2: Verifying Checksum 07:14:00 ca983d60f3e2: Download complete 07:14:00 9f894cec8388: Download complete 07:14:00 1fe172e4850f: Verifying Checksum 07:14:00 1fe172e4850f: Download complete 07:14:01 1827001aaf11: Verifying Checksum 07:14:01 1827001aaf11: Download complete 07:14:02 1fe172e4850f: Pull complete 07:14:02 caf521ccaac6: Pull complete 07:14:03 3ead6fa29328: Pull complete 07:14:03 5c2a1cbceb83: Pull complete 07:14:03 a8d5f1318db7: Pull complete 07:14:03 c427282e49a2: Pull complete 07:14:06 1827001aaf11: Pull complete 07:14:06 0714d37db230: Pull complete 07:14:06 ac28cf19c067: Pull complete 07:14:06 ca983d60f3e2: Pull complete 07:14:06 9f894cec8388: Pull complete 07:14:06 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 07:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:14:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 07:14:06 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:14:07 $ docker top 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 -eo pid,comm 07:14:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:14:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:07 [ssh-agent] Looking for ssh-agent implementation... 07:14:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:08 $ docker exec 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent 07:14:08 SSH_AUTH_SOCK=/tmp/ssh-mlZ3j6JoQUYW/agent.33 07:14:08 SSH_AGENT_PID=40 07:14:08 Running ssh-add (command line suppressed) 07:14:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6393461497630720697.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6393461497630720697.key) 07:14:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:08 + git tag --points-at HEAD [Pipeline] } 07:14:08 $ docker exec --env ******** --env ******** 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent -k 07:14:08 unset SSH_AUTH_SOCK; 07:14:08 unset SSH_AGENT_PID; 07:14:08 echo Agent pid 40 killed; 07:14:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:14:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:08 [ssh-agent] Looking for ssh-agent implementation... 07:14:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:09 $ docker exec 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent 07:14:09 SSH_AUTH_SOCK=/tmp/ssh-3m4fSa88vyBm/agent.72 07:14:09 SSH_AGENT_PID=79 07:14:09 Running ssh-add (command line suppressed) 07:14:09 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6685463445538003486.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6685463445538003486.key) 07:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:09 + git semver init 07:14:09 2022-05-10 07:14:09,830 [run_init] DEBUG init version:0.0.0 force:False 07:14:09 2022-05-10 07:14:09,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:14:09 2022-05-10 07:14:09,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:14:09 2022-05-10 07:14:09,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:14:10 2022-05-10 07:14:10,624 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:14:10 2022-05-10 07:14:10,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:14:10 2022-05-10 07:14:10,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:14:10 2022-05-10 07:14:10,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:14:10 2.2.0-dev.18 [Pipeline] } 07:14:10 $ docker exec --env ******** --env ******** 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 ssh-agent -k 07:14:10 unset SSH_AUTH_SOCK; 07:14:10 unset SSH_AGENT_PID; 07:14:10 echo Agent pid 79 killed; 07:14:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:11 + git semver [Pipeline] } 07:14:11 $ docker stop --time=1 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 07:14:12 $ docker rm -f 8dd10b67a248cf52b8f005b1b6c0f947dfcf902cd6a900ba6c014ed5b06e95e0 [Pipeline] // withDockerContainer [Pipeline] sh 07:14:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:14:13 Stashed 1 file(s) [Pipeline] echo 07:14:13 [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [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 07:14:13 provisioning config files... 07:14:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7870934123508587853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:13 ---> docker-login.sh 07:14:13 nexus3.edgexfoundry.org:10001 07:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:13 Configure a credential helper to remove this warning. See 07:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:13 07:14:13 Login Succeeded 07:14:13 nexus3.edgexfoundry.org:10002 07:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:14 Configure a credential helper to remove this warning. See 07:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:14 07:14:14 Login Succeeded 07:14:14 nexus3.edgexfoundry.org:10003 07:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:14 Configure a credential helper to remove this warning. See 07:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:14 07:14:14 Login Succeeded 07:14:14 nexus3.edgexfoundry.org:10004 07:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:14 Configure a credential helper to remove this warning. See 07:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:14 07:14:14 Login Succeeded 07:14:14 docker.io 07:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:15 Configure a credential helper to remove this warning. See 07:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:15 07:14:15 Login Succeeded 07:14:15 ---> docker-login.sh ends [Pipeline] } 07:14:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:14:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:14:15 ========================================================= 07:14:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:14:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:14:15 + 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 . 07:14:15 Sending build context to Docker daemon 5.874MB 07:14:15 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 07:14:15 Step 2/10 : FROM ${BASE} AS builder 07:14:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:14:15 59bf1c3509f3: Pulling fs layer 07:14:15 666ba61612fd: Pulling fs layer 07:14:15 8ed8ca486205: Pulling fs layer 07:14:15 4fe6c5a15a65: Pulling fs layer 07:14:15 22a0e8bec74d: Pulling fs layer 07:14:15 ca2b28591e48: Pulling fs layer 07:14:15 a51346096db8: Pulling fs layer 07:14:15 daebc70d1ce1: Pulling fs layer 07:14:15 0e18a0eac166: Pulling fs layer 07:14:15 ca2b28591e48: Waiting 07:14:15 a51346096db8: Waiting 07:14:15 0e18a0eac166: Waiting 07:14:15 daebc70d1ce1: Waiting 07:14:15 4fe6c5a15a65: Waiting 07:14:15 22a0e8bec74d: Waiting 07:14:15 8ed8ca486205: Verifying Checksum 07:14:15 8ed8ca486205: Download complete 07:14:15 666ba61612fd: Download complete 07:14:15 22a0e8bec74d: Verifying Checksum 07:14:15 22a0e8bec74d: Download complete 07:14:15 ca2b28591e48: Verifying Checksum 07:14:15 ca2b28591e48: Download complete 07:14:15 a51346096db8: Download complete 07:14:15 59bf1c3509f3: Verifying Checksum 07:14:15 59bf1c3509f3: Download complete 07:14:15 daebc70d1ce1: Verifying Checksum 07:14:15 daebc70d1ce1: Download complete 07:14:15 59bf1c3509f3: Pull complete 07:14:15 666ba61612fd: Pull complete 07:14:15 8ed8ca486205: Pull complete 07:14:16 0e18a0eac166: Verifying Checksum 07:14:16 0e18a0eac166: Download complete 07:14:16 4fe6c5a15a65: Verifying Checksum 07:14:16 4fe6c5a15a65: Download complete 07:14:20 4fe6c5a15a65: Pull complete 07:14:20 22a0e8bec74d: Pull complete 07:14:20 ca2b28591e48: Pull complete 07:14:20 a51346096db8: Pull complete 07:14:20 daebc70d1ce1: Pull complete 07:14:23 0e18a0eac166: Pull complete 07:14:23 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:14:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:14:23 ---> f018257e8ee9 07:14:23 Step 3/10 : ARG MAKE='make build' 07:14:24 ---> Running in 902a2c13b78c 07:14:24 Removing intermediate container 902a2c13b78c 07:14:24 ---> 9ad542f37a7f 07:14:24 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:14:24 ---> Running in af718c2cbba9 07:14:25 Removing intermediate container af718c2cbba9 07:14:25 ---> 90424caa8c11 07:14:25 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:14:25 ---> Running in a17d359f90f2 07:14:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:14:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:14:26 (1/8) Installing openssh-keygen (8.8_p1-r1) 07:14:26 (2/8) Installing libedit (20210910.3.1-r0) 07:14:26 (3/8) Installing openssh-client-common (8.8_p1-r1) 07:14:27 (4/8) Installing openssh-client-default (8.8_p1-r1) 07:14:27 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 07:14:27 (6/8) Installing openssh-server-common (8.8_p1-r1) 07:14:27 (7/8) Installing openssh-server (8.8_p1-r1) 07:14:27 (8/8) Installing openssh (8.8_p1-r1) 07:14:27 Executing busybox-1.34.1-r3.trigger 07:14:27 OK: 226 MiB in 60 packages 07:14:27 Removing intermediate container a17d359f90f2 07:14:27 ---> 7ff6addc4dd6 07:14:27 Step 6/10 : WORKDIR /device-modbus-go 07:14:27 ---> Running in f96b48ad7ee8 07:14:28 Removing intermediate container f96b48ad7ee8 07:14:28 ---> 88fd8a59923e 07:14:28 Step 7/10 : COPY go.mod vendor* ./ 07:14:28 ---> 1cdc82faa3a2 07:14:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:28 ---> Running in 1760b4289f49 07:14:28 Still waiting to schedule task 07:14:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:14:43 Removing intermediate container 1760b4289f49 07:14:43 ---> 1565fa5bab57 07:14:43 Step 9/10 : COPY . . 07:14:43 ---> 18f3693d4f61 07:14:43 Step 10/10 : RUN ${MAKE} 07:14:43 ---> Running in 5207f782f2ad 07:14:43 noop 07:14:43 Removing intermediate container 5207f782f2ad 07:14:43 ---> 086922694292 07:14:43 Successfully built 086922694292 07:14:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:14:43 + docker inspect -f . ci-base-image-x86_64 07:14:43 . [Pipeline] withDockerContainer 07:14:43 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:14:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 07:14:44 $ docker top 7c5d15c8873973eae3732e59eb630a85fddec7f4969e09d1fdd742667cc2be47 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:44 + go version 07:14:44 go version go1.17.6 linux/amd64 [Pipeline] } 07:14:44 $ docker stop --time=1 7c5d15c8873973eae3732e59eb630a85fddec7f4969e09d1fdd742667cc2be47 07:14:45 $ docker rm -f 7c5d15c8873973eae3732e59eb630a85fddec7f4969e09d1fdd742667cc2be47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:14:46 + docker inspect -f . ci-base-image-x86_64 07:14:46 . [Pipeline] withDockerContainer 07:14:46 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** ci-base-image-x86_64 cat 07:14:46 $ docker top 3336a19bc2c7590abc8f0a2104648b2ee0cf6367a8ca7fcd59727627fb500718 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:14:47 + make test 07:14:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:14:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:14:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:14:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements 07:15:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:15:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:15:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:15:06 ./bin/test-attribution-txt.sh [Pipeline] echo 07:15:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:15:07 $ docker stop --time=1 3336a19bc2c7590abc8f0a2104648b2ee0cf6367a8ca7fcd59727627fb500718 07:15:09 $ docker rm -f 3336a19bc2c7590abc8f0a2104648b2ee0cf6367a8ca7fcd59727627fb500718 [Pipeline] // withDockerContainer [Pipeline] sh 07:15:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:15:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:15:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:15:10 + ls -al . 07:15:10 total 184 07:15:10 drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:15 . 07:15:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:13 .. 07:15:10 -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:13 .dockerignore 07:15:10 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:14 .git 07:15:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:13 .github 07:15:10 -rw-rw-r-- 1 jenkins jenkins 331 May 10 07:13 .gitignore 07:15:10 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:13 .golangci.yml 07:15:10 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:14 .semver 07:15:10 -rw-rw-r-- 1 jenkins jenkins 9377 May 10 07:13 Attribution.txt 07:15:10 -rw-rw-r-- 1 jenkins jenkins 10001 May 10 07:13 CHANGELOG.md 07:15:10 -rw-rw-r-- 1 jenkins jenkins 1546 May 10 07:13 Dockerfile 07:15:10 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:13 GOVERNANCE.md 07:15:10 -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:13 Jenkinsfile 07:15:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:13 LICENSE 07:15:10 -rw-rw-r-- 1 jenkins jenkins 1905 May 10 07:13 Makefile 07:15:10 -rw-rw-r-- 1 jenkins jenkins 622 May 10 07:13 OWNERS.md 07:15:10 -rw-rw-r-- 1 jenkins jenkins 3397 May 10 07:13 README.md 07:15:10 -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:14 VERSION 07:15:10 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:13 bin 07:15:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:13 cmd 07:15:10 -rw-r--r-- 1 jenkins jenkins 24065 May 10 07:14 coverage.out 07:15:10 -rw-rw-r-- 1 jenkins jenkins 3399 May 10 07:13 go.mod 07:15:10 -rw-rw-r-- 1 jenkins jenkins 35558 May 10 07:13 go.sum 07:15:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:13 internal 07:15:10 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:13 simulator 07:15:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:13 snap 07:15:10 -rw-rw-r-- 1 jenkins jenkins 229 May 10 07:13 version.go [Pipeline] isUnix [Pipeline] sh 07:15:10 + 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=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea --label arch=amd64 --label version=2.2.0-dev.18 . 07:15:10 Sending build context to Docker daemon 5.899MB 07:15:10 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:15:10 Step 2/23 : FROM ${BASE} AS builder 07:15:10 ---> 086922694292 07:15:10 Step 3/23 : ARG MAKE='make build' 07:15:10 ---> Running in c252b08f9aca 07:15:10 Removing intermediate container c252b08f9aca 07:15:10 ---> 75e44dbba0b1 07:15:10 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:10 ---> Running in d08c56a46c67 07:15:11 Removing intermediate container d08c56a46c67 07:15:11 ---> 3ab366eb7a4e 07:15:11 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:15:11 ---> Running in f271a4fb52f6 07:15:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:15:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:15:13 OK: 226 MiB in 60 packages 07:15:13 Removing intermediate container f271a4fb52f6 07:15:13 ---> 6cb03749976f 07:15:13 Step 6/23 : WORKDIR /device-modbus-go 07:15:13 ---> Running in bbce108b99bd 07:15:13 Removing intermediate container bbce108b99bd 07:15:13 ---> 9cffffc670b9 07:15:13 Step 7/23 : COPY go.mod vendor* ./ 07:15:13 ---> 6f08934bb273 07:15:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:13 ---> Running in 05557eab899c 07:15:14 Removing intermediate container 05557eab899c 07:15:14 ---> 9aded7750012 07:15:14 Step 9/23 : COPY . . 07:15:15 ---> bca7998e75a8 07:15:15 Step 10/23 : RUN ${MAKE} 07:15:15 ---> Running in 13e907a8f87f 07:15:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:15:37 Removing intermediate container 13e907a8f87f 07:15:37 ---> 57d3c19f18b4 07:15:37 Step 11/23 : FROM alpine:3.14 07:15:37 3.14: Pulling from library/alpine 07:15:37 8663204ce13b: Pulling fs layer 07:15:37 8663204ce13b: Download complete 07:15:37 8663204ce13b: Pull complete 07:15:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:15:37 Status: Downloaded newer image for alpine:3.14 07:15:37 ---> e04c818066af 07:15:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:15:37 ---> Running in 8ba94842a7c4 07:15:37 Removing intermediate container 8ba94842a7c4 07:15:37 ---> 2f2697109729 07:15:37 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:37 ---> Running in 4aefbb84d6be 07:15:37 Removing intermediate container 4aefbb84d6be 07:15:37 ---> 8cb1579dbc6b 07:15:37 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 07:15:37 ---> Running in 9984fef20b78 07:15:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:15:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:15:37 (1/6) Installing dumb-init (1.2.5-r1) 07:15:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:15:37 (3/6) Installing libsodium (1.0.18-r0) 07:15:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:15:37 (5/6) Installing libzmq (4.3.4-r0) 07:15:37 (6/6) Installing zeromq (4.3.4-r0) 07:15:38 Executing busybox-1.33.1-r7.trigger 07:15:38 OK: 8 MiB in 20 packages 07:15:38 Removing intermediate container 9984fef20b78 07:15:38 ---> 662eadb4de11 07:15:38 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:15:38 ---> 8e4ce0494219 07:15:38 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:15:39 ---> 09cfe459053a 07:15:39 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:15:39 ---> 63d29dd66c69 07:15:39 Step 18/23 : EXPOSE 59901 07:15:39 ---> Running in ec9817703ce0 07:15:39 Removing intermediate container ec9817703ce0 07:15:39 ---> 74cba4225c5c 07:15:39 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:15:39 ---> Running in 5b5b189ad855 07:15:39 Removing intermediate container 5b5b189ad855 07:15:39 ---> 83a26e8655c9 07:15:39 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:15:39 ---> Running in a997f9f3ad33 07:15:39 Removing intermediate container a997f9f3ad33 07:15:39 ---> e5c09b209d4c 07:15:39 Step 21/23 : LABEL arch=amd64 07:15:39 ---> Running in 31c379bfd27d 07:15:39 Removing intermediate container 31c379bfd27d 07:15:39 ---> 1ea33fa0ffae 07:15:39 Step 22/23 : LABEL git_sha=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:15:39 ---> Running in 05bd56b33750 07:15:39 Removing intermediate container 05bd56b33750 07:15:39 ---> e9494cbe14af 07:15:39 Step 23/23 : LABEL version=2.2.0-dev.18 07:15:40 ---> Running in 50e31e93f277 07:15:40 Removing intermediate container 50e31e93f277 07:15:40 ---> 534d6814561d 07:15:40 [Warning] One or more build-args [ARCH] were not consumed 07:15:40 Successfully built 534d6814561d 07:15:40 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:40 provisioning config files... 07:15:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6711725751983971033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:40 ---> docker-login.sh 07:15:40 nexus3.edgexfoundry.org:10001 07:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:40 Configure a credential helper to remove this warning. See 07:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:40 07:15:40 Login Succeeded 07:15:40 nexus3.edgexfoundry.org:10002 07:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:40 Configure a credential helper to remove this warning. See 07:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:40 07:15:40 Login Succeeded 07:15:40 nexus3.edgexfoundry.org:10003 07:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:40 Configure a credential helper to remove this warning. See 07:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:40 07:15:40 Login Succeeded 07:15:40 nexus3.edgexfoundry.org:10004 07:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:41 Configure a credential helper to remove this warning. See 07:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:41 07:15:41 Login Succeeded 07:15:41 docker.io 07:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:41 Configure a credential helper to remove this warning. See 07:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:41 07:15:41 Login Succeeded 07:15:41 ---> docker-login.sh ends [Pipeline] } 07:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:41 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:15:41 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:15:41 latest 07:15:41 2.2.0-dev.18 07:15:41 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 07:15:41 main 07:15:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:15:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] isUnix [Pipeline] sh 07:15:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:15:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:15:42 22f1705a1e05: Preparing 07:15:42 cd50902c7515: Preparing 07:15:42 22437f8436bb: Preparing 07:15:42 306ac5ec478c: Preparing 07:15:42 d5c6596925bf: Preparing 07:15:42 b541d28bf3b4: Preparing 07:15:42 b541d28bf3b4: Waiting 07:15:42 d5c6596925bf: Pushed 07:15:42 cd50902c7515: Pushed 07:15:42 b541d28bf3b4: Layer already exists 07:15:42 22f1705a1e05: Pushed 07:15:42 306ac5ec478c: Pushed 07:15:44 22437f8436bb: Pushed 07:15:44 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:15:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 07:15:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:15:45 22f1705a1e05: Preparing 07:15:45 cd50902c7515: Preparing 07:15:45 22437f8436bb: Preparing 07:15:45 306ac5ec478c: Preparing 07:15:45 d5c6596925bf: Preparing 07:15:45 b541d28bf3b4: Preparing 07:15:45 b541d28bf3b4: Waiting 07:15:45 d5c6596925bf: Layer already exists 07:15:45 306ac5ec478c: Layer already exists 07:15:45 22f1705a1e05: Layer already exists 07:15:45 22437f8436bb: Layer already exists 07:15:45 cd50902c7515: Layer already exists 07:15:45 b541d28bf3b4: Layer already exists 07:15:45 latest: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:15:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 07:15:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.18 07:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:15:46 22f1705a1e05: Preparing 07:15:46 cd50902c7515: Preparing 07:15:46 22437f8436bb: Preparing 07:15:46 306ac5ec478c: Preparing 07:15:46 d5c6596925bf: Preparing 07:15:46 b541d28bf3b4: Preparing 07:15:46 b541d28bf3b4: Waiting 07:15:46 d5c6596925bf: Layer already exists 07:15:46 306ac5ec478c: Layer already exists 07:15:46 22f1705a1e05: Layer already exists 07:15:46 22437f8436bb: Layer already exists 07:15:46 cd50902c7515: Layer already exists 07:15:46 b541d28bf3b4: Layer already exists 07:15:46 2.2.0-dev.18: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:15:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 07:15:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 07:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:15:46 22f1705a1e05: Preparing 07:15:46 cd50902c7515: Preparing 07:15:46 22437f8436bb: Preparing 07:15:46 306ac5ec478c: Preparing 07:15:46 d5c6596925bf: Preparing 07:15:46 b541d28bf3b4: Preparing 07:15:46 b541d28bf3b4: Waiting 07:15:46 22f1705a1e05: Layer already exists 07:15:46 d5c6596925bf: Layer already exists 07:15:46 306ac5ec478c: Layer already exists 07:15:46 cd50902c7515: Layer already exists 07:15:46 22437f8436bb: Layer already exists 07:15:46 b541d28bf3b4: Layer already exists 07:15:46 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:15:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 07:15:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:15:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:15:47 22f1705a1e05: Preparing 07:15:47 cd50902c7515: Preparing 07:15:47 22437f8436bb: Preparing 07:15:47 306ac5ec478c: Preparing 07:15:47 d5c6596925bf: Preparing 07:15:47 b541d28bf3b4: Preparing 07:15:47 b541d28bf3b4: Waiting 07:15:47 22437f8436bb: Layer already exists 07:15:47 306ac5ec478c: Layer already exists 07:15:47 22f1705a1e05: Layer already exists 07:15:47 d5c6596925bf: Layer already exists 07:15:47 cd50902c7515: Layer already exists 07:15:47 b541d28bf3b4: Layer already exists 07:15:47 main: digest: sha256:6ef9521b008149b44b8123d2330501ed8b603942b02db5469af34693b274c1c5 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:15:47 ===================================================== [Pipeline] echo 07:15:47 taggedImages: 07:15:47 - nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:15:47 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:15:47 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.18 07:15:47 - nexus3.edgexfoundry.org:10004/device-modbus:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 07:15:47 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [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 07:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:15:47 07:15:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:15:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:15:47 latest: Pulling from edgex-lftools-log-publisher 07:15:47 5eb5b503b376: Pulling fs layer 07:15:47 5c69ac0246d0: Pulling fs layer 07:15:47 ec43610c2a17: Pulling fs layer 07:15:47 3a2ae6a8a46f: Pulling fs layer 07:15:47 33b1e0a273af: Pulling fs layer 07:15:47 5d3b04190fa2: Pulling fs layer 07:15:47 2f39f015ded8: Pulling fs layer 07:15:47 3a2ae6a8a46f: Waiting 07:15:47 33b1e0a273af: Waiting 07:15:47 5d3b04190fa2: Waiting 07:15:47 5c69ac0246d0: Verifying Checksum 07:15:47 5c69ac0246d0: Download complete 07:15:47 3a2ae6a8a46f: Verifying Checksum 07:15:47 3a2ae6a8a46f: Download complete 07:15:47 33b1e0a273af: Verifying Checksum 07:15:47 33b1e0a273af: Download complete 07:15:47 ec43610c2a17: Verifying Checksum 07:15:47 ec43610c2a17: Download complete 07:15:47 5d3b04190fa2: Verifying Checksum 07:15:47 5d3b04190fa2: Download complete 07:15:48 5eb5b503b376: Verifying Checksum 07:15:48 5eb5b503b376: Download complete 07:15:48 2f39f015ded8: Download complete 07:15:49 5eb5b503b376: Pull complete 07:15:49 5c69ac0246d0: Pull complete 07:15:49 ec43610c2a17: Pull complete 07:15:50 3a2ae6a8a46f: Pull complete 07:15:50 33b1e0a273af: Pull complete 07:15:50 5d3b04190fa2: Pull complete 07:15:54 2f39f015ded8: Pull complete 07:15:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:15:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:15:54 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:15:54 $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:15:56 $ docker top a8f385d17fe0c4f4a339d1b71fd896d55ee3c895b88fa67b40dc6a96c21fa57f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:57 ---> job-cost.sh 07:15:57 lf-activate-venv: SKIPPING 07:15:57 INFO: No Stack... 07:15:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:15:58 INFO: Archiving Costs [Pipeline] sh 07:15:58 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:15:58 + cut -d, -f6 [Pipeline] lock 07:15:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] 07:15:58 Resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] did not exist. Created. 07:15:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:15:58 + echo total: 0.2199999988079071 [Pipeline] stash 07:15:58 Stashed 1 file(s) [Pipeline] } 07:15:58 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 07:15:58 $ docker stop --time=1 a8f385d17fe0c4f4a339d1b71fd896d55ee3c895b88fa67b40dc6a96c21fa57f 07:15:59 $ docker rm -f a8f385d17fe0c4f4a339d1b71fd896d55ee3c895b88fa67b40dc6a96c21fa57f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:16:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45840 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:16:02 Running in /w/workspace/device-modbus-go/36 [Pipeline] { [Pipeline] checkout 07:16:02 Selected Git installation does not exist. Using Default 07:16:02 The recommended git tool is: NONE 07:16:10 using credential edgex-jenkins-ssh 07:16:10 Cloning the remote Git repository 07:16:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:16:10 > git init /w/workspace/device-modbus-go/36 # timeout=10 07:16:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:16:10 > git --version # timeout=10 07:16:10 > git --version # 'git version 2.25.1' 07:16:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:16:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:16:12 Avoid second fetch 07:16:12 Checking out Revision 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea (main) 07:16:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:16:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:16:12 > git config core.sparsecheckout # timeout=10 07:16:12 > git checkout -f 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 07:16:16 Commit message: "Merge pull request #343 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:16:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:16:17 % Total % Received % Xferd Average Speed Time Time Time Current 07:16:17 Dload Upload Total Spent Left Speed 07:16:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 160k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh 07:16:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:16:18 + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:16:18 tee /etc/docker/daemon.new 07:16:18 { 07:16:18 "registry-mirrors": [ 07:16:18 "https://nexus3.edgexfoundry.org:10001" 07:16:18 ], 07:16:18 "bip": "10.250.0.254/24", 07:16:18 "hosts": [ 07:16:18 "tcp://0.0.0.0:5555", 07:16:18 "unix:///var/run/docker.sock" 07:16:18 ], 07:16:18 "mtu": 1458, 07:16:18 "selinux-enabled": true, 07:16:18 "seccomp-profile": "/etc/docker/seccomp.json" 07:16:18 } [Pipeline] sh 07:16:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:16:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:37 provisioning config files... 07:16:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config8878580525604670763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:38 ---> docker-login.sh 07:16:38 nexus3.edgexfoundry.org:10001 07:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:39 Configure a credential helper to remove this warning. See 07:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:39 07:16:39 Login Succeeded 07:16:39 nexus3.edgexfoundry.org:10002 07:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:39 Configure a credential helper to remove this warning. See 07:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:39 07:16:39 Login Succeeded 07:16:39 nexus3.edgexfoundry.org:10003 07:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:40 Configure a credential helper to remove this warning. See 07:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:40 07:16:40 Login Succeeded 07:16:40 nexus3.edgexfoundry.org:10004 07:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:40 Configure a credential helper to remove this warning. See 07:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:40 07:16:40 Login Succeeded 07:16:40 docker.io 07:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:16:41 Configure a credential helper to remove this warning. See 07:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:16:41 07:16:41 Login Succeeded 07:16:41 ---> docker-login.sh ends [Pipeline] } 07:16:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:16:42 ========================================================= 07:16:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:16:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:16:42 + 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 . 07:16:43 Sending build context to Docker daemon 3.065MB 07:16:43 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 07:16:43 Step 2/10 : FROM ${BASE} AS builder 07:16:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:16:43 9b3977197b4f: Pulling fs layer 07:16:43 1a89e8eeedd5: Pulling fs layer 07:16:43 94645a83ff95: Pulling fs layer 07:16:43 3f3a8bcf1eab: Pulling fs layer 07:16:43 0c92f367c5e7: Pulling fs layer 07:16:43 3096ccb668a1: Pulling fs layer 07:16:43 e8cf19c19ddd: Pulling fs layer 07:16:43 a4caa8a26152: Pulling fs layer 07:16:43 0c92f367c5e7: Waiting 07:16:43 3096ccb668a1: Waiting 07:16:43 e8cf19c19ddd: Waiting 07:16:43 a4caa8a26152: Waiting 07:16:43 3f3a8bcf1eab: Waiting 07:16:43 94645a83ff95: Verifying Checksum 07:16:43 94645a83ff95: Download complete 07:16:43 1a89e8eeedd5: Verifying Checksum 07:16:43 1a89e8eeedd5: Download complete 07:16:43 0c92f367c5e7: Verifying Checksum 07:16:43 0c92f367c5e7: Download complete 07:16:43 3096ccb668a1: Verifying Checksum 07:16:43 3096ccb668a1: Download complete 07:16:43 e8cf19c19ddd: Verifying Checksum 07:16:43 e8cf19c19ddd: Download complete 07:16:43 9b3977197b4f: Download complete 07:16:44 9b3977197b4f: Pull complete 07:16:44 1a89e8eeedd5: Pull complete 07:16:45 94645a83ff95: Pull complete 07:16:45 a4caa8a26152: Verifying Checksum 07:16:45 a4caa8a26152: Download complete 07:16:46 3f3a8bcf1eab: Verifying Checksum 07:16:46 3f3a8bcf1eab: Download complete 07:17:01 3f3a8bcf1eab: Pull complete 07:17:01 0c92f367c5e7: Pull complete 07:17:01 3096ccb668a1: Pull complete 07:17:01 e8cf19c19ddd: Pull complete 07:17:06 a4caa8a26152: Pull complete 07:17:06 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 07:17:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:17:06 ---> 725f1c02e7f9 07:17:06 Step 3/10 : ARG MAKE='make build' 07:17:07 ---> Running in 7d409ed54834 07:17:08 Removing intermediate container 7d409ed54834 07:17:08 ---> ec769c4b99fa 07:17:08 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:08 ---> Running in 30692d7927c1 07:17:11 Removing intermediate container 30692d7927c1 07:17:11 ---> 39421d809b3b 07:17:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:17:11 ---> Running in 99262daafe7e 07:17:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:17:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:17:14 (1/8) Installing openssh-keygen (8.8_p1-r1) 07:17:14 (2/8) Installing libedit (20210910.3.1-r0) 07:17:14 (3/8) Installing openssh-client-common (8.8_p1-r1) 07:17:14 (4/8) Installing openssh-client-default (8.8_p1-r1) 07:17:14 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 07:17:15 (6/8) Installing openssh-server-common (8.8_p1-r1) 07:17:15 (7/8) Installing openssh-server (8.8_p1-r1) 07:17:15 (8/8) Installing openssh (8.8_p1-r1) 07:17:15 Executing busybox-1.34.1-r3.trigger 07:17:15 OK: 226 MiB in 60 packages 07:17:16 Removing intermediate container 99262daafe7e 07:17:16 ---> a5bec4926bc1 07:17:16 Step 6/10 : WORKDIR /device-modbus-go 07:17:16 ---> Running in df288fc13941 07:17:16 Removing intermediate container df288fc13941 07:17:16 ---> 973655b94346 07:17:16 Step 7/10 : COPY go.mod vendor* ./ 07:17:17 ---> 2b7695610adf 07:17:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:17 ---> Running in 235d63c25d2e 07:18:14 Removing intermediate container 235d63c25d2e 07:18:14 ---> d483985fbeb6 07:18:14 Step 9/10 : COPY . . 07:18:14 ---> 0eee000e8f6c 07:18:14 Step 10/10 : RUN ${MAKE} 07:18:14 ---> Running in ceb9cf73156e 07:18:14 noop 07:18:14 Removing intermediate container ceb9cf73156e 07:18:14 ---> 90c838013ec7 07:18:14 Successfully built 90c838013ec7 07:18:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:18:14 + docker inspect -f . ci-base-image-arm64 07:18:14 . [Pipeline] withDockerContainer 07:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-45840 does not seem to be running inside a container 07:18:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 ******** ci-base-image-arm64 cat 07:18:16 $ docker top 3d5ad9fc75bd6317335e183e3e14f962413b180625de7edec84922125123ba33 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:17 + go version 07:18:17 go version go1.17.6 linux/arm64 [Pipeline] } 07:18:17 $ docker stop --time=1 3d5ad9fc75bd6317335e183e3e14f962413b180625de7edec84922125123ba33 07:18:19 $ docker rm -f 3d5ad9fc75bd6317335e183e3e14f962413b180625de7edec84922125123ba33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:18:19 + docker inspect -f . ci-base-image-arm64 07:18:19 . [Pipeline] withDockerContainer 07:18:20 prd-ubuntu20.04-docker-arm64-4c-16g-45840 does not seem to be running inside a container 07:18:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 ******** ci-base-image-arm64 cat 07:18:21 $ docker top 8f38dd2db6bfdea5a5847cd15ffd0fca8ae6e2882164107ddd3d5d30f246b197 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:18:22 + make test 07:18:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:18:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:20:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:20:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 46.4% of statements 07:20:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:20:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:20:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:20:28 ./bin/test-attribution-txt.sh [Pipeline] echo 07:20:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:20:31 $ docker stop --time=1 8f38dd2db6bfdea5a5847cd15ffd0fca8ae6e2882164107ddd3d5d30f246b197 07:20:33 $ docker rm -f 8f38dd2db6bfdea5a5847cd15ffd0fca8ae6e2882164107ddd3d5d30f246b197 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:34 Warning: overwriting stash ‘coverage-report’ 07:20:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:36 + ls -al . 07:20:36 total 180 07:20:36 drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:20 . 07:20:36 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:16 .. 07:20:36 -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:16 .dockerignore 07:20:36 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:16 .git 07:20:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:16 .github 07:20:36 -rw-rw-r-- 1 jenkins jenkins 331 May 10 07:16 .gitignore 07:20:36 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:16 .golangci.yml 07:20:36 -rw-rw-r-- 1 jenkins jenkins 9377 May 10 07:16 Attribution.txt 07:20:36 -rw-rw-r-- 1 jenkins jenkins 10001 May 10 07:16 CHANGELOG.md 07:20:36 -rw-rw-r-- 1 jenkins jenkins 1546 May 10 07:16 Dockerfile 07:20:36 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:16 GOVERNANCE.md 07:20:36 -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:16 Jenkinsfile 07:20:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:16 LICENSE 07:20:36 -rw-rw-r-- 1 jenkins jenkins 1905 May 10 07:16 Makefile 07:20:36 -rw-rw-r-- 1 jenkins jenkins 622 May 10 07:16 OWNERS.md 07:20:36 -rw-rw-r-- 1 jenkins jenkins 3397 May 10 07:16 README.md 07:20:36 -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:14 VERSION 07:20:36 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:16 bin 07:20:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:16 cmd 07:20:36 -rw-r--r-- 1 jenkins jenkins 24065 May 10 07:19 coverage.out 07:20:36 -rw-rw-r-- 1 jenkins jenkins 3399 May 10 07:16 go.mod 07:20:36 -rw-rw-r-- 1 jenkins jenkins 35558 May 10 07:16 go.sum 07:20:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:16 internal 07:20:36 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:16 simulator 07:20:36 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:16 snap 07:20:36 -rw-rw-r-- 1 jenkins jenkins 229 May 10 07:16 version.go [Pipeline] isUnix [Pipeline] sh 07:20:36 + 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=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea --label arch=arm64 --label version=2.2.0-dev.18 . 07:20:36 Sending build context to Docker daemon 3.09MB 07:20:36 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:20:36 Step 2/23 : FROM ${BASE} AS builder 07:20:36 ---> 90c838013ec7 07:20:36 Step 3/23 : ARG MAKE='make build' 07:20:37 ---> Running in 49f0339eda56 07:20:37 Removing intermediate container 49f0339eda56 07:20:37 ---> b2762b5205ef 07:20:37 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:37 ---> Running in b69f31001802 07:20:39 Removing intermediate container b69f31001802 07:20:39 ---> bb24d4c2a130 07:20:39 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:20:39 ---> Running in 232172d8b8ab 07:20:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:20:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:20:42 OK: 226 MiB in 60 packages 07:20:43 Removing intermediate container 232172d8b8ab 07:20:43 ---> 2de42837acbb 07:20:43 Step 6/23 : WORKDIR /device-modbus-go 07:20:43 ---> Running in 40dfd87b842f 07:20:43 Removing intermediate container 40dfd87b842f 07:20:43 ---> d0e1d2f27fc5 07:20:43 Step 7/23 : COPY go.mod vendor* ./ 07:20:44 ---> 2830207e7ccb 07:20:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:44 ---> Running in e22fd2188ffa 07:20:46 Removing intermediate container e22fd2188ffa 07:20:46 ---> c814f2ef450d 07:20:46 Step 9/23 : COPY . . 07:20:47 ---> d2367d2be57a 07:20:47 Step 10/23 : RUN ${MAKE} 07:20:47 ---> Running in 890179413d71 07:20:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:23:10 Removing intermediate container 890179413d71 07:23:10 ---> 782e56a2df19 07:23:10 Step 11/23 : FROM alpine:3.14 07:23:10 3.14: Pulling from library/alpine 07:23:10 455c02918c45: Pulling fs layer 07:23:10 455c02918c45: Verifying Checksum 07:23:10 455c02918c45: Download complete 07:23:10 455c02918c45: Pull complete 07:23:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:23:10 Status: Downloaded newer image for alpine:3.14 07:23:10 ---> ac73e934f311 07:23:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:23:10 ---> Running in 317d4b0e423a 07:23:10 Removing intermediate container 317d4b0e423a 07:23:10 ---> 2819871e124a 07:23:10 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:23:10 ---> Running in c614ff745f24 07:23:10 Removing intermediate container c614ff745f24 07:23:10 ---> f1cbf94dc219 07:23:10 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 07:23:10 ---> Running in 5f7922528804 07:23:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:23:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:23:13 (1/6) Installing dumb-init (1.2.5-r1) 07:23:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:23:13 (3/6) Installing libsodium (1.0.18-r0) 07:23:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:23:13 (5/6) Installing libzmq (4.3.4-r0) 07:23:13 (6/6) Installing zeromq (4.3.4-r0) 07:23:13 Executing busybox-1.33.1-r7.trigger 07:23:13 OK: 8 MiB in 20 packages 07:23:14 Removing intermediate container 5f7922528804 07:23:14 ---> ec260158e384 07:23:14 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:23:16 ---> 059960cc0ea0 07:23:16 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:23:17 ---> 1ca9b1ff04f1 07:23:17 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:23:17 ---> 45257fd67bcc 07:23:17 Step 18/23 : EXPOSE 59901 07:23:17 ---> Running in 7845841e5af9 07:23:18 Removing intermediate container 7845841e5af9 07:23:18 ---> cbc2a67acfc2 07:23:18 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:23:18 ---> Running in 50dfbcfd1edd 07:23:18 Removing intermediate container 50dfbcfd1edd 07:23:18 ---> 3bfd5c23a42b 07:23:18 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:23:18 ---> Running in 9a16d3778bc9 07:23:18 Removing intermediate container 9a16d3778bc9 07:23:18 ---> 9996c885554c 07:23:18 Step 21/23 : LABEL arch=arm64 07:23:18 ---> Running in e2e26fc9b88a 07:23:19 Removing intermediate container e2e26fc9b88a 07:23:19 ---> 9b171517f363 07:23:19 Step 22/23 : LABEL git_sha=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:23:19 ---> Running in 7696381c93fa 07:23:19 Removing intermediate container 7696381c93fa 07:23:19 ---> 9275c9d2331b 07:23:19 Step 23/23 : LABEL version=2.2.0-dev.18 07:23:19 ---> Running in 26b410067183 07:23:20 Removing intermediate container 26b410067183 07:23:20 ---> 67e3eeb51e8d 07:23:20 [Warning] One or more build-args [ARCH] were not consumed 07:23:20 Successfully built 67e3eeb51e8d 07:23:20 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:20 provisioning config files... 07:23:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/36@tmp/config1771997193133717255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:20 ---> docker-login.sh 07:23:20 nexus3.edgexfoundry.org:10001 07:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:20 Configure a credential helper to remove this warning. See 07:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:20 07:23:20 Login Succeeded 07:23:20 nexus3.edgexfoundry.org:10002 07:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:21 Configure a credential helper to remove this warning. See 07:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:21 07:23:21 Login Succeeded 07:23:21 nexus3.edgexfoundry.org:10003 07:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:21 Configure a credential helper to remove this warning. See 07:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:21 07:23:21 Login Succeeded 07:23:21 nexus3.edgexfoundry.org:10004 07:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:22 Configure a credential helper to remove this warning. See 07:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:22 07:23:22 Login Succeeded 07:23:22 docker.io 07:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:23 Configure a credential helper to remove this warning. See 07:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:23 07:23:23 Login Succeeded 07:23:23 ---> docker-login.sh ends [Pipeline] } 07:23:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:23:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:23 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:23:23 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:23:23 latest 07:23:23 2.2.0-dev.18 07:23:23 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 07:23:23 main 07:23:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:23:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] isUnix [Pipeline] sh 07:23:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:23:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:23:23 ec7a0c0272fb: Preparing 07:23:23 324462701cb9: Preparing 07:23:23 1f715ff3f1bd: Preparing 07:23:23 f90d3392d2ea: Preparing 07:23:23 bbd460213d3b: Preparing 07:23:23 f73e7dbfee58: Preparing 07:23:23 f73e7dbfee58: Waiting 07:23:24 324462701cb9: Pushed 07:23:24 bbd460213d3b: Pushed 07:23:24 ec7a0c0272fb: Pushed 07:23:24 f73e7dbfee58: Layer already exists 07:23:24 f90d3392d2ea: Pushed 07:23:30 1f715ff3f1bd: Pushed 07:23:30 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh 07:23:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:23:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:23:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:23:30 ec7a0c0272fb: Preparing 07:23:30 324462701cb9: Preparing 07:23:30 1f715ff3f1bd: Preparing 07:23:30 f90d3392d2ea: Preparing 07:23:30 bbd460213d3b: Preparing 07:23:30 f73e7dbfee58: Preparing 07:23:30 f73e7dbfee58: Waiting 07:23:30 f90d3392d2ea: Layer already exists 07:23:30 1f715ff3f1bd: Layer already exists 07:23:30 ec7a0c0272fb: Layer already exists 07:23:30 bbd460213d3b: Layer already exists 07:23:30 324462701cb9: Layer already exists 07:23:30 f73e7dbfee58: Layer already exists 07:23:31 latest: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh 07:23:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 07:23:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.18 07:23:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:23:31 ec7a0c0272fb: Preparing 07:23:31 324462701cb9: Preparing 07:23:31 1f715ff3f1bd: Preparing 07:23:31 f90d3392d2ea: Preparing 07:23:31 bbd460213d3b: Preparing 07:23:31 f73e7dbfee58: Preparing 07:23:31 ec7a0c0272fb: Layer already exists 07:23:31 324462701cb9: Layer already exists 07:23:31 1f715ff3f1bd: Layer already exists 07:23:31 f90d3392d2ea: Layer already exists 07:23:31 bbd460213d3b: Layer already exists 07:23:31 f73e7dbfee58: Layer already exists 07:23:32 2.2.0-dev.18: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh 07:23:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 07:23:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 07:23:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:23:32 ec7a0c0272fb: Preparing 07:23:32 324462701cb9: Preparing 07:23:32 1f715ff3f1bd: Preparing 07:23:32 f90d3392d2ea: Preparing 07:23:32 bbd460213d3b: Preparing 07:23:32 f73e7dbfee58: Preparing 07:23:32 f73e7dbfee58: Waiting 07:23:32 ec7a0c0272fb: Layer already exists 07:23:32 324462701cb9: Layer already exists 07:23:32 1f715ff3f1bd: Layer already exists 07:23:32 bbd460213d3b: Layer already exists 07:23:32 f90d3392d2ea: Layer already exists 07:23:32 f73e7dbfee58: Layer already exists 07:23:33 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] isUnix [Pipeline] sh 07:23:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 07:23:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:23:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:23:33 ec7a0c0272fb: Preparing 07:23:33 324462701cb9: Preparing 07:23:33 1f715ff3f1bd: Preparing 07:23:33 f90d3392d2ea: Preparing 07:23:33 bbd460213d3b: Preparing 07:23:33 f73e7dbfee58: Preparing 07:23:33 f73e7dbfee58: Waiting 07:23:33 bbd460213d3b: Layer already exists 07:23:33 1f715ff3f1bd: Layer already exists 07:23:33 f90d3392d2ea: Layer already exists 07:23:33 324462701cb9: Layer already exists 07:23:33 ec7a0c0272fb: Layer already exists 07:23:33 f73e7dbfee58: Layer already exists 07:23:34 main: digest: sha256:41fc814dda5ad3cc3525caf52072df9b693dd1b3b8acde8eb941da6770c2948f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:23:34 ===================================================== [Pipeline] echo 07:23:34 taggedImages: 07:23:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea 07:23:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:23:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.18 07:23:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:241fbfbc9b273dc13e4996b0e5d4a3b540b295ea-2.2.0-dev.18 07:23:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:23:34 07:23:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:23:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:23:35 arm64: Pulling from edgex-lftools-log-publisher 07:23:35 8998bd30e6a1: Pulling fs layer 07:23:35 04944245beec: Pulling fs layer 07:23:35 699f458cf7ca: Pulling fs layer 07:23:35 765212b225bb: Pulling fs layer 07:23:35 f23df028b6ca: Pulling fs layer 07:23:35 d65c8cfc05b1: Pulling fs layer 07:23:35 2437ff75d9bd: Pulling fs layer 07:23:35 f23df028b6ca: Waiting 07:23:35 d65c8cfc05b1: Waiting 07:23:35 765212b225bb: Waiting 07:23:35 2437ff75d9bd: Waiting 07:23:35 04944245beec: Verifying Checksum 07:23:35 04944245beec: Download complete 07:23:35 765212b225bb: Verifying Checksum 07:23:35 765212b225bb: Download complete 07:23:35 f23df028b6ca: Verifying Checksum 07:23:35 f23df028b6ca: Download complete 07:23:35 d65c8cfc05b1: Download complete 07:23:35 699f458cf7ca: Verifying Checksum 07:23:35 699f458cf7ca: Download complete 07:23:36 8998bd30e6a1: Verifying Checksum 07:23:36 8998bd30e6a1: Download complete 07:23:38 2437ff75d9bd: Verifying Checksum 07:23:38 2437ff75d9bd: Download complete 07:23:40 8998bd30e6a1: Pull complete 07:23:40 04944245beec: Pull complete 07:23:42 699f458cf7ca: Pull complete 07:23:42 765212b225bb: Pull complete 07:23:43 f23df028b6ca: Pull complete 07:23:43 d65c8cfc05b1: Pull complete 07:23:58 2437ff75d9bd: Pull complete 07:23:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:23:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:23:58 prd-ubuntu20.04-docker-arm64-4c-16g-45840 does not seem to be running inside a container 07:23:59 $ 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/36 -v /w/workspace/device-modbus-go/36:/w/workspace/device-modbus-go/36:rw,z -v /w/workspace/device-modbus-go/36@tmp:/w/workspace/device-modbus-go/36@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:24:01 $ docker top ce80083c8f9ef3ce9570b3639bd721904a0b2f82879a10f53f772c2d76e453b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:02 ---> job-cost.sh 07:24:02 lf-activate-venv: SKIPPING 07:24:02 INFO: No Stack... 07:24:02 INFO: Retrieving Pricing Info for: v3-standard-4 07:24:03 INFO: Archiving Costs [Pipeline] sh 07:24:04 + + cutcat -d, /w/workspace/device-modbus-go/36/archives/cost.csv -f6 07:24:04 [Pipeline] lock 07:24:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] 07:24:04 Resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] did not exist. Created. 07:24:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:24:05 /w/workspace/device-modbus-go/36@tmp/durable-b9ad4eed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:24:05 + echo total: 0.10999999940395355 [Pipeline] stash 07:24:05 Warning: overwriting stash ‘stack-cost’ 07:24:05 Stashed 1 file(s) [Pipeline] } 07:24:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } 07:24:05 $ docker stop --time=1 ce80083c8f9ef3ce9570b3639bd721904a0b2f82879a10f53f772c2d76e453b2 07:24:07 $ docker rm -f ce80083c8f9ef3ce9570b3639bd721904a0b2f82879a10f53f772c2d76e453b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:24:07 provisioning config files... 07:24:07 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7258625225944117680tmp [Pipeline] { [Pipeline] sh 07:24:08 + set +x 07:24:08 + curl -s https://codecov.io/bash 07:24:08 + bash -s -- 07:24:08 07:24:08 _____ _ 07:24:08 / ____| | | 07:24:08 | | ___ __| | ___ ___ _____ __ 07:24:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:24:08 | |___| (_) | (_| | __/ (_| (_) \ V / 07:24:08 \_____\___/ \__,_|\___|\___\___/ \_/ 07:24:08 Bash-1.0.6 07:24:08 07:24:08 07:24:08 ==> git version 2.25.1 found 07:24:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:24:08 Release-Date: 2020-01-08 07:24:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:24:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:24:08 ==> Jenkins CI detected. 07:24:08 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:24:08 project root: . 07:24:08 --> token set from env 07:24:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:24:08 ==> Running gcov in . (disable via -X gcov) 07:24:08 ==> Python coveragepy not found 07:24:08 ==> Searching for coverage reports in: 07:24:08 + . 07:24:08 -> Found 1 reports 07:24:08 ==> Detecting git/mercurial file structure 07:24:08 ==> Reading reports 07:24:08 + ./coverage.out bytes=24065 07:24:08 ==> Appending adjustments 07:24:08 https://docs.codecov.io/docs/fixing-reports 07:24:08 + Found adjustments 07:24:08 ==> Gzipping contents 07:24:08 4.0K /tmp/codecov.XScKHo.gz 07:24:08 ==> Uploading reports 07:24:08 url: https://codecov.io 07:24:08 query: branch=main&commit=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:24:08 -> Pinging Codecov 07:24:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=241fbfbc9b273dc13e4996b0e5d4a3b540b295ea&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:24:08 -> Uploading to 07:24:08 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/241fbfbc9b273dc13e4996b0e5d4a3b540b295ea/6886466f-2998-4b80-ac60-216f299e12ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T072408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7d916e7788dd43f6d3396a8cbcad6feab3c68d5b13b68149f780bc43d4622ad 07:24:08 % Total % Received % Xferd Average Speed Time Time Time Current 07:24:08 Dload Upload Total Spent Left Speed 07:24:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4011 0 0 100 4011 0 18315 --:--:-- --:--:-- --:--:-- 18315 07:24:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] } 07:24:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:24:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:24:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:24:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:24:09 07:24:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:24:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:24:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:24:09 188c0c94c7c5: Pulling fs layer 07:24:09 0ef7d3d256c8: Pulling fs layer 07:24:09 de9db76c5a1d: Pulling fs layer 07:24:09 0eba1c9be4d2: Pulling fs layer 07:24:09 0d57e429df01: Pulling fs layer 07:24:09 4e4be7b47b0d: Pulling fs layer 07:24:09 e1f770b5df2f: Pulling fs layer 07:24:09 85a0685a4137: Pulling fs layer 07:24:09 0eba1c9be4d2: Waiting 07:24:09 4e4be7b47b0d: Waiting 07:24:09 e1f770b5df2f: Waiting 07:24:09 0d57e429df01: Waiting 07:24:09 85a0685a4137: Waiting 07:24:09 de9db76c5a1d: Verifying Checksum 07:24:09 de9db76c5a1d: Download complete 07:24:09 0ef7d3d256c8: Download complete 07:24:09 0d57e429df01: Verifying Checksum 07:24:09 0d57e429df01: Download complete 07:24:09 4e4be7b47b0d: Verifying Checksum 07:24:09 4e4be7b47b0d: Download complete 07:24:09 188c0c94c7c5: Verifying Checksum 07:24:09 188c0c94c7c5: Download complete 07:24:09 188c0c94c7c5: Pull complete 07:24:09 e1f770b5df2f: Verifying Checksum 07:24:09 e1f770b5df2f: Download complete 07:24:09 0ef7d3d256c8: Pull complete 07:24:10 de9db76c5a1d: Pull complete 07:24:10 0eba1c9be4d2: Verifying Checksum 07:24:10 0eba1c9be4d2: Download complete 07:24:10 85a0685a4137: Verifying Checksum 07:24:10 85a0685a4137: Download complete 07:24:13 0eba1c9be4d2: Pull complete 07:24:13 0d57e429df01: Pull complete 07:24:13 4e4be7b47b0d: Pull complete 07:24:13 e1f770b5df2f: Pull complete 07:24:17 85a0685a4137: Pull complete 07:24:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:24:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:24:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:24:17 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:24:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:24:19 $ docker top 9bf3a01d6326bdf06f6e06f81a090a42c0938bd4a412f8fbf30bc2bdd8bfd817 -eo pid,comm [Pipeline] { [Pipeline] echo 07:24:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:24:20 + set -o pipefail 07:24:20 + snyk monitor '--org=edgex-jenkins' 07:24:25 07:24:25 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:24:25 07:24:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/2fe0205f-dc84-465d-9576-5c98528df43b 07:24:25 07:24:25 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:24:25 07:24:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:24:25 07:24:25 [Pipeline] } 07:24:25 $ docker stop --time=1 9bf3a01d6326bdf06f6e06f81a090a42c0938bd4a412f8fbf30bc2bdd8bfd817 07:24:27 $ docker rm -f 9bf3a01d6326bdf06f6e06f81a090a42c0938bd4a412f8fbf30bc2bdd8bfd817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:24:28 + git log --format=format:%s -1 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea [Pipeline] sh 07:24:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:24:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:24:28 . [Pipeline] withDockerContainer 07:24:28 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:24:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:24:29 $ docker top 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:29 [ssh-agent] Looking for ssh-agent implementation... 07:24:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:29 $ docker exec 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a ssh-agent 07:24:29 SSH_AUTH_SOCK=/tmp/ssh-IOydKxZJOv6X/agent.33 07:24:29 SSH_AGENT_PID=40 07:24:29 Running ssh-add (command line suppressed) 07:24:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6027588699194940410.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6027588699194940410.key) 07:24:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:30 + git semver tag 07:24:30 2022-05-10 07:24:30,320 [run_tag] DEBUG tag force:False 07:24:30 2022-05-10 07:24:30,320 [check_head_tag] DEBUG check head tag 07:24:30 2022-05-10 07:24:30,320 [execute] INFO git cat-file --batch-check 07:24:30 2022-05-10 07:24:30,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:24:30 2022-05-10 07:24:30,322 [execute] INFO git cat-file --batch 07:24:30 2022-05-10 07:24:30,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:24:30 2022-05-10 07:24:30,340 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:30 2022-05-10 07:24:30,340 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 07:24:30 2022-05-10 07:24:30,340 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:24:30 2022-05-10 07:24:30,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:30 2.2.0-dev.18 [Pipeline] } 07:24:30 $ docker exec --env ******** --env ******** 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a ssh-agent -k 07:24:30 unset SSH_AUTH_SOCK; 07:24:30 unset SSH_AGENT_PID; 07:24:30 echo Agent pid 40 killed; 07:24:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:30 + git semver [Pipeline] } 07:24:31 $ docker stop --time=1 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a 07:24:32 $ docker rm -f 4a5cd637cd6103d7b0fe0dc4cc3ab62e2496810e7a2549fa1009f4b2fe13716a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:24:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:24:32 07:24:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:24:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:24:33 0.23.1-centos7: Pulling from edgex-lftools 07:24:33 ab5ef0e58194: Pulling fs layer 07:24:33 9712f1f96733: Pulling fs layer 07:24:33 63f879dbbcfc: Pulling fs layer 07:24:33 0d9ebad4ef96: Pulling fs layer 07:24:33 e9a5061849ea: Pulling fs layer 07:24:33 d747dcd14b5f: Pulling fs layer 07:24:33 2de7ff778b66: Pulling fs layer 07:24:33 0d9ebad4ef96: Waiting 07:24:33 e9a5061849ea: Waiting 07:24:33 d747dcd14b5f: Waiting 07:24:33 9712f1f96733: Verifying Checksum 07:24:33 9712f1f96733: Download complete 07:24:33 63f879dbbcfc: Verifying Checksum 07:24:33 63f879dbbcfc: Download complete 07:24:33 e9a5061849ea: Verifying Checksum 07:24:33 e9a5061849ea: Download complete 07:24:33 d747dcd14b5f: Download complete 07:24:33 0d9ebad4ef96: Verifying Checksum 07:24:33 0d9ebad4ef96: Download complete 07:24:33 ab5ef0e58194: Verifying Checksum 07:24:33 ab5ef0e58194: Download complete 07:24:33 2de7ff778b66: Verifying Checksum 07:24:33 2de7ff778b66: Download complete 07:24:36 ab5ef0e58194: Pull complete 07:24:36 9712f1f96733: Pull complete 07:24:36 63f879dbbcfc: Pull complete 07:24:41 0d9ebad4ef96: Pull complete 07:24:41 e9a5061849ea: Pull complete 07:24:41 d747dcd14b5f: Pull complete 07:24:42 2de7ff778b66: Pull complete 07:24:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:24:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:24:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:24:42 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:24:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:24:44 $ docker top 36bfc3eb108f3c0e418965600a43e34537df98cd75b2a08c7a5e180c1423a04c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:24:44 provisioning config files... 07:24:44 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7247134700924189186tmp 07:24:44 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config57396465620670864tmp 07:24:44 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6229383693540989036tmp [Pipeline] { [Pipeline] echo 07:24:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:24:45 ---> sigul-configuration.sh 07:24:45 gpg: directory `/root/.gnupg' created 07:24:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:24:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:24:45 gpg: keyring `/root/.gnupg/secring.gpg' created 07:24:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:24:45 gpg: CAST5 encrypted data 07:24:45 gpg: encrypted with 1 passphrase 07:24:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:24:45 + mkdir /home/jenkins 07:24:45 + mkdir /home/jenkins/sigul [Pipeline] sh 07:24:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:24:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:24:46 ---> sigul-install.sh 07:24:46 Sigul already installed; skipping installation. [Pipeline] sh 07:24:46 + git tag --list 07:24:46 0.7.1 07:24:46 v1.0.0 07:24:46 v1.1.0 07:24:46 v1.1.1 07:24:46 v1.2.2 07:24:46 v1.3.0 07:24:46 v1.3.1 07:24:46 v2.0.0 07:24:46 v2.0.1-dev.1 07:24:46 v2.0.1-dev.10 07:24:46 v2.0.1-dev.11 07:24:46 v2.0.1-dev.12 07:24:46 v2.0.1-dev.2 07:24:46 v2.0.1-dev.3 07:24:46 v2.0.1-dev.4 07:24:46 v2.0.1-dev.5 07:24:46 v2.0.1-dev.6 07:24:46 v2.0.1-dev.7 07:24:46 v2.0.1-dev.8 07:24:46 v2.0.1-dev.9 07:24:46 v2.1.0 07:24:46 v2.2.0-dev.1 07:24:46 v2.2.0-dev.10 07:24:46 v2.2.0-dev.11 07:24:46 v2.2.0-dev.12 07:24:46 v2.2.0-dev.13 07:24:46 v2.2.0-dev.14 07:24:46 v2.2.0-dev.15 07:24:46 v2.2.0-dev.16 07:24:46 v2.2.0-dev.17 07:24:46 v2.2.0-dev.18 07:24:46 v2.2.0-dev.2 07:24:46 v2.2.0-dev.3 07:24:46 v2.2.0-dev.4 07:24:46 v2.2.0-dev.5 07:24:46 v2.2.0-dev.6 07:24:46 v2.2.0-dev.7 07:24:46 v2.2.0-dev.8 07:24:46 v2.2.0-dev.9 [Pipeline] sh 07:24:46 + lftools sign git-tag v2.2.0-dev.18 07:24:47 Signing Git tag with Sigul... 07:24:47 Signing v2.2.0-dev.18 [Pipeline] echo 07:24:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:24:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:24:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:24:47 $ docker stop --time=1 36bfc3eb108f3c0e418965600a43e34537df98cd75b2a08c7a5e180c1423a04c 07:24:49 $ docker rm -f 36bfc3eb108f3c0e418965600a43e34537df98cd75b2a08c7a5e180c1423a04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:24:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:24:49 . [Pipeline] withDockerContainer 07:24:49 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:24:50 $ docker top 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:50 [ssh-agent] Looking for ssh-agent implementation... 07:24:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:50 $ docker exec 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 ssh-agent 07:24:50 SSH_AUTH_SOCK=/tmp/ssh-QyE3BP0sU3kE/agent.34 07:24:50 SSH_AGENT_PID=40 07:24:50 Running ssh-add (command line suppressed) 07:24:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4003301256920112314.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4003301256920112314.key) 07:24:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:51 + git semver bump pre 07:24:51 2022-05-10 07:24:51,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:51 2022-05-10 07:24:51,420 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev 07:24:51 2022-05-10 07:24:51,420 [bump_version] DEBUG bumped version:2.2.0-dev.19 07:24:51 2022-05-10 07:24:51,420 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:24:51 2022-05-10 07:24:51,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:51 2022-05-10 07:24:51,420 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:51 2022-05-10 07:24:51,422 [execute] INFO git cat-file --batch-check 07:24:51 2022-05-10 07:24:51,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:24:51 2022-05-10 07:24:51,427 [execute] INFO git cat-file --batch 07:24:51 2022-05-10 07:24:51,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:24:51 2022-05-10 07:24:51,431 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:51 2.2.0-dev.19 [Pipeline] } 07:24:51 $ docker exec --env ******** --env ******** 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 ssh-agent -k 07:24:51 unset SSH_AUTH_SOCK; 07:24:51 unset SSH_AGENT_PID; 07:24:51 echo Agent pid 40 killed; 07:24:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:51 + git semver [Pipeline] } 07:24:52 $ docker stop --time=1 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 07:24:53 $ docker rm -f 88016af3746f4a93a4186627d3a20ec7e0858331f97984665e0c504ddf574982 [Pipeline] // withDockerContainer [Pipeline] sh 07:24:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:24:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:24:54 . [Pipeline] withDockerContainer 07:24:54 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:24:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:24:54 $ docker top e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:54 [ssh-agent] Looking for ssh-agent implementation... 07:24:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:54 $ docker exec e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 ssh-agent 07:24:55 SSH_AUTH_SOCK=/tmp/ssh-L1S3QxHi3XZ1/agent.34 07:24:55 SSH_AGENT_PID=40 07:24:55 Running ssh-add (command line suppressed) 07:24:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6430862133330060305.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6430862133330060305.key) 07:24:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:55 + git semver push 07:24:55 2022-05-10 07:24:55,661 [run_push] DEBUG push 07:24:55 2022-05-10 07:24:55,662 [execute] INFO git push origin semver 07:24:55 2022-05-10 07:24:55,662 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:24:56 2022-05-10 07:24:56,388 [run_push] DEBUG push all version tags 07:24:56 2022-05-10 07:24:56,388 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:24:56 2022-05-10 07:24:56,389 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:24:57 2022-05-10 07:24:57,115 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:24:57 2.2.0-dev.19 [Pipeline] } 07:24:57 $ docker exec --env ******** --env ******** e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 ssh-agent -k 07:24:57 unset SSH_AUTH_SOCK; 07:24:57 unset SSH_AGENT_PID; 07:24:57 echo Agent pid 40 killed; 07:24:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:57 + git semver [Pipeline] } 07:24:58 $ docker stop --time=1 e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 07:24:59 $ docker rm -f e800897bd396ba2425ad4aa3ebd271d553be0c6dce10cb2e2e604cd8842133c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:25:00 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:25:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:25:00 total 16 07:25:00 drwxr-xr-x 3 root root 4096 May 10 07:15 . 07:25:00 drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:24 .. 07:25:00 drwxr-xr-x 2 root root 4096 May 10 07:15 cost 07:25:00 -rw-r--r-- 1 root root 86 May 10 07:15 cost.csv 07:25:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:25:00 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:25:00 total 16 07:25:00 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:15 . 07:25:00 drwxrwxr-x 11 jenkins jenkins 4096 May 10 07:24 .. 07:25:00 drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:15 cost 07:25:00 -rw-r--r-- 1 jenkins jenkins 86 May 10 07:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:25:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:25:01 ---> package-listing.sh 07:25:01 ++ tr '[:upper:]' '[:lower:]' 07:25:01 ++ facter osfamily 07:25:01 + OS_FAMILY=debian 07:25:01 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:25:01 + START_PACKAGES=/tmp/packages_start.txt 07:25:01 + END_PACKAGES=/tmp/packages_end.txt 07:25:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:25:01 + PACKAGES=/tmp/packages_start.txt 07:25:01 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:25:01 + PACKAGES=/tmp/packages_end.txt 07:25:01 + case "${OS_FAMILY}" in 07:25:01 + dpkg -l 07:25:01 + grep '^ii' 07:25:01 + '[' -f /tmp/packages_start.txt ']' 07:25:01 + '[' -f /tmp/packages_end.txt ']' 07:25:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:25:01 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:25:01 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:25:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:25:01 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:25:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:25:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:02 . [Pipeline] withDockerContainer 07:25:02 prd-ubuntu20.04-docker-8c-8g-45835 does not seem to be running inside a container 07:25:02 $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:25:02 $ docker top e80b1ccadfe1371c4005dc9501e055ce62e7d4136057b8dc61e431f8881ad86b -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:02 + touch /tmp/pre-build-complete [Pipeline] sh 07:25:03 + mkdir -p /var/log/sysstat [Pipeline] sh 07:25:03 + ls /var/log/sa-host 07:25:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:03 provisioning config files... 07:25:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4004945808458973858tmp [Pipeline] { [Pipeline] echo 07:25:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:25:04 ---> create-netrc.sh [Pipeline] } 07:25:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:25:04 ---> python-tools-install.sh [Pipeline] echo 07:25:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:25:04 ---> sudo-logs.sh 07:25:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:25:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:25:05 ---> job-cost.sh 07:25:05 lf-activate-venv: SKIPPING 07:25:05 DEBUG: total: 0.2199999988079071 07:25:05 INFO: Retrieving Stack Cost... 07:25:05 INFO: Retrieving Pricing Info for: v3-standard-8 07:25:05 INFO: Archiving Costs [Pipeline] echo 07:25:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:25:06 ---> logs-deploy.sh 07:25:06 lf-activate-venv: SKIPPING 07:25:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/36 07:25:06 INFO: archiving workspace using pattern(s): 07:25:07 Archives upload complete. 07:25:07 INFO: archiving logs to Nexus