Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from def1cc71e63d04479355a5672fe2144ca0f9c836 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-ssh7269010009290507281.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-ssh2286040820055131519.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-ssh1184784200195585835.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-ssh1456442204522992030.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-ssh18052405283037690886.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1677 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 def1cc71e63d04479355a5672fe2144ca0f9c836 (main) Commit message: "feat!: Remove ZeroMQ MessageBus capability (#397)" > 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 def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 > git rev-list --no-walk b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:25 ========================================================= 21:06:25 EdgeX Global Pipelines Version Info 21:06:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:26 ------------------- 21:06:26 stable info: 21:06:26 ------------------- 21:06:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:26 Message: update stable to v1.0.244 21:06:26 ------------------- 21:06:26 experimental info: 21:06:26 ------------------- 21:06:26 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:26 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = def1cc7 [Pipeline] echo 21:06:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:27 provisioning config files... 21:06:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15636077834981167993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:27 ---> docker-login.sh 21:06:27 nexus3.edgexfoundry.org:10001 21:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:28 Configure a credential helper to remove this warning. See 21:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:28 21:06:28 Login Succeeded 21:06:28 nexus3.edgexfoundry.org:10002 21:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:28 Configure a credential helper to remove this warning. See 21:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:28 21:06:28 Login Succeeded 21:06:28 nexus3.edgexfoundry.org:10003 21:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:28 Configure a credential helper to remove this warning. See 21:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:28 21:06:28 Login Succeeded 21:06:28 nexus3.edgexfoundry.org:10004 21:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:28 Configure a credential helper to remove this warning. See 21:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:28 21:06:28 Login Succeeded 21:06:28 docker.io 21:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:28 Configure a credential helper to remove this warning. See 21:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:28 21:06:28 Login Succeeded 21:06:28 ---> docker-login.sh ends [Pipeline] } 21:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:29 + git rev-list -1 --merges def1cc71e63d04479355a5672fe2144ca0f9c836~1..def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo 21:06:29 -----------> git rev-list -1 --merges def1cc71e63d04479355a5672fe2144ca0f9c836~1..def1cc71e63d04479355a5672fe2144ca0f9c836 def1cc71e63d04479355a5672fe2144ca0f9c836 [false] [Pipeline] sh 21:06:29 + git log --format=format:%s -1 def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo 21:06:29 ========================================================= 21:06:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:29 + git log --format=format:%s -1 def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo 21:06:29 [semverPrep] GIT_COMMIT: def1cc71e63d04479355a5672fe2144ca0f9c836, Commit Message: feat!: Remove ZeroMQ MessageBus capability (#397) [Pipeline] echo 21:06:29 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:30 + grep -v github /etc/ssh/ssh_known_hosts 21:06:30 + [ -e /tmp/ssh_known_hosts ] 21:06:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:06:30 + sudo tee -a /etc/ssh/ssh_known_hosts 21:06:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:30 21:06:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:30 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:30 b85a868b505f: Pulling fs layer 21:06:30 e2be974225ed: Pulling fs layer 21:06:30 339a4e72a1f5: Pulling fs layer 21:06:30 988bab9f4d93: Pulling fs layer 21:06:30 1469e6f7b9e6: Pulling fs layer 21:06:30 eaf3925da568: Pulling fs layer 21:06:30 bab4dde63d76: Pulling fs layer 21:06:30 bde34c3a00c8: Pulling fs layer 21:06:30 b352a97aabf1: Pulling fs layer 21:06:30 4872d77fe225: Pulling fs layer 21:06:30 988bab9f4d93: Waiting 21:06:30 1469e6f7b9e6: Waiting 21:06:30 5851b861e8e6: Pulling fs layer 21:06:30 eaf3925da568: Waiting 21:06:30 bab4dde63d76: Waiting 21:06:30 4872d77fe225: Waiting 21:06:30 5851b861e8e6: Waiting 21:06:30 bde34c3a00c8: Waiting 21:06:30 b352a97aabf1: Waiting 21:06:30 e2be974225ed: Verifying Checksum 21:06:30 e2be974225ed: Download complete 21:06:30 988bab9f4d93: Verifying Checksum 21:06:30 988bab9f4d93: Download complete 21:06:31 1469e6f7b9e6: Verifying Checksum 21:06:31 1469e6f7b9e6: Download complete 21:06:31 339a4e72a1f5: Verifying Checksum 21:06:31 339a4e72a1f5: Download complete 21:06:31 eaf3925da568: Verifying Checksum 21:06:31 eaf3925da568: Download complete 21:06:31 bde34c3a00c8: Verifying Checksum 21:06:31 bde34c3a00c8: Download complete 21:06:31 b352a97aabf1: Download complete 21:06:31 4872d77fe225: Verifying Checksum 21:06:31 4872d77fe225: Download complete 21:06:31 5851b861e8e6: Verifying Checksum 21:06:31 5851b861e8e6: Download complete 21:06:31 b85a868b505f: Verifying Checksum 21:06:31 b85a868b505f: Download complete 21:06:31 bab4dde63d76: Verifying Checksum 21:06:31 bab4dde63d76: Download complete 21:06:32 b85a868b505f: Pull complete 21:06:32 e2be974225ed: Pull complete 21:06:33 339a4e72a1f5: Pull complete 21:06:33 988bab9f4d93: Pull complete 21:06:33 1469e6f7b9e6: Pull complete 21:06:33 eaf3925da568: Pull complete 21:06:35 bab4dde63d76: Pull complete 21:06:35 bde34c3a00c8: Pull complete 21:06:35 b352a97aabf1: Pull complete 21:06:35 4872d77fe225: Pull complete 21:06:35 5851b861e8e6: Pull complete 21:06:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:36 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:06:36 $ 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 21:06:37 $ docker top 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 -eo pid,comm 21:06:37 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). 21:06:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:37 [ssh-agent] Looking for ssh-agent implementation... 21:06:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:37 $ docker exec 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent 21:06:37 SSH_AUTH_SOCK=/tmp/ssh-Nuxx3rBUGFEp/agent.32 21:06:37 SSH_AGENT_PID=38 21:06:37 Running ssh-add (command line suppressed) 21:06:38 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3196638452136538300.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3196638452136538300.key) 21:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:38 + git tag --points-at HEAD [Pipeline] } 21:06:38 $ docker exec --env ******** --env ******** 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent -k 21:06:38 unset SSH_AUTH_SOCK; 21:06:38 unset SSH_AGENT_PID; 21:06:38 echo Agent pid 38 killed; 21:06:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:38 [ssh-agent] Looking for ssh-agent implementation... 21:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:38 $ docker exec 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent 21:06:38 SSH_AUTH_SOCK=/tmp/ssh-2aqbB3NyX3GO/agent.71 21:06:38 SSH_AGENT_PID=77 21:06:38 Running ssh-add (command line suppressed) 21:06:38 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5637933674373338049.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5637933674373338049.key) 21:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:39 + git semver init 21:06:39 2023-01-10 21:06:39,293 [run_init] DEBUG init version:0.0.0 force:False 21:06:39 2023-01-10 21:06:39,294 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 21:06:39 2023-01-10 21:06:39,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 21:06:39 2023-01-10 21:06:39,295 [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) 21:06:40 2023-01-10 21:06:40,130 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 21:06:40 2023-01-10 21:06:40,131 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 21:06:40 2023-01-10 21:06:40,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:06:40 2023-01-10 21:06:40,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:06:40 3.0.0-dev.4 [Pipeline] } 21:06:40 $ docker exec --env ******** --env ******** 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent -k 21:06:40 unset SSH_AUTH_SOCK; 21:06:40 unset SSH_AGENT_PID; 21:06:40 echo Agent pid 77 killed; 21:06:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:40 + git semver [Pipeline] } 21:06:41 $ docker stop --time=1 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 21:06:42 $ docker rm -f --volumes 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:42 Stashed 1 file(s) [Pipeline] echo 21:06:42 [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [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 21:06:43 provisioning config files... 21:06:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14327079917369862291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:43 ---> docker-login.sh 21:06:43 nexus3.edgexfoundry.org:10001 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 nexus3.edgexfoundry.org:10002 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 nexus3.edgexfoundry.org:10003 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 nexus3.edgexfoundry.org:10004 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 docker.io 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:44 Configure a credential helper to remove this warning. See 21:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:44 21:06:44 Login Succeeded 21:06:44 ---> docker-login.sh ends [Pipeline] } 21:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:44 ========================================================= 21:06:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:06:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:44 + 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 . 21:06:44 Sending build context to Docker daemon 6.354MB 21:06:44 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:06:44 Step 2/10 : FROM ${BASE} AS builder 21:06:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:44 213ec9aee27d: Pulling fs layer 21:06:44 4583459ba037: Pulling fs layer 21:06:44 93c1e223e6f2: Pulling fs layer 21:06:44 53926ce57604: Pulling fs layer 21:06:44 21b2b0c7a3f4: Pulling fs layer 21:06:44 22ff95d597cd: Pulling fs layer 21:06:44 12d6caf4c0d1: Pulling fs layer 21:06:44 96b7cbca73a9: Pulling fs layer 21:06:44 a7acece74701: Pulling fs layer 21:06:44 96b7cbca73a9: Waiting 21:06:44 12d6caf4c0d1: Waiting 21:06:44 53926ce57604: Waiting 21:06:44 21b2b0c7a3f4: Waiting 21:06:44 22ff95d597cd: Waiting 21:06:44 a7acece74701: Waiting 21:06:44 93c1e223e6f2: Verifying Checksum 21:06:44 93c1e223e6f2: Download complete 21:06:44 4583459ba037: Verifying Checksum 21:06:44 4583459ba037: Download complete 21:06:44 21b2b0c7a3f4: Verifying Checksum 21:06:44 21b2b0c7a3f4: Download complete 21:06:44 22ff95d597cd: Verifying Checksum 21:06:44 22ff95d597cd: Download complete 21:06:44 213ec9aee27d: Verifying Checksum 21:06:44 213ec9aee27d: Download complete 21:06:44 12d6caf4c0d1: Download complete 21:06:44 213ec9aee27d: Pull complete 21:06:45 4583459ba037: Pull complete 21:06:45 93c1e223e6f2: Pull complete 21:06:45 a7acece74701: Verifying Checksum 21:06:45 a7acece74701: Download complete 21:06:45 53926ce57604: Verifying Checksum 21:06:45 53926ce57604: Download complete 21:06:45 96b7cbca73a9: Verifying Checksum 21:06:45 96b7cbca73a9: Download complete 21:06:50 53926ce57604: Pull complete 21:06:50 21b2b0c7a3f4: Pull complete 21:06:50 22ff95d597cd: Pull complete 21:06:50 12d6caf4c0d1: Pull complete 21:06:52 96b7cbca73a9: Pull complete 21:06:53 a7acece74701: Pull complete 21:06:53 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:06:53 ---> db6d94c90886 21:06:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:06:55 ---> Running in 20c13e88e8c3 21:06:55 Removing intermediate container 20c13e88e8c3 21:06:55 ---> 470f9e1ca39c 21:06:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:55 ---> Running in a57fd7e37aef 21:06:55 Removing intermediate container a57fd7e37aef 21:06:55 ---> 7c51618e8d7f 21:06:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:06:55 ---> Running in c5ae6bab83c0 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:06:55 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:06:55 (2/8) Installing libedit (20210910.3.1-r0) 21:06:55 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:06:55 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:06:55 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:06:55 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:06:55 (7/8) Installing openssh-server (9.0_p1-r2) 21:06:55 (8/8) Installing openssh (9.0_p1-r2) 21:06:55 Executing busybox-1.35.0-r17.trigger 21:06:55 OK: 217 MiB in 59 packages 21:06:56 Removing intermediate container c5ae6bab83c0 21:06:56 ---> 8143c7a21816 21:06:56 Step 6/10 : WORKDIR /device-modbus-go 21:06:56 ---> Running in 1f3ca47c6028 21:06:56 Removing intermediate container 1f3ca47c6028 21:06:56 ---> a16d0f45a355 21:06:56 Step 7/10 : COPY go.mod vendor* ./ 21:06:57 ---> 9cb5c096b5e8 21:06:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:57 ---> Running in 632322312e22 21:06:58 Still waiting to schedule task 21:06:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:07:18 Removing intermediate container 632322312e22 21:07:18 ---> c3bc13ddacfe 21:07:18 Step 9/10 : COPY . . 21:07:18 ---> d641339afd41 21:07:18 Step 10/10 : RUN ${MAKE} 21:07:18 ---> Running in eb6977d90e39 21:07:18 noop 21:07:18 Removing intermediate container eb6977d90e39 21:07:18 ---> ac1a2d1a5b9e 21:07:18 Successfully built ac1a2d1a5b9e 21:07:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:19 + docker inspect -f . ci-base-image-x86_64 21:07:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:19 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:07:19 $ 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 21:07:19 $ docker top 16d2a54bf1bd6c0adfbb2a7d9ad28c5c806acd039a4c9de647d8c05518bdfcef -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:20 + go version 21:07:20 go version go1.18.7 linux/amd64 [Pipeline] } 21:07:20 $ docker stop --time=1 16d2a54bf1bd6c0adfbb2a7d9ad28c5c806acd039a4c9de647d8c05518bdfcef 21:07:21 $ docker rm -f --volumes 16d2a54bf1bd6c0adfbb2a7d9ad28c5c806acd039a4c9de647d8c05518bdfcef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:21 + docker inspect -f . ci-base-image-x86_64 21:07:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:21 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:07:22 $ 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 21:07:22 $ docker top 84accf24e73ec2588032e9d9c756b3efedf58b1b2d85ee835f093a678a287e7a -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 21:07:23 + make test 21:07:23 go test ./... -coverprofile=coverage.out 21:07:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:07:33 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:07:33 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 21:07:39 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." 21:07:39 go vet ./... 21:07:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:42 ./bin/test-attribution-txt.sh [Pipeline] echo 21:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:42 $ docker stop --time=1 84accf24e73ec2588032e9d9c756b3efedf58b1b2d85ee835f093a678a287e7a 21:07:44 $ docker rm -f --volumes 84accf24e73ec2588032e9d9c756b3efedf58b1b2d85ee835f093a678a287e7a [Pipeline] // withDockerContainer [Pipeline] sh 21:07:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:07:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:45 + ls -al . 21:07:45 total 196 21:07:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:07 . 21:07:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:06 .. 21:07:45 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:06 .dockerignore 21:07:45 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:07 .git 21:07:45 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 .github 21:07:45 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:06 .gitignore 21:07:45 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:06 .golangci.yml 21:07:45 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:06 .semver 21:07:45 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:06 Attribution.txt 21:07:45 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:06 CHANGELOG.md 21:07:45 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:06 Dockerfile 21:07:45 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:06 GOVERNANCE.md 21:07:45 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:06 Jenkinsfile 21:07:45 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:06 LICENSE 21:07:45 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:06 Makefile 21:07:45 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:06 OWNERS.md 21:07:45 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:06 README.md 21:07:45 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:06 VERSION 21:07:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:06 bin 21:07:45 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 cmd 21:07:45 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:07 coverage.out 21:07:45 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:06 go.mod 21:07:45 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:06 go.sum 21:07:45 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 internal 21:07:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:06 simulator 21:07:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:06 snap 21:07:45 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:45 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=def1cc71e63d04479355a5672fe2144ca0f9c836 --label arch=amd64 --label version=3.0.0-dev.4 . 21:07:45 Sending build context to Docker daemon 6.378MB 21:07:45 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:07:45 Step 2/22 : FROM ${BASE} AS builder 21:07:45 ---> ac1a2d1a5b9e 21:07:45 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:07:45 ---> Running in 4344ec9c17c0 21:07:45 Removing intermediate container 4344ec9c17c0 21:07:45 ---> 9010206afd77 21:07:45 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:45 ---> Running in 93e6ed70dd13 21:07:45 Removing intermediate container 93e6ed70dd13 21:07:45 ---> 71c52ba0ef36 21:07:45 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:07:45 ---> Running in ef17ea45a039 21:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:07:46 OK: 217 MiB in 59 packages 21:07:46 Removing intermediate container ef17ea45a039 21:07:46 ---> fe894a1fe064 21:07:46 Step 6/22 : WORKDIR /device-modbus-go 21:07:47 ---> Running in f3de3308b246 21:07:47 Removing intermediate container f3de3308b246 21:07:47 ---> 336b6ccff716 21:07:47 Step 7/22 : COPY go.mod vendor* ./ 21:07:47 ---> 215d9bfe7f90 21:07:47 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:47 ---> Running in a6dee0526746 21:07:47 Removing intermediate container a6dee0526746 21:07:47 ---> 87f0b0d7c8a9 21:07:47 Step 9/22 : COPY . . 21:07:48 ---> be150ccf9f25 21:07:48 Step 10/22 : RUN ${MAKE} 21:07:48 ---> Running in 8fe2eb3011f4 21:07:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:08:06 Removing intermediate container 8fe2eb3011f4 21:08:06 ---> 4c8937049b07 21:08:06 Step 11/22 : FROM alpine:3.14 21:08:07 3.14: Pulling from library/alpine 21:08:07 c7ed990a2339: Pulling fs layer 21:08:07 c7ed990a2339: Verifying Checksum 21:08:07 c7ed990a2339: Download complete 21:08:07 c7ed990a2339: Pull complete 21:08:07 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 21:08:07 Status: Downloaded newer image for alpine:3.14 21:08:07 ---> dd53f409bf0b 21:08:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:08:08 ---> Running in f472723a5a92 21:08:08 Removing intermediate container f472723a5a92 21:08:08 ---> db3cd82cc394 21:08:08 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:08:08 ---> Running in 7824a8983a5b 21:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:08:08 (1/1) Installing dumb-init (1.2.5-r1) 21:08:08 Executing busybox-1.33.1-r8.trigger 21:08:08 OK: 6 MiB in 15 packages 21:08:09 Removing intermediate container 7824a8983a5b 21:08:09 ---> 775668f6b8f7 21:08:09 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:08:09 ---> ff970afc73b8 21:08:09 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:08:09 ---> d4d6c3813cea 21:08:09 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:08:09 ---> dae6e75eab20 21:08:09 Step 17/22 : EXPOSE 59901 21:08:09 ---> Running in 2533c3e3b447 21:08:10 Removing intermediate container 2533c3e3b447 21:08:10 ---> 0526ea684f6f 21:08:10 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:08:10 ---> Running in 854159e58f42 21:08:10 Removing intermediate container 854159e58f42 21:08:10 ---> 7d1c8f0017d2 21:08:10 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:08:10 ---> Running in 80bffab53bae 21:08:10 Removing intermediate container 80bffab53bae 21:08:10 ---> 124dc46764cd 21:08:10 Step 20/22 : LABEL arch=amd64 21:08:10 ---> Running in 11b299777922 21:08:10 Removing intermediate container 11b299777922 21:08:10 ---> 5697970cf272 21:08:10 Step 21/22 : LABEL git_sha=def1cc71e63d04479355a5672fe2144ca0f9c836 21:08:10 ---> Running in 55845efddb89 21:08:10 Removing intermediate container 55845efddb89 21:08:10 ---> ca9299db58b9 21:08:10 Step 22/22 : LABEL version=3.0.0-dev.4 21:08:10 ---> Running in 02611f08dba9 21:08:10 Removing intermediate container 02611f08dba9 21:08:10 ---> bf639a926412 21:08:10 [Warning] One or more build-args [ARCH] were not consumed 21:08:10 Successfully built bf639a926412 21:08:10 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:10 provisioning config files... 21:08:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4830563415697270331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:11 ---> docker-login.sh 21:08:11 nexus3.edgexfoundry.org:10001 21:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:11 Configure a credential helper to remove this warning. See 21:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:11 21:08:11 Login Succeeded 21:08:11 nexus3.edgexfoundry.org:10002 21:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:11 Configure a credential helper to remove this warning. See 21:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:11 21:08:11 Login Succeeded 21:08:11 nexus3.edgexfoundry.org:10003 21:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:11 Configure a credential helper to remove this warning. See 21:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:11 21:08:11 Login Succeeded 21:08:11 nexus3.edgexfoundry.org:10004 21:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:11 Configure a credential helper to remove this warning. See 21:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:11 21:08:11 Login Succeeded 21:08:11 docker.io 21:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:11 Configure a credential helper to remove this warning. See 21:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:11 21:08:11 Login Succeeded 21:08:11 ---> docker-login.sh ends [Pipeline] } 21:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:11 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 21:08:11 def1cc71e63d04479355a5672fe2144ca0f9c836 21:08:11 latest 21:08:11 3.0.0-dev.4 21:08:11 def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 21:08:11 main 21:08:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836 21:08:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:08:12 fc26fd34b5c1: Preparing 21:08:12 36d2ea5c7833: Preparing 21:08:12 0c6abab6a0c6: Preparing 21:08:12 168002ea29f4: Preparing 21:08:12 63493a9ab2d4: Preparing 21:08:12 63493a9ab2d4: Layer already exists 21:08:12 36d2ea5c7833: Pushed 21:08:12 168002ea29f4: Pushed 21:08:12 fc26fd34b5c1: Pushed 21:08:14 0c6abab6a0c6: Pushed 21:08:14 def1cc71e63d04479355a5672fe2144ca0f9c836: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:15 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 21:08:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:08:15 fc26fd34b5c1: Preparing 21:08:15 36d2ea5c7833: Preparing 21:08:15 0c6abab6a0c6: Preparing 21:08:15 168002ea29f4: Preparing 21:08:15 63493a9ab2d4: Preparing 21:08:15 168002ea29f4: Layer already exists 21:08:15 36d2ea5c7833: Layer already exists 21:08:15 fc26fd34b5c1: Layer already exists 21:08:15 63493a9ab2d4: Layer already exists 21:08:15 0c6abab6a0c6: Layer already exists 21:08:15 latest: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.4 21:08:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:08:16 fc26fd34b5c1: Preparing 21:08:16 36d2ea5c7833: Preparing 21:08:16 0c6abab6a0c6: Preparing 21:08:16 168002ea29f4: Preparing 21:08:16 63493a9ab2d4: Preparing 21:08:16 168002ea29f4: Layer already exists 21:08:16 fc26fd34b5c1: Layer already exists 21:08:16 63493a9ab2d4: Layer already exists 21:08:16 36d2ea5c7833: Layer already exists 21:08:16 0c6abab6a0c6: Layer already exists 21:08:16 3.0.0-dev.4: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 21:08:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:08:16 fc26fd34b5c1: Preparing 21:08:16 36d2ea5c7833: Preparing 21:08:16 0c6abab6a0c6: Preparing 21:08:16 168002ea29f4: Preparing 21:08:16 63493a9ab2d4: Preparing 21:08:16 fc26fd34b5c1: Layer already exists 21:08:16 0c6abab6a0c6: Layer already exists 21:08:16 168002ea29f4: Layer already exists 21:08:16 36d2ea5c7833: Layer already exists 21:08:16 63493a9ab2d4: Layer already exists 21:08:16 def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 21:08:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:08:17 fc26fd34b5c1: Preparing 21:08:17 36d2ea5c7833: Preparing 21:08:17 0c6abab6a0c6: Preparing 21:08:17 168002ea29f4: Preparing 21:08:17 63493a9ab2d4: Preparing 21:08:17 fc26fd34b5c1: Layer already exists 21:08:17 0c6abab6a0c6: Layer already exists 21:08:17 36d2ea5c7833: Layer already exists 21:08:17 63493a9ab2d4: Layer already exists 21:08:17 168002ea29f4: Layer already exists 21:08:17 main: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:17 ===================================================== [Pipeline] echo 21:08:17 taggedImages: 21:08:17 - nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836 21:08:17 - nexus3.edgexfoundry.org:10004/device-modbus:latest 21:08:17 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.4 21:08:17 - nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 21:08:17 - 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 21:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:17 21:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:18 latest: Pulling from edgex-lftools-log-publisher 21:08:18 5eb5b503b376: Pulling fs layer 21:08:18 5c69ac0246d0: Pulling fs layer 21:08:18 ec43610c2a17: Pulling fs layer 21:08:18 3a2ae6a8a46f: Pulling fs layer 21:08:18 33b1e0a273af: Pulling fs layer 21:08:18 5d3b04190fa2: Pulling fs layer 21:08:18 2f39f015ded8: Pulling fs layer 21:08:18 3a2ae6a8a46f: Waiting 21:08:18 33b1e0a273af: Waiting 21:08:18 5d3b04190fa2: Waiting 21:08:18 2f39f015ded8: Waiting 21:08:18 5c69ac0246d0: Verifying Checksum 21:08:18 5c69ac0246d0: Download complete 21:08:18 3a2ae6a8a46f: Download complete 21:08:18 33b1e0a273af: Verifying Checksum 21:08:18 33b1e0a273af: Download complete 21:08:18 5d3b04190fa2: Verifying Checksum 21:08:18 5d3b04190fa2: Download complete 21:08:18 ec43610c2a17: Verifying Checksum 21:08:18 ec43610c2a17: Download complete 21:08:18 5eb5b503b376: Verifying Checksum 21:08:18 5eb5b503b376: Download complete 21:08:18 2f39f015ded8: Download complete 21:08:19 5eb5b503b376: Pull complete 21:08:19 5c69ac0246d0: Pull complete 21:08:19 ec43610c2a17: Pull complete 21:08:19 3a2ae6a8a46f: Pull complete 21:08:20 33b1e0a273af: Pull complete 21:08:20 5d3b04190fa2: Pull complete 21:08:24 2f39f015ded8: Pull complete 21:08:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:24 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:08:24 $ 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 21:08:26 $ docker top 33ebabff339a5ebaa6c1c9502d930a2d7c990cbaf2bb8ab9eb62340f501695a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:26 ---> job-cost.sh 21:08:26 lf-activate-venv: SKIPPING 21:08:26 INFO: No Stack... 21:08:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:27 INFO: Archiving Costs [Pipeline] sh 21:08:27 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 21:08:27 + cut -d, -f6 [Pipeline] lock 21:08:27 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] 21:08:27 Resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] did not exist. Created. 21:08:27 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:27 + echo total: 0.2199999988079071 [Pipeline] stash 21:08:27 Stashed 1 file(s) [Pipeline] } 21:08:27 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:27 $ docker stop --time=1 33ebabff339a5ebaa6c1c9502d930a2d7c990cbaf2bb8ab9eb62340f501695a1 21:08:29 $ docker rm -f --volumes 33ebabff339a5ebaa6c1c9502d930a2d7c990cbaf2bb8ab9eb62340f501695a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1681 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:09:49 Running in /w/workspace/device-modbus-go/70 [Pipeline] { [Pipeline] checkout 21:09:49 Selected Git installation does not exist. Using Default 21:09:49 The recommended git tool is: NONE 21:09:59 using credential edgex-jenkins-ssh 21:09:59 Cloning the remote Git repository 21:10:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:10:00 > git init /w/workspace/device-modbus-go/70 # timeout=10 21:10:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:10:00 > git --version # timeout=10 21:10:00 > git --version # 'git version 2.25.1' 21:10:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:10:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:10:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:10:04 Avoid second fetch 21:10:04 Checking out Revision def1cc71e63d04479355a5672fe2144ca0f9c836 (main) 21:10:04 > git config core.sparsecheckout # timeout=10 21:10:04 > git checkout -f def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 21:10:05 Commit message: "feat!: Remove ZeroMQ MessageBus capability (#397)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:10:06 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:06 Dload Upload Total Spent Left Speed 21:10:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 21:10:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:10:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:10:07 + sudo tee /etc/docker/daemon.new 21:10:07 { 21:10:07 "registry-mirrors": [ 21:10:07 "https://nexus3.edgexfoundry.org:10001" 21:10:07 ], 21:10:07 "bip": "10.250.0.254/24", 21:10:07 "hosts": [ 21:10:07 "tcp://0.0.0.0:5555", 21:10:07 "unix:///var/run/docker.sock" 21:10:07 ], 21:10:07 "mtu": 1458, 21:10:07 "selinux-enabled": true, 21:10:07 "seccomp-profile": "/etc/docker/seccomp.json" 21:10:07 } [Pipeline] sh 21:10:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:10:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:26 provisioning config files... 21:10:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/70@tmp/config17964173430417176529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:27 ---> docker-login.sh 21:10:27 nexus3.edgexfoundry.org:10001 21:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:27 Configure a credential helper to remove this warning. See 21:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:27 21:10:27 Login Succeeded 21:10:27 nexus3.edgexfoundry.org:10002 21:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:28 Configure a credential helper to remove this warning. See 21:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:28 21:10:28 Login Succeeded 21:10:28 nexus3.edgexfoundry.org:10003 21:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:28 Configure a credential helper to remove this warning. See 21:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:28 21:10:28 Login Succeeded 21:10:28 nexus3.edgexfoundry.org:10004 21:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:28 Configure a credential helper to remove this warning. See 21:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:28 21:10:28 Login Succeeded 21:10:28 docker.io 21:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:29 Configure a credential helper to remove this warning. See 21:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:29 21:10:29 Login Succeeded 21:10:29 ---> docker-login.sh ends [Pipeline] } 21:10:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:29 ========================================================= 21:10:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:10:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10: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 . 21:10:30 Sending build context to Docker daemon 3.311MB 21:10:30 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:10:30 Step 2/10 : FROM ${BASE} AS builder 21:10:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:30 9b18e9b68314: Pulling fs layer 21:10:30 35d82f9e3411: Pulling fs layer 21:10:30 e16973657156: Pulling fs layer 21:10:30 fc693d55d65f: Pulling fs layer 21:10:30 7e9fc2657dce: Pulling fs layer 21:10:30 dda99020689f: Pulling fs layer 21:10:30 db1c61fa0a46: Pulling fs layer 21:10:30 891c053d2c06: Pulling fs layer 21:10:30 fc693d55d65f: Waiting 21:10:30 7e9fc2657dce: Waiting 21:10:30 dda99020689f: Waiting 21:10:30 db1c61fa0a46: Waiting 21:10:30 891c053d2c06: Waiting 21:10:30 e16973657156: Verifying Checksum 21:10:30 e16973657156: Download complete 21:10:30 35d82f9e3411: Verifying Checksum 21:10:30 35d82f9e3411: Download complete 21:10:30 7e9fc2657dce: Verifying Checksum 21:10:30 7e9fc2657dce: Download complete 21:10:30 dda99020689f: Download complete 21:10:30 9b18e9b68314: Verifying Checksum 21:10:30 9b18e9b68314: Download complete 21:10:31 9b18e9b68314: Pull complete 21:10:32 891c053d2c06: Verifying Checksum 21:10:32 891c053d2c06: Download complete 21:10:32 35d82f9e3411: Pull complete 21:10:32 e16973657156: Pull complete 21:10:33 db1c61fa0a46: Verifying Checksum 21:10:33 db1c61fa0a46: Download complete 21:10:33 fc693d55d65f: Verifying Checksum 21:10:33 fc693d55d65f: Download complete 21:10:46 fc693d55d65f: Pull complete 21:10:46 7e9fc2657dce: Pull complete 21:10:46 dda99020689f: Pull complete 21:10:51 db1c61fa0a46: Pull complete 21:10:54 891c053d2c06: Pull complete 21:10:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:10:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:10:55 ---> f96f9c87975a 21:10:55 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:10:57 ---> Running in 451eea44f134 21:10:57 Removing intermediate container 451eea44f134 21:10:57 ---> b7250b3e21d9 21:10:57 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:57 ---> Running in fb29927c209a 21:10:58 Removing intermediate container fb29927c209a 21:10:58 ---> d4b1686c68d2 21:10:58 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:10:58 ---> Running in d35e9efa6a58 21:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:11:01 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:11:01 (2/8) Installing libedit (20210910.3.1-r0) 21:11:01 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:11:01 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:11:01 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:11:01 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:11:01 (7/8) Installing openssh-server (9.0_p1-r2) 21:11:01 (8/8) Installing openssh (9.0_p1-r2) 21:11:01 Executing busybox-1.35.0-r17.trigger 21:11:01 OK: 228 MiB in 59 packages 21:11:02 Removing intermediate container d35e9efa6a58 21:11:02 ---> b439e1f7d109 21:11:02 Step 6/10 : WORKDIR /device-modbus-go 21:11:02 ---> Running in dedb1d59be08 21:11:02 Removing intermediate container dedb1d59be08 21:11:02 ---> 34911990c961 21:11:02 Step 7/10 : COPY go.mod vendor* ./ 21:11:03 ---> a4eb2dd0a10b 21:11:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:03 ---> Running in 0e93345c5a28 21:12:11 Removing intermediate container 0e93345c5a28 21:12:11 ---> b7491acc49b7 21:12:11 Step 9/10 : COPY . . 21:12:11 ---> 9cf574a0519d 21:12:11 Step 10/10 : RUN ${MAKE} 21:12:11 ---> Running in 75c2fb703664 21:12:11 noop 21:12:11 Removing intermediate container 75c2fb703664 21:12:11 ---> 02ddabed41ae 21:12:11 Successfully built 02ddabed41ae 21:12:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:11 + docker inspect -f . ci-base-image-arm64 21:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:12 prd-ubuntu20.04-docker-arm64-4c-16g-1681 does not seem to be running inside a container 21:12:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/70 -v /w/workspace/device-modbus-go/70:/w/workspace/device-modbus-go/70:rw,z -v /w/workspace/device-modbus-go/70@tmp:/w/workspace/device-modbus-go/70@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 21:12:13 $ docker top 5cf228284fbe7366a0caf5fd2adb0e4f020e539eed12a267db230484e20857bc -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:14 + go version 21:12:14 go version go1.18.7 linux/arm64 [Pipeline] } 21:12:14 $ docker stop --time=1 5cf228284fbe7366a0caf5fd2adb0e4f020e539eed12a267db230484e20857bc 21:12:16 $ docker rm -f --volumes 5cf228284fbe7366a0caf5fd2adb0e4f020e539eed12a267db230484e20857bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:16 + docker inspect -f . ci-base-image-arm64 21:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:16 prd-ubuntu20.04-docker-arm64-4c-16g-1681 does not seem to be running inside a container 21:12:17 $ 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/70 -v /w/workspace/device-modbus-go/70:/w/workspace/device-modbus-go/70:rw,z -v /w/workspace/device-modbus-go/70@tmp:/w/workspace/device-modbus-go/70@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 21:12:18 $ docker top 049eda71de4a74e0f1c24c722f4817000cc735a89940d5802fb0a160ba00fd61 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:19 + git config --global --add safe.directory /w/workspace/device-modbus-go/70 [Pipeline] fileExists [Pipeline] sh 21:12:19 + make test 21:12:19 go test ./... -coverprofile=coverage.out 21:12:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:13:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:13:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.7% of statements 21:13:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:13:58 go vet ./... 21:14:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:25 ./bin/test-attribution-txt.sh [Pipeline] echo 21:14:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:14:25 $ docker stop --time=1 049eda71de4a74e0f1c24c722f4817000cc735a89940d5802fb0a160ba00fd61 21:14:27 $ docker rm -f --volumes 049eda71de4a74e0f1c24c722f4817000cc735a89940d5802fb0a160ba00fd61 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:28 Warning: overwriting stash ‘coverage-report’ 21:14:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:29 + ls -al . 21:14:29 total 192 21:14:29 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:12 . 21:14:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 .. 21:14:29 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:10 .dockerignore 21:14:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:10 .git 21:14:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 .github 21:14:29 -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:10 .gitignore 21:14:29 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:10 .golangci.yml 21:14:29 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:10 Attribution.txt 21:14:29 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:10 CHANGELOG.md 21:14:29 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:10 Dockerfile 21:14:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:10 GOVERNANCE.md 21:14:29 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:10 Jenkinsfile 21:14:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:10 LICENSE 21:14:29 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:10 Makefile 21:14:29 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:10 OWNERS.md 21:14:29 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:10 README.md 21:14:29 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:06 VERSION 21:14:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 bin 21:14:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 cmd 21:14:29 -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:13 coverage.out 21:14:29 -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:10 go.mod 21:14:29 -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:10 go.sum 21:14:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 internal 21:14:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 simulator 21:14:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 snap 21:14:29 -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:30 + 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=def1cc71e63d04479355a5672fe2144ca0f9c836 --label arch=arm64 --label version=3.0.0-dev.4 . 21:14:30 Sending build context to Docker daemon 3.335MB 21:14:30 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 21:14:30 Step 2/22 : FROM ${BASE} AS builder 21:14:30 ---> 02ddabed41ae 21:14:30 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:14:31 ---> Running in 373c57083d6d 21:14:31 Removing intermediate container 373c57083d6d 21:14:31 ---> c283f31f7bde 21:14:31 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:31 ---> Running in bba74d8480a2 21:14:32 Removing intermediate container bba74d8480a2 21:14:32 ---> 473966adb0b6 21:14:32 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:14:32 ---> Running in 37057dfc0ca6 21:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:14:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:14:34 OK: 228 MiB in 59 packages 21:14:36 Removing intermediate container 37057dfc0ca6 21:14:36 ---> cca7d13c441e 21:14:36 Step 6/22 : WORKDIR /device-modbus-go 21:14:36 ---> Running in 30ea8e6e42fb 21:14:36 Removing intermediate container 30ea8e6e42fb 21:14:36 ---> c44e4159a4b3 21:14:36 Step 7/22 : COPY go.mod vendor* ./ 21:14:37 ---> 0b2c062bf9e1 21:14:37 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:37 ---> Running in 6878be9e850e 21:14:39 Removing intermediate container 6878be9e850e 21:14:39 ---> 724f3d403fc7 21:14:39 Step 9/22 : COPY . . 21:14:40 ---> d97b14304e17 21:14:40 Step 10/22 : RUN ${MAKE} 21:14:40 ---> Running in 046ee21cf9e9 21:14:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:17:18 Removing intermediate container 046ee21cf9e9 21:17:18 ---> f3f13df50a01 21:17:18 Step 11/22 : FROM alpine:3.14 21:17:18 3.14: Pulling from library/alpine 21:17:18 90cda3b7c325: Pulling fs layer 21:17:18 90cda3b7c325: Verifying Checksum 21:17:18 90cda3b7c325: Download complete 21:17:18 90cda3b7c325: Pull complete 21:17:18 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 21:17:18 Status: Downloaded newer image for alpine:3.14 21:17:18 ---> 275902a1839d 21:17:18 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:17:18 ---> Running in 2cff261d7b3b 21:17:18 Removing intermediate container 2cff261d7b3b 21:17:18 ---> cea390e66edc 21:17:18 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:17:18 ---> Running in 858e3947e36a 21:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:17:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:17:21 (1/1) Installing dumb-init (1.2.5-r1) 21:17:21 Executing busybox-1.33.1-r8.trigger 21:17:21 OK: 6 MiB in 15 packages 21:17:22 Removing intermediate container 858e3947e36a 21:17:22 ---> 9f0cd4fc2e8d 21:17:22 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:17:23 ---> da24a4c8b7dc 21:17:23 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:17:23 ---> 969267d4b282 21:17:23 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:17:24 ---> 28363df4e10c 21:17:24 Step 17/22 : EXPOSE 59901 21:17:24 ---> Running in 892bdaed0ad9 21:17:25 Removing intermediate container 892bdaed0ad9 21:17:25 ---> 640201f01791 21:17:25 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:17:25 ---> Running in e8d794505c32 21:17:25 Removing intermediate container e8d794505c32 21:17:25 ---> 1ce0e039744c 21:17:25 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:17:25 ---> Running in 80f28cb728d9 21:17:25 Removing intermediate container 80f28cb728d9 21:17:25 ---> 39e5c2774556 21:17:25 Step 20/22 : LABEL arch=arm64 21:17:25 ---> Running in 02aab992eb11 21:17:26 Removing intermediate container 02aab992eb11 21:17:26 ---> 6050a8a82015 21:17:26 Step 21/22 : LABEL git_sha=def1cc71e63d04479355a5672fe2144ca0f9c836 21:17:26 ---> Running in 8940d9c41705 21:17:26 Removing intermediate container 8940d9c41705 21:17:26 ---> 77541673203c 21:17:26 Step 22/22 : LABEL version=3.0.0-dev.4 21:17:26 ---> Running in e399bf278bd6 21:17:27 Removing intermediate container e399bf278bd6 21:17:27 ---> d22b86b1c214 21:17:27 [Warning] One or more build-args [ARCH] were not consumed 21:17:27 Successfully built d22b86b1c214 21:17:27 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 21:17:27 provisioning config files... 21:17:27 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/70@tmp/config17393391650947867515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:27 ---> docker-login.sh 21:17:27 nexus3.edgexfoundry.org:10001 21:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:27 Configure a credential helper to remove this warning. See 21:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:27 21:17:27 Login Succeeded 21:17:27 nexus3.edgexfoundry.org:10002 21:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:28 Configure a credential helper to remove this warning. See 21:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:28 21:17:28 Login Succeeded 21:17:28 nexus3.edgexfoundry.org:10003 21:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:28 Configure a credential helper to remove this warning. See 21:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:28 21:17:28 Login Succeeded 21:17:28 nexus3.edgexfoundry.org:10004 21:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:30 Configure a credential helper to remove this warning. See 21:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:30 21:17:30 Login Succeeded 21:17:30 docker.io 21:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:30 Configure a credential helper to remove this warning. See 21:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:30 21:17:30 Login Succeeded 21:17:30 ---> docker-login.sh ends [Pipeline] } 21:17:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:17:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:31 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:17:31 def1cc71e63d04479355a5672fe2144ca0f9c836 21:17:31 latest 21:17:31 3.0.0-dev.4 21:17:31 def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 21:17:31 main 21:17:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836 21:17:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:17:31 9a54cc7c4b4d: Preparing 21:17:31 cf7ad2f726c7: Preparing 21:17:31 e2fa4e9d5ce3: Preparing 21:17:31 e07e9717dcaa: Preparing 21:17:31 28c3ef001483: Preparing 21:17:32 28c3ef001483: Layer already exists 21:17:32 cf7ad2f726c7: Pushed 21:17:32 9a54cc7c4b4d: Pushed 21:17:32 e07e9717dcaa: Pushed 21:17:38 e2fa4e9d5ce3: Pushed 21:17:38 def1cc71e63d04479355a5672fe2144ca0f9c836: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:17:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:17:39 9a54cc7c4b4d: Preparing 21:17:39 cf7ad2f726c7: Preparing 21:17:39 e2fa4e9d5ce3: Preparing 21:17:39 e07e9717dcaa: Preparing 21:17:39 28c3ef001483: Preparing 21:17:39 28c3ef001483: Layer already exists 21:17:39 9a54cc7c4b4d: Layer already exists 21:17:39 cf7ad2f726c7: Layer already exists 21:17:39 e2fa4e9d5ce3: Layer already exists 21:17:39 e07e9717dcaa: Layer already exists 21:17:39 latest: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.4 21:17:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:17:40 9a54cc7c4b4d: Preparing 21:17:40 cf7ad2f726c7: Preparing 21:17:40 e2fa4e9d5ce3: Preparing 21:17:40 e07e9717dcaa: Preparing 21:17:40 28c3ef001483: Preparing 21:17:40 e07e9717dcaa: Layer already exists 21:17:40 cf7ad2f726c7: Layer already exists 21:17:40 e2fa4e9d5ce3: Layer already exists 21:17:40 9a54cc7c4b4d: Layer already exists 21:17:40 28c3ef001483: Layer already exists 21:17:40 3.0.0-dev.4: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 21:17:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:17:41 9a54cc7c4b4d: Preparing 21:17:41 cf7ad2f726c7: Preparing 21:17:41 e2fa4e9d5ce3: Preparing 21:17:41 e07e9717dcaa: Preparing 21:17:41 28c3ef001483: Preparing 21:17:41 e07e9717dcaa: Layer already exists 21:17:41 28c3ef001483: Layer already exists 21:17:41 e2fa4e9d5ce3: Layer already exists 21:17:41 9a54cc7c4b4d: Layer already exists 21:17:41 cf7ad2f726c7: Layer already exists 21:17:41 def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:42 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:17:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:17:42 9a54cc7c4b4d: Preparing 21:17:42 cf7ad2f726c7: Preparing 21:17:42 e2fa4e9d5ce3: Preparing 21:17:42 e07e9717dcaa: Preparing 21:17:42 28c3ef001483: Preparing 21:17:42 e07e9717dcaa: Layer already exists 21:17:42 9a54cc7c4b4d: Layer already exists 21:17:42 cf7ad2f726c7: Layer already exists 21:17:42 28c3ef001483: Layer already exists 21:17:42 e2fa4e9d5ce3: Layer already exists 21:17:42 main: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:17:42 ===================================================== [Pipeline] echo 21:17:42 taggedImages: 21:17:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836 21:17:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:17:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.4 21:17:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 21:17:42 - 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 21:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:43 21:17:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:17:43 arm64: Pulling from edgex-lftools-log-publisher 21:17:43 8998bd30e6a1: Pulling fs layer 21:17:43 04944245beec: Pulling fs layer 21:17:43 699f458cf7ca: Pulling fs layer 21:17:43 765212b225bb: Pulling fs layer 21:17:43 f23df028b6ca: Pulling fs layer 21:17:43 d65c8cfc05b1: Pulling fs layer 21:17:43 2437ff75d9bd: Pulling fs layer 21:17:43 f23df028b6ca: Waiting 21:17:43 d65c8cfc05b1: Waiting 21:17:43 2437ff75d9bd: Waiting 21:17:43 765212b225bb: Waiting 21:17:43 04944245beec: Verifying Checksum 21:17:43 04944245beec: Download complete 21:17:43 765212b225bb: Verifying Checksum 21:17:43 765212b225bb: Download complete 21:17:44 f23df028b6ca: Verifying Checksum 21:17:44 f23df028b6ca: Download complete 21:17:44 d65c8cfc05b1: Download complete 21:17:44 699f458cf7ca: Verifying Checksum 21:17:44 699f458cf7ca: Download complete 21:17:44 8998bd30e6a1: Verifying Checksum 21:17:44 8998bd30e6a1: Download complete 21:17:47 2437ff75d9bd: Download complete 21:17:48 8998bd30e6a1: Pull complete 21:17:49 04944245beec: Pull complete 21:17:50 699f458cf7ca: Pull complete 21:17:50 765212b225bb: Pull complete 21:17:51 f23df028b6ca: Pull complete 21:17:51 d65c8cfc05b1: Pull complete 21:18:06 2437ff75d9bd: Pull complete 21:18:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:18:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:07 prd-ubuntu20.04-docker-arm64-4c-16g-1681 does not seem to be running inside a container 21:18:07 $ 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/70 -v /w/workspace/device-modbus-go/70:/w/workspace/device-modbus-go/70:rw,z -v /w/workspace/device-modbus-go/70@tmp:/w/workspace/device-modbus-go/70@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 21:18:10 $ docker top 0cede83b250d39d4bba2704af367fcde63e7e20515df5127f0548ea72391d4a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:11 ---> job-cost.sh 21:18:11 lf-activate-venv: SKIPPING 21:18:11 INFO: No Stack... 21:18:11 INFO: Retrieving Pricing Info for: v3-standard-4 21:18:12 INFO: Archiving Costs [Pipeline] sh 21:18:13 + + cut -d, -f6 21:18:13 cat /w/workspace/device-modbus-go/70/archives/cost.csv [Pipeline] lock 21:18:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] 21:18:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] did not exist. Created. 21:18:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:18:13 /w/workspace/device-modbus-go/70@tmp/durable-fb27f02b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:18:14 + echo total: 0.10999999940395355 [Pipeline] stash 21:18:14 Warning: overwriting stash ‘stack-cost’ 21:18:14 Stashed 1 file(s) [Pipeline] } 21:18:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 21:18:14 $ docker stop --time=1 0cede83b250d39d4bba2704af367fcde63e7e20515df5127f0548ea72391d4a4 21:18:16 $ docker rm -f --volumes 0cede83b250d39d4bba2704af367fcde63e7e20515df5127f0548ea72391d4a4 [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 21:18:16 provisioning config files... 21:18:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11885958219253978959tmp [Pipeline] { [Pipeline] sh 21:18:16 + set +x 21:18:16 + curl -s https://codecov.io/bash 21:18:16 + bash -s -- 21:18:16 21:18:16 _____ _ 21:18:16 / ____| | | 21:18:16 | | ___ __| | ___ ___ _____ __ 21:18:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:18:16 | |___| (_) | (_| | __/ (_| (_) \ V / 21:18:16 \_____\___/ \__,_|\___|\___\___/ \_/ 21:18:16 Bash-1.0.6 21:18:16 21:18:16 21:18:16 ==> git version 2.25.1 found 21:18:16 ==> 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 21:18:16 Release-Date: 2020-01-08 21:18:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:18:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:18:16 ==> Jenkins CI detected. 21:18:16 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 21:18:16 project root: . 21:18:16 --> token set from env 21:18:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:18:16 ==> Running gcov in . (disable via -X gcov) 21:18:16 ==> Python coveragepy not found 21:18:16 ==> Searching for coverage reports in: 21:18:16 + . 21:18:16 -> Found 1 reports 21:18:16 ==> Detecting git/mercurial file structure 21:18:16 ==> Reading reports 21:18:16 + ./coverage.out bytes=23241 21:18:16 ==> Appending adjustments 21:18:16 https://docs.codecov.io/docs/fixing-reports 21:18:17 + Found adjustments 21:18:17 ==> Gzipping contents 21:18:17 4.0K /tmp/codecov.vhQMPt.gz 21:18:17 ==> Uploading reports 21:18:17 url: https://codecov.io 21:18:17 query: branch=main&commit=def1cc71e63d04479355a5672fe2144ca0f9c836&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:18:17 -> Pinging Codecov 21:18:17 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=def1cc71e63d04479355a5672fe2144ca0f9c836&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:18:17 -> Uploading to 21:18:17 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/def1cc71e63d04479355a5672fe2144ca0f9c836/2e4fb5e3-0f0c-4455-aa3a-e3f12d00b8f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T211817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fe3ddc4a33041fc18885ed9f65f935d6a49ce3c017327d0950db3f769664797 21:18:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:18:17 Dload Upload Total Spent Left Speed 21:18:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 15494 --:--:-- --:--:-- --:--:-- 15494 21:18:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] } 21:18:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:18:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:18:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:18:18 21:18:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:18:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:18:18 df9b9388f04a: Pulling fs layer 21:18:18 52dc419b0ee2: Pulling fs layer 21:18:18 25bc292e5bac: Pulling fs layer 21:18:18 114826534d7a: Pulling fs layer 21:18:18 4657fd5d0bcf: Pulling fs layer 21:18:18 6ad1cebc031e: Pulling fs layer 21:18:18 8a3aa393b2d8: Pulling fs layer 21:18:18 114826534d7a: Waiting 21:18:18 6ad1cebc031e: Waiting 21:18:18 4657fd5d0bcf: Waiting 21:18:18 8a3aa393b2d8: Waiting 21:18:18 25bc292e5bac: Verifying Checksum 21:18:18 25bc292e5bac: Download complete 21:18:18 52dc419b0ee2: Download complete 21:18:18 4657fd5d0bcf: Verifying Checksum 21:18:18 4657fd5d0bcf: Download complete 21:18:18 df9b9388f04a: Verifying Checksum 21:18:18 df9b9388f04a: Download complete 21:18:18 df9b9388f04a: Pull complete 21:18:18 6ad1cebc031e: Verifying Checksum 21:18:18 6ad1cebc031e: Download complete 21:18:18 52dc419b0ee2: Pull complete 21:18:18 25bc292e5bac: Pull complete 21:18:19 114826534d7a: Verifying Checksum 21:18:19 114826534d7a: Download complete 21:18:19 8a3aa393b2d8: Download complete 21:18:22 114826534d7a: Pull complete 21:18:22 4657fd5d0bcf: Pull complete 21:18:22 6ad1cebc031e: Pull complete 21:18:25 8a3aa393b2d8: Pull complete 21:18:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:18:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:25 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:18:25 $ 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 21:18:26 $ docker top 5d745fd4054dd1bb4feaa52f6c5e484a08aca253aed741925cfdb490c53b29bc -eo pid,comm [Pipeline] { [Pipeline] echo 21:18:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 21:18:27 + set -o pipefail 21:18:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 21:18:32 21:18:32 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 21:18:32 21:18:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0999806b-8129-476a-94c1-443ab9264c0b 21:18:32 21:18:32 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:18:32 21:18:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:18:32 21:18:32 21:18:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:18:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:18:32 More details here: https://snyk.co/ue1NS [Pipeline] } 21:18:32 $ docker stop --time=1 5d745fd4054dd1bb4feaa52f6c5e484a08aca253aed741925cfdb490c53b29bc 21:18:34 $ docker rm -f --volumes 5d745fd4054dd1bb4feaa52f6c5e484a08aca253aed741925cfdb490c53b29bc [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 21:18:35 + git log --format=format:%s -1 def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] sh 21:18:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:18:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:36 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:18:36 $ 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 21:18:36 $ docker top d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 -eo pid,comm 21:18:36 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). 21:18:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:18:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:18:36 [ssh-agent] Looking for ssh-agent implementation... 21:18:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:18:36 $ docker exec d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 ssh-agent 21:18:36 SSH_AUTH_SOCK=/tmp/ssh-tBCQ1OqDj9Hd/agent.31 21:18:36 SSH_AGENT_PID=36 21:18:36 Running ssh-add (command line suppressed) 21:18:36 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_496327252504501598.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_496327252504501598.key) 21:18:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:18:37 + git semver tag 21:18:37 2023-01-10 21:18:37,363 [run_tag] DEBUG tag force:False 21:18:37 2023-01-10 21:18:37,364 [check_head_tag] DEBUG check head tag 21:18:37 2023-01-10 21:18:37,365 [execute] INFO git cat-file --batch-check 21:18:37 2023-01-10 21:18:37,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:18:37 2023-01-10 21:18:37,368 [execute] INFO git cat-file --batch 21:18:37 2023-01-10 21:18:37,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:18:37 2023-01-10 21:18:37,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:18:37 2023-01-10 21:18:37,384 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 21:18:37 2023-01-10 21:18:37,385 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 21:18:37 2023-01-10 21:18:37,389 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:18:37 3.0.0-dev.4 [Pipeline] } 21:18:37 $ docker exec --env ******** --env ******** d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 ssh-agent -k 21:18:37 unset SSH_AUTH_SOCK; 21:18:37 unset SSH_AGENT_PID; 21:18:37 echo Agent pid 36 killed; 21:18:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:18:37 + git semver [Pipeline] } 21:18:38 $ docker stop --time=1 d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 21:18:39 $ docker rm -f --volumes d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:18:39 21:18:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:18:40 0.23.1-centos7: Pulling from edgex-lftools 21:18:40 ab5ef0e58194: Pulling fs layer 21:18:40 9712f1f96733: Pulling fs layer 21:18:40 63f879dbbcfc: Pulling fs layer 21:18:40 0d9ebad4ef96: Pulling fs layer 21:18:40 e9a5061849ea: Pulling fs layer 21:18:40 d747dcd14b5f: Pulling fs layer 21:18:40 2de7ff778b66: Pulling fs layer 21:18:40 0d9ebad4ef96: Waiting 21:18:40 2de7ff778b66: Waiting 21:18:40 e9a5061849ea: Waiting 21:18:40 9712f1f96733: Download complete 21:18:40 63f879dbbcfc: Verifying Checksum 21:18:40 63f879dbbcfc: Download complete 21:18:40 e9a5061849ea: Verifying Checksum 21:18:40 e9a5061849ea: Download complete 21:18:40 d747dcd14b5f: Verifying Checksum 21:18:40 d747dcd14b5f: Download complete 21:18:40 0d9ebad4ef96: Verifying Checksum 21:18:40 0d9ebad4ef96: Download complete 21:18:40 2de7ff778b66: Verifying Checksum 21:18:40 2de7ff778b66: Download complete 21:18:40 ab5ef0e58194: Verifying Checksum 21:18:40 ab5ef0e58194: Download complete 21:18:43 ab5ef0e58194: Pull complete 21:18:43 9712f1f96733: Pull complete 21:18:44 63f879dbbcfc: Pull complete 21:18:47 0d9ebad4ef96: Pull complete 21:18:47 e9a5061849ea: Pull complete 21:18:47 d747dcd14b5f: Pull complete 21:18:48 2de7ff778b66: Pull complete 21:18:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:48 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:18:48 $ 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 21:18:50 $ docker top b433620d9b96e1d195cf91fecf8f68884016b6b1453e4ee7690bf85ffb42a529 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:18:50 provisioning config files... 21:18:50 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2199141611297145587tmp 21:18:50 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14623391377275941054tmp 21:18:50 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1432571016142858206tmp [Pipeline] { [Pipeline] echo 21:18:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:18:51 ---> sigul-configuration.sh 21:18:51 gpg: directory `/root/.gnupg' created 21:18:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:18:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:18:51 gpg: keyring `/root/.gnupg/secring.gpg' created 21:18:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:18:51 gpg: CAST5 encrypted data 21:18:51 gpg: encrypted with 1 passphrase 21:18:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:18:51 + mkdir /home/jenkins 21:18:51 + mkdir /home/jenkins/sigul [Pipeline] sh 21:18:51 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:18:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:18:51 ---> sigul-install.sh 21:18:51 Sigul already installed; skipping installation. [Pipeline] sh 21:18:52 + git tag --list 21:18:52 0.7.1 21:18:52 v1.0.0 21:18:52 v1.1.0 21:18:52 v1.1.1 21:18:52 v1.2.2 21:18:52 v1.3.0 21:18:52 v1.3.1 21:18:52 v2.0.0 21:18:52 v2.1.0 21:18:52 v2.1.1 21:18:52 v2.1.1-dev.1 21:18:52 v2.1.1-dev.2 21:18:52 v2.1.1-dev.3 21:18:52 v2.2.0 21:18:52 v2.2.1-dev.1 21:18:52 v2.2.1-dev.2 21:18:52 v2.2.1-dev.3 21:18:52 v2.2.1-dev.4 21:18:52 v2.2.1-dev.5 21:18:52 v2.2.1-dev.6 21:18:52 v2.2.1-dev.7 21:18:52 v2.3.0 21:18:52 v2.3.0-dev.10 21:18:52 v2.3.0-dev.11 21:18:52 v2.3.0-dev.12 21:18:52 v2.3.0-dev.13 21:18:52 v2.3.0-dev.14 21:18:52 v2.3.0-dev.15 21:18:52 v2.3.0-dev.16 21:18:52 v2.3.0-dev.17 21:18:52 v2.3.0-dev.18 21:18:52 v2.3.0-dev.19 21:18:52 v2.3.0-dev.20 21:18:52 v2.3.0-dev.21 21:18:52 v2.3.0-dev.22 21:18:52 v2.3.0-dev.23 21:18:52 v2.3.0-dev.24 21:18:52 v2.3.0-dev.25 21:18:52 v2.3.0-dev.7 21:18:52 v2.3.0-dev.8 21:18:52 v2.3.0-dev.9 21:18:52 v3.0.0-dev.1 21:18:52 v3.0.0-dev.2 21:18:52 v3.0.0-dev.3 21:18:52 v3.0.0-dev.4 [Pipeline] sh 21:18:52 + lftools sign git-tag v3.0.0-dev.4 21:18:53 Signing Git tag with Sigul... 21:18:53 Signing v3.0.0-dev.4 [Pipeline] echo 21:18:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:18:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:18:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:18:53 $ docker stop --time=1 b433620d9b96e1d195cf91fecf8f68884016b6b1453e4ee7690bf85ffb42a529 21:18:54 $ docker rm -f --volumes b433620d9b96e1d195cf91fecf8f68884016b6b1453e4ee7690bf85ffb42a529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:18:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:18:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:55 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:18:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:18:56 $ docker top d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:18:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:18:56 [ssh-agent] Looking for ssh-agent implementation... 21:18:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:18:56 $ docker exec d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 ssh-agent 21:18:56 SSH_AUTH_SOCK=/tmp/ssh-xE0ledYvHiNe/agent.32 21:18:56 SSH_AGENT_PID=38 21:18:56 Running ssh-add (command line suppressed) 21:18:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10478188530023208695.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10478188530023208695.key) 21:18:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:18:56 + git semver bump pre 21:18:57 2023-01-10 21:18:56,982 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:18:57 2023-01-10 21:18:56,982 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev 21:18:57 2023-01-10 21:18:56,982 [bump_version] DEBUG bumped version:3.0.0-dev.5 21:18:57 2023-01-10 21:18:56,982 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 21:18:57 2023-01-10 21:18:56,982 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:18:57 2023-01-10 21:18:56,982 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:18:57 2023-01-10 21:18:56,984 [execute] INFO git cat-file --batch-check 21:18:57 2023-01-10 21:18:56,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:18:57 2023-01-10 21:18:56,990 [execute] INFO git cat-file --batch 21:18:57 2023-01-10 21:18:56,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:18:57 2023-01-10 21:18:56,995 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:18:57 3.0.0-dev.5 [Pipeline] } 21:18:57 $ docker exec --env ******** --env ******** d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 ssh-agent -k 21:18:57 unset SSH_AUTH_SOCK; 21:18:57 unset SSH_AGENT_PID; 21:18:57 echo Agent pid 38 killed; 21:18:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:18:57 + git semver [Pipeline] } 21:18:57 $ docker stop --time=1 d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 21:18:59 $ docker rm -f --volumes d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 [Pipeline] // withDockerContainer [Pipeline] sh 21:18:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:18:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:59 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:18:59 $ 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 21:19:00 $ docker top f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 -eo pid,comm 21:19:00 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). 21:19:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:19:00 [ssh-agent] Looking for ssh-agent implementation... 21:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:19:00 $ docker exec f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 ssh-agent 21:19:00 SSH_AUTH_SOCK=/tmp/ssh-diqWJavu89og/agent.32 21:19:00 SSH_AGENT_PID=38 21:19:00 Running ssh-add (command line suppressed) 21:19:00 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16827511029589571269.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16827511029589571269.key) 21:19:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:19:00 + git semver push 21:19:01 2023-01-10 21:19:01,100 [run_push] DEBUG push 21:19:01 2023-01-10 21:19:01,100 [execute] INFO git cat-file --batch-check 21:19:01 2023-01-10 21:19:01,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:19:01 2023-01-10 21:19:01,104 [execute] INFO git rev-list 2a1b023eddd17a7ecef976d0c7092c604cd9cd72 -- 21:19:01 2023-01-10 21:19:01,104 [execute] DEBUG Popen(['git', 'rev-list', '2a1b023eddd17a7ecef976d0c7092c604cd9cd72', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:19:01 2023-01-10 21:19:01,112 [execute] INFO git fetch -v origin 21:19:01 2023-01-10 21:19:01,112 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:19:02 2023-01-10 21:19:01,899 [run_push] DEBUG no remote changes detected 21:19:02 2023-01-10 21:19:01,900 [execute] INFO git push origin semver 21:19:02 2023-01-10 21:19:01,900 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:19:03 2023-01-10 21:19:02,987 [run_push] DEBUG push all version tags 21:19:03 2023-01-10 21:19:02,987 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:19:03 2023-01-10 21:19:02,988 [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) 21:19:05 2023-01-10 21:19:05,346 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:19:05 3.0.0-dev.5 [Pipeline] } 21:19:05 $ docker exec --env ******** --env ******** f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 ssh-agent -k 21:19:05 unset SSH_AUTH_SOCK; 21:19:05 unset SSH_AGENT_PID; 21:19:05 echo Agent pid 38 killed; 21:19:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:19:05 + git semver [Pipeline] } 21:19:06 $ docker stop --time=1 f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 21:19:07 $ docker rm -f --volumes f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 [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 21:19:08 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 21:19:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:19:08 total 16 21:19:08 drwxr-xr-x 3 root root 4096 Jan 10 21:08 . 21:19:08 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:18 .. 21:19:08 drwxr-xr-x 2 root root 4096 Jan 10 21:08 cost 21:19:08 -rw-r--r-- 1 root root 87 Jan 10 21:08 cost.csv 21:19:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 21:19:08 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:19:08 total 16 21:19:08 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:08 . 21:19:08 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:18 .. 21:19:08 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:08 cost 21:19:08 -rw-r--r-- 1 jenkins jenkins 87 Jan 10 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:19:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:19:09 ---> package-listing.sh 21:19:09 ++ facter osfamily 21:19:09 ++ tr '[:upper:]' '[:lower:]' 21:19:09 + OS_FAMILY=debian 21:19:09 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 21:19:09 + START_PACKAGES=/tmp/packages_start.txt 21:19:09 + END_PACKAGES=/tmp/packages_end.txt 21:19:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:19:09 + PACKAGES=/tmp/packages_start.txt 21:19:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:19:09 + PACKAGES=/tmp/packages_end.txt 21:19:09 + case "${OS_FAMILY}" in 21:19:09 + dpkg -l 21:19:09 + grep '^ii' 21:19:09 + '[' -f /tmp/packages_start.txt ']' 21:19:09 + '[' -f /tmp/packages_end.txt ']' 21:19:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:19:09 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:19:09 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 21:19:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 21:19:09 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 21:19:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:10 prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container 21:19:10 $ 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 21:19:10 $ docker top 3c0d8dda9c6d639f0d0e8d971f1b36eee133cc6eef7919f41d01cb03e174e0b4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:19:11 + mkdir -p /var/log/sysstat [Pipeline] sh 21:19:11 + ls /var/log/sa-host 21:19:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:11 provisioning config files... 21:19:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1057386882063069951tmp [Pipeline] { [Pipeline] echo 21:19:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:19:12 ---> create-netrc.sh [Pipeline] } 21:19:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:19:12 ---> python-tools-install.sh [Pipeline] echo 21:19:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:19:12 ---> sudo-logs.sh 21:19:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:19:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:19:13 ---> job-cost.sh 21:19:13 lf-activate-venv: SKIPPING 21:19:13 DEBUG: total: 0.2199999988079071 21:19:13 INFO: Retrieving Stack Cost... 21:19:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:13 INFO: Archiving Costs [Pipeline] echo 21:19:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:19:14 ---> logs-deploy.sh 21:19:14 lf-activate-venv: SKIPPING 21:19:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/70 21:19:14 INFO: archiving workspace using pattern(s): 21:19:15 Archives upload complete. 21:19:15 INFO: archiving logs to Nexus