Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 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-ssh15469828707499271275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12087730458610094839.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5122943218245339041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13206145570201020813.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh17762848887098582664.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2746 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (main) Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#400)" > git config core.sparsecheckout # timeout=10 > git checkout -f bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 > git rev-list --no-walk 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:31:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:31:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:31:06 ========================================================= 17:31:06 EdgeX Global Pipelines Version Info 17:31:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:31:07 ------------------- 17:31:07 stable info: 17:31:07 ------------------- 17:31:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:31:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:31:07 Message: update stable to v1.0.244 17:31:08 ------------------- 17:31:08 experimental info: 17:31:08 ------------------- 17:31:08 Commited By: **** collab-it+edgex@linuxfoundation.org 17:31:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:31:08 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb2f4bd [Pipeline] echo 17:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:08 provisioning config files... 17:31:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9429780039124849322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:09 ---> docker-login.sh 17:31:09 nexus3.edgexfoundry.org:10001 17:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:09 Configure a credential helper to remove this warning. See 17:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:09 17:31:09 Login Succeeded 17:31:09 nexus3.edgexfoundry.org:10002 17:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:09 Configure a credential helper to remove this warning. See 17:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:09 17:31:09 Login Succeeded 17:31:09 nexus3.edgexfoundry.org:10003 17:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:09 Configure a credential helper to remove this warning. See 17:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:09 17:31:09 Login Succeeded 17:31:09 nexus3.edgexfoundry.org:10004 17:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:09 Configure a credential helper to remove this warning. See 17:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:09 17:31:09 Login Succeeded 17:31:09 docker.io 17:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:09 Configure a credential helper to remove this warning. See 17:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:09 17:31:09 Login Succeeded 17:31:10 ---> docker-login.sh ends [Pipeline] } 17:31:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:31:10 + git rev-list -1 --merges bb2f4bd64c3941eb86d6cd8a035d25878e21dc53~1..bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo 17:31:10 -----------> git rev-list -1 --merges bb2f4bd64c3941eb86d6cd8a035d25878e21dc53~1..bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [false] [Pipeline] sh 17:31:10 + git log --format=format:%s -1 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo 17:31:10 ========================================================= 17:31:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:31:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:11 + git log --format=format:%s -1 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] echo 17:31:11 [semverPrep] GIT_COMMIT: bb2f4bd64c3941eb86d6cd8a035d25878e21dc53, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#400) [Pipeline] echo 17:31:11 [semverPrep] This is not a build commit. [Pipeline] sh 17:31:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:31:11 + grep -v github /etc/ssh/ssh_known_hosts 17:31:11 + [ -e /tmp/ssh_known_hosts ] 17:31:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:31:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:31:11 + sudo tee -a /etc/ssh/ssh_known_hosts 17:31:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:31:11 17:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:31:12 0.1.4: Pulling from edgex-devops/py-git-semver 17:31:12 b85a868b505f: Pulling fs layer 17:31:12 e2be974225ed: Pulling fs layer 17:31:12 339a4e72a1f5: Pulling fs layer 17:31:12 988bab9f4d93: Pulling fs layer 17:31:12 1469e6f7b9e6: Pulling fs layer 17:31:12 eaf3925da568: Pulling fs layer 17:31:12 bab4dde63d76: Pulling fs layer 17:31:12 bde34c3a00c8: Pulling fs layer 17:31:12 b352a97aabf1: Pulling fs layer 17:31:12 4872d77fe225: Pulling fs layer 17:31:12 5851b861e8e6: Pulling fs layer 17:31:12 bab4dde63d76: Waiting 17:31:12 bde34c3a00c8: Waiting 17:31:12 b352a97aabf1: Waiting 17:31:12 4872d77fe225: Waiting 17:31:12 5851b861e8e6: Waiting 17:31:12 988bab9f4d93: Waiting 17:31:12 1469e6f7b9e6: Waiting 17:31:12 eaf3925da568: Waiting 17:31:12 e2be974225ed: Download complete 17:31:12 988bab9f4d93: Verifying Checksum 17:31:12 988bab9f4d93: Download complete 17:31:12 1469e6f7b9e6: Verifying Checksum 17:31:12 1469e6f7b9e6: Download complete 17:31:12 eaf3925da568: Verifying Checksum 17:31:12 eaf3925da568: Download complete 17:31:12 339a4e72a1f5: Verifying Checksum 17:31:12 339a4e72a1f5: Download complete 17:31:12 bde34c3a00c8: Verifying Checksum 17:31:12 bde34c3a00c8: Download complete 17:31:12 b352a97aabf1: Verifying Checksum 17:31:12 b352a97aabf1: Download complete 17:31:12 4872d77fe225: Download complete 17:31:12 5851b861e8e6: Verifying Checksum 17:31:12 5851b861e8e6: Download complete 17:31:12 b85a868b505f: Verifying Checksum 17:31:12 b85a868b505f: Download complete 17:31:13 bab4dde63d76: Verifying Checksum 17:31:13 bab4dde63d76: Download complete 17:31:14 b85a868b505f: Pull complete 17:31:14 e2be974225ed: Pull complete 17:31:14 339a4e72a1f5: Pull complete 17:31:14 988bab9f4d93: Pull complete 17:31:15 1469e6f7b9e6: Pull complete 17:31:15 eaf3925da568: Pull complete 17:31:17 bab4dde63d76: Pull complete 17:31:17 bde34c3a00c8: Pull complete 17:31:17 b352a97aabf1: Pull complete 17:31:17 4872d77fe225: Pull complete 17:31:17 5851b861e8e6: Pull complete 17:31:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:31:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:17 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:31:17 $ 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 17:31:21 $ docker top 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf -eo pid,comm 17:31:21 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). 17:31:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:31:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:31:21 [ssh-agent] Looking for ssh-agent implementation... 17:31:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:31:21 $ docker exec 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent 17:31:21 SSH_AUTH_SOCK=/tmp/ssh-d1mPpf3Y360p/agent.32 17:31:21 SSH_AGENT_PID=38 17:31:21 Running ssh-add (command line suppressed) 17:31:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13936475465992973809.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13936475465992973809.key) 17:31:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:31:21 + git tag --points-at HEAD [Pipeline] } 17:31:21 $ docker exec --env ******** --env ******** 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent -k 17:31:21 unset SSH_AUTH_SOCK; 17:31:21 unset SSH_AGENT_PID; 17:31:21 echo Agent pid 38 killed; 17:31:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:31:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:31:21 [ssh-agent] Looking for ssh-agent implementation... 17:31:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:31:22 $ docker exec 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent 17:31:22 SSH_AUTH_SOCK=/tmp/ssh-PtGqMLEuCRBn/agent.70 17:31:22 SSH_AGENT_PID=76 17:31:22 Running ssh-add (command line suppressed) 17:31:22 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6498000954192926773.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6498000954192926773.key) 17:31:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:31:22 + git semver init 17:31:22 2023-01-17 17:31:22,765 [run_init] DEBUG init version:0.0.0 force:False 17:31:22 2023-01-17 17:31:22,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 17:31:22 2023-01-17 17:31:22,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 17:31:22 2023-01-17 17:31:22,767 [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) 17:31:23 2023-01-17 17:31:23,661 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 17:31:23 2023-01-17 17:31:23,662 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 17:31:23 2023-01-17 17:31:23,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:31:23 2023-01-17 17:31:23,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:31:23 3.0.0-dev.6 [Pipeline] } 17:31:23 $ docker exec --env ******** --env ******** 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf ssh-agent -k 17:31:23 unset SSH_AUTH_SOCK; 17:31:23 unset SSH_AGENT_PID; 17:31:23 echo Agent pid 76 killed; 17:31:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:31:24 + git semver [Pipeline] } 17:31:24 $ docker stop --time=1 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf 17:31:25 $ docker rm -f --volumes 037096384accc7236b114ae75048aa2cafd7c1b6b05999850b3a48154ad08adf [Pipeline] // withDockerContainer [Pipeline] sh 17:31:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:31:26 Stashed 1 file(s) [Pipeline] echo 17:31:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 17:31:26 provisioning config files... 17:31:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8479829465120783413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:26 ---> docker-login.sh 17:31:26 nexus3.edgexfoundry.org:10001 17:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:26 Configure a credential helper to remove this warning. See 17:31:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:26 17:31:26 Login Succeeded 17:31:26 nexus3.edgexfoundry.org:10002 17:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:26 Configure a credential helper to remove this warning. See 17:31:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:26 17:31:26 Login Succeeded 17:31:26 nexus3.edgexfoundry.org:10003 17:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:27 Configure a credential helper to remove this warning. See 17:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:27 17:31:27 Login Succeeded 17:31:27 nexus3.edgexfoundry.org:10004 17:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:27 Configure a credential helper to remove this warning. See 17:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:27 17:31:27 Login Succeeded 17:31:27 docker.io 17:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:27 Configure a credential helper to remove this warning. See 17:31:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:27 17:31:27 Login Succeeded 17:31:27 ---> docker-login.sh ends [Pipeline] } 17:31:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:31:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:27 ========================================================= 17:31:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:31:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:31:27 Sending build context to Docker daemon 6.326MB 17:31:27 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:31:27 Step 2/10 : FROM ${BASE} AS builder 17:31:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:31:27 213ec9aee27d: Pulling fs layer 17:31:27 4583459ba037: Pulling fs layer 17:31:27 93c1e223e6f2: Pulling fs layer 17:31:27 53926ce57604: Pulling fs layer 17:31:27 21b2b0c7a3f4: Pulling fs layer 17:31:27 22ff95d597cd: Pulling fs layer 17:31:27 12d6caf4c0d1: Pulling fs layer 17:31:27 96b7cbca73a9: Pulling fs layer 17:31:27 a7acece74701: Pulling fs layer 17:31:27 53926ce57604: Waiting 17:31:27 22ff95d597cd: Waiting 17:31:27 12d6caf4c0d1: Waiting 17:31:27 96b7cbca73a9: Waiting 17:31:27 21b2b0c7a3f4: Waiting 17:31:27 a7acece74701: Waiting 17:31:27 93c1e223e6f2: Verifying Checksum 17:31:27 93c1e223e6f2: Download complete 17:31:28 4583459ba037: Verifying Checksum 17:31:28 4583459ba037: Download complete 17:31:28 21b2b0c7a3f4: Verifying Checksum 17:31:28 21b2b0c7a3f4: Download complete 17:31:28 22ff95d597cd: Verifying Checksum 17:31:28 22ff95d597cd: Download complete 17:31:28 213ec9aee27d: Verifying Checksum 17:31:28 12d6caf4c0d1: Verifying Checksum 17:31:28 12d6caf4c0d1: Download complete 17:31:28 213ec9aee27d: Pull complete 17:31:28 4583459ba037: Pull complete 17:31:28 93c1e223e6f2: Pull complete 17:31:29 a7acece74701: Verifying Checksum 17:31:29 a7acece74701: Download complete 17:31:29 53926ce57604: Verifying Checksum 17:31:29 53926ce57604: Download complete 17:31:29 96b7cbca73a9: Verifying Checksum 17:31:29 96b7cbca73a9: Download complete 17:31:33 53926ce57604: Pull complete 17:31:33 21b2b0c7a3f4: Pull complete 17:31:33 22ff95d597cd: Pull complete 17:31:33 12d6caf4c0d1: Pull complete 17:31:36 96b7cbca73a9: Pull complete 17:31:36 a7acece74701: Pull complete 17:31:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:31:36 ---> db6d94c90886 17:31:36 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:31:41 Still waiting to schedule task 17:31:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ 17:31:43 ---> Running in 94b77294907a 17:31:43 Removing intermediate container 94b77294907a 17:31:43 ---> 3f4e16c48401 17:31:43 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:43 ---> Running in 8501c912aa47 17:31:43 Removing intermediate container 8501c912aa47 17:31:43 ---> bfd8ba36aece 17:31:43 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:31:43 ---> Running in ad6a77cc3b22 17:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:31:43 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:31:43 (2/8) Installing libedit (20210910.3.1-r0) 17:31:43 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:31:43 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:31:43 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:31:43 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:31:43 (7/8) Installing openssh-server (9.0_p1-r2) 17:31:43 (8/8) Installing openssh (9.0_p1-r2) 17:31:43 Executing busybox-1.35.0-r17.trigger 17:31:43 OK: 217 MiB in 59 packages 17:31:44 Removing intermediate container ad6a77cc3b22 17:31:44 ---> a01952f6407e 17:31:44 Step 6/10 : WORKDIR /device-modbus-go 17:31:44 ---> Running in ea917b885976 17:31:44 Removing intermediate container ea917b885976 17:31:44 ---> d845f1924e49 17:31:44 Step 7/10 : COPY go.mod vendor* ./ 17:31:44 ---> 91ab2fac1683 17:31:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:44 ---> Running in 37f0c5dbf527 17:32:16 Removing intermediate container 37f0c5dbf527 17:32:16 ---> bb7b0b70eff2 17:32:16 Step 9/10 : COPY . . 17:32:17 ---> 133126add571 17:32:17 Step 10/10 : RUN ${MAKE} 17:32:17 ---> Running in 4023e4bd5310 17:32:18 noop 17:32:18 Removing intermediate container 4023e4bd5310 17:32:18 ---> af4c058c670c 17:32:18 Successfully built af4c058c670c 17:32:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:18 + docker inspect -f . ci-base-image-x86_64 17:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:18 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:32:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:32:19 $ docker top 574a3436ee56b18fe3dd290252ec698890ecdb512a1a152c4d8cf27ccfdea907 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:19 + go version 17:32:19 go version go1.18.7 linux/amd64 [Pipeline] } 17:32:19 $ docker stop --time=1 574a3436ee56b18fe3dd290252ec698890ecdb512a1a152c4d8cf27ccfdea907 17:32:20 $ docker rm -f --volumes 574a3436ee56b18fe3dd290252ec698890ecdb512a1a152c4d8cf27ccfdea907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:21 + docker inspect -f . ci-base-image-x86_64 17:32:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:21 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 17:32:21 $ docker top fd852ee5110efe1e18514ab4719b14cf77f2bc9504e8d90ea4b6290b9c6ce6f5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 17:32:22 + make test 17:32:22 go test ./... -coverprofile=coverage.out 17:32:22 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:32:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:32:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.029s coverage: 47.7% of statements 17:32:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:32:40 go vet ./... 17:32:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:32:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:32:44 ./bin/test-attribution-txt.sh [Pipeline] echo 17:32:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:32:44 $ docker stop --time=1 fd852ee5110efe1e18514ab4719b14cf77f2bc9504e8d90ea4b6290b9c6ce6f5 17:32:47 $ docker rm -f --volumes fd852ee5110efe1e18514ab4719b14cf77f2bc9504e8d90ea4b6290b9c6ce6f5 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:32:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:49 + ls -al . 17:32:49 total 196 17:32:49 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:32 . 17:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 .. 17:32:49 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 17:31 .dockerignore 17:32:49 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:32 .git 17:32:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 .github 17:32:49 -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 17:31 .gitignore 17:32:49 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:31 .golangci.yml 17:32:49 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:31 .semver 17:32:49 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 17 17:31 Attribution.txt 17:32:49 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 17 17:31 CHANGELOG.md 17:32:49 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 17 17:31 Dockerfile 17:32:49 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:31 GOVERNANCE.md 17:32:49 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:31 Jenkinsfile 17:32:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:31 LICENSE 17:32:49 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 17 17:31 Makefile 17:32:49 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 17:31 OWNERS.md 17:32:49 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 17 17:31 README.md 17:32:49 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:31 VERSION 17:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:31 bin 17:32:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 cmd 17:32:49 -rw-r--r-- 1 jenkins jenkins 23241 Jan 17 17:32 coverage.out 17:32:49 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 17 17:31 go.mod 17:32:49 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 17 17:31 go.sum 17:32:49 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:31 internal 17:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:31 simulator 17:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:31 snap 17:32:49 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:49 + 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=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 --label arch=amd64 --label version=3.0.0-dev.6 . 17:32:49 Sending build context to Docker daemon 6.35MB 17:32:49 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:32:49 Step 2/22 : FROM ${BASE} AS builder 17:32:49 ---> af4c058c670c 17:32:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:32:49 ---> Running in 368b75bfda06 17:32:49 Removing intermediate container 368b75bfda06 17:32:49 ---> fdd59f8c9a7b 17:32:49 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:49 ---> Running in cdef36c8167d 17:32:49 Removing intermediate container cdef36c8167d 17:32:49 ---> 09f428524a06 17:32:49 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:32:49 ---> Running in 9b9cc9b814e2 17:32:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:32:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:32:50 OK: 217 MiB in 59 packages 17:32:51 Removing intermediate container 9b9cc9b814e2 17:32:51 ---> 1a7087e8f5fb 17:32:51 Step 6/22 : WORKDIR /device-modbus-go 17:32:51 ---> Running in c3459e9bf48b 17:32:52 Removing intermediate container c3459e9bf48b 17:32:52 ---> d90345e07428 17:32:52 Step 7/22 : COPY go.mod vendor* ./ 17:32:52 ---> fe0d618f7f2b 17:32:52 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:53 ---> Running in 00ea4aa78a83 17:32:54 Removing intermediate container 00ea4aa78a83 17:32:54 ---> 1a4f559d52af 17:32:54 Step 9/22 : COPY . . 17:32:54 ---> 381e1c5b62d9 17:32:54 Step 10/22 : RUN ${MAKE} 17:32:54 ---> Running in e294fe25d6e6 17:32:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:33:22 Removing intermediate container e294fe25d6e6 17:33:22 ---> a44ecd9f3700 17:33:22 Step 11/22 : FROM alpine:3.14 17:33:22 3.14: Pulling from library/alpine 17:33:22 c7ed990a2339: Pulling fs layer 17:33:22 c7ed990a2339: Verifying Checksum 17:33:22 c7ed990a2339: Download complete 17:33:22 c7ed990a2339: Pull complete 17:33:22 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 17:33:22 Status: Downloaded newer image for alpine:3.14 17:33:22 ---> dd53f409bf0b 17:33:22 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:33:22 ---> Running in 43ca3bf51f12 17:33:22 Removing intermediate container 43ca3bf51f12 17:33:22 ---> d7b6f910d0bf 17:33:22 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:33:22 ---> Running in 5a3e8715090f 17:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:33:22 (1/1) Installing dumb-init (1.2.5-r1) 17:33:22 Executing busybox-1.33.1-r8.trigger 17:33:22 OK: 6 MiB in 15 packages 17:33:22 Removing intermediate container 5a3e8715090f 17:33:22 ---> 9798f30fc228 17:33:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:33:22 ---> 1084b42cf2b0 17:33:22 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:33:23 ---> 8073d79feea3 17:33:23 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:33:23 ---> 583fea1d9688 17:33:23 Step 17/22 : EXPOSE 59901 17:33:23 ---> Running in ee352388a615 17:33:23 Removing intermediate container ee352388a615 17:33:23 ---> 86a5da3a7441 17:33:23 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:33:23 ---> Running in 092dcbbd0b65 17:33:23 Removing intermediate container 092dcbbd0b65 17:33:23 ---> 2cc6c4e4fa64 17:33:23 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:33:23 ---> Running in b64fc4cb30a4 17:33:23 Removing intermediate container b64fc4cb30a4 17:33:23 ---> f672faf73880 17:33:23 Step 20/22 : LABEL arch=amd64 17:33:23 ---> Running in 48cf468da026 17:33:23 Removing intermediate container 48cf468da026 17:33:23 ---> b6d327b6446c 17:33:23 Step 21/22 : LABEL git_sha=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:33:23 ---> Running in edcedd51c133 17:33:23 Removing intermediate container edcedd51c133 17:33:23 ---> 64834196c02c 17:33:23 Step 22/22 : LABEL version=3.0.0-dev.6 17:33:23 ---> Running in bd7bcb5d21fd 17:33:23 Removing intermediate container bd7bcb5d21fd 17:33:23 ---> e8f236d2e739 17:33:23 [Warning] One or more build-args [ARCH] were not consumed 17:33:23 Successfully built e8f236d2e739 17:33:23 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:23 provisioning config files... 17:33:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7926196377158014141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:24 ---> docker-login.sh 17:33:24 nexus3.edgexfoundry.org:10001 17:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:24 Configure a credential helper to remove this warning. See 17:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:24 17:33:24 Login Succeeded 17:33:24 nexus3.edgexfoundry.org:10002 17:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:24 Configure a credential helper to remove this warning. See 17:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:24 17:33:24 Login Succeeded 17:33:24 nexus3.edgexfoundry.org:10003 17:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:24 Configure a credential helper to remove this warning. See 17:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:24 17:33:24 Login Succeeded 17:33:24 nexus3.edgexfoundry.org:10004 17:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:24 Configure a credential helper to remove this warning. See 17:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:24 17:33:24 Login Succeeded 17:33:24 docker.io 17:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:24 Configure a credential helper to remove this warning. See 17:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:24 17:33:24 Login Succeeded 17:33:24 ---> docker-login.sh ends [Pipeline] } 17:33:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:24 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 17:33:24 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:33:24 latest 17:33:24 3.0.0-dev.6 17:33:24 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 17:33:24 main 17:33:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:25 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:33:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:33:25 1c9ea21937a6: Preparing 17:33:25 7ab98050615c: Preparing 17:33:25 de1a67f0c7e0: Preparing 17:33:25 2f53b862fa1b: Preparing 17:33:25 63493a9ab2d4: Preparing 17:33:25 63493a9ab2d4: Layer already exists 17:33:25 2f53b862fa1b: Pushed 17:33:25 1c9ea21937a6: Pushed 17:33:25 7ab98050615c: Pushed 17:33:27 de1a67f0c7e0: Pushed 17:33:28 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 17:33:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:33:28 1c9ea21937a6: Preparing 17:33:28 7ab98050615c: Preparing 17:33:28 de1a67f0c7e0: Preparing 17:33:28 2f53b862fa1b: Preparing 17:33:28 63493a9ab2d4: Preparing 17:33:28 7ab98050615c: Layer already exists 17:33:28 1c9ea21937a6: Layer already exists 17:33:28 de1a67f0c7e0: Layer already exists 17:33:28 63493a9ab2d4: Layer already exists 17:33:28 2f53b862fa1b: Layer already exists 17:33:28 latest: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:29 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.6 17:33:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:33:29 1c9ea21937a6: Preparing 17:33:29 7ab98050615c: Preparing 17:33:29 de1a67f0c7e0: Preparing 17:33:29 2f53b862fa1b: Preparing 17:33:29 63493a9ab2d4: Preparing 17:33:29 1c9ea21937a6: Layer already exists 17:33:29 de1a67f0c7e0: Layer already exists 17:33:29 63493a9ab2d4: Layer already exists 17:33:29 7ab98050615c: Layer already exists 17:33:29 2f53b862fa1b: Layer already exists 17:33:29 3.0.0-dev.6: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 17:33:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:33:30 1c9ea21937a6: Preparing 17:33:30 7ab98050615c: Preparing 17:33:30 de1a67f0c7e0: Preparing 17:33:30 2f53b862fa1b: Preparing 17:33:30 63493a9ab2d4: Preparing 17:33:30 1c9ea21937a6: Layer already exists 17:33:30 63493a9ab2d4: Layer already exists 17:33:30 7ab98050615c: Layer already exists 17:33:30 2f53b862fa1b: Layer already exists 17:33:30 de1a67f0c7e0: Layer already exists 17:33:30 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 17:33:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 17:33:30 1c9ea21937a6: Preparing 17:33:30 7ab98050615c: Preparing 17:33:30 de1a67f0c7e0: Preparing 17:33:30 2f53b862fa1b: Preparing 17:33:30 63493a9ab2d4: Preparing 17:33:30 1c9ea21937a6: Layer already exists 17:33:30 2f53b862fa1b: Layer already exists 17:33:30 7ab98050615c: Layer already exists 17:33:30 de1a67f0c7e0: Layer already exists 17:33:30 63493a9ab2d4: Layer already exists 17:33:30 main: digest: sha256:9c30032bd5272b05b2c0bbc545a1649b047cc4242bb2e37b247882eb88093f2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:30 ===================================================== [Pipeline] echo 17:33:30 taggedImages: 17:33:30 - nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:33:30 - nexus3.edgexfoundry.org:10004/device-modbus:latest 17:33:30 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.6 17:33:30 - nexus3.edgexfoundry.org:10004/device-modbus:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 17:33:30 - 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 17:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:33:31 17:33:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:33:31 latest: Pulling from edgex-lftools-log-publisher 17:33:31 5eb5b503b376: Pulling fs layer 17:33:31 5c69ac0246d0: Pulling fs layer 17:33:31 ec43610c2a17: Pulling fs layer 17:33:31 3a2ae6a8a46f: Pulling fs layer 17:33:31 33b1e0a273af: Pulling fs layer 17:33:31 5d3b04190fa2: Pulling fs layer 17:33:31 2f39f015ded8: Pulling fs layer 17:33:31 33b1e0a273af: Waiting 17:33:31 5d3b04190fa2: Waiting 17:33:31 3a2ae6a8a46f: Waiting 17:33:31 2f39f015ded8: Waiting 17:33:31 5c69ac0246d0: Download complete 17:33:31 3a2ae6a8a46f: Verifying Checksum 17:33:31 3a2ae6a8a46f: Download complete 17:33:31 33b1e0a273af: Verifying Checksum 17:33:31 33b1e0a273af: Download complete 17:33:31 5d3b04190fa2: Verifying Checksum 17:33:31 5d3b04190fa2: Download complete 17:33:31 ec43610c2a17: Verifying Checksum 17:33:31 ec43610c2a17: Download complete 17:33:32 5eb5b503b376: Verifying Checksum 17:33:32 5eb5b503b376: Download complete 17:33:32 2f39f015ded8: Download complete 17:33:33 5eb5b503b376: Pull complete 17:33:33 5c69ac0246d0: Pull complete 17:33:34 ec43610c2a17: Pull complete 17:33:34 3a2ae6a8a46f: Pull complete 17:33:34 33b1e0a273af: Pull complete 17:33:34 5d3b04190fa2: Pull complete 17:33:38 2f39f015ded8: Pull complete 17:33:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:33:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:33:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:39 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:33:39 $ 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 17:33:43 $ docker top 3a08c172a0fbdac40fb66c2071657a66aff206e27755517e08708f07e1c55d0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:44 ---> job-cost.sh 17:33:44 lf-activate-venv: SKIPPING 17:33:44 INFO: No Stack... 17:33:44 INFO: Retrieving Pricing Info for: v3-standard-8 17:33:44 INFO: Archiving Costs [Pipeline] sh 17:33:45 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 17:33:45 + cut -d, -f6 [Pipeline] lock 17:33:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] 17:33:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] did not exist. Created. 17:33:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:33:45 + echo total: 0.2199999988079071 [Pipeline] stash 17:33:45 Stashed 1 file(s) [Pipeline] } 17:33:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 17:33:45 $ docker stop --time=1 3a08c172a0fbdac40fb66c2071657a66aff206e27755517e08708f07e1c55d0c 17:33:46 $ docker rm -f --volumes 3a08c172a0fbdac40fb66c2071657a66aff206e27755517e08708f07e1c55d0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:34:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2751 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 17:34:25 Running in /w/workspace/device-modbus-go/72 [Pipeline] { [Pipeline] checkout 17:34:25 Selected Git installation does not exist. Using Default 17:34:25 The recommended git tool is: NONE 17:34:31 using credential edgex-jenkins-ssh 17:34:31 Cloning the remote Git repository 17:34:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 17:34:31 > git init /w/workspace/device-modbus-go/72 # timeout=10 17:34:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 17:34:31 > git --version # timeout=10 17:34:31 > git --version # 'git version 2.25.1' 17:34:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:34:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 17:34:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:33 Avoid second fetch 17:34:33 Checking out Revision bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (main) 17:34:33 > git config core.sparsecheckout # timeout=10 17:34:33 > git checkout -f bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 17:34:34 Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#400)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:34:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:34:35 Dload Upload Total Spent Left Speed 17:34:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 17:34:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:34:36 + sudo tee /etc/docker/daemon.new 17:34:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:34:36 { 17:34:36 "registry-mirrors": [ 17:34:36 "https://nexus3.edgexfoundry.org:10001" 17:34:36 ], 17:34:36 "bip": "10.250.0.254/24", 17:34:36 "hosts": [ 17:34:36 "tcp://0.0.0.0:5555", 17:34:36 "unix:///var/run/docker.sock" 17:34:36 ], 17:34:36 "mtu": 1458, 17:34:36 "selinux-enabled": true, 17:34:36 "seccomp-profile": "/etc/docker/seccomp.json" 17:34:36 } [Pipeline] sh 17:34:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:34:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:55 provisioning config files... 17:34:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/72@tmp/config5078483854360039620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:55 ---> docker-login.sh 17:34:55 nexus3.edgexfoundry.org:10001 17:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:56 Configure a credential helper to remove this warning. See 17:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:56 17:34:56 Login Succeeded 17:34:56 nexus3.edgexfoundry.org:10002 17:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:56 Configure a credential helper to remove this warning. See 17:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:56 17:34:56 Login Succeeded 17:34:56 nexus3.edgexfoundry.org:10003 17:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:57 Configure a credential helper to remove this warning. See 17:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:57 17:34:57 Login Succeeded 17:34:57 nexus3.edgexfoundry.org:10004 17:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:57 Configure a credential helper to remove this warning. See 17:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:57 17:34:57 Login Succeeded 17:34:57 docker.io 17:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:57 Configure a credential helper to remove this warning. See 17:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:57 17:34:57 Login Succeeded 17:34:57 ---> docker-login.sh ends [Pipeline] } 17:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:34:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:58 ========================================================= 17:34:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:34:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:34:58 Sending build context to Docker daemon 3.298MB 17:34:58 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:34:58 Step 2/10 : FROM ${BASE} AS builder 17:34:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:34:59 9b18e9b68314: Pulling fs layer 17:34:59 35d82f9e3411: Pulling fs layer 17:34:59 e16973657156: Pulling fs layer 17:34:59 fc693d55d65f: Pulling fs layer 17:34:59 fc693d55d65f: Waiting 17:34:59 7e9fc2657dce: Pulling fs layer 17:34:59 dda99020689f: Pulling fs layer 17:34:59 db1c61fa0a46: Pulling fs layer 17:34:59 891c053d2c06: Pulling fs layer 17:34:59 7e9fc2657dce: Waiting 17:34:59 db1c61fa0a46: Waiting 17:34:59 891c053d2c06: Waiting 17:34:59 dda99020689f: Waiting 17:34:59 e16973657156: Verifying Checksum 17:34:59 e16973657156: Download complete 17:34:59 35d82f9e3411: Verifying Checksum 17:34:59 35d82f9e3411: Download complete 17:34:59 7e9fc2657dce: Verifying Checksum 17:34:59 7e9fc2657dce: Download complete 17:34:59 dda99020689f: Verifying Checksum 17:34:59 dda99020689f: Download complete 17:34:59 9b18e9b68314: Verifying Checksum 17:34:59 9b18e9b68314: Download complete 17:35:00 9b18e9b68314: Pull complete 17:35:00 891c053d2c06: Verifying Checksum 17:35:00 891c053d2c06: Download complete 17:35:01 35d82f9e3411: Pull complete 17:35:01 e16973657156: Pull complete 17:35:01 db1c61fa0a46: Verifying Checksum 17:35:01 db1c61fa0a46: Download complete 17:35:02 fc693d55d65f: Verifying Checksum 17:35:02 fc693d55d65f: Download complete 17:35:20 fc693d55d65f: Pull complete 17:35:20 7e9fc2657dce: Pull complete 17:35:20 dda99020689f: Pull complete 17:35:24 db1c61fa0a46: Pull complete 17:35:26 891c053d2c06: Pull complete 17:35:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:35:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:35:26 ---> f96f9c87975a 17:35:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 17:35:28 ---> Running in a9e9b17c1295 17:35:29 Removing intermediate container a9e9b17c1295 17:35:29 ---> dff1569b8a0d 17:35:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:29 ---> Running in aec8b17d8e01 17:35:29 Removing intermediate container aec8b17d8e01 17:35:29 ---> bbd78e9357e1 17:35:29 Step 5/10 : RUN apk add --update --no-cache make git openssh 17:35:29 ---> Running in 939dc0260a0d 17:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:35:32 (1/8) Installing openssh-keygen (9.0_p1-r2) 17:35:32 (2/8) Installing libedit (20210910.3.1-r0) 17:35:32 (3/8) Installing openssh-client-common (9.0_p1-r2) 17:35:32 (4/8) Installing openssh-client-default (9.0_p1-r2) 17:35:32 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 17:35:32 (6/8) Installing openssh-server-common (9.0_p1-r2) 17:35:32 (7/8) Installing openssh-server (9.0_p1-r2) 17:35:32 (8/8) Installing openssh (9.0_p1-r2) 17:35:32 Executing busybox-1.35.0-r17.trigger 17:35:32 OK: 228 MiB in 59 packages 17:35:33 Removing intermediate container 939dc0260a0d 17:35:33 ---> df9e434abbcb 17:35:33 Step 6/10 : WORKDIR /device-modbus-go 17:35:33 ---> Running in 4d85f2d4ba1e 17:35:34 Removing intermediate container 4d85f2d4ba1e 17:35:34 ---> 958b976e2523 17:35:34 Step 7/10 : COPY go.mod vendor* ./ 17:35:34 ---> 3aba21ce01b3 17:35:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:34 ---> Running in 84ae44c0b899 17:36:42 Removing intermediate container 84ae44c0b899 17:36:42 ---> fdf8eef0ce7b 17:36:42 Step 9/10 : COPY . . 17:36:42 ---> a67a27b05878 17:36:42 Step 10/10 : RUN ${MAKE} 17:36:42 ---> Running in c5438e5adfb6 17:36:42 noop 17:36:42 Removing intermediate container c5438e5adfb6 17:36:42 ---> 5b5a488c4a8f 17:36:42 Successfully built 5b5a488c4a8f 17:36:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:43 + docker inspect -f . ci-base-image-arm64 17:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:43 prd-ubuntu20.04-docker-arm64-4c-16g-2751 does not seem to be running inside a container 17:36:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/72 -v /w/workspace/device-modbus-go/72:/w/workspace/device-modbus-go/72:rw,z -v /w/workspace/device-modbus-go/72@tmp:/w/workspace/device-modbus-go/72@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 17:36:44 $ docker top 172ce877c273fc918ef5f40bf8e474a042344e6864da678a2453fe520d47ba0f -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:45 + go version 17:36:45 go version go1.18.7 linux/arm64 [Pipeline] } 17:36:45 $ docker stop --time=1 172ce877c273fc918ef5f40bf8e474a042344e6864da678a2453fe520d47ba0f 17:36:47 $ docker rm -f --volumes 172ce877c273fc918ef5f40bf8e474a042344e6864da678a2453fe520d47ba0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:47 + docker inspect -f . ci-base-image-arm64 17:36:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:47 prd-ubuntu20.04-docker-arm64-4c-16g-2751 does not seem to be running inside a container 17:36:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/72 -v /w/workspace/device-modbus-go/72:/w/workspace/device-modbus-go/72:rw,z -v /w/workspace/device-modbus-go/72@tmp:/w/workspace/device-modbus-go/72@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 17:36:49 $ docker top 05790a0081d991b888c834a45061ce6648cbd8089b2b51ba903408e959abc3ab -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:50 + git config --global --add safe.directory /w/workspace/device-modbus-go/72 [Pipeline] fileExists [Pipeline] sh 17:36:50 + make test 17:36:50 go test ./... -coverprofile=coverage.out 17:36:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 17:38:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 17:38:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.7% of statements 17:38:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:38:29 go vet ./... 17:39:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:39:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:39:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:39:08 $ docker stop --time=1 05790a0081d991b888c834a45061ce6648cbd8089b2b51ba903408e959abc3ab 17:39:10 $ docker rm -f --volumes 05790a0081d991b888c834a45061ce6648cbd8089b2b51ba903408e959abc3ab [Pipeline] // withDockerContainer [Pipeline] sh 17:39:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:39:11 Warning: overwriting stash ‘coverage-report’ 17:39:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:39:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:39:13 + ls -al . 17:39:13 total 192 17:39:13 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:36 . 17:39:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 .. 17:39:13 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 17:34 .dockerignore 17:39:13 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:34 .git 17:39:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 .github 17:39:13 -rw-rw-r-- 1 jenkins jenkins 331 Jan 17 17:34 .gitignore 17:39:13 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:34 .golangci.yml 17:39:13 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 17 17:34 Attribution.txt 17:39:13 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 17 17:34 CHANGELOG.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 17 17:34 Dockerfile 17:39:13 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:34 GOVERNANCE.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 17:34 Jenkinsfile 17:39:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:34 LICENSE 17:39:13 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 17 17:34 Makefile 17:39:13 -rw-rw-r-- 1 jenkins jenkins 622 Jan 17 17:34 OWNERS.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 17 17:34 README.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:31 VERSION 17:39:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:34 bin 17:39:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 cmd 17:39:13 -rw-r--r-- 1 jenkins jenkins 23241 Jan 17 17:38 coverage.out 17:39:13 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 17 17:34 go.mod 17:39:13 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 17 17:34 go.sum 17:39:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:34 internal 17:39:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:34 simulator 17:39:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:34 snap 17:39:13 -rw-rw-r-- 1 jenkins jenkins 229 Jan 17 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:13 + 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=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 --label arch=arm64 --label version=3.0.0-dev.6 . 17:39:14 Sending build context to Docker daemon 3.322MB 17:39:14 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 17:39:14 Step 2/22 : FROM ${BASE} AS builder 17:39:14 ---> 5b5a488c4a8f 17:39:14 Step 3/22 : ARG ADD_BUILD_TAGS="" 17:39:14 ---> Running in c77e93e2629e 17:39:14 Removing intermediate container c77e93e2629e 17:39:14 ---> 6b7af446f867 17:39:14 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:39:15 ---> Running in bb7209632262 17:39:15 Removing intermediate container bb7209632262 17:39:15 ---> 1e5c2a0a4b51 17:39:15 Step 5/22 : RUN apk add --update --no-cache make git openssh 17:39:15 ---> Running in 21637be68167 17:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:39:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:39:18 OK: 228 MiB in 59 packages 17:39:20 Removing intermediate container 21637be68167 17:39:20 ---> 87e8d75a829e 17:39:20 Step 6/22 : WORKDIR /device-modbus-go 17:39:20 ---> Running in 16ab16cbe650 17:39:21 Removing intermediate container 16ab16cbe650 17:39:21 ---> 600e27d94131 17:39:21 Step 7/22 : COPY go.mod vendor* ./ 17:39:22 ---> bec1ca4fc387 17:39:22 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:22 ---> Running in 257acac8004e 17:39:25 Removing intermediate container 257acac8004e 17:39:25 ---> 84e3a81b77c4 17:39:25 Step 9/22 : COPY . . 17:39:26 ---> 42aa16bcdc7c 17:39:26 Step 10/22 : RUN ${MAKE} 17:39:26 ---> Running in 4796c90428ab 17:39:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 17:42:03 Removing intermediate container 4796c90428ab 17:42:03 ---> 16f6e9968a35 17:42:03 Step 11/22 : FROM alpine:3.14 17:42:03 3.14: Pulling from library/alpine 17:42:03 90cda3b7c325: Pulling fs layer 17:42:03 90cda3b7c325: Verifying Checksum 17:42:03 90cda3b7c325: Download complete 17:42:03 90cda3b7c325: Pull complete 17:42:03 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 17:42:03 Status: Downloaded newer image for alpine:3.14 17:42:03 ---> 275902a1839d 17:42:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 17:42:04 ---> Running in 5862834f4b0c 17:42:04 Removing intermediate container 5862834f4b0c 17:42:04 ---> d2110505e9e0 17:42:04 Step 13/22 : RUN apk add --update --no-cache dumb-init 17:42:04 ---> Running in 9d05cda9088b 17:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:42:07 (1/1) Installing dumb-init (1.2.5-r1) 17:42:07 Executing busybox-1.33.1-r8.trigger 17:42:07 OK: 6 MiB in 15 packages 17:42:08 Removing intermediate container 9d05cda9088b 17:42:08 ---> 16615538c019 17:42:08 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 17:42:09 ---> 1a8d85751642 17:42:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 17:42:10 ---> 562ebe8b253c 17:42:10 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 17:42:10 ---> f895e8a5d5c9 17:42:10 Step 17/22 : EXPOSE 59901 17:42:10 ---> Running in f4764a51242e 17:42:11 Removing intermediate container f4764a51242e 17:42:11 ---> 202cad040c29 17:42:11 Step 18/22 : ENTRYPOINT ["/device-modbus"] 17:42:11 ---> Running in 834d41b5cadf 17:42:11 Removing intermediate container 834d41b5cadf 17:42:11 ---> ab832e243844 17:42:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:42:11 ---> Running in 77388aa17e13 17:42:11 Removing intermediate container 77388aa17e13 17:42:11 ---> 826abe8cb0ac 17:42:11 Step 20/22 : LABEL arch=arm64 17:42:11 ---> Running in cb8d20fab064 17:42:12 Removing intermediate container cb8d20fab064 17:42:12 ---> a46b76715d4f 17:42:12 Step 21/22 : LABEL git_sha=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:42:12 ---> Running in f3871a0ad4ed 17:42:12 Removing intermediate container f3871a0ad4ed 17:42:12 ---> d0d0eec6c6ce 17:42:12 Step 22/22 : LABEL version=3.0.0-dev.6 17:42:12 ---> Running in 7ff64748f535 17:42:13 Removing intermediate container 7ff64748f535 17:42:13 ---> 2be1d1967300 17:42:13 [Warning] One or more build-args [ARCH] were not consumed 17:42:13 Successfully built 2be1d1967300 17:42:13 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 17:42:13 provisioning config files... 17:42:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/72@tmp/config4320035890159355687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:13 ---> docker-login.sh 17:42:13 nexus3.edgexfoundry.org:10001 17:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:14 Configure a credential helper to remove this warning. See 17:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:14 17:42:14 Login Succeeded 17:42:14 nexus3.edgexfoundry.org:10002 17:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:14 Configure a credential helper to remove this warning. See 17:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:14 17:42:14 Login Succeeded 17:42:14 nexus3.edgexfoundry.org:10003 17:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:14 Configure a credential helper to remove this warning. See 17:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:14 17:42:14 Login Succeeded 17:42:14 nexus3.edgexfoundry.org:10004 17:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:15 Configure a credential helper to remove this warning. See 17:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:15 17:42:15 Login Succeeded 17:42:15 docker.io 17:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:15 Configure a credential helper to remove this warning. See 17:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:15 17:42:15 Login Succeeded 17:42:15 ---> docker-login.sh ends [Pipeline] } 17:42:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:42:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:16 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 17:42:16 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:42:16 latest 17:42:16 3.0.0-dev.6 17:42:16 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 17:42:16 main 17:42:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:42:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:42:17 69699f24338e: Preparing 17:42:17 90387c3b0a8e: Preparing 17:42:17 56aecb4a0214: Preparing 17:42:17 cbc8994a6160: Preparing 17:42:17 28c3ef001483: Preparing 17:42:17 28c3ef001483: Layer already exists 17:42:17 69699f24338e: Pushed 17:42:17 90387c3b0a8e: Pushed 17:42:17 cbc8994a6160: Pushed 17:42:24 56aecb4a0214: Pushed 17:42:24 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:24 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:42:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:42:25 69699f24338e: Preparing 17:42:25 90387c3b0a8e: Preparing 17:42:25 56aecb4a0214: Preparing 17:42:25 cbc8994a6160: Preparing 17:42:25 28c3ef001483: Preparing 17:42:25 28c3ef001483: Layer already exists 17:42:25 56aecb4a0214: Layer already exists 17:42:25 69699f24338e: Layer already exists 17:42:25 90387c3b0a8e: Layer already exists 17:42:25 cbc8994a6160: Layer already exists 17:42:25 latest: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.6 17:42:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:42:26 69699f24338e: Preparing 17:42:26 90387c3b0a8e: Preparing 17:42:26 56aecb4a0214: Preparing 17:42:26 cbc8994a6160: Preparing 17:42:26 28c3ef001483: Preparing 17:42:26 69699f24338e: Layer already exists 17:42:26 28c3ef001483: Layer already exists 17:42:26 56aecb4a0214: Layer already exists 17:42:26 90387c3b0a8e: Layer already exists 17:42:26 cbc8994a6160: Layer already exists 17:42:26 3.0.0-dev.6: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:26 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 17:42:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:42:27 69699f24338e: Preparing 17:42:27 90387c3b0a8e: Preparing 17:42:27 56aecb4a0214: Preparing 17:42:27 cbc8994a6160: Preparing 17:42:27 28c3ef001483: Preparing 17:42:27 28c3ef001483: Layer already exists 17:42:27 69699f24338e: Layer already exists 17:42:27 56aecb4a0214: Layer already exists 17:42:27 cbc8994a6160: Layer already exists 17:42:27 90387c3b0a8e: Layer already exists 17:42:27 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:27 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 17:42:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 17:42:28 69699f24338e: Preparing 17:42:28 90387c3b0a8e: Preparing 17:42:28 56aecb4a0214: Preparing 17:42:28 cbc8994a6160: Preparing 17:42:28 28c3ef001483: Preparing 17:42:28 28c3ef001483: Layer already exists 17:42:28 69699f24338e: Layer already exists 17:42:28 90387c3b0a8e: Layer already exists 17:42:28 56aecb4a0214: Layer already exists 17:42:28 cbc8994a6160: Layer already exists 17:42:28 main: digest: sha256:e48c6b33457b1c490373a491e5979c1e5d7d9078f380a0c7a2e77b320daaca97 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:42:28 ===================================================== [Pipeline] echo 17:42:28 taggedImages: 17:42:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 17:42:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 17:42:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.6 17:42:28 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:bb2f4bd64c3941eb86d6cd8a035d25878e21dc53-3.0.0-dev.6 17:42:28 - 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 17:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:28 17:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:29 arm64: Pulling from edgex-lftools-log-publisher 17:42:29 8998bd30e6a1: Pulling fs layer 17:42:29 04944245beec: Pulling fs layer 17:42:29 699f458cf7ca: Pulling fs layer 17:42:29 765212b225bb: Pulling fs layer 17:42:29 f23df028b6ca: Pulling fs layer 17:42:29 d65c8cfc05b1: Pulling fs layer 17:42:29 2437ff75d9bd: Pulling fs layer 17:42:29 f23df028b6ca: Waiting 17:42:29 d65c8cfc05b1: Waiting 17:42:29 2437ff75d9bd: Waiting 17:42:29 765212b225bb: Waiting 17:42:29 04944245beec: Verifying Checksum 17:42:29 04944245beec: Download complete 17:42:29 765212b225bb: Verifying Checksum 17:42:29 765212b225bb: Download complete 17:42:29 f23df028b6ca: Verifying Checksum 17:42:29 f23df028b6ca: Download complete 17:42:29 d65c8cfc05b1: Verifying Checksum 17:42:29 d65c8cfc05b1: Download complete 17:42:29 699f458cf7ca: Verifying Checksum 17:42:29 699f458cf7ca: Download complete 17:42:29 8998bd30e6a1: Verifying Checksum 17:42:29 8998bd30e6a1: Download complete 17:42:32 2437ff75d9bd: Download complete 17:42:33 8998bd30e6a1: Pull complete 17:42:34 04944245beec: Pull complete 17:42:35 699f458cf7ca: Pull complete 17:42:36 765212b225bb: Pull complete 17:42:36 f23df028b6ca: Pull complete 17:42:37 d65c8cfc05b1: Pull complete 17:42:52 2437ff75d9bd: Pull complete 17:42:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:52 prd-ubuntu20.04-docker-arm64-4c-16g-2751 does not seem to be running inside a container 17:42:52 $ 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/72 -v /w/workspace/device-modbus-go/72:/w/workspace/device-modbus-go/72:rw,z -v /w/workspace/device-modbus-go/72@tmp:/w/workspace/device-modbus-go/72@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 17:42:55 $ docker top 430aa74170299dd29c98ec5d65146a03f2be844481bb97996344c0d03d01a6ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:56 ---> job-cost.sh 17:42:56 lf-activate-venv: SKIPPING 17:42:56 INFO: No Stack... 17:42:56 INFO: Retrieving Pricing Info for: v3-standard-4 17:42:57 INFO: Archiving Costs [Pipeline] sh 17:42:58 + cat /w/workspace/device-modbus-go/72/archives/cost.csv 17:42:58 + cut -d, -f6 [Pipeline] lock 17:42:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] 17:42:58 Resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] did not exist. Created. 17:42:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:42:59 /w/workspace/device-modbus-go/72@tmp/durable-2cc9e3a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:42:59 + echo total: 0.10999999940395355 [Pipeline] stash 17:42:59 Warning: overwriting stash ‘stack-cost’ 17:42:59 Stashed 1 file(s) [Pipeline] } 17:42:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 17:42:59 $ docker stop --time=1 430aa74170299dd29c98ec5d65146a03f2be844481bb97996344c0d03d01a6ce 17:43:01 $ docker rm -f --volumes 430aa74170299dd29c98ec5d65146a03f2be844481bb97996344c0d03d01a6ce [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 17:43:02 provisioning config files... 17:43:02 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13159808861521362358tmp [Pipeline] { [Pipeline] sh 17:43:02 + set +x 17:43:02 + + curl -sbash https://codecov.io/bash -s 17:43:02 -- 17:43:02 17:43:02 _____ _ 17:43:02 / ____| | | 17:43:02 | | ___ __| | ___ ___ _____ __ 17:43:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:43:02 | |___| (_) | (_| | __/ (_| (_) \ V / 17:43:02 \_____\___/ \__,_|\___|\___\___/ \_/ 17:43:02 Bash-1.0.6 17:43:02 17:43:02 17:43:02 ==> git version 2.25.1 found 17:43:02 ==> 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 17:43:02 Release-Date: 2020-01-08 17:43:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:43:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:43:02 ==> Jenkins CI detected. 17:43:02 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 17:43:02 project root: . 17:43:02 --> token set from env 17:43:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:43:02 ==> Running gcov in . (disable via -X gcov) 17:43:02 ==> Python coveragepy not found 17:43:02 ==> Searching for coverage reports in: 17:43:02 + . 17:43:02 -> Found 1 reports 17:43:02 ==> Detecting git/mercurial file structure 17:43:02 ==> Reading reports 17:43:02 + ./coverage.out bytes=23241 17:43:02 ==> Appending adjustments 17:43:02 https://docs.codecov.io/docs/fixing-reports 17:43:02 + Found adjustments 17:43:02 ==> Gzipping contents 17:43:02 4.0K /tmp/codecov.Lry6a3.gz 17:43:02 ==> Uploading reports 17:43:02 url: https://codecov.io 17:43:02 query: branch=main&commit=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:43:02 -> Pinging Codecov 17:43:02 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=bb2f4bd64c3941eb86d6cd8a035d25878e21dc53&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:43:02 -> Uploading to 17:43:02 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/55DBCA73C666E3227836607328DD7E49/bb2f4bd64c3941eb86d6cd8a035d25878e21dc53/8ad9c426-0ddb-4fd1-9196-f3f5119046d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f67569c501578b1adf25cb6c23bcfdc8cfd2410c5059efaaf09565c19866b0e8 17:43:02 % Total % Received % Xferd Average Speed Time Time Time Current 17:43:02 Dload Upload Total Spent Left Speed 17:43:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 63016 --:--:-- --:--:-- --:--:-- 62015 100 3907 0 0 100 3907 0 12726 --:--:-- --:--:-- --:--:-- 12726 17:43:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] } 17:43:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:43:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:43:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:43:03 17:43:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:43:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:43:04 df9b9388f04a: Pulling fs layer 17:43:04 52dc419b0ee2: Pulling fs layer 17:43:04 25bc292e5bac: Pulling fs layer 17:43:04 114826534d7a: Pulling fs layer 17:43:04 4657fd5d0bcf: Pulling fs layer 17:43:04 6ad1cebc031e: Pulling fs layer 17:43:04 114826534d7a: Waiting 17:43:04 4657fd5d0bcf: Waiting 17:43:04 8a3aa393b2d8: Pulling fs layer 17:43:04 6ad1cebc031e: Waiting 17:43:04 8a3aa393b2d8: Waiting 17:43:04 25bc292e5bac: Verifying Checksum 17:43:04 25bc292e5bac: Download complete 17:43:04 52dc419b0ee2: Verifying Checksum 17:43:04 52dc419b0ee2: Download complete 17:43:04 4657fd5d0bcf: Verifying Checksum 17:43:04 4657fd5d0bcf: Download complete 17:43:04 df9b9388f04a: Verifying Checksum 17:43:04 df9b9388f04a: Download complete 17:43:04 df9b9388f04a: Pull complete 17:43:04 6ad1cebc031e: Verifying Checksum 17:43:04 6ad1cebc031e: Download complete 17:43:04 52dc419b0ee2: Pull complete 17:43:04 25bc292e5bac: Pull complete 17:43:05 114826534d7a: Verifying Checksum 17:43:05 114826534d7a: Download complete 17:43:05 8a3aa393b2d8: Verifying Checksum 17:43:05 8a3aa393b2d8: Download complete 17:43:08 114826534d7a: Pull complete 17:43:08 4657fd5d0bcf: Pull complete 17:43:09 6ad1cebc031e: Pull complete 17:43:12 8a3aa393b2d8: Pull complete 17:43:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:43:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:12 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:43:12 $ 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 17:43:17 $ docker top 7006ddce4bbcbdef7610b0051f91c418195ab77250041d6a36158d1df635bc40 -eo pid,comm [Pipeline] { [Pipeline] echo 17:43:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 17:43:17 + set -o pipefail 17:43:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 17:43:23 17:43:23 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 17:43:23 17:43:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/a4c93d8e-b209-4106-81b3-759d882fab88 17:43:23 17:43:23 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:43:23 17:43:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:43:23 17:43:23 17:43:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:43:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:43:23 More details here: https://snyk.co/ue1NS [Pipeline] } 17:43:23 $ docker stop --time=1 7006ddce4bbcbdef7610b0051f91c418195ab77250041d6a36158d1df635bc40 17:43:28 $ docker rm -f --volumes 7006ddce4bbcbdef7610b0051f91c418195ab77250041d6a36158d1df635bc40 [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 17:43:29 + git log --format=format:%s -1 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 [Pipeline] sh 17:43:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:43:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:43:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:30 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:43: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 17:43:31 $ docker top ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b -eo pid,comm 17:43:31 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). 17:43:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:31 [ssh-agent] Looking for ssh-agent implementation... 17:43:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:31 $ docker exec ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b ssh-agent 17:43:31 SSH_AUTH_SOCK=/tmp/ssh-mdMMZCUOf53c/agent.31 17:43:31 SSH_AGENT_PID=37 17:43:31 Running ssh-add (command line suppressed) 17:43:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2821707721124222768.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2821707721124222768.key) 17:43:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:32 + git semver tag 17:43:32 2023-01-17 17:43:32,254 [run_tag] DEBUG tag force:False 17:43:32 2023-01-17 17:43:32,254 [check_head_tag] DEBUG check head tag 17:43:32 2023-01-17 17:43:32,255 [execute] INFO git cat-file --batch-check 17:43:32 2023-01-17 17:43:32,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:43:32 2023-01-17 17:43:32,262 [execute] INFO git cat-file --batch 17:43:32 2023-01-17 17:43:32,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 17:43:32 2023-01-17 17:43:32,290 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:43:32 2023-01-17 17:43:32,290 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 17:43:32 2023-01-17 17:43:32,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 17:43:32 2023-01-17 17:43:32,295 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:43:32 3.0.0-dev.6 [Pipeline] } 17:43:32 $ docker exec --env ******** --env ******** ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b ssh-agent -k 17:43:32 unset SSH_AUTH_SOCK; 17:43:32 unset SSH_AGENT_PID; 17:43:32 echo Agent pid 37 killed; 17:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:32 + git semver [Pipeline] } 17:43:33 $ docker stop --time=1 ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b 17:43:34 $ docker rm -f --volumes ee81de96f2d97042e230c0502d2194935d1e28d07e88d91bf1fad912d9ce0a6b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:43:34 17:43:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:43:35 0.23.1-centos7: Pulling from edgex-lftools 17:43:35 ab5ef0e58194: Pulling fs layer 17:43:35 9712f1f96733: Pulling fs layer 17:43:35 63f879dbbcfc: Pulling fs layer 17:43:35 0d9ebad4ef96: Pulling fs layer 17:43:35 e9a5061849ea: Pulling fs layer 17:43:35 d747dcd14b5f: Pulling fs layer 17:43:35 2de7ff778b66: Pulling fs layer 17:43:35 d747dcd14b5f: Waiting 17:43:35 e9a5061849ea: Waiting 17:43:35 2de7ff778b66: Waiting 17:43:35 0d9ebad4ef96: Waiting 17:43:35 9712f1f96733: Verifying Checksum 17:43:35 9712f1f96733: Download complete 17:43:36 63f879dbbcfc: Verifying Checksum 17:43:36 63f879dbbcfc: Download complete 17:43:36 e9a5061849ea: Verifying Checksum 17:43:36 e9a5061849ea: Download complete 17:43:36 d747dcd14b5f: Verifying Checksum 17:43:36 d747dcd14b5f: Download complete 17:43:36 0d9ebad4ef96: Download complete 17:43:36 ab5ef0e58194: Verifying Checksum 17:43:36 ab5ef0e58194: Download complete 17:43:36 2de7ff778b66: Verifying Checksum 17:43:36 2de7ff778b66: Download complete 17:43:39 ab5ef0e58194: Pull complete 17:43:39 9712f1f96733: Pull complete 17:43:40 63f879dbbcfc: Pull complete 17:43:44 0d9ebad4ef96: Pull complete 17:43:44 e9a5061849ea: Pull complete 17:43:44 d747dcd14b5f: Pull complete 17:43:44 2de7ff778b66: Pull complete 17:43:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:43:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:44 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:43:44 $ 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 17:43:50 $ docker top 5264d191f9566e01c003cc00fe8e94017e4fab8d2580cafefd868c8296c3f404 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:43:50 provisioning config files... 17:43:50 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11689636326608159582tmp 17:43:50 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13452890513578853042tmp 17:43:50 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16336268154524949374tmp [Pipeline] { [Pipeline] echo 17:43:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:43:51 ---> sigul-configuration.sh 17:43:51 gpg: directory `/root/.gnupg' created 17:43:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:43:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:43:51 gpg: keyring `/root/.gnupg/secring.gpg' created 17:43:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:43:51 gpg: CAST5 encrypted data 17:43:51 gpg: encrypted with 1 passphrase 17:43:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:43:51 + mkdir /home/jenkins 17:43:51 + mkdir /home/jenkins/sigul [Pipeline] sh 17:43:51 + 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 17:43:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:43:52 ---> sigul-install.sh 17:43:52 Sigul already installed; skipping installation. [Pipeline] sh 17:43:52 + git tag --list 17:43:52 0.7.1 17:43:52 v1.0.0 17:43:52 v1.1.0 17:43:52 v1.1.1 17:43:52 v1.2.2 17:43:52 v1.3.0 17:43:52 v1.3.1 17:43:52 v2.0.0 17:43:52 v2.1.0 17:43:52 v2.1.1 17:43:52 v2.1.1-dev.1 17:43:52 v2.1.1-dev.2 17:43:52 v2.1.1-dev.3 17:43:52 v2.2.0 17:43:52 v2.2.1-dev.1 17:43:52 v2.2.1-dev.2 17:43:52 v2.2.1-dev.3 17:43:52 v2.2.1-dev.4 17:43:52 v2.2.1-dev.5 17:43:52 v2.2.1-dev.6 17:43:52 v2.2.1-dev.7 17:43:52 v2.3.0 17:43:52 v2.3.0-dev.10 17:43:52 v2.3.0-dev.11 17:43:52 v2.3.0-dev.12 17:43:52 v2.3.0-dev.13 17:43:52 v2.3.0-dev.14 17:43:52 v2.3.0-dev.15 17:43:52 v2.3.0-dev.16 17:43:52 v2.3.0-dev.17 17:43:52 v2.3.0-dev.18 17:43:52 v2.3.0-dev.19 17:43:52 v2.3.0-dev.20 17:43:52 v2.3.0-dev.21 17:43:52 v2.3.0-dev.22 17:43:52 v2.3.0-dev.23 17:43:52 v2.3.0-dev.24 17:43:52 v2.3.0-dev.25 17:43:52 v2.3.0-dev.7 17:43:52 v2.3.0-dev.8 17:43:52 v2.3.0-dev.9 17:43:52 v3.0.0-dev.1 17:43:52 v3.0.0-dev.2 17:43:52 v3.0.0-dev.3 17:43:52 v3.0.0-dev.4 17:43:52 v3.0.0-dev.5 17:43:52 v3.0.0-dev.6 [Pipeline] sh 17:43:52 + lftools sign git-tag v3.0.0-dev.6 17:43:53 Signing Git tag with Sigul... 17:43:53 Signing v3.0.0-dev.6 [Pipeline] echo 17:43:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:43:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:43:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:43:53 $ docker stop --time=1 5264d191f9566e01c003cc00fe8e94017e4fab8d2580cafefd868c8296c3f404 17:43:55 $ docker rm -f --volumes 5264d191f9566e01c003cc00fe8e94017e4fab8d2580cafefd868c8296c3f404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:43:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:43:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:43:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:55 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:43: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 17:43:56 $ docker top 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f -eo pid,comm 17:43:56 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). 17:43:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:56 [ssh-agent] Looking for ssh-agent implementation... 17:43:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:56 $ docker exec 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f ssh-agent 17:43:57 SSH_AUTH_SOCK=/tmp/ssh-HtmHsYJZzRde/agent.32 17:43:57 SSH_AGENT_PID=38 17:43:57 Running ssh-add (command line suppressed) 17:43:57 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18317324702533681388.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18317324702533681388.key) 17:43:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:57 + git semver bump pre 17:43:57 2023-01-17 17:43:57,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:43:57 2023-01-17 17:43:57,691 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 17:43:57 2023-01-17 17:43:57,691 [bump_version] DEBUG bumped version:3.0.0-dev.7 17:43:57 2023-01-17 17:43:57,691 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 17:43:57 2023-01-17 17:43:57,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:43:57 2023-01-17 17:43:57,691 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:43:57 2023-01-17 17:43:57,693 [execute] INFO git cat-file --batch-check 17:43:57 2023-01-17 17:43:57,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:43:57 2023-01-17 17:43:57,698 [execute] INFO git cat-file --batch 17:43:57 2023-01-17 17:43:57,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:43:57 2023-01-17 17:43:57,704 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:43:57 3.0.0-dev.7 [Pipeline] } 17:43:57 $ docker exec --env ******** --env ******** 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f ssh-agent -k 17:43:58 unset SSH_AUTH_SOCK; 17:43:58 unset SSH_AGENT_PID; 17:43:58 echo Agent pid 38 killed; 17:43:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:58 + git semver [Pipeline] } 17:43:58 $ docker stop --time=1 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f 17:43:59 $ docker rm -f --volumes 2bd6dcc7b7afe51181054975ab1c80d8f9241f3d9e5bf94e65d0a26d8d44f60f [Pipeline] // withDockerContainer [Pipeline] sh 17:44:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:00 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:44:00 $ 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 17:44:01 $ docker top 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:01 [ssh-agent] Looking for ssh-agent implementation... 17:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:01 $ docker exec 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce ssh-agent 17:44:01 SSH_AUTH_SOCK=/tmp/ssh-6OYFU2TP1IWk/agent.33 17:44:01 SSH_AGENT_PID=39 17:44:01 Running ssh-add (command line suppressed) 17:44:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8866721108978933832.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8866721108978933832.key) 17:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:01 + git semver push 17:44:01 2023-01-17 17:44:01,879 [run_push] DEBUG push 17:44:01 2023-01-17 17:44:01,879 [execute] INFO git cat-file --batch-check 17:44:01 2023-01-17 17:44:01,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:44:01 2023-01-17 17:44:01,883 [execute] INFO git rev-list 8dd12abf9093f18a1a67758743d2a904f1287e70 -- 17:44:01 2023-01-17 17:44:01,883 [execute] DEBUG Popen(['git', 'rev-list', '8dd12abf9093f18a1a67758743d2a904f1287e70', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:44:01 2023-01-17 17:44:01,890 [execute] INFO git fetch -v origin 17:44:01 2023-01-17 17:44:01,890 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:44:02 2023-01-17 17:44:02,461 [run_push] DEBUG no remote changes detected 17:44:02 2023-01-17 17:44:02,462 [execute] INFO git push origin semver 17:44:02 2023-01-17 17:44:02,462 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:44:03 2023-01-17 17:44:03,364 [run_push] DEBUG push all version tags 17:44:03 2023-01-17 17:44:03,364 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:44:03 2023-01-17 17:44:03,364 [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) 17:44:04 2023-01-17 17:44:04,200 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 17:44:04 3.0.0-dev.7 [Pipeline] } 17:44:04 $ docker exec --env ******** --env ******** 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce ssh-agent -k 17:44:04 unset SSH_AUTH_SOCK; 17:44:04 unset SSH_AGENT_PID; 17:44:04 echo Agent pid 39 killed; 17:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:04 + git semver [Pipeline] } 17:44:05 $ docker stop --time=1 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce 17:44:06 $ docker rm -f --volumes 1be366c02e597bafb146225c70b520147f450b407cc732d8405fe671e84fd5ce [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 17:44:07 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 17:44:07 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:44:07 total 16 17:44:07 drwxr-xr-x 3 root root 4096 Jan 17 17:33 . 17:44:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:43 .. 17:44:07 drwxr-xr-x 2 root root 4096 Jan 17 17:33 cost 17:44:07 -rw-r--r-- 1 root root 87 Jan 17 17:33 cost.csv 17:44:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 17:44:07 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 17:44:07 total 16 17:44:07 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:33 . 17:44:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 17:43 .. 17:44:07 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:33 cost 17:44:07 -rw-r--r-- 1 jenkins jenkins 87 Jan 17 17:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:44:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:44:08 ---> package-listing.sh 17:44:08 ++ facter osfamily 17:44:08 ++ tr '[:upper:]' '[:lower:]' 17:44:08 + OS_FAMILY=debian 17:44:08 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 17:44:08 + START_PACKAGES=/tmp/packages_start.txt 17:44:08 + END_PACKAGES=/tmp/packages_end.txt 17:44:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:44:08 + PACKAGES=/tmp/packages_start.txt 17:44:08 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:44:08 + PACKAGES=/tmp/packages_end.txt 17:44:08 + case "${OS_FAMILY}" in 17:44:08 + dpkg -l 17:44:08 + grep '^ii' 17:44:08 + '[' -f /tmp/packages_start.txt ']' 17:44:08 + '[' -f /tmp/packages_end.txt ']' 17:44:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:44:08 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 17:44:08 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 17:44:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 17:44:08 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 17:44:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:09 prd-ubuntu20.04-docker-8c-8g-2746 does not seem to be running inside a container 17:44:09 $ 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 17:44:09 $ docker top a475ce0bd2e29a5045a3b017b818df34ab01f0be5f49114b8fb24dd515daaf3d -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:09 + touch /tmp/pre-build-complete [Pipeline] sh 17:44:10 + mkdir -p /var/log/sysstat [Pipeline] sh 17:44:10 + ls /var/log/sa-host 17:44:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:10 provisioning config files... 17:44:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7305855376553427219tmp [Pipeline] { [Pipeline] echo 17:44:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:44:10 ---> create-netrc.sh [Pipeline] } 17:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:44:11 ---> python-tools-install.sh [Pipeline] echo 17:44:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:44:11 ---> sudo-logs.sh 17:44:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:44:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:44:11 ---> job-cost.sh 17:44:11 lf-activate-venv: SKIPPING 17:44:11 DEBUG: total: 0.2199999988079071 17:44:11 INFO: Retrieving Stack Cost... 17:44:12 INFO: Retrieving Pricing Info for: v3-standard-8 17:44:12 INFO: Archiving Costs [Pipeline] echo 17:44:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:44:12 ---> logs-deploy.sh 17:44:12 lf-activate-venv: SKIPPING 17:44:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/72 17:44:12 INFO: archiving workspace using pattern(s): 17:44:13 Archives upload complete. 17:44:14 INFO: archiving logs to Nexus