Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3aad7bd2c33aca71f49ec3c385ee682c91bb904 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-ssh8144880438351536140.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-ssh5031595196933080789.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-ssh871282781289344969.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-ssh10552311969719060317.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-ssh4997497682619820569.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6511 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 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3aad7bd2c33aca71f49ec3c385ee682c91bb904 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415)" > git rev-list --no-walk f1793b94bf4ff8773907545100fb172936c87502 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:10 ========================================================= 22:10:10 EdgeX Global Pipelines Version Info 22:10:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:11 ------------------- 22:10:11 stable info: 22:10:11 ------------------- 22:10:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:11 Message: update stable to v1.0.244 22:10:11 ------------------- 22:10:11 experimental info: 22:10:11 ------------------- 22:10:11 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:11 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3aad7b [Pipeline] echo 22:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:12 provisioning config files... 22:10:12 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14231212627083019313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:12 ---> docker-login.sh 22:10:12 nexus3.edgexfoundry.org:10001 22:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:12 Configure a credential helper to remove this warning. See 22:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:12 22:10:12 Login Succeeded 22:10:12 nexus3.edgexfoundry.org:10002 22:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:13 Configure a credential helper to remove this warning. See 22:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:13 22:10:13 Login Succeeded 22:10:13 nexus3.edgexfoundry.org:10003 22:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:13 Configure a credential helper to remove this warning. See 22:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:13 22:10:13 Login Succeeded 22:10:13 nexus3.edgexfoundry.org:10004 22:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:13 Configure a credential helper to remove this warning. See 22:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:13 22:10:13 Login Succeeded 22:10:13 docker.io 22:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:13 Configure a credential helper to remove this warning. See 22:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:13 22:10:13 Login Succeeded 22:10:13 ---> docker-login.sh ends [Pipeline] } 22:10:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:14 + git rev-list -1 --merges c3aad7bd2c33aca71f49ec3c385ee682c91bb904~1..c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo 22:10:14 -----------> git rev-list -1 --merges c3aad7bd2c33aca71f49ec3c385ee682c91bb904~1..c3aad7bd2c33aca71f49ec3c385ee682c91bb904 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [false] [Pipeline] sh 22:10:14 + git log --format=format:%s -1 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo 22:10:14 ========================================================= 22:10:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:14 + git log --format=format:%s -1 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] echo 22:10:14 [semverPrep] GIT_COMMIT: c3aad7bd2c33aca71f49ec3c385ee682c91bb904, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415) [Pipeline] echo 22:10:14 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:15 + grep -v github /etc/ssh/ssh_known_hosts 22:10:15 + [ -e /tmp/ssh_known_hosts ] 22:10:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:15 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:15 22:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:15 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:15 b85a868b505f: Pulling fs layer 22:10:15 e2be974225ed: Pulling fs layer 22:10:15 339a4e72a1f5: Pulling fs layer 22:10:15 988bab9f4d93: Pulling fs layer 22:10:15 1469e6f7b9e6: Pulling fs layer 22:10:15 eaf3925da568: Pulling fs layer 22:10:15 bab4dde63d76: Pulling fs layer 22:10:15 bde34c3a00c8: Pulling fs layer 22:10:15 988bab9f4d93: Waiting 22:10:15 b352a97aabf1: Pulling fs layer 22:10:15 4872d77fe225: Pulling fs layer 22:10:15 5851b861e8e6: Pulling fs layer 22:10:15 bde34c3a00c8: Waiting 22:10:15 eaf3925da568: Waiting 22:10:15 1469e6f7b9e6: Waiting 22:10:15 b352a97aabf1: Waiting 22:10:15 5851b861e8e6: Waiting 22:10:15 4872d77fe225: Waiting 22:10:15 e2be974225ed: Download complete 22:10:15 988bab9f4d93: Verifying Checksum 22:10:15 988bab9f4d93: Download complete 22:10:16 1469e6f7b9e6: Verifying Checksum 22:10:16 1469e6f7b9e6: Download complete 22:10:16 339a4e72a1f5: Verifying Checksum 22:10:16 339a4e72a1f5: Download complete 22:10:16 eaf3925da568: Download complete 22:10:16 bde34c3a00c8: Verifying Checksum 22:10:16 bde34c3a00c8: Download complete 22:10:16 b352a97aabf1: Verifying Checksum 22:10:16 b352a97aabf1: Download complete 22:10:16 4872d77fe225: Download complete 22:10:16 5851b861e8e6: Verifying Checksum 22:10:16 5851b861e8e6: Download complete 22:10:16 b85a868b505f: Verifying Checksum 22:10:16 b85a868b505f: Download complete 22:10:16 bab4dde63d76: Verifying Checksum 22:10:16 bab4dde63d76: Download complete 22:10:17 b85a868b505f: Pull complete 22:10:17 e2be974225ed: Pull complete 22:10:18 339a4e72a1f5: Pull complete 22:10:18 988bab9f4d93: Pull complete 22:10:18 1469e6f7b9e6: Pull complete 22:10:18 eaf3925da568: Pull complete 22:10:20 bab4dde63d76: Pull complete 22:10:20 bde34c3a00c8: Pull complete 22:10:20 b352a97aabf1: Pull complete 22:10:20 4872d77fe225: Pull complete 22:10:20 5851b861e8e6: Pull complete 22:10:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:21 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:10:21 $ 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 22:10:24 $ docker top 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 -eo pid,comm 22:10:25 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). 22:10:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:25 [ssh-agent] Looking for ssh-agent implementation... 22:10:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:25 $ docker exec 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent 22:10:25 SSH_AUTH_SOCK=/tmp/ssh-wjc1QhT2BLAa/agent.33 22:10:25 SSH_AGENT_PID=39 22:10:25 Running ssh-add (command line suppressed) 22:10:25 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15596283190521910982.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15596283190521910982.key) 22:10:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:25 + git tag --points-at HEAD [Pipeline] } 22:10:25 $ docker exec --env ******** --env ******** 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent -k 22:10:25 unset SSH_AUTH_SOCK; 22:10:25 unset SSH_AGENT_PID; 22:10:25 echo Agent pid 39 killed; 22:10:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:25 [ssh-agent] Looking for ssh-agent implementation... 22:10:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:25 $ docker exec 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent 22:10:26 SSH_AUTH_SOCK=/tmp/ssh-tA3UgcHpHPjA/agent.71 22:10:26 SSH_AGENT_PID=77 22:10:26 Running ssh-add (command line suppressed) 22:10:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1227824056825167915.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1227824056825167915.key) 22:10:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:26 + git semver init 22:10:26 2023-02-17 22:10:26,682 [run_init] DEBUG init version:0.0.0 force:False 22:10:26 2023-02-17 22:10:26,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 22:10:26 2023-02-17 22:10:26,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 22:10:26 2023-02-17 22:10:26,683 [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) 22:10:27 2023-02-17 22:10:27,677 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 22:10:27 2023-02-17 22:10:27,678 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 22:10:27 2023-02-17 22:10:27,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:10:27 2023-02-17 22:10:27,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:10:27 3.0.0-dev.12 [Pipeline] } 22:10:27 $ docker exec --env ******** --env ******** 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 ssh-agent -k 22:10:28 unset SSH_AUTH_SOCK; 22:10:28 unset SSH_AGENT_PID; 22:10:28 echo Agent pid 77 killed; 22:10:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:28 + git semver [Pipeline] } 22:10:28 $ docker stop --time=1 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 22:10:30 $ docker rm -f --volumes 728bedfa9492479e8ebde84162556d49d7a56aaefa9e1d463e9cb3543dee4351 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:30 Stashed 1 file(s) [Pipeline] echo 22:10:30 [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 22:10:30 provisioning config files... 22:10:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13536454617502365945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:31 ---> docker-login.sh 22:10:31 nexus3.edgexfoundry.org:10001 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 nexus3.edgexfoundry.org:10002 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 nexus3.edgexfoundry.org:10003 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 nexus3.edgexfoundry.org:10004 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 docker.io 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 ---> docker-login.sh ends [Pipeline] } 22:10:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:31 ========================================================= 22:10:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:10:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:32 + 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 . 22:10:32 Sending build context to Docker daemon 6.368MB 22:10:32 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:10:32 Step 2/10 : FROM ${BASE} AS builder 22:10:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:32 213ec9aee27d: Pulling fs layer 22:10:32 4583459ba037: Pulling fs layer 22:10:32 93c1e223e6f2: Pulling fs layer 22:10:32 53926ce57604: Pulling fs layer 22:10:32 21b2b0c7a3f4: Pulling fs layer 22:10:32 22ff95d597cd: Pulling fs layer 22:10:32 12d6caf4c0d1: Pulling fs layer 22:10:32 96b7cbca73a9: Pulling fs layer 22:10:32 a7acece74701: Pulling fs layer 22:10:32 53926ce57604: Waiting 22:10:32 21b2b0c7a3f4: Waiting 22:10:32 22ff95d597cd: Waiting 22:10:32 12d6caf4c0d1: Waiting 22:10:32 a7acece74701: Waiting 22:10:32 96b7cbca73a9: Waiting 22:10:32 93c1e223e6f2: Verifying Checksum 22:10:32 93c1e223e6f2: Download complete 22:10:32 4583459ba037: Verifying Checksum 22:10:32 4583459ba037: Download complete 22:10:32 21b2b0c7a3f4: Verifying Checksum 22:10:32 21b2b0c7a3f4: Download complete 22:10:32 22ff95d597cd: Download complete 22:10:32 213ec9aee27d: Verifying Checksum 22:10:32 213ec9aee27d: Download complete 22:10:32 12d6caf4c0d1: Download complete 22:10:32 213ec9aee27d: Pull complete 22:10:32 4583459ba037: Pull complete 22:10:33 93c1e223e6f2: Pull complete 22:10:33 a7acece74701: Verifying Checksum 22:10:33 a7acece74701: Download complete 22:10:33 53926ce57604: Verifying Checksum 22:10:33 53926ce57604: Download complete 22:10:33 96b7cbca73a9: Verifying Checksum 22:10:33 96b7cbca73a9: Download complete 22:10:38 53926ce57604: Pull complete 22:10:38 21b2b0c7a3f4: Pull complete 22:10:38 22ff95d597cd: Pull complete 22:10:38 12d6caf4c0d1: Pull complete 22:10:40 96b7cbca73a9: Pull complete 22:10:40 a7acece74701: Pull complete 22:10:40 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:10:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:10:40 ---> db6d94c90886 22:10:40 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:10:45 Still waiting to schedule task 22:10:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:10:46 ---> Running in eb507e074939 22:10:46 Removing intermediate container eb507e074939 22:10:46 ---> a413ee010255 22:10:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:10:46 ---> Running in b869907de72b 22:10:46 Removing intermediate container b869907de72b 22:10:46 ---> c44348d38471 22:10:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:10:46 ---> Running in 09c49c0e26d2 22:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:10:47 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:10:47 (2/8) Installing libedit (20210910.3.1-r0) 22:10:47 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:10:47 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:10:47 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:10:47 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:10:47 (7/8) Installing openssh-server (9.0_p1-r2) 22:10:47 (8/8) Installing openssh (9.0_p1-r2) 22:10:47 Executing busybox-1.35.0-r17.trigger 22:10:47 OK: 217 MiB in 59 packages 22:10:47 Removing intermediate container 09c49c0e26d2 22:10:47 ---> 132b083f3d9a 22:10:47 Step 6/10 : WORKDIR /device-modbus-go 22:10:48 ---> Running in 4009ae729f2f 22:10:48 Removing intermediate container 4009ae729f2f 22:10:48 ---> 429cc3a9a7b0 22:10:48 Step 7/10 : COPY go.mod vendor* ./ 22:10:48 ---> eb4f0b8f455d 22:10:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:10:48 ---> Running in 4db135802f5d 22:11:20 Removing intermediate container 4db135802f5d 22:11:20 ---> fcd6811fc385 22:11:20 Step 9/10 : COPY . . 22:11:20 ---> 60eec063f928 22:11:20 Step 10/10 : RUN ${MAKE} 22:11:20 ---> Running in 1854d88b8903 22:11:20 noop 22:11:20 Removing intermediate container 1854d88b8903 22:11:20 ---> 2779bf268324 22:11:20 Successfully built 2779bf268324 22:11:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:20 + docker inspect -f . ci-base-image-x86_64 22:11:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:20 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:11:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:20 $ docker top d63bb7de4c86cb774bc5668275a1ccd6241c7aae319ddfb7d8a824a16c38e1ef -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:21 + go version 22:11:21 go version go1.18.7 linux/amd64 [Pipeline] } 22:11:21 $ docker stop --time=1 d63bb7de4c86cb774bc5668275a1ccd6241c7aae319ddfb7d8a824a16c38e1ef 22:11:22 $ docker rm -f --volumes d63bb7de4c86cb774bc5668275a1ccd6241c7aae319ddfb7d8a824a16c38e1ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:22 + docker inspect -f . ci-base-image-x86_64 22:11:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:23 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:11:23 $ 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 22:11:23 $ docker top a95162c7c85012569c98fc150af9cdf56adc3a063f4406e632c66d021a85e41a -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 22:11:24 + make test 22:11:24 go test ./... -coverprofile=coverage.out 22:11:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:11:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:11:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 22:11:42 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." 22:11:42 go vet ./... 22:11:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:11:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:11:45 ./bin/test-attribution-txt.sh [Pipeline] echo 22:11:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:11:45 $ docker stop --time=1 a95162c7c85012569c98fc150af9cdf56adc3a063f4406e632c66d021a85e41a 22:11:48 $ docker rm -f --volumes a95162c7c85012569c98fc150af9cdf56adc3a063f4406e632c66d021a85e41a [Pipeline] // withDockerContainer [Pipeline] sh 22:11:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:11:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:11:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:11:49 + ls -al . 22:11:49 total 184 22:11:49 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 22:11 . 22:11:49 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:10 .. 22:11:49 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 22:10 .dockerignore 22:11:49 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 22:11 .git 22:11:49 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:10 .github 22:11:49 -rw-rw-r-- 1 jenkins jenkins 331 Feb 17 22:10 .gitignore 22:11:49 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 22:10 .golangci.yml 22:11:49 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 22:10 .semver 22:11:49 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 17 22:10 Attribution.txt 22:11:49 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 17 22:10 CHANGELOG.md 22:11:49 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 17 22:10 Dockerfile 22:11:49 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 22:10 GOVERNANCE.md 22:11:49 -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 22:10 Jenkinsfile 22:11:49 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 22:10 LICENSE 22:11:49 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 17 22:10 Makefile 22:11:49 -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 22:10 OWNERS.md 22:11:49 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 17 22:10 README.md 22:11:49 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 22:10 VERSION 22:11:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:10 bin 22:11:49 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:10 cmd 22:11:49 -rw-r--r-- 1 jenkins jenkins 23241 Feb 17 22:11 coverage.out 22:11:49 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 17 22:10 go.mod 22:11:49 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 17 22:10 go.sum 22:11:49 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:10 internal 22:11:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:10 simulator 22:11:49 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:10 snap 22:11:49 -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:49 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 --label arch=amd64 --label version=3.0.0-dev.12 . 22:11:49 Sending build context to Docker daemon 6.392MB 22:11:49 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 22:11:49 Step 2/22 : FROM ${BASE} AS builder 22:11:49 ---> 2779bf268324 22:11:49 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:11:50 ---> Running in 9a6b43bfc762 22:11:50 Removing intermediate container 9a6b43bfc762 22:11:50 ---> e9ce93ba9b25 22:11:50 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:50 ---> Running in a56a9051b710 22:11:50 Removing intermediate container a56a9051b710 22:11:50 ---> 96136e92652a 22:11:50 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:11:50 ---> Running in d7e4ff678264 22:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:11:50 OK: 217 MiB in 59 packages 22:11:51 Removing intermediate container d7e4ff678264 22:11:51 ---> f98844055a7a 22:11:51 Step 6/22 : WORKDIR /device-modbus-go 22:11:51 ---> Running in 1644c17958dd 22:11:51 Removing intermediate container 1644c17958dd 22:11:51 ---> 1f797f9a0be5 22:11:51 Step 7/22 : COPY go.mod vendor* ./ 22:11:51 ---> 23d2808c6907 22:11:51 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:51 ---> Running in 79feea1d0c3d 22:11:52 Removing intermediate container 79feea1d0c3d 22:11:52 ---> cd01a3ba7621 22:11:52 Step 9/22 : COPY . . 22:11:52 ---> 151aa01fb0a6 22:11:52 Step 10/22 : RUN ${MAKE} 22:11:53 ---> Running in 4453b8e0dfd2 22:11:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:12:15 Removing intermediate container 4453b8e0dfd2 22:12:15 ---> bb722ca5ea46 22:12:15 Step 11/22 : FROM alpine:3.14 22:12:15 3.14: Pulling from library/alpine 22:12:15 d261077062b2: Pulling fs layer 22:12:15 d261077062b2: Verifying Checksum 22:12:15 d261077062b2: Download complete 22:12:15 d261077062b2: Pull complete 22:12:15 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 22:12:15 Status: Downloaded newer image for alpine:3.14 22:12:15 ---> 6dff1269bc79 22:12:15 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:12:15 ---> Running in 9ab6dc4fae3f 22:12:15 Removing intermediate container 9ab6dc4fae3f 22:12:15 ---> 4e64617d58d1 22:12:15 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:12:15 ---> Running in 46c11d29e108 22:12:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:12:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:12:15 (1/1) Installing dumb-init (1.2.5-r1) 22:12:15 Executing busybox-1.33.1-r8.trigger 22:12:15 OK: 6 MiB in 15 packages 22:12:16 Removing intermediate container 46c11d29e108 22:12:16 ---> 7e68e1b762af 22:12:16 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:12:17 ---> 9e63f7586fe9 22:12:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:12:17 ---> 34dd44486405 22:12:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:12:17 ---> aec912372b6d 22:12:17 Step 17/22 : EXPOSE 59901 22:12:17 ---> Running in 1ab87bc0d36c 22:12:17 Removing intermediate container 1ab87bc0d36c 22:12:17 ---> 7b457684c9f4 22:12:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:12:17 ---> Running in 328cb9c54d4f 22:12:17 Removing intermediate container 328cb9c54d4f 22:12:17 ---> 725c2109f37e 22:12:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:12:17 ---> Running in c3b29f5a4260 22:12:17 Removing intermediate container c3b29f5a4260 22:12:17 ---> e3f4136ccfc6 22:12:17 Step 20/22 : LABEL arch=amd64 22:12:17 ---> Running in 853083b5bc41 22:12:17 Removing intermediate container 853083b5bc41 22:12:17 ---> b365c3e7b2ab 22:12:17 Step 21/22 : LABEL git_sha=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:12:17 ---> Running in 435b7282cd7b 22:12:17 Removing intermediate container 435b7282cd7b 22:12:17 ---> 4325bed5d98a 22:12:17 Step 22/22 : LABEL version=3.0.0-dev.12 22:12:17 ---> Running in 16f2d7abc83f 22:12:17 Removing intermediate container 16f2d7abc83f 22:12:17 ---> 446dc5e04db1 22:12:17 [Warning] One or more build-args [ARCH] were not consumed 22:12:17 Successfully built 446dc5e04db1 22:12:17 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:17 provisioning config files... 22:12:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12769527752286457787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:18 ---> docker-login.sh 22:12:18 nexus3.edgexfoundry.org:10001 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 nexus3.edgexfoundry.org:10002 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 nexus3.edgexfoundry.org:10003 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 nexus3.edgexfoundry.org:10004 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 docker.io 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 ---> docker-login.sh ends [Pipeline] } 22:12:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:18 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 22:12:18 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:12:18 latest 22:12:18 3.0.0-dev.12 22:12:18 c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 22:12:18 main 22:12:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:19 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:12:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:12:19 2f711e5df006: Preparing 22:12:19 cf190068ebbe: Preparing 22:12:19 6203bd2387e5: Preparing 22:12:19 d47084330780: Preparing 22:12:19 625523cb9cce: Preparing 22:12:19 625523cb9cce: Layer already exists 22:12:19 d47084330780: Pushed 22:12:19 2f711e5df006: Pushed 22:12:19 cf190068ebbe: Pushed 22:12:22 6203bd2387e5: Pushed 22:12:22 c3aad7bd2c33aca71f49ec3c385ee682c91bb904: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 22:12:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:12:22 2f711e5df006: Preparing 22:12:22 cf190068ebbe: Preparing 22:12:22 6203bd2387e5: Preparing 22:12:22 d47084330780: Preparing 22:12:22 625523cb9cce: Preparing 22:12:22 cf190068ebbe: Layer already exists 22:12:22 d47084330780: Layer already exists 22:12:22 625523cb9cce: Layer already exists 22:12:22 2f711e5df006: Layer already exists 22:12:22 6203bd2387e5: Layer already exists 22:12:22 latest: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.12 22:12:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:12:23 2f711e5df006: Preparing 22:12:23 cf190068ebbe: Preparing 22:12:23 6203bd2387e5: Preparing 22:12:23 d47084330780: Preparing 22:12:23 625523cb9cce: Preparing 22:12:23 2f711e5df006: Layer already exists 22:12:23 cf190068ebbe: Layer already exists 22:12:23 d47084330780: Layer already exists 22:12:23 6203bd2387e5: Layer already exists 22:12:23 625523cb9cce: Layer already exists 22:12:23 3.0.0-dev.12: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 22:12:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:12:23 2f711e5df006: Preparing 22:12:23 cf190068ebbe: Preparing 22:12:23 6203bd2387e5: Preparing 22:12:23 d47084330780: Preparing 22:12:23 625523cb9cce: Preparing 22:12:23 6203bd2387e5: Layer already exists 22:12:23 cf190068ebbe: Layer already exists 22:12:23 2f711e5df006: Layer already exists 22:12:23 d47084330780: Layer already exists 22:12:23 625523cb9cce: Layer already exists 22:12:23 c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:24 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 22:12:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 22:12:24 2f711e5df006: Preparing 22:12:24 cf190068ebbe: Preparing 22:12:24 6203bd2387e5: Preparing 22:12:24 d47084330780: Preparing 22:12:24 625523cb9cce: Preparing 22:12:24 6203bd2387e5: Layer already exists 22:12:24 625523cb9cce: Layer already exists 22:12:24 2f711e5df006: Layer already exists 22:12:24 cf190068ebbe: Layer already exists 22:12:24 d47084330780: Layer already exists 22:12:24 main: digest: sha256:6e0a44de42737172b84701de5cacb5eb6399f320f00ebf970819ac7ebd184d29 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:24 ===================================================== [Pipeline] echo 22:12:24 taggedImages: 22:12:24 - nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:12:24 - nexus3.edgexfoundry.org:10004/device-modbus:latest 22:12:24 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.12 22:12:24 - nexus3.edgexfoundry.org:10004/device-modbus:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 22:12:24 - 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 22:12:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:25 22:12:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:25 latest: Pulling from edgex-lftools-log-publisher 22:12:25 5eb5b503b376: Pulling fs layer 22:12:25 5c69ac0246d0: Pulling fs layer 22:12:25 ec43610c2a17: Pulling fs layer 22:12:25 3a2ae6a8a46f: Pulling fs layer 22:12:25 33b1e0a273af: Pulling fs layer 22:12:25 5d3b04190fa2: Pulling fs layer 22:12:25 2f39f015ded8: Pulling fs layer 22:12:25 33b1e0a273af: Waiting 22:12:25 5d3b04190fa2: Waiting 22:12:25 3a2ae6a8a46f: Waiting 22:12:25 2f39f015ded8: Waiting 22:12:25 5c69ac0246d0: Download complete 22:12:25 3a2ae6a8a46f: Verifying Checksum 22:12:25 3a2ae6a8a46f: Download complete 22:12:25 33b1e0a273af: Verifying Checksum 22:12:25 33b1e0a273af: Download complete 22:12:25 5d3b04190fa2: Download complete 22:12:25 ec43610c2a17: Verifying Checksum 22:12:25 ec43610c2a17: Download complete 22:12:25 5eb5b503b376: Verifying Checksum 22:12:25 5eb5b503b376: Download complete 22:12:26 2f39f015ded8: Download complete 22:12:26 5eb5b503b376: Pull complete 22:12:27 5c69ac0246d0: Pull complete 22:12:27 ec43610c2a17: Pull complete 22:12:27 3a2ae6a8a46f: Pull complete 22:12:28 33b1e0a273af: Pull complete 22:12:28 5d3b04190fa2: Pull complete 22:12:33 2f39f015ded8: Pull complete 22:12:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:33 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:12:33 $ 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 22:12:36 $ docker top 868dcac6087194eda16b0bbeab94beb419d89eed52dfa0a0c5814f830487ea0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:37 ---> job-cost.sh 22:12:37 lf-activate-venv: SKIPPING 22:12:37 INFO: No Stack... 22:12:37 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:38 INFO: Archiving Costs [Pipeline] sh 22:12:38 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 22:12:38 + cut -d, -f6 [Pipeline] lock 22:12:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] 22:12:38 Resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] did not exist. Created. 22:12:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:38 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:38 Stashed 1 file(s) [Pipeline] } 22:12:38 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:38 $ docker stop --time=1 868dcac6087194eda16b0bbeab94beb419d89eed52dfa0a0c5814f830487ea0a 22:12:40 $ docker rm -f --volumes 868dcac6087194eda16b0bbeab94beb419d89eed52dfa0a0c5814f830487ea0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:12:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6514 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 22:12:57 Running in /w/workspace/device-modbus-go/78 [Pipeline] { [Pipeline] checkout 22:12:57 Selected Git installation does not exist. Using Default 22:12:57 The recommended git tool is: NONE 22:13:03 using credential edgex-jenkins-ssh 22:13:03 Cloning the remote Git repository 22:13:03 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 22:13:03 > git init /w/workspace/device-modbus-go/78 # timeout=10 22:13:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 22:13:03 > git --version # timeout=10 22:13:03 > git --version # 'git version 2.25.1' 22:13:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:06 Avoid second fetch 22:13:06 Checking out Revision c3aad7bd2c33aca71f49ec3c385ee682c91bb904 (main) 22:13:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 22:13:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:06 > git config core.sparsecheckout # timeout=10 22:13:06 > git checkout -f c3aad7bd2c33aca71f49ec3c385ee682c91bb904 # timeout=10 22:13:06 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#415)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:07 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:07 Dload Upload Total Spent Left Speed 22:13:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 22:13:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:08 + sudo tee /etc/docker/daemon.new 22:13:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:08 { 22:13:08 "registry-mirrors": [ 22:13:08 "https://nexus3.edgexfoundry.org:10001" 22:13:08 ], 22:13:08 "bip": "10.250.0.254/24", 22:13:08 "hosts": [ 22:13:08 "tcp://0.0.0.0:5555", 22:13:08 "unix:///var/run/docker.sock" 22:13:08 ], 22:13:08 "mtu": 1458, 22:13:08 "selinux-enabled": true, 22:13:08 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:08 } [Pipeline] sh 22:13:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:27 provisioning config files... 22:13:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/78@tmp/config7561954293793937264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:27 ---> docker-login.sh 22:13:27 nexus3.edgexfoundry.org:10001 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:28 Configure a credential helper to remove this warning. See 22:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:28 22:13:28 Login Succeeded 22:13:28 nexus3.edgexfoundry.org:10002 22:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:28 Configure a credential helper to remove this warning. See 22:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:28 22:13:28 Login Succeeded 22:13:28 nexus3.edgexfoundry.org:10003 22:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:29 Configure a credential helper to remove this warning. See 22:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:29 22:13:29 Login Succeeded 22:13:29 nexus3.edgexfoundry.org:10004 22:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:29 Configure a credential helper to remove this warning. See 22:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:29 22:13:29 Login Succeeded 22:13:29 docker.io 22:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:30 Configure a credential helper to remove this warning. See 22:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:30 22:13:30 Login Succeeded 22:13:30 ---> docker-login.sh ends [Pipeline] } 22:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:30 ========================================================= 22:13:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:13:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:30 + 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 . 22:13:31 Sending build context to Docker daemon 3.314MB 22:13:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:13:31 Step 2/10 : FROM ${BASE} AS builder 22:13:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:31 9b18e9b68314: Pulling fs layer 22:13:31 35d82f9e3411: Pulling fs layer 22:13:31 e16973657156: Pulling fs layer 22:13:31 fc693d55d65f: Pulling fs layer 22:13:31 7e9fc2657dce: Pulling fs layer 22:13:31 dda99020689f: Pulling fs layer 22:13:31 db1c61fa0a46: Pulling fs layer 22:13:31 891c053d2c06: Pulling fs layer 22:13:31 fc693d55d65f: Waiting 22:13:31 7e9fc2657dce: Waiting 22:13:31 dda99020689f: Waiting 22:13:31 db1c61fa0a46: Waiting 22:13:31 891c053d2c06: Waiting 22:13:31 35d82f9e3411: Verifying Checksum 22:13:31 35d82f9e3411: Download complete 22:13:31 7e9fc2657dce: Verifying Checksum 22:13:31 7e9fc2657dce: Download complete 22:13:31 dda99020689f: Download complete 22:13:31 9b18e9b68314: Verifying Checksum 22:13:32 9b18e9b68314: Pull complete 22:13:32 891c053d2c06: Verifying Checksum 22:13:32 891c053d2c06: Download complete 22:13:33 35d82f9e3411: Pull complete 22:13:33 e16973657156: Pull complete 22:13:34 db1c61fa0a46: Verifying Checksum 22:13:34 fc693d55d65f: Verifying Checksum 22:13:34 fc693d55d65f: Download complete 22:13:47 fc693d55d65f: Pull complete 22:13:47 7e9fc2657dce: Pull complete 22:13:47 dda99020689f: Pull complete 22:13:53 db1c61fa0a46: Pull complete 22:13:55 891c053d2c06: Pull complete 22:13:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:13:55 ---> f96f9c87975a 22:13:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 22:13:57 ---> Running in 3e735e2ca3cd 22:13:57 Removing intermediate container 3e735e2ca3cd 22:13:57 ---> db73438fd50b 22:13:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:57 ---> Running in 1514ceeab912 22:13:57 Removing intermediate container 1514ceeab912 22:13:57 ---> c626cda674fb 22:13:57 Step 5/10 : RUN apk add --update --no-cache make git openssh 22:13:57 ---> Running in 2ae3ef6205bf 22:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:14:00 (1/8) Installing openssh-keygen (9.0_p1-r2) 22:14:00 (2/8) Installing libedit (20210910.3.1-r0) 22:14:00 (3/8) Installing openssh-client-common (9.0_p1-r2) 22:14:00 (4/8) Installing openssh-client-default (9.0_p1-r2) 22:14:00 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 22:14:00 (6/8) Installing openssh-server-common (9.0_p1-r2) 22:14:00 (7/8) Installing openssh-server (9.0_p1-r2) 22:14:00 (8/8) Installing openssh (9.0_p1-r2) 22:14:00 Executing busybox-1.35.0-r17.trigger 22:14:00 OK: 228 MiB in 59 packages 22:14:03 Removing intermediate container 2ae3ef6205bf 22:14:03 ---> 4e5e4d7c48bd 22:14:03 Step 6/10 : WORKDIR /device-modbus-go 22:14:03 ---> Running in ac99947271d7 22:14:04 Removing intermediate container ac99947271d7 22:14:04 ---> 5ccdb9d3f62c 22:14:04 Step 7/10 : COPY go.mod vendor* ./ 22:14:04 ---> afe1e8f50cc5 22:14:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:04 ---> Running in d3c27b565753 22:15:12 Removing intermediate container d3c27b565753 22:15:12 ---> 39a8e749280f 22:15:12 Step 9/10 : COPY . . 22:15:12 ---> e08497799f44 22:15:12 Step 10/10 : RUN ${MAKE} 22:15:12 ---> Running in d76447e26d32 22:15:13 noop 22:15:14 Removing intermediate container d76447e26d32 22:15:14 ---> 4011f99ae2e7 22:15:14 Successfully built 4011f99ae2e7 22:15:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:14 + docker inspect -f . ci-base-image-arm64 22:15:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:14 prd-ubuntu20.04-docker-arm64-4c-16g-6514 does not seem to be running inside a container 22:15:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/78 -v /w/workspace/device-modbus-go/78:/w/workspace/device-modbus-go/78:rw,z -v /w/workspace/device-modbus-go/78@tmp:/w/workspace/device-modbus-go/78@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 22:15:16 $ docker top cd4a33dd6c6c7606e5f45801e1b07df7adffd92995e5366455ca996caaaafb95 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:17 + go version 22:15:17 go version go1.18.7 linux/arm64 [Pipeline] } 22:15:17 $ docker stop --time=1 cd4a33dd6c6c7606e5f45801e1b07df7adffd92995e5366455ca996caaaafb95 22:15:18 $ docker rm -f --volumes cd4a33dd6c6c7606e5f45801e1b07df7adffd92995e5366455ca996caaaafb95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:19 + docker inspect -f . ci-base-image-arm64 22:15:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:19 prd-ubuntu20.04-docker-arm64-4c-16g-6514 does not seem to be running inside a container 22:15:19 $ 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/78 -v /w/workspace/device-modbus-go/78:/w/workspace/device-modbus-go/78:rw,z -v /w/workspace/device-modbus-go/78@tmp:/w/workspace/device-modbus-go/78@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 22:15:20 $ docker top 2eab12c13d334e3acc8286efc8ba5136b18778c1ce0e347dc6c83046ffdaf5e3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:21 + git config --global --add safe.directory /w/workspace/device-modbus-go/78 [Pipeline] fileExists [Pipeline] sh 22:15:21 + make test 22:15:21 go test ./... -coverprofile=coverage.out 22:15:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 22:16:45 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 22:16:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements 22:16:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:16:45 go vet ./... 22:17:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:17:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:17:12 ./bin/test-attribution-txt.sh [Pipeline] echo 22:17:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:17:12 $ docker stop --time=1 2eab12c13d334e3acc8286efc8ba5136b18778c1ce0e347dc6c83046ffdaf5e3 22:17:14 $ docker rm -f --volumes 2eab12c13d334e3acc8286efc8ba5136b18778c1ce0e347dc6c83046ffdaf5e3 [Pipeline] // withDockerContainer [Pipeline] sh 22:17:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:17:15 Warning: overwriting stash ‘coverage-report’ 22:17:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:17:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:17:16 + ls -al . 22:17:16 total 180 22:17:16 drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 22:15 . 22:17:16 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:13 .. 22:17:16 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 22:13 .dockerignore 22:17:16 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 22:13 .git 22:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:13 .github 22:17:16 -rw-rw-r-- 1 jenkins jenkins 331 Feb 17 22:13 .gitignore 22:17:16 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 22:13 .golangci.yml 22:17:16 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 17 22:13 Attribution.txt 22:17:16 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 17 22:13 CHANGELOG.md 22:17:16 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 17 22:13 Dockerfile 22:17:16 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 22:13 GOVERNANCE.md 22:17:16 -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 22:13 Jenkinsfile 22:17:16 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 22:13 LICENSE 22:17:16 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 17 22:13 Makefile 22:17:16 -rw-rw-r-- 1 jenkins jenkins 622 Feb 17 22:13 OWNERS.md 22:17:16 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 17 22:13 README.md 22:17:16 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 22:10 VERSION 22:17:16 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:13 bin 22:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:13 cmd 22:17:16 -rw-r--r-- 1 jenkins jenkins 23241 Feb 17 22:16 coverage.out 22:17:16 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 17 22:13 go.mod 22:17:16 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 17 22:13 go.sum 22:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:13 internal 22:17:16 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:13 simulator 22:17:16 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:13 snap 22:17:16 -rw-rw-r-- 1 jenkins jenkins 229 Feb 17 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:16 + 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=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 --label arch=arm64 --label version=3.0.0-dev.12 . 22:17:17 Sending build context to Docker daemon 3.338MB 22:17:17 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 22:17:17 Step 2/22 : FROM ${BASE} AS builder 22:17:17 ---> 4011f99ae2e7 22:17:17 Step 3/22 : ARG ADD_BUILD_TAGS="" 22:17:17 ---> Running in 520aa9892c28 22:17:18 Removing intermediate container 520aa9892c28 22:17:18 ---> 4484b82f2a9b 22:17:18 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:17:18 ---> Running in a166e2a189c2 22:17:18 Removing intermediate container a166e2a189c2 22:17:18 ---> 5f5e6364e527 22:17:18 Step 5/22 : RUN apk add --update --no-cache make git openssh 22:17:18 ---> Running in d0ae71a941d8 22:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:17:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:17:21 OK: 228 MiB in 59 packages 22:17:22 Removing intermediate container d0ae71a941d8 22:17:22 ---> ed7a40d32675 22:17:22 Step 6/22 : WORKDIR /device-modbus-go 22:17:22 ---> Running in f2d61222f5bc 22:17:22 Removing intermediate container f2d61222f5bc 22:17:22 ---> 8ed715f00af6 22:17:22 Step 7/22 : COPY go.mod vendor* ./ 22:17:23 ---> 5946db9ae3b7 22:17:23 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:23 ---> Running in 23ea2703b5cc 22:17:25 Removing intermediate container 23ea2703b5cc 22:17:25 ---> 499c6b43ea64 22:17:25 Step 9/22 : COPY . . 22:17:26 ---> 510bafffcc72 22:17:26 Step 10/22 : RUN ${MAKE} 22:17:26 ---> Running in aba3293eb9de 22:17:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 22:19:49 Removing intermediate container aba3293eb9de 22:19:49 ---> 8b41b6a8be49 22:19:49 Step 11/22 : FROM alpine:3.14 22:19:49 3.14: Pulling from library/alpine 22:19:49 6f0e733d82e2: Pulling fs layer 22:19:49 6f0e733d82e2: Download complete 22:19:49 6f0e733d82e2: Pull complete 22:19:49 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 22:19:49 Status: Downloaded newer image for alpine:3.14 22:19:49 ---> bf97f6347a60 22:19:49 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 22:19:49 ---> Running in 78d620277b07 22:19:49 Removing intermediate container 78d620277b07 22:19:49 ---> 5ad5f949ddbb 22:19:49 Step 13/22 : RUN apk add --update --no-cache dumb-init 22:19:49 ---> Running in 653063b03853 22:19:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:19:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:19:49 (1/1) Installing dumb-init (1.2.5-r1) 22:19:49 Executing busybox-1.33.1-r8.trigger 22:19:49 OK: 6 MiB in 15 packages 22:19:49 Removing intermediate container 653063b03853 22:19:49 ---> 3c80578b2543 22:19:49 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 22:19:49 ---> 76d0c9baf411 22:19:49 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 22:19:49 ---> 74f4b458cec6 22:19:49 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 22:19:49 ---> 6384a02766a7 22:19:49 Step 17/22 : EXPOSE 59901 22:19:49 ---> Running in ee9ac01709e5 22:19:50 Removing intermediate container ee9ac01709e5 22:19:50 ---> 919718bb9d75 22:19:50 Step 18/22 : ENTRYPOINT ["/device-modbus"] 22:19:50 ---> Running in ebf7f0d6c1ea 22:19:50 Removing intermediate container ebf7f0d6c1ea 22:19:50 ---> 552fd7eab969 22:19:50 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 22:19:50 ---> Running in 58e55b602015 22:19:50 Removing intermediate container 58e55b602015 22:19:50 ---> 8de438644694 22:19:50 Step 20/22 : LABEL arch=arm64 22:19:50 ---> Running in dc9375b12b86 22:19:51 Removing intermediate container dc9375b12b86 22:19:51 ---> a617aedd0026 22:19:51 Step 21/22 : LABEL git_sha=c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:19:51 ---> Running in 4ada57d4d1b1 22:19:51 Removing intermediate container 4ada57d4d1b1 22:19:51 ---> 30dc7ec7bcfd 22:19:51 Step 22/22 : LABEL version=3.0.0-dev.12 22:19:51 ---> Running in f23d111dfceb 22:19:51 Removing intermediate container f23d111dfceb 22:19:51 ---> 6c3c91252cd4 22:19:51 [Warning] One or more build-args [ARCH] were not consumed 22:19:51 Successfully built 6c3c91252cd4 22:19:51 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 22:19:52 provisioning config files... 22:19:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/78@tmp/config4625827464161746141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:52 ---> docker-login.sh 22:19:52 nexus3.edgexfoundry.org:10001 22:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:52 Configure a credential helper to remove this warning. See 22:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:52 22:19:52 Login Succeeded 22:19:52 nexus3.edgexfoundry.org:10002 22:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:52 Configure a credential helper to remove this warning. See 22:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:52 22:19:52 Login Succeeded 22:19:52 nexus3.edgexfoundry.org:10003 22:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:53 Configure a credential helper to remove this warning. See 22:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:53 22:19:53 Login Succeeded 22:19:53 nexus3.edgexfoundry.org:10004 22:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:53 Configure a credential helper to remove this warning. See 22:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:53 22:19:53 Login Succeeded 22:19:53 docker.io 22:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:19:54 Configure a credential helper to remove this warning. See 22:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:19:54 22:19:54 Login Succeeded 22:19:54 ---> docker-login.sh ends [Pipeline] } 22:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:19:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:19:54 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 22:19:54 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:19:54 latest 22:19:54 3.0.0-dev.12 22:19:54 c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 22:19:54 main 22:19:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:19:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:19:55 5124f4aaaf04: Preparing 22:19:55 f8bf945bd7ac: Preparing 22:19:55 193028862c87: Preparing 22:19:55 59b6eca3b396: Preparing 22:19:55 c39af2d4cb8d: Preparing 22:19:55 c39af2d4cb8d: Layer already exists 22:19:55 5124f4aaaf04: Pushed 22:19:55 f8bf945bd7ac: Pushed 22:19:55 59b6eca3b396: Pushed 22:20:00 193028862c87: Pushed 22:20:00 c3aad7bd2c33aca71f49ec3c385ee682c91bb904: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:20:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:20:01 5124f4aaaf04: Preparing 22:20:01 f8bf945bd7ac: Preparing 22:20:01 193028862c87: Preparing 22:20:01 59b6eca3b396: Preparing 22:20:01 c39af2d4cb8d: Preparing 22:20:01 f8bf945bd7ac: Layer already exists 22:20:01 193028862c87: Layer already exists 22:20:01 59b6eca3b396: Layer already exists 22:20:01 c39af2d4cb8d: Layer already exists 22:20:01 5124f4aaaf04: Layer already exists 22:20:01 latest: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.12 22:20:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:20:02 5124f4aaaf04: Preparing 22:20:02 f8bf945bd7ac: Preparing 22:20:02 193028862c87: Preparing 22:20:02 59b6eca3b396: Preparing 22:20:02 c39af2d4cb8d: Preparing 22:20:02 5124f4aaaf04: Layer already exists 22:20:02 59b6eca3b396: Layer already exists 22:20:02 f8bf945bd7ac: Layer already exists 22:20:02 193028862c87: Layer already exists 22:20:02 c39af2d4cb8d: Layer already exists 22:20:02 3.0.0-dev.12: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 22:20:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:20:03 5124f4aaaf04: Preparing 22:20:03 f8bf945bd7ac: Preparing 22:20:03 193028862c87: Preparing 22:20:03 59b6eca3b396: Preparing 22:20:03 c39af2d4cb8d: Preparing 22:20:03 59b6eca3b396: Layer already exists 22:20:03 c39af2d4cb8d: Layer already exists 22:20:03 f8bf945bd7ac: Layer already exists 22:20:03 193028862c87: Layer already exists 22:20:03 5124f4aaaf04: Layer already exists 22:20:03 c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 22:20:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 22:20:03 5124f4aaaf04: Preparing 22:20:03 f8bf945bd7ac: Preparing 22:20:03 193028862c87: Preparing 22:20:03 59b6eca3b396: Preparing 22:20:03 c39af2d4cb8d: Preparing 22:20:03 5124f4aaaf04: Layer already exists 22:20:03 f8bf945bd7ac: Layer already exists 22:20:03 193028862c87: Layer already exists 22:20:03 59b6eca3b396: Layer already exists 22:20:03 c39af2d4cb8d: Layer already exists 22:20:03 main: digest: sha256:5a5b2ee0181ffebd3364f1f0d83aa21f9055ed03e14c8e8160336b6550c50d28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:20:04 ===================================================== [Pipeline] echo 22:20:04 taggedImages: 22:20:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904 22:20:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 22:20:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.12 22:20:04 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:c3aad7bd2c33aca71f49ec3c385ee682c91bb904-3.0.0-dev.12 22:20:04 - 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 22:20:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:04 22:20:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:04 arm64: Pulling from edgex-lftools-log-publisher 22:20:04 8998bd30e6a1: Pulling fs layer 22:20:04 04944245beec: Pulling fs layer 22:20:04 699f458cf7ca: Pulling fs layer 22:20:04 765212b225bb: Pulling fs layer 22:20:04 f23df028b6ca: Pulling fs layer 22:20:04 d65c8cfc05b1: Pulling fs layer 22:20:04 2437ff75d9bd: Pulling fs layer 22:20:04 f23df028b6ca: Waiting 22:20:04 d65c8cfc05b1: Waiting 22:20:04 2437ff75d9bd: Waiting 22:20:04 765212b225bb: Waiting 22:20:06 04944245beec: Verifying Checksum 22:20:06 04944245beec: Download complete 22:20:06 699f458cf7ca: Verifying Checksum 22:20:06 699f458cf7ca: Download complete 22:20:06 f23df028b6ca: Verifying Checksum 22:20:06 f23df028b6ca: Download complete 22:20:06 d65c8cfc05b1: Download complete 22:20:06 765212b225bb: Verifying Checksum 22:20:06 765212b225bb: Download complete 22:20:07 8998bd30e6a1: Verifying Checksum 22:20:07 8998bd30e6a1: Download complete 22:20:08 2437ff75d9bd: Verifying Checksum 22:20:08 2437ff75d9bd: Download complete 22:20:11 8998bd30e6a1: Pull complete 22:20:11 04944245beec: Pull complete 22:20:12 699f458cf7ca: Pull complete 22:20:12 765212b225bb: Pull complete 22:20:13 f23df028b6ca: Pull complete 22:20:14 d65c8cfc05b1: Pull complete 22:20:29 2437ff75d9bd: Pull complete 22:20:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:20:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:29 prd-ubuntu20.04-docker-arm64-4c-16g-6514 does not seem to be running inside a container 22:20:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/78 -v /w/workspace/device-modbus-go/78:/w/workspace/device-modbus-go/78:rw,z -v /w/workspace/device-modbus-go/78@tmp:/w/workspace/device-modbus-go/78@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 22:20:32 $ docker top fb3f5fea54ec9fe57d6bdd55dbf09c0b906998b152a41e68ddd7afed825d3e39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:33 ---> job-cost.sh 22:20:33 lf-activate-venv: SKIPPING 22:20:33 INFO: No Stack... 22:20:33 INFO: Retrieving Pricing Info for: v3-standard-4 22:20:34 INFO: Archiving Costs [Pipeline] sh 22:20:35 + cut -d, -f6 22:20:35 + cat /w/workspace/device-modbus-go/78/archives/cost.csv [Pipeline] lock 22:20:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] 22:20:35 Resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] did not exist. Created. 22:20:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:20:36 /w/workspace/device-modbus-go/78@tmp/durable-e93e744d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:20:36 + echo total: 0.10999999940395355 [Pipeline] stash 22:20:36 Warning: overwriting stash ‘stack-cost’ 22:20:36 Stashed 1 file(s) [Pipeline] } 22:20:36 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 22:20:36 $ docker stop --time=1 fb3f5fea54ec9fe57d6bdd55dbf09c0b906998b152a41e68ddd7afed825d3e39 22:20:38 $ docker rm -f --volumes fb3f5fea54ec9fe57d6bdd55dbf09c0b906998b152a41e68ddd7afed825d3e39 [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 22:20:38 provisioning config files... 22:20:38 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config394519513780684295tmp [Pipeline] { [Pipeline] sh 22:20:39 + set +x 22:20:39 + bash -s --+ 22:20:39 curl -s https://codecov.io/bash 22:20:39 22:20:39 _____ _ 22:20:39 / ____| | | 22:20:39 | | ___ __| | ___ ___ _____ __ 22:20:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:20:39 | |___| (_) | (_| | __/ (_| (_) \ V / 22:20:39 \_____\___/ \__,_|\___|\___\___/ \_/ 22:20:39 Bash-1.0.6 22:20:39 22:20:39 22:20:39 ==> git version 2.25.1 found 22:20:39 ==> 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 22:20:39 Release-Date: 2020-01-08 22:20:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:20:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:20:39 ==> Jenkins CI detected. 22:20:39 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 22:20:39 project root: . 22:20:39 --> token set from env 22:20:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:20:39 ==> Running gcov in . (disable via -X gcov) 22:20:39 ==> Python coveragepy not found 22:20:39 ==> Searching for coverage reports in: 22:20:39 + . 22:20:39 -> Found 1 reports 22:20:39 ==> Detecting git/mercurial file structure 22:20:39 ==> Reading reports 22:20:39 + ./coverage.out bytes=23241 22:20:39 ==> Appending adjustments 22:20:39 https://docs.codecov.io/docs/fixing-reports 22:20:39 + Found adjustments 22:20:39 ==> Gzipping contents 22:20:39 4.0K /tmp/codecov.7Ul6qL.gz 22:20:39 ==> Uploading reports 22:20:39 url: https://codecov.io 22:20:39 query: branch=main&commit=c3aad7bd2c33aca71f49ec3c385ee682c91bb904&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:20:39 -> Pinging Codecov 22:20:39 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=c3aad7bd2c33aca71f49ec3c385ee682c91bb904&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:20:39 -> Uploading to 22:20:39 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/55DBCA73C666E3227836607328DD7E49/c3aad7bd2c33aca71f49ec3c385ee682c91bb904/67b4453c-9efb-4a5b-8e88-e467a880cbcb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T222039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e73172c5bfa92247cc6983c9c5b1eed29fab5e052fba10d8d317e37449392f58 22:20:39 % Total % Received % Xferd Average Speed Time Time Time Current 22:20:39 Dload Upload Total Spent Left Speed 22:20:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 14969 --:--:-- --:--:-- --:--:-- 14969 22:20:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] } 22:20:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:20:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:20:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:20:40 22:20:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:20:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:20:40 df9b9388f04a: Pulling fs layer 22:20:40 52dc419b0ee2: Pulling fs layer 22:20:40 25bc292e5bac: Pulling fs layer 22:20:40 114826534d7a: Pulling fs layer 22:20:40 4657fd5d0bcf: Pulling fs layer 22:20:40 6ad1cebc031e: Pulling fs layer 22:20:40 8a3aa393b2d8: Pulling fs layer 22:20:40 4657fd5d0bcf: Waiting 22:20:40 6ad1cebc031e: Waiting 22:20:40 8a3aa393b2d8: Waiting 22:20:40 114826534d7a: Waiting 22:20:40 25bc292e5bac: Verifying Checksum 22:20:40 25bc292e5bac: Download complete 22:20:40 52dc419b0ee2: Download complete 22:20:40 4657fd5d0bcf: Verifying Checksum 22:20:40 4657fd5d0bcf: Download complete 22:20:40 df9b9388f04a: Download complete 22:20:41 df9b9388f04a: Pull complete 22:20:41 52dc419b0ee2: Pull complete 22:20:41 6ad1cebc031e: Verifying Checksum 22:20:41 6ad1cebc031e: Download complete 22:20:41 25bc292e5bac: Pull complete 22:20:42 114826534d7a: Verifying Checksum 22:20:42 114826534d7a: Download complete 22:20:42 8a3aa393b2d8: Verifying Checksum 22:20:42 8a3aa393b2d8: Download complete 22:20:45 114826534d7a: Pull complete 22:20:45 4657fd5d0bcf: Pull complete 22:20:46 6ad1cebc031e: Pull complete 22:20:49 8a3aa393b2d8: Pull complete 22:20:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:20:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:49 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:20:49 $ 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 22:20:54 $ docker top 46f6e3a06235984a090f4d3960c180c8f2d3dc9b778e095a83dc297a0a59c42d -eo pid,comm [Pipeline] { [Pipeline] echo 22:20:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 22:20:55 + set -o pipefail 22:20:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 22:21:01 22:21:01 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 22:21:01 22:21:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2e354702-2d4a-4e36-a0ca-a5a9cdf78d5c 22:21:01 22:21:01 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 22:21:01 22:21:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:21:01 22:21:01 22:21:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:21:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:21:01 More details here: https://snyk.co/ue1NS [Pipeline] } 22:21:01 $ docker stop --time=1 46f6e3a06235984a090f4d3960c180c8f2d3dc9b778e095a83dc297a0a59c42d 22:21:06 $ docker rm -f --volumes 46f6e3a06235984a090f4d3960c180c8f2d3dc9b778e095a83dc297a0a59c42d [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 22:21:06 + git log --format=format:%s -1 c3aad7bd2c33aca71f49ec3c385ee682c91bb904 [Pipeline] sh 22:21:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:07 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:21:07 $ 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 22:21:08 $ docker top cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e -eo pid,comm 22:21:08 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). 22:21:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:08 [ssh-agent] Looking for ssh-agent implementation... 22:21:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:08 $ docker exec cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e ssh-agent 22:21:08 SSH_AUTH_SOCK=/tmp/ssh-GxTRqLJ1dz51/agent.32 22:21:08 SSH_AGENT_PID=38 22:21:08 Running ssh-add (command line suppressed) 22:21:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4578704282292040318.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4578704282292040318.key) 22:21:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:08 + git semver tag 22:21:09 2023-02-17 22:21:08,957 [run_tag] DEBUG tag force:False 22:21:09 2023-02-17 22:21:08,957 [check_head_tag] DEBUG check head tag 22:21:09 2023-02-17 22:21:08,958 [execute] INFO git cat-file --batch-check 22:21:09 2023-02-17 22:21:08,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:21:09 2023-02-17 22:21:08,962 [execute] INFO git cat-file --batch 22:21:09 2023-02-17 22:21:08,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 22:21:09 2023-02-17 22:21:08,981 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:09 2023-02-17 22:21:08,981 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 22:21:09 2023-02-17 22:21:08,981 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 22:21:09 2023-02-17 22:21:08,986 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:09 3.0.0-dev.12 [Pipeline] } 22:21:09 $ docker exec --env ******** --env ******** cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e ssh-agent -k 22:21:09 unset SSH_AUTH_SOCK; 22:21:09 unset SSH_AGENT_PID; 22:21:09 echo Agent pid 38 killed; 22:21:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:09 + git semver [Pipeline] } 22:21:09 $ docker stop --time=1 cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e 22:21:11 $ docker rm -f --volumes cf5c513b85003bea86af3f10f4c37393f0788b0507da8223317e28ce8fa0470e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:21:11 22:21:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:21:11 0.23.1-centos7: Pulling from edgex-lftools 22:21:11 ab5ef0e58194: Pulling fs layer 22:21:11 9712f1f96733: Pulling fs layer 22:21:11 63f879dbbcfc: Pulling fs layer 22:21:11 0d9ebad4ef96: Pulling fs layer 22:21:11 e9a5061849ea: Pulling fs layer 22:21:11 d747dcd14b5f: Pulling fs layer 22:21:11 2de7ff778b66: Pulling fs layer 22:21:11 e9a5061849ea: Waiting 22:21:11 0d9ebad4ef96: Waiting 22:21:11 d747dcd14b5f: Waiting 22:21:11 2de7ff778b66: Waiting 22:21:11 9712f1f96733: Verifying Checksum 22:21:11 9712f1f96733: Download complete 22:21:12 63f879dbbcfc: Verifying Checksum 22:21:12 63f879dbbcfc: Download complete 22:21:12 e9a5061849ea: Verifying Checksum 22:21:12 e9a5061849ea: Download complete 22:21:12 d747dcd14b5f: Verifying Checksum 22:21:12 d747dcd14b5f: Download complete 22:21:12 ab5ef0e58194: Verifying Checksum 22:21:12 ab5ef0e58194: Download complete 22:21:12 0d9ebad4ef96: Verifying Checksum 22:21:12 0d9ebad4ef96: Download complete 22:21:12 2de7ff778b66: Verifying Checksum 22:21:12 2de7ff778b66: Download complete 22:21:15 ab5ef0e58194: Pull complete 22:21:15 9712f1f96733: Pull complete 22:21:16 63f879dbbcfc: Pull complete 22:21:20 0d9ebad4ef96: Pull complete 22:21:20 e9a5061849ea: Pull complete 22:21:20 d747dcd14b5f: Pull complete 22:21:21 2de7ff778b66: Pull complete 22:21:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:21:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:21:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:21 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:21:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:21:31 $ docker top c1504050451aaca33a7ce336bfcb7710454aae4adc5c07816611843039ef9040 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:21:32 provisioning config files... 22:21:32 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4470644372827095553tmp 22:21:32 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5775815678070118555tmp 22:21:32 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14139916912670051289tmp [Pipeline] { [Pipeline] echo 22:21:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:21:32 ---> sigul-configuration.sh 22:21:32 gpg: directory `/root/.gnupg' created 22:21:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:21:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:21:32 gpg: keyring `/root/.gnupg/secring.gpg' created 22:21:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:21:32 gpg: CAST5 encrypted data 22:21:32 gpg: encrypted with 1 passphrase 22:21:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:21:32 + mkdir /home/jenkins 22:21:32 + mkdir /home/jenkins/sigul [Pipeline] sh 22:21:32 + 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 22:21:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:21:33 ---> sigul-install.sh 22:21:33 Sigul already installed; skipping installation. [Pipeline] sh 22:21:33 + git tag --list 22:21:33 0.7.1 22:21:33 v1.0.0 22:21:33 v1.1.0 22:21:33 v1.1.1 22:21:33 v1.2.2 22:21:33 v1.3.0 22:21:33 v1.3.1 22:21:33 v2.0.0 22:21:33 v2.1.0 22:21:33 v2.1.1 22:21:33 v2.1.1-dev.1 22:21:33 v2.1.1-dev.2 22:21:33 v2.1.1-dev.3 22:21:33 v2.2.0 22:21:33 v2.2.1-dev.1 22:21:33 v2.2.1-dev.2 22:21:33 v2.2.1-dev.3 22:21:33 v2.2.1-dev.4 22:21:33 v2.2.1-dev.5 22:21:33 v2.2.1-dev.6 22:21:33 v2.2.1-dev.7 22:21:33 v2.3.0 22:21:33 v2.3.0-dev.10 22:21:33 v2.3.0-dev.11 22:21:33 v2.3.0-dev.12 22:21:33 v2.3.0-dev.13 22:21:33 v2.3.0-dev.14 22:21:33 v2.3.0-dev.15 22:21:33 v2.3.0-dev.16 22:21:33 v2.3.0-dev.17 22:21:33 v2.3.0-dev.18 22:21:33 v2.3.0-dev.19 22:21:33 v2.3.0-dev.20 22:21:33 v2.3.0-dev.21 22:21:33 v2.3.0-dev.22 22:21:33 v2.3.0-dev.23 22:21:33 v2.3.0-dev.24 22:21:33 v2.3.0-dev.25 22:21:33 v2.3.0-dev.7 22:21:33 v2.3.0-dev.8 22:21:33 v2.3.0-dev.9 22:21:33 v3.0.0-dev.1 22:21:33 v3.0.0-dev.10 22:21:33 v3.0.0-dev.11 22:21:33 v3.0.0-dev.12 22:21:33 v3.0.0-dev.2 22:21:33 v3.0.0-dev.3 22:21:33 v3.0.0-dev.4 22:21:33 v3.0.0-dev.5 22:21:33 v3.0.0-dev.6 22:21:33 v3.0.0-dev.7 22:21:33 v3.0.0-dev.8 22:21:33 v3.0.0-dev.9 [Pipeline] sh 22:21:33 + lftools sign git-tag v3.0.0-dev.12 22:21:34 Signing Git tag with Sigul... 22:21:34 Signing v3.0.0-dev.12 [Pipeline] echo 22:21:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:21:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:21:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:21:37 $ docker stop --time=1 c1504050451aaca33a7ce336bfcb7710454aae4adc5c07816611843039ef9040 22:21:38 $ docker rm -f --volumes c1504050451aaca33a7ce336bfcb7710454aae4adc5c07816611843039ef9040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:21:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:39 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:21:39 $ 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 22:21:40 $ docker top 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b -eo pid,comm 22:21:40 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). 22:21:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:40 [ssh-agent] Looking for ssh-agent implementation... 22:21:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:40 $ docker exec 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b ssh-agent 22:21:40 SSH_AUTH_SOCK=/tmp/ssh-rsiYMU0H89iH/agent.33 22:21:40 SSH_AGENT_PID=39 22:21:40 Running ssh-add (command line suppressed) 22:21:40 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11926296236647499494.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11926296236647499494.key) 22:21:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:40 + git semver bump pre 22:21:41 2023-02-17 22:21:40,975 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:41 2023-02-17 22:21:40,975 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev 22:21:41 2023-02-17 22:21:40,975 [bump_version] DEBUG bumped version:3.0.0-dev.13 22:21:41 2023-02-17 22:21:40,975 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 22:21:41 2023-02-17 22:21:40,975 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:41 2023-02-17 22:21:40,975 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:41 2023-02-17 22:21:40,978 [execute] INFO git cat-file --batch-check 22:21:41 2023-02-17 22:21:40,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:21:41 2023-02-17 22:21:40,983 [execute] INFO git cat-file --batch 22:21:41 2023-02-17 22:21:40,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:21:41 2023-02-17 22:21:40,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:41 3.0.0-dev.13 [Pipeline] } 22:21:41 $ docker exec --env ******** --env ******** 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b ssh-agent -k 22:21:41 unset SSH_AUTH_SOCK; 22:21:41 unset SSH_AGENT_PID; 22:21:41 echo Agent pid 39 killed; 22:21:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:41 + git semver [Pipeline] } 22:21:41 $ docker stop --time=1 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b 22:21:43 $ docker rm -f --volumes 4f2de6f224f4fad1e165e09426a1df6f6ee57334301f0f0c77f2b9babacaa67b [Pipeline] // withDockerContainer [Pipeline] sh 22:21:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:43 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:21:43 $ 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 22:21:44 $ docker top e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 -eo pid,comm 22:21:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:21:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:44 [ssh-agent] Looking for ssh-agent implementation... 22:21:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:44 $ docker exec e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 ssh-agent 22:21:44 SSH_AUTH_SOCK=/tmp/ssh-KLIevHUH3bj9/agent.32 22:21:44 SSH_AGENT_PID=38 22:21:44 Running ssh-add (command line suppressed) 22:21:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13956958369214287282.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13956958369214287282.key) 22:21:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:45 + git semver push 22:21:45 2023-02-17 22:21:45,192 [run_push] DEBUG push 22:21:45 2023-02-17 22:21:45,193 [execute] INFO git cat-file --batch-check 22:21:45 2023-02-17 22:21:45,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:21:45 2023-02-17 22:21:45,197 [execute] INFO git rev-list 13bbfaca773cafe4a2bf37039c69a3e4cc0c2dde -- 22:21:45 2023-02-17 22:21:45,198 [execute] DEBUG Popen(['git', 'rev-list', '13bbfaca773cafe4a2bf37039c69a3e4cc0c2dde', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:21:45 2023-02-17 22:21:45,207 [execute] INFO git fetch -v origin 22:21:45 2023-02-17 22:21:45,208 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:21:45 2023-02-17 22:21:45,835 [run_push] DEBUG no remote changes detected 22:21:45 2023-02-17 22:21:45,835 [execute] INFO git push origin semver 22:21:45 2023-02-17 22:21:45,836 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:21:46 2023-02-17 22:21:46,722 [run_push] DEBUG push all version tags 22:21:46 2023-02-17 22:21:46,723 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:21:46 2023-02-17 22:21:46,723 [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) 22:21:47 2023-02-17 22:21:47,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 22:21:47 3.0.0-dev.13 [Pipeline] } 22:21:47 $ docker exec --env ******** --env ******** e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 ssh-agent -k 22:21:47 unset SSH_AUTH_SOCK; 22:21:47 unset SSH_AGENT_PID; 22:21:47 echo Agent pid 38 killed; 22:21:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:48 + git semver [Pipeline] } 22:21:48 $ docker stop --time=1 e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 22:21:49 $ docker rm -f --volumes e2cee8b6ff1427691d288ca403484de2724b77e2c3b3044ef70027045ae5d192 [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 22:21:50 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 22:21:50 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:21:50 total 16 22:21:50 drwxr-xr-x 3 root root 4096 Feb 17 22:12 . 22:21:50 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 22:21 .. 22:21:50 drwxr-xr-x 2 root root 4096 Feb 17 22:12 cost 22:21:50 -rw-r--r-- 1 root root 87 Feb 17 22:12 cost.csv 22:21:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 22:21:50 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 22:21:50 total 16 22:21:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 22:12 . 22:21:50 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 22:21 .. 22:21:50 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 22:12 cost 22:21:50 -rw-r--r-- 1 jenkins jenkins 87 Feb 17 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:51 ---> package-listing.sh 22:21:51 ++ facter osfamily 22:21:51 ++ tr '[:upper:]' '[:lower:]' 22:21:51 + OS_FAMILY=debian 22:21:51 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 22:21:51 + START_PACKAGES=/tmp/packages_start.txt 22:21:51 + END_PACKAGES=/tmp/packages_end.txt 22:21:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:51 + PACKAGES=/tmp/packages_start.txt 22:21:51 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:21:51 + PACKAGES=/tmp/packages_end.txt 22:21:51 + case "${OS_FAMILY}" in 22:21:51 + dpkg -l 22:21:51 + grep '^ii' 22:21:51 + '[' -f /tmp/packages_start.txt ']' 22:21:51 + '[' -f /tmp/packages_end.txt ']' 22:21:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:51 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 22:21:51 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 22:21:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 22:21:51 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 22:21:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:52 prd-ubuntu20.04-docker-8c-8g-6511 does not seem to be running inside a container 22:21:52 $ 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 22:21:53 $ docker top 0d72d80df86d331f900beefcbd9628e07ab92641d80c1c33dd094bbb6519d67d -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:53 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:54 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:54 + ls /var/log/sa-host 22:21:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:55 provisioning config files... 22:21:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7212989519165777884tmp [Pipeline] { [Pipeline] echo 22:21:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:55 ---> create-netrc.sh [Pipeline] } 22:21:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:55 ---> python-tools-install.sh [Pipeline] echo 22:21:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:56 ---> sudo-logs.sh 22:21:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:57 ---> job-cost.sh 22:21:57 lf-activate-venv: SKIPPING 22:21:57 DEBUG: total: 0.2199999988079071 22:21:57 INFO: Retrieving Stack Cost... 22:21:58 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:58 INFO: Archiving Costs [Pipeline] echo 22:21:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:59 ---> logs-deploy.sh 22:21:59 lf-activate-venv: SKIPPING 22:21:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/78 22:21:59 INFO: archiving workspace using pattern(s): 22:22:00 Archives upload complete. 22:22:00 INFO: archiving logs to Nexus