Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34696552c2fac84d635c044d3d9d718bd3379cee 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-ssh17138930571796816729.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-ssh16191060057786438621.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-ssh17016272512360989007.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-ssh17013476804292773957.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-ssh1633708808940988170.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41791 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 34696552c2fac84d635c044d3d9d718bd3379cee (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 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 Commit message: "Merge pull request #344 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk d7023bcda15e937cec539ef29d6768596b85ffc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:53:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:53:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:53:30 ========================================================= 10:53:30 EdgeX Global Pipelines Version Info 10:53:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:53:31 ------------------- 10:53:31 stable info: 10:53:31 ------------------- 10:53:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:53:31 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 10:53:31 Message: update stable to v1.0.227 10:53:32 ------------------- 10:53:32 experimental info: 10:53:32 ------------------- 10:53:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:53:32 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 10:53:32 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3469655 [Pipeline] echo 10:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:53:32 provisioning config files... 10:53:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2717547019471811735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:53:33 ---> docker-login.sh 10:53:33 nexus3.edgexfoundry.org:10001 10:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:33 Configure a credential helper to remove this warning. See 10:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:33 10:53:33 Login Succeeded 10:53:33 nexus3.edgexfoundry.org:10002 10:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:33 Configure a credential helper to remove this warning. See 10:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:33 10:53:33 Login Succeeded 10:53:33 nexus3.edgexfoundry.org:10003 10:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:33 Configure a credential helper to remove this warning. See 10:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:33 10:53:33 Login Succeeded 10:53:33 nexus3.edgexfoundry.org:10004 10:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:34 Configure a credential helper to remove this warning. See 10:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:34 10:53:34 Login Succeeded 10:53:34 docker.io 10:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:34 Configure a credential helper to remove this warning. See 10:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:34 10:53:34 Login Succeeded 10:53:34 ---> docker-login.sh ends [Pipeline] } 10:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:53:34 + git rev-list -1 --merges 34696552c2fac84d635c044d3d9d718bd3379cee~1..34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo 10:53:34 -----------> git rev-list -1 --merges 34696552c2fac84d635c044d3d9d718bd3379cee~1..34696552c2fac84d635c044d3d9d718bd3379cee 34696552c2fac84d635c044d3d9d718bd3379cee 10:53:34 34696552c2fac84d635c044d3d9d718bd3379cee [false] [Pipeline] sh 10:53:35 + git log --format=format:%s -1 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo 10:53:35 ========================================================= 10:53:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:53:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:53:35 + git log --format=format:%s -1 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] echo 10:53:35 [semverPrep] GIT_COMMIT: 34696552c2fac84d635c044d3d9d718bd3379cee, Commit Message: Merge pull request #344 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo 10:53:35 [semverPrep] This is not a build commit. [Pipeline] sh 10:53:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:53:36 + grep -v github /etc/ssh/ssh_known_hosts 10:53:36 + [ -e /tmp/ssh_known_hosts ] 10:53:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:53:36 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 10:53:36 tee -a /etc/ssh/ssh_known_hosts 10:53:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:53:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:53:36 10:53:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:53:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:53:36 latest: Pulling from edgex-devops/py-git-semver 10:53:36 1fe172e4850f: Pulling fs layer 10:53:36 caf521ccaac6: Pulling fs layer 10:53:36 3ead6fa29328: Pulling fs layer 10:53:36 5c2a1cbceb83: Pulling fs layer 10:53:36 a8d5f1318db7: Pulling fs layer 10:53:36 c427282e49a2: Pulling fs layer 10:53:36 5c2a1cbceb83: Waiting 10:53:36 a8d5f1318db7: Waiting 10:53:36 c427282e49a2: Waiting 10:53:36 1827001aaf11: Pulling fs layer 10:53:36 0714d37db230: Pulling fs layer 10:53:36 ac28cf19c067: Pulling fs layer 10:53:36 1827001aaf11: Waiting 10:53:36 ca983d60f3e2: Pulling fs layer 10:53:36 9f894cec8388: Pulling fs layer 10:53:36 ac28cf19c067: Waiting 10:53:36 caf521ccaac6: Verifying Checksum 10:53:36 caf521ccaac6: Download complete 10:53:36 5c2a1cbceb83: Verifying Checksum 10:53:36 5c2a1cbceb83: Download complete 10:53:37 a8d5f1318db7: Verifying Checksum 10:53:37 a8d5f1318db7: Download complete 10:53:37 3ead6fa29328: Verifying Checksum 10:53:37 3ead6fa29328: Download complete 10:53:37 c427282e49a2: Verifying Checksum 10:53:37 c427282e49a2: Download complete 10:53:37 0714d37db230: Verifying Checksum 10:53:37 0714d37db230: Download complete 10:53:37 ac28cf19c067: Download complete 10:53:37 ca983d60f3e2: Download complete 10:53:37 9f894cec8388: Download complete 10:53:37 1fe172e4850f: Download complete 10:53:37 1827001aaf11: Verifying Checksum 10:53:37 1827001aaf11: Download complete 10:53:38 1fe172e4850f: Pull complete 10:53:38 caf521ccaac6: Pull complete 10:53:39 3ead6fa29328: Pull complete 10:53:39 5c2a1cbceb83: Pull complete 10:53:39 a8d5f1318db7: Pull complete 10:53:39 c427282e49a2: Pull complete 10:53:41 1827001aaf11: Pull complete 10:53:41 0714d37db230: Pull complete 10:53:41 ac28cf19c067: Pull complete 10:53:41 ca983d60f3e2: Pull complete 10:53:42 9f894cec8388: Pull complete 10:53:42 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:53:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:53:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:53:42 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 10:53:42 $ 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 10:53:44 $ docker top b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae -eo pid,comm 10:53:44 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). 10:53:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:53:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:53:44 [ssh-agent] Looking for ssh-agent implementation... 10:53:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:53:44 $ docker exec b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent 10:53:44 SSH_AUTH_SOCK=/tmp/ssh-huUeihT3VxjG/agent.33 10:53:44 SSH_AGENT_PID=40 10:53:44 Running ssh-add (command line suppressed) 10:53:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7504183389084992512.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7504183389084992512.key) 10:53:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:53:44 + git tag --points-at HEAD [Pipeline] } 10:53:44 $ docker exec --env ******** --env ******** b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent -k 10:53:45 unset SSH_AUTH_SOCK; 10:53:45 unset SSH_AGENT_PID; 10:53:45 echo Agent pid 40 killed; 10:53:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:53:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:53:45 [ssh-agent] Looking for ssh-agent implementation... 10:53:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:53:45 $ docker exec b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent 10:53:45 SSH_AUTH_SOCK=/tmp/ssh-1F9N1b2djlOK/agent.74 10:53:45 SSH_AGENT_PID=80 10:53:45 Running ssh-add (command line suppressed) 10:53:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3632507237085942671.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3632507237085942671.key) 10:53:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:53:45 + git semver init 10:53:46 2022-05-09 10:53:45,974 [run_init] DEBUG init version:0.0.0 force:False 10:53:46 2022-05-09 10:53:45,974 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 10:53:46 2022-05-09 10:53:45,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:53:46 2022-05-09 10:53:45,975 [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) 10:53:46 2022-05-09 10:53:46,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 10:53:46 2022-05-09 10:53:46,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 10:53:46 2022-05-09 10:53:46,778 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:53:46 2022-05-09 10:53:46,778 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:53:46 2.2.0-dev.17 [Pipeline] } 10:53:46 $ docker exec --env ******** --env ******** b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae ssh-agent -k 10:53:47 unset SSH_AUTH_SOCK; 10:53:47 unset SSH_AGENT_PID; 10:53:47 echo Agent pid 80 killed; 10:53:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:53:47 + git semver [Pipeline] } 10:53:47 $ docker stop --time=1 b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae 10:53:49 $ docker rm -f b07607713d098866044ac722b7893cfaeb0029ad7dc34d84a3509e0380ac0aae [Pipeline] // withDockerContainer [Pipeline] sh 10:53:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:53:49 Stashed 1 file(s) [Pipeline] echo 10:53:49 [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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 10:53:49 provisioning config files... 10:53:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7170749013385964237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:53:50 ---> docker-login.sh 10:53:50 nexus3.edgexfoundry.org:10001 10:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:50 Configure a credential helper to remove this warning. See 10:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:50 10:53:50 Login Succeeded 10:53:50 nexus3.edgexfoundry.org:10002 10:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:50 Configure a credential helper to remove this warning. See 10:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:50 10:53:50 Login Succeeded 10:53:50 nexus3.edgexfoundry.org:10003 10:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:50 Configure a credential helper to remove this warning. See 10:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:50 10:53:50 Login Succeeded 10:53:50 nexus3.edgexfoundry.org:10004 10:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:50 Configure a credential helper to remove this warning. See 10:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:50 10:53:50 Login Succeeded 10:53:50 docker.io 10:53:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:53:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:53:50 Configure a credential helper to remove this warning. See 10:53:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:53:50 10:53:50 Login Succeeded 10:53:50 ---> docker-login.sh ends [Pipeline] } 10:53:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:53:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:53:50 ========================================================= 10:53:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:53:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:53:51 + 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 . 10:53:51 Sending build context to Docker daemon 5.851MB 10:53:51 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 10:53:51 Step 2/10 : FROM ${BASE} AS builder 10:53:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:53:51 59bf1c3509f3: Pulling fs layer 10:53:51 666ba61612fd: Pulling fs layer 10:53:51 8ed8ca486205: Pulling fs layer 10:53:51 4fe6c5a15a65: Pulling fs layer 10:53:51 22a0e8bec74d: Pulling fs layer 10:53:51 ca2b28591e48: Pulling fs layer 10:53:51 a51346096db8: Pulling fs layer 10:53:51 daebc70d1ce1: Pulling fs layer 10:53:51 0e18a0eac166: Pulling fs layer 10:53:51 4fe6c5a15a65: Waiting 10:53:51 22a0e8bec74d: Waiting 10:53:51 ca2b28591e48: Waiting 10:53:51 0e18a0eac166: Waiting 10:53:51 a51346096db8: Waiting 10:53:51 daebc70d1ce1: Waiting 10:53:51 8ed8ca486205: Download complete 10:53:51 666ba61612fd: Verifying Checksum 10:53:51 666ba61612fd: Download complete 10:53:51 22a0e8bec74d: Verifying Checksum 10:53:51 22a0e8bec74d: Download complete 10:53:51 ca2b28591e48: Download complete 10:53:51 59bf1c3509f3: Verifying Checksum 10:53:51 59bf1c3509f3: Download complete 10:53:51 a51346096db8: Verifying Checksum 10:53:51 a51346096db8: Download complete 10:53:51 daebc70d1ce1: Verifying Checksum 10:53:51 daebc70d1ce1: Download complete 10:53:51 59bf1c3509f3: Pull complete 10:53:51 666ba61612fd: Pull complete 10:53:51 8ed8ca486205: Pull complete 10:53:52 0e18a0eac166: Verifying Checksum 10:53:52 0e18a0eac166: Download complete 10:53:52 4fe6c5a15a65: Verifying Checksum 10:53:52 4fe6c5a15a65: Download complete 10:53:56 4fe6c5a15a65: Pull complete 10:53:56 22a0e8bec74d: Pull complete 10:53:56 ca2b28591e48: Pull complete 10:53:56 a51346096db8: Pull complete 10:53:56 daebc70d1ce1: Pull complete 10:53:59 0e18a0eac166: Pull complete 10:53:59 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:53:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:53:59 ---> f018257e8ee9 10:53:59 Step 3/10 : ARG MAKE='make build' 10:54:01 ---> Running in 6d56b1e7ce9a 10:54:01 Removing intermediate container 6d56b1e7ce9a 10:54:01 ---> 0aba558b688b 10:54:01 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:54:01 ---> Running in 25146eb62ec9 10:54:01 Removing intermediate container 25146eb62ec9 10:54:01 ---> 22db53332b52 10:54:01 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:54:02 ---> Running in 69e8051f4f61 10:54:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:54:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:54:03 (1/8) Installing openssh-keygen (8.8_p1-r1) 10:54:03 (2/8) Installing libedit (20210910.3.1-r0) 10:54:03 (3/8) Installing openssh-client-common (8.8_p1-r1) 10:54:03 (4/8) Installing openssh-client-default (8.8_p1-r1) 10:54:03 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 10:54:04 (6/8) Installing openssh-server-common (8.8_p1-r1) 10:54:04 (7/8) Installing openssh-server (8.8_p1-r1) 10:54:04 (8/8) Installing openssh (8.8_p1-r1) 10:54:04 Executing busybox-1.34.1-r3.trigger 10:54:04 OK: 226 MiB in 60 packages 10:54:04 Still waiting to schedule task 10:54:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:54:04 Removing intermediate container 69e8051f4f61 10:54:04 ---> df0502616b57 10:54:04 Step 6/10 : WORKDIR /device-modbus-go 10:54:04 ---> Running in 39a0c58e2421 10:54:04 Removing intermediate container 39a0c58e2421 10:54:04 ---> 6dae3a5ce4fc 10:54:04 Step 7/10 : COPY go.mod vendor* ./ 10:54:05 ---> f8a5808247af 10:54:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:54:05 ---> Running in dde71e8876d4 10:54:20 Removing intermediate container dde71e8876d4 10:54:20 ---> 93ca15fa4ff5 10:54:20 Step 9/10 : COPY . . 10:54:20 ---> 4fa81a1557eb 10:54:20 Step 10/10 : RUN ${MAKE} 10:54:20 ---> Running in abb9209da4ac 10:54:20 noop 10:54:20 Removing intermediate container abb9209da4ac 10:54:20 ---> e94ad293797b 10:54:20 Successfully built e94ad293797b 10:54:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:54:20 + docker inspect -f . ci-base-image-x86_64 10:54:20 . [Pipeline] withDockerContainer 10:54:20 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 10:54:20 $ 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 10:54:20 $ docker top 0218cafde427f730944af8ed07cbec0f3aa857707edb6d7a7b37253a580f1383 -eo pid,comm [Pipeline] { [Pipeline] sh 10:54:21 + go version 10:54:21 go version go1.17.6 linux/amd64 [Pipeline] } 10:54:21 $ docker stop --time=1 0218cafde427f730944af8ed07cbec0f3aa857707edb6d7a7b37253a580f1383 10:54:22 $ docker rm -f 0218cafde427f730944af8ed07cbec0f3aa857707edb6d7a7b37253a580f1383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:54:23 + docker inspect -f . ci-base-image-x86_64 10:54:23 . [Pipeline] withDockerContainer 10:54:23 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 10:54:23 $ 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 10:54:23 $ docker top 071c505db24cdec9dc6d0db441383a5f2883ed7bcca949ff8dd0dbfebbc37b9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:54:23 + make test 10:54:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:54:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:54:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:54:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 46.4% of statements 10:54:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:54:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:54:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:54:44 ./bin/test-attribution-txt.sh [Pipeline] echo 10:54:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:54:45 $ docker stop --time=1 071c505db24cdec9dc6d0db441383a5f2883ed7bcca949ff8dd0dbfebbc37b9d 10:54:47 $ docker rm -f 071c505db24cdec9dc6d0db441383a5f2883ed7bcca949ff8dd0dbfebbc37b9d [Pipeline] // withDockerContainer [Pipeline] sh 10:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:54:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:54:48 + ls -al . 10:54:48 total 180 10:54:48 drwxrwxr-x 10 jenkins jenkins 4096 May 9 10:54 . 10:54:48 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:53 .. 10:54:48 -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:53 .dockerignore 10:54:48 drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:53 .git 10:54:48 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:53 .github 10:54:48 -rw-rw-r-- 1 jenkins jenkins 331 May 9 10:53 .gitignore 10:54:48 -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:53 .golangci.yml 10:54:48 drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:53 .semver 10:54:48 -rw-rw-r-- 1 jenkins jenkins 9377 May 9 10:53 Attribution.txt 10:54:48 -rw-rw-r-- 1 jenkins jenkins 6038 May 9 10:53 CHANGELOG.md 10:54:48 -rw-rw-r-- 1 jenkins jenkins 1546 May 9 10:53 Dockerfile 10:54:48 -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:53 GOVERNANCE.md 10:54:48 -rw-rw-r-- 1 jenkins jenkins 680 May 9 10:53 Jenkinsfile 10:54:48 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:53 LICENSE 10:54:48 -rw-rw-r-- 1 jenkins jenkins 1905 May 9 10:53 Makefile 10:54:48 -rw-rw-r-- 1 jenkins jenkins 622 May 9 10:53 OWNERS.md 10:54:48 -rw-rw-r-- 1 jenkins jenkins 3397 May 9 10:53 README.md 10:54:48 -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:53 VERSION 10:54:48 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:53 bin 10:54:48 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:53 cmd 10:54:48 -rw-r--r-- 1 jenkins jenkins 24065 May 9 10:54 coverage.out 10:54:48 -rw-rw-r-- 1 jenkins jenkins 3399 May 9 10:53 go.mod 10:54:48 -rw-rw-r-- 1 jenkins jenkins 35558 May 9 10:53 go.sum 10:54:48 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:53 internal 10:54:48 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:53 simulator 10:54:48 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:53 snap 10:54:48 -rw-rw-r-- 1 jenkins jenkins 229 May 9 10:53 version.go [Pipeline] isUnix [Pipeline] sh 10:54:48 + 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=34696552c2fac84d635c044d3d9d718bd3379cee --label arch=amd64 --label version=2.2.0-dev.17 . 10:54:48 Sending build context to Docker daemon 5.876MB 10:54:48 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 10:54:48 Step 2/23 : FROM ${BASE} AS builder 10:54:48 ---> e94ad293797b 10:54:48 Step 3/23 : ARG MAKE='make build' 10:54:48 ---> Running in f49cf8889a12 10:54:49 Removing intermediate container f49cf8889a12 10:54:49 ---> 8fcdecefb1c2 10:54:49 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:54:49 ---> Running in d915aa6a8053 10:54:49 Removing intermediate container d915aa6a8053 10:54:49 ---> b3789292d69d 10:54:49 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:54:49 ---> Running in 5b5eed798369 10:54:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:54:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:54:51 OK: 226 MiB in 60 packages 10:54:51 Removing intermediate container 5b5eed798369 10:54:51 ---> 55a2c200fa16 10:54:51 Step 6/23 : WORKDIR /device-modbus-go 10:54:51 ---> Running in e92c88c1ab30 10:54:51 Removing intermediate container e92c88c1ab30 10:54:51 ---> cdaab5fe4d0f 10:54:51 Step 7/23 : COPY go.mod vendor* ./ 10:54:51 ---> 3eef748542a8 10:54:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:54:52 ---> Running in 7dd36a7fbcea 10:54:52 Removing intermediate container 7dd36a7fbcea 10:54:52 ---> 113951d0d442 10:54:52 Step 9/23 : COPY . . 10:54:52 ---> 4b8d1977c963 10:54:52 Step 10/23 : RUN ${MAKE} 10:54:52 ---> Running in 4db10b06cc48 10:54:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:55:11 Removing intermediate container 4db10b06cc48 10:55:11 ---> 289ba91fb98e 10:55:11 Step 11/23 : FROM alpine:3.14 10:55:11 3.14: Pulling from library/alpine 10:55:11 8663204ce13b: Pulling fs layer 10:55:12 8663204ce13b: Verifying Checksum 10:55:12 8663204ce13b: Download complete 10:55:12 8663204ce13b: Pull complete 10:55:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:55:12 Status: Downloaded newer image for alpine:3.14 10:55:12 ---> e04c818066af 10:55:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 10:55:12 ---> Running in 5b2ead147160 10:55:12 Removing intermediate container 5b2ead147160 10:55:12 ---> 29f3aa3ccd2a 10:55:12 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:55:12 ---> Running in 870bf1b0b600 10:55:12 Removing intermediate container 870bf1b0b600 10:55:12 ---> 004d0901ed62 10:55:12 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 10:55:12 ---> Running in 014a8a271be6 10:55:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:55:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:55:14 (1/6) Installing dumb-init (1.2.5-r1) 10:55:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:55:14 (3/6) Installing libsodium (1.0.18-r0) 10:55:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:55:14 (5/6) Installing libzmq (4.3.4-r0) 10:55:14 (6/6) Installing zeromq (4.3.4-r0) 10:55:14 Executing busybox-1.33.1-r7.trigger 10:55:14 OK: 8 MiB in 20 packages 10:55:15 Removing intermediate container 014a8a271be6 10:55:15 ---> 773d071d14a9 10:55:15 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:55:15 ---> b955135c9720 10:55:15 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:55:16 ---> 534bae5f104a 10:55:16 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:55:16 ---> ae6aabe0b6ea 10:55:16 Step 18/23 : EXPOSE 59901 10:55:16 ---> Running in 0959d17de7bd 10:55:16 Removing intermediate container 0959d17de7bd 10:55:16 ---> bed3c58ffbf3 10:55:16 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:55:16 ---> Running in 64d5a19599e0 10:55:16 Removing intermediate container 64d5a19599e0 10:55:16 ---> ff4abec45d94 10:55:16 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:55:16 ---> Running in e51f3b2924b8 10:55:16 Removing intermediate container e51f3b2924b8 10:55:16 ---> 53195cc408e0 10:55:16 Step 21/23 : LABEL arch=amd64 10:55:16 ---> Running in 0135ca916934 10:55:16 Removing intermediate container 0135ca916934 10:55:16 ---> dd76e707d35f 10:55:16 Step 22/23 : LABEL git_sha=34696552c2fac84d635c044d3d9d718bd3379cee 10:55:16 ---> Running in d63b7d8f474e 10:55:16 Removing intermediate container d63b7d8f474e 10:55:16 ---> e5ce59cc1661 10:55:16 Step 23/23 : LABEL version=2.2.0-dev.17 10:55:16 ---> Running in f5af6948e2bd 10:55:16 Removing intermediate container f5af6948e2bd 10:55:16 ---> 1941be53bf32 10:55:16 [Warning] One or more build-args [ARCH] were not consumed 10:55:16 Successfully built 1941be53bf32 10:55:16 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:16 provisioning config files... 10:55:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8625474579559537267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:17 ---> docker-login.sh 10:55:17 nexus3.edgexfoundry.org:10001 10:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:17 Configure a credential helper to remove this warning. See 10:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:17 10:55:17 Login Succeeded 10:55:17 nexus3.edgexfoundry.org:10002 10:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:17 Configure a credential helper to remove this warning. See 10:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:17 10:55:17 Login Succeeded 10:55:17 nexus3.edgexfoundry.org:10003 10:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:17 Configure a credential helper to remove this warning. See 10:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:17 10:55:17 Login Succeeded 10:55:17 nexus3.edgexfoundry.org:10004 10:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:17 Configure a credential helper to remove this warning. See 10:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:17 10:55:17 Login Succeeded 10:55:17 docker.io 10:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:18 Configure a credential helper to remove this warning. See 10:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:18 10:55:18 Login Succeeded 10:55:18 ---> docker-login.sh ends [Pipeline] } 10:55:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:55:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:55:18 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 10:55:18 34696552c2fac84d635c044d3d9d718bd3379cee 10:55:18 latest 10:55:18 2.2.0-dev.17 10:55:18 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 10:55:18 main 10:55:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:55:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] isUnix [Pipeline] sh 10:55:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee 10:55:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:55:18 dfebd1b312ef: Preparing 10:55:18 fc965ce2809e: Preparing 10:55:18 4e5074402f48: Preparing 10:55:18 bce106b4911a: Preparing 10:55:18 2a03ed5b65ed: Preparing 10:55:18 b541d28bf3b4: Preparing 10:55:18 b541d28bf3b4: Waiting 10:55:18 fc965ce2809e: Pushed 10:55:18 2a03ed5b65ed: Pushed 10:55:18 dfebd1b312ef: Pushed 10:55:18 b541d28bf3b4: Layer already exists 10:55:18 bce106b4911a: Pushed 10:55:21 4e5074402f48: Pushed 10:55:21 34696552c2fac84d635c044d3d9d718bd3379cee: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:55:21 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 10:55:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 10:55:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:55:22 dfebd1b312ef: Preparing 10:55:22 fc965ce2809e: Preparing 10:55:22 4e5074402f48: Preparing 10:55:22 bce106b4911a: Preparing 10:55:22 2a03ed5b65ed: Preparing 10:55:22 b541d28bf3b4: Preparing 10:55:22 b541d28bf3b4: Waiting 10:55:22 2a03ed5b65ed: Layer already exists 10:55:22 4e5074402f48: Layer already exists 10:55:22 dfebd1b312ef: Layer already exists 10:55:22 fc965ce2809e: Layer already exists 10:55:22 bce106b4911a: Layer already exists 10:55:22 b541d28bf3b4: Layer already exists 10:55:22 latest: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:55:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 10:55:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.17 10:55:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:55:22 dfebd1b312ef: Preparing 10:55:22 fc965ce2809e: Preparing 10:55:22 4e5074402f48: Preparing 10:55:22 bce106b4911a: Preparing 10:55:22 2a03ed5b65ed: Preparing 10:55:22 b541d28bf3b4: Preparing 10:55:22 b541d28bf3b4: Waiting 10:55:22 4e5074402f48: Layer already exists 10:55:22 2a03ed5b65ed: Layer already exists 10:55:22 bce106b4911a: Layer already exists 10:55:22 fc965ce2809e: Layer already exists 10:55:22 dfebd1b312ef: Layer already exists 10:55:22 b541d28bf3b4: Layer already exists 10:55:22 2.2.0-dev.17: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:55:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 10:55:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 10:55:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:55:23 dfebd1b312ef: Preparing 10:55:23 fc965ce2809e: Preparing 10:55:23 4e5074402f48: Preparing 10:55:23 bce106b4911a: Preparing 10:55:23 2a03ed5b65ed: Preparing 10:55:23 b541d28bf3b4: Preparing 10:55:23 b541d28bf3b4: Waiting 10:55:23 2a03ed5b65ed: Layer already exists 10:55:23 dfebd1b312ef: Layer already exists 10:55:23 4e5074402f48: Layer already exists 10:55:23 fc965ce2809e: Layer already exists 10:55:23 bce106b4911a: Layer already exists 10:55:23 b541d28bf3b4: Layer already exists 10:55:23 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] isUnix [Pipeline] sh 10:55:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 10:55:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 10:55:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:55:23 dfebd1b312ef: Preparing 10:55:23 fc965ce2809e: Preparing 10:55:23 4e5074402f48: Preparing 10:55:23 bce106b4911a: Preparing 10:55:23 2a03ed5b65ed: Preparing 10:55:23 b541d28bf3b4: Preparing 10:55:23 b541d28bf3b4: Waiting 10:55:23 dfebd1b312ef: Layer already exists 10:55:23 4e5074402f48: Layer already exists 10:55:23 fc965ce2809e: Layer already exists 10:55:23 bce106b4911a: Layer already exists 10:55:23 2a03ed5b65ed: Layer already exists 10:55:23 b541d28bf3b4: Layer already exists 10:55:23 main: digest: sha256:0e080cb36ba0e5761c9786e5740beeb041a1470b2f5a743d21070bc37faec890 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:55:23 ===================================================== [Pipeline] echo 10:55:23 taggedImages: 10:55:23 - nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee 10:55:23 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:55:23 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.17 10:55:23 - nexus3.edgexfoundry.org:10004/device-modbus:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 10:55:23 - 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 10:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:24 10:55:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:24 latest: Pulling from edgex-lftools-log-publisher 10:55:24 5eb5b503b376: Pulling fs layer 10:55:24 5c69ac0246d0: Pulling fs layer 10:55:24 ec43610c2a17: Pulling fs layer 10:55:24 3a2ae6a8a46f: Pulling fs layer 10:55:24 33b1e0a273af: Pulling fs layer 10:55:24 5d3b04190fa2: Pulling fs layer 10:55:24 2f39f015ded8: Pulling fs layer 10:55:24 5d3b04190fa2: Waiting 10:55:24 33b1e0a273af: Waiting 10:55:24 2f39f015ded8: Waiting 10:55:24 3a2ae6a8a46f: Waiting 10:55:24 5c69ac0246d0: Download complete 10:55:24 3a2ae6a8a46f: Download complete 10:55:24 33b1e0a273af: Verifying Checksum 10:55:24 33b1e0a273af: Download complete 10:55:24 5d3b04190fa2: Verifying Checksum 10:55:24 5d3b04190fa2: Download complete 10:55:24 ec43610c2a17: Verifying Checksum 10:55:24 ec43610c2a17: Download complete 10:55:25 5eb5b503b376: Verifying Checksum 10:55:25 5eb5b503b376: Download complete 10:55:25 2f39f015ded8: Download complete 10:55:26 5eb5b503b376: Pull complete 10:55:26 5c69ac0246d0: Pull complete 10:55:26 ec43610c2a17: Pull complete 10:55:27 3a2ae6a8a46f: Pull complete 10:55:27 33b1e0a273af: Pull complete 10:55:27 5d3b04190fa2: Pull complete 10:55:31 2f39f015ded8: Pull complete 10:55:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:55:31 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 10:55:31 $ 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 10:55:32 $ docker top fbf3e277e8ecc8f7e8a383ff76c7242568f0c594a5f3f094b9be16bef0a8fe87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:33 ---> job-cost.sh 10:55:33 lf-activate-venv: SKIPPING 10:55:33 INFO: No Stack... 10:55:34 INFO: Retrieving Pricing Info for: v3-standard-8 10:55:34 INFO: Archiving Costs [Pipeline] sh 10:55:34 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 10:55:34 + cut -d, -f6 [Pipeline] lock 10:55:34 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] 10:55:34 Resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] did not exist. Created. 10:55:34 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:55:35 + echo total: 0.2199999988079071 [Pipeline] stash 10:55:35 Stashed 1 file(s) [Pipeline] } 10:55:35 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 10:55:35 $ docker stop --time=1 fbf3e277e8ecc8f7e8a383ff76c7242568f0c594a5f3f094b9be16bef0a8fe87 10:55:36 $ docker rm -f fbf3e277e8ecc8f7e8a383ff76c7242568f0c594a5f3f094b9be16bef0a8fe87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:55:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41793 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 10:55:40 Running in /w/workspace/device-modbus-go/35 [Pipeline] { [Pipeline] checkout 10:55:40 Selected Git installation does not exist. Using Default 10:55:40 The recommended git tool is: NONE 10:55:46 using credential edgex-jenkins-ssh 10:55:46 Cloning the remote Git repository 10:55:46 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:55:47 > git init /w/workspace/device-modbus-go/35 # timeout=10 10:55:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:55:47 > git --version # timeout=10 10:55:47 > git --version # 'git version 2.25.1' 10:55:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:55:48 Avoid second fetch 10:55:48 Checking out Revision 34696552c2fac84d635c044d3d9d718bd3379cee (main) 10:55:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:55:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:55:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:55:48 > git config core.sparsecheckout # timeout=10 10:55:48 > git checkout -f 34696552c2fac84d635c044d3d9d718bd3379cee # timeout=10 10:55:52 Commit message: "Merge pull request #344 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:55:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:55:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:55:53 Dload Upload Total Spent Left Speed 10:55:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 10:55:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:55:54 + sudo tee /etc/docker/daemon.new 10:55:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:55:54 { 10:55:54 "registry-mirrors": [ 10:55:54 "https://nexus3.edgexfoundry.org:10001" 10:55:54 ], 10:55:54 "bip": "10.250.0.254/24", 10:55:54 "hosts": [ 10:55:54 "tcp://0.0.0.0:5555", 10:55:54 "unix:///var/run/docker.sock" 10:55:54 ], 10:55:54 "mtu": 1458, 10:55:54 "selinux-enabled": true, 10:55:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:55:54 } [Pipeline] sh 10:55:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:55:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:56:13 provisioning config files... 10:56:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config3889940950053198704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:13 ---> docker-login.sh 10:56:13 nexus3.edgexfoundry.org:10001 10:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:14 Configure a credential helper to remove this warning. See 10:56:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:14 10:56:14 Login Succeeded 10:56:14 nexus3.edgexfoundry.org:10002 10:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:15 Configure a credential helper to remove this warning. See 10:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:15 10:56:15 Login Succeeded 10:56:15 nexus3.edgexfoundry.org:10003 10:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:15 Configure a credential helper to remove this warning. See 10:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:15 10:56:15 Login Succeeded 10:56:15 nexus3.edgexfoundry.org:10004 10:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:16 Configure a credential helper to remove this warning. See 10:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:16 10:56:16 Login Succeeded 10:56:16 docker.io 10:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:17 Configure a credential helper to remove this warning. See 10:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:17 10:56:17 Login Succeeded 10:56:17 ---> docker-login.sh ends [Pipeline] } 10:56:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:17 ========================================================= 10:56:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:56:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:56:17 + 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 . 10:56:18 Sending build context to Docker daemon 3.048MB 10:56:18 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 10:56:18 Step 2/10 : FROM ${BASE} AS builder 10:56:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:56:18 9b3977197b4f: Pulling fs layer 10:56:18 1a89e8eeedd5: Pulling fs layer 10:56:18 94645a83ff95: Pulling fs layer 10:56:18 3f3a8bcf1eab: Pulling fs layer 10:56:18 0c92f367c5e7: Pulling fs layer 10:56:18 3096ccb668a1: Pulling fs layer 10:56:18 e8cf19c19ddd: Pulling fs layer 10:56:18 a4caa8a26152: Pulling fs layer 10:56:18 3f3a8bcf1eab: Waiting 10:56:18 0c92f367c5e7: Waiting 10:56:18 3096ccb668a1: Waiting 10:56:18 e8cf19c19ddd: Waiting 10:56:18 a4caa8a26152: Waiting 10:56:18 94645a83ff95: Verifying Checksum 10:56:18 94645a83ff95: Download complete 10:56:18 1a89e8eeedd5: Verifying Checksum 10:56:18 1a89e8eeedd5: Download complete 10:56:18 0c92f367c5e7: Verifying Checksum 10:56:18 0c92f367c5e7: Download complete 10:56:18 3096ccb668a1: Verifying Checksum 10:56:18 3096ccb668a1: Download complete 10:56:18 9b3977197b4f: Verifying Checksum 10:56:18 e8cf19c19ddd: Verifying Checksum 10:56:18 e8cf19c19ddd: Download complete 10:56:19 9b3977197b4f: Pull complete 10:56:20 1a89e8eeedd5: Pull complete 10:56:20 94645a83ff95: Pull complete 10:56:20 a4caa8a26152: Verifying Checksum 10:56:20 a4caa8a26152: Download complete 10:56:21 3f3a8bcf1eab: Verifying Checksum 10:56:21 3f3a8bcf1eab: Download complete 10:56:33 3f3a8bcf1eab: Pull complete 10:56:33 0c92f367c5e7: Pull complete 10:56:33 3096ccb668a1: Pull complete 10:56:34 e8cf19c19ddd: Pull complete 10:56:40 a4caa8a26152: Pull complete 10:56:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:56:40 ---> 725f1c02e7f9 10:56:40 Step 3/10 : ARG MAKE='make build' 10:56:40 ---> Running in 3b66a90488ec 10:56:41 Removing intermediate container 3b66a90488ec 10:56:41 ---> 98e9affba90c 10:56:41 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:56:41 ---> Running in 175e64a5dfd8 10:56:43 Removing intermediate container 175e64a5dfd8 10:56:43 ---> d041066dcf6c 10:56:43 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 10:56:43 ---> Running in 0f3bb1ffa583 10:56:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:56:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:56:46 (1/8) Installing openssh-keygen (8.8_p1-r1) 10:56:46 (2/8) Installing libedit (20210910.3.1-r0) 10:56:46 (3/8) Installing openssh-client-common (8.8_p1-r1) 10:56:46 (4/8) Installing openssh-client-default (8.8_p1-r1) 10:56:46 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 10:56:46 (6/8) Installing openssh-server-common (8.8_p1-r1) 10:56:47 (7/8) Installing openssh-server (8.8_p1-r1) 10:56:47 (8/8) Installing openssh (8.8_p1-r1) 10:56:47 Executing busybox-1.34.1-r3.trigger 10:56:47 OK: 226 MiB in 60 packages 10:56:48 Removing intermediate container 0f3bb1ffa583 10:56:48 ---> f6344198a693 10:56:48 Step 6/10 : WORKDIR /device-modbus-go 10:56:48 ---> Running in b96e09615ac0 10:56:48 Removing intermediate container b96e09615ac0 10:56:48 ---> 6d6cc2d454af 10:56:48 Step 7/10 : COPY go.mod vendor* ./ 10:56:49 ---> 9320218c831c 10:56:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:56:49 ---> Running in c683003cd920 10:57:36 Removing intermediate container c683003cd920 10:57:36 ---> f98a646cd09c 10:57:36 Step 9/10 : COPY . . 10:57:36 ---> 977764ddf4fe 10:57:36 Step 10/10 : RUN ${MAKE} 10:57:36 ---> Running in 99414a80d0e2 10:57:36 noop 10:57:36 Removing intermediate container 99414a80d0e2 10:57:36 ---> 73585424cc69 10:57:36 Successfully built 73585424cc69 10:57:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:57:36 + docker inspect -f . ci-base-image-arm64 10:57:36 . [Pipeline] withDockerContainer 10:57:36 prd-ubuntu20.04-docker-arm64-4c-16g-41793 does not seem to be running inside a container 10:57:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@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 10:57:38 $ docker top 856aac216dbc4c27ffabbc1ad19a3c0c7758ff64ad519ece03b09debdde7fb56 -eo pid,comm [Pipeline] { [Pipeline] sh 10:57:39 + go version 10:57:39 go version go1.17.6 linux/arm64 [Pipeline] } 10:57:39 $ docker stop --time=1 856aac216dbc4c27ffabbc1ad19a3c0c7758ff64ad519ece03b09debdde7fb56 10:57:41 $ docker rm -f 856aac216dbc4c27ffabbc1ad19a3c0c7758ff64ad519ece03b09debdde7fb56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:57:41 + docker inspect -f . ci-base-image-arm64 10:57:41 . [Pipeline] withDockerContainer 10:57:41 prd-ubuntu20.04-docker-arm64-4c-16g-41793 does not seem to be running inside a container 10:57:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@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 10:57:43 $ docker top 5a4177c0111315f9416d558b8b9a7e2711a3e645eadf59579c1eb91651ee6ada -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:57:44 + make test 10:57:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:57:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:59:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 10:59:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements 10:59:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:59:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:59:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:59:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:59:50 ./bin/test-attribution-txt.sh [Pipeline] echo 10:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:59:53 $ docker stop --time=1 5a4177c0111315f9416d558b8b9a7e2711a3e645eadf59579c1eb91651ee6ada 10:59:55 $ docker rm -f 5a4177c0111315f9416d558b8b9a7e2711a3e645eadf59579c1eb91651ee6ada [Pipeline] // withDockerContainer [Pipeline] sh 10:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:59:56 Warning: overwriting stash ‘coverage-report’ 10:59:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:59:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:59:57 + ls -al . 10:59:57 total 176 10:59:57 drwxrwxr-x 9 jenkins jenkins 4096 May 9 10:59 . 10:59:57 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:55 .. 10:59:57 -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:55 .dockerignore 10:59:57 drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:55 .git 10:59:57 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:55 .github 10:59:57 -rw-rw-r-- 1 jenkins jenkins 331 May 9 10:55 .gitignore 10:59:57 -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:55 .golangci.yml 10:59:57 -rw-rw-r-- 1 jenkins jenkins 9377 May 9 10:55 Attribution.txt 10:59:57 -rw-rw-r-- 1 jenkins jenkins 6038 May 9 10:55 CHANGELOG.md 10:59:57 -rw-rw-r-- 1 jenkins jenkins 1546 May 9 10:55 Dockerfile 10:59:57 -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:55 GOVERNANCE.md 10:59:57 -rw-rw-r-- 1 jenkins jenkins 680 May 9 10:55 Jenkinsfile 10:59:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:55 LICENSE 10:59:57 -rw-rw-r-- 1 jenkins jenkins 1905 May 9 10:55 Makefile 10:59:57 -rw-rw-r-- 1 jenkins jenkins 622 May 9 10:55 OWNERS.md 10:59:57 -rw-rw-r-- 1 jenkins jenkins 3397 May 9 10:55 README.md 10:59:57 -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:53 VERSION 10:59:57 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:55 bin 10:59:57 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:55 cmd 10:59:57 -rw-r--r-- 1 jenkins jenkins 24065 May 9 10:59 coverage.out 10:59:57 -rw-rw-r-- 1 jenkins jenkins 3399 May 9 10:55 go.mod 10:59:57 -rw-rw-r-- 1 jenkins jenkins 35558 May 9 10:55 go.sum 10:59:57 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:55 internal 10:59:57 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:55 simulator 10:59:57 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:55 snap 10:59:57 -rw-rw-r-- 1 jenkins jenkins 229 May 9 10:55 version.go [Pipeline] isUnix [Pipeline] sh 10:59:58 + 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=34696552c2fac84d635c044d3d9d718bd3379cee --label arch=arm64 --label version=2.2.0-dev.17 . 10:59:58 Sending build context to Docker daemon 3.074MB 10:59:58 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 10:59:58 Step 2/23 : FROM ${BASE} AS builder 10:59:58 ---> 73585424cc69 10:59:58 Step 3/23 : ARG MAKE='make build' 10:59:58 ---> Running in 6c4e122be6d6 10:59:59 Removing intermediate container 6c4e122be6d6 10:59:59 ---> 0c06736cff45 10:59:59 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:59:59 ---> Running in 8d0cfe223960 11:00:01 Removing intermediate container 8d0cfe223960 11:00:01 ---> a1e0382418ef 11:00:01 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 11:00:01 ---> Running in 6a0ccaa579f4 11:00:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:00:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:00:04 OK: 226 MiB in 60 packages 11:00:05 Removing intermediate container 6a0ccaa579f4 11:00:05 ---> 3e9d7bcb9f32 11:00:05 Step 6/23 : WORKDIR /device-modbus-go 11:00:05 ---> Running in 45c04a4e8a83 11:00:05 Removing intermediate container 45c04a4e8a83 11:00:05 ---> 13a34f3abf4b 11:00:05 Step 7/23 : COPY go.mod vendor* ./ 11:00:06 ---> 43bdd8ff9aa9 11:00:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:00:06 ---> Running in 9ba3c414f32c 11:00:08 Removing intermediate container 9ba3c414f32c 11:00:08 ---> 4159ab24a997 11:00:08 Step 9/23 : COPY . . 11:00:09 ---> 24e4b3be7fb5 11:00:09 Step 10/23 : RUN ${MAKE} 11:00:09 ---> Running in 26472ae5dbb4 11:00:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 11:02:32 Removing intermediate container 26472ae5dbb4 11:02:32 ---> d511133a2164 11:02:32 Step 11/23 : FROM alpine:3.14 11:02:32 3.14: Pulling from library/alpine 11:02:32 455c02918c45: Pulling fs layer 11:02:32 455c02918c45: Verifying Checksum 11:02:32 455c02918c45: Download complete 11:02:33 455c02918c45: Pull complete 11:02:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:02:33 Status: Downloaded newer image for alpine:3.14 11:02:33 ---> ac73e934f311 11:02:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 11:02:33 ---> Running in f9fa77f1d175 11:02:33 Removing intermediate container f9fa77f1d175 11:02:33 ---> 80ac12e60db0 11:02:33 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:02:33 ---> Running in 4387fc019245 11:02:35 Removing intermediate container 4387fc019245 11:02:35 ---> f609dc9fd98e 11:02:35 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 11:02:35 ---> Running in bbafc22f62b5 11:02:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:02:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:02:38 (1/6) Installing dumb-init (1.2.5-r1) 11:02:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:02:38 (3/6) Installing libsodium (1.0.18-r0) 11:02:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:02:39 (5/6) Installing libzmq (4.3.4-r0) 11:02:39 (6/6) Installing zeromq (4.3.4-r0) 11:02:39 Executing busybox-1.33.1-r7.trigger 11:02:39 OK: 8 MiB in 20 packages 11:02:40 Removing intermediate container bbafc22f62b5 11:02:40 ---> 069596ac0855 11:02:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 11:02:41 ---> e31998a646cf 11:02:41 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 11:02:42 ---> 6f725a046b2d 11:02:42 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 11:02:43 ---> bf1281a9b6e2 11:02:43 Step 18/23 : EXPOSE 59901 11:02:43 ---> Running in 1700be03c32d 11:02:43 Removing intermediate container 1700be03c32d 11:02:43 ---> 724dc90e384c 11:02:43 Step 19/23 : ENTRYPOINT ["/device-modbus"] 11:02:43 ---> Running in 04518e33962c 11:02:43 Removing intermediate container 04518e33962c 11:02:43 ---> d9b28c037a3f 11:02:43 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:02:43 ---> Running in 037b48573d92 11:02:44 Removing intermediate container 037b48573d92 11:02:44 ---> e5a87190c2fc 11:02:44 Step 21/23 : LABEL arch=arm64 11:02:44 ---> Running in 6df43b5d559d 11:02:44 Removing intermediate container 6df43b5d559d 11:02:44 ---> a22dcd72aa12 11:02:44 Step 22/23 : LABEL git_sha=34696552c2fac84d635c044d3d9d718bd3379cee 11:02:44 ---> Running in 746bc96735dc 11:02:45 Removing intermediate container 746bc96735dc 11:02:45 ---> 42242b558456 11:02:45 Step 23/23 : LABEL version=2.2.0-dev.17 11:02:45 ---> Running in 7ac9375f074d 11:02:45 Removing intermediate container 7ac9375f074d 11:02:45 ---> a3ed6bace2f2 11:02:45 [Warning] One or more build-args [ARCH] were not consumed 11:02:45 Successfully built a3ed6bace2f2 11:02:45 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 11:02:45 provisioning config files... 11:02:45 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/35@tmp/config3701238133807291568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:46 ---> docker-login.sh 11:02:46 nexus3.edgexfoundry.org:10001 11:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:46 Configure a credential helper to remove this warning. See 11:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:46 11:02:46 Login Succeeded 11:02:46 nexus3.edgexfoundry.org:10002 11:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:47 Configure a credential helper to remove this warning. See 11:02:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:47 11:02:47 Login Succeeded 11:02:47 nexus3.edgexfoundry.org:10003 11:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:47 Configure a credential helper to remove this warning. See 11:02:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:47 11:02:47 Login Succeeded 11:02:47 nexus3.edgexfoundry.org:10004 11:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:48 Configure a credential helper to remove this warning. See 11:02:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:48 11:02:48 Login Succeeded 11:02:48 docker.io 11:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:02:49 Configure a credential helper to remove this warning. See 11:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:02:49 11:02:49 Login Succeeded 11:02:49 ---> docker-login.sh ends [Pipeline] } 11:02:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:02:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:02:49 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 11:02:49 34696552c2fac84d635c044d3d9d718bd3379cee 11:02:49 latest 11:02:49 2.2.0-dev.17 11:02:49 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 11:02:49 main 11:02:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:02:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] isUnix [Pipeline] sh 11:02:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee 11:02:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:02:49 55b8f83911d1: Preparing 11:02:49 a3446a024fd9: Preparing 11:02:49 4f51a143d28a: Preparing 11:02:49 b56c63166563: Preparing 11:02:49 478468ae8d96: Preparing 11:02:49 f73e7dbfee58: Preparing 11:02:49 f73e7dbfee58: Waiting 11:02:50 478468ae8d96: Pushed 11:02:50 55b8f83911d1: Pushed 11:02:50 a3446a024fd9: Pushed 11:02:50 f73e7dbfee58: Layer already exists 11:02:51 b56c63166563: Pushed 11:02:57 4f51a143d28a: Pushed 11:02:57 34696552c2fac84d635c044d3d9d718bd3379cee: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:02:58 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:02:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:02:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:02:58 55b8f83911d1: Preparing 11:02:58 a3446a024fd9: Preparing 11:02:58 4f51a143d28a: Preparing 11:02:58 b56c63166563: Preparing 11:02:58 478468ae8d96: Preparing 11:02:58 f73e7dbfee58: Preparing 11:02:58 f73e7dbfee58: Waiting 11:02:58 b56c63166563: Layer already exists 11:02:58 55b8f83911d1: Layer already exists 11:02:58 4f51a143d28a: Layer already exists 11:02:58 478468ae8d96: Layer already exists 11:02:58 a3446a024fd9: Layer already exists 11:02:58 f73e7dbfee58: Layer already exists 11:02:58 latest: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:02:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 11:02:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.17 11:02:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:02:59 55b8f83911d1: Preparing 11:02:59 a3446a024fd9: Preparing 11:02:59 4f51a143d28a: Preparing 11:02:59 b56c63166563: Preparing 11:02:59 478468ae8d96: Preparing 11:02:59 f73e7dbfee58: Preparing 11:02:59 f73e7dbfee58: Waiting 11:02:59 b56c63166563: Layer already exists 11:02:59 a3446a024fd9: Layer already exists 11:02:59 4f51a143d28a: Layer already exists 11:02:59 478468ae8d96: Layer already exists 11:02:59 55b8f83911d1: Layer already exists 11:02:59 f73e7dbfee58: Layer already exists 11:02:59 2.2.0-dev.17: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:03:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 11:03:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 11:03:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:03:00 55b8f83911d1: Preparing 11:03:00 a3446a024fd9: Preparing 11:03:00 4f51a143d28a: Preparing 11:03:00 b56c63166563: Preparing 11:03:00 478468ae8d96: Preparing 11:03:00 f73e7dbfee58: Preparing 11:03:00 f73e7dbfee58: Waiting 11:03:00 b56c63166563: Layer already exists 11:03:00 4f51a143d28a: Layer already exists 11:03:00 478468ae8d96: Layer already exists 11:03:00 55b8f83911d1: Layer already exists 11:03:00 a3446a024fd9: Layer already exists 11:03:00 f73e7dbfee58: Layer already exists 11:03:00 34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] isUnix [Pipeline] sh 11:03:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 11:03:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 11:03:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 11:03:01 55b8f83911d1: Preparing 11:03:01 a3446a024fd9: Preparing 11:03:01 4f51a143d28a: Preparing 11:03:01 b56c63166563: Preparing 11:03:01 478468ae8d96: Preparing 11:03:01 f73e7dbfee58: Preparing 11:03:01 f73e7dbfee58: Waiting 11:03:01 a3446a024fd9: Layer already exists 11:03:01 55b8f83911d1: Layer already exists 11:03:01 4f51a143d28a: Layer already exists 11:03:01 b56c63166563: Layer already exists 11:03:01 478468ae8d96: Layer already exists 11:03:01 f73e7dbfee58: Layer already exists 11:03:01 main: digest: sha256:d44e14c4c3c741fd8970e92a9007bc4c180ea152a1cc0efb64c7010c9c3f9a61 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:03:01 ===================================================== [Pipeline] echo 11:03:01 taggedImages: 11:03:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee 11:03:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 11:03:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.17 11:03:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:34696552c2fac84d635c044d3d9d718bd3379cee-2.2.0-dev.17 11:03:01 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:03:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:02 11:03:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:03:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:02 arm64: Pulling from edgex-lftools-log-publisher 11:03:02 8998bd30e6a1: Pulling fs layer 11:03:02 04944245beec: Pulling fs layer 11:03:02 699f458cf7ca: Pulling fs layer 11:03:02 765212b225bb: Pulling fs layer 11:03:02 f23df028b6ca: Pulling fs layer 11:03:02 d65c8cfc05b1: Pulling fs layer 11:03:02 2437ff75d9bd: Pulling fs layer 11:03:02 765212b225bb: Waiting 11:03:02 f23df028b6ca: Waiting 11:03:02 d65c8cfc05b1: Waiting 11:03:02 2437ff75d9bd: Waiting 11:03:02 04944245beec: Verifying Checksum 11:03:02 04944245beec: Download complete 11:03:02 765212b225bb: Verifying Checksum 11:03:02 765212b225bb: Download complete 11:03:02 f23df028b6ca: Verifying Checksum 11:03:02 f23df028b6ca: Download complete 11:03:02 d65c8cfc05b1: Verifying Checksum 11:03:02 d65c8cfc05b1: Download complete 11:03:03 699f458cf7ca: Verifying Checksum 11:03:03 699f458cf7ca: Download complete 11:03:03 8998bd30e6a1: Verifying Checksum 11:03:03 8998bd30e6a1: Download complete 11:03:06 2437ff75d9bd: Verifying Checksum 11:03:06 2437ff75d9bd: Download complete 11:03:08 8998bd30e6a1: Pull complete 11:03:08 04944245beec: Pull complete 11:03:09 699f458cf7ca: Pull complete 11:03:10 765212b225bb: Pull complete 11:03:11 f23df028b6ca: Pull complete 11:03:11 d65c8cfc05b1: Pull complete 11:03:26 2437ff75d9bd: Pull complete 11:03:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:03:26 prd-ubuntu20.04-docker-arm64-4c-16g-41793 does not seem to be running inside a container 11:03:26 $ 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/35 -v /w/workspace/device-modbus-go/35:/w/workspace/device-modbus-go/35:rw,z -v /w/workspace/device-modbus-go/35@tmp:/w/workspace/device-modbus-go/35@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 11:03:29 $ docker top bee4f10eb1f8b76a3affeaca2b9bc9c0aab0b818843d68aa53c21b120d59e117 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:30 ---> job-cost.sh 11:03:30 lf-activate-venv: SKIPPING 11:03:30 INFO: No Stack... 11:03:30 INFO: Retrieving Pricing Info for: v3-standard-4 11:03:31 INFO: Archiving Costs [Pipeline] sh 11:03:32 + cut -d, -f6 11:03:32 + cat /w/workspace/device-modbus-go/35/archives/cost.csv [Pipeline] lock 11:03:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] 11:03:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] did not exist. Created. 11:03:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:03:33 /w/workspace/device-modbus-go/35@tmp/durable-98994cb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:03:34 + echo total: 0.10999999940395355 [Pipeline] stash 11:03:34 Warning: overwriting stash ‘stack-cost’ 11:03:34 Stashed 1 file(s) [Pipeline] } 11:03:34 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 11:03:34 $ docker stop --time=1 bee4f10eb1f8b76a3affeaca2b9bc9c0aab0b818843d68aa53c21b120d59e117 11:03:35 $ docker rm -f bee4f10eb1f8b76a3affeaca2b9bc9c0aab0b818843d68aa53c21b120d59e117 [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 11:03:36 provisioning config files... 11:03:36 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1822498293669070319tmp [Pipeline] { [Pipeline] sh 11:03:36 + set +x 11:03:36 + curl -s https://codecov.io/bash 11:03:36 + bash -s -- 11:03:36 11:03:36 _____ _ 11:03:36 / ____| | | 11:03:36 | | ___ __| | ___ ___ _____ __ 11:03:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:03:36 | |___| (_) | (_| | __/ (_| (_) \ V / 11:03:36 \_____\___/ \__,_|\___|\___\___/ \_/ 11:03:36 Bash-1.0.6 11:03:36 11:03:36 11:03:36 ==> git version 2.25.1 found 11:03:36 ==> 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 11:03:36 Release-Date: 2020-01-08 11:03:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:03:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:03:36 ==> Jenkins CI detected. 11:03:36 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 11:03:36 project root: . 11:03:36 --> token set from env 11:03:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:03:36 ==> Running gcov in . (disable via -X gcov) 11:03:36 ==> Python coveragepy not found 11:03:36 ==> Searching for coverage reports in: 11:03:36 + . 11:03:36 -> Found 1 reports 11:03:36 ==> Detecting git/mercurial file structure 11:03:36 ==> Reading reports 11:03:36 + ./coverage.out bytes=24065 11:03:36 ==> Appending adjustments 11:03:36 https://docs.codecov.io/docs/fixing-reports 11:03:37 + Found adjustments 11:03:37 ==> Gzipping contents 11:03:37 4.0K /tmp/codecov.13hKLY.gz 11:03:37 ==> Uploading reports 11:03:37 url: https://codecov.io 11:03:37 query: branch=main&commit=34696552c2fac84d635c044d3d9d718bd3379cee&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:03:37 -> Pinging Codecov 11:03:37 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=34696552c2fac84d635c044d3d9d718bd3379cee&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:03:37 -> Uploading to 11:03:37 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/55DBCA73C666E3227836607328DD7E49/34696552c2fac84d635c044d3d9d718bd3379cee/fcce040e-63dc-41a4-96b9-f86476be6887.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T110337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0e3f22f68cec89f4469e5b0f52378c4e237873f5fe996d6cfe66350d6db5137 11:03:37 % Total % Received % Xferd Average Speed Time Time Time Current 11:03:37 Dload Upload Total Spent Left Speed 11:03:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018 0 0 100 4018 0 16007 --:--:-- --:--:-- --:--:-- 16007 11:03:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] } 11:03:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:03:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:03:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:03:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:03:38 11:03:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:03:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:03:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:03:38 188c0c94c7c5: Pulling fs layer 11:03:38 0ef7d3d256c8: Pulling fs layer 11:03:38 de9db76c5a1d: Pulling fs layer 11:03:38 0eba1c9be4d2: Pulling fs layer 11:03:38 0d57e429df01: Pulling fs layer 11:03:38 4e4be7b47b0d: Pulling fs layer 11:03:38 e1f770b5df2f: Pulling fs layer 11:03:38 85a0685a4137: Pulling fs layer 11:03:38 4e4be7b47b0d: Waiting 11:03:38 e1f770b5df2f: Waiting 11:03:38 85a0685a4137: Waiting 11:03:38 0eba1c9be4d2: Waiting 11:03:38 de9db76c5a1d: Download complete 11:03:38 0ef7d3d256c8: Download complete 11:03:38 0d57e429df01: Verifying Checksum 11:03:38 0d57e429df01: Download complete 11:03:38 4e4be7b47b0d: Verifying Checksum 11:03:38 4e4be7b47b0d: Download complete 11:03:38 188c0c94c7c5: Verifying Checksum 11:03:38 188c0c94c7c5: Download complete 11:03:38 188c0c94c7c5: Pull complete 11:03:38 e1f770b5df2f: Verifying Checksum 11:03:38 e1f770b5df2f: Download complete 11:03:38 0ef7d3d256c8: Pull complete 11:03:38 de9db76c5a1d: Pull complete 11:03:39 0eba1c9be4d2: Verifying Checksum 11:03:39 0eba1c9be4d2: Download complete 11:03:39 85a0685a4137: Verifying Checksum 11:03:39 85a0685a4137: Download complete 11:03:42 0eba1c9be4d2: Pull complete 11:03:42 0d57e429df01: Pull complete 11:03:42 4e4be7b47b0d: Pull complete 11:03:43 e1f770b5df2f: Pull complete 11:03:46 85a0685a4137: Pull complete 11:03:46 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:03:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:03:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:03:46 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 11:03:46 $ 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 11:03:48 $ docker top 3ae8cc13357654c23dcc7231105297ef130df463db18673123914828d2e08414 -eo pid,comm [Pipeline] { [Pipeline] echo 11:03:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:03:48 + set -o pipefail 11:03:48 + snyk monitor '--org=edgex-jenkins' 11:03:54 11:03:54 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 11:03:54 11:03:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/6d4eb623-dd4e-4743-b517-c4f8b86da676 11:03:54 11:03:54 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 11:03:54 11:03:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:03:54 11:03:54 [Pipeline] } 11:03:54 $ docker stop --time=1 3ae8cc13357654c23dcc7231105297ef130df463db18673123914828d2e08414 11:03:56 $ docker rm -f 3ae8cc13357654c23dcc7231105297ef130df463db18673123914828d2e08414 [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 11:03:56 + git log --format=format:%s -1 34696552c2fac84d635c044d3d9d718bd3379cee [Pipeline] sh 11:03:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:03:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:03:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:03:57 . [Pipeline] withDockerContainer 11:03:57 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 11:03:57 $ 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 11:03:57 $ docker top 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:02 [ssh-agent] Looking for ssh-agent implementation... 11:04:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:02 $ docker exec 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 ssh-agent 11:04:03 SSH_AUTH_SOCK=/tmp/ssh-4L7fUoqMPvDd/agent.34 11:04:03 SSH_AGENT_PID=41 11:04:03 Running ssh-add (command line suppressed) 11:04:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3444228646262448784.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3444228646262448784.key) 11:04:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:03 + git semver tag 11:04:03 2022-05-09 11:04:03,706 [run_tag] DEBUG tag force:False 11:04:03 2022-05-09 11:04:03,707 [check_head_tag] DEBUG check head tag 11:04:03 2022-05-09 11:04:03,708 [execute] INFO git cat-file --batch-check 11:04:03 2022-05-09 11:04:03,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 11:04:03 2022-05-09 11:04:03,711 [execute] INFO git cat-file --batch 11:04:03 2022-05-09 11:04:03,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 11:04:03 2022-05-09 11:04:03,725 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:03 2022-05-09 11:04:03,725 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 11:04:03 2022-05-09 11:04:03,725 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.17', '-m', 'v2.2.0-dev.17'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 11:04:03 2022-05-09 11:04:03,730 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:03 2.2.0-dev.17 [Pipeline] } 11:04:03 $ docker exec --env ******** --env ******** 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 ssh-agent -k 11:04:03 unset SSH_AUTH_SOCK; 11:04:03 unset SSH_AGENT_PID; 11:04:03 echo Agent pid 41 killed; 11:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:04 + git semver [Pipeline] } 11:04:04 $ docker stop --time=1 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 11:04:05 $ docker rm -f 048b9c3554a8058cba7f0db384987e93de06379b40602fffcce0dc210be25d68 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:04:06 11:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:04:06 0.23.1-centos7: Pulling from edgex-lftools 11:04:06 ab5ef0e58194: Pulling fs layer 11:04:06 9712f1f96733: Pulling fs layer 11:04:06 63f879dbbcfc: Pulling fs layer 11:04:06 0d9ebad4ef96: Pulling fs layer 11:04:06 e9a5061849ea: Pulling fs layer 11:04:06 d747dcd14b5f: Pulling fs layer 11:04:06 2de7ff778b66: Pulling fs layer 11:04:06 0d9ebad4ef96: Waiting 11:04:06 d747dcd14b5f: Waiting 11:04:06 e9a5061849ea: Waiting 11:04:06 2de7ff778b66: Waiting 11:04:06 9712f1f96733: Verifying Checksum 11:04:06 9712f1f96733: Download complete 11:04:06 63f879dbbcfc: Verifying Checksum 11:04:06 63f879dbbcfc: Download complete 11:04:07 e9a5061849ea: Verifying Checksum 11:04:07 e9a5061849ea: Download complete 11:04:07 d747dcd14b5f: Verifying Checksum 11:04:07 d747dcd14b5f: Download complete 11:04:07 ab5ef0e58194: Verifying Checksum 11:04:07 ab5ef0e58194: Download complete 11:04:07 0d9ebad4ef96: Verifying Checksum 11:04:07 0d9ebad4ef96: Download complete 11:04:07 2de7ff778b66: Verifying Checksum 11:04:07 2de7ff778b66: Download complete 11:04:09 ab5ef0e58194: Pull complete 11:04:09 9712f1f96733: Pull complete 11:04:10 63f879dbbcfc: Pull complete 11:04:14 0d9ebad4ef96: Pull complete 11:04:14 e9a5061849ea: Pull complete 11:04:14 d747dcd14b5f: Pull complete 11:04:15 2de7ff778b66: Pull complete 11:04:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:04:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:04:15 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 11:04:15 $ 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 11:04:17 $ docker top ddd19f4c63e151b062d92ff4f66c39703cb6fc65893cd8bf632683a793fdd533 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:04:17 provisioning config files... 11:04:17 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3620111740612976776tmp 11:04:17 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7158503790064615267tmp 11:04:17 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8747372559671777420tmp [Pipeline] { [Pipeline] echo 11:04:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:04:18 ---> sigul-configuration.sh 11:04:18 gpg: directory `/root/.gnupg' created 11:04:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:04:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:04:18 gpg: keyring `/root/.gnupg/secring.gpg' created 11:04:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:04:18 gpg: CAST5 encrypted data 11:04:18 gpg: encrypted with 1 passphrase 11:04:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:04:18 + mkdir /home/jenkins 11:04:18 + mkdir /home/jenkins/sigul [Pipeline] sh 11:04:18 + 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 11:04:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:04:18 ---> sigul-install.sh 11:04:18 Sigul already installed; skipping installation. [Pipeline] sh 11:04:19 + git tag --list 11:04:19 0.7.1 11:04:19 v1.0.0 11:04:19 v1.1.0 11:04:19 v1.1.1 11:04:19 v1.2.2 11:04:19 v1.3.0 11:04:19 v1.3.1 11:04:19 v2.0.0 11:04:19 v2.0.1-dev.1 11:04:19 v2.0.1-dev.10 11:04:19 v2.0.1-dev.11 11:04:19 v2.0.1-dev.12 11:04:19 v2.0.1-dev.2 11:04:19 v2.0.1-dev.3 11:04:19 v2.0.1-dev.4 11:04:19 v2.0.1-dev.5 11:04:19 v2.0.1-dev.6 11:04:19 v2.0.1-dev.7 11:04:19 v2.0.1-dev.8 11:04:19 v2.0.1-dev.9 11:04:19 v2.1.0 11:04:19 v2.2.0-dev.1 11:04:19 v2.2.0-dev.10 11:04:19 v2.2.0-dev.11 11:04:19 v2.2.0-dev.12 11:04:19 v2.2.0-dev.13 11:04:19 v2.2.0-dev.14 11:04:19 v2.2.0-dev.15 11:04:19 v2.2.0-dev.16 11:04:19 v2.2.0-dev.17 11:04:19 v2.2.0-dev.2 11:04:19 v2.2.0-dev.3 11:04:19 v2.2.0-dev.4 11:04:19 v2.2.0-dev.5 11:04:19 v2.2.0-dev.6 11:04:19 v2.2.0-dev.7 11:04:19 v2.2.0-dev.8 11:04:19 v2.2.0-dev.9 [Pipeline] sh 11:04:19 + lftools sign git-tag v2.2.0-dev.17 11:04:20 Signing Git tag with Sigul... 11:04:20 Signing v2.2.0-dev.17 [Pipeline] echo 11:04:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:04:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:04:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:04:20 $ docker stop --time=1 ddd19f4c63e151b062d92ff4f66c39703cb6fc65893cd8bf632683a793fdd533 11:04:21 $ docker rm -f ddd19f4c63e151b062d92ff4f66c39703cb6fc65893cd8bf632683a793fdd533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:04:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:04:22 . [Pipeline] withDockerContainer 11:04:22 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 11:04:22 $ 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 11:04:23 $ docker top bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:23 [ssh-agent] Looking for ssh-agent implementation... 11:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:23 $ docker exec bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e ssh-agent 11:04:23 SSH_AUTH_SOCK=/tmp/ssh-tGdA7IPrg8y9/agent.33 11:04:23 SSH_AGENT_PID=39 11:04:23 Running ssh-add (command line suppressed) 11:04:23 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6917827499922248874.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6917827499922248874.key) 11:04:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:23 + git semver bump pre 11:04:24 2022-05-09 11:04:24,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:24 2022-05-09 11:04:24,192 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev 11:04:24 2022-05-09 11:04:24,192 [bump_version] DEBUG bumped version:2.2.0-dev.18 11:04:24 2022-05-09 11:04:24,192 [write_version] DEBUG write version:2.2.0-dev.18 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 11:04:24 2022-05-09 11:04:24,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:24 2022-05-09 11:04:24,192 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:24 2022-05-09 11:04:24,194 [execute] INFO git cat-file --batch-check 11:04:24 2022-05-09 11:04:24,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:04:24 2022-05-09 11:04:24,200 [execute] INFO git cat-file --batch 11:04:24 2022-05-09 11:04:24,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:04:24 2022-05-09 11:04:24,206 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:24 2.2.0-dev.18 [Pipeline] } 11:04:24 $ docker exec --env ******** --env ******** bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e ssh-agent -k 11:04:24 unset SSH_AUTH_SOCK; 11:04:24 unset SSH_AGENT_PID; 11:04:24 echo Agent pid 39 killed; 11:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:24 + git semver [Pipeline] } 11:04:24 $ docker stop --time=1 bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e 11:04:26 $ docker rm -f bda9d4ae5cbd2b558f0280289af23bf10bd4f3d739622b251a709dd0ad7b746e [Pipeline] // withDockerContainer [Pipeline] sh 11:04:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:04:26 . [Pipeline] withDockerContainer 11:04:26 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 11:04:27 $ 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 11:04:27 $ docker top 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:27 [ssh-agent] Looking for ssh-agent implementation... 11:04:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:27 $ docker exec 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 ssh-agent 11:04:27 SSH_AUTH_SOCK=/tmp/ssh-WoYUAsim4CZG/agent.33 11:04:27 SSH_AGENT_PID=40 11:04:27 Running ssh-add (command line suppressed) 11:04:27 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2474826778786939762.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2474826778786939762.key) 11:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:28 + git semver push 11:04:28 2022-05-09 11:04:28,352 [run_push] DEBUG push 11:04:28 2022-05-09 11:04:28,353 [execute] INFO git push origin semver 11:04:28 2022-05-09 11:04:28,353 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:04:29 2022-05-09 11:04:29,143 [run_push] DEBUG push all version tags 11:04:29 2022-05-09 11:04:29,143 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:04:29 2022-05-09 11:04:29,144 [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) 11:04:29 2022-05-09 11:04:29,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 11:04:29 2.2.0-dev.18 [Pipeline] } 11:04:29 $ docker exec --env ******** --env ******** 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 ssh-agent -k 11:04:30 unset SSH_AUTH_SOCK; 11:04:30 unset SSH_AGENT_PID; 11:04:30 echo Agent pid 40 killed; 11:04:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:30 + git semver [Pipeline] } 11:04:30 $ docker stop --time=1 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 11:04:31 $ docker rm -f 53bb137e3b726fe0b2ccc0da3ffadc9d9b2c80ece9f7ac1038dcafc180f282e6 [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 11:04:32 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 11:04:32 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:04:32 total 16 11:04:32 drwxr-xr-x 3 root root 4096 May 9 10:55 . 11:04:32 drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:04 .. 11:04:32 drwxr-xr-x 2 root root 4096 May 9 10:55 cost 11:04:32 -rw-r--r-- 1 root root 86 May 9 10:55 cost.csv 11:04:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 11:04:32 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:04:32 total 16 11:04:32 drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:55 . 11:04:32 drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:04 .. 11:04:32 drwxr-xr-x 2 jenkins jenkins 4096 May 9 10:55 cost 11:04:32 -rw-r--r-- 1 jenkins jenkins 86 May 9 10:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:04:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:04:33 ---> package-listing.sh 11:04:33 ++ facter osfamily 11:04:33 ++ tr '[:upper:]' '[:lower:]' 11:04:34 + OS_FAMILY=debian 11:04:34 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 11:04:34 + START_PACKAGES=/tmp/packages_start.txt 11:04:34 + END_PACKAGES=/tmp/packages_end.txt 11:04:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:04:34 + PACKAGES=/tmp/packages_start.txt 11:04:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:04:34 + PACKAGES=/tmp/packages_end.txt 11:04:34 + case "${OS_FAMILY}" in 11:04:34 + dpkg -l 11:04:34 + grep '^ii' 11:04:34 + '[' -f /tmp/packages_start.txt ']' 11:04:34 + '[' -f /tmp/packages_end.txt ']' 11:04:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:04:34 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:04:34 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 11:04:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 11:04:34 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 11:04:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:04:34 . [Pipeline] withDockerContainer 11:04:34 prd-ubuntu20.04-docker-8c-8g-41791 does not seem to be running inside a container 11:04:34 $ 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 11:04:35 $ docker top 0989899ce4f52169fc4735de6822894464a477aa5db5f294391b8b932d737bd9 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:35 + touch /tmp/pre-build-complete [Pipeline] sh 11:04:35 + mkdir -p /var/log/sysstat [Pipeline] sh 11:04:36 + ls /var/log/sa-host 11:04:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:36 provisioning config files... 11:04:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config397911249900343508tmp [Pipeline] { [Pipeline] echo 11:04:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:04:36 ---> create-netrc.sh [Pipeline] } 11:04:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:04:37 ---> python-tools-install.sh [Pipeline] echo 11:04:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:04:37 ---> sudo-logs.sh 11:04:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:04:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:04:37 ---> job-cost.sh 11:04:37 lf-activate-venv: SKIPPING 11:04:37 DEBUG: total: 0.2199999988079071 11:04:37 INFO: Retrieving Stack Cost... 11:04:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:04:38 INFO: Archiving Costs [Pipeline] echo 11:04:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:04:38 ---> logs-deploy.sh 11:04:38 lf-activate-venv: SKIPPING 11:04:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/35 11:04:38 INFO: archiving workspace using pattern(s): 11:04:39 Archives upload complete. 11:04:39 INFO: archiving logs to Nexus