Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 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-ssh12074815257290720039.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-ssh13135186317981771627.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-ssh4753087861485519456.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-ssh2577602496388155398.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-ssh7288455814791052940.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-47730 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 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 (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 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#345)" > git rev-list --no-walk 241fbfbc9b273dc13e4996b0e5d4a3b540b295ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:35:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:35:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:35:30 ========================================================= 12:35:30 EdgeX Global Pipelines Version Info 12:35:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:35:30 ------------------- 12:35:30 stable info: 12:35:30 ------------------- 12:35:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:35:30 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:35:30 Message: update stable to v1.0.227 12:35:31 ------------------- 12:35:31 experimental info: 12:35:31 ------------------- 12:35:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:35:31 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:35:31 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a050b [Pipeline] echo 12:35:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:32 provisioning config files... 12:35:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4446867113647955643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:32 ---> docker-login.sh 12:35:32 nexus3.edgexfoundry.org:10001 12:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:32 Configure a credential helper to remove this warning. See 12:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:32 12:35:32 Login Succeeded 12:35:32 nexus3.edgexfoundry.org:10002 12:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:32 Configure a credential helper to remove this warning. See 12:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:32 12:35:32 Login Succeeded 12:35:32 nexus3.edgexfoundry.org:10003 12:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:32 Configure a credential helper to remove this warning. See 12:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:32 12:35:32 Login Succeeded 12:35:32 nexus3.edgexfoundry.org:10004 12:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:33 Configure a credential helper to remove this warning. See 12:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:33 12:35:33 Login Succeeded 12:35:33 docker.io 12:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:33 Configure a credential helper to remove this warning. See 12:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:33 12:35:33 Login Succeeded 12:35:33 ---> docker-login.sh ends [Pipeline] } 12:35:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:35:34 + git rev-list -1 --merges 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180~1..74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo 12:35:34 -----------> git rev-list -1 --merges 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180~1..74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [false] [Pipeline] sh 12:35:34 + git log --format=format:%s -1 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo 12:35:34 ========================================================= 12:35:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:35:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:34 + git log --format=format:%s -1 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] echo 12:35:34 [semverPrep] GIT_COMMIT: 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#345) [Pipeline] echo 12:35:34 [semverPrep] This is not a build commit. [Pipeline] sh 12:35:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:35:35 + grep -v github /etc/ssh/ssh_known_hosts 12:35:35 + [ -e /tmp/ssh_known_hosts ] 12:35:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:35:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:35:35 + sudo tee -a /etc/ssh/ssh_known_hosts 12:35:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:35:35 12:35:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:35:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:35:35 latest: Pulling from edgex-devops/py-git-semver 12:35:35 1fe172e4850f: Pulling fs layer 12:35:35 caf521ccaac6: Pulling fs layer 12:35:35 3ead6fa29328: Pulling fs layer 12:35:35 5c2a1cbceb83: Pulling fs layer 12:35:35 a8d5f1318db7: Pulling fs layer 12:35:35 c427282e49a2: Pulling fs layer 12:35:35 1827001aaf11: Pulling fs layer 12:35:35 0714d37db230: Pulling fs layer 12:35:35 ac28cf19c067: Pulling fs layer 12:35:35 ca983d60f3e2: Pulling fs layer 12:35:35 9f894cec8388: Pulling fs layer 12:35:35 ac28cf19c067: Waiting 12:35:35 a8d5f1318db7: Waiting 12:35:35 1827001aaf11: Waiting 12:35:35 ca983d60f3e2: Waiting 12:35:35 9f894cec8388: Waiting 12:35:35 5c2a1cbceb83: Waiting 12:35:35 0714d37db230: Waiting 12:35:35 c427282e49a2: Waiting 12:35:35 caf521ccaac6: Download complete 12:35:35 5c2a1cbceb83: Verifying Checksum 12:35:35 5c2a1cbceb83: Download complete 12:35:35 a8d5f1318db7: Verifying Checksum 12:35:35 a8d5f1318db7: Download complete 12:35:35 c427282e49a2: Download complete 12:35:36 3ead6fa29328: Verifying Checksum 12:35:36 3ead6fa29328: Download complete 12:35:36 0714d37db230: Download complete 12:35:36 ac28cf19c067: Verifying Checksum 12:35:36 ac28cf19c067: Download complete 12:35:36 ca983d60f3e2: Download complete 12:35:36 9f894cec8388: Verifying Checksum 12:35:36 9f894cec8388: Download complete 12:35:36 1fe172e4850f: Download complete 12:35:36 1827001aaf11: Verifying Checksum 12:35:37 1fe172e4850f: Pull complete 12:35:37 caf521ccaac6: Pull complete 12:35:38 3ead6fa29328: Pull complete 12:35:38 5c2a1cbceb83: Pull complete 12:35:38 a8d5f1318db7: Pull complete 12:35:38 c427282e49a2: Pull complete 12:35:40 1827001aaf11: Pull complete 12:35:40 0714d37db230: Pull complete 12:35:40 ac28cf19c067: Pull complete 12:35:40 ca983d60f3e2: Pull complete 12:35:40 9f894cec8388: Pull complete 12:35:40 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:35:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:35:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:35:40 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:35:40 $ 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 12:35:42 $ docker top 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce -eo pid,comm 12:35:42 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). 12:35:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:35:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:35:42 [ssh-agent] Looking for ssh-agent implementation... 12:35:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:35:42 $ docker exec 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent 12:35:42 SSH_AUTH_SOCK=/tmp/ssh-ci42obOdIjga/agent.32 12:35:42 SSH_AGENT_PID=39 12:35:42 Running ssh-add (command line suppressed) 12:35:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4511598985682016902.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4511598985682016902.key) 12:35:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:35:43 + git tag --points-at HEAD [Pipeline] } 12:35:43 $ docker exec --env ******** --env ******** 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent -k 12:35:43 unset SSH_AUTH_SOCK; 12:35:43 unset SSH_AGENT_PID; 12:35:43 echo Agent pid 39 killed; 12:35:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:35:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:35:43 [ssh-agent] Looking for ssh-agent implementation... 12:35:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:35:43 $ docker exec 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent 12:35:43 SSH_AUTH_SOCK=/tmp/ssh-K9GUpz8bYfoR/agent.72 12:35:43 SSH_AGENT_PID=79 12:35:43 Running ssh-add (command line suppressed) 12:35:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4637896290450291764.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4637896290450291764.key) 12:35:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:35:43 + git semver init 12:35:44 2022-05-10 12:35:44,231 [run_init] DEBUG init version:0.0.0 force:False 12:35:44 2022-05-10 12:35:44,231 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 12:35:44 2022-05-10 12:35:44,232 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 12:35:44 2022-05-10 12:35:44,232 [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) 12:35:45 2022-05-10 12:35:45,068 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 12:35:45 2022-05-10 12:35:45,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 12:35:45 2022-05-10 12:35:45,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:35:45 2022-05-10 12:35:45,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:35:45 2.2.0-dev.19 [Pipeline] } 12:35:45 $ docker exec --env ******** --env ******** 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce ssh-agent -k 12:35:45 unset SSH_AUTH_SOCK; 12:35:45 unset SSH_AGENT_PID; 12:35:45 echo Agent pid 79 killed; 12:35:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:35:45 + git semver [Pipeline] } 12:35:45 $ docker stop --time=1 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce 12:35:47 $ docker rm -f 4dce7bb2acf8753772800ed940088c936dbfa73f48414f57d745c5333bd004ce [Pipeline] // withDockerContainer [Pipeline] sh 12:35:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:35:48 Stashed 1 file(s) [Pipeline] echo 12:35:48 [edgeXSemver]: initialized semver on version 2.2.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:48 provisioning config files... 12:35:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4819389966248121941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47728 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 12:35:48 Running in /w/workspace/device-modbus-go/37 [Pipeline] { [Pipeline] checkout 12:35:48 ---> docker-login.sh 12:35:48 nexus3.edgexfoundry.org:10001 12:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:48 Configure a credential helper to remove this warning. See 12:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:48 12:35:48 Login Succeeded 12:35:48 nexus3.edgexfoundry.org:10002 12:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:48 Selected Git installation does not exist. Using Default 12:35:48 The recommended git tool is: NONE 12:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:49 Configure a credential helper to remove this warning. See 12:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:49 12:35:49 Login Succeeded 12:35:49 nexus3.edgexfoundry.org:10003 12:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:49 Configure a credential helper to remove this warning. See 12:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:49 12:35:49 Login Succeeded 12:35:49 nexus3.edgexfoundry.org:10004 12:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:49 Configure a credential helper to remove this warning. See 12:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:49 12:35:49 Login Succeeded 12:35:49 docker.io 12:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:49 Configure a credential helper to remove this warning. See 12:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:49 12:35:49 Login Succeeded 12:35:49 ---> docker-login.sh ends [Pipeline] } 12:35:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:35:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:35:49 ========================================================= 12:35:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:35:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:35:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:35:50 Sending build context to Docker daemon 5.881MB 12:35:50 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:35:50 Step 2/10 : FROM ${BASE} AS builder 12:35:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:35:50 59bf1c3509f3: Pulling fs layer 12:35:50 666ba61612fd: Pulling fs layer 12:35:50 8ed8ca486205: Pulling fs layer 12:35:50 4fe6c5a15a65: Pulling fs layer 12:35:50 22a0e8bec74d: Pulling fs layer 12:35:50 ca2b28591e48: Pulling fs layer 12:35:50 a51346096db8: Pulling fs layer 12:35:50 daebc70d1ce1: Pulling fs layer 12:35:50 0e18a0eac166: Pulling fs layer 12:35:50 ca2b28591e48: Waiting 12:35:50 a51346096db8: Waiting 12:35:50 daebc70d1ce1: Waiting 12:35:50 4fe6c5a15a65: Waiting 12:35:50 22a0e8bec74d: Waiting 12:35:50 0e18a0eac166: Waiting 12:35:50 8ed8ca486205: Verifying Checksum 12:35:50 8ed8ca486205: Download complete 12:35:50 666ba61612fd: Download complete 12:35:50 22a0e8bec74d: Download complete 12:35:50 ca2b28591e48: Download complete 12:35:50 59bf1c3509f3: Verifying Checksum 12:35:50 a51346096db8: Verifying Checksum 12:35:50 a51346096db8: Download complete 12:35:50 daebc70d1ce1: Verifying Checksum 12:35:50 daebc70d1ce1: Download complete 12:35:50 59bf1c3509f3: Pull complete 12:35:50 666ba61612fd: Pull complete 12:35:50 8ed8ca486205: Pull complete 12:35:50 0e18a0eac166: Verifying Checksum 12:35:50 0e18a0eac166: Download complete 12:35:51 4fe6c5a15a65: Verifying Checksum 12:35:51 4fe6c5a15a65: Download complete 12:35:53 using credential edgex-jenkins-ssh 12:35:53 Cloning the remote Git repository 12:35:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 12:35:53 > git init /w/workspace/device-modbus-go/37 # timeout=10 12:35:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:35:53 > git --version # timeout=10 12:35:54 > git --version # 'git version 2.25.1' 12:35:54 using GIT_SSH to set credentials SSH Credentials for GitHub 12:35:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:35:55 Avoid second fetch 12:35:55 Checking out Revision 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 (main) 12:35:55 4fe6c5a15a65: Pull complete 12:35:55 22a0e8bec74d: Pull complete 12:35:55 ca2b28591e48: Pull complete 12:35:55 a51346096db8: Pull complete 12:35:55 daebc70d1ce1: Pull complete 12:35:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:35:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:35:55 > git config core.sparsecheckout # timeout=10 12:35:55 > git checkout -f 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 # timeout=10 12:35:57 0e18a0eac166: Pull complete 12:35:57 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:35:57 ---> f018257e8ee9 12:35:57 Step 3/10 : ARG MAKE='make build' 12:35:58 ---> Running in a913590e0ee3 12:35:58 Removing intermediate container a913590e0ee3 12:35:58 ---> 5e056ed0808e 12:35:58 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:35:58 ---> Running in 7a44fc1cfbbc 12:35:59 Removing intermediate container 7a44fc1cfbbc 12:35:59 ---> 32ef44b7d09a 12:35:59 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:35:59 ---> Running in 2e855b4e3a9f 12:35:59 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#345)" 12:35:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:36:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:36:00 % Total % Received % Xferd Average Speed Time Time Time Current 12:36:00 Dload Upload Total Spent Left Speed 12:36:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k 12:36:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh 12:36:00 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:36:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:36:01 (2/8) Installing libedit (20210910.3.1-r0) 12:36:01 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:36:01 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:36:01 + sudo tee+ /etc/docker/daemon.new 12:36:01 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:36:01 { 12:36:01 "registry-mirrors": [ 12:36:01 "https://nexus3.edgexfoundry.org:10001" 12:36:01 ], 12:36:01 "bip": "10.250.0.254/24", 12:36:01 "hosts": [ 12:36:01 "tcp://0.0.0.0:5555", 12:36:01 "unix:///var/run/docker.sock" 12:36:01 ], 12:36:01 "mtu": 1458, 12:36:01 "selinux-enabled": true, 12:36:01 "seccomp-profile": "/etc/docker/seccomp.json" 12:36:01 } 12:36:01 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:36:01 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:36:01 (7/8) Installing openssh-server (8.8_p1-r1) [Pipeline] sh 12:36:01 (8/8) Installing openssh (8.8_p1-r1) 12:36:01 Executing busybox-1.34.1-r3.trigger 12:36:01 OK: 226 MiB in 60 packages 12:36:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:36:02 + sudo service docker restart 12:36:02 Removing intermediate container 2e855b4e3a9f 12:36:02 ---> eec42db9cc89 12:36:02 Step 6/10 : WORKDIR /device-modbus-go 12:36:02 ---> Running in c8d76a4368c3 12:36:02 Removing intermediate container c8d76a4368c3 12:36:02 ---> 2e896f61bb27 12:36:02 Step 7/10 : COPY go.mod vendor* ./ 12:36:02 ---> 2368b6062ecf 12:36:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:36:02 ---> Running in eebcf29171a8 12:36:17 Removing intermediate container eebcf29171a8 12:36:17 ---> b3fa7447fefa 12:36:17 Step 9/10 : COPY . . 12:36:17 ---> e438ad4ca83a 12:36:17 Step 10/10 : RUN ${MAKE} 12:36:17 ---> Running in 3a4499cf67bd 12:36:17 noop 12:36:18 Removing intermediate container 3a4499cf67bd 12:36:18 ---> c49470df7d8d 12:36:18 Successfully built c49470df7d8d 12:36:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:36:18 + docker inspect -f . ci-base-image-x86_64 12:36:18 . [Pipeline] withDockerContainer 12:36:18 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:36:18 $ 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 12:36:18 $ docker top 7b5441f1d04f67f8737a374a5481100427bfabf06759f80d8af6992725868afd -eo pid,comm [Pipeline] { [Pipeline] sh 12:36:19 + go version 12:36:19 go version go1.17.6 linux/amd64 [Pipeline] } 12:36:19 $ docker stop --time=1 7b5441f1d04f67f8737a374a5481100427bfabf06759f80d8af6992725868afd 12:36:20 $ docker rm -f 7b5441f1d04f67f8737a374a5481100427bfabf06759f80d8af6992725868afd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] configFileProvider 12:36:20 provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 12:36:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config2623940570488994520tmp [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:20 + docker inspect -f . ci-base-image-x86_64 12:36:20 . [Pipeline] withDockerContainer 12:36:21 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:36:21 ---> docker-login.sh 12:36:21 nexus3.edgexfoundry.org:10001 12:36:21 $ 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 12:36:21 $ docker top ef0b57e3afaf480c4c5e1e86c47c3acb712bcb88c752b8766ecedbd63df6e6d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:21 + make test 12:36:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:21 Configure a credential helper to remove this warning. See 12:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:21 12:36:21 Login Succeeded 12:36:21 nexus3.edgexfoundry.org:10002 12:36:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:22 Configure a credential helper to remove this warning. See 12:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:22 12:36:22 Login Succeeded 12:36:22 nexus3.edgexfoundry.org:10003 12:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:23 Configure a credential helper to remove this warning. See 12:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:23 12:36:23 Login Succeeded 12:36:23 nexus3.edgexfoundry.org:10004 12:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:23 Configure a credential helper to remove this warning. See 12:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:23 12:36:23 Login Succeeded 12:36:23 docker.io 12:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:24 Configure a credential helper to remove this warning. See 12:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:24 12:36:24 Login Succeeded 12:36:24 ---> docker-login.sh ends [Pipeline] } 12:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:36:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:36:25 ========================================================= 12:36:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:36:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:36:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:36:25 Sending build context to Docker daemon 3.066MB 12:36:25 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:36:25 Step 2/10 : FROM ${BASE} AS builder 12:36:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:36:26 9b3977197b4f: Pulling fs layer 12:36:26 1a89e8eeedd5: Pulling fs layer 12:36:26 94645a83ff95: Pulling fs layer 12:36:26 3f3a8bcf1eab: Pulling fs layer 12:36:26 0c92f367c5e7: Pulling fs layer 12:36:26 3096ccb668a1: Pulling fs layer 12:36:26 e8cf19c19ddd: Pulling fs layer 12:36:26 a4caa8a26152: Pulling fs layer 12:36:26 3f3a8bcf1eab: Waiting 12:36:26 0c92f367c5e7: Waiting 12:36:26 3096ccb668a1: Waiting 12:36:26 e8cf19c19ddd: Waiting 12:36:26 a4caa8a26152: Waiting 12:36:26 94645a83ff95: Verifying Checksum 12:36:26 94645a83ff95: Download complete 12:36:26 1a89e8eeedd5: Verifying Checksum 12:36:26 1a89e8eeedd5: Download complete 12:36:26 0c92f367c5e7: Verifying Checksum 12:36:26 0c92f367c5e7: Download complete 12:36:26 9b3977197b4f: Verifying Checksum 12:36:26 9b3977197b4f: Download complete 12:36:26 3096ccb668a1: Verifying Checksum 12:36:26 3096ccb668a1: Download complete 12:36:26 e8cf19c19ddd: Verifying Checksum 12:36:26 e8cf19c19ddd: Download complete 12:36:27 9b3977197b4f: Pull complete 12:36:27 1a89e8eeedd5: Pull complete 12:36:28 94645a83ff95: Pull complete 12:36:28 a4caa8a26152: Verifying Checksum 12:36:28 a4caa8a26152: Download complete 12:36:28 3f3a8bcf1eab: Verifying Checksum 12:36:28 3f3a8bcf1eab: Download complete 12:36:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:36:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.4% of statements 12:36:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:36:41 3f3a8bcf1eab: Pull complete 12:36:41 0c92f367c5e7: Pull complete 12:36:41 3096ccb668a1: Pull complete 12:36:41 e8cf19c19ddd: Pull complete 12:36:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:36:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:36:41 ./bin/test-attribution-txt.sh [Pipeline] echo 12:36:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:36:41 $ docker stop --time=1 ef0b57e3afaf480c4c5e1e86c47c3acb712bcb88c752b8766ecedbd63df6e6d8 12:36:43 $ docker rm -f ef0b57e3afaf480c4c5e1e86c47c3acb712bcb88c752b8766ecedbd63df6e6d8 [Pipeline] // withDockerContainer [Pipeline] sh 12:36:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:36:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:36:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:36:44 + ls -al . 12:36:44 total 184 12:36:44 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:36 . 12:36:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 .. 12:36:44 -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:35 .dockerignore 12:36:44 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:35 .git 12:36:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 .github 12:36:44 -rw-rw-r-- 1 jenkins jenkins 331 May 10 12:35 .gitignore 12:36:44 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:35 .golangci.yml 12:36:44 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:35 .semver 12:36:44 -rw-rw-r-- 1 jenkins jenkins 9377 May 10 12:35 Attribution.txt 12:36:44 -rw-rw-r-- 1 jenkins jenkins 10001 May 10 12:35 CHANGELOG.md 12:36:44 -rw-rw-r-- 1 jenkins jenkins 1546 May 10 12:35 Dockerfile 12:36:44 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:35 GOVERNANCE.md 12:36:44 -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:35 Jenkinsfile 12:36:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:35 LICENSE 12:36:44 -rw-rw-r-- 1 jenkins jenkins 1905 May 10 12:35 Makefile 12:36:44 -rw-rw-r-- 1 jenkins jenkins 622 May 10 12:35 OWNERS.md 12:36:44 -rw-rw-r-- 1 jenkins jenkins 3397 May 10 12:35 README.md 12:36:44 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:35 VERSION 12:36:44 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 bin 12:36:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 cmd 12:36:44 -rw-r--r-- 1 jenkins jenkins 24065 May 10 12:36 coverage.out 12:36:44 -rw-rw-r-- 1 jenkins jenkins 3399 May 10 12:35 go.mod 12:36:44 -rw-rw-r-- 1 jenkins jenkins 35558 May 10 12:35 go.sum 12:36:44 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 internal 12:36:44 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 simulator 12:36:44 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 snap 12:36:44 -rw-rw-r-- 1 jenkins jenkins 229 May 10 12:35 version.go [Pipeline] isUnix [Pipeline] sh 12:36:45 + 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=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 --label arch=amd64 --label version=2.2.0-dev.19 . 12:36:45 Sending build context to Docker daemon 5.906MB 12:36:45 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:36:45 Step 2/23 : FROM ${BASE} AS builder 12:36:45 ---> c49470df7d8d 12:36:45 Step 3/23 : ARG MAKE='make build' 12:36:45 ---> Running in d4732cce0062 12:36:45 Removing intermediate container d4732cce0062 12:36:45 ---> 2a48b5fe5bfb 12:36:45 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:36:45 ---> Running in f8c4856fc51a 12:36:45 Removing intermediate container f8c4856fc51a 12:36:45 ---> 3a7cc7434c0d 12:36:45 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:36:46 ---> Running in 59a11a88a5c1 12:36:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:36:46 a4caa8a26152: Pull complete 12:36:46 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:36:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:36:46 ---> 725f1c02e7f9 12:36:46 Step 3/10 : ARG MAKE='make build' 12:36:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:36:47 OK: 226 MiB in 60 packages 12:36:47 ---> Running in 4528f80f3a46 12:36:47 Removing intermediate container 59a11a88a5c1 12:36:47 ---> 9c665a53f409 12:36:47 Step 6/23 : WORKDIR /device-modbus-go 12:36:47 ---> Running in ffea7b26ca02 12:36:47 Removing intermediate container ffea7b26ca02 12:36:47 ---> 8195920042d9 12:36:47 Step 7/23 : COPY go.mod vendor* ./ 12:36:47 Removing intermediate container 4528f80f3a46 12:36:47 ---> 43702173c202 12:36:47 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:36:47 ---> Running in 5b815f82c19b 12:36:48 ---> e0dab53cff14 12:36:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:36:48 ---> Running in b49dbf5ca188 12:36:49 Removing intermediate container b49dbf5ca188 12:36:49 ---> d9b88f65636d 12:36:49 Step 9/23 : COPY . . 12:36:49 ---> a8fbaf296258 12:36:49 Step 10/23 : RUN ${MAKE} 12:36:49 ---> Running in f89c2271d3d5 12:36:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 12:36:49 Removing intermediate container 5b815f82c19b 12:36:49 ---> 8a5542544526 12:36:49 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:36:49 ---> Running in 605b8d65a645 12:36:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:36:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:36:52 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:36:52 (2/8) Installing libedit (20210910.3.1-r0) 12:36:53 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:36:53 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:36:53 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:36:53 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:36:53 (7/8) Installing openssh-server (8.8_p1-r1) 12:36:53 (8/8) Installing openssh (8.8_p1-r1) 12:36:53 Executing busybox-1.34.1-r3.trigger 12:36:53 OK: 226 MiB in 60 packages 12:36:55 Removing intermediate container 605b8d65a645 12:36:55 ---> 457d4aa3b42b 12:36:55 Step 6/10 : WORKDIR /device-modbus-go 12:36:55 ---> Running in a47f3c885fd9 12:36:55 Removing intermediate container a47f3c885fd9 12:36:55 ---> 28494230570a 12:36:55 Step 7/10 : COPY go.mod vendor* ./ 12:36:56 ---> 5b8a1cb44bf1 12:36:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:36:56 ---> Running in 02556f2c591b 12:37:11 Removing intermediate container f89c2271d3d5 12:37:11 ---> 6ef851cb676f 12:37:11 Step 11/23 : FROM alpine:3.14 12:37:11 3.14: Pulling from library/alpine 12:37:11 8663204ce13b: Pulling fs layer 12:37:11 8663204ce13b: Download complete 12:37:11 8663204ce13b: Pull complete 12:37:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:37:11 Status: Downloaded newer image for alpine:3.14 12:37:11 ---> e04c818066af 12:37:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 12:37:11 ---> Running in d96d48fef5c8 12:37:11 Removing intermediate container d96d48fef5c8 12:37:11 ---> 834ab1635de9 12:37:11 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:37:11 ---> Running in f52cb3f1b1a6 12:37:11 Removing intermediate container f52cb3f1b1a6 12:37:11 ---> de21d620070f 12:37:11 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 12:37:11 ---> Running in 6dda16c9ea58 12:37:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:37:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:37:11 (1/6) Installing dumb-init (1.2.5-r1) 12:37:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:37:12 (3/6) Installing libsodium (1.0.18-r0) 12:37:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:37:12 (5/6) Installing libzmq (4.3.4-r0) 12:37:12 (6/6) Installing zeromq (4.3.4-r0) 12:37:12 Executing busybox-1.33.1-r7.trigger 12:37:12 OK: 8 MiB in 20 packages 12:37:12 Removing intermediate container 6dda16c9ea58 12:37:12 ---> bbb8c4eed142 12:37:12 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:37:13 ---> a8ae749bdbc5 12:37:13 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:37:13 ---> ec99afeab5a0 12:37:13 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:37:13 ---> a92d91d966e2 12:37:13 Step 18/23 : EXPOSE 59901 12:37:13 ---> Running in 07cbadbe00e0 12:37:13 Removing intermediate container 07cbadbe00e0 12:37:13 ---> 77156dd47c18 12:37:13 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:37:13 ---> Running in bc2fac0df6a1 12:37:13 Removing intermediate container bc2fac0df6a1 12:37:13 ---> 2a07200ac3ad 12:37:13 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:37:14 ---> Running in 5eef33e798f2 12:37:14 Removing intermediate container 5eef33e798f2 12:37:14 ---> 10458ff413b4 12:37:14 Step 21/23 : LABEL arch=amd64 12:37:14 ---> Running in bdf9970d7a81 12:37:14 Removing intermediate container bdf9970d7a81 12:37:14 ---> 0ace65e0a094 12:37:14 Step 22/23 : LABEL git_sha=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:37:14 ---> Running in 7b7ad3eb2d17 12:37:14 Removing intermediate container 7b7ad3eb2d17 12:37:14 ---> 549058de6af3 12:37:14 Step 23/23 : LABEL version=2.2.0-dev.19 12:37:14 ---> Running in 72b95c2c68ae 12:37:14 Removing intermediate container 72b95c2c68ae 12:37:14 ---> b792cf3e5a52 12:37:14 [Warning] One or more build-args [ARCH] were not consumed 12:37:14 Successfully built b792cf3e5a52 12:37:14 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:37:14 provisioning config files... 12:37:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4177495505549214023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:15 ---> docker-login.sh 12:37:15 nexus3.edgexfoundry.org:10001 12:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:15 Configure a credential helper to remove this warning. See 12:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:15 12:37:15 Login Succeeded 12:37:15 nexus3.edgexfoundry.org:10002 12:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:15 Configure a credential helper to remove this warning. See 12:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:15 12:37:15 Login Succeeded 12:37:15 nexus3.edgexfoundry.org:10003 12:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:15 Configure a credential helper to remove this warning. See 12:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:15 12:37:15 Login Succeeded 12:37:15 nexus3.edgexfoundry.org:10004 12:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:15 Configure a credential helper to remove this warning. See 12:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:15 12:37:15 Login Succeeded 12:37:15 docker.io 12:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:15 Configure a credential helper to remove this warning. See 12:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:15 12:37:15 Login Succeeded 12:37:15 ---> docker-login.sh ends [Pipeline] } 12:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:37:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:37:15 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 12:37:15 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:37:15 latest 12:37:15 2.2.0-dev.19 12:37:15 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 12:37:15 main 12:37:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:37:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] isUnix [Pipeline] sh 12:37:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:37:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:37:16 bb705a7b70ba: Preparing 12:37:16 70ae599ad434: Preparing 12:37:16 9b59cdbacf41: Preparing 12:37:16 4544e8bc48e6: Preparing 12:37:16 3273fca01d55: Preparing 12:37:16 b541d28bf3b4: Preparing 12:37:16 70ae599ad434: Pushed 12:37:16 3273fca01d55: Pushed 12:37:16 bb705a7b70ba: Pushed 12:37:16 b541d28bf3b4: Layer already exists 12:37:16 4544e8bc48e6: Pushed 12:37:19 9b59cdbacf41: Pushed 12:37:19 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh 12:37:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh 12:37:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 12:37:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:37:19 bb705a7b70ba: Preparing 12:37:19 70ae599ad434: Preparing 12:37:19 9b59cdbacf41: Preparing 12:37:19 4544e8bc48e6: Preparing 12:37:19 3273fca01d55: Preparing 12:37:19 b541d28bf3b4: Preparing 12:37:19 b541d28bf3b4: Waiting 12:37:19 4544e8bc48e6: Layer already exists 12:37:19 3273fca01d55: Layer already exists 12:37:19 70ae599ad434: Layer already exists 12:37:19 bb705a7b70ba: Layer already exists 12:37:19 9b59cdbacf41: Layer already exists 12:37:19 b541d28bf3b4: Layer already exists 12:37:19 latest: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh 12:37:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 12:37:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.19 12:37:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:37:20 bb705a7b70ba: Preparing 12:37:20 70ae599ad434: Preparing 12:37:20 9b59cdbacf41: Preparing 12:37:20 4544e8bc48e6: Preparing 12:37:20 3273fca01d55: Preparing 12:37:20 b541d28bf3b4: Preparing 12:37:20 b541d28bf3b4: Waiting 12:37:20 70ae599ad434: Layer already exists 12:37:20 bb705a7b70ba: Layer already exists 12:37:20 3273fca01d55: Layer already exists 12:37:20 4544e8bc48e6: Layer already exists 12:37:20 9b59cdbacf41: Layer already exists 12:37:20 b541d28bf3b4: Layer already exists 12:37:20 2.2.0-dev.19: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh 12:37:20 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 12:37:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 12:37:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:37:21 bb705a7b70ba: Preparing 12:37:21 70ae599ad434: Preparing 12:37:21 9b59cdbacf41: Preparing 12:37:21 4544e8bc48e6: Preparing 12:37:21 3273fca01d55: Preparing 12:37:21 b541d28bf3b4: Preparing 12:37:21 b541d28bf3b4: Waiting 12:37:21 4544e8bc48e6: Layer already exists 12:37:21 70ae599ad434: Layer already exists 12:37:21 3273fca01d55: Layer already exists 12:37:21 9b59cdbacf41: Layer already exists 12:37:21 bb705a7b70ba: Layer already exists 12:37:21 b541d28bf3b4: Layer already exists 12:37:21 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] isUnix [Pipeline] sh 12:37:21 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh 12:37:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 12:37:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 12:37:21 bb705a7b70ba: Preparing 12:37:21 70ae599ad434: Preparing 12:37:21 9b59cdbacf41: Preparing 12:37:21 4544e8bc48e6: Preparing 12:37:21 3273fca01d55: Preparing 12:37:21 b541d28bf3b4: Preparing 12:37:21 b541d28bf3b4: Waiting 12:37:21 3273fca01d55: Layer already exists 12:37:21 9b59cdbacf41: Layer already exists 12:37:21 70ae599ad434: Layer already exists 12:37:21 4544e8bc48e6: Layer already exists 12:37:21 bb705a7b70ba: Layer already exists 12:37:21 b541d28bf3b4: Layer already exists 12:37:21 main: digest: sha256:cfb519b9b1766df845a96e757ab7440345066ac66a66c9fcc3eaefa0d9332bc5 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:37:21 ===================================================== [Pipeline] echo 12:37:21 taggedImages: 12:37:21 - nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:37:21 - nexus3.edgexfoundry.org:10004/device-modbus:latest 12:37:21 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.19 12:37:21 - nexus3.edgexfoundry.org:10004/device-modbus:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 12:37:21 - 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 12:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:37:22 12:37:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:37:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:37:22 latest: Pulling from edgex-lftools-log-publisher 12:37:22 5eb5b503b376: Pulling fs layer 12:37:22 5c69ac0246d0: Pulling fs layer 12:37:22 ec43610c2a17: Pulling fs layer 12:37:22 3a2ae6a8a46f: Pulling fs layer 12:37:22 33b1e0a273af: Pulling fs layer 12:37:22 5d3b04190fa2: Pulling fs layer 12:37:22 2f39f015ded8: Pulling fs layer 12:37:22 5d3b04190fa2: Waiting 12:37:22 3a2ae6a8a46f: Waiting 12:37:22 33b1e0a273af: Waiting 12:37:22 2f39f015ded8: Waiting 12:37:22 5c69ac0246d0: Download complete 12:37:22 3a2ae6a8a46f: Verifying Checksum 12:37:22 3a2ae6a8a46f: Download complete 12:37:22 33b1e0a273af: Verifying Checksum 12:37:22 33b1e0a273af: Download complete 12:37:22 5d3b04190fa2: Verifying Checksum 12:37:22 5d3b04190fa2: Download complete 12:37:22 ec43610c2a17: Verifying Checksum 12:37:22 ec43610c2a17: Download complete 12:37:22 5eb5b503b376: Verifying Checksum 12:37:22 5eb5b503b376: Download complete 12:37:23 2f39f015ded8: Download complete 12:37:24 5eb5b503b376: Pull complete 12:37:24 5c69ac0246d0: Pull complete 12:37:24 ec43610c2a17: Pull complete 12:37:24 3a2ae6a8a46f: Pull complete 12:37:24 33b1e0a273af: Pull complete 12:37:24 5d3b04190fa2: Pull complete 12:37:29 2f39f015ded8: Pull complete 12:37:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:37:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:37:29 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:37:29 $ 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 12:37:31 $ docker top 980c40c64de392c321bf700a3c9d4fbda5bb1515d6463e13c35a91bebded405f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:31 ---> job-cost.sh 12:37:31 lf-activate-venv: SKIPPING 12:37:31 INFO: No Stack... 12:37:31 INFO: Retrieving Pricing Info for: v3-standard-8 12:37:32 INFO: Archiving Costs [Pipeline] sh 12:37:32 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 12:37:32 + cut -d, -f6 [Pipeline] lock 12:37:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] 12:37:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] did not exist. Created. 12:37:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:37:32 + echo total: 0.2199999988079071 [Pipeline] stash 12:37:33 Stashed 1 file(s) [Pipeline] } 12:37:33 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 12:37:33 $ docker stop --time=1 980c40c64de392c321bf700a3c9d4fbda5bb1515d6463e13c35a91bebded405f 12:37:34 $ docker rm -f 980c40c64de392c321bf700a3c9d4fbda5bb1515d6463e13c35a91bebded405f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:37:43 Removing intermediate container 02556f2c591b 12:37:43 ---> e5e0b91902b2 12:37:43 Step 9/10 : COPY . . 12:37:43 ---> af83fd491300 12:37:43 Step 10/10 : RUN ${MAKE} 12:37:43 ---> Running in 31bc4751fd4a 12:37:44 noop 12:37:45 Removing intermediate container 31bc4751fd4a 12:37:45 ---> f6b07a190449 12:37:45 Successfully built f6b07a190449 12:37:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:37:45 + docker inspect -f . ci-base-image-arm64 12:37:45 . [Pipeline] withDockerContainer 12:37:45 prd-ubuntu20.04-docker-arm64-4c-16g-47728 does not seem to be running inside a container 12:37:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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-arm64 cat 12:37:47 $ docker top a5636f61ad86b35ea47c9ecb8856f20857b9ad4790f026aec2172f0a6aba6706 -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:48 + go version 12:37:48 go version go1.17.6 linux/arm64 [Pipeline] } 12:37:48 $ docker stop --time=1 a5636f61ad86b35ea47c9ecb8856f20857b9ad4790f026aec2172f0a6aba6706 12:37:49 $ docker rm -f a5636f61ad86b35ea47c9ecb8856f20857b9ad4790f026aec2172f0a6aba6706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:37:50 + docker inspect -f . ci-base-image-arm64 12:37:50 . [Pipeline] withDockerContainer 12:37:50 prd-ubuntu20.04-docker-arm64-4c-16g-47728 does not seem to be running inside a container 12:37:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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-arm64 cat 12:37:52 $ docker top 335691e20dd1ff9cb95d32d19f89d299db871fd194419f9f43688d88b21e8776 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:37:53 + make test 12:37:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:37:55 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:39:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:39:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 46.4% of statements 12:39:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:39:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:39:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:39:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:39:50 ./bin/test-attribution-txt.sh [Pipeline] echo 12:39:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:39:54 $ docker stop --time=1 335691e20dd1ff9cb95d32d19f89d299db871fd194419f9f43688d88b21e8776 12:39:56 $ docker rm -f 335691e20dd1ff9cb95d32d19f89d299db871fd194419f9f43688d88b21e8776 [Pipeline] // withDockerContainer [Pipeline] sh 12:39:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:39:57 Warning: overwriting stash ‘coverage-report’ 12:39:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:39:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:39:58 + ls -al . 12:39:58 total 180 12:39:58 drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:39 . 12:39:58 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 .. 12:39:58 -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:35 .dockerignore 12:39:58 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:35 .git 12:39:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 .github 12:39:58 -rw-rw-r-- 1 jenkins jenkins 331 May 10 12:35 .gitignore 12:39:58 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:35 .golangci.yml 12:39:58 -rw-rw-r-- 1 jenkins jenkins 9377 May 10 12:35 Attribution.txt 12:39:58 -rw-rw-r-- 1 jenkins jenkins 10001 May 10 12:35 CHANGELOG.md 12:39:58 -rw-rw-r-- 1 jenkins jenkins 1546 May 10 12:35 Dockerfile 12:39:58 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:35 GOVERNANCE.md 12:39:58 -rw-rw-r-- 1 jenkins jenkins 680 May 10 12:35 Jenkinsfile 12:39:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:35 LICENSE 12:39:58 -rw-rw-r-- 1 jenkins jenkins 1905 May 10 12:35 Makefile 12:39:58 -rw-rw-r-- 1 jenkins jenkins 622 May 10 12:35 OWNERS.md 12:39:58 -rw-rw-r-- 1 jenkins jenkins 3397 May 10 12:35 README.md 12:39:58 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:35 VERSION 12:39:58 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 bin 12:39:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 cmd 12:39:58 -rw-r--r-- 1 jenkins jenkins 24065 May 10 12:39 coverage.out 12:39:58 -rw-rw-r-- 1 jenkins jenkins 3399 May 10 12:35 go.mod 12:39:58 -rw-rw-r-- 1 jenkins jenkins 35558 May 10 12:35 go.sum 12:39:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:35 internal 12:39:58 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:35 simulator 12:39:58 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:35 snap 12:39:58 -rw-rw-r-- 1 jenkins jenkins 229 May 10 12:35 version.go [Pipeline] isUnix [Pipeline] sh 12:39: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=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 --label arch=arm64 --label version=2.2.0-dev.19 . 12:39:59 Sending build context to Docker daemon 3.091MB 12:39:59 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:39:59 Step 2/23 : FROM ${BASE} AS builder 12:39:59 ---> f6b07a190449 12:39:59 Step 3/23 : ARG MAKE='make build' 12:39:59 ---> Running in a7b5182cbd5f 12:39:59 Removing intermediate container a7b5182cbd5f 12:39:59 ---> a9b1b234ab96 12:39:59 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:39:59 ---> Running in 565168ac0908 12:40:01 Removing intermediate container 565168ac0908 12:40:01 ---> ab2234ae7f49 12:40:01 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:40:01 ---> Running in eb3a213b0fc1 12:40:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:40:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:40:04 OK: 226 MiB in 60 packages 12:40:05 Removing intermediate container eb3a213b0fc1 12:40:05 ---> 69ecdee66b96 12:40:05 Step 6/23 : WORKDIR /device-modbus-go 12:40:05 ---> Running in 6e7478f73e5d 12:40:06 Removing intermediate container 6e7478f73e5d 12:40:06 ---> 82770ea518e8 12:40:06 Step 7/23 : COPY go.mod vendor* ./ 12:40:06 ---> 61990bc3cc3b 12:40:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:40:06 ---> Running in 15ca454d6697 12:40:09 Removing intermediate container 15ca454d6697 12:40:09 ---> 32eeba75ea45 12:40:09 Step 9/23 : COPY . . 12:40:10 ---> bfb9d7ee1749 12:40:10 Step 10/23 : RUN ${MAKE} 12:40:10 ---> Running in 4e74610d29e0 12:40:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 12:42:32 Removing intermediate container 4e74610d29e0 12:42:32 ---> ea77c003de6b 12:42:32 Step 11/23 : FROM alpine:3.14 12:42:32 3.14: Pulling from library/alpine 12:42:32 455c02918c45: Pulling fs layer 12:42:32 455c02918c45: Download complete 12:42:32 455c02918c45: Pull complete 12:42:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:42:32 Status: Downloaded newer image for alpine:3.14 12:42:32 ---> ac73e934f311 12:42:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 12:42:32 ---> Running in 8b8f43985313 12:42:32 Removing intermediate container 8b8f43985313 12:42:32 ---> 263c09ec0f47 12:42:32 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:42:32 ---> Running in 222088a72a06 12:42:32 Removing intermediate container 222088a72a06 12:42:32 ---> bc6c50ac0def 12:42:32 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 12:42:32 ---> Running in 641abd351808 12:42:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:42:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:42:32 (1/6) Installing dumb-init (1.2.5-r1) 12:42:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:42:32 (3/6) Installing libsodium (1.0.18-r0) 12:42:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:42:32 (5/6) Installing libzmq (4.3.4-r0) 12:42:32 (6/6) Installing zeromq (4.3.4-r0) 12:42:32 Executing busybox-1.33.1-r7.trigger 12:42:32 OK: 8 MiB in 20 packages 12:42:32 Removing intermediate container 641abd351808 12:42:32 ---> 0365bd89094f 12:42:32 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:42:32 ---> 1eef9d587d1c 12:42:32 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:42:32 ---> 8b3986055e5a 12:42:32 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:42:32 ---> d6ed272d0f9a 12:42:32 Step 18/23 : EXPOSE 59901 12:42:32 ---> Running in 26fefd87128d 12:42:33 Removing intermediate container 26fefd87128d 12:42:33 ---> 67cae3a6325c 12:42:33 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:42:33 ---> Running in 158f34af649c 12:42:33 Removing intermediate container 158f34af649c 12:42:33 ---> 0a4d6091a513 12:42:33 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:42:33 ---> Running in 879bf0e4366a 12:42:34 Removing intermediate container 879bf0e4366a 12:42:34 ---> dbe2c6aff045 12:42:34 Step 21/23 : LABEL arch=arm64 12:42:34 ---> Running in de833917b272 12:42:34 Removing intermediate container de833917b272 12:42:34 ---> a043ecf3f1d7 12:42:34 Step 22/23 : LABEL git_sha=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:42:34 ---> Running in 61615bd4c727 12:42:34 Removing intermediate container 61615bd4c727 12:42:34 ---> b50e7a59710c 12:42:34 Step 23/23 : LABEL version=2.2.0-dev.19 12:42:34 ---> Running in 418e342ff698 12:42:35 Removing intermediate container 418e342ff698 12:42:35 ---> fb31a52bcd7e 12:42:35 [Warning] One or more build-args [ARCH] were not consumed 12:42:35 Successfully built fb31a52bcd7e 12:42:35 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 12:42:35 provisioning config files... 12:42:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/37@tmp/config7452010204076227278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:35 ---> docker-login.sh 12:42:35 nexus3.edgexfoundry.org:10001 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:42:36 Configure a credential helper to remove this warning. See 12:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:42:36 12:42:36 Login Succeeded 12:42:36 nexus3.edgexfoundry.org:10002 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:42:36 Configure a credential helper to remove this warning. See 12:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:42:36 12:42:36 Login Succeeded 12:42:36 nexus3.edgexfoundry.org:10003 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:42:37 Configure a credential helper to remove this warning. See 12:42:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:42:37 12:42:37 Login Succeeded 12:42:37 nexus3.edgexfoundry.org:10004 12:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:42:37 Configure a credential helper to remove this warning. See 12:42:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:42:37 12:42:37 Login Succeeded 12:42:37 docker.io 12:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:42:38 Configure a credential helper to remove this warning. See 12:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:42:38 12:42:38 Login Succeeded 12:42:38 ---> docker-login.sh ends [Pipeline] } 12:42:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:42:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:42:38 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 12:42:38 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:42:38 latest 12:42:38 2.2.0-dev.19 12:42:38 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 12:42:38 main 12:42:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:42:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] isUnix [Pipeline] sh 12:42:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:42:39 28332e8c53ab: Preparing 12:42:39 45b93507c89c: Preparing 12:42:39 2b74e715e9d6: Preparing 12:42:39 b17f072d0b01: Preparing 12:42:39 f05773681142: Preparing 12:42:39 f73e7dbfee58: Preparing 12:42:39 f73e7dbfee58: Waiting 12:42:39 28332e8c53ab: Pushed 12:42:39 f05773681142: Pushed 12:42:39 45b93507c89c: Pushed 12:42:39 f73e7dbfee58: Layer already exists 12:42:39 b17f072d0b01: Pushed 12:42:45 2b74e715e9d6: Pushed 12:42:45 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh 12:42:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:42:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 12:42:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:42:46 28332e8c53ab: Preparing 12:42:46 45b93507c89c: Preparing 12:42:46 2b74e715e9d6: Preparing 12:42:46 b17f072d0b01: Preparing 12:42:46 f05773681142: Preparing 12:42:46 f73e7dbfee58: Preparing 12:42:46 f73e7dbfee58: Waiting 12:42:46 f05773681142: Layer already exists 12:42:46 28332e8c53ab: Layer already exists 12:42:46 45b93507c89c: Layer already exists 12:42:46 2b74e715e9d6: Layer already exists 12:42:46 b17f072d0b01: Layer already exists 12:42:46 f73e7dbfee58: Layer already exists 12:42:46 latest: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh 12:42:46 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 12:42:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.19 12:42:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:42:47 28332e8c53ab: Preparing 12:42:47 45b93507c89c: Preparing 12:42:47 2b74e715e9d6: Preparing 12:42:47 b17f072d0b01: Preparing 12:42:47 f05773681142: Preparing 12:42:47 f73e7dbfee58: Preparing 12:42:47 45b93507c89c: Layer already exists 12:42:47 b17f072d0b01: Layer already exists 12:42:47 f05773681142: Layer already exists 12:42:47 28332e8c53ab: Layer already exists 12:42:47 2b74e715e9d6: Layer already exists 12:42:47 f73e7dbfee58: Layer already exists 12:42:47 2.2.0-dev.19: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh 12:42:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 12:42:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 12:42:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:42:48 28332e8c53ab: Preparing 12:42:48 45b93507c89c: Preparing 12:42:48 2b74e715e9d6: Preparing 12:42:48 b17f072d0b01: Preparing 12:42:48 f05773681142: Preparing 12:42:48 f73e7dbfee58: Preparing 12:42:48 f73e7dbfee58: Waiting 12:42:48 f05773681142: Layer already exists 12:42:48 2b74e715e9d6: Layer already exists 12:42:48 b17f072d0b01: Layer already exists 12:42:48 45b93507c89c: Layer already exists 12:42:48 28332e8c53ab: Layer already exists 12:42:48 f73e7dbfee58: Layer already exists 12:42:48 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] isUnix [Pipeline] sh 12:42:48 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh 12:42:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 12:42:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 12:42:49 28332e8c53ab: Preparing 12:42:49 45b93507c89c: Preparing 12:42:49 2b74e715e9d6: Preparing 12:42:49 b17f072d0b01: Preparing 12:42:49 f05773681142: Preparing 12:42:49 f73e7dbfee58: Preparing 12:42:49 f73e7dbfee58: Waiting 12:42:49 2b74e715e9d6: Layer already exists 12:42:49 28332e8c53ab: Layer already exists 12:42:49 f05773681142: Layer already exists 12:42:49 45b93507c89c: Layer already exists 12:42:49 b17f072d0b01: Layer already exists 12:42:49 f73e7dbfee58: Layer already exists 12:42:49 main: digest: sha256:aafb515144c67f24743e76a95d9f7f9248e7a69eddb61f1f3f0a27abb042c5d3 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:42:49 ===================================================== [Pipeline] echo 12:42:49 taggedImages: 12:42:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 12:42:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 12:42:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.19 12:42:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:74a050b5b4bd28a6f3c6004725ec0b1be1ff5180-2.2.0-dev.19 12:42:49 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:42:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:42:49 12:42:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:42:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:42:50 arm64: Pulling from edgex-lftools-log-publisher 12:42:50 8998bd30e6a1: Pulling fs layer 12:42:50 04944245beec: Pulling fs layer 12:42:50 699f458cf7ca: Pulling fs layer 12:42:50 765212b225bb: Pulling fs layer 12:42:50 f23df028b6ca: Pulling fs layer 12:42:50 d65c8cfc05b1: Pulling fs layer 12:42:50 2437ff75d9bd: Pulling fs layer 12:42:50 f23df028b6ca: Waiting 12:42:50 d65c8cfc05b1: Waiting 12:42:50 2437ff75d9bd: Waiting 12:42:50 765212b225bb: Waiting 12:42:50 04944245beec: Verifying Checksum 12:42:50 04944245beec: Download complete 12:42:50 765212b225bb: Download complete 12:42:50 f23df028b6ca: Download complete 12:42:50 d65c8cfc05b1: Verifying Checksum 12:42:50 d65c8cfc05b1: Download complete 12:42:50 699f458cf7ca: Verifying Checksum 12:42:51 8998bd30e6a1: Download complete 12:42:53 2437ff75d9bd: Verifying Checksum 12:42:53 2437ff75d9bd: Download complete 12:42:55 8998bd30e6a1: Pull complete 12:42:55 04944245beec: Pull complete 12:42:57 699f458cf7ca: Pull complete 12:42:57 765212b225bb: Pull complete 12:42:58 f23df028b6ca: Pull complete 12:42:58 d65c8cfc05b1: Pull complete 12:43:13 2437ff75d9bd: Pull complete 12:43:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:43:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-47728 does not seem to be running inside a container 12:43:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/37 -v /w/workspace/device-modbus-go/37:/w/workspace/device-modbus-go/37:rw,z -v /w/workspace/device-modbus-go/37@tmp:/w/workspace/device-modbus-go/37@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:arm64 cat 12:43:17 $ docker top ffd571553609115b8928a015b23f8c6d9c84a1d68053e89dfbc423337352e387 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:43:18 ---> job-cost.sh 12:43:18 lf-activate-venv: SKIPPING 12:43:18 INFO: No Stack... 12:43:18 INFO: Retrieving Pricing Info for: v3-standard-4 12:43:19 INFO: Archiving Costs [Pipeline] sh 12:43:20 + cut+ -d, -f6 12:43:20 cat /w/workspace/device-modbus-go/37/archives/cost.csv [Pipeline] lock 12:43:20 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] 12:43:20 Resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] did not exist. Created. 12:43:20 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:43:21 /w/workspace/device-modbus-go/37@tmp/durable-f5e72243/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:43:21 + echo total: 0.10999999940395355 [Pipeline] stash 12:43:21 Warning: overwriting stash ‘stack-cost’ 12:43:21 Stashed 1 file(s) [Pipeline] } 12:43:21 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 12:43:21 $ docker stop --time=1 ffd571553609115b8928a015b23f8c6d9c84a1d68053e89dfbc423337352e387 12:43:23 $ docker rm -f ffd571553609115b8928a015b23f8c6d9c84a1d68053e89dfbc423337352e387 [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 12:43:23 provisioning config files... 12:43:23 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5230309943645702274tmp [Pipeline] { [Pipeline] sh 12:43:24 + set +x 12:43:24 + curl -s https://codecov.io/bash 12:43:24 + bash -s -- 12:43:24 12:43:24 _____ _ 12:43:24 / ____| | | 12:43:24 | | ___ __| | ___ ___ _____ __ 12:43:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:43:24 | |___| (_) | (_| | __/ (_| (_) \ V / 12:43:24 \_____\___/ \__,_|\___|\___\___/ \_/ 12:43:24 Bash-1.0.6 12:43:24 12:43:24 12:43:24 ==> git version 2.25.1 found 12:43:24 ==> 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 12:43:24 Release-Date: 2020-01-08 12:43:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:43:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:43:24 ==> Jenkins CI detected. 12:43:24 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 12:43:24 project root: . 12:43:24 --> token set from env 12:43:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:43:24 ==> Running gcov in . (disable via -X gcov) 12:43:24 ==> Python coveragepy not found 12:43:24 ==> Searching for coverage reports in: 12:43:24 + . 12:43:24 -> Found 1 reports 12:43:24 ==> Detecting git/mercurial file structure 12:43:24 ==> Reading reports 12:43:24 + ./coverage.out bytes=24065 12:43:24 ==> Appending adjustments 12:43:24 https://docs.codecov.io/docs/fixing-reports 12:43:24 + Found adjustments 12:43:24 ==> Gzipping contents 12:43:24 4.0K /tmp/codecov.1ABm1F.gz 12:43:24 ==> Uploading reports 12:43:24 url: https://codecov.io 12:43:24 query: branch=main&commit=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:43:24 -> Pinging Codecov 12:43:24 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=74a050b5b4bd28a6f3c6004725ec0b1be1ff5180&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:43:24 -> Uploading to 12:43:24 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/55DBCA73C666E3227836607328DD7E49/74a050b5b4bd28a6f3c6004725ec0b1be1ff5180/2e308cd7-406a-4353-849c-222cdc5ffa2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T124324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c328607ccce66bcc80f844c02385ad091c5c829c5156cef56ce573847992893a 12:43:24 % Total % Received % Xferd Average Speed Time Time Time Current 12:43:24 Dload Upload Total Spent Left Speed 12:43:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 18897 --:--:-- --:--:-- --:--:-- 18897 12:43:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] } 12:43:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:43:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:43:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:43:25 12:43:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 12:43:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:43:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:43:25 188c0c94c7c5: Pulling fs layer 12:43:25 0ef7d3d256c8: Pulling fs layer 12:43:25 de9db76c5a1d: Pulling fs layer 12:43:25 0eba1c9be4d2: Pulling fs layer 12:43:25 0d57e429df01: Pulling fs layer 12:43:25 4e4be7b47b0d: Pulling fs layer 12:43:25 e1f770b5df2f: Pulling fs layer 12:43:25 85a0685a4137: Pulling fs layer 12:43:25 0d57e429df01: Waiting 12:43:25 4e4be7b47b0d: Waiting 12:43:25 e1f770b5df2f: Waiting 12:43:25 85a0685a4137: Waiting 12:43:25 0eba1c9be4d2: Waiting 12:43:25 de9db76c5a1d: Download complete 12:43:25 0ef7d3d256c8: Verifying Checksum 12:43:25 0ef7d3d256c8: Download complete 12:43:25 0d57e429df01: Verifying Checksum 12:43:25 0d57e429df01: Download complete 12:43:25 4e4be7b47b0d: Verifying Checksum 12:43:25 4e4be7b47b0d: Download complete 12:43:25 188c0c94c7c5: Verifying Checksum 12:43:25 188c0c94c7c5: Download complete 12:43:25 188c0c94c7c5: Pull complete 12:43:25 e1f770b5df2f: Verifying Checksum 12:43:25 e1f770b5df2f: Download complete 12:43:25 0ef7d3d256c8: Pull complete 12:43:26 de9db76c5a1d: Pull complete 12:43:26 0eba1c9be4d2: Verifying Checksum 12:43:26 0eba1c9be4d2: Download complete 12:43:26 85a0685a4137: Verifying Checksum 12:43:26 85a0685a4137: Download complete 12:43:30 0eba1c9be4d2: Pull complete 12:43:30 0d57e429df01: Pull complete 12:43:30 4e4be7b47b0d: Pull complete 12:43:30 e1f770b5df2f: Pull complete 12:43:34 85a0685a4137: Pull complete 12:43:34 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 12:43:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:43:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 12:43:34 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:43:34 $ 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 12:43:35 $ docker top f2c223ae0b9dda0018b74300fbdcf077432a5c5533c3a24b266077bd3e7ce7ee -eo pid,comm [Pipeline] { [Pipeline] echo 12:43:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 12:43:36 + set -o pipefail 12:43:36 + snyk monitor '--org=edgex-jenkins' 12:43:41 12:43:41 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 12:43:41 12:43:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/d6b5545a-4e87-43f3-8fa7-677dec40083a 12:43:41 12:43:41 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 12:43:41 12:43:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:43:41 12:43:41 [Pipeline] } 12:43:41 $ docker stop --time=1 f2c223ae0b9dda0018b74300fbdcf077432a5c5533c3a24b266077bd3e7ce7ee 12:43:43 $ docker rm -f f2c223ae0b9dda0018b74300fbdcf077432a5c5533c3a24b266077bd3e7ce7ee [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 12:43:44 + git log --format=format:%s -1 74a050b5b4bd28a6f3c6004725ec0b1be1ff5180 [Pipeline] sh 12:43:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:43:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:43:44 . [Pipeline] withDockerContainer 12:43:45 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:43:45 $ 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 12:43:45 $ docker top 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:43:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:43:45 [ssh-agent] Looking for ssh-agent implementation... 12:43:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:43:45 $ docker exec 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 ssh-agent 12:43:45 SSH_AUTH_SOCK=/tmp/ssh-EZZJLwSy6BKX/agent.34 12:43:45 SSH_AGENT_PID=40 12:43:45 Running ssh-add (command line suppressed) 12:43:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4633505103497523694.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4633505103497523694.key) 12:43:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:43:46 + git semver tag 12:43:46 2022-05-10 12:43:46,605 [run_tag] DEBUG tag force:False 12:43:46 2022-05-10 12:43:46,605 [check_head_tag] DEBUG check head tag 12:43:46 2022-05-10 12:43:46,606 [execute] INFO git cat-file --batch-check 12:43:46 2022-05-10 12:43:46,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 12:43:46 2022-05-10 12:43:46,610 [execute] INFO git cat-file --batch 12:43:46 2022-05-10 12:43:46,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 12:43:46 2022-05-10 12:43:46,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:43:46 2022-05-10 12:43:46,625 [execute] INFO git tag -a v2.2.0-dev.19 -m v2.2.0-dev.19 12:43:46 2022-05-10 12:43:46,626 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.19', '-m', 'v2.2.0-dev.19'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 12:43:46 2022-05-10 12:43:46,629 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:43:46 2.2.0-dev.19 [Pipeline] } 12:43:46 $ docker exec --env ******** --env ******** 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 ssh-agent -k 12:43:46 unset SSH_AUTH_SOCK; 12:43:46 unset SSH_AGENT_PID; 12:43:46 echo Agent pid 40 killed; 12:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:43:47 + git semver [Pipeline] } 12:43:47 $ docker stop --time=1 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 12:43:48 $ docker rm -f 21b12a24f61e6e2447eb02bc411140c401d5a07b0f0076cb4d96bb82c8fa2dc3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:43:49 12:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:43:49 0.23.1-centos7: Pulling from edgex-lftools 12:43:49 ab5ef0e58194: Pulling fs layer 12:43:49 9712f1f96733: Pulling fs layer 12:43:49 63f879dbbcfc: Pulling fs layer 12:43:49 0d9ebad4ef96: Pulling fs layer 12:43:49 e9a5061849ea: Pulling fs layer 12:43:49 d747dcd14b5f: Pulling fs layer 12:43:49 2de7ff778b66: Pulling fs layer 12:43:49 0d9ebad4ef96: Waiting 12:43:49 e9a5061849ea: Waiting 12:43:49 d747dcd14b5f: Waiting 12:43:49 2de7ff778b66: Waiting 12:43:49 9712f1f96733: Verifying Checksum 12:43:49 9712f1f96733: Download complete 12:43:49 63f879dbbcfc: Verifying Checksum 12:43:49 63f879dbbcfc: Download complete 12:43:49 0d9ebad4ef96: Verifying Checksum 12:43:49 0d9ebad4ef96: Download complete 12:43:49 e9a5061849ea: Verifying Checksum 12:43:49 e9a5061849ea: Download complete 12:43:49 ab5ef0e58194: Verifying Checksum 12:43:49 ab5ef0e58194: Download complete 12:43:49 d747dcd14b5f: Verifying Checksum 12:43:49 d747dcd14b5f: Download complete 12:43:50 2de7ff778b66: Verifying Checksum 12:43:50 2de7ff778b66: Download complete 12:43:52 ab5ef0e58194: Pull complete 12:43:53 9712f1f96733: Pull complete 12:43:53 63f879dbbcfc: Pull complete 12:43:57 0d9ebad4ef96: Pull complete 12:43:57 e9a5061849ea: Pull complete 12:43:57 d747dcd14b5f: Pull complete 12:43:58 2de7ff778b66: Pull complete 12:43:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:43:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:43:58 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:43:58 $ 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 12:44:00 $ docker top 7133a768175eb80e471f7029db273cb29017a414802d99bf4ccfa17dcc47c1b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:44:00 provisioning config files... 12:44:00 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config746712676703404301tmp 12:44:00 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7734209820981910380tmp 12:44:00 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4930966958093976246tmp [Pipeline] { [Pipeline] echo 12:44:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:44:01 ---> sigul-configuration.sh 12:44:01 gpg: directory `/root/.gnupg' created 12:44:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:44:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:44:01 gpg: keyring `/root/.gnupg/secring.gpg' created 12:44:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:44:01 gpg: CAST5 encrypted data 12:44:01 gpg: encrypted with 1 passphrase 12:44:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:44:01 + mkdir /home/jenkins 12:44:01 + mkdir /home/jenkins/sigul [Pipeline] sh 12:44:01 + 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 12:44:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:44:01 ---> sigul-install.sh 12:44:01 Sigul already installed; skipping installation. [Pipeline] sh 12:44:02 + git tag --list 12:44:02 0.7.1 12:44:02 v1.0.0 12:44:02 v1.1.0 12:44:02 v1.1.1 12:44:02 v1.2.2 12:44:02 v1.3.0 12:44:02 v1.3.1 12:44:02 v2.0.0 12:44:02 v2.0.1-dev.1 12:44:02 v2.0.1-dev.10 12:44:02 v2.0.1-dev.11 12:44:02 v2.0.1-dev.12 12:44:02 v2.0.1-dev.2 12:44:02 v2.0.1-dev.3 12:44:02 v2.0.1-dev.4 12:44:02 v2.0.1-dev.5 12:44:02 v2.0.1-dev.6 12:44:02 v2.0.1-dev.7 12:44:02 v2.0.1-dev.8 12:44:02 v2.0.1-dev.9 12:44:02 v2.1.0 12:44:02 v2.2.0-dev.1 12:44:02 v2.2.0-dev.10 12:44:02 v2.2.0-dev.11 12:44:02 v2.2.0-dev.12 12:44:02 v2.2.0-dev.13 12:44:02 v2.2.0-dev.14 12:44:02 v2.2.0-dev.15 12:44:02 v2.2.0-dev.16 12:44:02 v2.2.0-dev.17 12:44:02 v2.2.0-dev.18 12:44:02 v2.2.0-dev.19 12:44:02 v2.2.0-dev.2 12:44:02 v2.2.0-dev.3 12:44:02 v2.2.0-dev.4 12:44:02 v2.2.0-dev.5 12:44:02 v2.2.0-dev.6 12:44:02 v2.2.0-dev.7 12:44:02 v2.2.0-dev.8 12:44:02 v2.2.0-dev.9 [Pipeline] sh 12:44:02 + lftools sign git-tag v2.2.0-dev.19 12:44:03 Signing Git tag with Sigul... 12:44:03 Signing v2.2.0-dev.19 [Pipeline] echo 12:44:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:44:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:44:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:44:03 $ docker stop --time=1 7133a768175eb80e471f7029db273cb29017a414802d99bf4ccfa17dcc47c1b5 12:44:04 $ docker rm -f 7133a768175eb80e471f7029db273cb29017a414802d99bf4ccfa17dcc47c1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:44:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:44:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:44:05 . [Pipeline] withDockerContainer 12:44:05 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:44:05 $ 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 12:44:06 $ docker top 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:06 [ssh-agent] Looking for ssh-agent implementation... 12:44:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:06 $ docker exec 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 ssh-agent 12:44:06 SSH_AUTH_SOCK=/tmp/ssh-5JORsB8D8lzr/agent.34 12:44:06 SSH_AGENT_PID=40 12:44:06 Running ssh-add (command line suppressed) 12:44:06 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2586336405366597209.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2586336405366597209.key) 12:44:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:06 + git semver bump pre 12:44:07 2022-05-10 12:44:07,139 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:44:07 2022-05-10 12:44:07,139 [bump_version] DEBUG bumping version:2.2.0-dev.19 on axis:pre with prefix:dev 12:44:07 2022-05-10 12:44:07,139 [bump_version] DEBUG bumped version:2.2.0-dev.20 12:44:07 2022-05-10 12:44:07,139 [write_version] DEBUG write version:2.2.0-dev.20 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 12:44:07 2022-05-10 12:44:07,139 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:44:07 2022-05-10 12:44:07,139 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:44:07 2022-05-10 12:44:07,142 [execute] INFO git cat-file --batch-check 12:44:07 2022-05-10 12:44:07,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:44:07 2022-05-10 12:44:07,147 [execute] INFO git cat-file --batch 12:44:07 2022-05-10 12:44:07,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:44:07 2022-05-10 12:44:07,152 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:44:07 2.2.0-dev.20 [Pipeline] } 12:44:07 $ docker exec --env ******** --env ******** 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 ssh-agent -k 12:44:07 unset SSH_AUTH_SOCK; 12:44:07 unset SSH_AGENT_PID; 12:44:07 echo Agent pid 40 killed; 12:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:07 + git semver [Pipeline] } 12:44:07 $ docker stop --time=1 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 12:44:09 $ docker rm -f 3f1ebd8735231af47301f6cd974630417174c15bcb5a4e799f30739ba7c870f2 [Pipeline] // withDockerContainer [Pipeline] sh 12:44:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:44:09 . [Pipeline] withDockerContainer 12:44:09 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:44:09 $ 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 12:44:10 $ docker top 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:10 [ssh-agent] Looking for ssh-agent implementation... 12:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:10 $ docker exec 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 ssh-agent 12:44:10 SSH_AUTH_SOCK=/tmp/ssh-XHBYy3sQUl9i/agent.33 12:44:10 SSH_AGENT_PID=40 12:44:10 Running ssh-add (command line suppressed) 12:44:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8562864463693476012.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8562864463693476012.key) 12:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:11 + git semver push 12:44:11 2022-05-10 12:44:11,346 [run_push] DEBUG push 12:44:11 2022-05-10 12:44:11,347 [execute] INFO git push origin semver 12:44:11 2022-05-10 12:44:11,347 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:44:12 2022-05-10 12:44:12,231 [run_push] DEBUG push all version tags 12:44:12 2022-05-10 12:44:12,232 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:44:12 2022-05-10 12:44:12,233 [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) 12:44:13 2022-05-10 12:44:12,977 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 12:44:13 2.2.0-dev.20 [Pipeline] } 12:44:13 $ docker exec --env ******** --env ******** 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 ssh-agent -k 12:44:13 unset SSH_AUTH_SOCK; 12:44:13 unset SSH_AGENT_PID; 12:44:13 echo Agent pid 40 killed; 12:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:13 + git semver [Pipeline] } 12:44:14 $ docker stop --time=1 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 12:44:15 $ docker rm -f 4dce069b574b3a6d1a62a59fd5e715f443ce1445a437156e3d942fa90b34e7d7 [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 12:44:15 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 12:44:15 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 12:44:15 total 16 12:44:15 drwxr-xr-x 3 root root 4096 May 10 12:37 . 12:44:15 drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:44 .. 12:44:15 drwxr-xr-x 2 root root 4096 May 10 12:37 cost 12:44:15 -rw-r--r-- 1 root root 86 May 10 12:37 cost.csv 12:44:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 12:44:15 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 12:44:15 total 16 12:44:15 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:37 . 12:44:15 drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:44 .. 12:44:15 drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:37 cost 12:44:15 -rw-r--r-- 1 jenkins jenkins 86 May 10 12:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:44:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:44:17 ---> package-listing.sh 12:44:17 ++ tr '[:upper:]' '[:lower:]' 12:44:17 ++ facter osfamily 12:44:17 + OS_FAMILY=debian 12:44:17 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 12:44:17 + START_PACKAGES=/tmp/packages_start.txt 12:44:17 + END_PACKAGES=/tmp/packages_end.txt 12:44:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:44:17 + PACKAGES=/tmp/packages_start.txt 12:44:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 12:44:17 + PACKAGES=/tmp/packages_end.txt 12:44:17 + case "${OS_FAMILY}" in 12:44:17 + dpkg -l 12:44:17 + grep '^ii' 12:44:17 + '[' -f /tmp/packages_start.txt ']' 12:44:17 + '[' -f /tmp/packages_end.txt ']' 12:44:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:44:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 12:44:17 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 12:44:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 12:44:17 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 12:44:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:44:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:44:18 . [Pipeline] withDockerContainer 12:44:18 prd-ubuntu20.04-docker-8c-8g-47730 does not seem to be running inside a container 12:44:18 $ 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 12:44:18 $ docker top af261680ed04be2fc21276fd462403698877cda341b0e53bdff0f81ea9714a70 -eo pid,comm [Pipeline] { [Pipeline] sh 12:44:18 + touch /tmp/pre-build-complete [Pipeline] sh 12:44:19 + mkdir -p /var/log/sysstat [Pipeline] sh 12:44:19 + ls /var/log/sa-host 12:44:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:44:19 provisioning config files... 12:44:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config884547202089728242tmp [Pipeline] { [Pipeline] echo 12:44:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:44:19 ---> create-netrc.sh [Pipeline] } 12:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:44:20 ---> python-tools-install.sh [Pipeline] echo 12:44:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:44:20 ---> sudo-logs.sh 12:44:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:44:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:44:20 ---> job-cost.sh 12:44:20 lf-activate-venv: SKIPPING 12:44:20 DEBUG: total: 0.2199999988079071 12:44:20 INFO: Retrieving Stack Cost... 12:44:21 INFO: Retrieving Pricing Info for: v3-standard-8 12:44:21 INFO: Archiving Costs [Pipeline] echo 12:44:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:44:21 ---> logs-deploy.sh 12:44:21 lf-activate-venv: SKIPPING 12:44:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/37 12:44:21 INFO: archiving workspace using pattern(s): 12:44:22 Archives upload complete. 12:44:22 INFO: archiving logs to Nexus