Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d5e58b77efcbf82879c3b9259be6f9314f98ed83 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-ssh9825633719542559739.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-ssh11639141120961456592.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-ssh6338888578351925942.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-ssh4446588745987843078.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-ssh2971029261080068048.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-5503 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d5e58b77efcbf82879c3b9259be6f9314f98ed83 (main) Commit message: "Merge pull request #411 from jinlinGuan/edgex-go-issue-4273" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 > git rev-list --no-walk 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:37:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:37:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:37:05 ========================================================= 07:37:05 EdgeX Global Pipelines Version Info 07:37:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:37:06 ------------------- 07:37:06 stable info: 07:37:06 ------------------- 07:37:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:37:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:37:06 Message: update stable to v1.0.244 07:37:07 ------------------- 07:37:07 experimental info: 07:37:07 ------------------- 07:37:07 Commited By: **** collab-it+edgex@linuxfoundation.org 07:37:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:37:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5e58b7 [Pipeline] echo 07:37:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:07 provisioning config files... 07:37:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6668521845269357295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:08 ---> docker-login.sh 07:37:08 nexus3.edgexfoundry.org:10001 07:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:08 Configure a credential helper to remove this warning. See 07:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:08 07:37:08 Login Succeeded 07:37:08 nexus3.edgexfoundry.org:10002 07:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:08 Configure a credential helper to remove this warning. See 07:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:08 07:37:08 Login Succeeded 07:37:08 nexus3.edgexfoundry.org:10003 07:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:08 Configure a credential helper to remove this warning. See 07:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:08 07:37:08 Login Succeeded 07:37:08 nexus3.edgexfoundry.org:10004 07:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:08 Configure a credential helper to remove this warning. See 07:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:08 07:37:08 Login Succeeded 07:37:08 docker.io 07:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:08 Configure a credential helper to remove this warning. See 07:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:08 07:37:08 Login Succeeded 07:37:08 ---> docker-login.sh ends [Pipeline] } 07:37:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:37:09 + git rev-list -1 --merges d5e58b77efcbf82879c3b9259be6f9314f98ed83~1..d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo 07:37:09 -----------> git rev-list -1 --merges d5e58b77efcbf82879c3b9259be6f9314f98ed83~1..d5e58b77efcbf82879c3b9259be6f9314f98ed83 d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:37:09 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [false] [Pipeline] sh 07:37:09 + git log --format=format:%s -1 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo 07:37:09 ========================================================= 07:37:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:37:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:37:09 + git log --format=format:%s -1 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] echo 07:37:09 [semverPrep] GIT_COMMIT: d5e58b77efcbf82879c3b9259be6f9314f98ed83, Commit Message: Merge pull request #411 from jinlinGuan/edgex-go-issue-4273 [Pipeline] echo 07:37:09 [semverPrep] This is not a build commit. [Pipeline] sh 07:37:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:37:10 + grep -v github /etc/ssh/ssh_known_hosts 07:37:10 + [ -e /tmp/ssh_known_hosts ] 07:37:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:37:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:37:10 + sudo tee -a /etc/ssh/ssh_known_hosts 07:37:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:10 07:37:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:11 0.1.4: Pulling from edgex-devops/py-git-semver 07:37:11 b85a868b505f: Pulling fs layer 07:37:11 e2be974225ed: Pulling fs layer 07:37:11 339a4e72a1f5: Pulling fs layer 07:37:11 988bab9f4d93: Pulling fs layer 07:37:11 1469e6f7b9e6: Pulling fs layer 07:37:11 eaf3925da568: Pulling fs layer 07:37:11 bab4dde63d76: Pulling fs layer 07:37:11 bde34c3a00c8: Pulling fs layer 07:37:11 b352a97aabf1: Pulling fs layer 07:37:11 4872d77fe225: Pulling fs layer 07:37:11 5851b861e8e6: Pulling fs layer 07:37:11 eaf3925da568: Waiting 07:37:11 bab4dde63d76: Waiting 07:37:11 bde34c3a00c8: Waiting 07:37:11 b352a97aabf1: Waiting 07:37:11 4872d77fe225: Waiting 07:37:11 5851b861e8e6: Waiting 07:37:11 988bab9f4d93: Waiting 07:37:11 1469e6f7b9e6: Waiting 07:37:11 e2be974225ed: Verifying Checksum 07:37:11 e2be974225ed: Download complete 07:37:11 988bab9f4d93: Download complete 07:37:11 1469e6f7b9e6: Verifying Checksum 07:37:11 1469e6f7b9e6: Download complete 07:37:11 eaf3925da568: Download complete 07:37:11 339a4e72a1f5: Verifying Checksum 07:37:11 339a4e72a1f5: Download complete 07:37:11 bde34c3a00c8: Verifying Checksum 07:37:11 bde34c3a00c8: Download complete 07:37:11 b352a97aabf1: Download complete 07:37:11 4872d77fe225: Download complete 07:37:11 5851b861e8e6: Download complete 07:37:11 b85a868b505f: Verifying Checksum 07:37:11 b85a868b505f: Download complete 07:37:12 bab4dde63d76: Verifying Checksum 07:37:12 bab4dde63d76: Download complete 07:37:13 b85a868b505f: Pull complete 07:37:13 e2be974225ed: Pull complete 07:37:13 339a4e72a1f5: Pull complete 07:37:13 988bab9f4d93: Pull complete 07:37:13 1469e6f7b9e6: Pull complete 07:37:13 eaf3925da568: Pull complete 07:37:15 bab4dde63d76: Pull complete 07:37:15 bde34c3a00c8: Pull complete 07:37:15 b352a97aabf1: Pull complete 07:37:15 4872d77fe225: Pull complete 07:37:15 5851b861e8e6: Pull complete 07:37:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:37:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:15 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:37:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:37:18 $ docker top 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa -eo pid,comm 07:37:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:37:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:18 [ssh-agent] Looking for ssh-agent implementation... 07:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:18 $ docker exec 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent 07:37:18 SSH_AUTH_SOCK=/tmp/ssh-chwRJRICw2oI/agent.33 07:37:18 SSH_AGENT_PID=39 07:37:18 Running ssh-add (command line suppressed) 07:37:18 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7758841619268713540.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7758841619268713540.key) 07:37:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:19 + git tag --points-at HEAD [Pipeline] } 07:37:19 $ docker exec --env ******** --env ******** 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent -k 07:37:19 unset SSH_AUTH_SOCK; 07:37:19 unset SSH_AGENT_PID; 07:37:19 echo Agent pid 39 killed; 07:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:37:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:37:19 [ssh-agent] Looking for ssh-agent implementation... 07:37:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:37:19 $ docker exec 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent 07:37:19 SSH_AUTH_SOCK=/tmp/ssh-oOZxTloFBOXO/agent.71 07:37:19 SSH_AGENT_PID=77 07:37:19 Running ssh-add (command line suppressed) 07:37:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3053297853228908870.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3053297853228908870.key) 07:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:37:19 + git semver init 07:37:20 2023-02-13 07:37:19,975 [run_init] DEBUG init version:0.0.0 force:False 07:37:20 2023-02-13 07:37:19,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:37:20 2023-02-13 07:37:19,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:37:20 2023-02-13 07:37:19,977 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:37:21 2023-02-13 07:37:20,927 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:37:21 2023-02-13 07:37:20,928 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:37:21 2023-02-13 07:37:20,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:37:21 2023-02-13 07:37:20,928 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:37:21 3.0.0-dev.9 [Pipeline] } 07:37:21 $ docker exec --env ******** --env ******** 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa ssh-agent -k 07:37:21 unset SSH_AUTH_SOCK; 07:37:21 unset SSH_AGENT_PID; 07:37:21 echo Agent pid 77 killed; 07:37:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:37:21 + git semver [Pipeline] } 07:37:21 $ docker stop --time=1 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa 07:37:23 $ docker rm -f --volumes 9a674285e06b0b2bbf4e70496a09587a3e811a75d963c84af02de81c28e022fa [Pipeline] // withDockerContainer [Pipeline] sh 07:37:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:37:23 Stashed 1 file(s) [Pipeline] echo 07:37:23 [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:23 provisioning config files... 07:37:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1017666344323700228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:24 ---> docker-login.sh 07:37:24 nexus3.edgexfoundry.org:10001 07:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:24 Configure a credential helper to remove this warning. See 07:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:24 07:37:24 Login Succeeded 07:37:24 nexus3.edgexfoundry.org:10002 07:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:24 Configure a credential helper to remove this warning. See 07:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:24 07:37:24 Login Succeeded 07:37:24 nexus3.edgexfoundry.org:10003 07:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:24 Configure a credential helper to remove this warning. See 07:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:24 07:37:24 Login Succeeded 07:37:24 nexus3.edgexfoundry.org:10004 07:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:24 Configure a credential helper to remove this warning. See 07:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:24 07:37:24 Login Succeeded 07:37:24 docker.io 07:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:37:24 Configure a credential helper to remove this warning. See 07:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:37:24 07:37:24 Login Succeeded 07:37:24 ---> docker-login.sh ends [Pipeline] } 07:37:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:37:24 ========================================================= 07:37:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:37:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:25 + 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 . 07:37:25 Sending build context to Docker daemon 6.341MB 07:37:25 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:37:25 Step 2/10 : FROM ${BASE} AS builder 07:37:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:37:25 213ec9aee27d: Pulling fs layer 07:37:25 4583459ba037: Pulling fs layer 07:37:25 93c1e223e6f2: Pulling fs layer 07:37:25 53926ce57604: Pulling fs layer 07:37:25 21b2b0c7a3f4: Pulling fs layer 07:37:25 22ff95d597cd: Pulling fs layer 07:37:25 12d6caf4c0d1: Pulling fs layer 07:37:25 96b7cbca73a9: Pulling fs layer 07:37:25 a7acece74701: Pulling fs layer 07:37:25 53926ce57604: Waiting 07:37:25 21b2b0c7a3f4: Waiting 07:37:25 22ff95d597cd: Waiting 07:37:25 96b7cbca73a9: Waiting 07:37:25 12d6caf4c0d1: Waiting 07:37:25 a7acece74701: Waiting 07:37:25 93c1e223e6f2: Verifying Checksum 07:37:25 93c1e223e6f2: Download complete 07:37:25 4583459ba037: Download complete 07:37:25 21b2b0c7a3f4: Download complete 07:37:25 22ff95d597cd: Verifying Checksum 07:37:25 22ff95d597cd: Download complete 07:37:25 213ec9aee27d: Verifying Checksum 07:37:25 213ec9aee27d: Download complete 07:37:25 12d6caf4c0d1: Download complete 07:37:25 213ec9aee27d: Pull complete 07:37:25 4583459ba037: Pull complete 07:37:25 93c1e223e6f2: Pull complete 07:37:26 a7acece74701: Download complete 07:37:26 53926ce57604: Verifying Checksum 07:37:26 53926ce57604: Download complete 07:37:26 96b7cbca73a9: Verifying Checksum 07:37:26 96b7cbca73a9: Download complete 07:37:29 53926ce57604: Pull complete 07:37:29 21b2b0c7a3f4: Pull complete 07:37:29 22ff95d597cd: Pull complete 07:37:30 12d6caf4c0d1: Pull complete 07:37:32 96b7cbca73a9: Pull complete 07:37:32 a7acece74701: Pull complete 07:37:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:37:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:37:32 ---> db6d94c90886 07:37:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:37:36 ---> Running in 9213016e5cce 07:37:36 Removing intermediate container 9213016e5cce 07:37:36 ---> b8d278e46697 07:37:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:36 ---> Running in 5c06dba90740 07:37:36 Removing intermediate container 5c06dba90740 07:37:36 ---> 714ef8b0b69f 07:37:36 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:37:36 ---> Running in 4818cbedf737 07:37:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:37:37 (1/8) Installing openssh-keygen (9.0_p1-r2) 07:37:37 (2/8) Installing libedit (20210910.3.1-r0) 07:37:37 (3/8) Installing openssh-client-common (9.0_p1-r2) 07:37:37 (4/8) Installing openssh-client-default (9.0_p1-r2) 07:37:37 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 07:37:37 (6/8) Installing openssh-server-common (9.0_p1-r2) 07:37:37 (7/8) Installing openssh-server (9.0_p1-r2) 07:37:37 (8/8) Installing openssh (9.0_p1-r2) 07:37:37 Executing busybox-1.35.0-r17.trigger 07:37:37 OK: 217 MiB in 59 packages 07:37:38 Removing intermediate container 4818cbedf737 07:37:38 ---> 7ccd1ba924d4 07:37:38 Step 6/10 : WORKDIR /device-modbus-go 07:37:38 ---> Running in de3a7d2d1f80 07:37:38 Removing intermediate container de3a7d2d1f80 07:37:38 ---> 1e09ddea21b1 07:37:38 Step 7/10 : COPY go.mod vendor* ./ 07:37:38 ---> 91735010e288 07:37:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:38 ---> Running in afcf5bf5f1e5 07:37:38 Still waiting to schedule task 07:37:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:38:04 Removing intermediate container afcf5bf5f1e5 07:38:04 ---> f940730719b1 07:38:04 Step 9/10 : COPY . . 07:38:04 ---> a81db120776f 07:38:04 Step 10/10 : RUN ${MAKE} 07:38:04 ---> Running in 08698ffa2699 07:38:04 noop 07:38:04 Removing intermediate container 08698ffa2699 07:38:04 ---> dcad9bf05415 07:38:04 Successfully built dcad9bf05415 07:38:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:05 + docker inspect -f . ci-base-image-x86_64 07:38:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:05 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:38:05 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:38:05 $ docker top ce8150e77a0cc13ec364aa58e0d18b386f01089a995b1cf600908247f1616c69 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:05 + go version 07:38:05 go version go1.18.7 linux/amd64 [Pipeline] } 07:38:05 $ docker stop --time=1 ce8150e77a0cc13ec364aa58e0d18b386f01089a995b1cf600908247f1616c69 07:38:07 $ docker rm -f --volumes ce8150e77a0cc13ec364aa58e0d18b386f01089a995b1cf600908247f1616c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:07 + docker inspect -f . ci-base-image-x86_64 07:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:07 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:38:07 $ 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 ******** -e ******** ci-base-image-x86_64 cat 07:38:08 $ docker top 42f8de3d14685e3ccf1138cc16ba438fa22d8296a33179975c33a56f6c18a06c -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:38:08 + make test 07:38:08 go test ./... -coverprofile=coverage.out 07:38:08 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:38:18 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:38:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements 07:38:23 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." 07:38:23 go vet ./... 07:38:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:38:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:38:26 ./bin/test-attribution-txt.sh 07:38:26 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:38:26 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:38:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:38:26 $ docker stop --time=1 42f8de3d14685e3ccf1138cc16ba438fa22d8296a33179975c33a56f6c18a06c 07:38:29 $ docker rm -f --volumes 42f8de3d14685e3ccf1138cc16ba438fa22d8296a33179975c33a56f6c18a06c [Pipeline] // withDockerContainer [Pipeline] sh 07:38:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:38:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:38:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:30 + ls -al . 07:38:30 total 184 07:38:30 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:38 . 07:38:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:37 .. 07:38:30 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:37 .dockerignore 07:38:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:38 .git 07:38:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:37 .github 07:38:30 -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 07:37 .gitignore 07:38:30 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:37 .golangci.yml 07:38:30 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:37 .semver 07:38:30 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 07:37 Attribution.txt 07:38:30 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 07:37 CHANGELOG.md 07:38:30 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 07:37 Dockerfile 07:38:30 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:37 GOVERNANCE.md 07:38:30 -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 07:37 Jenkinsfile 07:38:30 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:37 LICENSE 07:38:30 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 07:37 Makefile 07:38:30 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 07:37 OWNERS.md 07:38:30 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 07:37 README.md 07:38:30 -rw-rw-r-- 1 jenkins jenkins 11 Feb 13 07:37 VERSION 07:38:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:37 bin 07:38:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:37 cmd 07:38:30 -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 07:38 coverage.out 07:38:30 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 07:37 go.mod 07:38:30 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 07:37 go.sum 07:38:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:37 internal 07:38:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:37 simulator 07:38:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:37 snap 07:38:30 -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 07:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:31 + 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=d5e58b77efcbf82879c3b9259be6f9314f98ed83 --label arch=amd64 --label version=3.0.0-dev.9 . 07:38:31 Sending build context to Docker daemon 6.365MB 07:38:31 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 07:38:31 Step 2/22 : FROM ${BASE} AS builder 07:38:31 ---> dcad9bf05415 07:38:31 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:38:31 ---> Running in ba11fc55b341 07:38:31 Removing intermediate container ba11fc55b341 07:38:31 ---> 65af1465c851 07:38:31 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:31 ---> Running in 4ca3cf62a42f 07:38:31 Removing intermediate container 4ca3cf62a42f 07:38:31 ---> 0691a45699fe 07:38:31 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:38:31 ---> Running in ea30053302e8 07:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:38:32 OK: 217 MiB in 59 packages 07:38:32 Removing intermediate container ea30053302e8 07:38:32 ---> 6ae083d1abfd 07:38:32 Step 6/22 : WORKDIR /device-modbus-go 07:38:32 ---> Running in 8c82532fc5de 07:38:32 Removing intermediate container 8c82532fc5de 07:38:32 ---> ea8a95b2d956 07:38:32 Step 7/22 : COPY go.mod vendor* ./ 07:38:32 ---> 937065dbae5e 07:38:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:32 ---> Running in 1c26fdfe6c2d 07:38:33 Removing intermediate container 1c26fdfe6c2d 07:38:33 ---> 9a84c1eeae70 07:38:33 Step 9/22 : COPY . . 07:38:33 ---> f210e56def6a 07:38:33 Step 10/22 : RUN ${MAKE} 07:38:33 ---> Running in 252633dadbee 07:38:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:38:56 Removing intermediate container 252633dadbee 07:38:56 ---> 36f0ef17da42 07:38:56 Step 11/22 : FROM alpine:3.14 07:38:56 3.14: Pulling from library/alpine 07:38:56 d261077062b2: Pulling fs layer 07:38:56 d261077062b2: Verifying Checksum 07:38:56 d261077062b2: Download complete 07:38:56 d261077062b2: Pull complete 07:38:56 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 07:38:56 Status: Downloaded newer image for alpine:3.14 07:38:56 ---> 6dff1269bc79 07:38:56 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:38:56 ---> Running in 920c3aec17ad 07:38:56 Removing intermediate container 920c3aec17ad 07:38:56 ---> 142a1dd952a4 07:38:56 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:38:56 ---> Running in 8011141ea547 07:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:38:56 (1/1) Installing dumb-init (1.2.5-r1) 07:38:56 Executing busybox-1.33.1-r8.trigger 07:38:56 OK: 6 MiB in 15 packages 07:38:56 Removing intermediate container 8011141ea547 07:38:56 ---> 03444d127ed4 07:38:56 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:38:56 ---> dee051621660 07:38:56 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:38:56 ---> 4632fdc7c32b 07:38:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:38:56 ---> fa708d13cbc3 07:38:56 Step 17/22 : EXPOSE 59901 07:38:56 ---> Running in 477040547b15 07:38:56 Removing intermediate container 477040547b15 07:38:56 ---> cc8d53d5a451 07:38:56 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:38:56 ---> Running in 2636ae970606 07:38:56 Removing intermediate container 2636ae970606 07:38:56 ---> 721c0ba57b53 07:38:56 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:38:56 ---> Running in da9b76ebffc5 07:38:56 Removing intermediate container da9b76ebffc5 07:38:56 ---> 465a0c8d3a64 07:38:56 Step 20/22 : LABEL arch=amd64 07:38:56 ---> Running in 0f8c246cc7bc 07:38:56 Removing intermediate container 0f8c246cc7bc 07:38:56 ---> 688e7e6499bc 07:38:56 Step 21/22 : LABEL git_sha=d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:38:56 ---> Running in 5049fb5c2b75 07:38:56 Removing intermediate container 5049fb5c2b75 07:38:56 ---> 33bb28ac36d1 07:38:56 Step 22/22 : LABEL version=3.0.0-dev.9 07:38:56 ---> Running in a1ea103c0745 07:38:56 Removing intermediate container a1ea103c0745 07:38:56 ---> 26dbfb6d793c 07:38:56 [Warning] One or more build-args [ARCH] were not consumed 07:38:56 Successfully built 26dbfb6d793c 07:38:56 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:56 provisioning config files... 07:38:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config148914450865982713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:57 ---> docker-login.sh 07:38:57 nexus3.edgexfoundry.org:10001 07:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:57 Configure a credential helper to remove this warning. See 07:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:57 07:38:57 Login Succeeded 07:38:57 nexus3.edgexfoundry.org:10002 07:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:57 Configure a credential helper to remove this warning. See 07:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:57 07:38:57 Login Succeeded 07:38:57 nexus3.edgexfoundry.org:10003 07:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:57 Configure a credential helper to remove this warning. See 07:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:57 07:38:57 Login Succeeded 07:38:57 nexus3.edgexfoundry.org:10004 07:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:57 Configure a credential helper to remove this warning. See 07:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:57 07:38:57 Login Succeeded 07:38:57 docker.io 07:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:57 Configure a credential helper to remove this warning. See 07:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:57 07:38:57 Login Succeeded 07:38:57 ---> docker-login.sh ends [Pipeline] } 07:38:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:38:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:38:57 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:38:57 d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:38:57 latest 07:38:57 3.0.0-dev.9 07:38:57 d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 07:38:57 main 07:38:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:38:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:38:58 6764a4f79456: Preparing 07:38:58 e5b122292ad1: Preparing 07:38:58 b99f34a8a12a: Preparing 07:38:58 57c5552f28ee: Preparing 07:38:58 625523cb9cce: Preparing 07:38:58 e5b122292ad1: Pushed 07:38:58 6764a4f79456: Pushed 07:38:58 57c5552f28ee: Pushed 07:38:58 625523cb9cce: Pushed 07:39:00 b99f34a8a12a: Pushed 07:39:00 d5e58b77efcbf82879c3b9259be6f9314f98ed83: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:39:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:01 6764a4f79456: Preparing 07:39:01 e5b122292ad1: Preparing 07:39:01 b99f34a8a12a: Preparing 07:39:01 57c5552f28ee: Preparing 07:39:01 625523cb9cce: Preparing 07:39:01 b99f34a8a12a: Layer already exists 07:39:01 e5b122292ad1: Layer already exists 07:39:01 57c5552f28ee: Layer already exists 07:39:01 625523cb9cce: Layer already exists 07:39:01 6764a4f79456: Layer already exists 07:39:01 latest: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.9 07:39:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:02 6764a4f79456: Preparing 07:39:02 e5b122292ad1: Preparing 07:39:02 b99f34a8a12a: Preparing 07:39:02 57c5552f28ee: Preparing 07:39:02 625523cb9cce: Preparing 07:39:02 e5b122292ad1: Layer already exists 07:39:02 57c5552f28ee: Layer already exists 07:39:02 6764a4f79456: Layer already exists 07:39:02 b99f34a8a12a: Layer already exists 07:39:02 625523cb9cce: Layer already exists 07:39:02 3.0.0-dev.9: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 07:39:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:02 6764a4f79456: Preparing 07:39:02 e5b122292ad1: Preparing 07:39:02 b99f34a8a12a: Preparing 07:39:02 57c5552f28ee: Preparing 07:39:02 625523cb9cce: Preparing 07:39:02 625523cb9cce: Layer already exists 07:39:02 57c5552f28ee: Layer already exists 07:39:02 b99f34a8a12a: Layer already exists 07:39:02 e5b122292ad1: Layer already exists 07:39:02 6764a4f79456: Layer already exists 07:39:02 d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:39:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:03 6764a4f79456: Preparing 07:39:03 e5b122292ad1: Preparing 07:39:03 b99f34a8a12a: Preparing 07:39:03 57c5552f28ee: Preparing 07:39:03 625523cb9cce: Preparing 07:39:03 625523cb9cce: Layer already exists 07:39:03 e5b122292ad1: Layer already exists 07:39:03 57c5552f28ee: Layer already exists 07:39:03 b99f34a8a12a: Layer already exists 07:39:03 6764a4f79456: Layer already exists 07:39:03 main: digest: sha256:aa6d2daea2803f2627776d3083d0bbfcbf636f192c3c0520fa36594044a557a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:03 ===================================================== [Pipeline] echo 07:39:03 taggedImages: 07:39:03 - nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:39:03 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:39:03 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.9 07:39:03 - nexus3.edgexfoundry.org:10004/device-modbus:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 07:39:03 - 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 07:39:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:03 07:39:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:03 latest: Pulling from edgex-lftools-log-publisher 07:39:03 5eb5b503b376: Pulling fs layer 07:39:03 5c69ac0246d0: Pulling fs layer 07:39:03 ec43610c2a17: Pulling fs layer 07:39:03 3a2ae6a8a46f: Pulling fs layer 07:39:03 33b1e0a273af: Pulling fs layer 07:39:03 5d3b04190fa2: Pulling fs layer 07:39:03 2f39f015ded8: Pulling fs layer 07:39:03 33b1e0a273af: Waiting 07:39:03 5d3b04190fa2: Waiting 07:39:03 2f39f015ded8: Waiting 07:39:03 3a2ae6a8a46f: Waiting 07:39:03 5c69ac0246d0: Verifying Checksum 07:39:03 5c69ac0246d0: Download complete 07:39:03 3a2ae6a8a46f: Verifying Checksum 07:39:03 3a2ae6a8a46f: Download complete 07:39:04 33b1e0a273af: Verifying Checksum 07:39:04 33b1e0a273af: Download complete 07:39:04 5d3b04190fa2: Verifying Checksum 07:39:04 5d3b04190fa2: Download complete 07:39:04 ec43610c2a17: Verifying Checksum 07:39:04 ec43610c2a17: Download complete 07:39:04 5eb5b503b376: Verifying Checksum 07:39:04 5eb5b503b376: Download complete 07:39:05 2f39f015ded8: Download complete 07:39:05 5eb5b503b376: Pull complete 07:39:05 5c69ac0246d0: Pull complete 07:39:06 ec43610c2a17: Pull complete 07:39:06 3a2ae6a8a46f: Pull complete 07:39:06 33b1e0a273af: Pull complete 07:39:06 5d3b04190fa2: Pull complete 07:39:10 2f39f015ded8: Pull complete 07:39:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:10 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:39:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:39:13 $ docker top 68216ff9404717a917cf84c7c0695b16fb3a20deab5fd75fdbd8fdaacdfac7b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:13 ---> job-cost.sh 07:39:13 lf-activate-venv: SKIPPING 07:39:13 INFO: No Stack... 07:39:19 INFO: Retrieving Pricing Info for: v3-standard-8 07:39:19 INFO: Archiving Costs [Pipeline] sh 07:39:19 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:39:19 + cut -d, -f6 [Pipeline] lock 07:39:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] 07:39:19 Resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] did not exist. Created. 07:39:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:39:19 + echo total: 0.2199999988079071 [Pipeline] stash 07:39:19 Stashed 1 file(s) [Pipeline] } 07:39:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 07:39:19 $ docker stop --time=1 68216ff9404717a917cf84c7c0695b16fb3a20deab5fd75fdbd8fdaacdfac7b6 07:39:20 $ docker rm -f --volumes 68216ff9404717a917cf84c7c0695b16fb3a20deab5fd75fdbd8fdaacdfac7b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:41:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5505 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:41:05 Running in /w/workspace/device-modbus-go/75 [Pipeline] { [Pipeline] checkout 07:41:05 Selected Git installation does not exist. Using Default 07:41:05 The recommended git tool is: NONE 07:41:10 using credential edgex-jenkins-ssh 07:41:10 Cloning the remote Git repository 07:41:10 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:41:10 > git init /w/workspace/device-modbus-go/75 # timeout=10 07:41:10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:41:10 > git --version # timeout=10 07:41:10 > git --version # 'git version 2.25.1' 07:41:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:12 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:41:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:12 Avoid second fetch 07:41:12 Checking out Revision d5e58b77efcbf82879c3b9259be6f9314f98ed83 (main) 07:41:13 Commit message: "Merge pull request #411 from jinlinGuan/edgex-go-issue-4273" 07:41:12 > git config core.sparsecheckout # timeout=10 07:41:12 > git checkout -f d5e58b77efcbf82879c3b9259be6f9314f98ed83 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:41:14 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:14 Dload Upload Total Spent Left Speed 07:41:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 07:41:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:41:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:41:15 + sudo tee /etc/docker/daemon.new 07:41:15 { 07:41:15 "registry-mirrors": [ 07:41:15 "https://nexus3.edgexfoundry.org:10001" 07:41:15 ], 07:41:15 "bip": "10.250.0.254/24", 07:41:15 "hosts": [ 07:41:15 "tcp://0.0.0.0:5555", 07:41:15 "unix:///var/run/docker.sock" 07:41:15 ], 07:41:15 "mtu": 1458, 07:41:15 "selinux-enabled": true, 07:41:15 "seccomp-profile": "/etc/docker/seccomp.json" 07:41:15 } [Pipeline] sh 07:41:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:41:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:34 provisioning config files... 07:41:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/75@tmp/config15250773166840909603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:34 ---> docker-login.sh 07:41:34 nexus3.edgexfoundry.org:10001 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:35 Configure a credential helper to remove this warning. See 07:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:35 07:41:35 Login Succeeded 07:41:35 nexus3.edgexfoundry.org:10002 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:36 Configure a credential helper to remove this warning. See 07:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:36 07:41:36 Login Succeeded 07:41:36 nexus3.edgexfoundry.org:10003 07:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:36 Configure a credential helper to remove this warning. See 07:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:36 07:41:36 Login Succeeded 07:41:36 nexus3.edgexfoundry.org:10004 07:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:36 Configure a credential helper to remove this warning. See 07:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:36 07:41:36 Login Succeeded 07:41:36 docker.io 07:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:37 Configure a credential helper to remove this warning. See 07:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:37 07:41:37 Login Succeeded 07:41:37 ---> docker-login.sh ends [Pipeline] } 07:41:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:37 ========================================================= 07:41:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:41:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:37 + 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 . 07:41:38 Sending build context to Docker daemon 3.302MB 07:41:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 07:41:38 Step 2/10 : FROM ${BASE} AS builder 07:41:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:41:39 9b18e9b68314: Pulling fs layer 07:41:39 35d82f9e3411: Pulling fs layer 07:41:39 e16973657156: Pulling fs layer 07:41:39 fc693d55d65f: Pulling fs layer 07:41:39 7e9fc2657dce: Pulling fs layer 07:41:39 dda99020689f: Pulling fs layer 07:41:39 db1c61fa0a46: Pulling fs layer 07:41:39 891c053d2c06: Pulling fs layer 07:41:39 dda99020689f: Waiting 07:41:39 db1c61fa0a46: Waiting 07:41:39 891c053d2c06: Waiting 07:41:39 fc693d55d65f: Waiting 07:41:39 7e9fc2657dce: Waiting 07:41:39 e16973657156: Download complete 07:41:39 35d82f9e3411: Download complete 07:41:39 7e9fc2657dce: Verifying Checksum 07:41:39 7e9fc2657dce: Download complete 07:41:39 dda99020689f: Verifying Checksum 07:41:39 dda99020689f: Download complete 07:41:39 9b18e9b68314: Download complete 07:41:40 9b18e9b68314: Pull complete 07:41:40 891c053d2c06: Verifying Checksum 07:41:40 891c053d2c06: Download complete 07:41:40 35d82f9e3411: Pull complete 07:41:41 e16973657156: Pull complete 07:41:41 db1c61fa0a46: Verifying Checksum 07:41:41 db1c61fa0a46: Download complete 07:41:42 fc693d55d65f: Download complete 07:41:54 fc693d55d65f: Pull complete 07:41:54 7e9fc2657dce: Pull complete 07:41:54 dda99020689f: Pull complete 07:41:58 db1c61fa0a46: Pull complete 07:42:00 891c053d2c06: Pull complete 07:42:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:42:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:42:00 ---> f96f9c87975a 07:42:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:42:02 ---> Running in 3acc0141b506 07:42:02 Removing intermediate container 3acc0141b506 07:42:02 ---> 962a25cfda11 07:42:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:42:02 ---> Running in 50478cb9af6e 07:42:02 Removing intermediate container 50478cb9af6e 07:42:02 ---> 61bb7c54961e 07:42:02 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:42:02 ---> Running in 89ae7ead99a7 07:42:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:42:05 (1/8) Installing openssh-keygen (9.0_p1-r2) 07:42:05 (2/8) Installing libedit (20210910.3.1-r0) 07:42:05 (3/8) Installing openssh-client-common (9.0_p1-r2) 07:42:05 (4/8) Installing openssh-client-default (9.0_p1-r2) 07:42:05 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 07:42:05 (6/8) Installing openssh-server-common (9.0_p1-r2) 07:42:05 (7/8) Installing openssh-server (9.0_p1-r2) 07:42:05 (8/8) Installing openssh (9.0_p1-r2) 07:42:05 Executing busybox-1.35.0-r17.trigger 07:42:05 OK: 228 MiB in 59 packages 07:42:06 Removing intermediate container 89ae7ead99a7 07:42:06 ---> d327443b60cc 07:42:06 Step 6/10 : WORKDIR /device-modbus-go 07:42:06 ---> Running in b8eea90d393e 07:42:06 Removing intermediate container b8eea90d393e 07:42:06 ---> fb8ab4216025 07:42:06 Step 7/10 : COPY go.mod vendor* ./ 07:42:07 ---> 1ae898d4194b 07:42:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:07 ---> Running in bfe808eb8016 07:43:03 Removing intermediate container bfe808eb8016 07:43:03 ---> 824823f581b5 07:43:03 Step 9/10 : COPY . . 07:43:03 ---> fb79f086c012 07:43:03 Step 10/10 : RUN ${MAKE} 07:43:03 ---> Running in cdb7a5419bca 07:43:03 noop 07:43:03 Removing intermediate container cdb7a5419bca 07:43:03 ---> cd52c3c2d9cb 07:43:03 Successfully built cd52c3c2d9cb 07:43:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:04 + docker inspect -f . ci-base-image-arm64 07:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:04 prd-ubuntu20.04-docker-arm64-4c-16g-5505 does not seem to be running inside a container 07:43:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/75 -v /w/workspace/device-modbus-go/75:/w/workspace/device-modbus-go/75:rw,z -v /w/workspace/device-modbus-go/75@tmp:/w/workspace/device-modbus-go/75@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 07:43:05 $ docker top 44391c14005a6f72d08ebffa3a9da8e9ba6528a977de7066329df4b317e3578d -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:06 + go version 07:43:06 go version go1.18.7 linux/arm64 [Pipeline] } 07:43:06 $ docker stop --time=1 44391c14005a6f72d08ebffa3a9da8e9ba6528a977de7066329df4b317e3578d 07:43:07 $ docker rm -f --volumes 44391c14005a6f72d08ebffa3a9da8e9ba6528a977de7066329df4b317e3578d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:08 + docker inspect -f . ci-base-image-arm64 07:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-5505 does not seem to be running inside a container 07:43:08 $ 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/75 -v /w/workspace/device-modbus-go/75:/w/workspace/device-modbus-go/75:rw,z -v /w/workspace/device-modbus-go/75@tmp:/w/workspace/device-modbus-go/75@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 07:43:09 $ docker top 51f85f33257cc92ef52b14acfa01f7a167f13d4457527f2a28b7408fde0ed402 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:10 + git config --global --add safe.directory /w/workspace/device-modbus-go/75 [Pipeline] fileExists [Pipeline] sh 07:43:10 + make test 07:43:10 go test ./... -coverprofile=coverage.out 07:43:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:44:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:44:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements 07:44:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:34 go vet ./... 07:44:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:44:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:44:56 ./bin/test-attribution-txt.sh 07:44:56 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:44:56 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:44:56 $ docker stop --time=1 51f85f33257cc92ef52b14acfa01f7a167f13d4457527f2a28b7408fde0ed402 07:44:57 $ docker rm -f --volumes 51f85f33257cc92ef52b14acfa01f7a167f13d4457527f2a28b7408fde0ed402 [Pipeline] // withDockerContainer [Pipeline] sh 07:44:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:44:58 Warning: overwriting stash ‘coverage-report’ 07:44:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:59 + ls -al . 07:44:59 total 180 07:44:59 drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 07:43 . 07:44:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:41 .. 07:44:59 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:41 .dockerignore 07:44:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:41 .git 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:41 .github 07:44:59 -rw-rw-r-- 1 jenkins jenkins 331 Feb 13 07:41 .gitignore 07:44:59 -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 07:41 .golangci.yml 07:44:59 -rw-rw-r-- 1 jenkins jenkins 10017 Feb 13 07:41 Attribution.txt 07:44:59 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 13 07:41 CHANGELOG.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 13 07:41 Dockerfile 07:44:59 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:41 GOVERNANCE.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 680 Feb 13 07:41 Jenkinsfile 07:44:59 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 07:41 LICENSE 07:44:59 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 13 07:41 Makefile 07:44:59 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 07:41 OWNERS.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 13 07:41 README.md 07:44:59 -rw-rw-r-- 1 jenkins jenkins 11 Feb 13 07:37 VERSION 07:44:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:41 bin 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:41 cmd 07:44:59 -rw-r--r-- 1 jenkins jenkins 23241 Feb 13 07:44 coverage.out 07:44:59 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 13 07:41 go.mod 07:44:59 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 13 07:41 go.sum 07:44:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:41 internal 07:44:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:41 simulator 07:44:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:41 snap 07:44:59 -rw-rw-r-- 1 jenkins jenkins 229 Feb 13 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:00 + 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=d5e58b77efcbf82879c3b9259be6f9314f98ed83 --label arch=arm64 --label version=3.0.0-dev.9 . 07:45:00 Sending build context to Docker daemon 3.326MB 07:45:00 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 07:45:00 Step 2/22 : FROM ${BASE} AS builder 07:45:00 ---> cd52c3c2d9cb 07:45:00 Step 3/22 : ARG ADD_BUILD_TAGS="" 07:45:00 ---> Running in f8013fae0df4 07:45:01 Removing intermediate container f8013fae0df4 07:45:01 ---> e2a728b3d9ce 07:45:01 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:01 ---> Running in 25d28a0790ae 07:45:01 Removing intermediate container 25d28a0790ae 07:45:01 ---> 33e1f8e0bf73 07:45:01 Step 5/22 : RUN apk add --update --no-cache make git openssh 07:45:01 ---> Running in c0d7ca831211 07:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:45:03 OK: 228 MiB in 59 packages 07:45:04 Removing intermediate container c0d7ca831211 07:45:04 ---> 4f2eef4e2e39 07:45:04 Step 6/22 : WORKDIR /device-modbus-go 07:45:04 ---> Running in 8002e2fcc895 07:45:05 Removing intermediate container 8002e2fcc895 07:45:05 ---> ae0efe4a17c1 07:45:05 Step 7/22 : COPY go.mod vendor* ./ 07:45:05 ---> 9f8ba43ac86a 07:45:05 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:05 ---> Running in 7d7eda0e5594 07:45:08 Removing intermediate container 7d7eda0e5594 07:45:08 ---> 93300d97b9e3 07:45:08 Step 9/22 : COPY . . 07:45:08 ---> 6cdc1a735d57 07:45:08 Step 10/22 : RUN ${MAKE} 07:45:08 ---> Running in 7d2e4897072e 07:45:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:47:31 Removing intermediate container 7d2e4897072e 07:47:31 ---> 6216964a36b2 07:47:31 Step 11/22 : FROM alpine:3.14 07:47:31 3.14: Pulling from library/alpine 07:47:31 6f0e733d82e2: Pulling fs layer 07:47:31 6f0e733d82e2: Verifying Checksum 07:47:31 6f0e733d82e2: Download complete 07:47:32 6f0e733d82e2: Pull complete 07:47:32 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 07:47:32 Status: Downloaded newer image for alpine:3.14 07:47:32 ---> bf97f6347a60 07:47:32 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:47:32 ---> Running in 18ff65267cd5 07:47:32 Removing intermediate container 18ff65267cd5 07:47:32 ---> 1d59779e8043 07:47:32 Step 13/22 : RUN apk add --update --no-cache dumb-init 07:47:32 ---> Running in 94ea865f24c9 07:47:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:47:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:47:34 (1/1) Installing dumb-init (1.2.5-r1) 07:47:34 Executing busybox-1.33.1-r8.trigger 07:47:34 OK: 6 MiB in 15 packages 07:47:37 Removing intermediate container 94ea865f24c9 07:47:37 ---> de29f5acc39f 07:47:37 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 07:47:40 ---> 4e2419d1275d 07:47:40 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 07:47:40 ---> e37ca160fbc2 07:47:40 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:47:40 ---> db9461e23ee2 07:47:40 Step 17/22 : EXPOSE 59901 07:47:40 ---> Running in 21eea7ecf13f 07:47:40 Removing intermediate container 21eea7ecf13f 07:47:40 ---> 15d2fe72a8c1 07:47:40 Step 18/22 : ENTRYPOINT ["/device-modbus"] 07:47:41 ---> Running in f4ff8482bac4 07:47:41 Removing intermediate container f4ff8482bac4 07:47:41 ---> 7731c1d5af68 07:47:41 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:47:41 ---> Running in a823d1f22f7c 07:47:41 Removing intermediate container a823d1f22f7c 07:47:41 ---> a7b25a11f0d3 07:47:41 Step 20/22 : LABEL arch=arm64 07:47:41 ---> Running in adc21cac2569 07:47:42 Removing intermediate container adc21cac2569 07:47:42 ---> 31d12b5ab460 07:47:42 Step 21/22 : LABEL git_sha=d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:47:42 ---> Running in 38d39afed3df 07:47:42 Removing intermediate container 38d39afed3df 07:47:42 ---> 84fe42783460 07:47:42 Step 22/22 : LABEL version=3.0.0-dev.9 07:47:42 ---> Running in 417f919085e5 07:47:42 Removing intermediate container 417f919085e5 07:47:42 ---> 22d4d680fca2 07:47:42 [Warning] One or more build-args [ARCH] were not consumed 07:47:42 Successfully built 22d4d680fca2 07:47:42 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 07:47:42 provisioning config files... 07:47:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/75@tmp/config10399109978951208004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:43 ---> docker-login.sh 07:47:43 nexus3.edgexfoundry.org:10001 07:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:43 Configure a credential helper to remove this warning. See 07:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:43 07:47:43 Login Succeeded 07:47:43 nexus3.edgexfoundry.org:10002 07:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:43 Configure a credential helper to remove this warning. See 07:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:43 07:47:43 Login Succeeded 07:47:43 nexus3.edgexfoundry.org:10003 07:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:44 Configure a credential helper to remove this warning. See 07:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:44 07:47:44 Login Succeeded 07:47:44 nexus3.edgexfoundry.org:10004 07:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:44 Configure a credential helper to remove this warning. See 07:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:44 07:47:44 Login Succeeded 07:47:44 docker.io 07:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:45 Configure a credential helper to remove this warning. See 07:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:45 07:47:45 Login Succeeded 07:47:45 ---> docker-login.sh ends [Pipeline] } 07:47:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:45 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:47:45 d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:47:45 latest 07:47:45 3.0.0-dev.9 07:47:45 d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 07:47:45 main 07:47:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:47:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:47:45 b40137c27612: Preparing 07:47:45 2e91405b6078: Preparing 07:47:45 3611250b6bfd: Preparing 07:47:45 dd9ca1f3229b: Preparing 07:47:45 c39af2d4cb8d: Preparing 07:47:46 2e91405b6078: Pushed 07:47:46 b40137c27612: Pushed 07:47:46 dd9ca1f3229b: Pushed 07:47:47 c39af2d4cb8d: Pushed 07:47:51 3611250b6bfd: Pushed 07:47:51 d5e58b77efcbf82879c3b9259be6f9314f98ed83: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:47:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:47:52 b40137c27612: Preparing 07:47:52 2e91405b6078: Preparing 07:47:52 3611250b6bfd: Preparing 07:47:52 dd9ca1f3229b: Preparing 07:47:52 c39af2d4cb8d: Preparing 07:47:52 dd9ca1f3229b: Layer already exists 07:47:52 b40137c27612: Layer already exists 07:47:52 c39af2d4cb8d: Layer already exists 07:47:52 2e91405b6078: Layer already exists 07:47:52 3611250b6bfd: Layer already exists 07:47:52 latest: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.9 07:47:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:47:53 b40137c27612: Preparing 07:47:53 2e91405b6078: Preparing 07:47:53 3611250b6bfd: Preparing 07:47:53 dd9ca1f3229b: Preparing 07:47:53 c39af2d4cb8d: Preparing 07:47:53 b40137c27612: Layer already exists 07:47:53 c39af2d4cb8d: Layer already exists 07:47:53 2e91405b6078: Layer already exists 07:47:53 dd9ca1f3229b: Layer already exists 07:47:53 3611250b6bfd: Layer already exists 07:47:53 3.0.0-dev.9: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 07:47:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:47:54 b40137c27612: Preparing 07:47:54 2e91405b6078: Preparing 07:47:54 3611250b6bfd: Preparing 07:47:54 dd9ca1f3229b: Preparing 07:47:54 c39af2d4cb8d: Preparing 07:47:54 2e91405b6078: Layer already exists 07:47:54 3611250b6bfd: Layer already exists 07:47:54 b40137c27612: Layer already exists 07:47:54 c39af2d4cb8d: Layer already exists 07:47:54 dd9ca1f3229b: Layer already exists 07:47:54 d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:47:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:47:54 b40137c27612: Preparing 07:47:54 2e91405b6078: Preparing 07:47:54 3611250b6bfd: Preparing 07:47:54 dd9ca1f3229b: Preparing 07:47:54 c39af2d4cb8d: Preparing 07:47:54 c39af2d4cb8d: Layer already exists 07:47:54 b40137c27612: Layer already exists 07:47:54 dd9ca1f3229b: Layer already exists 07:47:54 3611250b6bfd: Layer already exists 07:47:54 2e91405b6078: Layer already exists 07:47:54 main: digest: sha256:54997702fe523d169bda4defebdecdae21c7276992110a9ff2b149be586543e0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:55 ===================================================== [Pipeline] echo 07:47:55 taggedImages: 07:47:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83 07:47:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:47:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.9 07:47:55 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d5e58b77efcbf82879c3b9259be6f9314f98ed83-3.0.0-dev.9 07:47:55 - 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 07:47:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:55 07:47:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:56 arm64: Pulling from edgex-lftools-log-publisher 07:47:56 8998bd30e6a1: Pulling fs layer 07:47:56 04944245beec: Pulling fs layer 07:47:56 699f458cf7ca: Pulling fs layer 07:47:56 765212b225bb: Pulling fs layer 07:47:56 f23df028b6ca: Pulling fs layer 07:47:56 d65c8cfc05b1: Pulling fs layer 07:47:56 2437ff75d9bd: Pulling fs layer 07:47:56 765212b225bb: Waiting 07:47:56 f23df028b6ca: Waiting 07:47:56 2437ff75d9bd: Waiting 07:47:56 d65c8cfc05b1: Waiting 07:47:56 04944245beec: Verifying Checksum 07:47:56 04944245beec: Download complete 07:47:56 765212b225bb: Verifying Checksum 07:47:56 765212b225bb: Download complete 07:47:56 f23df028b6ca: Verifying Checksum 07:47:56 f23df028b6ca: Download complete 07:47:56 d65c8cfc05b1: Verifying Checksum 07:47:56 d65c8cfc05b1: Download complete 07:47:56 699f458cf7ca: Verifying Checksum 07:47:56 699f458cf7ca: Download complete 07:47:56 8998bd30e6a1: Verifying Checksum 07:47:56 8998bd30e6a1: Download complete 07:47:59 2437ff75d9bd: Verifying Checksum 07:47:59 2437ff75d9bd: Download complete 07:48:00 8998bd30e6a1: Pull complete 07:48:01 04944245beec: Pull complete 07:48:04 699f458cf7ca: Pull complete 07:48:04 765212b225bb: Pull complete 07:48:05 f23df028b6ca: Pull complete 07:48:05 d65c8cfc05b1: Pull complete 07:48:20 2437ff75d9bd: Pull complete 07:48:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:48:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:20 prd-ubuntu20.04-docker-arm64-4c-16g-5505 does not seem to be running inside a container 07:48:20 $ 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/75 -v /w/workspace/device-modbus-go/75:/w/workspace/device-modbus-go/75:rw,z -v /w/workspace/device-modbus-go/75@tmp:/w/workspace/device-modbus-go/75@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 07:48:23 $ docker top 7c06e6de0e49f0b6fceaeb69aa80251c3c496e180839ae6379d289007dac3c74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:23 ---> job-cost.sh 07:48:23 lf-activate-venv: SKIPPING 07:48:23 INFO: No Stack... 07:48:24 INFO: Retrieving Pricing Info for: v3-standard-4 07:48:25 INFO: Archiving Costs [Pipeline] sh 07:48:25 + cat /w/workspace/device-modbus-go/75/archives/cost.csv 07:48:25 + cut -d, -f6 [Pipeline] lock 07:48:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] 07:48:25 Resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] did not exist. Created. 07:48:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:26 /w/workspace/device-modbus-go/75@tmp/durable-81d1e67d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:48:26 + echo total: 0.10999999940395355 [Pipeline] stash 07:48:26 Warning: overwriting stash ‘stack-cost’ 07:48:26 Stashed 1 file(s) [Pipeline] } 07:48:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:26 $ docker stop --time=1 7c06e6de0e49f0b6fceaeb69aa80251c3c496e180839ae6379d289007dac3c74 07:48:27 $ docker rm -f --volumes 7c06e6de0e49f0b6fceaeb69aa80251c3c496e180839ae6379d289007dac3c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:48:28 provisioning config files... 07:48:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7795700288060464501tmp [Pipeline] { [Pipeline] sh 07:48:28 + set +x 07:48:28 + curl -s https://codecov.io/bash 07:48:28 + bash -s -- 07:48:28 07:48:28 _____ _ 07:48:28 / ____| | | 07:48:28 | | ___ __| | ___ ___ _____ __ 07:48:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:48:28 | |___| (_) | (_| | __/ (_| (_) \ V / 07:48:28 \_____\___/ \__,_|\___|\___\___/ \_/ 07:48:28 Bash-1.0.6 07:48:28 07:48:28 07:48:28 ==> git version 2.25.1 found 07:48:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:48:28 Release-Date: 2020-01-08 07:48:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:48:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:48:28 ==> Jenkins CI detected. 07:48:28 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:48:28 project root: . 07:48:28 --> token set from env 07:48:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:48:28 ==> Running gcov in . (disable via -X gcov) 07:48:28 ==> Python coveragepy not found 07:48:28 ==> Searching for coverage reports in: 07:48:28 + . 07:48:28 -> Found 1 reports 07:48:28 ==> Detecting git/mercurial file structure 07:48:28 ==> Reading reports 07:48:28 + ./coverage.out bytes=23241 07:48:28 ==> Appending adjustments 07:48:28 https://docs.codecov.io/docs/fixing-reports 07:48:28 + Found adjustments 07:48:28 ==> Gzipping contents 07:48:28 4.0K /tmp/codecov.Do18bl.gz 07:48:28 ==> Uploading reports 07:48:28 url: https://codecov.io 07:48:28 query: branch=main&commit=d5e58b77efcbf82879c3b9259be6f9314f98ed83&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:48:28 -> Pinging Codecov 07:48:28 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=d5e58b77efcbf82879c3b9259be6f9314f98ed83&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:48:29 -> Uploading to 07:48:29 https://storage.googleapis.com/codecov/v4/raw/2023-02-13/55DBCA73C666E3227836607328DD7E49/d5e58b77efcbf82879c3b9259be6f9314f98ed83/e6c34a3e-6a20-4312-ab8e-ac52dd5e483a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T074829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b112ce1c7b28bf1bfa06c450d04d5ddffee23b840a39a2f4c5fd8f65563a442 07:48:29 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:29 Dload Upload Total Spent Left Speed 07:48:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 15026 --:--:-- --:--:-- --:--:-- 15026 07:48:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] } 07:48:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:48:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:48:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:48:29 07:48:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:48:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:48:30 df9b9388f04a: Pulling fs layer 07:48:30 52dc419b0ee2: Pulling fs layer 07:48:30 25bc292e5bac: Pulling fs layer 07:48:30 114826534d7a: Pulling fs layer 07:48:30 4657fd5d0bcf: Pulling fs layer 07:48:30 6ad1cebc031e: Pulling fs layer 07:48:30 114826534d7a: Waiting 07:48:30 8a3aa393b2d8: Pulling fs layer 07:48:30 6ad1cebc031e: Waiting 07:48:30 8a3aa393b2d8: Waiting 07:48:30 25bc292e5bac: Verifying Checksum 07:48:30 25bc292e5bac: Download complete 07:48:30 52dc419b0ee2: Verifying Checksum 07:48:30 52dc419b0ee2: Download complete 07:48:30 4657fd5d0bcf: Download complete 07:48:30 df9b9388f04a: Download complete 07:48:30 df9b9388f04a: Pull complete 07:48:30 52dc419b0ee2: Pull complete 07:48:30 25bc292e5bac: Pull complete 07:48:30 6ad1cebc031e: Verifying Checksum 07:48:30 6ad1cebc031e: Download complete 07:48:31 114826534d7a: Verifying Checksum 07:48:31 114826534d7a: Download complete 07:48:31 8a3aa393b2d8: Verifying Checksum 07:48:31 8a3aa393b2d8: Download complete 07:48:35 114826534d7a: Pull complete 07:48:35 4657fd5d0bcf: Pull complete 07:48:35 6ad1cebc031e: Pull complete 07:48:37 8a3aa393b2d8: Pull complete 07:48:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:48:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:48:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:37 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:48:37 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:48:40 $ docker top 84e50125a52236dcf8aaa5c73f0b6e29137c4096f144a1d40e935df2ea301395 -eo pid,comm [Pipeline] { [Pipeline] echo 07:48:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:48:41 + set -o pipefail 07:48:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:48:45 07:48:45 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:48:45 07:48:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/35916ad3-565e-4b1d-9211-155b770d41c2 07:48:45 07:48:45 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:48:45 07:48:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:48:45 07:48:45 07:48:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:48:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:48:45 More details here: https://snyk.co/ue1NS [Pipeline] } 07:48:45 $ docker stop --time=1 84e50125a52236dcf8aaa5c73f0b6e29137c4096f144a1d40e935df2ea301395 07:48:48 $ docker rm -f --volumes 84e50125a52236dcf8aaa5c73f0b6e29137c4096f144a1d40e935df2ea301395 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:49 + git log --format=format:%s -1 d5e58b77efcbf82879c3b9259be6f9314f98ed83 [Pipeline] sh 07:48:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:50 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:48:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:48:50 $ docker top c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 -eo pid,comm 07:48:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:48:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:50 [ssh-agent] Looking for ssh-agent implementation... 07:48:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:50 $ docker exec c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 ssh-agent 07:48:50 SSH_AUTH_SOCK=/tmp/ssh-2kYptPtxluog/agent.32 07:48:50 SSH_AGENT_PID=38 07:48:50 Running ssh-add (command line suppressed) 07:48:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18285559022578749902.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18285559022578749902.key) 07:48:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:51 + git semver tag 07:48:51 2023-02-13 07:48:51,594 [run_tag] DEBUG tag force:False 07:48:51 2023-02-13 07:48:51,594 [check_head_tag] DEBUG check head tag 07:48:51 2023-02-13 07:48:51,595 [execute] INFO git cat-file --batch-check 07:48:51 2023-02-13 07:48:51,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:48:51 2023-02-13 07:48:51,599 [execute] INFO git cat-file --batch 07:48:51 2023-02-13 07:48:51,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:48:51 2023-02-13 07:48:51,614 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:48:51 2023-02-13 07:48:51,614 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 07:48:51 2023-02-13 07:48:51,615 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:48:51 2023-02-13 07:48:51,620 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:48:51 3.0.0-dev.9 [Pipeline] } 07:48:51 $ docker exec --env ******** --env ******** c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 ssh-agent -k 07:48:51 unset SSH_AUTH_SOCK; 07:48:51 unset SSH_AGENT_PID; 07:48:51 echo Agent pid 38 killed; 07:48:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:52 + git semver [Pipeline] } 07:48:52 $ docker stop --time=1 c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 07:48:53 $ docker rm -f --volumes c378ca2d114de3d294c4325c841b1b90b862f8a7fa08464b5a3fe4c9570fa066 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:53 07:48:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:54 0.23.1-centos7: Pulling from edgex-lftools 07:48:54 ab5ef0e58194: Pulling fs layer 07:48:54 9712f1f96733: Pulling fs layer 07:48:54 63f879dbbcfc: Pulling fs layer 07:48:54 0d9ebad4ef96: Pulling fs layer 07:48:54 e9a5061849ea: Pulling fs layer 07:48:54 d747dcd14b5f: Pulling fs layer 07:48:54 2de7ff778b66: Pulling fs layer 07:48:54 0d9ebad4ef96: Waiting 07:48:54 d747dcd14b5f: Waiting 07:48:54 2de7ff778b66: Waiting 07:48:54 e9a5061849ea: Waiting 07:48:54 9712f1f96733: Download complete 07:48:55 63f879dbbcfc: Verifying Checksum 07:48:55 63f879dbbcfc: Download complete 07:48:56 0d9ebad4ef96: Verifying Checksum 07:48:56 0d9ebad4ef96: Download complete 07:48:56 e9a5061849ea: Verifying Checksum 07:48:56 e9a5061849ea: Download complete 07:48:56 ab5ef0e58194: Verifying Checksum 07:48:56 ab5ef0e58194: Download complete 07:48:56 d747dcd14b5f: Verifying Checksum 07:48:56 d747dcd14b5f: Download complete 07:48:56 2de7ff778b66: Verifying Checksum 07:48:56 2de7ff778b66: Download complete 07:48:58 ab5ef0e58194: Pull complete 07:48:58 9712f1f96733: Pull complete 07:48:59 63f879dbbcfc: Pull complete 07:49:03 0d9ebad4ef96: Pull complete 07:49:03 e9a5061849ea: Pull complete 07:49:03 d747dcd14b5f: Pull complete 07:49:04 2de7ff778b66: Pull complete 07:49:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:04 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:49:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:49:09 $ docker top e0f85a1c4cea56632ddf19e541d4f9f48fd15e737253a4e2a2a9bc9fd3c8cddb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:49:09 provisioning config files... 07:49:09 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1212231842706794636tmp 07:49:09 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4117627270446980223tmp 07:49:09 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2153953972949600230tmp [Pipeline] { [Pipeline] echo 07:49:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:49:10 ---> sigul-configuration.sh 07:49:10 gpg: directory `/root/.gnupg' created 07:49:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:49:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:49:10 gpg: keyring `/root/.gnupg/secring.gpg' created 07:49:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:49:10 gpg: CAST5 encrypted data 07:49:10 gpg: encrypted with 1 passphrase 07:49:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:49:10 + mkdir /home/jenkins 07:49:10 + mkdir /home/jenkins/sigul [Pipeline] sh 07:49:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:49:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:49:10 ---> sigul-install.sh 07:49:10 Sigul already installed; skipping installation. [Pipeline] sh 07:49:11 + git tag --list 07:49:11 0.7.1 07:49:11 v1.0.0 07:49:11 v1.1.0 07:49:11 v1.1.1 07:49:11 v1.2.2 07:49:11 v1.3.0 07:49:11 v1.3.1 07:49:11 v2.0.0 07:49:11 v2.1.0 07:49:11 v2.1.1 07:49:11 v2.1.1-dev.1 07:49:11 v2.1.1-dev.2 07:49:11 v2.1.1-dev.3 07:49:11 v2.2.0 07:49:11 v2.2.1-dev.1 07:49:11 v2.2.1-dev.2 07:49:11 v2.2.1-dev.3 07:49:11 v2.2.1-dev.4 07:49:11 v2.2.1-dev.5 07:49:11 v2.2.1-dev.6 07:49:11 v2.2.1-dev.7 07:49:11 v2.3.0 07:49:11 v2.3.0-dev.10 07:49:11 v2.3.0-dev.11 07:49:11 v2.3.0-dev.12 07:49:11 v2.3.0-dev.13 07:49:11 v2.3.0-dev.14 07:49:11 v2.3.0-dev.15 07:49:11 v2.3.0-dev.16 07:49:11 v2.3.0-dev.17 07:49:11 v2.3.0-dev.18 07:49:11 v2.3.0-dev.19 07:49:11 v2.3.0-dev.20 07:49:11 v2.3.0-dev.21 07:49:11 v2.3.0-dev.22 07:49:11 v2.3.0-dev.23 07:49:11 v2.3.0-dev.24 07:49:11 v2.3.0-dev.25 07:49:11 v2.3.0-dev.7 07:49:11 v2.3.0-dev.8 07:49:11 v2.3.0-dev.9 07:49:11 v3.0.0-dev.1 07:49:11 v3.0.0-dev.2 07:49:11 v3.0.0-dev.3 07:49:11 v3.0.0-dev.4 07:49:11 v3.0.0-dev.5 07:49:11 v3.0.0-dev.6 07:49:11 v3.0.0-dev.7 07:49:11 v3.0.0-dev.8 07:49:11 v3.0.0-dev.9 [Pipeline] sh 07:49:11 + lftools sign git-tag v3.0.0-dev.9 07:49:12 Signing Git tag with Sigul... 07:49:12 Signing v3.0.0-dev.9 [Pipeline] echo 07:49:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:49:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:49:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:49:12 $ docker stop --time=1 e0f85a1c4cea56632ddf19e541d4f9f48fd15e737253a4e2a2a9bc9fd3c8cddb 07:49:13 $ docker rm -f --volumes e0f85a1c4cea56632ddf19e541d4f9f48fd15e737253a4e2a2a9bc9fd3c8cddb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:49:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:14 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:49:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:49:15 $ docker top cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:15 [ssh-agent] Looking for ssh-agent implementation... 07:49:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:15 $ docker exec cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 ssh-agent 07:49:15 SSH_AUTH_SOCK=/tmp/ssh-YwK7D8Xw30rT/agent.32 07:49:15 SSH_AGENT_PID=38 07:49:15 Running ssh-add (command line suppressed) 07:49:15 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17176169646858929796.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17176169646858929796.key) 07:49:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:15 + git semver bump pre 07:49:15 2023-02-13 07:49:15,909 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:15 2023-02-13 07:49:15,909 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev 07:49:15 2023-02-13 07:49:15,909 [bump_version] DEBUG bumped version:3.0.0-dev.10 07:49:15 2023-02-13 07:49:15,909 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:49:15 2023-02-13 07:49:15,909 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:15 2023-02-13 07:49:15,909 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:15 2023-02-13 07:49:15,912 [execute] INFO git cat-file --batch-check 07:49:15 2023-02-13 07:49:15,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:15 2023-02-13 07:49:15,916 [execute] INFO git cat-file --batch 07:49:15 2023-02-13 07:49:15,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:15 2023-02-13 07:49:15,921 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:15 3.0.0-dev.10 [Pipeline] } 07:49:15 $ docker exec --env ******** --env ******** cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 ssh-agent -k 07:49:16 unset SSH_AUTH_SOCK; 07:49:16 unset SSH_AGENT_PID; 07:49:16 echo Agent pid 38 killed; 07:49:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:16 + git semver [Pipeline] } 07:49:16 $ docker stop --time=1 cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 07:49:17 $ docker rm -f --volumes cd83f0ed7502c06d3e95b77c4944d7e3860676488ddc0a67ab9a45e5a58dc694 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:18 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:49:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:49:18 $ docker top f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd -eo pid,comm 07:49:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:49:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:19 [ssh-agent] Looking for ssh-agent implementation... 07:49:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:19 $ docker exec f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd ssh-agent 07:49:19 SSH_AUTH_SOCK=/tmp/ssh-sVxWsLSPUQAn/agent.32 07:49:19 SSH_AGENT_PID=38 07:49:19 Running ssh-add (command line suppressed) 07:49:19 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11097491064904901087.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11097491064904901087.key) 07:49:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:19 + git semver push 07:49:19 2023-02-13 07:49:19,822 [run_push] DEBUG push 07:49:19 2023-02-13 07:49:19,823 [execute] INFO git cat-file --batch-check 07:49:19 2023-02-13 07:49:19,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:19 2023-02-13 07:49:19,827 [execute] INFO git rev-list b6608192c58452fb603c486004008842c4fb7c55 -- 07:49:19 2023-02-13 07:49:19,827 [execute] DEBUG Popen(['git', 'rev-list', 'b6608192c58452fb603c486004008842c4fb7c55', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:49:19 2023-02-13 07:49:19,835 [execute] INFO git fetch -v origin 07:49:19 2023-02-13 07:49:19,835 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:49:20 2023-02-13 07:49:20,420 [run_push] DEBUG no remote changes detected 07:49:20 2023-02-13 07:49:20,421 [execute] INFO git push origin semver 07:49:20 2023-02-13 07:49:20,421 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:49:21 2023-02-13 07:49:21,207 [run_push] DEBUG push all version tags 07:49:21 2023-02-13 07:49:21,207 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:49:21 2023-02-13 07:49:21,208 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:49:22 2023-02-13 07:49:22,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:22 3.0.0-dev.10 [Pipeline] } 07:49:22 $ docker exec --env ******** --env ******** f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd ssh-agent -k 07:49:22 unset SSH_AUTH_SOCK; 07:49:22 unset SSH_AGENT_PID; 07:49:22 echo Agent pid 38 killed; 07:49:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:22 + git semver [Pipeline] } 07:49:23 $ docker stop --time=1 f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd 07:49:24 $ docker rm -f --volumes f5064737f555101e88b88371714ad92b62d30863015a84510846fbdd6eadbadd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:49:24 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:49:24 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:49:24 total 16 07:49:24 drwxr-xr-x 3 root root 4096 Feb 13 07:39 . 07:49:24 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:49 .. 07:49:24 drwxr-xr-x 2 root root 4096 Feb 13 07:39 cost 07:49:24 -rw-r--r-- 1 root root 87 Feb 13 07:39 cost.csv 07:49:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:49:24 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:49:24 total 16 07:49:24 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:39 . 07:49:24 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:49 .. 07:49:24 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:39 cost 07:49:24 -rw-r--r-- 1 jenkins jenkins 87 Feb 13 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:49:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:49:25 ---> package-listing.sh 07:49:25 ++ facter osfamily 07:49:25 ++ tr '[:upper:]' '[:lower:]' 07:49:26 + OS_FAMILY=debian 07:49:26 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:49:26 + START_PACKAGES=/tmp/packages_start.txt 07:49:26 + END_PACKAGES=/tmp/packages_end.txt 07:49:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:49:26 + PACKAGES=/tmp/packages_start.txt 07:49:26 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:49:26 + PACKAGES=/tmp/packages_end.txt 07:49:26 + case "${OS_FAMILY}" in 07:49:26 + dpkg -l 07:49:26 + grep '^ii' 07:49:26 + '[' -f /tmp/packages_start.txt ']' 07:49:26 + '[' -f /tmp/packages_end.txt ']' 07:49:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:49:26 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:49:26 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:49:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:49:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:49:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:27 prd-ubuntu20.04-docker-8c-8g-5503 does not seem to be running inside a container 07:49:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:49:27 $ docker top a95670e73b34cf395e1c1ca226a7665d4d919b0024ceecea9990f64098a42000 -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:27 + touch /tmp/pre-build-complete [Pipeline] sh 07:49:28 + mkdir -p /var/log/sysstat [Pipeline] sh 07:49:28 + ls /var/log/sa-host 07:49:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:28 provisioning config files... 07:49:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6807485700549841354tmp [Pipeline] { [Pipeline] echo 07:49:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:49:28 ---> create-netrc.sh [Pipeline] } 07:49:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:49:29 ---> python-tools-install.sh [Pipeline] echo 07:49:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:49:29 ---> sudo-logs.sh 07:49:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:49:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:49:29 ---> job-cost.sh 07:49:29 lf-activate-venv: SKIPPING 07:49:29 DEBUG: total: 0.2199999988079071 07:49:29 INFO: Retrieving Stack Cost... 07:49:30 INFO: Retrieving Pricing Info for: v3-standard-8 07:49:30 INFO: Archiving Costs [Pipeline] echo 07:49:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:49:30 ---> logs-deploy.sh 07:49:30 lf-activate-venv: SKIPPING 07:49:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/75 07:49:30 INFO: archiving workspace using pattern(s): 07:49:31 Archives upload complete. 07:49:31 INFO: archiving logs to Nexus