Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 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-ssh12700810583500111625.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh11147025156713639141.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1653806846761322847.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh10775149697511432350.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12002554209620165921.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [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-2322 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 Avoid second fetch Checking out Revision 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 (main) 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 > 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 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 # timeout=10 Commit message: "Merge pull request #352 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" > git rev-list --no-walk 20ae4d4bf545de990beb7ae1865291efdf0a2142 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:36:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:36:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:36:59 ========================================================= 06:36:59 EdgeX Global Pipelines Version Info 06:36:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:37:00 ------------------- 06:37:00 stable info: 06:37:00 ------------------- 06:37:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:37:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:37:00 Message: update stable to v1.0.234 06:37:00 ------------------- 06:37:00 experimental info: 06:37:00 ------------------- 06:37:00 Commited By: **** collab-it+edgex@linuxfoundation.org 06:37:00 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:37:00 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d0d064 [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:01 provisioning config files... 06:37:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6003083970002945617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:01 ---> docker-login.sh 06:37:01 nexus3.edgexfoundry.org:10001 06:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:01 Configure a credential helper to remove this warning. See 06:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:01 06:37:01 Login Succeeded 06:37:02 nexus3.edgexfoundry.org:10002 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:02 Configure a credential helper to remove this warning. See 06:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:02 06:37:02 Login Succeeded 06:37:02 nexus3.edgexfoundry.org:10003 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:02 Configure a credential helper to remove this warning. See 06:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:02 06:37:02 Login Succeeded 06:37:02 nexus3.edgexfoundry.org:10004 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:02 Configure a credential helper to remove this warning. See 06:37:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:02 06:37:02 Login Succeeded 06:37:02 docker.io 06:37:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:03 Configure a credential helper to remove this warning. See 06:37:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:03 06:37:03 Login Succeeded 06:37:03 ---> docker-login.sh ends [Pipeline] } 06:37:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:37:03 + git rev-list -1 --merges 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2~1..7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] echo 06:37:03 -----------> git rev-list -1 --merges 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2~1..7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:37:03 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [false] [Pipeline] sh 06:37:03 + git log --format=format:%s -1 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] echo 06:37:03 ========================================================= 06:37:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:37:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:04 + git log --format=format:%s -1 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] echo 06:37:04 [semverPrep] GIT_COMMIT: 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2, Commit Message: Merge pull request #352 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2 [Pipeline] echo 06:37:04 [semverPrep] This is not a build commit. [Pipeline] sh 06:37:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:37:04 + grep -v github /etc/ssh/ssh_known_hosts 06:37:04 + [ -e /tmp/ssh_known_hosts ] 06:37:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:37:04 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 06:37:04 tee -a /etc/ssh/ssh_known_hosts 06:37:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:37:04 06:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:37:05 0.1.4: Pulling from edgex-devops/py-git-semver 06:37:05 42c077c10790: Pulling fs layer 06:37:05 f63e77b7563a: Pulling fs layer 06:37:05 bd5fdadae976: Pulling fs layer 06:37:05 205491f53016: Pulling fs layer 06:37:05 df18705c85c3: Pulling fs layer 06:37:05 bdb3f477010e: Pulling fs layer 06:37:05 c8a8fc8e1c8f: Pulling fs layer 06:37:05 2c6e9b1d212d: Pulling fs layer 06:37:05 bdb8f0575790: Pulling fs layer 06:37:05 df18705c85c3: Waiting 06:37:05 205491f53016: Waiting 06:37:05 386e3cb2ff24: Pulling fs layer 06:37:05 2343380bae48: Pulling fs layer 06:37:05 bdb3f477010e: Waiting 06:37:05 c8a8fc8e1c8f: Waiting 06:37:05 2c6e9b1d212d: Waiting 06:37:05 2343380bae48: Waiting 06:37:05 bdb8f0575790: Waiting 06:37:05 386e3cb2ff24: Waiting 06:37:05 f63e77b7563a: Verifying Checksum 06:37:05 f63e77b7563a: Download complete 06:37:05 205491f53016: Download complete 06:37:05 df18705c85c3: Verifying Checksum 06:37:05 df18705c85c3: Download complete 06:37:05 bdb3f477010e: Download complete 06:37:05 bd5fdadae976: Verifying Checksum 06:37:05 bd5fdadae976: Download complete 06:37:05 2c6e9b1d212d: Verifying Checksum 06:37:05 2c6e9b1d212d: Download complete 06:37:05 bdb8f0575790: Download complete 06:37:05 386e3cb2ff24: Verifying Checksum 06:37:05 386e3cb2ff24: Download complete 06:37:05 2343380bae48: Download complete 06:37:05 42c077c10790: Verifying Checksum 06:37:05 42c077c10790: Download complete 06:37:05 c8a8fc8e1c8f: Verifying Checksum 06:37:05 c8a8fc8e1c8f: Download complete 06:37:07 42c077c10790: Pull complete 06:37:07 f63e77b7563a: Pull complete 06:37:07 bd5fdadae976: Pull complete 06:37:07 205491f53016: Pull complete 06:37:07 df18705c85c3: Pull complete 06:37:07 bdb3f477010e: Pull complete 06:37:09 c8a8fc8e1c8f: Pull complete 06:37:09 2c6e9b1d212d: Pull complete 06:37:09 bdb8f0575790: Pull complete 06:37:10 386e3cb2ff24: Pull complete 06:37:10 2343380bae48: Pull complete 06:37:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:37:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:37:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:10 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:37:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:37:11 $ docker top 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e -eo pid,comm 06:37:11 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). 06:37:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:11 [ssh-agent] Looking for ssh-agent implementation... 06:37:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:11 $ docker exec 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e ssh-agent 06:37:12 SSH_AUTH_SOCK=/tmp/ssh-t5jLQsECJ5yP/agent.33 06:37:12 SSH_AGENT_PID=39 06:37:12 Running ssh-add (command line suppressed) 06:37:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6225433860319112190.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6225433860319112190.key) 06:37:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:12 + git tag --points-at HEAD [Pipeline] } 06:37:12 $ docker exec --env ******** --env ******** 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e ssh-agent -k 06:37:12 unset SSH_AUTH_SOCK; 06:37:12 unset SSH_AGENT_PID; 06:37:12 echo Agent pid 39 killed; 06:37:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:37:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:12 [ssh-agent] Looking for ssh-agent implementation... 06:37:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:12 $ docker exec 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e ssh-agent 06:37:12 SSH_AUTH_SOCK=/tmp/ssh-Vq6RmO9qMlVk/agent.73 06:37:12 SSH_AGENT_PID=79 06:37:12 Running ssh-add (command line suppressed) 06:37:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8754185604958013027.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8754185604958013027.key) 06:37:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:13 + git semver init 06:37:13 2022-06-13 06:37:13,563 [run_init] DEBUG init version:0.0.0 force:False 06:37:13 2022-06-13 06:37:13,563 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:37:13 2022-06-13 06:37:13,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:37:13 2022-06-13 06:37:13,564 [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) 06:37:14 2022-06-13 06:37:14,266 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:37:14 2022-06-13 06:37:14,267 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:37:14 2022-06-13 06:37:14,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:37:14 2022-06-13 06:37:14,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:37:14 2.2.1-dev.2 [Pipeline] } 06:37:14 $ docker exec --env ******** --env ******** 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e ssh-agent -k 06:37:14 unset SSH_AUTH_SOCK; 06:37:14 unset SSH_AGENT_PID; 06:37:14 echo Agent pid 79 killed; 06:37:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:15 + git semver [Pipeline] } 06:37:15 $ docker stop --time=1 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e 06:37:16 $ docker rm -f 73ef6e884858cb41274e091df9fb217898560d533dc218398224441dfe75d24e [Pipeline] // withDockerContainer [Pipeline] sh 06:37:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:37:17 Stashed 1 file(s) [Pipeline] echo 06:37:17 [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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 06:37:17 provisioning config files... 06:37:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7894425297225848634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:17 ---> docker-login.sh 06:37:17 nexus3.edgexfoundry.org:10001 06:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:17 Configure a credential helper to remove this warning. See 06:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:17 06:37:17 Login Succeeded 06:37:17 nexus3.edgexfoundry.org:10002 06:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:17 Configure a credential helper to remove this warning. See 06:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:17 06:37:17 Login Succeeded 06:37:17 nexus3.edgexfoundry.org:10003 06:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:17 Configure a credential helper to remove this warning. See 06:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:17 06:37:17 Login Succeeded 06:37:17 nexus3.edgexfoundry.org:10004 06:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:18 Configure a credential helper to remove this warning. See 06:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:18 06:37:18 Login Succeeded 06:37:18 docker.io 06:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:18 Configure a credential helper to remove this warning. See 06:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:18 06:37:18 Login Succeeded 06:37:18 ---> docker-login.sh ends [Pipeline] } 06:37:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:18 ========================================================= 06:37:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:37:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:18 + 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 . 06:37:18 Sending build context to Docker daemon 6.01MB 06:37:18 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 06:37:18 Step 2/10 : FROM ${BASE} AS builder 06:37:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:37:18 59bf1c3509f3: Pulling fs layer 06:37:18 666ba61612fd: Pulling fs layer 06:37:18 8ed8ca486205: Pulling fs layer 06:37:18 cc1cd167ecdc: Pulling fs layer 06:37:18 c516ae0d96e1: Pulling fs layer 06:37:18 684cea983483: Pulling fs layer 06:37:18 cc1cd167ecdc: Waiting 06:37:18 dd3240ac7de5: Pulling fs layer 06:37:18 b1e948a4e11c: Pulling fs layer 06:37:18 c516ae0d96e1: Waiting 06:37:18 a8fd76ee1af6: Pulling fs layer 06:37:18 684cea983483: Waiting 06:37:18 646ad004c059: Pulling fs layer 06:37:18 dd3240ac7de5: Waiting 06:37:18 b1e948a4e11c: Waiting 06:37:18 646ad004c059: Waiting 06:37:18 a8fd76ee1af6: Waiting 06:37:18 8ed8ca486205: Verifying Checksum 06:37:18 8ed8ca486205: Download complete 06:37:18 666ba61612fd: Download complete 06:37:18 c516ae0d96e1: Verifying Checksum 06:37:18 c516ae0d96e1: Download complete 06:37:18 684cea983483: Verifying Checksum 06:37:18 684cea983483: Download complete 06:37:19 59bf1c3509f3: Download complete 06:37:19 dd3240ac7de5: Verifying Checksum 06:37:19 dd3240ac7de5: Download complete 06:37:19 b1e948a4e11c: Verifying Checksum 06:37:19 b1e948a4e11c: Download complete 06:37:19 59bf1c3509f3: Pull complete 06:37:19 666ba61612fd: Pull complete 06:37:19 8ed8ca486205: Pull complete 06:37:19 646ad004c059: Verifying Checksum 06:37:19 646ad004c059: Download complete 06:37:19 cc1cd167ecdc: Verifying Checksum 06:37:19 cc1cd167ecdc: Download complete 06:37:19 a8fd76ee1af6: Verifying Checksum 06:37:19 a8fd76ee1af6: Download complete 06:37:23 cc1cd167ecdc: Pull complete 06:37:23 c516ae0d96e1: Pull complete 06:37:23 684cea983483: Pull complete 06:37:23 dd3240ac7de5: Pull complete 06:37:23 b1e948a4e11c: Pull complete 06:37:25 a8fd76ee1af6: Pull complete 06:37:26 646ad004c059: Pull complete 06:37:26 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:37:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:37:26 ---> 8f69c11f6b0c 06:37:26 Step 3/10 : ARG MAKE='make build' 06:37:28 ---> Running in 86bfb6b104f7 06:37:28 Removing intermediate container 86bfb6b104f7 06:37:28 ---> 2936f41d6900 06:37:28 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:28 ---> Running in d0447b0e4e41 06:37:28 Removing intermediate container d0447b0e4e41 06:37:28 ---> a44931a37dbc 06:37:28 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:37:28 ---> Running in acbfa6658c66 06:37:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:37:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:37:30 (1/8) Installing openssh-keygen (8.8_p1-r1) 06:37:30 (2/8) Installing libedit (20210910.3.1-r0) 06:37:30 (3/8) Installing openssh-client-common (8.8_p1-r1) 06:37:30 (4/8) Installing openssh-client-default (8.8_p1-r1) 06:37:30 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 06:37:31 (6/8) Installing openssh-server-common (8.8_p1-r1) 06:37:31 (7/8) Installing openssh-server (8.8_p1-r1) 06:37:31 (8/8) Installing openssh (8.8_p1-r1) 06:37:31 Executing busybox-1.34.1-r3.trigger 06:37:31 OK: 226 MiB in 60 packages 06:37:31 Removing intermediate container acbfa6658c66 06:37:31 ---> c0c3184e933a 06:37:31 Step 6/10 : WORKDIR /device-modbus-go 06:37:31 ---> Running in 373ac204b103 06:37:31 Removing intermediate container 373ac204b103 06:37:31 ---> 8ace60376ac2 06:37:31 Step 7/10 : COPY go.mod vendor* ./ 06:37:32 ---> 5f59950fc4bb 06:37:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:32 ---> Running in 7c5d2a1f2747 06:37:32 Still waiting to schedule task 06:37:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:37:50 Removing intermediate container 7c5d2a1f2747 06:37:50 ---> c0bf0bbc20c5 06:37:50 Step 9/10 : COPY . . 06:37:50 ---> eb9320b51ecc 06:37:50 Step 10/10 : RUN ${MAKE} 06:37:50 ---> Running in 4905138e1606 06:37:50 noop 06:37:50 Removing intermediate container 4905138e1606 06:37:50 ---> f3110d01431b 06:37:50 Successfully built f3110d01431b 06:37:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:50 + docker inspect -f . ci-base-image-x86_64 06:37:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:50 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:37:50 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:37:51 $ docker top 7661781840cf3bdb734a3dfad6a45752bfb3da8620908b9cdca7c273d995b6d7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:51 + go version 06:37:51 go version go1.17.7 linux/amd64 [Pipeline] } 06:37:51 $ docker stop --time=1 7661781840cf3bdb734a3dfad6a45752bfb3da8620908b9cdca7c273d995b6d7 06:37:52 $ docker rm -f 7661781840cf3bdb734a3dfad6a45752bfb3da8620908b9cdca7c273d995b6d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:53 + docker inspect -f . ci-base-image-x86_64 06:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:53 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:37:53 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:37:53 $ docker top 94bf9d52b030559ef2e543aeec4285ac667d93c61c05a202c2056c6e37e91d20 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:37:54 + make test 06:37:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:37:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:38:04 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:38:04 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements 06:38:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:38:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:38:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:38:12 ./bin/test-attribution-txt.sh [Pipeline] echo 06:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:38:13 $ docker stop --time=1 94bf9d52b030559ef2e543aeec4285ac667d93c61c05a202c2056c6e37e91d20 06:38:15 $ docker rm -f 94bf9d52b030559ef2e543aeec4285ac667d93c61c05a202c2056c6e37e91d20 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:38:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:38:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:38:16 + ls -al . 06:38:16 total 184 06:38:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 06:38 . 06:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 06:36 .. 06:38:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 06:36 .dockerignore 06:38:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 06:37 .git 06:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 06:36 .github 06:38:16 -rw-rw-r-- 1 jenkins jenkins 331 Jun 13 06:36 .gitignore 06:38:16 -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 06:36 .golangci.yml 06:38:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 06:37 .semver 06:38:16 -rw-rw-r-- 1 jenkins jenkins 9510 Jun 13 06:36 Attribution.txt 06:38:16 -rw-rw-r-- 1 jenkins jenkins 10001 Jun 13 06:36 CHANGELOG.md 06:38:16 -rw-rw-r-- 1 jenkins jenkins 1546 Jun 13 06:36 Dockerfile 06:38:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 06:36 GOVERNANCE.md 06:38:16 -rw-rw-r-- 1 jenkins jenkins 680 Jun 13 06:36 Jenkinsfile 06:38:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 06:36 LICENSE 06:38:16 -rw-rw-r-- 1 jenkins jenkins 1905 Jun 13 06:36 Makefile 06:38:16 -rw-rw-r-- 1 jenkins jenkins 622 Jun 13 06:36 OWNERS.md 06:38:16 -rw-rw-r-- 1 jenkins jenkins 3397 Jun 13 06:36 README.md 06:38:16 -rw-rw-r-- 1 jenkins jenkins 11 Jun 13 06:37 VERSION 06:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 06:36 bin 06:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 06:36 cmd 06:38:16 -rw-r--r-- 1 jenkins jenkins 24065 Jun 13 06:38 coverage.out 06:38:16 -rw-rw-r-- 1 jenkins jenkins 3325 Jun 13 06:36 go.mod 06:38:16 -rw-rw-r-- 1 jenkins jenkins 35489 Jun 13 06:36 go.sum 06:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 06:36 internal 06:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 06:36 simulator 06:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 06:36 snap 06:38:16 -rw-rw-r-- 1 jenkins jenkins 229 Jun 13 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:16 + 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=7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 --label arch=amd64 --label version=2.2.1-dev.2 . 06:38:16 Sending build context to Docker daemon 6.035MB 06:38:16 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:38:16 Step 2/23 : FROM ${BASE} AS builder 06:38:16 ---> f3110d01431b 06:38:16 Step 3/23 : ARG MAKE='make build' 06:38:16 ---> Running in c999820f87dd 06:38:17 Removing intermediate container c999820f87dd 06:38:17 ---> 2205743d4d64 06:38:17 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:17 ---> Running in f7b7ecd795e4 06:38:17 Removing intermediate container f7b7ecd795e4 06:38:17 ---> 0cab887f54ab 06:38:17 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:38:17 ---> Running in eb8542049d82 06:38:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:38:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:38:19 OK: 226 MiB in 60 packages 06:38:19 Removing intermediate container eb8542049d82 06:38:19 ---> e00f7e586586 06:38:19 Step 6/23 : WORKDIR /device-modbus-go 06:38:19 ---> Running in c503196d8d54 06:38:19 Removing intermediate container c503196d8d54 06:38:19 ---> cdd1f5c59830 06:38:19 Step 7/23 : COPY go.mod vendor* ./ 06:38:20 ---> ae7e0da487b5 06:38:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:38:20 ---> Running in 241ef3fbc7a9 06:38:20 Removing intermediate container 241ef3fbc7a9 06:38:20 ---> 3357645b942c 06:38:20 Step 9/23 : COPY . . 06:38:20 ---> c503039a25c2 06:38:20 Step 10/23 : RUN ${MAKE} 06:38:20 ---> Running in 06ddc325a054 06:38:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:38:43 Removing intermediate container 06ddc325a054 06:38:43 ---> a8a41ae3afd8 06:38:43 Step 11/23 : FROM alpine:3.14 06:38:43 3.14: Pulling from library/alpine 06:38:43 8663204ce13b: Pulling fs layer 06:38:43 8663204ce13b: Verifying Checksum 06:38:43 8663204ce13b: Download complete 06:38:43 8663204ce13b: Pull complete 06:38:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:38:43 Status: Downloaded newer image for alpine:3.14 06:38:43 ---> e04c818066af 06:38:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:38:43 ---> Running in 74b5759900d5 06:38:43 Removing intermediate container 74b5759900d5 06:38:43 ---> 51cc3ee0bb8d 06:38:43 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:43 ---> Running in e78e082eab1c 06:38:43 Removing intermediate container e78e082eab1c 06:38:43 ---> 3e47f73b4a56 06:38:43 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 06:38:43 ---> Running in df081d9e58c3 06:38:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:38:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:38:43 (1/6) Installing dumb-init (1.2.5-r1) 06:38:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:38:43 (3/6) Installing libsodium (1.0.18-r0) 06:38:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:38:43 (5/6) Installing libzmq (4.3.4-r0) 06:38:43 (6/6) Installing zeromq (4.3.4-r0) 06:38:43 Executing busybox-1.33.1-r7.trigger 06:38:43 OK: 8 MiB in 20 packages 06:38:44 Removing intermediate container df081d9e58c3 06:38:44 ---> 820b46196450 06:38:44 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:38:45 ---> 127686774f7f 06:38:45 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:38:45 ---> 44122c4cd000 06:38:45 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:38:45 ---> cdfa973382f8 06:38:45 Step 18/23 : EXPOSE 59901 06:38:45 ---> Running in cca0b7ac426d 06:38:45 Removing intermediate container cca0b7ac426d 06:38:45 ---> 46c2cfc404db 06:38:45 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:38:45 ---> Running in d35504ae6d5c 06:38:45 Removing intermediate container d35504ae6d5c 06:38:45 ---> 450658f2bed2 06:38:45 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:38:45 ---> Running in 7268068600ec 06:38:45 Removing intermediate container 7268068600ec 06:38:45 ---> 71021a1b160c 06:38:45 Step 21/23 : LABEL arch=amd64 06:38:45 ---> Running in e82a562ba551 06:38:45 Removing intermediate container e82a562ba551 06:38:45 ---> be440be43edc 06:38:45 Step 22/23 : LABEL git_sha=7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:38:45 ---> Running in a8aff860ac0d 06:38:46 Removing intermediate container a8aff860ac0d 06:38:46 ---> 7b7001b90574 06:38:46 Step 23/23 : LABEL version=2.2.1-dev.2 06:38:46 ---> Running in 7f916262c8a2 06:38:46 Removing intermediate container 7f916262c8a2 06:38:46 ---> 97731c2bf15c 06:38:46 [Warning] One or more build-args [ARCH] were not consumed 06:38:46 Successfully built 97731c2bf15c 06:38:46 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:46 provisioning config files... 06:38:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1340835919013254926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:46 ---> docker-login.sh 06:38:46 nexus3.edgexfoundry.org:10001 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:46 Configure a credential helper to remove this warning. See 06:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:46 06:38:46 Login Succeeded 06:38:46 nexus3.edgexfoundry.org:10002 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:46 Configure a credential helper to remove this warning. See 06:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:46 06:38:46 Login Succeeded 06:38:46 nexus3.edgexfoundry.org:10003 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:46 Configure a credential helper to remove this warning. See 06:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:46 06:38:46 Login Succeeded 06:38:46 nexus3.edgexfoundry.org:10004 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:47 Configure a credential helper to remove this warning. See 06:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:47 06:38:47 Login Succeeded 06:38:47 docker.io 06:38:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:47 Configure a credential helper to remove this warning. See 06:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:47 06:38:47 Login Succeeded 06:38:47 ---> docker-login.sh ends [Pipeline] } 06:38:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:38:47 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:38:47 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:38:47 latest 06:38:47 2.2.1-dev.2 06:38:47 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 06:38:47 main 06:38:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:38:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:38:47 d8d2f37a9103: Preparing 06:38:47 171634c446be: Preparing 06:38:47 fa1390137d72: Preparing 06:38:47 e40b4bfc865d: Preparing 06:38:47 c61dfe177f92: Preparing 06:38:47 b541d28bf3b4: Preparing 06:38:47 b541d28bf3b4: Waiting 06:38:47 171634c446be: Pushed 06:38:47 d8d2f37a9103: Pushed 06:38:47 c61dfe177f92: Pushed 06:38:47 b541d28bf3b4: Layer already exists 06:38:48 e40b4bfc865d: Pushed 06:38:50 fa1390137d72: Pushed 06:38:51 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2: digest: sha256:023ffad8f6635f579ed91894690fa5a9accce281face6e426c8e30ad0ed378bf size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:51 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:38:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:38:51 d8d2f37a9103: Preparing 06:38:51 171634c446be: Preparing 06:38:51 fa1390137d72: Preparing 06:38:51 e40b4bfc865d: Preparing 06:38:51 c61dfe177f92: Preparing 06:38:51 b541d28bf3b4: Preparing 06:38:51 b541d28bf3b4: Waiting 06:38:51 171634c446be: Layer already exists 06:38:51 c61dfe177f92: Layer already exists 06:38:51 e40b4bfc865d: Layer already exists 06:38:51 d8d2f37a9103: Layer already exists 06:38:51 fa1390137d72: Layer already exists 06:38:51 b541d28bf3b4: Layer already exists 06:38:51 latest: digest: sha256:023ffad8f6635f579ed91894690fa5a9accce281face6e426c8e30ad0ed378bf size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.2 06:38:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:38:52 d8d2f37a9103: Preparing 06:38:52 171634c446be: Preparing 06:38:52 fa1390137d72: Preparing 06:38:52 e40b4bfc865d: Preparing 06:38:52 c61dfe177f92: Preparing 06:38:52 b541d28bf3b4: Preparing 06:38:52 b541d28bf3b4: Waiting 06:38:52 e40b4bfc865d: Layer already exists 06:38:52 171634c446be: Layer already exists 06:38:52 d8d2f37a9103: Layer already exists 06:38:52 c61dfe177f92: Layer already exists 06:38:52 fa1390137d72: Layer already exists 06:38:52 b541d28bf3b4: Layer already exists 06:38:52 2.2.1-dev.2: digest: sha256:023ffad8f6635f579ed91894690fa5a9accce281face6e426c8e30ad0ed378bf size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 06:38:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:38:53 d8d2f37a9103: Preparing 06:38:53 171634c446be: Preparing 06:38:53 fa1390137d72: Preparing 06:38:53 e40b4bfc865d: Preparing 06:38:53 c61dfe177f92: Preparing 06:38:53 b541d28bf3b4: Preparing 06:38:53 b541d28bf3b4: Waiting 06:38:53 171634c446be: Layer already exists 06:38:53 c61dfe177f92: Layer already exists 06:38:53 d8d2f37a9103: Layer already exists 06:38:53 e40b4bfc865d: Layer already exists 06:38:53 fa1390137d72: Layer already exists 06:38:53 b541d28bf3b4: Layer already exists 06:38:53 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2: digest: sha256:023ffad8f6635f579ed91894690fa5a9accce281face6e426c8e30ad0ed378bf size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:53 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:38:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:38:53 d8d2f37a9103: Preparing 06:38:53 171634c446be: Preparing 06:38:53 fa1390137d72: Preparing 06:38:53 e40b4bfc865d: Preparing 06:38:53 c61dfe177f92: Preparing 06:38:53 b541d28bf3b4: Preparing 06:38:53 b541d28bf3b4: Waiting 06:38:53 d8d2f37a9103: Layer already exists 06:38:53 171634c446be: Layer already exists 06:38:53 fa1390137d72: Layer already exists 06:38:53 c61dfe177f92: Layer already exists 06:38:53 e40b4bfc865d: Layer already exists 06:38:53 b541d28bf3b4: Layer already exists 06:38:53 main: digest: sha256:023ffad8f6635f579ed91894690fa5a9accce281face6e426c8e30ad0ed378bf size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:38:53 ===================================================== [Pipeline] echo 06:38:53 taggedImages: 06:38:53 - nexus3.edgexfoundry.org:10004/device-modbus:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:38:53 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:38:53 - nexus3.edgexfoundry.org:10004/device-modbus:2.2.1-dev.2 06:38:53 - nexus3.edgexfoundry.org:10004/device-modbus:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 06:38:53 - 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] withEnv [Pipeline] { [Pipeline] sh 06:38:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:54 06:38:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:54 latest: Pulling from edgex-lftools-log-publisher 06:38:54 5eb5b503b376: Pulling fs layer 06:38:54 5c69ac0246d0: Pulling fs layer 06:38:54 ec43610c2a17: Pulling fs layer 06:38:54 3a2ae6a8a46f: Pulling fs layer 06:38:54 33b1e0a273af: Pulling fs layer 06:38:54 5d3b04190fa2: Pulling fs layer 06:38:54 2f39f015ded8: Pulling fs layer 06:38:54 33b1e0a273af: Waiting 06:38:54 5d3b04190fa2: Waiting 06:38:54 2f39f015ded8: Waiting 06:38:54 3a2ae6a8a46f: Waiting 06:38:54 5c69ac0246d0: Verifying Checksum 06:38:54 5c69ac0246d0: Download complete 06:38:54 3a2ae6a8a46f: Verifying Checksum 06:38:54 3a2ae6a8a46f: Download complete 06:38:54 33b1e0a273af: Verifying Checksum 06:38:54 33b1e0a273af: Download complete 06:38:54 5d3b04190fa2: Download complete 06:38:54 ec43610c2a17: Verifying Checksum 06:38:54 ec43610c2a17: Download complete 06:38:54 5eb5b503b376: Verifying Checksum 06:38:54 5eb5b503b376: Download complete 06:38:55 2f39f015ded8: Download complete 06:38:55 5eb5b503b376: Pull complete 06:38:56 5c69ac0246d0: Pull complete 06:38:56 ec43610c2a17: Pull complete 06:38:56 3a2ae6a8a46f: Pull complete 06:38:56 33b1e0a273af: Pull complete 06:38:57 5d3b04190fa2: Pull complete 06:39:02 2f39f015ded8: Pull complete 06:39:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:02 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:39:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:39:04 $ docker top 8be19853f30490bd734beef7a405b68f54898c5e0deb2e9c63045cba19e7f1fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:04 ---> job-cost.sh 06:39:04 lf-activate-venv: SKIPPING 06:39:04 INFO: No Stack... 06:39:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:39:05 INFO: Archiving Costs [Pipeline] sh 06:39:05 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:39:05 + cut -d, -f6 [Pipeline] lock 06:39:05 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] 06:39:05 Resource [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] did not exist. Created. 06:39:05 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:39:06 + echo total: 0.2199999988079071 [Pipeline] stash 06:39:06 Stashed 1 file(s) [Pipeline] } 06:39:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 06:39:06 $ docker stop --time=1 8be19853f30490bd734beef7a405b68f54898c5e0deb2e9c63045cba19e7f1fc 06:39:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2323 in /w/workspace/gexfoundry_device-modbus-go_main 06:39:07 $ docker rm -f 8be19853f30490bd734beef7a405b68f54898c5e0deb2e9c63045cba19e7f1fc [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 06:39:07 Running in /w/workspace/device-modbus-go/41 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:39:07 Selected Git installation does not exist. Using Default 06:39:07 The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } 06:39:14 using credential edgex-jenkins-ssh 06:39:14 Cloning the remote Git repository 06:39:14 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:39:14 > git init /w/workspace/device-modbus-go/41 # timeout=10 06:39:15 Avoid second fetch 06:39:15 Checking out Revision 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 (main) 06:39:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:39:14 > git --version # timeout=10 06:39:14 > git --version # 'git version 2.25.1' 06:39:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:15 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:39:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:15 > git config core.sparsecheckout # timeout=10 06:39:15 > git checkout -f 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 # timeout=10 06:39:20 Commit message: "Merge pull request #352 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:39:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:21 Dload Upload Total Spent Left Speed 06:39:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh 06:39:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:39:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:39:22 + sudo tee /etc/docker/daemon.new 06:39:22 { 06:39:22 "registry-mirrors": [ 06:39:22 "https://nexus3.edgexfoundry.org:10001" 06:39:22 ], 06:39:22 "bip": "10.250.0.254/24", 06:39:22 "hosts": [ 06:39:22 "tcp://0.0.0.0:5555", 06:39:22 "unix:///var/run/docker.sock" 06:39:22 ], 06:39:22 "mtu": 1458, 06:39:22 "selinux-enabled": true, 06:39:22 "seccomp-profile": "/etc/docker/seccomp.json" 06:39:22 } [Pipeline] sh 06:39:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:39:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:41 provisioning config files... 06:39:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/41@tmp/config6451335783759130472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:41 ---> docker-login.sh 06:39:41 nexus3.edgexfoundry.org:10001 06:39:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:42 Configure a credential helper to remove this warning. See 06:39:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:42 06:39:42 Login Succeeded 06:39:42 nexus3.edgexfoundry.org:10002 06:39:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:42 Configure a credential helper to remove this warning. See 06:39:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:42 06:39:42 Login Succeeded 06:39:42 nexus3.edgexfoundry.org:10003 06:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:43 Configure a credential helper to remove this warning. See 06:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:43 06:39:43 Login Succeeded 06:39:43 nexus3.edgexfoundry.org:10004 06:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:43 Configure a credential helper to remove this warning. See 06:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:43 06:39:43 Login Succeeded 06:39:43 docker.io 06:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:44 Configure a credential helper to remove this warning. See 06:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:44 06:39:44 Login Succeeded 06:39:44 ---> docker-login.sh ends [Pipeline] } 06:39:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:39:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:39:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:39:45 ========================================================= 06:39:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:39:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:39:45 Sending build context to Docker daemon 3.118MB 06:39:45 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 06:39:45 Step 2/10 : FROM ${BASE} AS builder 06:39:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:39:46 9b3977197b4f: Pulling fs layer 06:39:46 1a89e8eeedd5: Pulling fs layer 06:39:46 94645a83ff95: Pulling fs layer 06:39:46 e6fb740bc735: Pulling fs layer 06:39:46 3a77bd46dcc9: Pulling fs layer 06:39:46 355e64cbe906: Pulling fs layer 06:39:46 63ab81a10011: Pulling fs layer 06:39:46 555d1d1c4555: Pulling fs layer 06:39:46 7d9057610161: Pulling fs layer 06:39:46 e6fb740bc735: Waiting 06:39:46 3a77bd46dcc9: Waiting 06:39:46 355e64cbe906: Waiting 06:39:46 63ab81a10011: Waiting 06:39:46 555d1d1c4555: Waiting 06:39:46 7d9057610161: Waiting 06:39:46 94645a83ff95: Verifying Checksum 06:39:46 94645a83ff95: Download complete 06:39:46 1a89e8eeedd5: Verifying Checksum 06:39:46 1a89e8eeedd5: Download complete 06:39:46 3a77bd46dcc9: Verifying Checksum 06:39:46 3a77bd46dcc9: Download complete 06:39:46 355e64cbe906: Verifying Checksum 06:39:46 355e64cbe906: Download complete 06:39:46 9b3977197b4f: Download complete 06:39:46 63ab81a10011: Verifying Checksum 06:39:46 63ab81a10011: Download complete 06:39:47 9b3977197b4f: Pull complete 06:39:47 7d9057610161: Verifying Checksum 06:39:47 7d9057610161: Download complete 06:39:47 1a89e8eeedd5: Pull complete 06:39:47 94645a83ff95: Pull complete 06:39:48 555d1d1c4555: Verifying Checksum 06:39:48 555d1d1c4555: Download complete 06:39:48 e6fb740bc735: Verifying Checksum 06:39:48 e6fb740bc735: Download complete 06:40:01 e6fb740bc735: Pull complete 06:40:01 3a77bd46dcc9: Pull complete 06:40:01 355e64cbe906: Pull complete 06:40:01 63ab81a10011: Pull complete 06:40:08 555d1d1c4555: Pull complete 06:40:10 7d9057610161: Pull complete 06:40:10 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 06:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:40:10 ---> 819e984ddca1 06:40:10 Step 3/10 : ARG MAKE='make build' 06:40:10 ---> Running in 46dae9be88dc 06:40:11 Removing intermediate container 46dae9be88dc 06:40:11 ---> 9deab8d030f6 06:40:11 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:11 ---> Running in 2bd57c44cdc5 06:40:13 Removing intermediate container 2bd57c44cdc5 06:40:13 ---> be6ba0877b38 06:40:13 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:40:13 ---> Running in d522a43d8595 06:40:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:40:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:40:15 (1/8) Installing openssh-keygen (8.8_p1-r1) 06:40:15 (2/8) Installing libedit (20210910.3.1-r0) 06:40:15 (3/8) Installing openssh-client-common (8.8_p1-r1) 06:40:16 (4/8) Installing openssh-client-default (8.8_p1-r1) 06:40:16 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 06:40:16 (6/8) Installing openssh-server-common (8.8_p1-r1) 06:40:16 (7/8) Installing openssh-server (8.8_p1-r1) 06:40:16 (8/8) Installing openssh (8.8_p1-r1) 06:40:16 Executing busybox-1.34.1-r3.trigger 06:40:16 OK: 226 MiB in 60 packages 06:40:17 Removing intermediate container d522a43d8595 06:40:17 ---> 5a6e5c0cf29d 06:40:17 Step 6/10 : WORKDIR /device-modbus-go 06:40:17 ---> Running in e3e9d6e76a61 06:40:18 Removing intermediate container e3e9d6e76a61 06:40:18 ---> f2752a64299b 06:40:18 Step 7/10 : COPY go.mod vendor* ./ 06:40:18 ---> 524ecb1ad366 06:40:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:40:18 ---> Running in 8d0540f6501f 06:41:05 Removing intermediate container 8d0540f6501f 06:41:05 ---> a0fdc36cd50b 06:41:05 Step 9/10 : COPY . . 06:41:05 ---> 9573304c81de 06:41:05 Step 10/10 : RUN ${MAKE} 06:41:05 ---> Running in 8ceb14ffa9cf 06:41:05 noop 06:41:05 Removing intermediate container 8ceb14ffa9cf 06:41:05 ---> fd45c719f54b 06:41:05 Successfully built fd45c719f54b 06:41:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:05 + docker inspect -f . ci-base-image-arm64 06:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:06 prd-ubuntu20.04-docker-arm64-4c-16g-2323 does not seem to be running inside a container 06:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:41:07 $ docker top 58cc59ca42f692f8526c23239875a6cd66867ef928131f65a283ebcdc0e4bb02 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:08 + go version 06:41:08 go version go1.17.7 linux/arm64 [Pipeline] } 06:41:08 $ docker stop --time=1 58cc59ca42f692f8526c23239875a6cd66867ef928131f65a283ebcdc0e4bb02 06:41:10 $ docker rm -f 58cc59ca42f692f8526c23239875a6cd66867ef928131f65a283ebcdc0e4bb02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:10 + docker inspect -f . ci-base-image-arm64 06:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:11 prd-ubuntu20.04-docker-arm64-4c-16g-2323 does not seem to be running inside a container 06:41:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:41:12 $ docker top 789edef42a6a73e7fe94cb246ba69d423cd2d29be6dc5213a3142bf76328596e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:41:13 + make test 06:41:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:41:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:42:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:42:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.4% of statements 06:42:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:42:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:42:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:54 ./bin/test-attribution-txt.sh [Pipeline] echo 06:42:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:58 $ docker stop --time=1 789edef42a6a73e7fe94cb246ba69d423cd2d29be6dc5213a3142bf76328596e 06:43:00 $ docker rm -f 789edef42a6a73e7fe94cb246ba69d423cd2d29be6dc5213a3142bf76328596e [Pipeline] // withDockerContainer [Pipeline] sh 06:43:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:43:01 Warning: overwriting stash ‘coverage-report’ 06:43:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:43:02 + ls -al . 06:43:02 total 180 06:43:02 drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 06:42 . 06:43:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 06:39 .. 06:43:02 -rw-rw-r-- 1 jenkins jenkins 140 Jun 13 06:39 .dockerignore 06:43:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 06:39 .git 06:43:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 06:39 .github 06:43:02 -rw-rw-r-- 1 jenkins jenkins 331 Jun 13 06:39 .gitignore 06:43:02 -rw-rw-r-- 1 jenkins jenkins 41 Jun 13 06:39 .golangci.yml 06:43:02 -rw-rw-r-- 1 jenkins jenkins 9510 Jun 13 06:39 Attribution.txt 06:43:02 -rw-rw-r-- 1 jenkins jenkins 10001 Jun 13 06:39 CHANGELOG.md 06:43:02 -rw-rw-r-- 1 jenkins jenkins 1546 Jun 13 06:39 Dockerfile 06:43:02 -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 06:39 GOVERNANCE.md 06:43:02 -rw-rw-r-- 1 jenkins jenkins 680 Jun 13 06:39 Jenkinsfile 06:43:02 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 13 06:39 LICENSE 06:43:02 -rw-rw-r-- 1 jenkins jenkins 1905 Jun 13 06:39 Makefile 06:43:02 -rw-rw-r-- 1 jenkins jenkins 622 Jun 13 06:39 OWNERS.md 06:43:02 -rw-rw-r-- 1 jenkins jenkins 3397 Jun 13 06:39 README.md 06:43:02 -rw-rw-r-- 1 jenkins jenkins 11 Jun 13 06:37 VERSION 06:43:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 06:39 bin 06:43:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 06:39 cmd 06:43:02 -rw-r--r-- 1 jenkins jenkins 24065 Jun 13 06:42 coverage.out 06:43:02 -rw-rw-r-- 1 jenkins jenkins 3325 Jun 13 06:39 go.mod 06:43:02 -rw-rw-r-- 1 jenkins jenkins 35489 Jun 13 06:39 go.sum 06:43:02 drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 06:39 internal 06:43:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 06:39 simulator 06:43:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 06:39 snap 06:43:02 -rw-rw-r-- 1 jenkins jenkins 229 Jun 13 06:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:02 + 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=7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 --label arch=arm64 --label version=2.2.1-dev.2 . 06:43:02 Sending build context to Docker daemon 3.143MB 06:43:02 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 06:43:02 Step 2/23 : FROM ${BASE} AS builder 06:43:02 ---> fd45c719f54b 06:43:02 Step 3/23 : ARG MAKE='make build' 06:43:03 ---> Running in 6918f6909df9 06:43:03 Removing intermediate container 6918f6909df9 06:43:03 ---> dcf9b12e54d4 06:43:03 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:03 ---> Running in abf90d3b2be8 06:43:04 Removing intermediate container abf90d3b2be8 06:43:04 ---> 521ec7d9f7fb 06:43:04 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 06:43:04 ---> Running in 634a5c20850a 06:43:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:43:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:43:07 OK: 226 MiB in 60 packages 06:43:08 Removing intermediate container 634a5c20850a 06:43:08 ---> ebaba53b5a39 06:43:08 Step 6/23 : WORKDIR /device-modbus-go 06:43:08 ---> Running in 6524dd925278 06:43:08 Removing intermediate container 6524dd925278 06:43:08 ---> 2f1972b7ca71 06:43:08 Step 7/23 : COPY go.mod vendor* ./ 06:43:09 ---> 3dba73d2b1b2 06:43:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:09 ---> Running in 5001ad21c547 06:43:11 Removing intermediate container 5001ad21c547 06:43:11 ---> 318611d712ea 06:43:11 Step 9/23 : COPY . . 06:43:12 ---> 68565fa3fdb7 06:43:12 Step 10/23 : RUN ${MAKE} 06:43:12 ---> Running in 2a33cf87ebb3 06:43:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 06:45:20 Removing intermediate container 2a33cf87ebb3 06:45:20 ---> f316b4e7dd5e 06:45:20 Step 11/23 : FROM alpine:3.14 06:45:20 3.14: Pulling from library/alpine 06:45:20 455c02918c45: Pulling fs layer 06:45:20 455c02918c45: Download complete 06:45:20 455c02918c45: Pull complete 06:45:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:45:20 Status: Downloaded newer image for alpine:3.14 06:45:20 ---> ac73e934f311 06:45:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:45:20 ---> Running in c26e1ae1aa67 06:45:20 Removing intermediate container c26e1ae1aa67 06:45:20 ---> 71246dae002a 06:45:20 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:20 ---> Running in d91f84ea9017 06:45:20 Removing intermediate container d91f84ea9017 06:45:20 ---> 1a1c961cbc3e 06:45:20 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 06:45:20 ---> Running in b145f8f37213 06:45:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:45:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:45:20 (1/6) Installing dumb-init (1.2.5-r1) 06:45:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:45:20 (3/6) Installing libsodium (1.0.18-r0) 06:45:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:45:20 (5/6) Installing libzmq (4.3.4-r0) 06:45:20 (6/6) Installing zeromq (4.3.4-r0) 06:45:20 Executing busybox-1.33.1-r7.trigger 06:45:20 OK: 8 MiB in 20 packages 06:45:20 Removing intermediate container b145f8f37213 06:45:20 ---> c06c0ec0ad84 06:45:20 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:45:20 ---> 450bfc7573c2 06:45:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:45:20 ---> d9cb8be246ce 06:45:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:45:20 ---> 1bb1debc6ef5 06:45:20 Step 18/23 : EXPOSE 59901 06:45:20 ---> Running in 6ce7102c0f99 06:45:20 Removing intermediate container 6ce7102c0f99 06:45:20 ---> d15848644b4f 06:45:20 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:45:20 ---> Running in cd0dcf009076 06:45:20 Removing intermediate container cd0dcf009076 06:45:20 ---> 3300d484875a 06:45:20 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:45:20 ---> Running in 36597f264204 06:45:20 Removing intermediate container 36597f264204 06:45:20 ---> bc99788b5e36 06:45:20 Step 21/23 : LABEL arch=arm64 06:45:20 ---> Running in 1ff650f999db 06:45:20 Removing intermediate container 1ff650f999db 06:45:20 ---> 3342f4ba5313 06:45:20 Step 22/23 : LABEL git_sha=7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:45:20 ---> Running in b8165890f353 06:45:20 Removing intermediate container b8165890f353 06:45:20 ---> c34fee7466ee 06:45:20 Step 23/23 : LABEL version=2.2.1-dev.2 06:45:20 ---> Running in 66750603ae91 06:45:20 Removing intermediate container 66750603ae91 06:45:20 ---> 167a55663ba1 06:45:20 [Warning] One or more build-args [ARCH] were not consumed 06:45:20 Successfully built 167a55663ba1 06:45:20 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:20 provisioning config files... 06:45:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/41@tmp/config5497641315718833650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:20 ---> docker-login.sh 06:45:20 nexus3.edgexfoundry.org:10001 06:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:20 Configure a credential helper to remove this warning. See 06:45:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:20 06:45:20 Login Succeeded 06:45:20 nexus3.edgexfoundry.org:10002 06:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:21 Configure a credential helper to remove this warning. See 06:45:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:21 06:45:21 Login Succeeded 06:45:21 nexus3.edgexfoundry.org:10003 06:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:22 Configure a credential helper to remove this warning. See 06:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:22 06:45:22 Login Succeeded 06:45:22 nexus3.edgexfoundry.org:10004 06:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:22 Configure a credential helper to remove this warning. See 06:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:22 06:45:22 Login Succeeded 06:45:22 docker.io 06:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:23 Configure a credential helper to remove this warning. See 06:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:23 06:45:23 Login Succeeded 06:45:23 ---> docker-login.sh ends [Pipeline] } 06:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:45:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:45:23 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:45:23 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:45:23 latest 06:45:23 2.2.1-dev.2 06:45:23 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 06:45:23 main 06:45:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:23 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:45:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:45:24 d801a34c6d40: Preparing 06:45:24 09a476cbeea6: Preparing 06:45:24 533271e52a11: Preparing 06:45:24 3eadea988c20: Preparing 06:45:24 191accc60970: Preparing 06:45:24 f73e7dbfee58: Preparing 06:45:24 f73e7dbfee58: Waiting 06:45:24 191accc60970: Pushed 06:45:24 09a476cbeea6: Pushed 06:45:24 d801a34c6d40: Pushed 06:45:24 f73e7dbfee58: Layer already exists 06:45:24 3eadea988c20: Pushed 06:45:30 533271e52a11: Pushed 06:45:30 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2: digest: sha256:ab5af20803f3c75aaf045a80caeefdd34650dc7df4e394907775c42f401b6062 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:45:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:45:31 d801a34c6d40: Preparing 06:45:31 09a476cbeea6: Preparing 06:45:31 533271e52a11: Preparing 06:45:31 3eadea988c20: Preparing 06:45:31 191accc60970: Preparing 06:45:31 f73e7dbfee58: Preparing 06:45:31 f73e7dbfee58: Waiting 06:45:31 3eadea988c20: Layer already exists 06:45:31 191accc60970: Layer already exists 06:45:31 09a476cbeea6: Layer already exists 06:45:31 533271e52a11: Layer already exists 06:45:31 d801a34c6d40: Layer already exists 06:45:31 f73e7dbfee58: Layer already exists 06:45:31 latest: digest: sha256:ab5af20803f3c75aaf045a80caeefdd34650dc7df4e394907775c42f401b6062 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.2 06:45:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:45:32 d801a34c6d40: Preparing 06:45:32 09a476cbeea6: Preparing 06:45:32 533271e52a11: Preparing 06:45:32 3eadea988c20: Preparing 06:45:32 191accc60970: Preparing 06:45:32 f73e7dbfee58: Preparing 06:45:32 f73e7dbfee58: Waiting 06:45:32 533271e52a11: Layer already exists 06:45:32 09a476cbeea6: Layer already exists 06:45:32 d801a34c6d40: Layer already exists 06:45:32 191accc60970: Layer already exists 06:45:32 3eadea988c20: Layer already exists 06:45:32 f73e7dbfee58: Layer already exists 06:45:32 2.2.1-dev.2: digest: sha256:ab5af20803f3c75aaf045a80caeefdd34650dc7df4e394907775c42f401b6062 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 06:45:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:45:33 d801a34c6d40: Preparing 06:45:33 09a476cbeea6: Preparing 06:45:33 533271e52a11: Preparing 06:45:33 3eadea988c20: Preparing 06:45:33 191accc60970: Preparing 06:45:33 f73e7dbfee58: Preparing 06:45:33 f73e7dbfee58: Waiting 06:45:33 533271e52a11: Layer already exists 06:45:33 09a476cbeea6: Layer already exists 06:45:33 3eadea988c20: Layer already exists 06:45:33 d801a34c6d40: Layer already exists 06:45:33 191accc60970: Layer already exists 06:45:33 f73e7dbfee58: Layer already exists 06:45:33 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2: digest: sha256:ab5af20803f3c75aaf045a80caeefdd34650dc7df4e394907775c42f401b6062 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:45:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:45:34 d801a34c6d40: Preparing 06:45:34 09a476cbeea6: Preparing 06:45:34 533271e52a11: Preparing 06:45:34 3eadea988c20: Preparing 06:45:34 191accc60970: Preparing 06:45:34 f73e7dbfee58: Preparing 06:45:34 f73e7dbfee58: Waiting 06:45:34 533271e52a11: Layer already exists 06:45:34 191accc60970: Layer already exists 06:45:34 3eadea988c20: Layer already exists 06:45:34 d801a34c6d40: Layer already exists 06:45:34 09a476cbeea6: Layer already exists 06:45:34 f73e7dbfee58: Layer already exists 06:45:34 main: digest: sha256:ab5af20803f3c75aaf045a80caeefdd34650dc7df4e394907775c42f401b6062 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:45:34 ===================================================== [Pipeline] echo 06:45:34 taggedImages: 06:45:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 06:45:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:45:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.1-dev.2 06:45:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2-2.2.1-dev.2 06:45:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:35 06:45:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:35 arm64: Pulling from edgex-lftools-log-publisher 06:45:35 8998bd30e6a1: Pulling fs layer 06:45:35 04944245beec: Pulling fs layer 06:45:35 699f458cf7ca: Pulling fs layer 06:45:35 765212b225bb: Pulling fs layer 06:45:35 f23df028b6ca: Pulling fs layer 06:45:35 d65c8cfc05b1: Pulling fs layer 06:45:35 2437ff75d9bd: Pulling fs layer 06:45:35 f23df028b6ca: Waiting 06:45:35 d65c8cfc05b1: Waiting 06:45:35 2437ff75d9bd: Waiting 06:45:35 765212b225bb: Waiting 06:45:35 04944245beec: Verifying Checksum 06:45:35 04944245beec: Download complete 06:45:35 765212b225bb: Download complete 06:45:35 f23df028b6ca: Verifying Checksum 06:45:35 f23df028b6ca: Download complete 06:45:35 d65c8cfc05b1: Verifying Checksum 06:45:35 d65c8cfc05b1: Download complete 06:45:36 699f458cf7ca: Verifying Checksum 06:45:36 699f458cf7ca: Download complete 06:45:36 8998bd30e6a1: Verifying Checksum 06:45:36 8998bd30e6a1: Download complete 06:45:38 2437ff75d9bd: Verifying Checksum 06:45:38 2437ff75d9bd: Download complete 06:45:40 8998bd30e6a1: Pull complete 06:45:40 04944245beec: Pull complete 06:45:42 699f458cf7ca: Pull complete 06:45:42 765212b225bb: Pull complete 06:45:43 f23df028b6ca: Pull complete 06:45:43 d65c8cfc05b1: Pull complete 06:45:58 2437ff75d9bd: Pull complete 06:45:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:59 prd-ubuntu20.04-docker-arm64-4c-16g-2323 does not seem to be running inside a container 06:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/41 -v /w/workspace/device-modbus-go/41:/w/workspace/device-modbus-go/41:rw,z -v /w/workspace/device-modbus-go/41@tmp:/w/workspace/device-modbus-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:46:01 $ docker top db3b9dc0d11c816bc36e8c2c786c4c4c9b0b4bb90d190d9b15c36af5167df177 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:02 ---> job-cost.sh 06:46:02 lf-activate-venv: SKIPPING 06:46:02 INFO: No Stack... 06:46:03 INFO: Retrieving Pricing Info for: v3-standard-4 06:46:04 INFO: Archiving Costs [Pipeline] sh 06:46:04 + cut -d, -f6 06:46:04 + cat /w/workspace/device-modbus-go/41/archives/cost.csv [Pipeline] lock 06:46:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] 06:46:04 Resource [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] did not exist. Created. 06:46:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:46:05 /w/workspace/device-modbus-go/41@tmp/durable-b3f781a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:46:06 + echo total: 0.10999999940395355 [Pipeline] stash 06:46:06 Warning: overwriting stash ‘stack-cost’ 06:46:06 Stashed 1 file(s) [Pipeline] } 06:46:06 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 06:46:06 $ docker stop --time=1 db3b9dc0d11c816bc36e8c2c786c4c4c9b0b4bb90d190d9b15c36af5167df177 06:46:07 $ docker rm -f db3b9dc0d11c816bc36e8c2c786c4c4c9b0b4bb90d190d9b15c36af5167df177 [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 06:46:08 provisioning config files... 06:46:08 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6196736584572861692tmp [Pipeline] { [Pipeline] sh 06:46:08 + set +x 06:46:08 + curl -s https://codecov.io/bash 06:46:08 + bash -s -- 06:46:08 06:46:08 _____ _ 06:46:08 / ____| | | 06:46:08 | | ___ __| | ___ ___ _____ __ 06:46:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:46:08 | |___| (_) | (_| | __/ (_| (_) \ V / 06:46:08 \_____\___/ \__,_|\___|\___\___/ \_/ 06:46:08 Bash-1.0.6 06:46:08 06:46:08 06:46:08 ==> git version 2.25.1 found 06:46:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:46:08 Release-Date: 2020-01-08 06:46:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:46:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:46:08 ==> Jenkins CI detected. 06:46:08 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:46:08 project root: . 06:46:08 --> token set from env 06:46:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:46:08 ==> Running gcov in . (disable via -X gcov) 06:46:08 ==> Python coveragepy not found 06:46:08 ==> Searching for coverage reports in: 06:46:08 + . 06:46:08 -> Found 1 reports 06:46:08 ==> Detecting git/mercurial file structure 06:46:08 ==> Reading reports 06:46:08 + ./coverage.out bytes=24065 06:46:08 ==> Appending adjustments 06:46:08 https://docs.codecov.io/docs/fixing-reports 06:46:09 + Found adjustments 06:46:09 ==> Gzipping contents 06:46:09 4.0K /tmp/codecov.l6aPHR.gz 06:46:09 ==> Uploading reports 06:46:09 url: https://codecov.io 06:46:09 query: branch=main&commit=7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:46:09 -> Pinging Codecov 06:46:09 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=7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:46:09 -> Uploading to 06:46:09 https://storage.googleapis.com/codecov/v4/raw/2022-06-13/55DBCA73C666E3227836607328DD7E49/7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2/8cecb3a3-e0e1-428c-bfbf-25e1355b553c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220613T064609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f4e585430e7d3b6f1cc71dd06cecfbe6c7b8f79548bc152645056609cf24014 06:46:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:09 Dload Upload Total Spent Left Speed 06:46:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 18216 --:--:-- --:--:-- --:--:-- 18134 100 4044 0 0 100 4044 0 18053 --:--:-- --:--:-- --:--:-- 17973 06:46:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] } 06:46:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:46:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:46:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:46:09 06:46:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:46:10 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:46:10 df9b9388f04a: Pulling fs layer 06:46:10 52dc419b0ee2: Pulling fs layer 06:46:10 25bc292e5bac: Pulling fs layer 06:46:10 114826534d7a: Pulling fs layer 06:46:10 4657fd5d0bcf: Pulling fs layer 06:46:10 6ad1cebc031e: Pulling fs layer 06:46:10 8a3aa393b2d8: Pulling fs layer 06:46:10 4657fd5d0bcf: Waiting 06:46:10 8a3aa393b2d8: Waiting 06:46:10 6ad1cebc031e: Waiting 06:46:10 114826534d7a: Waiting 06:46:10 25bc292e5bac: Verifying Checksum 06:46:10 25bc292e5bac: Download complete 06:46:10 52dc419b0ee2: Verifying Checksum 06:46:10 52dc419b0ee2: Download complete 06:46:10 4657fd5d0bcf: Verifying Checksum 06:46:10 4657fd5d0bcf: Download complete 06:46:10 df9b9388f04a: Download complete 06:46:10 df9b9388f04a: Pull complete 06:46:10 6ad1cebc031e: Verifying Checksum 06:46:10 6ad1cebc031e: Download complete 06:46:10 52dc419b0ee2: Pull complete 06:46:10 25bc292e5bac: Pull complete 06:46:11 114826534d7a: Download complete 06:46:11 8a3aa393b2d8: Verifying Checksum 06:46:11 8a3aa393b2d8: Download complete 06:46:14 114826534d7a: Pull complete 06:46:14 4657fd5d0bcf: Pull complete 06:46:14 6ad1cebc031e: Pull complete 06:46:17 8a3aa393b2d8: Pull complete 06:46:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:46:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:46:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:18 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:46:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:46:19 $ docker top 2aedfc5fab20571ecb8cf7a2bf7f2258d9c5b4e7a6e27907cc71e31e00c17ab2 -eo pid,comm [Pipeline] { [Pipeline] echo 06:46:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:46:20 + set -o pipefail 06:46:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:46:26 06:46:26 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:46:26 06:46:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/de305e32-fd20-4f9a-96d3-fc8cd7b041cd 06:46:26 06:46:26 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:46:26 06:46:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:46:26 06:46:26 06:46:26 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 06:46:26 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:46:26 $ docker stop --time=1 2aedfc5fab20571ecb8cf7a2bf7f2258d9c5b4e7a6e27907cc71e31e00c17ab2 06:46:29 $ docker rm -f 2aedfc5fab20571ecb8cf7a2bf7f2258d9c5b4e7a6e27907cc71e31e00c17ab2 [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 06:46:29 + git log --format=format:%s -1 7d0d064a4f12fcf75a50c3e5fd346cea393bf5d2 [Pipeline] sh 06:46:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:46:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:46:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:30 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:46:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:46:30 $ docker top ac8bbd3925406de30fa41d846af72d0c041be7341ee32ed42dc49aa93a2487d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:31 [ssh-agent] Looking for ssh-agent implementation... 06:46:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:31 $ docker exec ac8bbd3925406de30fa41d846af72d0c041be7341ee32ed42dc49aa93a2487d0 ssh-agent 06:46:31 SSH_AUTH_SOCK=/tmp/ssh-lKWL2RJJSdXZ/agent.32 06:46:31 SSH_AGENT_PID=39 06:46:31 Running ssh-add (command line suppressed) 06:46:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2853979679056121296.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2853979679056121296.key) 06:46:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:31 + git semver tag 06:46:32 2022-06-13 06:46:31,946 [run_tag] DEBUG tag force:False 06:46:32 2022-06-13 06:46:31,946 [check_head_tag] DEBUG check head tag 06:46:32 2022-06-13 06:46:31,947 [execute] INFO git cat-file --batch-check 06:46:32 2022-06-13 06:46:31,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:46:32 2022-06-13 06:46:31,951 [execute] INFO git cat-file --batch 06:46:32 2022-06-13 06:46:31,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:46:32 2022-06-13 06:46:31,960 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:32 2022-06-13 06:46:31,960 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 06:46:32 2022-06-13 06:46:31,960 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:46:32 2022-06-13 06:46:31,966 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:32 2.2.1-dev.2 [Pipeline] } 06:46:32 $ docker exec --env ******** --env ******** ac8bbd3925406de30fa41d846af72d0c041be7341ee32ed42dc49aa93a2487d0 ssh-agent -k 06:46:32 unset SSH_AUTH_SOCK; 06:46:32 unset SSH_AGENT_PID; 06:46:32 echo Agent pid 39 killed; 06:46:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:32 + git semver [Pipeline] } 06:46:32 $ docker stop --time=1 ac8bbd3925406de30fa41d846af72d0c041be7341ee32ed42dc49aa93a2487d0 06:46:34 $ docker rm -f ac8bbd3925406de30fa41d846af72d0c041be7341ee32ed42dc49aa93a2487d0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:46:34 06:46:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:46:34 0.23.1-centos7: Pulling from edgex-lftools 06:46:34 ab5ef0e58194: Pulling fs layer 06:46:34 9712f1f96733: Pulling fs layer 06:46:34 63f879dbbcfc: Pulling fs layer 06:46:34 0d9ebad4ef96: Pulling fs layer 06:46:34 e9a5061849ea: Pulling fs layer 06:46:34 d747dcd14b5f: Pulling fs layer 06:46:34 2de7ff778b66: Pulling fs layer 06:46:34 0d9ebad4ef96: Waiting 06:46:34 e9a5061849ea: Waiting 06:46:34 d747dcd14b5f: Waiting 06:46:34 9712f1f96733: Verifying Checksum 06:46:34 9712f1f96733: Download complete 06:46:35 63f879dbbcfc: Verifying Checksum 06:46:35 63f879dbbcfc: Download complete 06:46:35 e9a5061849ea: Verifying Checksum 06:46:35 e9a5061849ea: Download complete 06:46:35 0d9ebad4ef96: Verifying Checksum 06:46:35 0d9ebad4ef96: Download complete 06:46:35 d747dcd14b5f: Verifying Checksum 06:46:35 d747dcd14b5f: Download complete 06:46:35 ab5ef0e58194: Verifying Checksum 06:46:35 ab5ef0e58194: Download complete 06:46:35 2de7ff778b66: Verifying Checksum 06:46:35 2de7ff778b66: Download complete 06:46:37 ab5ef0e58194: Pull complete 06:46:38 9712f1f96733: Pull complete 06:46:38 63f879dbbcfc: Pull complete 06:46:42 0d9ebad4ef96: Pull complete 06:46:42 e9a5061849ea: Pull complete 06:46:42 d747dcd14b5f: Pull complete 06:46:43 2de7ff778b66: Pull complete 06:46:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:46:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:43 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:46:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:46:46 $ docker top 00b5700fa9c0b77b0567568539a8a13fc11e76083a3f281c853013a94fb3f421 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:46:46 provisioning config files... 06:46:46 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4727515043959984861tmp 06:46:46 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2362057397020241677tmp 06:46:46 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1856098684038096217tmp [Pipeline] { [Pipeline] echo 06:46:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:46:46 ---> sigul-configuration.sh 06:46:46 gpg: directory `/root/.gnupg' created 06:46:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:46:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:46:46 gpg: keyring `/root/.gnupg/secring.gpg' created 06:46:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:46:46 gpg: CAST5 encrypted data 06:46:46 gpg: encrypted with 1 passphrase 06:46:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:46:46 + mkdir /home/jenkins 06:46:46 + mkdir /home/jenkins/sigul [Pipeline] sh 06:46:47 + 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 06:46:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:46:47 ---> sigul-install.sh 06:46:47 Sigul already installed; skipping installation. [Pipeline] sh 06:46:47 + git tag --list 06:46:47 0.7.1 06:46:47 v1.0.0 06:46:47 v1.1.0 06:46:47 v1.1.1 06:46:47 v1.2.2 06:46:47 v1.3.0 06:46:47 v1.3.1 06:46:47 v2.0.0 06:46:47 v2.1.0 06:46:47 v2.1.1 06:46:47 v2.1.1-dev.1 06:46:47 v2.1.1-dev.2 06:46:47 v2.1.1-dev.3 06:46:47 v2.2.0 06:46:47 v2.2.1-dev.1 06:46:47 v2.2.1-dev.2 [Pipeline] sh 06:46:48 + lftools sign git-tag v2.2.1-dev.2 06:46:48 Signing Git tag with Sigul... 06:46:48 Signing v2.2.1-dev.2 [Pipeline] echo 06:46:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:46:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:46:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:46:49 $ docker stop --time=1 00b5700fa9c0b77b0567568539a8a13fc11e76083a3f281c853013a94fb3f421 06:46:50 $ docker rm -f 00b5700fa9c0b77b0567568539a8a13fc11e76083a3f281c853013a94fb3f421 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:46:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:46:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:46:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:51 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:46:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:46:51 $ docker top 55b2bc19bf1894271efb212d69522d3b0d92c1a4d7515fa0e80f1ca8bce9b3c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:51 [ssh-agent] Looking for ssh-agent implementation... 06:46:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:52 $ docker exec 55b2bc19bf1894271efb212d69522d3b0d92c1a4d7515fa0e80f1ca8bce9b3c8 ssh-agent 06:46:52 SSH_AUTH_SOCK=/tmp/ssh-lA578OpT2UHT/agent.33 06:46:52 SSH_AGENT_PID=40 06:46:52 Running ssh-add (command line suppressed) 06:46:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2040133967987024725.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2040133967987024725.key) 06:46:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:52 + git semver bump pre 06:46:52 2022-06-13 06:46:52,763 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:52 2022-06-13 06:46:52,763 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev 06:46:52 2022-06-13 06:46:52,763 [bump_version] DEBUG bumped version:2.2.1-dev.3 06:46:52 2022-06-13 06:46:52,763 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:46:52 2022-06-13 06:46:52,763 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:52 2022-06-13 06:46:52,763 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:52 2022-06-13 06:46:52,766 [execute] INFO git cat-file --batch-check 06:46:52 2022-06-13 06:46:52,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:46:52 2022-06-13 06:46:52,771 [execute] INFO git cat-file --batch 06:46:52 2022-06-13 06:46:52,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:46:52 2022-06-13 06:46:52,776 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:52 2.2.1-dev.3 [Pipeline] } 06:46:52 $ docker exec --env ******** --env ******** 55b2bc19bf1894271efb212d69522d3b0d92c1a4d7515fa0e80f1ca8bce9b3c8 ssh-agent -k 06:46:52 unset SSH_AUTH_SOCK; 06:46:52 unset SSH_AGENT_PID; 06:46:52 echo Agent pid 40 killed; 06:46:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:53 + git semver [Pipeline] } 06:46:53 $ docker stop --time=1 55b2bc19bf1894271efb212d69522d3b0d92c1a4d7515fa0e80f1ca8bce9b3c8 06:46:54 $ docker rm -f 55b2bc19bf1894271efb212d69522d3b0d92c1a4d7515fa0e80f1ca8bce9b3c8 [Pipeline] // withDockerContainer [Pipeline] sh 06:46:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:46:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:46:55 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:46:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:46:56 $ docker top d282d4df506a0db4880262f21be64d50d38ca799b34e5e7b41d89331db3dc3f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:56 [ssh-agent] Looking for ssh-agent implementation... 06:46:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:56 $ docker exec d282d4df506a0db4880262f21be64d50d38ca799b34e5e7b41d89331db3dc3f8 ssh-agent 06:46:56 SSH_AUTH_SOCK=/tmp/ssh-oVpSsRyLHowL/agent.34 06:46:56 SSH_AGENT_PID=41 06:46:56 Running ssh-add (command line suppressed) 06:46:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8755952405153242592.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8755952405153242592.key) 06:46:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:56 + git semver push 06:46:57 2022-06-13 06:46:57,075 [run_push] DEBUG push 06:46:57 2022-06-13 06:46:57,076 [execute] INFO git cat-file --batch-check 06:46:57 2022-06-13 06:46:57,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:46:57 2022-06-13 06:46:57,079 [execute] INFO git rev-list d58905ccd971cf59c8dfa6eae564ea918ac8be84 -- 06:46:57 2022-06-13 06:46:57,080 [execute] DEBUG Popen(['git', 'rev-list', 'd58905ccd971cf59c8dfa6eae564ea918ac8be84', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:46:57 2022-06-13 06:46:57,087 [execute] INFO git fetch -v origin 06:46:57 2022-06-13 06:46:57,087 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:46:57 2022-06-13 06:46:57,558 [run_push] DEBUG no remote changes detected 06:46:57 2022-06-13 06:46:57,559 [execute] INFO git push origin semver 06:46:57 2022-06-13 06:46:57,559 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:46:58 2022-06-13 06:46:58,224 [run_push] DEBUG push all version tags 06:46:58 2022-06-13 06:46:58,225 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:46:58 2022-06-13 06:46:58,225 [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) 06:46:58 2022-06-13 06:46:58,852 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:46:58 2.2.1-dev.3 [Pipeline] } 06:46:59 $ docker exec --env ******** --env ******** d282d4df506a0db4880262f21be64d50d38ca799b34e5e7b41d89331db3dc3f8 ssh-agent -k 06:46:59 unset SSH_AUTH_SOCK; 06:46:59 unset SSH_AGENT_PID; 06:46:59 echo Agent pid 41 killed; 06:46:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:59 + git semver [Pipeline] } 06:46:59 $ docker stop --time=1 d282d4df506a0db4880262f21be64d50d38ca799b34e5e7b41d89331db3dc3f8 06:47:01 $ docker rm -f d282d4df506a0db4880262f21be64d50d38ca799b34e5e7b41d89331db3dc3f8 [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 06:47:01 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:47:01 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:47:01 total 16 06:47:01 drwxr-xr-x 3 root root 4096 Jun 13 06:39 . 06:47:01 drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 06:46 .. 06:47:01 drwxr-xr-x 2 root root 4096 Jun 13 06:39 cost 06:47:01 -rw-r--r-- 1 root root 86 Jun 13 06:39 cost.csv 06:47:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:47:01 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:47:01 total 16 06:47:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 06:39 . 06:47:01 drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 06:46 .. 06:47:01 drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 06:39 cost 06:47:01 -rw-r--r-- 1 jenkins jenkins 86 Jun 13 06:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:47:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:47:02 ---> package-listing.sh 06:47:02 ++ facter osfamily 06:47:02 ++ tr '[:upper:]' '[:lower:]' 06:47:03 + OS_FAMILY=debian 06:47:03 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:47:03 + START_PACKAGES=/tmp/packages_start.txt 06:47:03 + END_PACKAGES=/tmp/packages_end.txt 06:47:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:47:03 + PACKAGES=/tmp/packages_start.txt 06:47:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:47:03 + PACKAGES=/tmp/packages_end.txt 06:47:03 + case "${OS_FAMILY}" in 06:47:03 + dpkg -l 06:47:03 + grep '^ii' 06:47:03 + '[' -f /tmp/packages_start.txt ']' 06:47:03 + '[' -f /tmp/packages_end.txt ']' 06:47:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:47:03 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:47:03 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:47:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:47:03 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 06:47:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:04 prd-ubuntu20.04-docker-8c-8g-2322 does not seem to be running inside a container 06:47:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:47:04 $ docker top a87a9435576118c5c30a0a2bc928083207b10de320d790144f0cbc7cbc13e258 -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:47:05 + mkdir -p /var/log/sysstat [Pipeline] sh 06:47:05 + ls /var/log/sa-host 06:47:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:47:05 provisioning config files... 06:47:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7304230232715744777tmp [Pipeline] { [Pipeline] echo 06:47:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:47:05 ---> create-netrc.sh [Pipeline] } 06:47:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:47:06 ---> python-tools-install.sh [Pipeline] echo 06:47:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:47:06 ---> sudo-logs.sh 06:47:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:47:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:47:06 ---> job-cost.sh 06:47:06 lf-activate-venv: SKIPPING 06:47:06 DEBUG: total: 0.2199999988079071 06:47:06 INFO: Retrieving Stack Cost... 06:47:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:47:07 INFO: Archiving Costs [Pipeline] echo 06:47:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:47:07 ---> logs-deploy.sh 06:47:07 lf-activate-venv: SKIPPING 06:47:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/41 06:47:07 INFO: archiving workspace using pattern(s): 06:47:08 Archives upload complete. 06:47:08 INFO: archiving logs to Nexus