Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 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-ssh8138988434855970520.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-ssh3270930017753479996.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-ssh17728733200982454117.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-ssh13882516589368465777.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-ssh16862172041256038970.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 Running on prd-ubuntu20.04-docker-8c-8g-6708 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 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" > git rev-list --no-walk c3aad7bd2c33aca71f49ec3c385ee682c91bb904 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:21 ========================================================= 06:10:21 EdgeX Global Pipelines Version Info 06:10:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:22 ------------------- 06:10:22 stable info: 06:10:22 ------------------- 06:10:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:10:22 Message: update stable to v1.0.244 06:10:22 ------------------- 06:10:22 experimental info: 06:10:22 ------------------- 06:10:22 Commited By: **** collab-it+edgex@linuxfoundation.org 06:10:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:10:22 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3fb6b6 [Pipeline] echo 06:10:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:23 provisioning config files... 06:10:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13133698272858452396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:23 ---> docker-login.sh 06:10:23 nexus3.edgexfoundry.org:10001 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 nexus3.edgexfoundry.org:10002 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 nexus3.edgexfoundry.org:10003 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 nexus3.edgexfoundry.org:10004 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 docker.io 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 ---> docker-login.sh ends [Pipeline] } 06:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:10:25 + git rev-list -1 --merges e3fb6b6c893123b5784ccc2dd10ff9f0848293eb~1..e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo 06:10:25 -----------> git rev-list -1 --merges e3fb6b6c893123b5784ccc2dd10ff9f0848293eb~1..e3fb6b6c893123b5784ccc2dd10ff9f0848293eb e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:10:25 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [false] [Pipeline] sh 06:10:25 + git log --format=format:%s -1 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo 06:10:25 ========================================================= 06:10:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:10:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:26 + git log --format=format:%s -1 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] echo 06:10:26 [semverPrep] GIT_COMMIT: e3fb6b6c893123b5784ccc2dd10ff9f0848293eb, Commit Message: Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34 [Pipeline] echo 06:10:26 [semverPrep] This is not a build commit. [Pipeline] sh 06:10:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:26 + grep -v github /etc/ssh/ssh_known_hosts 06:10:26 + [ -e /tmp/ssh_known_hosts ] 06:10:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:10:26 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 06:10:26 /etc/ssh/ssh_known_hosts 06:10:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:26 06:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:27 0.1.4: Pulling from edgex-devops/py-git-semver 06:10:27 b85a868b505f: Pulling fs layer 06:10:27 e2be974225ed: Pulling fs layer 06:10:27 339a4e72a1f5: Pulling fs layer 06:10:27 988bab9f4d93: Pulling fs layer 06:10:27 1469e6f7b9e6: Pulling fs layer 06:10:27 eaf3925da568: Pulling fs layer 06:10:27 bab4dde63d76: Pulling fs layer 06:10:27 bde34c3a00c8: Pulling fs layer 06:10:27 1469e6f7b9e6: Waiting 06:10:27 988bab9f4d93: Waiting 06:10:27 eaf3925da568: Waiting 06:10:27 bab4dde63d76: Waiting 06:10:27 bde34c3a00c8: Waiting 06:10:27 b352a97aabf1: Pulling fs layer 06:10:27 4872d77fe225: Pulling fs layer 06:10:27 b352a97aabf1: Waiting 06:10:27 5851b861e8e6: Pulling fs layer 06:10:27 5851b861e8e6: Waiting 06:10:27 e2be974225ed: Verifying Checksum 06:10:27 e2be974225ed: Download complete 06:10:27 988bab9f4d93: Download complete 06:10:27 1469e6f7b9e6: Verifying Checksum 06:10:27 1469e6f7b9e6: Download complete 06:10:27 eaf3925da568: Verifying Checksum 06:10:27 eaf3925da568: Download complete 06:10:27 339a4e72a1f5: Verifying Checksum 06:10:27 339a4e72a1f5: Download complete 06:10:27 bde34c3a00c8: Download complete 06:10:27 b352a97aabf1: Verifying Checksum 06:10:27 b352a97aabf1: Download complete 06:10:27 4872d77fe225: Download complete 06:10:27 5851b861e8e6: Download complete 06:10:27 b85a868b505f: Verifying Checksum 06:10:27 b85a868b505f: Download complete 06:10:27 bab4dde63d76: Verifying Checksum 06:10:29 b85a868b505f: Pull complete 06:10:29 e2be974225ed: Pull complete 06:10:30 339a4e72a1f5: Pull complete 06:10:31 988bab9f4d93: Pull complete 06:10:31 1469e6f7b9e6: Pull complete 06:10:31 eaf3925da568: Pull complete 06:10:34 bab4dde63d76: Pull complete 06:10:35 bde34c3a00c8: Pull complete 06:10:35 b352a97aabf1: Pull complete 06:10:35 4872d77fe225: Pull complete 06:10:36 5851b861e8e6: Pull complete 06:10:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:10:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:37 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:10:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:45 $ docker top b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d -eo pid,comm 06:10:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:10:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:45 [ssh-agent] Looking for ssh-agent implementation... 06:10:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:45 $ docker exec b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent 06:10:46 SSH_AUTH_SOCK=/tmp/ssh-dsDR9O8dXeAB/agent.14 06:10:46 SSH_AGENT_PID=20 06:10:46 Running ssh-add (command line suppressed) 06:10:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11442379466729524564.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11442379466729524564.key) 06:10:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:46 + git tag --points-at HEAD [Pipeline] } 06:10:46 $ docker exec --env ******** --env ******** b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent -k 06:10:46 unset SSH_AUTH_SOCK; 06:10:46 unset SSH_AGENT_PID; 06:10:46 echo Agent pid 20 killed; 06:10:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:46 [ssh-agent] Looking for ssh-agent implementation... 06:10:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:46 $ docker exec b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent 06:10:46 SSH_AUTH_SOCK=/tmp/ssh-pMhYGh9ouu01/agent.52 06:10:46 SSH_AGENT_PID=58 06:10:46 Running ssh-add (command line suppressed) 06:10:46 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2954229637900174484.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2954229637900174484.key) 06:10:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:47 + git semver init 06:10:47 2023-02-20 06:10:47,462 [run_init] DEBUG init version:0.0.0 force:False 06:10:47 2023-02-20 06:10:47,464 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:10:47 2023-02-20 06:10:47,465 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:10:47 2023-02-20 06:10:47,465 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:10:48 2023-02-20 06:10:48,560 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:10:48 2023-02-20 06:10:48,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:10:48 2023-02-20 06:10:48,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:10:48 2023-02-20 06:10:48,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:10:48 3.0.0-dev.13 [Pipeline] } 06:10:48 $ docker exec --env ******** --env ******** b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d ssh-agent -k 06:10:49 unset SSH_AUTH_SOCK; 06:10:49 unset SSH_AGENT_PID; 06:10:49 echo Agent pid 58 killed; 06:10:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:49 + git semver [Pipeline] } 06:10:49 $ docker stop --time=1 b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d 06:10:51 $ docker rm -f --volumes b9551d40c916a128ebe68b4838f7322c17b8d666b619312754ed485d876a352d [Pipeline] // withDockerContainer [Pipeline] sh 06:10:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:51 Stashed 1 file(s) [Pipeline] echo 06:10:51 [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:52 provisioning config files... 06:10:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3501266477765695768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6713 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:10:52 Running in /w/workspace/device-modbus-go/79 [Pipeline] { [Pipeline] checkout 06:10:52 Selected Git installation does not exist. Using Default 06:10:52 The recommended git tool is: NONE 06:10:52 ---> docker-login.sh 06:10:52 nexus3.edgexfoundry.org:10001 06:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:52 Configure a credential helper to remove this warning. See 06:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:52 06:10:52 Login Succeeded 06:10:52 nexus3.edgexfoundry.org:10002 06:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:52 Configure a credential helper to remove this warning. See 06:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:52 06:10:52 Login Succeeded 06:10:52 nexus3.edgexfoundry.org:10003 06:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:52 Configure a credential helper to remove this warning. See 06:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:52 06:10:52 Login Succeeded 06:10:52 nexus3.edgexfoundry.org:10004 06:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:52 Configure a credential helper to remove this warning. See 06:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:52 06:10:52 Login Succeeded 06:10:52 docker.io 06:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:53 Configure a credential helper to remove this warning. See 06:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:53 06:10:53 Login Succeeded 06:10:53 ---> docker-login.sh ends [Pipeline] } 06:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:53 ========================================================= 06:10:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:10:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:53 + 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 . 06:10:53 Sending build context to Docker daemon 6.383MB 06:10:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:10:53 Step 2/10 : FROM ${BASE} AS builder 06:10:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:53 213ec9aee27d: Pulling fs layer 06:10:53 4583459ba037: Pulling fs layer 06:10:53 93c1e223e6f2: Pulling fs layer 06:10:53 53926ce57604: Pulling fs layer 06:10:53 21b2b0c7a3f4: Pulling fs layer 06:10:53 22ff95d597cd: Pulling fs layer 06:10:53 12d6caf4c0d1: Pulling fs layer 06:10:53 53926ce57604: Waiting 06:10:53 21b2b0c7a3f4: Waiting 06:10:53 22ff95d597cd: Waiting 06:10:53 96b7cbca73a9: Pulling fs layer 06:10:53 a7acece74701: Pulling fs layer 06:10:53 12d6caf4c0d1: Waiting 06:10:53 96b7cbca73a9: Waiting 06:10:53 a7acece74701: Waiting 06:10:53 93c1e223e6f2: Verifying Checksum 06:10:53 93c1e223e6f2: Download complete 06:10:53 4583459ba037: Verifying Checksum 06:10:53 4583459ba037: Download complete 06:10:53 21b2b0c7a3f4: Verifying Checksum 06:10:53 21b2b0c7a3f4: Download complete 06:10:53 22ff95d597cd: Download complete 06:10:53 213ec9aee27d: Verifying Checksum 06:10:53 213ec9aee27d: Download complete 06:10:54 12d6caf4c0d1: Verifying Checksum 06:10:54 12d6caf4c0d1: Download complete 06:10:54 213ec9aee27d: Pull complete 06:10:54 a7acece74701: Verifying Checksum 06:10:54 a7acece74701: Download complete 06:10:54 96b7cbca73a9: Verifying Checksum 06:10:54 96b7cbca73a9: Download complete 06:10:54 4583459ba037: Pull complete 06:10:54 53926ce57604: Verifying Checksum 06:10:54 53926ce57604: Download complete 06:10:55 93c1e223e6f2: Pull complete 06:10:57 using credential edgex-jenkins-ssh 06:10:57 Cloning the remote Git repository 06:10:57 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:10:57 > git init /w/workspace/device-modbus-go/79 # timeout=10 06:10:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:10:57 > git --version # timeout=10 06:10:57 > git --version # 'git version 2.25.1' 06:10:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:10:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:59 Avoid second fetch 06:10:59 Checking out Revision e3fb6b6c893123b5784ccc2dd10ff9f0848293eb (main) 06:11:00 Commit message: "Merge pull request #417 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" 06:11:00 53926ce57604: Pull complete 06:11:00 21b2b0c7a3f4: Pull complete 06:11:00 22ff95d597cd: Pull complete 06:11:00 12d6caf4c0d1: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:59 > git config core.sparsecheckout # timeout=10 06:10:59 > git checkout -f e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 06:11:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:11:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:01 Dload Upload Total Spent Left Speed 06:11:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 06:11:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:11:02 + sudo tee /etc/docker/daemon.new 06:11:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:11:02 { 06:11:02 "registry-mirrors": [ 06:11:02 "https://nexus3.edgexfoundry.org:10001" 06:11:02 ], 06:11:02 "bip": "10.250.0.254/24", 06:11:02 "hosts": [ 06:11:02 "tcp://0.0.0.0:5555", 06:11:02 "unix:///var/run/docker.sock" 06:11:02 ], 06:11:02 "mtu": 1458, 06:11:02 "selinux-enabled": true, 06:11:02 "seccomp-profile": "/etc/docker/seccomp.json" 06:11:02 } [Pipeline] sh 06:11:02 96b7cbca73a9: Pull complete 06:11:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:11:02 + sudo service docker restart 06:11:03 a7acece74701: Pull complete 06:11:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:11:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:11:03 ---> db6d94c90886 06:11:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:11:07 ---> Running in 6f435b46e923 06:11:07 Removing intermediate container 6f435b46e923 06:11:07 ---> 531e2aab6f0b 06:11:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:07 ---> Running in b8ff0954084d 06:11:07 Removing intermediate container b8ff0954084d 06:11:07 ---> e118e5e6d386 06:11:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:11:07 ---> Running in d93c09196380 06:11:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:11:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:11:07 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:11:07 (2/8) Installing libedit (20210910.3.1-r0) 06:11:07 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:11:07 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:11:07 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:11:07 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:11:07 (7/8) Installing openssh-server (9.0_p1-r2) 06:11:07 (8/8) Installing openssh (9.0_p1-r2) 06:11:07 Executing busybox-1.35.0-r17.trigger 06:11:07 OK: 217 MiB in 59 packages 06:11:08 Removing intermediate container d93c09196380 06:11:08 ---> a323a6e2f695 06:11:08 Step 6/10 : WORKDIR /device-modbus-go 06:11:08 ---> Running in 9461d5bce0d6 06:11:08 Removing intermediate container 9461d5bce0d6 06:11:08 ---> 5670335c241d 06:11:08 Step 7/10 : COPY go.mod vendor* ./ 06:11:08 ---> c009c0956d70 06:11:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:08 ---> Running in 5f5b0ef087e8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:21 provisioning config files... 06:11:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/79@tmp/config16088295481878177212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:21 ---> docker-login.sh 06:11:21 nexus3.edgexfoundry.org:10001 06:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:21 Configure a credential helper to remove this warning. See 06:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:21 06:11:21 Login Succeeded 06:11:21 nexus3.edgexfoundry.org:10002 06:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:22 Configure a credential helper to remove this warning. See 06:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:22 06:11:22 Login Succeeded 06:11:22 nexus3.edgexfoundry.org:10003 06:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:22 Configure a credential helper to remove this warning. See 06:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:22 06:11:22 Login Succeeded 06:11:22 nexus3.edgexfoundry.org:10004 06:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:23 Configure a credential helper to remove this warning. See 06:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:23 06:11:23 Login Succeeded 06:11:23 docker.io 06:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:23 Configure a credential helper to remove this warning. See 06:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:23 06:11:23 Login Succeeded 06:11:23 ---> docker-login.sh ends [Pipeline] } 06:11:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:23 ========================================================= 06:11:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:11:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:24 + 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 . 06:11:24 Sending build context to Docker daemon 3.326MB 06:11:24 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:11:24 Step 2/10 : FROM ${BASE} AS builder 06:11:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:11:24 9b18e9b68314: Pulling fs layer 06:11:24 35d82f9e3411: Pulling fs layer 06:11:24 e16973657156: Pulling fs layer 06:11:24 fc693d55d65f: Pulling fs layer 06:11:24 7e9fc2657dce: Pulling fs layer 06:11:24 dda99020689f: Pulling fs layer 06:11:24 db1c61fa0a46: Pulling fs layer 06:11:24 891c053d2c06: Pulling fs layer 06:11:24 fc693d55d65f: Waiting 06:11:24 dda99020689f: Waiting 06:11:24 db1c61fa0a46: Waiting 06:11:24 7e9fc2657dce: Waiting 06:11:24 e16973657156: Download complete 06:11:24 35d82f9e3411: Verifying Checksum 06:11:24 35d82f9e3411: Download complete 06:11:24 7e9fc2657dce: Verifying Checksum 06:11:24 7e9fc2657dce: Download complete 06:11:24 dda99020689f: Download complete 06:11:24 9b18e9b68314: Download complete 06:11:25 9b18e9b68314: Pull complete 06:11:25 891c053d2c06: Verifying Checksum 06:11:25 891c053d2c06: Download complete 06:11:26 35d82f9e3411: Pull complete 06:11:26 e16973657156: Pull complete 06:11:27 db1c61fa0a46: Download complete 06:11:27 fc693d55d65f: Verifying Checksum 06:11:27 fc693d55d65f: Download complete 06:11:40 fc693d55d65f: Pull complete 06:11:40 7e9fc2657dce: Pull complete 06:11:40 dda99020689f: Pull complete 06:11:46 db1c61fa0a46: Pull complete 06:11:48 891c053d2c06: Pull complete 06:11:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:11:48 ---> f96f9c87975a 06:11:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:11:50 ---> Running in 4f4640e20e6a 06:11:50 Removing intermediate container 4f4640e20e6a 06:11:50 ---> 551b6e3931d8 06:11:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:50 ---> Running in 54bee1e1baa2 06:11:50 Removing intermediate container 54bee1e1baa2 06:11:50 ---> 4cb0f786eb54 06:11:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:11:50 ---> Running in 462f9be74ea8 06:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:11:53 (1/8) Installing openssh-keygen (9.0_p1-r2) 06:11:53 (2/8) Installing libedit (20210910.3.1-r0) 06:11:53 (3/8) Installing openssh-client-common (9.0_p1-r2) 06:11:53 (4/8) Installing openssh-client-default (9.0_p1-r2) 06:11:53 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 06:11:53 (6/8) Installing openssh-server-common (9.0_p1-r2) 06:11:53 (7/8) Installing openssh-server (9.0_p1-r2) 06:11:53 (8/8) Installing openssh (9.0_p1-r2) 06:11:53 Executing busybox-1.35.0-r17.trigger 06:11:53 OK: 228 MiB in 59 packages 06:11:54 Removing intermediate container 462f9be74ea8 06:11:54 ---> 03c93fc54d7d 06:11:54 Step 6/10 : WORKDIR /device-modbus-go 06:11:54 ---> Running in b77ed3de48ec 06:11:54 Removing intermediate container b77ed3de48ec 06:11:54 ---> fba37242556f 06:11:54 Step 7/10 : COPY go.mod vendor* ./ 06:11:55 ---> 2505e3deb209 06:11:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:55 ---> Running in 5b7f0e6f1136 06:11:55 Removing intermediate container 5f5b0ef087e8 06:11:55 ---> 60c01301de54 06:11:55 Step 9/10 : COPY . . 06:11:55 ---> 8b52a8f8c648 06:11:55 Step 10/10 : RUN ${MAKE} 06:11:55 ---> Running in 4f9d80216942 06:11:55 noop 06:11:55 Removing intermediate container 4f9d80216942 06:11:55 ---> 90141a922fb0 06:11:55 Successfully built 90141a922fb0 06:11:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:55 + docker inspect -f . ci-base-image-x86_64 06:11:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:55 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:11:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:56 $ docker top 67adaefacd445901a8b0437fc3f1f223f50166ae826cc432e387d68df73cc38c -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:56 + go version 06:11:56 go version go1.18.7 linux/amd64 [Pipeline] } 06:11:56 $ docker stop --time=1 67adaefacd445901a8b0437fc3f1f223f50166ae826cc432e387d68df73cc38c 06:11:57 $ docker rm -f --volumes 67adaefacd445901a8b0437fc3f1f223f50166ae826cc432e387d68df73cc38c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:58 + docker inspect -f . ci-base-image-x86_64 06:11:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:58 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:58 $ docker top 70599a060266fd0d8cbe7fdc51cb457aecc77339f420a52683727f5f04558cd6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:11:59 + make test 06:11:59 go test ./... -coverprofile=coverage.out 06:11:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:12:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:12:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.024s coverage: 47.7% of statements 06:12:17 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." 06:12:17 go vet ./... 06:12:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:20 ./bin/test-attribution-txt.sh [Pipeline] echo 06:12:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:20 $ docker stop --time=1 70599a060266fd0d8cbe7fdc51cb457aecc77339f420a52683727f5f04558cd6 06:12:23 $ docker rm -f --volumes 70599a060266fd0d8cbe7fdc51cb457aecc77339f420a52683727f5f04558cd6 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:12:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:25 + ls -al . 06:12:25 total 184 06:12:25 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 06:11 . 06:12:25 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 .. 06:12:25 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 06:10 .dockerignore 06:12:25 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:12 .git 06:12:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 .github 06:12:25 -rw-rw-r-- 1 jenkins jenkins 331 Feb 20 06:10 .gitignore 06:12:25 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 06:10 .golangci.yml 06:12:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:10 .semver 06:12:25 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 20 06:10 Attribution.txt 06:12:25 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 20 06:10 CHANGELOG.md 06:12:25 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 20 06:10 Dockerfile 06:12:25 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 06:10 GOVERNANCE.md 06:12:25 -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 06:10 Jenkinsfile 06:12:25 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 06:10 LICENSE 06:12:25 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 20 06:10 Makefile 06:12:25 -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 06:10 OWNERS.md 06:12:25 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 20 06:10 README.md 06:12:25 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 06:10 VERSION 06:12:25 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 bin 06:12:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 cmd 06:12:25 -rw-r--r-- 1 jenkins jenkins 23241 Feb 20 06:12 coverage.out 06:12:25 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 20 06:10 go.mod 06:12:25 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 20 06:10 go.sum 06:12:25 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 internal 06:12:25 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 simulator 06:12:25 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 snap 06:12:25 -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:25 + 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=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb --label arch=amd64 --label version=3.0.0-dev.13 . 06:12:25 Sending build context to Docker daemon 6.407MB 06:12:25 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:12:25 Step 2/22 : FROM ${BASE} AS builder 06:12:25 ---> 90141a922fb0 06:12:25 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:12:26 ---> Running in 06bd50e43c0e 06:12:26 Removing intermediate container 06bd50e43c0e 06:12:26 ---> f0630e8185f4 06:12:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:26 ---> Running in a8c1c0b3ee32 06:12:26 Removing intermediate container a8c1c0b3ee32 06:12:26 ---> bab037d38666 06:12:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:12:27 ---> Running in 3378ac327aa0 06:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:12:28 OK: 217 MiB in 59 packages 06:12:30 Removing intermediate container 3378ac327aa0 06:12:30 ---> 86018410299e 06:12:30 Step 6/22 : WORKDIR /device-modbus-go 06:12:30 ---> Running in 79ac3fba9992 06:12:30 Removing intermediate container 79ac3fba9992 06:12:30 ---> ce2b2140bc06 06:12:30 Step 7/22 : COPY go.mod vendor* ./ 06:12:30 ---> e11e62fc26a1 06:12:30 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:31 ---> Running in 9442aaff54e2 06:12:33 Removing intermediate container 9442aaff54e2 06:12:33 ---> 937e05f89dd1 06:12:33 Step 9/22 : COPY . . 06:12:34 ---> 9e18f86503ca 06:12:34 Step 10/22 : RUN ${MAKE} 06:12:34 ---> Running in 643a24831aea 06:12:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:13:02 Removing intermediate container 643a24831aea 06:13:02 ---> 20dd15c33f2d 06:13:02 Step 11/22 : FROM alpine:3.14 06:13:02 3.14: Pulling from library/alpine 06:13:02 d261077062b2: Pulling fs layer 06:13:02 d261077062b2: Verifying Checksum 06:13:02 d261077062b2: Download complete 06:13:02 d261077062b2: Pull complete 06:13:02 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 06:13:02 Status: Downloaded newer image for alpine:3.14 06:13:02 ---> 6dff1269bc79 06:13:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:13:02 ---> Running in 49e91611847b 06:13:02 Removing intermediate container 49e91611847b 06:13:02 ---> ad2fac74555d 06:13:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:13:03 ---> Running in 40f8b1021712 06:13:03 Removing intermediate container 5b7f0e6f1136 06:13:03 ---> 0480b3395475 06:13:03 Step 9/10 : COPY . . 06:13:03 ---> a41882bac970 06:13:03 Step 10/10 : RUN ${MAKE} 06:13:03 ---> Running in f5f7442a1021 06:13:03 noop 06:13:03 Removing intermediate container f5f7442a1021 06:13:03 ---> 7d7ef37b6df9 06:13:03 Successfully built 7d7ef37b6df9 06:13:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:03 + docker inspect -f . ci-base-image-arm64 06:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:13:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:13:03 prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container 06:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/79 -v /w/workspace/device-modbus-go/79:/w/workspace/device-modbus-go/79:rw,z -v /w/workspace/device-modbus-go/79@tmp:/w/workspace/device-modbus-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:13:04 (1/1) Installing dumb-init (1.2.5-r1) 06:13:04 Executing busybox-1.33.1-r8.trigger 06:13:04 OK: 6 MiB in 15 packages 06:13:05 $ docker top 2d35918c9df3bcad032d639a7738eabbf2eedf73dd9ccdbc7500b8012ed1be25 -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:05 Removing intermediate container 40f8b1021712 06:13:05 ---> d529d5d936ca 06:13:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:13:06 + go version 06:13:06 go version go1.18.7 linux/arm64 [Pipeline] } 06:13:06 $ docker stop --time=1 2d35918c9df3bcad032d639a7738eabbf2eedf73dd9ccdbc7500b8012ed1be25 06:13:07 ---> 3db80b133684 06:13:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:13:07 $ docker rm -f --volumes 2d35918c9df3bcad032d639a7738eabbf2eedf73dd9ccdbc7500b8012ed1be25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:08 ---> a86b9f14c511 06:13:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:13:08 + docker inspect -f . ci-base-image-arm64 06:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container 06:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/79 -v /w/workspace/device-modbus-go/79:/w/workspace/device-modbus-go/79:rw,z -v /w/workspace/device-modbus-go/79@tmp:/w/workspace/device-modbus-go/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:13:08 ---> a913b2575540 06:13:08 Step 17/22 : EXPOSE 59901 06:13:09 ---> Running in 770326cd6c44 06:13:09 $ docker top 8838dc7497cbacd7c3c10e8469009308390cffe2289b299f8e7fe36207ba62f1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:13:09 Removing intermediate container 770326cd6c44 06:13:09 ---> 58a103bf349a 06:13:09 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:13:10 + git config --global --add safe.directory /w/workspace/device-modbus-go/79 [Pipeline] fileExists [Pipeline] sh 06:13:10 + make test 06:13:10 go test ./... -coverprofile=coverage.out 06:13:10 ---> Running in 7857b319df20 06:13:11 Removing intermediate container 7857b319df20 06:13:11 ---> 454ef399b4fb 06:13:11 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:13:11 ---> Running in 47ec414a5488 06:13:12 Removing intermediate container 47ec414a5488 06:13:12 ---> 0aed43866f91 06:13:12 Step 20/22 : LABEL arch=amd64 06:13:12 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:13:12 ---> Running in d03ed33d1099 06:13:13 Removing intermediate container d03ed33d1099 06:13:13 ---> eb955d4e2cdb 06:13:13 Step 21/22 : LABEL git_sha=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:13:13 ---> Running in 7957a3ab028e 06:13:13 Removing intermediate container 7957a3ab028e 06:13:13 ---> 60a8ed9dcdc8 06:13:13 Step 22/22 : LABEL version=3.0.0-dev.13 06:13:14 ---> Running in c6fe7104706a 06:13:15 Removing intermediate container c6fe7104706a 06:13:15 ---> 3e65c0cc4d95 06:13:15 [Warning] One or more build-args [ARCH] were not consumed 06:13:15 Successfully built 3e65c0cc4d95 06:13:15 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:15 provisioning config files... 06:13:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12950644204002184998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:15 ---> docker-login.sh 06:13:15 nexus3.edgexfoundry.org:10001 06:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 nexus3.edgexfoundry.org:10002 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 nexus3.edgexfoundry.org:10003 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 nexus3.edgexfoundry.org:10004 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 docker.io 06:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:17 Configure a credential helper to remove this warning. See 06:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:17 06:13:17 Login Succeeded 06:13:17 ---> docker-login.sh ends [Pipeline] } 06:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:17 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:13:17 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:13:17 latest 06:13:17 3.0.0-dev.13 06:13:17 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 06:13:17 main 06:13:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:13:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:13:18 3f76f8d2d5e1: Preparing 06:13:18 9cf82bfd61a9: Preparing 06:13:18 cda3e2a4fafd: Preparing 06:13:18 315b9b9dc776: Preparing 06:13:18 625523cb9cce: Preparing 06:13:18 625523cb9cce: Layer already exists 06:13:18 3f76f8d2d5e1: Pushed 06:13:18 315b9b9dc776: Pushed 06:13:18 9cf82bfd61a9: Pushed 06:13:20 cda3e2a4fafd: Pushed 06:13:21 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:21 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:13:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:13:21 3f76f8d2d5e1: Preparing 06:13:21 9cf82bfd61a9: Preparing 06:13:21 cda3e2a4fafd: Preparing 06:13:21 315b9b9dc776: Preparing 06:13:21 625523cb9cce: Preparing 06:13:21 315b9b9dc776: Layer already exists 06:13:21 3f76f8d2d5e1: Layer already exists 06:13:21 cda3e2a4fafd: Layer already exists 06:13:21 625523cb9cce: Layer already exists 06:13:21 9cf82bfd61a9: Layer already exists 06:13:21 latest: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.13 06:13:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:13:22 3f76f8d2d5e1: Preparing 06:13:22 9cf82bfd61a9: Preparing 06:13:22 cda3e2a4fafd: Preparing 06:13:22 315b9b9dc776: Preparing 06:13:22 625523cb9cce: Preparing 06:13:22 625523cb9cce: Layer already exists 06:13:22 315b9b9dc776: Layer already exists 06:13:22 9cf82bfd61a9: Layer already exists 06:13:22 3f76f8d2d5e1: Layer already exists 06:13:22 cda3e2a4fafd: Layer already exists 06:13:22 3.0.0-dev.13: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 06:13:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:13:22 3f76f8d2d5e1: Preparing 06:13:22 9cf82bfd61a9: Preparing 06:13:22 cda3e2a4fafd: Preparing 06:13:22 315b9b9dc776: Preparing 06:13:22 625523cb9cce: Preparing 06:13:22 625523cb9cce: Layer already exists 06:13:22 9cf82bfd61a9: Layer already exists 06:13:22 3f76f8d2d5e1: Layer already exists 06:13:22 315b9b9dc776: Layer already exists 06:13:22 cda3e2a4fafd: Layer already exists 06:13:22 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:23 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:13:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:13:23 3f76f8d2d5e1: Preparing 06:13:23 9cf82bfd61a9: Preparing 06:13:23 cda3e2a4fafd: Preparing 06:13:23 315b9b9dc776: Preparing 06:13:23 625523cb9cce: Preparing 06:13:23 3f76f8d2d5e1: Layer already exists 06:13:23 9cf82bfd61a9: Layer already exists 06:13:23 cda3e2a4fafd: Layer already exists 06:13:23 315b9b9dc776: Layer already exists 06:13:23 625523cb9cce: Layer already exists 06:13:23 main: digest: sha256:1f12bf5685ae36ddda300747e9301ae6fb2f6a6399842be1540a8c0282774d0d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:13:23 ===================================================== [Pipeline] echo 06:13:23 taggedImages: 06:13:23 - nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:13:23 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:13:23 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.13 06:13:23 - nexus3.edgexfoundry.org:10004/device-modbus:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 06:13:23 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:24 06:13:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:24 latest: Pulling from edgex-lftools-log-publisher 06:13:24 5eb5b503b376: Pulling fs layer 06:13:24 5c69ac0246d0: Pulling fs layer 06:13:24 ec43610c2a17: Pulling fs layer 06:13:24 3a2ae6a8a46f: Pulling fs layer 06:13:24 33b1e0a273af: Pulling fs layer 06:13:24 5d3b04190fa2: Pulling fs layer 06:13:24 2f39f015ded8: Pulling fs layer 06:13:24 33b1e0a273af: Waiting 06:13:24 5d3b04190fa2: Waiting 06:13:24 2f39f015ded8: Waiting 06:13:24 3a2ae6a8a46f: Waiting 06:13:24 5c69ac0246d0: Download complete 06:13:24 3a2ae6a8a46f: Download complete 06:13:24 33b1e0a273af: Verifying Checksum 06:13:24 33b1e0a273af: Download complete 06:13:24 5d3b04190fa2: Verifying Checksum 06:13:24 5d3b04190fa2: Download complete 06:13:24 ec43610c2a17: Verifying Checksum 06:13:24 ec43610c2a17: Download complete 06:13:24 5eb5b503b376: Verifying Checksum 06:13:24 5eb5b503b376: Download complete 06:13:25 2f39f015ded8: Download complete 06:13:26 5eb5b503b376: Pull complete 06:13:26 5c69ac0246d0: Pull complete 06:13:27 ec43610c2a17: Pull complete 06:13:28 3a2ae6a8a46f: Pull complete 06:13:29 33b1e0a273af: Pull complete 06:13:29 5d3b04190fa2: Pull complete 06:13:34 2f39f015ded8: Pull complete 06:13:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:35 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:13:43 $ docker top 50c6a0b11fe4c1529d8b59ae8eaa18f63899ae75223b20e3422662a872aeee30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:44 ---> job-cost.sh 06:13:44 lf-activate-venv: SKIPPING 06:13:44 INFO: No Stack... 06:13:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:13:44 INFO: Archiving Costs [Pipeline] sh 06:13:45 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:13:45 + cut -d, -f6 [Pipeline] lock 06:13:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] 06:13:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] did not exist. Created. 06:13:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:45 + echo total: 0.2199999988079071 [Pipeline] stash 06:13:45 Stashed 1 file(s) [Pipeline] } 06:13:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:45 $ docker stop --time=1 50c6a0b11fe4c1529d8b59ae8eaa18f63899ae75223b20e3422662a872aeee30 06:13:47 $ docker rm -f --volumes 50c6a0b11fe4c1529d8b59ae8eaa18f63899ae75223b20e3422662a872aeee30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:14:34 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:14:34 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 47.7% of statements 06:14:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:14:34 go vet ./... 06:14:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:14:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:14:52 ./bin/test-attribution-txt.sh [Pipeline] echo 06:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:14:52 $ docker stop --time=1 8838dc7497cbacd7c3c10e8469009308390cffe2289b299f8e7fe36207ba62f1 06:14:54 $ docker rm -f --volumes 8838dc7497cbacd7c3c10e8469009308390cffe2289b299f8e7fe36207ba62f1 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:14:54 Warning: overwriting stash ‘coverage-report’ 06:14:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:14:56 + ls -al . 06:14:56 total 180 06:14:56 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 06:13 . 06:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 .. 06:14:56 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 06:10 .dockerignore 06:14:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 06:10 .git 06:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 .github 06:14:56 -rw-rw-r-- 1 jenkins jenkins 331 Feb 20 06:10 .gitignore 06:14:56 -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 06:10 .golangci.yml 06:14:56 -rw-rw-r-- 1 jenkins jenkins 10236 Feb 20 06:10 Attribution.txt 06:14:56 -rw-rw-r-- 1 jenkins jenkins 11576 Feb 20 06:10 CHANGELOG.md 06:14:56 -rw-rw-r-- 1 jenkins jenkins 1365 Feb 20 06:10 Dockerfile 06:14:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 06:10 GOVERNANCE.md 06:14:56 -rw-rw-r-- 1 jenkins jenkins 680 Feb 20 06:10 Jenkinsfile 06:14:56 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 06:10 LICENSE 06:14:56 -rw-rw-r-- 1 jenkins jenkins 1670 Feb 20 06:10 Makefile 06:14:56 -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 06:10 OWNERS.md 06:14:56 -rw-rw-r-- 1 jenkins jenkins 4061 Feb 20 06:10 README.md 06:14:56 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 06:10 VERSION 06:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 bin 06:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 cmd 06:14:56 -rw-r--r-- 1 jenkins jenkins 23241 Feb 20 06:14 coverage.out 06:14:56 -rw-rw-r-- 1 jenkins jenkins 3496 Feb 20 06:10 go.mod 06:14:56 -rw-rw-r-- 1 jenkins jenkins 33621 Feb 20 06:10 go.sum 06:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 06:10 internal 06:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 06:10 simulator 06:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 06:10 snap 06:14:56 -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:56 + 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=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb --label arch=arm64 --label version=3.0.0-dev.13 . 06:14:56 Sending build context to Docker daemon 3.35MB 06:14:56 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 06:14:56 Step 2/22 : FROM ${BASE} AS builder 06:14:56 ---> 7d7ef37b6df9 06:14:56 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:14:56 ---> Running in 4ead37d79c55 06:14:57 Removing intermediate container 4ead37d79c55 06:14:57 ---> d62ecb3af17b 06:14:57 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:57 ---> Running in 99329a019601 06:14:57 Removing intermediate container 99329a019601 06:14:57 ---> a7b44fdba218 06:14:57 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:14:57 ---> Running in 83212cf022b5 06:14:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:14:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:14:59 OK: 228 MiB in 59 packages 06:15:00 Removing intermediate container 83212cf022b5 06:15:00 ---> e59cdf8346ad 06:15:00 Step 6/22 : WORKDIR /device-modbus-go 06:15:00 ---> Running in a5014e37281c 06:15:00 Removing intermediate container a5014e37281c 06:15:00 ---> ac6e93feac53 06:15:00 Step 7/22 : COPY go.mod vendor* ./ 06:15:01 ---> b8c4c1ad22ac 06:15:01 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:01 ---> Running in 2b09b3758bd2 06:15:04 Removing intermediate container 2b09b3758bd2 06:15:04 ---> 92b4bc6d44e1 06:15:04 Step 9/22 : COPY . . 06:15:04 ---> 629b6fce57fa 06:15:04 Step 10/22 : RUN ${MAKE} 06:15:04 ---> Running in 1f62c7e25f10 06:15:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:16:57 Removing intermediate container 1f62c7e25f10 06:16:57 ---> e736c7aab412 06:16:57 Step 11/22 : FROM alpine:3.14 06:16:57 3.14: Pulling from library/alpine 06:16:57 6f0e733d82e2: Pulling fs layer 06:16:57 6f0e733d82e2: Verifying Checksum 06:16:57 6f0e733d82e2: Download complete 06:16:58 6f0e733d82e2: Pull complete 06:16:58 Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 06:16:58 Status: Downloaded newer image for alpine:3.14 06:16:58 ---> bf97f6347a60 06:16:58 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:16:58 ---> Running in aba93fd09ef4 06:16:58 Removing intermediate container aba93fd09ef4 06:16:58 ---> 935dc52c5cb2 06:16:58 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:16:58 ---> Running in 316d22c93a3c 06:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:17:00 (1/1) Installing dumb-init (1.2.5-r1) 06:17:00 Executing busybox-1.33.1-r8.trigger 06:17:00 OK: 6 MiB in 15 packages 06:17:01 Removing intermediate container 316d22c93a3c 06:17:01 ---> e1c0281387e9 06:17:01 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:17:04 ---> 16576e1aa575 06:17:04 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:17:04 ---> d9179d68bc7f 06:17:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:17:05 ---> 3970a14d1fb3 06:17:05 Step 17/22 : EXPOSE 59901 06:17:05 ---> Running in e73e4b13c80a 06:17:05 Removing intermediate container e73e4b13c80a 06:17:05 ---> 653fd1620919 06:17:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:17:05 ---> Running in 99ce4cc58d96 06:17:06 Removing intermediate container 99ce4cc58d96 06:17:06 ---> dbcb5df3454e 06:17:06 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:17:06 ---> Running in d356c4da015f 06:17:06 Removing intermediate container d356c4da015f 06:17:06 ---> 2b1bac3013c7 06:17:06 Step 20/22 : LABEL arch=arm64 06:17:06 ---> Running in 1703063f8eb1 06:17:06 Removing intermediate container 1703063f8eb1 06:17:06 ---> bbc6de874cd1 06:17:06 Step 21/22 : LABEL git_sha=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:17:06 ---> Running in 7d916a56fea9 06:17:07 Removing intermediate container 7d916a56fea9 06:17:07 ---> 7ff388d86b23 06:17:07 Step 22/22 : LABEL version=3.0.0-dev.13 06:17:07 ---> Running in 98919afc6d93 06:17:07 Removing intermediate container 98919afc6d93 06:17:07 ---> 7290cb14b005 06:17:07 [Warning] One or more build-args [ARCH] were not consumed 06:17:07 Successfully built 7290cb14b005 06:17:07 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:07 provisioning config files... 06:17:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/79@tmp/config1226108245563042093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:07 ---> docker-login.sh 06:17:07 nexus3.edgexfoundry.org:10001 06:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:08 Configure a credential helper to remove this warning. See 06:17:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:08 06:17:08 Login Succeeded 06:17:08 nexus3.edgexfoundry.org:10002 06:17:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:08 Configure a credential helper to remove this warning. See 06:17:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:08 06:17:08 Login Succeeded 06:17:08 nexus3.edgexfoundry.org:10003 06:17:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:08 Configure a credential helper to remove this warning. See 06:17:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:08 06:17:08 Login Succeeded 06:17:08 nexus3.edgexfoundry.org:10004 06:17:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:09 Configure a credential helper to remove this warning. See 06:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:09 06:17:09 Login Succeeded 06:17:09 docker.io 06:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:09 Configure a credential helper to remove this warning. See 06:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:09 06:17:09 Login Succeeded 06:17:09 ---> docker-login.sh ends [Pipeline] } 06:17:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:17:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:09 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:17:09 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:17:09 latest 06:17:09 3.0.0-dev.13 06:17:09 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 06:17:09 main 06:17:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:17:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:17:10 d64b449455e2: Preparing 06:17:10 43b7d0d9766e: Preparing 06:17:10 d442b7c5a58b: Preparing 06:17:10 bd82e16896ae: Preparing 06:17:10 c39af2d4cb8d: Preparing 06:17:10 c39af2d4cb8d: Layer already exists 06:17:10 d64b449455e2: Pushed 06:17:10 43b7d0d9766e: Pushed 06:17:10 bd82e16896ae: Pushed 06:17:16 d442b7c5a58b: Pushed 06:17:16 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:17:16 d64b449455e2: Preparing 06:17:16 43b7d0d9766e: Preparing 06:17:16 d442b7c5a58b: Preparing 06:17:16 bd82e16896ae: Preparing 06:17:16 c39af2d4cb8d: Preparing 06:17:16 d442b7c5a58b: Layer already exists 06:17:16 c39af2d4cb8d: Layer already exists 06:17:16 43b7d0d9766e: Layer already exists 06:17:16 bd82e16896ae: Layer already exists 06:17:16 d64b449455e2: Layer already exists 06:17:16 latest: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.13 06:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:17:17 d64b449455e2: Preparing 06:17:17 43b7d0d9766e: Preparing 06:17:17 d442b7c5a58b: Preparing 06:17:17 bd82e16896ae: Preparing 06:17:17 c39af2d4cb8d: Preparing 06:17:17 c39af2d4cb8d: Layer already exists 06:17:17 43b7d0d9766e: Layer already exists 06:17:17 d442b7c5a58b: Layer already exists 06:17:17 d64b449455e2: Layer already exists 06:17:17 bd82e16896ae: Layer already exists 06:17:17 3.0.0-dev.13: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:17 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 06:17:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:17:18 d64b449455e2: Preparing 06:17:18 43b7d0d9766e: Preparing 06:17:18 d442b7c5a58b: Preparing 06:17:18 bd82e16896ae: Preparing 06:17:18 c39af2d4cb8d: Preparing 06:17:18 bd82e16896ae: Layer already exists 06:17:18 d64b449455e2: Layer already exists 06:17:18 c39af2d4cb8d: Layer already exists 06:17:18 d442b7c5a58b: Layer already exists 06:17:18 43b7d0d9766e: Layer already exists 06:17:18 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:18 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:17:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:17:19 d64b449455e2: Preparing 06:17:19 43b7d0d9766e: Preparing 06:17:19 d442b7c5a58b: Preparing 06:17:19 bd82e16896ae: Preparing 06:17:19 c39af2d4cb8d: Preparing 06:17:19 d64b449455e2: Layer already exists 06:17:19 bd82e16896ae: Layer already exists 06:17:19 c39af2d4cb8d: Layer already exists 06:17:19 d442b7c5a58b: Layer already exists 06:17:19 43b7d0d9766e: Layer already exists 06:17:19 main: digest: sha256:b4c7cb6fb75168e2643c1a5ad97abfa61f95673ec85211e8321c9d10d6c265e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:17:19 ===================================================== [Pipeline] echo 06:17:19 taggedImages: 06:17:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb 06:17:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:17:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.13 06:17:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e3fb6b6c893123b5784ccc2dd10ff9f0848293eb-3.0.0-dev.13 06:17:19 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:19 06:17:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:20 arm64: Pulling from edgex-lftools-log-publisher 06:17:20 8998bd30e6a1: Pulling fs layer 06:17:20 04944245beec: Pulling fs layer 06:17:20 699f458cf7ca: Pulling fs layer 06:17:20 765212b225bb: Pulling fs layer 06:17:20 f23df028b6ca: Pulling fs layer 06:17:20 d65c8cfc05b1: Pulling fs layer 06:17:20 2437ff75d9bd: Pulling fs layer 06:17:20 d65c8cfc05b1: Waiting 06:17:20 f23df028b6ca: Waiting 06:17:20 765212b225bb: Waiting 06:17:20 2437ff75d9bd: Waiting 06:17:20 04944245beec: Verifying Checksum 06:17:20 04944245beec: Download complete 06:17:20 765212b225bb: Verifying Checksum 06:17:20 765212b225bb: Download complete 06:17:20 f23df028b6ca: Verifying Checksum 06:17:20 f23df028b6ca: Download complete 06:17:20 d65c8cfc05b1: Verifying Checksum 06:17:20 d65c8cfc05b1: Download complete 06:17:20 699f458cf7ca: Verifying Checksum 06:17:20 699f458cf7ca: Download complete 06:17:21 8998bd30e6a1: Verifying Checksum 06:17:21 8998bd30e6a1: Download complete 06:17:23 2437ff75d9bd: Verifying Checksum 06:17:23 2437ff75d9bd: Download complete 06:17:25 8998bd30e6a1: Pull complete 06:17:25 04944245beec: Pull complete 06:17:27 699f458cf7ca: Pull complete 06:17:27 765212b225bb: Pull complete 06:17:29 f23df028b6ca: Pull complete 06:17:29 d65c8cfc05b1: Pull complete 06:17:44 2437ff75d9bd: Pull complete 06:17:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:17:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:44 prd-ubuntu20.04-docker-arm64-4c-16g-6713 does not seem to be running inside a container 06:17:44 $ 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/79 -v /w/workspace/device-modbus-go/79:/w/workspace/device-modbus-go/79:rw,z -v /w/workspace/device-modbus-go/79@tmp:/w/workspace/device-modbus-go/79@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:arm64 cat 06:17:47 $ docker top c02e8577da4869f74cd5f980830417c7585c5661b1296e3443d6ab514862a27e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:48 ---> job-cost.sh 06:17:48 lf-activate-venv: SKIPPING 06:17:48 INFO: No Stack... 06:17:48 INFO: Retrieving Pricing Info for: v3-standard-4 06:17:49 INFO: Archiving Costs [Pipeline] sh 06:17:49 + cat /w/workspace/device-modbus-go/79/archives/cost.csv 06:17:49 + cut -d, -f6 [Pipeline] lock 06:17:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] 06:17:49 Resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] did not exist. Created. 06:17:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:50 /w/workspace/device-modbus-go/79@tmp/durable-f2f90433/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:17:50 + echo total: 0.10999999940395355 [Pipeline] stash 06:17:51 Warning: overwriting stash ‘stack-cost’ 06:17:51 Stashed 1 file(s) [Pipeline] } 06:17:51 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:51 $ docker stop --time=1 c02e8577da4869f74cd5f980830417c7585c5661b1296e3443d6ab514862a27e 06:17:52 $ docker rm -f --volumes c02e8577da4869f74cd5f980830417c7585c5661b1296e3443d6ab514862a27e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:17:52 provisioning config files... 06:17:52 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16628904420847217050tmp [Pipeline] { [Pipeline] sh 06:17:53 + set +x 06:17:53 + curl -s https://codecov.io/bash 06:17:53 + bash -s -- 06:17:53 06:17:53 _____ _ 06:17:53 / ____| | | 06:17:53 | | ___ __| | ___ ___ _____ __ 06:17:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:17:53 | |___| (_) | (_| | __/ (_| (_) \ V / 06:17:53 \_____\___/ \__,_|\___|\___\___/ \_/ 06:17:53 Bash-1.0.6 06:17:53 06:17:53 06:17:53 ==> git version 2.25.1 found 06:17:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:17:53 Release-Date: 2020-01-08 06:17:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:17:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:17:53 ==> Jenkins CI detected. 06:17:53 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:17:53 project root: . 06:17:53 --> token set from env 06:17:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:17:53 ==> Running gcov in . (disable via -X gcov) 06:17:53 ==> Python coveragepy not found 06:17:53 ==> Searching for coverage reports in: 06:17:53 + . 06:17:53 -> Found 1 reports 06:17:53 ==> Detecting git/mercurial file structure 06:17:53 ==> Reading reports 06:17:53 + ./coverage.out bytes=23241 06:17:53 ==> Appending adjustments 06:17:53 https://docs.codecov.io/docs/fixing-reports 06:17:53 + Found adjustments 06:17:53 ==> Gzipping contents 06:17:53 4.0K /tmp/codecov.cTac3t.gz 06:17:53 ==> Uploading reports 06:17:53 url: https://codecov.io 06:17:53 query: branch=main&commit=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:17:53 -> Pinging Codecov 06:17:53 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=e3fb6b6c893123b5784ccc2dd10ff9f0848293eb&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:17:53 -> Uploading to 06:17:53 https://storage.googleapis.com/codecov/v4/raw/2023-02-20/55DBCA73C666E3227836607328DD7E49/e3fb6b6c893123b5784ccc2dd10ff9f0848293eb/8de6822d-2feb-4a9d-9c02-aa45ba90e278.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T061753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea2f62622d058b8348a4060df40bded0313b64401e1a0aac7ea2a56fd4b72d5d 06:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:53 Dload Upload Total Spent Left Speed 06:17:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3899 0 0 100 3899 0 15054 --:--:-- --:--:-- --:--:-- 15054 06:17:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] } 06:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:17:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:17:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:17:54 06:17:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:17:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:17:55 df9b9388f04a: Pulling fs layer 06:17:55 52dc419b0ee2: Pulling fs layer 06:17:55 25bc292e5bac: Pulling fs layer 06:17:55 114826534d7a: Pulling fs layer 06:17:55 4657fd5d0bcf: Pulling fs layer 06:17:55 6ad1cebc031e: Pulling fs layer 06:17:55 8a3aa393b2d8: Pulling fs layer 06:17:55 4657fd5d0bcf: Waiting 06:17:55 6ad1cebc031e: Waiting 06:17:55 8a3aa393b2d8: Waiting 06:17:55 114826534d7a: Waiting 06:17:55 25bc292e5bac: Download complete 06:17:55 52dc419b0ee2: Verifying Checksum 06:17:55 52dc419b0ee2: Download complete 06:17:55 4657fd5d0bcf: Verifying Checksum 06:17:55 4657fd5d0bcf: Download complete 06:17:55 df9b9388f04a: Verifying Checksum 06:17:55 df9b9388f04a: Download complete 06:17:55 df9b9388f04a: Pull complete 06:17:55 6ad1cebc031e: Verifying Checksum 06:17:55 6ad1cebc031e: Download complete 06:17:56 52dc419b0ee2: Pull complete 06:17:56 114826534d7a: Verifying Checksum 06:17:56 114826534d7a: Download complete 06:17:56 8a3aa393b2d8: Verifying Checksum 06:17:56 8a3aa393b2d8: Download complete 06:17:56 25bc292e5bac: Pull complete 06:18:00 114826534d7a: Pull complete 06:18:00 4657fd5d0bcf: Pull complete 06:18:00 6ad1cebc031e: Pull complete 06:18:05 8a3aa393b2d8: Pull complete 06:18:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:18:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:05 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:18:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:18:07 $ docker top 019ab9b3ba1b4bfdb2e0cfb29796e9a7fafe652dadfdd5ccd2d73d310dc2fd3e -eo pid,comm [Pipeline] { [Pipeline] echo 06:18:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:18:08 + set -o pipefail 06:18:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:18:12 06:18:12 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:18:12 06:18:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d0ce2b20-cc38-4ca3-abdb-85399d2e8fa2 06:18:12 06:18:12 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:18:12 06:18:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:18:12 06:18:12 06:18:12 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:18:12 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:18:12 More details here: https://snyk.co/ue1NS [Pipeline] } 06:18:12 $ docker stop --time=1 019ab9b3ba1b4bfdb2e0cfb29796e9a7fafe652dadfdd5ccd2d73d310dc2fd3e 06:18:15 $ docker rm -f --volumes 019ab9b3ba1b4bfdb2e0cfb29796e9a7fafe652dadfdd5ccd2d73d310dc2fd3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:15 + git log --format=format:%s -1 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb [Pipeline] sh 06:18:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:18:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:16 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:18:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:18:17 $ docker top 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e -eo pid,comm 06:18:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:18:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:17 [ssh-agent] Looking for ssh-agent implementation... 06:18:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:17 $ docker exec 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e ssh-agent 06:18:17 SSH_AUTH_SOCK=/tmp/ssh-mPQNN2WSsqC2/agent.32 06:18:17 SSH_AGENT_PID=38 06:18:17 Running ssh-add (command line suppressed) 06:18:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5494141751689996830.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5494141751689996830.key) 06:18:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:17 + git semver tag 06:18:18 2023-02-20 06:18:18,082 [run_tag] DEBUG tag force:False 06:18:18 2023-02-20 06:18:18,082 [check_head_tag] DEBUG check head tag 06:18:18 2023-02-20 06:18:18,083 [execute] INFO git cat-file --batch-check 06:18:18 2023-02-20 06:18:18,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:18:18 2023-02-20 06:18:18,088 [execute] INFO git cat-file --batch 06:18:18 2023-02-20 06:18:18,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:18:18 2023-02-20 06:18:18,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:18 2023-02-20 06:18:18,109 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 06:18:18 2023-02-20 06:18:18,109 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:18:18 2023-02-20 06:18:18,115 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:18 3.0.0-dev.13 [Pipeline] } 06:18:18 $ docker exec --env ******** --env ******** 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e ssh-agent -k 06:18:18 unset SSH_AUTH_SOCK; 06:18:18 unset SSH_AGENT_PID; 06:18:18 echo Agent pid 38 killed; 06:18:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:18 + git semver [Pipeline] } 06:18:18 $ docker stop --time=1 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e 06:18:20 $ docker rm -f --volumes 749e17ece398902e4c479f07740e5703e74073c364bce5bda9aad7cd52e2ff1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:20 06:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:21 0.23.1-centos7: Pulling from edgex-lftools 06:18:21 ab5ef0e58194: Pulling fs layer 06:18:21 9712f1f96733: Pulling fs layer 06:18:21 63f879dbbcfc: Pulling fs layer 06:18:21 0d9ebad4ef96: Pulling fs layer 06:18:21 e9a5061849ea: Pulling fs layer 06:18:21 d747dcd14b5f: Pulling fs layer 06:18:21 2de7ff778b66: Pulling fs layer 06:18:21 0d9ebad4ef96: Waiting 06:18:21 e9a5061849ea: Waiting 06:18:21 d747dcd14b5f: Waiting 06:18:21 2de7ff778b66: Waiting 06:18:21 9712f1f96733: Download complete 06:18:21 63f879dbbcfc: Verifying Checksum 06:18:21 63f879dbbcfc: Download complete 06:18:21 e9a5061849ea: Verifying Checksum 06:18:21 e9a5061849ea: Download complete 06:18:21 d747dcd14b5f: Download complete 06:18:21 0d9ebad4ef96: Verifying Checksum 06:18:21 0d9ebad4ef96: Download complete 06:18:21 ab5ef0e58194: Verifying Checksum 06:18:21 ab5ef0e58194: Download complete 06:18:21 2de7ff778b66: Verifying Checksum 06:18:21 2de7ff778b66: Download complete 06:18:25 ab5ef0e58194: Pull complete 06:18:25 9712f1f96733: Pull complete 06:18:25 63f879dbbcfc: Pull complete 06:18:29 0d9ebad4ef96: Pull complete 06:18:30 e9a5061849ea: Pull complete 06:18:30 d747dcd14b5f: Pull complete 06:18:31 2de7ff778b66: Pull complete 06:18:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:32 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:18:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:18:37 $ docker top 9c373ea46994f5587a6f191bf4abd39bca601d2f47a6ddeabfe7aaaa27877e02 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:18:37 provisioning config files... 06:18:37 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18332893874285657568tmp 06:18:37 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6296883853302293767tmp 06:18:37 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4586785221065746517tmp [Pipeline] { [Pipeline] echo 06:18:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:18:37 ---> sigul-configuration.sh 06:18:37 gpg: directory `/root/.gnupg' created 06:18:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:18:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:18:37 gpg: keyring `/root/.gnupg/secring.gpg' created 06:18:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:18:37 gpg: CAST5 encrypted data 06:18:37 gpg: encrypted with 1 passphrase 06:18:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:18:37 + mkdir /home/jenkins 06:18:37 + mkdir /home/jenkins/sigul [Pipeline] sh 06:18:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:18:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:18:38 ---> sigul-install.sh 06:18:38 Sigul already installed; skipping installation. [Pipeline] sh 06:18:38 + git tag --list 06:18:38 0.7.1 06:18:38 v1.0.0 06:18:38 v1.1.0 06:18:38 v1.1.1 06:18:38 v1.2.2 06:18:38 v1.3.0 06:18:38 v1.3.1 06:18:38 v2.0.0 06:18:38 v2.1.0 06:18:38 v2.1.1 06:18:38 v2.1.1-dev.1 06:18:38 v2.1.1-dev.2 06:18:38 v2.1.1-dev.3 06:18:38 v2.2.0 06:18:38 v2.2.1-dev.1 06:18:38 v2.2.1-dev.2 06:18:38 v2.2.1-dev.3 06:18:38 v2.2.1-dev.4 06:18:38 v2.2.1-dev.5 06:18:38 v2.2.1-dev.6 06:18:38 v2.2.1-dev.7 06:18:38 v2.3.0 06:18:38 v2.3.0-dev.10 06:18:38 v2.3.0-dev.11 06:18:38 v2.3.0-dev.12 06:18:38 v2.3.0-dev.13 06:18:38 v2.3.0-dev.14 06:18:38 v2.3.0-dev.15 06:18:38 v2.3.0-dev.16 06:18:38 v2.3.0-dev.17 06:18:38 v2.3.0-dev.18 06:18:38 v2.3.0-dev.19 06:18:38 v2.3.0-dev.20 06:18:38 v2.3.0-dev.21 06:18:38 v2.3.0-dev.22 06:18:38 v2.3.0-dev.23 06:18:38 v2.3.0-dev.24 06:18:38 v2.3.0-dev.25 06:18:38 v2.3.0-dev.7 06:18:38 v2.3.0-dev.8 06:18:38 v2.3.0-dev.9 06:18:38 v3.0.0-dev.1 06:18:38 v3.0.0-dev.10 06:18:38 v3.0.0-dev.11 06:18:38 v3.0.0-dev.12 06:18:38 v3.0.0-dev.13 06:18:38 v3.0.0-dev.2 06:18:38 v3.0.0-dev.3 06:18:38 v3.0.0-dev.4 06:18:38 v3.0.0-dev.5 06:18:38 v3.0.0-dev.6 06:18:38 v3.0.0-dev.7 06:18:38 v3.0.0-dev.8 06:18:38 v3.0.0-dev.9 [Pipeline] sh 06:18:38 + lftools sign git-tag v3.0.0-dev.13 06:18:39 Signing Git tag with Sigul... 06:18:39 Signing v3.0.0-dev.13 [Pipeline] echo 06:18:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:18:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:18:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:18:40 $ docker stop --time=1 9c373ea46994f5587a6f191bf4abd39bca601d2f47a6ddeabfe7aaaa27877e02 06:18:41 $ docker rm -f --volumes 9c373ea46994f5587a6f191bf4abd39bca601d2f47a6ddeabfe7aaaa27877e02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:18:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:18:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:42 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:18:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:18:43 $ docker top 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d -eo pid,comm 06:18:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:18:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:43 [ssh-agent] Looking for ssh-agent implementation... 06:18:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:43 $ docker exec 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d ssh-agent 06:18:43 SSH_AUTH_SOCK=/tmp/ssh-DWgEmeTavL4X/agent.32 06:18:43 SSH_AGENT_PID=38 06:18:43 Running ssh-add (command line suppressed) 06:18:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17095804386546700989.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17095804386546700989.key) 06:18:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:43 + git semver bump pre 06:18:44 2023-02-20 06:18:44,015 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:44 2023-02-20 06:18:44,015 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev 06:18:44 2023-02-20 06:18:44,015 [bump_version] DEBUG bumped version:3.0.0-dev.14 06:18:44 2023-02-20 06:18:44,015 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:18:44 2023-02-20 06:18:44,015 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:44 2023-02-20 06:18:44,015 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:44 2023-02-20 06:18:44,017 [execute] INFO git cat-file --batch-check 06:18:44 2023-02-20 06:18:44,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:18:44 2023-02-20 06:18:44,023 [execute] INFO git cat-file --batch 06:18:44 2023-02-20 06:18:44,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:18:44 2023-02-20 06:18:44,029 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:44 3.0.0-dev.14 [Pipeline] } 06:18:44 $ docker exec --env ******** --env ******** 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d ssh-agent -k 06:18:44 unset SSH_AUTH_SOCK; 06:18:44 unset SSH_AGENT_PID; 06:18:44 echo Agent pid 38 killed; 06:18:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:44 + git semver [Pipeline] } 06:18:44 $ docker stop --time=1 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d 06:18:46 $ docker rm -f --volumes 8c7fea4087ad964c6d7aaefd437efd702cd0a3d51068ccb997a10aebedf6816d [Pipeline] // withDockerContainer [Pipeline] sh 06:18:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:18:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:46 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:18:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:18:47 $ docker top 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 -eo pid,comm 06:18:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:18:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:47 [ssh-agent] Looking for ssh-agent implementation... 06:18:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:47 $ docker exec 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 ssh-agent 06:18:47 SSH_AUTH_SOCK=/tmp/ssh-s1nk735Efmr0/agent.15 06:18:47 SSH_AGENT_PID=22 06:18:47 Running ssh-add (command line suppressed) 06:18:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1008920832819613049.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1008920832819613049.key) 06:18:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:48 + git semver push 06:18:48 2023-02-20 06:18:48,246 [run_push] DEBUG push 06:18:48 2023-02-20 06:18:48,247 [execute] INFO git cat-file --batch-check 06:18:48 2023-02-20 06:18:48,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:18:48 2023-02-20 06:18:48,252 [execute] INFO git rev-list dff220bcb20a3425bdc467c9f71a124c5fcc9f60 -- 06:18:48 2023-02-20 06:18:48,253 [execute] DEBUG Popen(['git', 'rev-list', 'dff220bcb20a3425bdc467c9f71a124c5fcc9f60', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:18:48 2023-02-20 06:18:48,260 [execute] INFO git fetch -v origin 06:18:48 2023-02-20 06:18:48,261 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:18:48 2023-02-20 06:18:48,852 [run_push] DEBUG no remote changes detected 06:18:48 2023-02-20 06:18:48,852 [execute] INFO git push origin semver 06:18:48 2023-02-20 06:18:48,853 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:18:49 2023-02-20 06:18:49,682 [run_push] DEBUG push all version tags 06:18:49 2023-02-20 06:18:49,683 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:18:49 2023-02-20 06:18:49,683 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:18:50 2023-02-20 06:18:50,479 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:50 3.0.0-dev.14 [Pipeline] } 06:18:50 $ docker exec --env ******** --env ******** 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 ssh-agent -k 06:18:50 unset SSH_AUTH_SOCK; 06:18:50 unset SSH_AGENT_PID; 06:18:50 echo Agent pid 22 killed; 06:18:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:51 + git semver [Pipeline] } 06:18:51 $ docker stop --time=1 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 06:18:53 $ docker rm -f --volumes 185bc161e081d1780f4c75a9a87c3704efb215ec8f911832ea6d8bc7e47f26b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:18:54 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:18:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:18:54 total 16 06:18:54 drwxr-xr-x 3 root root 4096 Feb 20 06:13 . 06:18:54 drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 06:18 .. 06:18:54 drwxr-xr-x 2 root root 4096 Feb 20 06:13 cost 06:18:54 -rw-r--r-- 1 root root 87 Feb 20 06:13 cost.csv 06:18:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:18:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:18:54 total 16 06:18:54 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 06:13 . 06:18:54 drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 06:18 .. 06:18:54 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 06:13 cost 06:18:54 -rw-r--r-- 1 jenkins jenkins 87 Feb 20 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:18:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:18:55 ---> package-listing.sh 06:18:55 ++ facter osfamily 06:18:55 ++ tr '[:upper:]' '[:lower:]' 06:18:56 + OS_FAMILY=debian 06:18:56 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:18:56 + START_PACKAGES=/tmp/packages_start.txt 06:18:56 + END_PACKAGES=/tmp/packages_end.txt 06:18:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:18:56 + PACKAGES=/tmp/packages_start.txt 06:18:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:18:56 + PACKAGES=/tmp/packages_end.txt 06:18:56 + case "${OS_FAMILY}" in 06:18:56 + dpkg -l 06:18:56 + grep '^ii' 06:18:56 + '[' -f /tmp/packages_start.txt ']' 06:18:56 + '[' -f /tmp/packages_end.txt ']' 06:18:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:18:56 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:18:56 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:18:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:18:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:18:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:57 prd-ubuntu20.04-docker-8c-8g-6708 does not seem to be running inside a container 06:18:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:18:57 $ docker top 50802879d2071badba3efca1e15c01aae9272b516c536f1c8ba8f59f3066926a -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:58 + touch /tmp/pre-build-complete [Pipeline] sh 06:18:58 + mkdir -p /var/log/sysstat [Pipeline] sh 06:18:58 + ls /var/log/sa-host 06:18:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:58 provisioning config files... 06:18:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12670555653697241619tmp [Pipeline] { [Pipeline] echo 06:18:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:18:59 ---> create-netrc.sh [Pipeline] } 06:18:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:18:59 ---> python-tools-install.sh [Pipeline] echo 06:18:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:18:59 ---> sudo-logs.sh 06:18:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:18:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:19:00 ---> job-cost.sh 06:19:00 lf-activate-venv: SKIPPING 06:19:00 DEBUG: total: 0.2199999988079071 06:19:00 INFO: Retrieving Stack Cost... 06:19:00 INFO: Retrieving Pricing Info for: v3-standard-8 06:19:00 INFO: Archiving Costs [Pipeline] echo 06:19:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:19:01 ---> logs-deploy.sh 06:19:01 lf-activate-venv: SKIPPING 06:19:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/79 06:19:01 INFO: archiving workspace using pattern(s): 06:19:02 Archives upload complete. 06:19:02 INFO: archiving logs to Nexus