Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 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-ssh14255297631597245086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8817922744837537622.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3587455025396754600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8003929037299450821.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-ssh13879679377365973060.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14461’ Running on prd-ubuntu20.04-docker-8c-8g-14465 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 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 (main) Commit message: "Merge pull request #472 from jumpingliu/ignore-go-mods" > 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 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 # timeout=10 > git rev-list --no-walk 9b66715b8b241736f2c193df6e5011bc294930f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:32:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:32:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:32:17 ========================================================= 05:32:17 EdgeX Global Pipelines Version Info 05:32:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:32:18 ------------------- 05:32:18 stable info: 05:32:18 ------------------- 05:32:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:32:18 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:32:18 Message: update stable to v1.0.249 05:32:18 ------------------- 05:32:18 experimental info: 05:32:18 ------------------- 05:32:18 Commited By: **** collab-it+edgex@linuxfoundation.org 05:32:18 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:32:18 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2ba59d [Pipeline] echo 05:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:19 provisioning config files... 05:32:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5874015668131314741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:20 ---> docker-login.sh 05:32:20 nexus3.edgexfoundry.org:10001 05:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:20 Configure a credential helper to remove this warning. See 05:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:20 05:32:20 Login Succeeded 05:32:20 nexus3.edgexfoundry.org:10002 05:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:20 Configure a credential helper to remove this warning. See 05:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:20 05:32:20 Login Succeeded 05:32:20 nexus3.edgexfoundry.org:10003 05:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:20 Configure a credential helper to remove this warning. See 05:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:20 05:32:20 Login Succeeded 05:32:20 nexus3.edgexfoundry.org:10004 05:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:20 Configure a credential helper to remove this warning. See 05:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:20 05:32:20 Login Succeeded 05:32:20 docker.io 05:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:20 Configure a credential helper to remove this warning. See 05:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:20 05:32:20 Login Succeeded 05:32:20 ---> docker-login.sh ends [Pipeline] } 05:32:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:32:21 + git rev-list -1 --merges b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9~1..b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo 05:32:21 -----------> git rev-list -1 --merges b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9~1..b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:32:21 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [false] [Pipeline] sh 05:32:21 + git log --format=format:%s -1 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo 05:32:21 ========================================================= 05:32:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:32:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:32:21 + git log --format=format:%s -1 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo 05:32:21 [semverPrep] GIT_COMMIT: b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9, Commit Message: Merge pull request #472 from jumpingliu/ignore-go-mods [Pipeline] echo 05:32:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:32:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:32:22 + grep -v github /etc/ssh/ssh_known_hosts 05:32:22 + [ -e /tmp/ssh_known_hosts ] 05:32:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:32:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:32:22 + sudo tee -a /etc/ssh/ssh_known_hosts 05:32:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:22 05:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:22 0.1.4: Pulling from edgex-devops/py-git-semver 05:32:22 b85a868b505f: Pulling fs layer 05:32:22 e2be974225ed: Pulling fs layer 05:32:22 339a4e72a1f5: Pulling fs layer 05:32:22 988bab9f4d93: Pulling fs layer 05:32:22 1469e6f7b9e6: Pulling fs layer 05:32:22 eaf3925da568: Pulling fs layer 05:32:22 bab4dde63d76: Pulling fs layer 05:32:22 bde34c3a00c8: Pulling fs layer 05:32:22 b352a97aabf1: Pulling fs layer 05:32:22 4872d77fe225: Pulling fs layer 05:32:22 5851b861e8e6: Pulling fs layer 05:32:22 bde34c3a00c8: Waiting 05:32:22 988bab9f4d93: Waiting 05:32:22 b352a97aabf1: Waiting 05:32:22 1469e6f7b9e6: Waiting 05:32:22 4872d77fe225: Waiting 05:32:22 eaf3925da568: Waiting 05:32:22 5851b861e8e6: Waiting 05:32:22 bab4dde63d76: Waiting 05:32:22 e2be974225ed: Verifying Checksum 05:32:22 e2be974225ed: Download complete 05:32:22 988bab9f4d93: Verifying Checksum 05:32:22 988bab9f4d93: Download complete 05:32:22 1469e6f7b9e6: Download complete 05:32:22 eaf3925da568: Verifying Checksum 05:32:22 eaf3925da568: Download complete 05:32:22 339a4e72a1f5: Verifying Checksum 05:32:22 339a4e72a1f5: Download complete 05:32:23 bde34c3a00c8: Verifying Checksum 05:32:23 bde34c3a00c8: Download complete 05:32:23 b352a97aabf1: Download complete 05:32:23 4872d77fe225: Verifying Checksum 05:32:23 4872d77fe225: Download complete 05:32:23 5851b861e8e6: Download complete 05:32:23 b85a868b505f: Verifying Checksum 05:32:23 b85a868b505f: Download complete 05:32:23 bab4dde63d76: Verifying Checksum 05:32:23 bab4dde63d76: Download complete 05:32:24 b85a868b505f: Pull complete 05:32:24 e2be974225ed: Pull complete 05:32:24 339a4e72a1f5: Pull complete 05:32:24 988bab9f4d93: Pull complete 05:32:25 1469e6f7b9e6: Pull complete 05:32:25 eaf3925da568: Pull complete 05:32:27 bab4dde63d76: Pull complete 05:32:27 bde34c3a00c8: Pull complete 05:32:27 b352a97aabf1: Pull complete 05:32:27 4872d77fe225: Pull complete 05:32:27 5851b861e8e6: Pull complete 05:32:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:27 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:32:27 $ 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 05:32:29 $ docker top e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 -eo pid,comm 05:32:29 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). 05:32:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:29 [ssh-agent] Looking for ssh-agent implementation... 05:32:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:29 $ docker exec e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent 05:32:29 SSH_AUTH_SOCK=/tmp/ssh-Os3LBsLgFha5/agent.31 05:32:29 SSH_AGENT_PID=37 05:32:29 Running ssh-add (command line suppressed) 05:32:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4790712627201411141.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4790712627201411141.key) 05:32:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:30 + git tag --points-at HEAD [Pipeline] } 05:32:30 $ docker exec --env ******** --env ******** e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent -k 05:32:30 unset SSH_AUTH_SOCK; 05:32:30 unset SSH_AGENT_PID; 05:32:30 echo Agent pid 37 killed; 05:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:30 [ssh-agent] Looking for ssh-agent implementation... 05:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:30 $ docker exec e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent 05:32:30 SSH_AUTH_SOCK=/tmp/ssh-H7oFLa2hxDZo/agent.69 05:32:30 SSH_AGENT_PID=75 05:32:30 Running ssh-add (command line suppressed) 05:32:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9305554119020106595.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9305554119020106595.key) 05:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:30 + git semver init 05:32:31 2023-05-08 05:32:31,064 [run_init] DEBUG init version:0.0.0 force:False 05:32:31 2023-05-08 05:32:31,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:32:31 2023-05-08 05:32:31,065 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:32:31 2023-05-08 05:32:31,066 [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) 05:32:32 2023-05-08 05:32:31,831 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:32:32 2023-05-08 05:32:31,832 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:32:32 2023-05-08 05:32:31,832 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:32:32 2023-05-08 05:32:31,832 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:32:32 3.0.0-dev.35 [Pipeline] } 05:32:32 $ docker exec --env ******** --env ******** e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent -k 05:32:32 unset SSH_AUTH_SOCK; 05:32:32 unset SSH_AGENT_PID; 05:32:32 echo Agent pid 75 killed; 05:32:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:32 + git semver [Pipeline] } 05:32:32 $ docker stop --time=1 e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 05:32:34 $ docker rm -f --volumes e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 [Pipeline] // withDockerContainer [Pipeline] sh 05:32:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:32:34 Stashed 1 file(s) [Pipeline] echo 05:32:34 [edgeXSemver]: initialized semver on version 3.0.0-dev.35 [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 05:32:34 provisioning config files... 05:32:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6156508349003653219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:35 ---> docker-login.sh 05:32:35 nexus3.edgexfoundry.org:10001 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 nexus3.edgexfoundry.org:10002 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 nexus3.edgexfoundry.org:10003 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 nexus3.edgexfoundry.org:10004 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 docker.io 05:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:35 Configure a credential helper to remove this warning. See 05:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:35 05:32:35 Login Succeeded 05:32:35 ---> docker-login.sh ends [Pipeline] } 05:32:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:32:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:35 ========================================================= 05:32:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:32:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:32:36 Sending build context to Docker daemon 6.467MB 05:32:36 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:32:36 Step 2/10 : FROM ${BASE} AS builder 05:32:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:32:36 f56be85fc22e: Pulling fs layer 05:32:36 85791d961cd3: Pulling fs layer 05:32:36 d694b5ae8c79: Pulling fs layer 05:32:36 9f32a84ed3da: Pulling fs layer 05:32:36 4d19c01a9841: Pulling fs layer 05:32:36 9325e15d5711: Pulling fs layer 05:32:36 556b6ee489ea: Pulling fs layer 05:32:36 c5a4b2cf53e6: Pulling fs layer 05:32:36 9f32a84ed3da: Waiting 05:32:36 4d19c01a9841: Waiting 05:32:36 9325e15d5711: Waiting 05:32:36 556b6ee489ea: Waiting 05:32:36 c5a4b2cf53e6: Waiting 05:32:36 85791d961cd3: Download complete 05:32:36 9f32a84ed3da: Download complete 05:32:36 4d19c01a9841: Verifying Checksum 05:32:36 4d19c01a9841: Download complete 05:32:36 f56be85fc22e: Download complete 05:32:36 9325e15d5711: Verifying Checksum 05:32:36 9325e15d5711: Download complete 05:32:36 f56be85fc22e: Pull complete 05:32:36 85791d961cd3: Pull complete 05:32:36 c5a4b2cf53e6: Verifying Checksum 05:32:36 c5a4b2cf53e6: Download complete 05:32:36 d694b5ae8c79: Verifying Checksum 05:32:36 d694b5ae8c79: Download complete 05:32:37 556b6ee489ea: Verifying Checksum 05:32:37 556b6ee489ea: Download complete 05:32:40 d694b5ae8c79: Pull complete 05:32:40 9f32a84ed3da: Pull complete 05:32:40 4d19c01a9841: Pull complete 05:32:40 9325e15d5711: Pull complete 05:32:42 556b6ee489ea: Pull complete 05:32:43 c5a4b2cf53e6: Pull complete 05:32:43 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:32:43 ---> c4be618373d6 05:32:43 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:32:46 ---> Running in 8a9b2b3945a1 05:32:46 Removing intermediate container 8a9b2b3945a1 05:32:46 ---> c13de420ddce 05:32:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:46 ---> Running in 50179c2986b3 05:32:46 Removing intermediate container 50179c2986b3 05:32:46 ---> 8aa8db482e12 05:32:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:32:46 ---> Running in 845ee77435b8 05:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:32:46 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:32:46 (2/8) Installing libedit (20221030.3.1-r0) 05:32:46 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:32:46 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:32:46 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:32:46 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:32:46 (7/8) Installing openssh-server (9.1_p1-r2) 05:32:46 (8/8) Installing openssh (9.1_p1-r2) 05:32:46 Executing busybox-1.35.0-r29.trigger 05:32:46 OK: 270 MiB in 61 packages 05:32:47 Removing intermediate container 845ee77435b8 05:32:47 ---> 53f20fa6d491 05:32:47 Step 6/10 : WORKDIR /device-modbus-go 05:32:47 ---> Running in c9447fe6175e 05:32:47 Removing intermediate container c9447fe6175e 05:32:47 ---> 5d66162dc3c4 05:32:47 Step 7/10 : COPY go.mod vendor* ./ 05:32:47 ---> 20d4a89187c9 05:32:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:47 ---> Running in ec33c83b077e 05:32:49 Still waiting to schedule task 05:32:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14463’ 05:33:09 Removing intermediate container ec33c83b077e 05:33:09 ---> 566bc1d3cd1f 05:33:09 Step 9/10 : COPY . . 05:33:09 ---> 4e23da670ccc 05:33:09 Step 10/10 : RUN ${MAKE} 05:33:09 ---> Running in 46326ba41fd4 05:33:09 noop 05:33:09 Removing intermediate container 46326ba41fd4 05:33:09 ---> d2eb1293931a 05:33:09 Successfully built d2eb1293931a 05:33:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:09 + docker inspect -f . ci-base-image-x86_64 05:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:09 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:33:09 $ 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 05:33:10 $ docker top 270d78f2201a6c931e9da6d2cca1df627e4a272f4c3fcef5b229633b44cef7a0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:10 + go version 05:33:10 go version go1.20.2 linux/amd64 [Pipeline] } 05:33:10 $ docker stop --time=1 270d78f2201a6c931e9da6d2cca1df627e4a272f4c3fcef5b229633b44cef7a0 05:33:11 $ docker rm -f --volumes 270d78f2201a6c931e9da6d2cca1df627e4a272f4c3fcef5b229633b44cef7a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:12 + docker inspect -f . ci-base-image-x86_64 05:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:12 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:33:12 $ 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 05:33:12 $ docker top e2e776b75e2f174e135fa953e942bde14680efb3010f4d9a98d88ca33b517bc0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:33:13 + make test 05:33:13 go test ./... -coverprofile=coverage.out 05:33:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:33:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:33:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.4% of statements 05:33:33 go vet ./... 05:33:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:37 ./bin/test-attribution-txt.sh [Pipeline] echo 05:33:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:37 $ docker stop --time=1 e2e776b75e2f174e135fa953e942bde14680efb3010f4d9a98d88ca33b517bc0 05:33:39 $ docker rm -f --volumes e2e776b75e2f174e135fa953e942bde14680efb3010f4d9a98d88ca33b517bc0 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:33:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:40 + ls -al . 05:33:40 total 180 05:33:40 drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:33 . 05:33:40 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 .. 05:33:40 -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:32 .dockerignore 05:33:40 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:32 .git 05:33:40 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 .github 05:33:40 -rw-rw-r-- 1 jenkins jenkins 331 May 8 05:32 .gitignore 05:33:40 -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:32 .golangci.yml 05:33:40 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:32 .semver 05:33:40 -rw-rw-r-- 1 jenkins jenkins 10132 May 8 05:32 Attribution.txt 05:33:40 -rw-rw-r-- 1 jenkins jenkins 11576 May 8 05:32 CHANGELOG.md 05:33:40 -rw-rw-r-- 1 jenkins jenkins 1365 May 8 05:32 Dockerfile 05:33:40 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:32 GOVERNANCE.md 05:33:40 -rw-rw-r-- 1 jenkins jenkins 680 May 8 05:32 Jenkinsfile 05:33:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:32 LICENSE 05:33:40 -rw-rw-r-- 1 jenkins jenkins 1705 May 8 05:32 Makefile 05:33:40 -rw-rw-r-- 1 jenkins jenkins 622 May 8 05:32 OWNERS.md 05:33:40 -rw-rw-r-- 1 jenkins jenkins 4045 May 8 05:32 README.md 05:33:40 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:32 VERSION 05:33:40 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 bin 05:33:40 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 cmd 05:33:40 -rw-r--r-- 1 jenkins jenkins 24160 May 8 05:33 coverage.out 05:33:40 -rw-rw-r-- 1 jenkins jenkins 3453 May 8 05:32 go.mod 05:33:40 -rw-rw-r-- 1 jenkins jenkins 31670 May 8 05:32 go.sum 05:33:40 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 internal 05:33:40 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 simulator 05:33:40 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 snap 05:33:40 -rw-rw-r-- 1 jenkins jenkins 229 May 8 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:41 + 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=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 --label arch=amd64 --label version=3.0.0-dev.35 . 05:33:41 Sending build context to Docker daemon 6.492MB 05:33:41 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:33:41 Step 2/22 : FROM ${BASE} AS builder 05:33:41 ---> d2eb1293931a 05:33:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:33:41 ---> Running in c5f5af9bd83d 05:33:41 Removing intermediate container c5f5af9bd83d 05:33:41 ---> 8b31ad593f08 05:33:41 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:33:41 ---> Running in 602c9f07e8c6 05:33:41 Removing intermediate container 602c9f07e8c6 05:33:41 ---> 81f90b1965af 05:33:41 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:33:41 ---> Running in 91d4a0f01507 05:33:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:33:42 OK: 270 MiB in 61 packages 05:33:42 Removing intermediate container 91d4a0f01507 05:33:42 ---> 0dbb4a77faf0 05:33:42 Step 6/22 : WORKDIR /device-modbus-go 05:33:42 ---> Running in 9bb47e844c71 05:33:42 Removing intermediate container 9bb47e844c71 05:33:42 ---> 890329cbe926 05:33:42 Step 7/22 : COPY go.mod vendor* ./ 05:33:42 ---> 4159f4ac93b4 05:33:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:42 ---> Running in 71609608513f 05:33:43 Removing intermediate container 71609608513f 05:33:43 ---> 215438845ea6 05:33:43 Step 9/22 : COPY . . 05:33:43 ---> 759601afa6f7 05:33:43 Step 10/22 : RUN ${MAKE} 05:33:43 ---> Running in 09278e7d2e9d 05:33:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:34:01 Removing intermediate container 09278e7d2e9d 05:34:01 ---> 51f76651aaef 05:34:01 Step 11/22 : FROM alpine:3.17 05:34:01 3.17: Pulling from library/alpine 05:34:01 f56be85fc22e: Already exists 05:34:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:34:01 Status: Downloaded newer image for alpine:3.17 05:34:01 ---> 9ed4aefc74f6 05:34:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:34:01 ---> Running in bc9189db5db2 05:34:01 Removing intermediate container bc9189db5db2 05:34:01 ---> f3a6ced1baa7 05:34:01 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:34:01 ---> Running in b1a910450a9e 05:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:34:01 (1/1) Installing dumb-init (1.2.5-r2) 05:34:01 Executing busybox-1.35.0-r29.trigger 05:34:01 OK: 7 MiB in 16 packages 05:34:02 Removing intermediate container b1a910450a9e 05:34:02 ---> f70faa1199ad 05:34:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:34:03 ---> 1d46f9a53d5f 05:34:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:34:03 ---> d0a8f70fbbac 05:34:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:34:03 ---> 5c1d630f386e 05:34:03 Step 17/22 : EXPOSE 59901 05:34:03 ---> Running in 32bd4db40450 05:34:03 Removing intermediate container 32bd4db40450 05:34:03 ---> f00a3644e8e8 05:34:03 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:34:03 ---> Running in 7ad69059aa9c 05:34:03 Removing intermediate container 7ad69059aa9c 05:34:03 ---> 36c59fb8d2c6 05:34:03 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:34:03 ---> Running in 7f2b248545fc 05:34:03 Removing intermediate container 7f2b248545fc 05:34:03 ---> d05f9b8519aa 05:34:03 Step 20/22 : LABEL arch=amd64 05:34:03 ---> Running in 60c8ac5c6986 05:34:03 Removing intermediate container 60c8ac5c6986 05:34:03 ---> 20a4d663f84d 05:34:03 Step 21/22 : LABEL git_sha=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:34:03 ---> Running in 4507ad2bb12a 05:34:03 Removing intermediate container 4507ad2bb12a 05:34:03 ---> c0a6feac9c17 05:34:03 Step 22/22 : LABEL version=3.0.0-dev.35 05:34:03 ---> Running in c5d0ed74dcc2 05:34:03 Removing intermediate container c5d0ed74dcc2 05:34:03 ---> 877eace067fc 05:34:03 [Warning] One or more build-args [ARCH] were not consumed 05:34:03 Successfully built 877eace067fc 05:34:03 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:03 provisioning config files... 05:34:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17515681087937571742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:04 ---> docker-login.sh 05:34:04 nexus3.edgexfoundry.org:10001 05:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:04 Configure a credential helper to remove this warning. See 05:34:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:04 05:34:04 Login Succeeded 05:34:04 nexus3.edgexfoundry.org:10002 05:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:04 Configure a credential helper to remove this warning. See 05:34:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:04 05:34:04 Login Succeeded 05:34:04 nexus3.edgexfoundry.org:10003 05:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:04 Configure a credential helper to remove this warning. See 05:34:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:04 05:34:04 Login Succeeded 05:34:04 nexus3.edgexfoundry.org:10004 05:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:04 Configure a credential helper to remove this warning. See 05:34:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:04 05:34:04 Login Succeeded 05:34:04 docker.io 05:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:04 Configure a credential helper to remove this warning. See 05:34:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:04 05:34:04 Login Succeeded 05:34:04 ---> docker-login.sh ends [Pipeline] } 05:34:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:34:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:34:04 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:34:04 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:34:04 latest 05:34:04 3.0.0-dev.35 05:34:04 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 05:34:04 main 05:34:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:34:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:34:05 a42fd9a42b62: Preparing 05:34:05 276a11714f51: Preparing 05:34:05 a7850a85ffec: Preparing 05:34:05 dd5df9879ff4: Preparing 05:34:05 f1417ff83b31: Preparing 05:34:05 f1417ff83b31: Layer already exists 05:34:05 a42fd9a42b62: Pushed 05:34:05 276a11714f51: Pushed 05:34:05 dd5df9879ff4: Pushed 05:34:08 a7850a85ffec: Pushed 05:34:08 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:34:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:34:09 a42fd9a42b62: Preparing 05:34:09 276a11714f51: Preparing 05:34:09 a7850a85ffec: Preparing 05:34:09 dd5df9879ff4: Preparing 05:34:09 f1417ff83b31: Preparing 05:34:09 a7850a85ffec: Layer already exists 05:34:09 f1417ff83b31: Layer already exists 05:34:09 a42fd9a42b62: Layer already exists 05:34:09 276a11714f51: Layer already exists 05:34:09 dd5df9879ff4: Layer already exists 05:34:09 latest: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.35 05:34:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:34:09 a42fd9a42b62: Preparing 05:34:09 276a11714f51: Preparing 05:34:09 a7850a85ffec: Preparing 05:34:09 dd5df9879ff4: Preparing 05:34:09 f1417ff83b31: Preparing 05:34:09 276a11714f51: Layer already exists 05:34:09 a42fd9a42b62: Layer already exists 05:34:09 f1417ff83b31: Layer already exists 05:34:09 dd5df9879ff4: Layer already exists 05:34:09 a7850a85ffec: Layer already exists 05:34:09 3.0.0-dev.35: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 05:34:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:34:10 a42fd9a42b62: Preparing 05:34:10 276a11714f51: Preparing 05:34:10 a7850a85ffec: Preparing 05:34:10 dd5df9879ff4: Preparing 05:34:10 f1417ff83b31: Preparing 05:34:10 276a11714f51: Layer already exists 05:34:10 f1417ff83b31: Layer already exists 05:34:10 a7850a85ffec: Layer already exists 05:34:10 dd5df9879ff4: Layer already exists 05:34:10 a42fd9a42b62: Layer already exists 05:34:10 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:34:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:34:11 a42fd9a42b62: Preparing 05:34:11 276a11714f51: Preparing 05:34:11 a7850a85ffec: Preparing 05:34:11 dd5df9879ff4: Preparing 05:34:11 f1417ff83b31: Preparing 05:34:11 f1417ff83b31: Layer already exists 05:34:11 dd5df9879ff4: Layer already exists 05:34:11 276a11714f51: Layer already exists 05:34:11 a42fd9a42b62: Layer already exists 05:34:11 a7850a85ffec: Layer already exists 05:34:11 main: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:34:11 ===================================================== [Pipeline] echo 05:34:11 taggedImages: 05:34:11 - nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:34:11 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:34:11 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.35 05:34:11 - nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 05:34:11 - 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 05:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:11 05:34:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:11 latest: Pulling from edgex-lftools-log-publisher 05:34:11 5eb5b503b376: Pulling fs layer 05:34:11 5c69ac0246d0: Pulling fs layer 05:34:11 ec43610c2a17: Pulling fs layer 05:34:11 3a2ae6a8a46f: Pulling fs layer 05:34:11 33b1e0a273af: Pulling fs layer 05:34:11 5d3b04190fa2: Pulling fs layer 05:34:11 2f39f015ded8: Pulling fs layer 05:34:11 3a2ae6a8a46f: Waiting 05:34:11 33b1e0a273af: Waiting 05:34:11 5d3b04190fa2: Waiting 05:34:11 2f39f015ded8: Waiting 05:34:11 5c69ac0246d0: Download complete 05:34:11 3a2ae6a8a46f: Download complete 05:34:11 33b1e0a273af: Verifying Checksum 05:34:11 33b1e0a273af: Download complete 05:34:11 5d3b04190fa2: Verifying Checksum 05:34:11 5d3b04190fa2: Download complete 05:34:11 ec43610c2a17: Verifying Checksum 05:34:11 ec43610c2a17: Download complete 05:34:11 5eb5b503b376: Verifying Checksum 05:34:11 5eb5b503b376: Download complete 05:34:12 2f39f015ded8: Download complete 05:34:13 5eb5b503b376: Pull complete 05:34:13 5c69ac0246d0: Pull complete 05:34:13 ec43610c2a17: Pull complete 05:34:13 3a2ae6a8a46f: Pull complete 05:34:13 33b1e0a273af: Pull complete 05:34:13 5d3b04190fa2: Pull complete 05:34:18 2f39f015ded8: Pull complete 05:34:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:18 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:34:18 $ 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 05:34:20 $ docker top e94cb1a2dada705ec47d308035699fca5f736478310ee05008ae2c9a79524d47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:20 ---> job-cost.sh 05:34:20 lf-activate-venv: SKIPPING 05:34:20 INFO: No Stack... 05:34:21 INFO: Retrieving Pricing Info for: v3-standard-8 05:34:21 INFO: Archiving Costs [Pipeline] sh 05:34:21 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:34:21 + cut -d, -f6 [Pipeline] lock 05:34:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] 05:34:21 Resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] did not exist. Created. 05:34:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:34:22 + echo total: 0.2199999988079071 [Pipeline] stash 05:34:22 Stashed 1 file(s) [Pipeline] } 05:34:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 05:34:22 $ docker stop --time=1 e94cb1a2dada705ec47d308035699fca5f736478310ee05008ae2c9a79524d47 05:34:23 $ docker rm -f --volumes e94cb1a2dada705ec47d308035699fca5f736478310ee05008ae2c9a79524d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:35:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14471 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:35:11 Running in /w/workspace/device-modbus-go/101 [Pipeline] { [Pipeline] checkout 05:35:11 Selected Git installation does not exist. Using Default 05:35:11 The recommended git tool is: NONE 05:35:17 using credential edgex-jenkins-ssh 05:35:17 Cloning the remote Git repository 05:35:17 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:35:17 > git init /w/workspace/device-modbus-go/101 # timeout=10 05:35:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:35:18 > git --version # timeout=10 05:35:18 > git --version # 'git version 2.25.1' 05:35:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:35:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:35:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:35:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:35:20 Avoid second fetch 05:35:20 Checking out Revision b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 (main) 05:35:21 Commit message: "Merge pull request #472 from jumpingliu/ignore-go-mods" 05:35:20 > git config core.sparsecheckout # timeout=10 05:35:20 > git checkout -f b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:35:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:35:22 % Total % Received % Xferd Average Speed Time Time Time Current 05:35:22 Dload Upload Total Spent Left Speed 05:35:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 05:35:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:35:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:35:23 + sudo tee /etc/docker/daemon.new 05:35:23 { 05:35:23 "registry-mirrors": [ 05:35:23 "https://nexus3.edgexfoundry.org:10001" 05:35:23 ], 05:35:23 "bip": "10.250.0.254/24", 05:35:23 "hosts": [ 05:35:23 "tcp://0.0.0.0:5555", 05:35:23 "unix:///var/run/docker.sock" 05:35:23 ], 05:35:23 "mtu": 1458, 05:35:23 "selinux-enabled": true, 05:35:23 "seccomp-profile": "/etc/docker/seccomp.json" 05:35:23 } [Pipeline] sh 05:35:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:35:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:35:42 provisioning config files... 05:35:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/101@tmp/config13981781084653236354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:35:42 ---> docker-login.sh 05:35:42 nexus3.edgexfoundry.org:10001 05:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:43 Configure a credential helper to remove this warning. See 05:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:43 05:35:43 Login Succeeded 05:35:43 nexus3.edgexfoundry.org:10002 05:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:43 Configure a credential helper to remove this warning. See 05:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:43 05:35:43 Login Succeeded 05:35:43 nexus3.edgexfoundry.org:10003 05:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:44 Configure a credential helper to remove this warning. See 05:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:44 05:35:44 Login Succeeded 05:35:44 nexus3.edgexfoundry.org:10004 05:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:44 Configure a credential helper to remove this warning. See 05:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:44 05:35:44 Login Succeeded 05:35:44 docker.io 05:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:35:44 Configure a credential helper to remove this warning. See 05:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:35:44 05:35:44 Login Succeeded 05:35:44 ---> docker-login.sh ends [Pipeline] } 05:35:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:35:45 ========================================================= 05:35:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:35:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:35:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:35:46 Sending build context to Docker daemon 3.382MB 05:35:46 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:35:46 Step 2/10 : FROM ${BASE} AS builder 05:35:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:35:46 c41833b44d91: Pulling fs layer 05:35:46 ed15518f5707: Pulling fs layer 05:35:46 feae8fd75edb: Pulling fs layer 05:35:46 242c74f7c9fa: Pulling fs layer 05:35:46 3cdef696dda3: Pulling fs layer 05:35:46 2ced38df9373: Pulling fs layer 05:35:46 58f1dce35555: Pulling fs layer 05:35:46 242c74f7c9fa: Waiting 05:35:46 3cdef696dda3: Waiting 05:35:46 2ced38df9373: Waiting 05:35:46 58f1dce35555: Waiting 05:35:46 ed15518f5707: Verifying Checksum 05:35:46 ed15518f5707: Download complete 05:35:46 242c74f7c9fa: Verifying Checksum 05:35:46 242c74f7c9fa: Download complete 05:35:46 3cdef696dda3: Download complete 05:35:46 c41833b44d91: Download complete 05:35:47 c41833b44d91: Pull complete 05:35:48 58f1dce35555: Verifying Checksum 05:35:48 58f1dce35555: Download complete 05:35:48 ed15518f5707: Pull complete 05:35:49 2ced38df9373: Verifying Checksum 05:35:49 2ced38df9373: Download complete 05:35:49 feae8fd75edb: Verifying Checksum 05:35:49 feae8fd75edb: Download complete 05:36:01 feae8fd75edb: Pull complete 05:36:01 242c74f7c9fa: Pull complete 05:36:01 3cdef696dda3: Pull complete 05:36:08 2ced38df9373: Pull complete 05:36:13 58f1dce35555: Pull complete 05:36:13 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:36:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:36:13 ---> fadd8f120f05 05:36:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:36:15 ---> Running in 0a7f9a8046c9 05:36:15 Removing intermediate container 0a7f9a8046c9 05:36:15 ---> c09685b54812 05:36:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:36:15 ---> Running in 932ba250e190 05:36:15 Removing intermediate container 932ba250e190 05:36:15 ---> 730c69640fb0 05:36:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:36:15 ---> Running in eef274d409f0 05:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:36:18 (1/8) Installing openssh-keygen (9.1_p1-r2) 05:36:18 (2/8) Installing libedit (20221030.3.1-r0) 05:36:18 (3/8) Installing openssh-client-common (9.1_p1-r2) 05:36:18 (4/8) Installing openssh-client-default (9.1_p1-r2) 05:36:18 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 05:36:18 (6/8) Installing openssh-server-common (9.1_p1-r2) 05:36:18 (7/8) Installing openssh-server (9.1_p1-r2) 05:36:18 (8/8) Installing openssh (9.1_p1-r2) 05:36:18 Executing busybox-1.35.0-r29.trigger 05:36:18 OK: 270 MiB in 61 packages 05:36:20 Removing intermediate container eef274d409f0 05:36:20 ---> 907159d333e3 05:36:20 Step 6/10 : WORKDIR /device-modbus-go 05:36:20 ---> Running in 5862c08d7afc 05:36:20 Removing intermediate container 5862c08d7afc 05:36:20 ---> ef6b5c92a508 05:36:20 Step 7/10 : COPY go.mod vendor* ./ 05:36:20 ---> 455f4bf6d6bd 05:36:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:21 ---> Running in 316070f43cd3 05:37:29 Removing intermediate container 316070f43cd3 05:37:29 ---> 2628737af39d 05:37:29 Step 9/10 : COPY . . 05:37:29 ---> 711980683b6f 05:37:29 Step 10/10 : RUN ${MAKE} 05:37:29 ---> Running in b587e15d0144 05:37:29 noop 05:37:29 Removing intermediate container b587e15d0144 05:37:29 ---> b86a3b349390 05:37:29 Successfully built b86a3b349390 05:37:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:29 + docker inspect -f . ci-base-image-arm64 05:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:29 prd-ubuntu20.04-docker-arm64-4c-16g-14471 does not seem to be running inside a container 05:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/101 -v /w/workspace/device-modbus-go/101:/w/workspace/device-modbus-go/101:rw,z -v /w/workspace/device-modbus-go/101@tmp:/w/workspace/device-modbus-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:37:31 $ docker top a79c962ccbbe97017fbf7257e1d959deebcfdbccd78e8b4ef760c8b8cef14814 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:32 + go version 05:37:32 go version go1.20.2 linux/arm64 [Pipeline] } 05:37:32 $ docker stop --time=1 a79c962ccbbe97017fbf7257e1d959deebcfdbccd78e8b4ef760c8b8cef14814 05:37:33 $ docker rm -f --volumes a79c962ccbbe97017fbf7257e1d959deebcfdbccd78e8b4ef760c8b8cef14814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:34 + docker inspect -f . ci-base-image-arm64 05:37:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:34 prd-ubuntu20.04-docker-arm64-4c-16g-14471 does not seem to be running inside a container 05:37:34 $ 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/101 -v /w/workspace/device-modbus-go/101:/w/workspace/device-modbus-go/101:rw,z -v /w/workspace/device-modbus-go/101@tmp:/w/workspace/device-modbus-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:37:36 $ docker top 8ea5e07bcb355c5de9762c79543873b7b18b18c2f23fa72b293a6c09c25f8ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:36 + git config --global --add safe.directory /w/workspace/device-modbus-go/101 [Pipeline] fileExists [Pipeline] sh 05:37:37 + make test 05:37:37 go test ./... -coverprofile=coverage.out 05:38:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:40:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:40:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 47.4% of statements 05:40:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:40:53 go vet ./... 05:41:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:41:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:41:20 ./bin/test-attribution-txt.sh [Pipeline] echo 05:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:41:20 $ docker stop --time=1 8ea5e07bcb355c5de9762c79543873b7b18b18c2f23fa72b293a6c09c25f8ad0 05:41:24 $ docker rm -f --volumes 8ea5e07bcb355c5de9762c79543873b7b18b18c2f23fa72b293a6c09c25f8ad0 [Pipeline] // withDockerContainer [Pipeline] sh 05:41:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:41:26 Warning: overwriting stash ‘coverage-report’ 05:41:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:41:27 + ls -al . 05:41:27 total 176 05:41:27 drwxrwxr-x 9 jenkins jenkins 4096 May 8 05:37 . 05:41:27 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:35 .. 05:41:27 -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:35 .dockerignore 05:41:27 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:35 .git 05:41:27 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 .github 05:41:27 -rw-rw-r-- 1 jenkins jenkins 331 May 8 05:35 .gitignore 05:41:27 -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:35 .golangci.yml 05:41:27 -rw-rw-r-- 1 jenkins jenkins 10132 May 8 05:35 Attribution.txt 05:41:27 -rw-rw-r-- 1 jenkins jenkins 11576 May 8 05:35 CHANGELOG.md 05:41:27 -rw-rw-r-- 1 jenkins jenkins 1365 May 8 05:35 Dockerfile 05:41:27 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:35 GOVERNANCE.md 05:41:27 -rw-rw-r-- 1 jenkins jenkins 680 May 8 05:35 Jenkinsfile 05:41:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:35 LICENSE 05:41:27 -rw-rw-r-- 1 jenkins jenkins 1705 May 8 05:35 Makefile 05:41:27 -rw-rw-r-- 1 jenkins jenkins 622 May 8 05:35 OWNERS.md 05:41:27 -rw-rw-r-- 1 jenkins jenkins 4045 May 8 05:35 README.md 05:41:27 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:32 VERSION 05:41:27 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:35 bin 05:41:27 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 cmd 05:41:27 -rw-r--r-- 1 jenkins jenkins 24160 May 8 05:40 coverage.out 05:41:27 -rw-rw-r-- 1 jenkins jenkins 3453 May 8 05:35 go.mod 05:41:27 -rw-rw-r-- 1 jenkins jenkins 31670 May 8 05:35 go.sum 05:41:27 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 internal 05:41:27 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:35 simulator 05:41:27 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:35 snap 05:41:27 -rw-rw-r-- 1 jenkins jenkins 229 May 8 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:27 + 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=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 --label arch=arm64 --label version=3.0.0-dev.35 . 05:41:28 Sending build context to Docker daemon 3.407MB 05:41:28 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 05:41:28 Step 2/22 : FROM ${BASE} AS builder 05:41:28 ---> b86a3b349390 05:41:28 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:41:28 ---> Running in 2cf271208023 05:41:28 Removing intermediate container 2cf271208023 05:41:28 ---> 72c1fd367675 05:41:28 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:28 ---> Running in 985a3e12c267 05:41:29 Removing intermediate container 985a3e12c267 05:41:29 ---> c20e57a7cb34 05:41:29 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:41:29 ---> Running in e82f1e95e72a 05:41:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:41:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:41:32 OK: 270 MiB in 61 packages 05:41:33 Removing intermediate container e82f1e95e72a 05:41:33 ---> 17a4cadbf19f 05:41:33 Step 6/22 : WORKDIR /device-modbus-go 05:41:33 ---> Running in fd1fc52dcd21 05:41:33 Removing intermediate container fd1fc52dcd21 05:41:33 ---> 315861a6b159 05:41:33 Step 7/22 : COPY go.mod vendor* ./ 05:41:34 ---> 8651fdb939dd 05:41:34 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:34 ---> Running in f534a4fb6075 05:41:37 Removing intermediate container f534a4fb6075 05:41:37 ---> 63216217391e 05:41:37 Step 9/22 : COPY . . 05:41:38 ---> 3b0117d37c15 05:41:38 Step 10/22 : RUN ${MAKE} 05:41:38 ---> Running in a8c4081ba7f4 05:41:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:44:16 Removing intermediate container a8c4081ba7f4 05:44:16 ---> 744c3dcb0c27 05:44:16 Step 11/22 : FROM alpine:3.17 05:44:16 3.17: Pulling from library/alpine 05:44:16 c41833b44d91: Already exists 05:44:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:44:16 Status: Downloaded newer image for alpine:3.17 05:44:16 ---> 51e60588ff2c 05:44:16 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:44:16 ---> Running in c4c19db041c8 05:44:16 Removing intermediate container c4c19db041c8 05:44:16 ---> 924011be9870 05:44:16 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:44:16 ---> Running in 0462bc29f3a1 05:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:44:16 (1/1) Installing dumb-init (1.2.5-r2) 05:44:16 Executing busybox-1.35.0-r29.trigger 05:44:16 OK: 8 MiB in 16 packages 05:44:17 Removing intermediate container 0462bc29f3a1 05:44:17 ---> 097d0a8e9e16 05:44:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:44:19 ---> 0959186e2abc 05:44:19 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:44:19 ---> 3b4eab2daa95 05:44:19 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:44:20 ---> f0456c6079af 05:44:20 Step 17/22 : EXPOSE 59901 05:44:20 ---> Running in a794e3a4ff09 05:44:20 Removing intermediate container a794e3a4ff09 05:44:20 ---> 5c8831cd6e4c 05:44:20 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:44:21 ---> Running in 6ceb9afac5ac 05:44:21 Removing intermediate container 6ceb9afac5ac 05:44:21 ---> c97822e19272 05:44:21 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:44:21 ---> Running in 757648deb77a 05:44:21 Removing intermediate container 757648deb77a 05:44:21 ---> 7eb2c9235fbb 05:44:21 Step 20/22 : LABEL arch=arm64 05:44:21 ---> Running in 12671b290d92 05:44:22 Removing intermediate container 12671b290d92 05:44:22 ---> dffd9018defa 05:44:22 Step 21/22 : LABEL git_sha=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:44:22 ---> Running in 1ac7821e39e1 05:44:22 Removing intermediate container 1ac7821e39e1 05:44:22 ---> e54172b2b0e4 05:44:22 Step 22/22 : LABEL version=3.0.0-dev.35 05:44:22 ---> Running in b9cdf5a53477 05:44:22 Removing intermediate container b9cdf5a53477 05:44:22 ---> 87933b11ef62 05:44:22 [Warning] One or more build-args [ARCH] were not consumed 05:44:22 Successfully built 87933b11ef62 05:44:22 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 05:44:22 provisioning config files... 05:44:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/101@tmp/config12638975866772522798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:23 ---> docker-login.sh 05:44:23 nexus3.edgexfoundry.org:10001 05:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:23 Configure a credential helper to remove this warning. See 05:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:23 05:44:23 Login Succeeded 05:44:23 nexus3.edgexfoundry.org:10002 05:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:23 Configure a credential helper to remove this warning. See 05:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:23 05:44:23 Login Succeeded 05:44:23 nexus3.edgexfoundry.org:10003 05:44:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:24 Configure a credential helper to remove this warning. See 05:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:24 05:44:24 Login Succeeded 05:44:24 nexus3.edgexfoundry.org:10004 05:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:24 Configure a credential helper to remove this warning. See 05:44:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:24 05:44:24 Login Succeeded 05:44:24 docker.io 05:44:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:25 Configure a credential helper to remove this warning. See 05:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:25 05:44:25 Login Succeeded 05:44:25 ---> docker-login.sh ends [Pipeline] } 05:44:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:44:25 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:44:25 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:44:25 latest 05:44:25 3.0.0-dev.35 05:44:25 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 05:44:25 main 05:44:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:25 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:44:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:44:25 be8f0d02231e: Preparing 05:44:25 f175f66d2997: Preparing 05:44:25 646186baaa97: Preparing 05:44:25 06bbb0b1db40: Preparing 05:44:25 26cbea5cba74: Preparing 05:44:25 26cbea5cba74: Layer already exists 05:44:26 be8f0d02231e: Pushed 05:44:26 06bbb0b1db40: Pushed 05:44:26 f175f66d2997: Pushed 05:44:31 646186baaa97: Pushed 05:44:32 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:44:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:44:32 be8f0d02231e: Preparing 05:44:32 f175f66d2997: Preparing 05:44:32 646186baaa97: Preparing 05:44:32 06bbb0b1db40: Preparing 05:44:32 26cbea5cba74: Preparing 05:44:32 f175f66d2997: Layer already exists 05:44:32 06bbb0b1db40: Layer already exists 05:44:32 be8f0d02231e: Layer already exists 05:44:32 26cbea5cba74: Layer already exists 05:44:32 646186baaa97: Layer already exists 05:44:32 latest: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.35 05:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:44:33 be8f0d02231e: Preparing 05:44:33 f175f66d2997: Preparing 05:44:33 646186baaa97: Preparing 05:44:33 06bbb0b1db40: Preparing 05:44:33 26cbea5cba74: Preparing 05:44:33 06bbb0b1db40: Layer already exists 05:44:33 be8f0d02231e: Layer already exists 05:44:33 26cbea5cba74: Layer already exists 05:44:33 646186baaa97: Layer already exists 05:44:33 f175f66d2997: Layer already exists 05:44:33 3.0.0-dev.35: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 05:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:44:34 be8f0d02231e: Preparing 05:44:34 f175f66d2997: Preparing 05:44:34 646186baaa97: Preparing 05:44:34 06bbb0b1db40: Preparing 05:44:34 26cbea5cba74: Preparing 05:44:34 646186baaa97: Layer already exists 05:44:34 06bbb0b1db40: Layer already exists 05:44:34 be8f0d02231e: Layer already exists 05:44:34 f175f66d2997: Layer already exists 05:44:34 26cbea5cba74: Layer already exists 05:44:34 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:35 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:44:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:44:35 be8f0d02231e: Preparing 05:44:35 f175f66d2997: Preparing 05:44:35 646186baaa97: Preparing 05:44:35 06bbb0b1db40: Preparing 05:44:35 26cbea5cba74: Preparing 05:44:35 646186baaa97: Layer already exists 05:44:35 f175f66d2997: Layer already exists 05:44:35 26cbea5cba74: Layer already exists 05:44:35 06bbb0b1db40: Layer already exists 05:44:35 be8f0d02231e: Layer already exists 05:44:35 main: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:35 ===================================================== [Pipeline] echo 05:44:35 taggedImages: 05:44:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 05:44:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:44:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.35 05:44:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 05:44:35 - 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 05:44:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:36 05:44:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:36 arm64: Pulling from edgex-lftools-log-publisher 05:44:36 8998bd30e6a1: Pulling fs layer 05:44:36 04944245beec: Pulling fs layer 05:44:36 699f458cf7ca: Pulling fs layer 05:44:36 765212b225bb: Pulling fs layer 05:44:36 f23df028b6ca: Pulling fs layer 05:44:36 d65c8cfc05b1: Pulling fs layer 05:44:36 2437ff75d9bd: Pulling fs layer 05:44:36 f23df028b6ca: Waiting 05:44:36 d65c8cfc05b1: Waiting 05:44:36 2437ff75d9bd: Waiting 05:44:36 765212b225bb: Waiting 05:44:36 04944245beec: Verifying Checksum 05:44:36 04944245beec: Download complete 05:44:36 765212b225bb: Verifying Checksum 05:44:36 765212b225bb: Download complete 05:44:36 f23df028b6ca: Verifying Checksum 05:44:36 f23df028b6ca: Download complete 05:44:36 d65c8cfc05b1: Verifying Checksum 05:44:36 d65c8cfc05b1: Download complete 05:44:36 699f458cf7ca: Verifying Checksum 05:44:36 699f458cf7ca: Download complete 05:44:37 8998bd30e6a1: Verifying Checksum 05:44:37 8998bd30e6a1: Download complete 05:44:39 2437ff75d9bd: Verifying Checksum 05:44:39 2437ff75d9bd: Download complete 05:44:41 8998bd30e6a1: Pull complete 05:44:41 04944245beec: Pull complete 05:44:42 699f458cf7ca: Pull complete 05:44:42 765212b225bb: Pull complete 05:44:47 f23df028b6ca: Pull complete 05:44:47 d65c8cfc05b1: Pull complete 05:44:59 2437ff75d9bd: Pull complete 05:44:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:59 prd-ubuntu20.04-docker-arm64-4c-16g-14471 does not seem to be running inside a container 05:44:59 $ 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/101 -v /w/workspace/device-modbus-go/101:/w/workspace/device-modbus-go/101:rw,z -v /w/workspace/device-modbus-go/101@tmp:/w/workspace/device-modbus-go/101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:45:02 $ docker top 408b13d26eb6fe2090d33f2eb0057726a7ead2c11cb501ef8b9bd74550d8ba06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:03 ---> job-cost.sh 05:45:03 lf-activate-venv: SKIPPING 05:45:03 INFO: No Stack... 05:45:03 INFO: Retrieving Pricing Info for: v3-standard-4 05:45:04 INFO: Archiving Costs [Pipeline] sh 05:45:04 + cat /w/workspace/device-modbus-go/101/archives/cost.csv 05:45:04 + cut -d, -f6 [Pipeline] lock 05:45:04 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] 05:45:04 Resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] did not exist. Created. 05:45:04 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:05 /w/workspace/device-modbus-go/101@tmp/durable-51cecc53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:45:05 + echo total: 0.10999999940395355 [Pipeline] stash 05:45:05 Warning: overwriting stash ‘stack-cost’ 05:45:05 Stashed 1 file(s) [Pipeline] } 05:45:05 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:05 $ docker stop --time=1 408b13d26eb6fe2090d33f2eb0057726a7ead2c11cb501ef8b9bd74550d8ba06 05:45:07 $ docker rm -f --volumes 408b13d26eb6fe2090d33f2eb0057726a7ead2c11cb501ef8b9bd74550d8ba06 [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 05:45:07 provisioning config files... 05:45:07 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17824679284157587869tmp [Pipeline] { [Pipeline] sh 05:45:07 + set +x 05:45:07 + curl -s https://codecov.io/bash 05:45:07 + bash -s -- 05:45:07 05:45:07 _____ _ 05:45:07 / ____| | | 05:45:07 | | ___ __| | ___ ___ _____ __ 05:45:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:45:07 | |___| (_) | (_| | __/ (_| (_) \ V / 05:45:07 \_____\___/ \__,_|\___|\___\___/ \_/ 05:45:07 Bash-1.0.6 05:45:07 05:45:07 05:45:07 ==> git version 2.25.1 found 05:45:07 ==> 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 05:45:07 Release-Date: 2020-01-08 05:45:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:45:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:45:07 ==> Jenkins CI detected. 05:45:07 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 05:45:07 project root: . 05:45:07 --> token set from env 05:45:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:45:07 ==> Running gcov in . (disable via -X gcov) 05:45:07 ==> Python coveragepy not found 05:45:07 ==> Searching for coverage reports in: 05:45:07 + . 05:45:07 -> Found 1 reports 05:45:07 ==> Detecting git/mercurial file structure 05:45:07 ==> Reading reports 05:45:07 + ./coverage.out bytes=24160 05:45:07 ==> Appending adjustments 05:45:07 https://docs.codecov.io/docs/fixing-reports 05:45:08 + Found adjustments 05:45:08 ==> Gzipping contents 05:45:08 4.0K /tmp/codecov.9sUTMW.gz 05:45:08 ==> Uploading reports 05:45:08 url: https://codecov.io 05:45:08 query: branch=main&commit=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:08 -> Pinging Codecov 05:45:08 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=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:08 -> Uploading to 05:45:08 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/55DBCA73C666E3227836607328DD7E49/b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9/9658f26b-d932-44ad-a365-de3b71b6b843.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T054508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14cbe3ff247d2a10adbe2b1a62deb1f1c878967a6329dd2344a8ca4b8e0d63b8 05:45:08 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:08 Dload Upload Total Spent Left Speed 05:45:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17755 --:--:-- --:--:-- --:--:-- 17755 05:45:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] } 05:45:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:45:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:45:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:08 05:45:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:45:09 df9b9388f04a: Pulling fs layer 05:45:09 52dc419b0ee2: Pulling fs layer 05:45:09 25bc292e5bac: Pulling fs layer 05:45:09 114826534d7a: Pulling fs layer 05:45:09 4657fd5d0bcf: Pulling fs layer 05:45:09 6ad1cebc031e: Pulling fs layer 05:45:09 8a3aa393b2d8: Pulling fs layer 05:45:09 114826534d7a: Waiting 05:45:09 4657fd5d0bcf: Waiting 05:45:09 6ad1cebc031e: Waiting 05:45:09 8a3aa393b2d8: Waiting 05:45:09 25bc292e5bac: Download complete 05:45:09 52dc419b0ee2: Download complete 05:45:09 4657fd5d0bcf: Verifying Checksum 05:45:09 4657fd5d0bcf: Download complete 05:45:09 df9b9388f04a: Verifying Checksum 05:45:09 df9b9388f04a: Download complete 05:45:09 6ad1cebc031e: Verifying Checksum 05:45:09 6ad1cebc031e: Download complete 05:45:09 df9b9388f04a: Pull complete 05:45:09 52dc419b0ee2: Pull complete 05:45:09 25bc292e5bac: Pull complete 05:45:09 114826534d7a: Verifying Checksum 05:45:09 114826534d7a: Download complete 05:45:09 8a3aa393b2d8: Verifying Checksum 05:45:09 8a3aa393b2d8: Download complete 05:45:13 114826534d7a: Pull complete 05:45:13 4657fd5d0bcf: Pull complete 05:45:13 6ad1cebc031e: Pull complete 05:45:15 8a3aa393b2d8: Pull complete 05:45:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:15 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:45:15 $ 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 05:45:18 $ docker top b6c776f1bdd9a81b7ec42a6f5252c9fbab91029a21547c2717a028266da00f57 -eo pid,comm [Pipeline] { [Pipeline] echo 05:45:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 05:45:19 + set -o pipefail 05:45:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 05:45:23 05:45:23 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 05:45:23 05:45:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/4dd9a1b8-3519-4a11-be0b-9308425cc5f9 05:45:23 05:45:23 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:45:23 05:45:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:45:23 05:45:23 05:45:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:45:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:45:23 More details here: https://snyk.co/ue1NS 05:45:23 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:45:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:45:23 $ docker stop --time=1 b6c776f1bdd9a81b7ec42a6f5252c9fbab91029a21547c2717a028266da00f57 05:45:25 $ docker rm -f --volumes b6c776f1bdd9a81b7ec42a6f5252c9fbab91029a21547c2717a028266da00f57 [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 05:45:26 + git log --format=format:%s -1 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] sh 05:45:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:27 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:45:27 $ 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 05:45:27 $ docker top 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e -eo pid,comm 05:45:27 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). 05:45:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:27 [ssh-agent] Looking for ssh-agent implementation... 05:45:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:27 $ docker exec 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e ssh-agent 05:45:27 SSH_AUTH_SOCK=/tmp/ssh-vNue2i8DtEoW/agent.31 05:45:27 SSH_AGENT_PID=37 05:45:27 Running ssh-add (command line suppressed) 05:45:28 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12416168432654307798.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12416168432654307798.key) 05:45:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:28 + git semver tag 05:45:28 2023-05-08 05:45:28,537 [run_tag] DEBUG tag force:False 05:45:28 2023-05-08 05:45:28,538 [check_head_tag] DEBUG check head tag 05:45:28 2023-05-08 05:45:28,539 [execute] INFO git cat-file --batch-check 05:45:28 2023-05-08 05:45:28,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:45:28 2023-05-08 05:45:28,542 [execute] INFO git cat-file --batch 05:45:28 2023-05-08 05:45:28,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 05:45:28 2023-05-08 05:45:28,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:28 2023-05-08 05:45:28,573 [execute] INFO git tag -a v3.0.0-dev.35 -m v3.0.0-dev.35 05:45:28 2023-05-08 05:45:28,574 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.35', '-m', 'v3.0.0-dev.35'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:45:28 2023-05-08 05:45:28,579 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:28 3.0.0-dev.35 [Pipeline] } 05:45:28 $ docker exec --env ******** --env ******** 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e ssh-agent -k 05:45:28 unset SSH_AUTH_SOCK; 05:45:28 unset SSH_AGENT_PID; 05:45:28 echo Agent pid 37 killed; 05:45:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:29 + git semver [Pipeline] } 05:45:29 $ docker stop --time=1 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e 05:45:30 $ docker rm -f --volumes 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:30 05:45:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:31 0.23.1-centos7: Pulling from edgex-lftools 05:45:31 ab5ef0e58194: Pulling fs layer 05:45:31 9712f1f96733: Pulling fs layer 05:45:31 63f879dbbcfc: Pulling fs layer 05:45:31 0d9ebad4ef96: Pulling fs layer 05:45:31 e9a5061849ea: Pulling fs layer 05:45:31 d747dcd14b5f: Pulling fs layer 05:45:31 2de7ff778b66: Pulling fs layer 05:45:31 d747dcd14b5f: Waiting 05:45:31 e9a5061849ea: Waiting 05:45:31 2de7ff778b66: Waiting 05:45:31 0d9ebad4ef96: Waiting 05:45:31 9712f1f96733: Verifying Checksum 05:45:31 9712f1f96733: Download complete 05:45:31 63f879dbbcfc: Verifying Checksum 05:45:31 63f879dbbcfc: Download complete 05:45:31 ab5ef0e58194: Verifying Checksum 05:45:31 ab5ef0e58194: Download complete 05:45:31 d747dcd14b5f: Verifying Checksum 05:45:31 d747dcd14b5f: Download complete 05:45:31 0d9ebad4ef96: Verifying Checksum 05:45:31 0d9ebad4ef96: Download complete 05:45:31 e9a5061849ea: Verifying Checksum 05:45:31 e9a5061849ea: Download complete 05:45:31 2de7ff778b66: Verifying Checksum 05:45:31 2de7ff778b66: Download complete 05:45:34 ab5ef0e58194: Pull complete 05:45:34 9712f1f96733: Pull complete 05:45:34 63f879dbbcfc: Pull complete 05:45:38 0d9ebad4ef96: Pull complete 05:45:38 e9a5061849ea: Pull complete 05:45:38 d747dcd14b5f: Pull complete 05:45:39 2de7ff778b66: Pull complete 05:45:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:45:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:39 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:45:39 $ 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 05:45:42 $ docker top b67a48dc0879ed5d73d3025f8fbc735a7675adfebe68f1d3ee383d17c9888646 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:45:42 provisioning config files... 05:45:42 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10631402176067147594tmp 05:45:42 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13480973069256116593tmp 05:45:42 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11811306795842262848tmp [Pipeline] { [Pipeline] echo 05:45:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:45:43 ---> sigul-configuration.sh 05:45:43 gpg: directory `/root/.gnupg' created 05:45:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:45:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:45:43 gpg: keyring `/root/.gnupg/secring.gpg' created 05:45:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:45:43 gpg: CAST5 encrypted data 05:45:43 gpg: encrypted with 1 passphrase 05:45:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:45:43 + mkdir /home/jenkins 05:45:43 + mkdir /home/jenkins/sigul [Pipeline] sh 05:45:43 + 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 05:45:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:45:44 ---> sigul-install.sh 05:45:44 Sigul already installed; skipping installation. [Pipeline] sh 05:45:44 + git tag --list 05:45:44 0.7.1 05:45:44 v1.0.0 05:45:44 v1.1.0 05:45:44 v1.1.1 05:45:44 v1.2.2 05:45:44 v1.3.0 05:45:44 v1.3.1 05:45:44 v2.0.0 05:45:44 v2.1.0 05:45:44 v2.1.1 05:45:44 v2.1.1-dev.1 05:45:44 v2.1.1-dev.2 05:45:44 v2.1.1-dev.3 05:45:44 v2.2.0 05:45:44 v2.2.1-dev.1 05:45:44 v2.2.1-dev.2 05:45:44 v2.2.1-dev.3 05:45:44 v2.2.1-dev.4 05:45:44 v2.2.1-dev.5 05:45:44 v2.2.1-dev.6 05:45:44 v2.2.1-dev.7 05:45:44 v2.3.0 05:45:44 v2.3.0-dev.10 05:45:44 v2.3.0-dev.11 05:45:44 v2.3.0-dev.12 05:45:44 v2.3.0-dev.13 05:45:44 v2.3.0-dev.14 05:45:44 v2.3.0-dev.15 05:45:44 v2.3.0-dev.16 05:45:44 v2.3.0-dev.17 05:45:44 v2.3.0-dev.18 05:45:44 v2.3.0-dev.19 05:45:44 v2.3.0-dev.20 05:45:44 v2.3.0-dev.21 05:45:44 v2.3.0-dev.22 05:45:44 v2.3.0-dev.23 05:45:44 v2.3.0-dev.24 05:45:44 v2.3.0-dev.25 05:45:44 v2.3.0-dev.7 05:45:44 v2.3.0-dev.8 05:45:44 v2.3.0-dev.9 05:45:44 v3.0.0-dev.1 05:45:44 v3.0.0-dev.10 05:45:44 v3.0.0-dev.11 05:45:44 v3.0.0-dev.12 05:45:44 v3.0.0-dev.13 05:45:44 v3.0.0-dev.14 05:45:44 v3.0.0-dev.15 05:45:44 v3.0.0-dev.16 05:45:44 v3.0.0-dev.17 05:45:44 v3.0.0-dev.18 05:45:44 v3.0.0-dev.19 05:45:44 v3.0.0-dev.2 05:45:44 v3.0.0-dev.20 05:45:44 v3.0.0-dev.21 05:45:44 v3.0.0-dev.22 05:45:44 v3.0.0-dev.23 05:45:44 v3.0.0-dev.24 05:45:44 v3.0.0-dev.25 05:45:44 v3.0.0-dev.26 05:45:44 v3.0.0-dev.27 05:45:44 v3.0.0-dev.28 05:45:44 v3.0.0-dev.29 05:45:44 v3.0.0-dev.3 05:45:44 v3.0.0-dev.30 05:45:44 v3.0.0-dev.31 05:45:44 v3.0.0-dev.32 05:45:44 v3.0.0-dev.33 05:45:44 v3.0.0-dev.34 05:45:44 v3.0.0-dev.35 05:45:44 v3.0.0-dev.4 05:45:44 v3.0.0-dev.5 05:45:44 v3.0.0-dev.6 05:45:44 v3.0.0-dev.7 05:45:44 v3.0.0-dev.8 05:45:44 v3.0.0-dev.9 [Pipeline] sh 05:45:44 + lftools sign git-tag v3.0.0-dev.35 05:45:45 Signing Git tag with Sigul... 05:45:45 Signing v3.0.0-dev.35 [Pipeline] echo 05:45:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:45:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:45:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:45:46 $ docker stop --time=1 b67a48dc0879ed5d73d3025f8fbc735a7675adfebe68f1d3ee383d17c9888646 05:45:47 $ docker rm -f --volumes b67a48dc0879ed5d73d3025f8fbc735a7675adfebe68f1d3ee383d17c9888646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:45:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:48 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:45:48 $ 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 05:45:48 $ docker top 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d -eo pid,comm 05:45:48 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). 05:45:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:48 [ssh-agent] Looking for ssh-agent implementation... 05:45:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:48 $ docker exec 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d ssh-agent 05:45:48 SSH_AUTH_SOCK=/tmp/ssh-CP9GaA8vlVmo/agent.32 05:45:48 SSH_AGENT_PID=38 05:45:48 Running ssh-add (command line suppressed) 05:45:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16844856326838727648.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16844856326838727648.key) 05:45:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:49 + git semver bump pre 05:45:49 2023-05-08 05:45:49,379 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:49 2023-05-08 05:45:49,380 [bump_version] DEBUG bumping version:3.0.0-dev.35 on axis:pre with prefix:dev 05:45:49 2023-05-08 05:45:49,380 [bump_version] DEBUG bumped version:3.0.0-dev.36 05:45:49 2023-05-08 05:45:49,380 [write_version] DEBUG write version:3.0.0-dev.36 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 05:45:49 2023-05-08 05:45:49,380 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:49 2023-05-08 05:45:49,380 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:49 2023-05-08 05:45:49,382 [execute] INFO git cat-file --batch-check 05:45:49 2023-05-08 05:45:49,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:49 2023-05-08 05:45:49,386 [execute] INFO git cat-file --batch 05:45:49 2023-05-08 05:45:49,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:49 2023-05-08 05:45:49,392 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:49 3.0.0-dev.36 [Pipeline] } 05:45:49 $ docker exec --env ******** --env ******** 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d ssh-agent -k 05:45:49 unset SSH_AUTH_SOCK; 05:45:49 unset SSH_AGENT_PID; 05:45:49 echo Agent pid 38 killed; 05:45:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:49 + git semver [Pipeline] } 05:45:50 $ docker stop --time=1 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d 05:45:51 $ docker rm -f --volumes 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d [Pipeline] // withDockerContainer [Pipeline] sh 05:45:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:52 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:45:52 $ 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 05:45:52 $ docker top 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:52 [ssh-agent] Looking for ssh-agent implementation... 05:45:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:52 $ docker exec 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c ssh-agent 05:45:52 SSH_AUTH_SOCK=/tmp/ssh-EbkwPGtBFgM6/agent.32 05:45:52 SSH_AGENT_PID=38 05:45:52 Running ssh-add (command line suppressed) 05:45:52 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14967126630428556106.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14967126630428556106.key) 05:45:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:53 + git semver push 05:45:53 2023-05-08 05:45:53,392 [run_push] DEBUG push 05:45:53 2023-05-08 05:45:53,392 [execute] INFO git cat-file --batch-check 05:45:53 2023-05-08 05:45:53,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:53 2023-05-08 05:45:53,396 [execute] INFO git rev-list ea04fd015c8dd349917ea439298cb90b4675ba83 -- 05:45:53 2023-05-08 05:45:53,397 [execute] DEBUG Popen(['git', 'rev-list', 'ea04fd015c8dd349917ea439298cb90b4675ba83', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:53 2023-05-08 05:45:53,405 [execute] INFO git fetch -v origin 05:45:53 2023-05-08 05:45:53,405 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:45:54 2023-05-08 05:45:53,875 [run_push] DEBUG no remote changes detected 05:45:54 2023-05-08 05:45:53,875 [execute] INFO git push origin semver 05:45:54 2023-05-08 05:45:53,875 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:54 2023-05-08 05:45:54,649 [run_push] DEBUG push all version tags 05:45:54 2023-05-08 05:45:54,649 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:45:54 2023-05-08 05:45:54,650 [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) 05:45:55 2023-05-08 05:45:55,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:45:55 3.0.0-dev.36 [Pipeline] } 05:45:55 $ docker exec --env ******** --env ******** 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c ssh-agent -k 05:45:55 unset SSH_AUTH_SOCK; 05:45:55 unset SSH_AGENT_PID; 05:45:55 echo Agent pid 38 killed; 05:45:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:55 + git semver [Pipeline] } 05:45:56 $ docker stop --time=1 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c 05:45:57 $ docker rm -f --volumes 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c [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 05:45:58 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 05:45:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:45:58 total 16 05:45:58 drwxr-xr-x 3 root root 4096 May 8 05:34 . 05:45:58 drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:45 .. 05:45:58 drwxr-xr-x 2 root root 4096 May 8 05:34 cost 05:45:58 -rw-r--r-- 1 root root 88 May 8 05:34 cost.csv 05:45:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 05:45:58 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 05:45:58 total 16 05:45:58 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:34 . 05:45:58 drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:45 .. 05:45:58 drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:34 cost 05:45:58 -rw-r--r-- 1 jenkins jenkins 88 May 8 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:59 ---> package-listing.sh 05:45:59 ++ facter osfamily 05:45:59 ++ tr '[:upper:]' '[:lower:]' 05:45:59 + OS_FAMILY=debian 05:45:59 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 05:45:59 + START_PACKAGES=/tmp/packages_start.txt 05:45:59 + END_PACKAGES=/tmp/packages_end.txt 05:45:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:59 + PACKAGES=/tmp/packages_start.txt 05:45:59 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:45:59 + PACKAGES=/tmp/packages_end.txt 05:45:59 + case "${OS_FAMILY}" in 05:45:59 + dpkg -l 05:45:59 + grep '^ii' 05:45:59 + '[' -f /tmp/packages_start.txt ']' 05:45:59 + '[' -f /tmp/packages_end.txt ']' 05:45:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:59 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 05:45:59 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 05:45:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 05:45:59 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 05:45:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:00 prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container 05:46:00 $ 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 05:46:00 $ docker top 83d242a8d819579c6bb6ee5e7279aea41d4b9fca8ee8445237d89f26ff2ba5ef -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:00 + touch /tmp/pre-build-complete [Pipeline] sh 05:46:01 + mkdir -p /var/log/sysstat [Pipeline] sh 05:46:01 + ls /var/log/sa-host 05:46:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:01 provisioning config files... 05:46:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7380026681284174276tmp [Pipeline] { [Pipeline] echo 05:46:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:02 ---> create-netrc.sh [Pipeline] } 05:46:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:46:03 ---> python-tools-install.sh [Pipeline] echo 05:46:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:46:04 ---> sudo-logs.sh 05:46:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:46:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:46:04 ---> job-cost.sh 05:46:04 lf-activate-venv: SKIPPING 05:46:04 DEBUG: total: 0.2199999988079071 05:46:04 INFO: Retrieving Stack Cost... 05:46:04 INFO: Retrieving Pricing Info for: v3-standard-8 05:46:05 INFO: Archiving Costs [Pipeline] echo 05:46:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:46:05 ---> logs-deploy.sh 05:46:05 lf-activate-venv: SKIPPING 05:46:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/101 05:46:05 INFO: archiving workspace using pattern(s): 05:46:06 Archives upload complete. 05:46:06 INFO: archiving logs to Nexus 05:46:07 ---> uname -a: 05:46:07 Linux prd-ubuntu20-04-docker-8c-8g-14465 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:46:07 05:46:07