Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd73112b4be420f4cc6f08fe0448cd2914f416aa 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-ssh10386368949215447852.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-ssh11815864765113827330.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-ssh15697667437718167785.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-ssh14928732928809118162.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-ssh2038562915018412251.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 ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-13840’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-13838’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13843 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 cd73112b4be420f4cc6f08fe0448cd2914f416aa (main) Commit message: "Merge pull request #471 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 cd73112b4be420f4cc6f08fe0448cd2914f416aa # timeout=10 > git rev-list --no-walk 54464c102ac0d16f572eda0a03f8ee766b26f00f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:08:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:08:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:08:19 ========================================================= 06:08:19 EdgeX Global Pipelines Version Info 06:08:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:08:20 ------------------- 06:08:20 stable info: 06:08:20 ------------------- 06:08:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:08:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:08:20 Message: update stable to v1.0.249 06:08:20 ------------------- 06:08:20 experimental info: 06:08:20 ------------------- 06:08:20 Commited By: **** collab-it+edgex@linuxfoundation.org 06:08:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:08:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd73112 [Pipeline] echo 06:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:21 provisioning config files... 06:08:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10379976375435878878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:21 ---> docker-login.sh 06:08:21 nexus3.edgexfoundry.org:10001 06:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:22 Configure a credential helper to remove this warning. See 06:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:22 06:08:22 Login Succeeded 06:08:22 nexus3.edgexfoundry.org:10002 06:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:22 Configure a credential helper to remove this warning. See 06:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:22 06:08:22 Login Succeeded 06:08:22 nexus3.edgexfoundry.org:10003 06:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:22 Configure a credential helper to remove this warning. See 06:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:22 06:08:22 Login Succeeded 06:08:22 nexus3.edgexfoundry.org:10004 06:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:22 Configure a credential helper to remove this warning. See 06:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:22 06:08:22 Login Succeeded 06:08:22 docker.io 06:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:22 Configure a credential helper to remove this warning. See 06:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:22 06:08:22 Login Succeeded 06:08:22 ---> docker-login.sh ends [Pipeline] } 06:08:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:08:23 + git rev-list -1 --merges cd73112b4be420f4cc6f08fe0448cd2914f416aa~1..cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo 06:08:23 -----------> git rev-list -1 --merges cd73112b4be420f4cc6f08fe0448cd2914f416aa~1..cd73112b4be420f4cc6f08fe0448cd2914f416aa cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:08:23 cd73112b4be420f4cc6f08fe0448cd2914f416aa [false] [Pipeline] sh 06:08:23 + git log --format=format:%s -1 cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo 06:08:23 ========================================================= 06:08:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:08:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:23 + git log --format=format:%s -1 cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo 06:08:23 [semverPrep] GIT_COMMIT: cd73112b4be420f4cc6f08fe0448cd2914f416aa, Commit Message: Merge pull request #471 from jumpingliu/ignore-go-mods [Pipeline] echo 06:08:23 [semverPrep] This is not a build commit. [Pipeline] sh 06:08:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:24 + grep -v github /etc/ssh/ssh_known_hosts 06:08:24 + [ -e /tmp/ssh_known_hosts ] 06:08:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:08:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:08:24 + sudo tee -a /etc/ssh/ssh_known_hosts 06:08:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:24 06:08:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:24 0.1.4: Pulling from edgex-devops/py-git-semver 06:08:24 b85a868b505f: Pulling fs layer 06:08:24 e2be974225ed: Pulling fs layer 06:08:24 339a4e72a1f5: Pulling fs layer 06:08:24 988bab9f4d93: Pulling fs layer 06:08:24 1469e6f7b9e6: Pulling fs layer 06:08:24 eaf3925da568: Pulling fs layer 06:08:24 bab4dde63d76: Pulling fs layer 06:08:24 bde34c3a00c8: Pulling fs layer 06:08:24 b352a97aabf1: Pulling fs layer 06:08:24 4872d77fe225: Pulling fs layer 06:08:24 5851b861e8e6: Pulling fs layer 06:08:24 bab4dde63d76: Waiting 06:08:24 bde34c3a00c8: Waiting 06:08:24 b352a97aabf1: Waiting 06:08:24 5851b861e8e6: Waiting 06:08:24 eaf3925da568: Waiting 06:08:24 988bab9f4d93: Waiting 06:08:24 e2be974225ed: Verifying Checksum 06:08:24 e2be974225ed: Download complete 06:08:24 988bab9f4d93: Download complete 06:08:24 339a4e72a1f5: Verifying Checksum 06:08:24 339a4e72a1f5: Download complete 06:08:24 1469e6f7b9e6: Verifying Checksum 06:08:24 1469e6f7b9e6: Download complete 06:08:25 eaf3925da568: Verifying Checksum 06:08:25 eaf3925da568: Download complete 06:08:25 bde34c3a00c8: Download complete 06:08:25 b352a97aabf1: Verifying Checksum 06:08:25 b352a97aabf1: Download complete 06:08:25 4872d77fe225: Verifying Checksum 06:08:25 4872d77fe225: Download complete 06:08:25 5851b861e8e6: Download complete 06:08:25 b85a868b505f: Verifying Checksum 06:08:25 b85a868b505f: Download complete 06:08:25 bab4dde63d76: Verifying Checksum 06:08:25 bab4dde63d76: Download complete 06:08:26 b85a868b505f: Pull complete 06:08:26 e2be974225ed: Pull complete 06:08:26 339a4e72a1f5: Pull complete 06:08:26 988bab9f4d93: Pull complete 06:08:27 1469e6f7b9e6: Pull complete 06:08:27 eaf3925da568: Pull complete 06:08:29 bab4dde63d76: Pull complete 06:08:29 bde34c3a00c8: Pull complete 06:08:29 b352a97aabf1: Pull complete 06:08:29 4872d77fe225: Pull complete 06:08:29 5851b861e8e6: Pull complete 06:08:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:29 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:08:30 $ docker top 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 -eo pid,comm 06:08:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:08:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:30 [ssh-agent] Looking for ssh-agent implementation... 06:08:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:30 $ docker exec 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent 06:08:30 SSH_AUTH_SOCK=/tmp/ssh-H6WmwNTnYUCE/agent.32 06:08:30 SSH_AGENT_PID=38 06:08:30 Running ssh-add (command line suppressed) 06:08:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_276182228289243492.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_276182228289243492.key) 06:08:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:31 + git tag --points-at HEAD [Pipeline] } 06:08:31 $ docker exec --env ******** --env ******** 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent -k 06:08:31 unset SSH_AUTH_SOCK; 06:08:31 unset SSH_AGENT_PID; 06:08:31 echo Agent pid 38 killed; 06:08:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:08:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:31 [ssh-agent] Looking for ssh-agent implementation... 06:08:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:31 $ docker exec 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent 06:08:31 SSH_AUTH_SOCK=/tmp/ssh-tG0rkVAD97uE/agent.70 06:08:31 SSH_AGENT_PID=76 06:08:31 Running ssh-add (command line suppressed) 06:08:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_292511999352006631.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_292511999352006631.key) 06:08:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:32 + git semver init 06:08:32 2023-05-05 06:08:32,285 [run_init] DEBUG init version:0.0.0 force:False 06:08:32 2023-05-05 06:08:32,285 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:08:32 2023-05-05 06:08:32,286 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:08:32 2023-05-05 06:08:32,286 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:08:33 2023-05-05 06:08:33,020 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:08:33 2023-05-05 06:08:33,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:08:33 2023-05-05 06:08:33,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:08:33 2023-05-05 06:08:33,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:08:33 3.0.0-dev.33 [Pipeline] } 06:08:33 $ docker exec --env ******** --env ******** 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent -k 06:08:33 unset SSH_AUTH_SOCK; 06:08:33 unset SSH_AGENT_PID; 06:08:33 echo Agent pid 76 killed; 06:08:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:33 + git semver [Pipeline] } 06:08:34 $ docker stop --time=1 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 06:08:35 $ docker rm -f --volumes 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:08:35 Stashed 1 file(s) [Pipeline] echo 06:08:35 [edgeXSemver]: initialized semver on version 3.0.0-dev.33 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:35 provisioning config files... 06:08:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10216751282523678455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:36 ---> docker-login.sh 06:08:36 nexus3.edgexfoundry.org:10001 06:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:36 Configure a credential helper to remove this warning. See 06:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:36 06:08:36 Login Succeeded 06:08:36 nexus3.edgexfoundry.org:10002 06:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:36 Configure a credential helper to remove this warning. See 06:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:36 06:08:36 Login Succeeded 06:08:36 nexus3.edgexfoundry.org:10003 06:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:36 Configure a credential helper to remove this warning. See 06:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:36 06:08:36 Login Succeeded 06:08:36 nexus3.edgexfoundry.org:10004 06:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:36 Configure a credential helper to remove this warning. See 06:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:36 06:08:36 Login Succeeded 06:08:36 docker.io 06:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:36 Configure a credential helper to remove this warning. See 06:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:36 06:08:36 Login Succeeded 06:08:36 ---> docker-login.sh ends [Pipeline] } 06:08:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:36 ========================================================= 06:08:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:08:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:37 + 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 . 06:08:37 Sending build context to Docker daemon 6.461MB 06:08:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:08:37 Step 2/10 : FROM ${BASE} AS builder 06:08:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:08:37 f56be85fc22e: Pulling fs layer 06:08:37 85791d961cd3: Pulling fs layer 06:08:37 d694b5ae8c79: Pulling fs layer 06:08:37 9f32a84ed3da: Pulling fs layer 06:08:37 4d19c01a9841: Pulling fs layer 06:08:37 9325e15d5711: Pulling fs layer 06:08:37 556b6ee489ea: Pulling fs layer 06:08:37 c5a4b2cf53e6: Pulling fs layer 06:08:37 9f32a84ed3da: Waiting 06:08:37 4d19c01a9841: Waiting 06:08:37 9325e15d5711: Waiting 06:08:37 556b6ee489ea: Waiting 06:08:37 c5a4b2cf53e6: Waiting 06:08:37 85791d961cd3: Download complete 06:08:37 9f32a84ed3da: Verifying Checksum 06:08:37 9f32a84ed3da: Download complete 06:08:37 4d19c01a9841: Download complete 06:08:37 f56be85fc22e: Download complete 06:08:37 9325e15d5711: Verifying Checksum 06:08:37 9325e15d5711: Download complete 06:08:37 f56be85fc22e: Pull complete 06:08:37 85791d961cd3: Pull complete 06:08:37 c5a4b2cf53e6: Verifying Checksum 06:08:37 c5a4b2cf53e6: Download complete 06:08:37 d694b5ae8c79: Verifying Checksum 06:08:37 d694b5ae8c79: Download complete 06:08:37 556b6ee489ea: Verifying Checksum 06:08:37 556b6ee489ea: Download complete 06:08:41 d694b5ae8c79: Pull complete 06:08:41 9f32a84ed3da: Pull complete 06:08:41 4d19c01a9841: Pull complete 06:08:41 9325e15d5711: Pull complete 06:08:44 556b6ee489ea: Pull complete 06:08:44 c5a4b2cf53e6: Pull complete 06:08:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:08:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:08:44 ---> c4be618373d6 06:08:44 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:08:46 ---> Running in e28ed063de3e 06:08:46 Removing intermediate container e28ed063de3e 06:08:46 ---> a1d9876fcf72 06:08:46 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:46 ---> Running in ee9540dec784 06:08:46 Removing intermediate container ee9540dec784 06:08:46 ---> 0ac813229ae4 06:08:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:08:47 ---> Running in acee17b9a494 06:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:08:47 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:08:47 (2/8) Installing libedit (20221030.3.1-r0) 06:08:47 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:08:47 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:08:47 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:08:47 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:08:47 (7/8) Installing openssh-server (9.1_p1-r2) 06:08:47 (8/8) Installing openssh (9.1_p1-r2) 06:08:47 Executing busybox-1.35.0-r29.trigger 06:08:47 OK: 270 MiB in 61 packages 06:08:48 Removing intermediate container acee17b9a494 06:08:48 ---> 1ca1d21d6899 06:08:48 Step 6/10 : WORKDIR /device-modbus-go 06:08:48 ---> Running in 0899a9661688 06:08:48 Removing intermediate container 0899a9661688 06:08:48 ---> 7c0acc1e7967 06:08:48 Step 7/10 : COPY go.mod vendor* ./ 06:08:48 ---> 430b45e48acb 06:08:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:48 ---> Running in 8d6f0f9042e2 06:08:50 Still waiting to schedule task 06:08:50 ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:08:50 ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:08:50 ‘prd-centos7-builder-2c-1g-13836’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:08:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-13844’ is offline 06:09:06 Removing intermediate container 8d6f0f9042e2 06:09:06 ---> 226dac768944 06:09:06 Step 9/10 : COPY . . 06:09:06 ---> 3606a9c8e0ca 06:09:06 Step 10/10 : RUN ${MAKE} 06:09:06 ---> Running in 9cd6def0cb23 06:09:06 noop 06:09:06 Removing intermediate container 9cd6def0cb23 06:09:06 ---> 8f7d90c281c4 06:09:06 Successfully built 8f7d90c281c4 06:09:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:07 + docker inspect -f . ci-base-image-x86_64 06:09:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:07 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:09:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:08 $ docker top 9949f7b200afd51540d24636564c3f264766315a4a1690e6388fa88a6f7ef383 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:08 + go version 06:09:08 go version go1.20.2 linux/amd64 [Pipeline] } 06:09:08 $ docker stop --time=1 9949f7b200afd51540d24636564c3f264766315a4a1690e6388fa88a6f7ef383 06:09:10 $ docker rm -f --volumes 9949f7b200afd51540d24636564c3f264766315a4a1690e6388fa88a6f7ef383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:10 + docker inspect -f . ci-base-image-x86_64 06:09:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:10 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:09:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:11 $ docker top 0068e822b7d71f048d2257e812facfdb1b8ceedcb72d2e1f5aeeca5d5352536d -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:09:11 + make test 06:09:11 go test ./... -coverprofile=coverage.out 06:09:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:09:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:09:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.4% of statements 06:09:33 go vet ./... 06:09:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:37 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:09:37 $ docker stop --time=1 0068e822b7d71f048d2257e812facfdb1b8ceedcb72d2e1f5aeeca5d5352536d 06:09:38 $ docker rm -f --volumes 0068e822b7d71f048d2257e812facfdb1b8ceedcb72d2e1f5aeeca5d5352536d [Pipeline] // withDockerContainer [Pipeline] sh 06:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:40 + ls -al . 06:09:40 total 180 06:09:40 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:09 . 06:09:40 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:08 .. 06:09:40 -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:08 .dockerignore 06:09:40 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:08 .git 06:09:40 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 .github 06:09:40 -rw-rw-r-- 1 jenkins jenkins 331 May 5 06:08 .gitignore 06:09:40 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:08 .golangci.yml 06:09:40 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:08 .semver 06:09:40 -rw-rw-r-- 1 jenkins jenkins 10132 May 5 06:08 Attribution.txt 06:09:40 -rw-rw-r-- 1 jenkins jenkins 11576 May 5 06:08 CHANGELOG.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 1365 May 5 06:08 Dockerfile 06:09:40 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:08 GOVERNANCE.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:08 Jenkinsfile 06:09:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:08 LICENSE 06:09:40 -rw-rw-r-- 1 jenkins jenkins 1705 May 5 06:08 Makefile 06:09:40 -rw-rw-r-- 1 jenkins jenkins 622 May 5 06:08 OWNERS.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 4045 May 5 06:08 README.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:08 VERSION 06:09:40 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:08 bin 06:09:40 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 cmd 06:09:40 -rw-r--r-- 1 jenkins jenkins 24160 May 5 06:09 coverage.out 06:09:40 -rw-rw-r-- 1 jenkins jenkins 3453 May 5 06:08 go.mod 06:09:40 -rw-rw-r-- 1 jenkins jenkins 31670 May 5 06:08 go.sum 06:09:40 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 internal 06:09:40 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:08 simulator 06:09:40 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:08 snap 06:09:40 -rw-rw-r-- 1 jenkins jenkins 229 May 5 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:40 + 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=cd73112b4be420f4cc6f08fe0448cd2914f416aa --label arch=amd64 --label version=3.0.0-dev.33 . 06:09:40 Sending build context to Docker daemon 6.487MB 06:09:40 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:09:40 Step 2/22 : FROM ${BASE} AS builder 06:09:40 ---> 8f7d90c281c4 06:09:40 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:09:40 ---> Running in 81f7d1adde1e 06:09:40 Removing intermediate container 81f7d1adde1e 06:09:40 ---> f0e9e1cf857b 06:09:40 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:40 ---> Running in 2ee4872e166a 06:09:40 Removing intermediate container 2ee4872e166a 06:09:40 ---> e59dcf878156 06:09:40 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:09:40 ---> Running in 7fafc827e079 06:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:09:41 OK: 270 MiB in 61 packages 06:09:41 Removing intermediate container 7fafc827e079 06:09:41 ---> 0c883a807ec8 06:09:41 Step 6/22 : WORKDIR /device-modbus-go 06:09:41 ---> Running in d09266a8bf30 06:09:41 Removing intermediate container d09266a8bf30 06:09:41 ---> e2bcdc888db3 06:09:41 Step 7/22 : COPY go.mod vendor* ./ 06:09:41 ---> c97a18d57a2a 06:09:41 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:41 ---> Running in 28afc535651d 06:09:42 Removing intermediate container 28afc535651d 06:09:42 ---> 23ed0842d843 06:09:42 Step 9/22 : COPY . . 06:09:42 ---> 6bd90d633b98 06:09:42 Step 10/22 : RUN ${MAKE} 06:09:42 ---> Running in 09d56fa079c5 06:09:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:10:01 Removing intermediate container 09d56fa079c5 06:10:01 ---> ef0751df3696 06:10:01 Step 11/22 : FROM alpine:3.17 06:10:01 3.17: Pulling from library/alpine 06:10:01 f56be85fc22e: Already exists 06:10:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:10:01 Status: Downloaded newer image for alpine:3.17 06:10:01 ---> 9ed4aefc74f6 06:10:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:10:01 ---> Running in 9c2bbdd17c7b 06:10:01 Removing intermediate container 9c2bbdd17c7b 06:10:01 ---> f472eb443e3d 06:10:01 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:10:01 ---> Running in 8897c924c2be 06:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:10:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:10:01 (1/1) Installing dumb-init (1.2.5-r2) 06:10:01 Executing busybox-1.35.0-r29.trigger 06:10:01 OK: 7 MiB in 16 packages 06:10:02 Removing intermediate container 8897c924c2be 06:10:02 ---> 88e27d4e6a13 06:10:02 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:10:02 ---> 3624868baa9d 06:10:02 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:10:02 ---> d35347554e31 06:10:02 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:10:02 ---> 6c7c0279b484 06:10:02 Step 17/22 : EXPOSE 59901 06:10:02 ---> Running in aedce5b6d29a 06:10:02 Removing intermediate container aedce5b6d29a 06:10:02 ---> 9ae0c27de440 06:10:02 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:10:02 ---> Running in e246391b5d53 06:10:02 Removing intermediate container e246391b5d53 06:10:02 ---> 2287ff92d376 06:10:02 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:10:02 ---> Running in 88bed9eb06d2 06:10:03 Removing intermediate container 88bed9eb06d2 06:10:03 ---> 6a48a000ac7e 06:10:03 Step 20/22 : LABEL arch=amd64 06:10:03 ---> Running in bc3ab7b104c5 06:10:03 Removing intermediate container bc3ab7b104c5 06:10:03 ---> 163cee469106 06:10:03 Step 21/22 : LABEL git_sha=cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:10:03 ---> Running in 283e05e8590f 06:10:03 Removing intermediate container 283e05e8590f 06:10:03 ---> fecd4526ea62 06:10:03 Step 22/22 : LABEL version=3.0.0-dev.33 06:10:03 ---> Running in 7cad16ea9196 06:10:03 Removing intermediate container 7cad16ea9196 06:10:03 ---> 7f97befb8df7 06:10:03 [Warning] One or more build-args [ARCH] were not consumed 06:10:03 Successfully built 7f97befb8df7 06:10: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 06:10:03 provisioning config files... 06:10:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7319591927688118466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:03 ---> docker-login.sh 06:10:03 nexus3.edgexfoundry.org:10001 06:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:03 Configure a credential helper to remove this warning. See 06:10:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:03 06:10:03 Login Succeeded 06:10:03 nexus3.edgexfoundry.org:10002 06:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:03 Configure a credential helper to remove this warning. See 06:10:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:03 06:10:03 Login Succeeded 06:10:03 nexus3.edgexfoundry.org:10003 06:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:04 Configure a credential helper to remove this warning. See 06:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:04 06:10:04 Login Succeeded 06:10:04 nexus3.edgexfoundry.org:10004 06:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:04 Configure a credential helper to remove this warning. See 06:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:04 06:10:04 Login Succeeded 06:10:04 docker.io 06:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:04 Configure a credential helper to remove this warning. See 06:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:04 06:10:04 Login Succeeded 06:10:04 ---> docker-login.sh ends [Pipeline] } 06:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:04 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:10:04 cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:10:04 latest 06:10:04 3.0.0-dev.33 06:10:04 cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 06:10:04 main 06:10:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:04 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:10:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:05 7133aff93a44: Preparing 06:10:05 752d887ab6bf: Preparing 06:10:05 c2da0d3ff6de: Preparing 06:10:05 e91118a29423: Preparing 06:10:05 f1417ff83b31: Preparing 06:10:05 f1417ff83b31: Layer already exists 06:10:05 7133aff93a44: Pushed 06:10:05 e91118a29423: Pushed 06:10:05 752d887ab6bf: Pushed 06:10:07 c2da0d3ff6de: Pushed 06:10:07 cd73112b4be420f4cc6f08fe0448cd2914f416aa: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:10:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:08 7133aff93a44: Preparing 06:10:08 752d887ab6bf: Preparing 06:10:08 c2da0d3ff6de: Preparing 06:10:08 e91118a29423: Preparing 06:10:08 f1417ff83b31: Preparing 06:10:08 c2da0d3ff6de: Layer already exists 06:10:08 f1417ff83b31: Layer already exists 06:10:08 7133aff93a44: Layer already exists 06:10:08 e91118a29423: Layer already exists 06:10:08 752d887ab6bf: Layer already exists 06:10:08 latest: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.33 06:10:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:08 7133aff93a44: Preparing 06:10:08 752d887ab6bf: Preparing 06:10:08 c2da0d3ff6de: Preparing 06:10:08 e91118a29423: Preparing 06:10:08 f1417ff83b31: Preparing 06:10:08 f1417ff83b31: Layer already exists 06:10:08 c2da0d3ff6de: Layer already exists 06:10:08 7133aff93a44: Layer already exists 06:10:08 e91118a29423: Layer already exists 06:10:08 752d887ab6bf: Layer already exists 06:10:08 3.0.0-dev.33: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 06:10:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:09 7133aff93a44: Preparing 06:10:09 752d887ab6bf: Preparing 06:10:09 c2da0d3ff6de: Preparing 06:10:09 e91118a29423: Preparing 06:10:09 f1417ff83b31: Preparing 06:10:09 f1417ff83b31: Layer already exists 06:10:09 7133aff93a44: Layer already exists 06:10:09 e91118a29423: Layer already exists 06:10:09 752d887ab6bf: Layer already exists 06:10:09 c2da0d3ff6de: Layer already exists 06:10:09 cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:10:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:10:10 7133aff93a44: Preparing 06:10:10 752d887ab6bf: Preparing 06:10:10 c2da0d3ff6de: Preparing 06:10:10 e91118a29423: Preparing 06:10:10 f1417ff83b31: Preparing 06:10:10 c2da0d3ff6de: Layer already exists 06:10:10 e91118a29423: Layer already exists 06:10:10 752d887ab6bf: Layer already exists 06:10:10 7133aff93a44: Layer already exists 06:10:10 f1417ff83b31: Layer already exists 06:10:10 main: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:10 ===================================================== [Pipeline] echo 06:10:10 taggedImages: 06:10:10 - nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:10:10 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:10:10 - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.33 06:10:10 - nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 06:10:10 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:10 06:10:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:10 latest: Pulling from edgex-lftools-log-publisher 06:10:10 5eb5b503b376: Pulling fs layer 06:10:10 5c69ac0246d0: Pulling fs layer 06:10:10 ec43610c2a17: Pulling fs layer 06:10:10 3a2ae6a8a46f: Pulling fs layer 06:10:10 33b1e0a273af: Pulling fs layer 06:10:10 5d3b04190fa2: Pulling fs layer 06:10:10 2f39f015ded8: Pulling fs layer 06:10:10 3a2ae6a8a46f: Waiting 06:10:10 33b1e0a273af: Waiting 06:10:10 5d3b04190fa2: Waiting 06:10:10 2f39f015ded8: Waiting 06:10:10 5c69ac0246d0: Download complete 06:10:10 3a2ae6a8a46f: Verifying Checksum 06:10:10 3a2ae6a8a46f: Download complete 06:10:10 33b1e0a273af: Verifying Checksum 06:10:10 33b1e0a273af: Download complete 06:10:10 ec43610c2a17: Verifying Checksum 06:10:10 ec43610c2a17: Download complete 06:10:10 5d3b04190fa2: Verifying Checksum 06:10:10 5d3b04190fa2: Download complete 06:10:11 5eb5b503b376: Download complete 06:10:11 2f39f015ded8: Download complete 06:10:12 5eb5b503b376: Pull complete 06:10:12 5c69ac0246d0: Pull complete 06:10:12 ec43610c2a17: Pull complete 06:10:12 3a2ae6a8a46f: Pull complete 06:10:13 33b1e0a273af: Pull complete 06:10:13 5d3b04190fa2: Pull complete 06:10:17 2f39f015ded8: Pull complete 06:10:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:10:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:17 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:10:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:10:18 $ docker top eacc6e0326edab469886a893da2ad422f092d74b6d5ef7e21e7d3ce04d063991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:18 ---> job-cost.sh 06:10:18 lf-activate-venv: SKIPPING 06:10:18 INFO: No Stack... 06:10:19 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:19 INFO: Archiving Costs [Pipeline] sh 06:10:19 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:10:19 + cut -d, -f6 [Pipeline] lock 06:10:19 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] 06:10:19 Resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] did not exist. Created. 06:10:19 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:20 + echo total: 0.2199999988079071 [Pipeline] stash 06:10:20 Stashed 1 file(s) [Pipeline] } 06:10:20 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:20 $ docker stop --time=1 eacc6e0326edab469886a893da2ad422f092d74b6d5ef7e21e7d3ce04d063991 06:10:21 $ docker rm -f --volumes eacc6e0326edab469886a893da2ad422f092d74b6d5ef7e21e7d3ce04d063991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:11:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13848 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:11:37 Running in /w/workspace/device-modbus-go/99 [Pipeline] { [Pipeline] checkout 06:11:37 Selected Git installation does not exist. Using Default 06:11:37 The recommended git tool is: NONE 06:11:45 using credential edgex-jenkins-ssh 06:11:45 Cloning the remote Git repository 06:11:45 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:11:45 > git init /w/workspace/device-modbus-go/99 # timeout=10 06:11:46 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:11:46 > git --version # timeout=10 06:11:46 > git --version # 'git version 2.25.1' 06:11:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:11:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:11:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:11:49 Avoid second fetch 06:11:49 Checking out Revision cd73112b4be420f4cc6f08fe0448cd2914f416aa (main) 06:11:49 > git config core.sparsecheckout # timeout=10 06:11:49 > git checkout -f cd73112b4be420f4cc6f08fe0448cd2914f416aa # timeout=10 06:11:49 Commit message: "Merge pull request #471 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:11:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:11:50 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:50 Dload Upload Total Spent Left Speed 06:11:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 06:11:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:11:52 + sudo tee /etc/docker/daemon.new 06:11:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:11:52 { 06:11:52 "registry-mirrors": [ 06:11:52 "https://nexus3.edgexfoundry.org:10001" 06:11:52 ], 06:11:52 "bip": "10.250.0.254/24", 06:11:52 "hosts": [ 06:11:52 "tcp://0.0.0.0:5555", 06:11:52 "unix:///var/run/docker.sock" 06:11:52 ], 06:11:52 "mtu": 1458, 06:11:52 "selinux-enabled": true, 06:11:52 "seccomp-profile": "/etc/docker/seccomp.json" 06:11:52 } [Pipeline] sh 06:11:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:11:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:11 provisioning config files... 06:12:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/99@tmp/config1584236111167767611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:11 ---> docker-login.sh 06:12:11 nexus3.edgexfoundry.org:10001 06:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:12 Configure a credential helper to remove this warning. See 06:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:12 06:12:12 Login Succeeded 06:12:12 nexus3.edgexfoundry.org:10002 06:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:12 Configure a credential helper to remove this warning. See 06:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:12 06:12:12 Login Succeeded 06:12:12 nexus3.edgexfoundry.org:10003 06:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:13 Configure a credential helper to remove this warning. See 06:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:13 06:12:13 Login Succeeded 06:12:13 nexus3.edgexfoundry.org:10004 06:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:14 Configure a credential helper to remove this warning. See 06:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:14 06:12:14 Login Succeeded 06:12:14 docker.io 06:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:14 Configure a credential helper to remove this warning. See 06:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:14 06:12:14 Login Succeeded 06:12:14 ---> docker-login.sh ends [Pipeline] } 06:12:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:14 ========================================================= 06:12:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:12:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:15 + 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 . 06:12:15 Sending build context to Docker daemon 3.373MB 06:12:15 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:12:15 Step 2/10 : FROM ${BASE} AS builder 06:12:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:12:15 c41833b44d91: Pulling fs layer 06:12:15 ed15518f5707: Pulling fs layer 06:12:15 feae8fd75edb: Pulling fs layer 06:12:15 242c74f7c9fa: Pulling fs layer 06:12:15 3cdef696dda3: Pulling fs layer 06:12:15 2ced38df9373: Pulling fs layer 06:12:15 58f1dce35555: Pulling fs layer 06:12:15 242c74f7c9fa: Waiting 06:12:15 3cdef696dda3: Waiting 06:12:15 58f1dce35555: Waiting 06:12:15 2ced38df9373: Waiting 06:12:15 ed15518f5707: Download complete 06:12:16 242c74f7c9fa: Verifying Checksum 06:12:16 242c74f7c9fa: Download complete 06:12:16 3cdef696dda3: Verifying Checksum 06:12:16 3cdef696dda3: Download complete 06:12:16 c41833b44d91: Verifying Checksum 06:12:16 c41833b44d91: Download complete 06:12:17 c41833b44d91: Pull complete 06:12:17 58f1dce35555: Verifying Checksum 06:12:17 58f1dce35555: Download complete 06:12:17 ed15518f5707: Pull complete 06:12:18 feae8fd75edb: Verifying Checksum 06:12:18 feae8fd75edb: Download complete 06:12:19 2ced38df9373: Verifying Checksum 06:12:19 2ced38df9373: Download complete 06:12:31 feae8fd75edb: Pull complete 06:12:31 242c74f7c9fa: Pull complete 06:12:31 3cdef696dda3: Pull complete 06:12:40 2ced38df9373: Pull complete 06:12:43 58f1dce35555: Pull complete 06:12:43 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:12:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:12:43 ---> fadd8f120f05 06:12:43 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:12:44 ---> Running in df4f088f49ad 06:12:45 Removing intermediate container df4f088f49ad 06:12:45 ---> 154375c70494 06:12:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:45 ---> Running in 05707529385e 06:12:45 Removing intermediate container 05707529385e 06:12:45 ---> 532f51c0cf99 06:12:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:12:46 ---> Running in 9ed1af72827d 06:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:49 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:12:49 (2/8) Installing libedit (20221030.3.1-r0) 06:12:49 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:12:49 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:12:49 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:12:49 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:12:49 (7/8) Installing openssh-server (9.1_p1-r2) 06:12:49 (8/8) Installing openssh (9.1_p1-r2) 06:12:49 Executing busybox-1.35.0-r29.trigger 06:12:49 OK: 270 MiB in 61 packages 06:12:51 Removing intermediate container 9ed1af72827d 06:12:51 ---> 640d6ef13268 06:12:51 Step 6/10 : WORKDIR /device-modbus-go 06:12:51 ---> Running in 7a1b8eb30916 06:12:51 Removing intermediate container 7a1b8eb30916 06:12:51 ---> 9aabf2bbf356 06:12:51 Step 7/10 : COPY go.mod vendor* ./ 06:12:52 ---> ec6ac2a79636 06:12:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:52 ---> Running in f32346f26e60 06:14:00 Removing intermediate container f32346f26e60 06:14:00 ---> 776cdd177ba9 06:14:00 Step 9/10 : COPY . . 06:14:02 ---> 25afebcb2358 06:14:02 Step 10/10 : RUN ${MAKE} 06:14:02 ---> Running in ce2d24c1a48e 06:14:03 noop 06:14:04 Removing intermediate container ce2d24c1a48e 06:14:04 ---> 261884ba109a 06:14:04 Successfully built 261884ba109a 06:14:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:04 + docker inspect -f . ci-base-image-arm64 06:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-13848 does not seem to be running inside a container 06:14:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/99 -v /w/workspace/device-modbus-go/99:/w/workspace/device-modbus-go/99:rw,z -v /w/workspace/device-modbus-go/99@tmp:/w/workspace/device-modbus-go/99@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 06:14:06 $ docker top b5fa8639c4a4afa2a0034f44292a3b1f0d51cc4f77a374b03518b742c864d82a -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:07 + go version 06:14:07 go version go1.20.2 linux/arm64 [Pipeline] } 06:14:07 $ docker stop --time=1 b5fa8639c4a4afa2a0034f44292a3b1f0d51cc4f77a374b03518b742c864d82a 06:14:09 $ docker rm -f --volumes b5fa8639c4a4afa2a0034f44292a3b1f0d51cc4f77a374b03518b742c864d82a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:09 + docker inspect -f . ci-base-image-arm64 06:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-13848 does not seem to be running inside a container 06:14:10 $ 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/99 -v /w/workspace/device-modbus-go/99:/w/workspace/device-modbus-go/99:rw,z -v /w/workspace/device-modbus-go/99@tmp:/w/workspace/device-modbus-go/99@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 06:14:11 $ docker top 806a506e991e5c244fe1f455c282c64fbc5bcd2ac9335d2b64897407a2069303 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:12 + git config --global --add safe.directory /w/workspace/device-modbus-go/99 [Pipeline] fileExists [Pipeline] sh 06:14:13 + make test 06:14:13 go test ./... -coverprofile=coverage.out 06:15:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:17:37 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:17:37 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements 06:17:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:17:37 go vet ./... 06:18:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:18:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:18:16 ./bin/test-attribution-txt.sh [Pipeline] echo 06:18:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:18:16 $ docker stop --time=1 806a506e991e5c244fe1f455c282c64fbc5bcd2ac9335d2b64897407a2069303 06:18:18 $ docker rm -f --volumes 806a506e991e5c244fe1f455c282c64fbc5bcd2ac9335d2b64897407a2069303 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:19 Warning: overwriting stash ‘coverage-report’ 06:18:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:21 + ls -al . 06:18:21 total 176 06:18:21 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:14 . 06:18:21 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:11 .. 06:18:21 -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:11 .dockerignore 06:18:21 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:11 .git 06:18:21 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 .github 06:18:21 -rw-rw-r-- 1 jenkins jenkins 331 May 5 06:11 .gitignore 06:18:21 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:11 .golangci.yml 06:18:21 -rw-rw-r-- 1 jenkins jenkins 10132 May 5 06:11 Attribution.txt 06:18:21 -rw-rw-r-- 1 jenkins jenkins 11576 May 5 06:11 CHANGELOG.md 06:18:21 -rw-rw-r-- 1 jenkins jenkins 1365 May 5 06:11 Dockerfile 06:18:21 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:11 GOVERNANCE.md 06:18:21 -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:11 Jenkinsfile 06:18:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:11 LICENSE 06:18:21 -rw-rw-r-- 1 jenkins jenkins 1705 May 5 06:11 Makefile 06:18:21 -rw-rw-r-- 1 jenkins jenkins 622 May 5 06:11 OWNERS.md 06:18:21 -rw-rw-r-- 1 jenkins jenkins 4045 May 5 06:11 README.md 06:18:21 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:08 VERSION 06:18:21 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:11 bin 06:18:21 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 cmd 06:18:21 -rw-r--r-- 1 jenkins jenkins 24160 May 5 06:17 coverage.out 06:18:21 -rw-rw-r-- 1 jenkins jenkins 3453 May 5 06:11 go.mod 06:18:21 -rw-rw-r-- 1 jenkins jenkins 31670 May 5 06:11 go.sum 06:18:21 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 internal 06:18:21 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:11 simulator 06:18:21 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:11 snap 06:18:21 -rw-rw-r-- 1 jenkins jenkins 229 May 5 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:21 + 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=cd73112b4be420f4cc6f08fe0448cd2914f416aa --label arch=arm64 --label version=3.0.0-dev.33 . 06:18:21 Sending build context to Docker daemon 3.398MB 06:18:21 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:18:21 Step 2/22 : FROM ${BASE} AS builder 06:18:21 ---> 261884ba109a 06:18:21 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:18:22 ---> Running in d5907c1e8027 06:18:22 Removing intermediate container d5907c1e8027 06:18:22 ---> 8b3f2c824966 06:18:22 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:22 ---> Running in 26314f1f3039 06:18:22 Removing intermediate container 26314f1f3039 06:18:22 ---> 6223febcb0d7 06:18:22 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:18:22 ---> Running in 285754ebce0c 06:18:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:18:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:18:26 OK: 270 MiB in 61 packages 06:18:28 Removing intermediate container 285754ebce0c 06:18:28 ---> 17a9e696a223 06:18:28 Step 6/22 : WORKDIR /device-modbus-go 06:18:28 ---> Running in 5fb936fb60ef 06:18:29 Removing intermediate container 5fb936fb60ef 06:18:29 ---> 4850d97c0ffc 06:18:29 Step 7/22 : COPY go.mod vendor* ./ 06:18:29 ---> e64e7e62d68a 06:18:29 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:30 ---> Running in 9a41c141e9c6 06:18:33 Removing intermediate container 9a41c141e9c6 06:18:33 ---> 6b6e577c76e3 06:18:33 Step 9/22 : COPY . . 06:18:34 ---> cc6475a9861c 06:18:34 Step 10/22 : RUN ${MAKE} 06:18:34 ---> Running in d69861ed97e0 06:18:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:21:26 Removing intermediate container d69861ed97e0 06:21:26 ---> 64d284ba1198 06:21:26 Step 11/22 : FROM alpine:3.17 06:21:26 3.17: Pulling from library/alpine 06:21:26 c41833b44d91: Already exists 06:21:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:21:26 Status: Downloaded newer image for alpine:3.17 06:21:26 ---> 51e60588ff2c 06:21:26 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:21:26 ---> Running in ed9a0250b7bb 06:21:26 Removing intermediate container ed9a0250b7bb 06:21:26 ---> df16695c2e97 06:21:26 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:21:26 ---> Running in 5f86bcb34667 06:21:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:21:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:21:26 (1/1) Installing dumb-init (1.2.5-r2) 06:21:26 Executing busybox-1.35.0-r29.trigger 06:21:26 OK: 8 MiB in 16 packages 06:21:26 Removing intermediate container 5f86bcb34667 06:21:26 ---> db2f0cfc716e 06:21:26 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:21:26 ---> 328a57505bb0 06:21:26 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:21:26 ---> 73a9c2272e70 06:21:26 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:21:26 ---> 8de2227e568f 06:21:26 Step 17/22 : EXPOSE 59901 06:21:26 ---> Running in 38e8496d2921 06:21:26 Removing intermediate container 38e8496d2921 06:21:26 ---> d15676eeacca 06:21:26 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:21:26 ---> Running in f534b2dde2c1 06:21:26 Removing intermediate container f534b2dde2c1 06:21:26 ---> 03ef308be9d7 06:21:26 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:21:26 ---> Running in 5f6cc87cdef2 06:21:26 Removing intermediate container 5f6cc87cdef2 06:21:26 ---> 4bfb1f52c160 06:21:26 Step 20/22 : LABEL arch=arm64 06:21:26 ---> Running in 01018580f9db 06:21:26 Removing intermediate container 01018580f9db 06:21:26 ---> 88145fa674b6 06:21:26 Step 21/22 : LABEL git_sha=cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:21:26 ---> Running in cee7fbe04381 06:21:26 Removing intermediate container cee7fbe04381 06:21:26 ---> 7352afe10375 06:21:26 Step 22/22 : LABEL version=3.0.0-dev.33 06:21:26 ---> Running in c5836abeea82 06:21:26 Removing intermediate container c5836abeea82 06:21:26 ---> b5120a363506 06:21:26 [Warning] One or more build-args [ARCH] were not consumed 06:21:26 Successfully built b5120a363506 06:21:26 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:26 provisioning config files... 06:21:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/99@tmp/config12325744134804519182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:27 ---> docker-login.sh 06:21:27 nexus3.edgexfoundry.org:10001 06:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:27 Configure a credential helper to remove this warning. See 06:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:27 06:21:27 Login Succeeded 06:21:27 nexus3.edgexfoundry.org:10002 06:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:28 Configure a credential helper to remove this warning. See 06:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:28 06:21:28 Login Succeeded 06:21:28 nexus3.edgexfoundry.org:10003 06:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:28 Configure a credential helper to remove this warning. See 06:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:28 06:21:28 Login Succeeded 06:21:28 nexus3.edgexfoundry.org:10004 06:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:28 Configure a credential helper to remove this warning. See 06:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:28 06:21:28 Login Succeeded 06:21:28 docker.io 06:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:29 Configure a credential helper to remove this warning. See 06:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:29 06:21:29 Login Succeeded 06:21:29 ---> docker-login.sh ends [Pipeline] } 06:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:21:29 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:21:29 cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:21:29 latest 06:21:29 3.0.0-dev.33 06:21:29 cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 06:21:29 main 06:21:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:21:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:21:30 612e98bdda26: Preparing 06:21:30 b5749ebbee6e: Preparing 06:21:30 28b9b2d0c357: Preparing 06:21:30 8809bb40d308: Preparing 06:21:30 26cbea5cba74: Preparing 06:21:30 26cbea5cba74: Layer already exists 06:21:30 612e98bdda26: Pushed 06:21:30 b5749ebbee6e: Pushed 06:21:30 8809bb40d308: Pushed 06:21:37 28b9b2d0c357: Pushed 06:21:37 cd73112b4be420f4cc6f08fe0448cd2914f416aa: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:37 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:21:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:21:38 612e98bdda26: Preparing 06:21:38 b5749ebbee6e: Preparing 06:21:38 28b9b2d0c357: Preparing 06:21:38 8809bb40d308: Preparing 06:21:38 26cbea5cba74: Preparing 06:21:38 8809bb40d308: Layer already exists 06:21:38 b5749ebbee6e: Layer already exists 06:21:38 26cbea5cba74: Layer already exists 06:21:38 612e98bdda26: Layer already exists 06:21:38 28b9b2d0c357: Layer already exists 06:21:38 latest: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.33 06:21:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:21:39 612e98bdda26: Preparing 06:21:39 b5749ebbee6e: Preparing 06:21:39 28b9b2d0c357: Preparing 06:21:39 8809bb40d308: Preparing 06:21:39 26cbea5cba74: Preparing 06:21:39 8809bb40d308: Layer already exists 06:21:39 28b9b2d0c357: Layer already exists 06:21:39 26cbea5cba74: Layer already exists 06:21:39 b5749ebbee6e: Layer already exists 06:21:39 612e98bdda26: Layer already exists 06:21:39 3.0.0-dev.33: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 06:21:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:21:39 612e98bdda26: Preparing 06:21:39 b5749ebbee6e: Preparing 06:21:39 28b9b2d0c357: Preparing 06:21:39 8809bb40d308: Preparing 06:21:39 26cbea5cba74: Preparing 06:21:39 8809bb40d308: Layer already exists 06:21:39 612e98bdda26: Layer already exists 06:21:39 28b9b2d0c357: Layer already exists 06:21:39 b5749ebbee6e: Layer already exists 06:21:39 26cbea5cba74: Layer already exists 06:21:40 cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:21:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:21:40 612e98bdda26: Preparing 06:21:40 b5749ebbee6e: Preparing 06:21:40 28b9b2d0c357: Preparing 06:21:40 8809bb40d308: Preparing 06:21:40 26cbea5cba74: Preparing 06:21:40 28b9b2d0c357: Layer already exists 06:21:40 26cbea5cba74: Layer already exists 06:21:40 612e98bdda26: Layer already exists 06:21:40 8809bb40d308: Layer already exists 06:21:40 b5749ebbee6e: Layer already exists 06:21:41 main: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:41 ===================================================== [Pipeline] echo 06:21:41 taggedImages: 06:21:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa 06:21:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:21:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.33 06:21:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 06:21:41 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:41 06:21:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:41 arm64: Pulling from edgex-lftools-log-publisher 06:21:41 8998bd30e6a1: Pulling fs layer 06:21:41 04944245beec: Pulling fs layer 06:21:41 699f458cf7ca: Pulling fs layer 06:21:41 765212b225bb: Pulling fs layer 06:21:41 f23df028b6ca: Pulling fs layer 06:21:41 d65c8cfc05b1: Pulling fs layer 06:21:41 2437ff75d9bd: Pulling fs layer 06:21:41 765212b225bb: Waiting 06:21:41 d65c8cfc05b1: Waiting 06:21:41 f23df028b6ca: Waiting 06:21:41 2437ff75d9bd: Waiting 06:21:42 04944245beec: Verifying Checksum 06:21:42 04944245beec: Download complete 06:21:42 765212b225bb: Verifying Checksum 06:21:42 765212b225bb: Download complete 06:21:42 f23df028b6ca: Verifying Checksum 06:21:42 f23df028b6ca: Download complete 06:21:42 d65c8cfc05b1: Verifying Checksum 06:21:42 d65c8cfc05b1: Download complete 06:21:42 699f458cf7ca: Verifying Checksum 06:21:42 699f458cf7ca: Download complete 06:21:42 8998bd30e6a1: Verifying Checksum 06:21:42 8998bd30e6a1: Download complete 06:21:45 2437ff75d9bd: Verifying Checksum 06:21:45 2437ff75d9bd: Download complete 06:21:48 8998bd30e6a1: Pull complete 06:21:49 04944245beec: Pull complete 06:21:50 699f458cf7ca: Pull complete 06:21:51 765212b225bb: Pull complete 06:21:51 f23df028b6ca: Pull complete 06:21:51 d65c8cfc05b1: Pull complete 06:22:06 2437ff75d9bd: Pull complete 06:22:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:22:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:07 prd-ubuntu20.04-docker-arm64-4c-16g-13848 does not seem to be running inside a container 06:22:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/99 -v /w/workspace/device-modbus-go/99:/w/workspace/device-modbus-go/99:rw,z -v /w/workspace/device-modbus-go/99@tmp:/w/workspace/device-modbus-go/99@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 06:22:10 $ docker top 1967049eef08c1eb0b17e63d2442ed206ef24d2749a63f786640675d0fe9e450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:11 ---> job-cost.sh 06:22:11 lf-activate-venv: SKIPPING 06:22:11 INFO: No Stack... 06:22:11 INFO: Retrieving Pricing Info for: v3-standard-4 06:22:12 INFO: Archiving Costs [Pipeline] sh 06:22:13 + cat /w/workspace/device-modbus-go/99/archives/cost.csv 06:22:13 + cut -d, -f6 [Pipeline] lock 06:22:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] 06:22:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] did not exist. Created. 06:22:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:22:13 /w/workspace/device-modbus-go/99@tmp/durable-8e653852/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:22:14 + echo total: 0.10999999940395355 [Pipeline] stash 06:22:14 Warning: overwriting stash ‘stack-cost’ 06:22:14 Stashed 1 file(s) [Pipeline] } 06:22:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 06:22:14 $ docker stop --time=1 1967049eef08c1eb0b17e63d2442ed206ef24d2749a63f786640675d0fe9e450 06:22:16 $ docker rm -f --volumes 1967049eef08c1eb0b17e63d2442ed206ef24d2749a63f786640675d0fe9e450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:22:16 provisioning config files... 06:22:16 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1296168263816981175tmp [Pipeline] { [Pipeline] sh 06:22:16 + set +x 06:22:16 + curl -s https://codecov.io/bash 06:22:16 + bash -s -- 06:22:16 06:22:16 _____ _ 06:22:16 / ____| | | 06:22:16 | | ___ __| | ___ ___ _____ __ 06:22:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:22:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:22:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:22:16 Bash-1.0.6 06:22:16 06:22:16 06:22:16 ==> git version 2.25.1 found 06:22:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:22:16 Release-Date: 2020-01-08 06:22:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:22:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:22:16 ==> Jenkins CI detected. 06:22:16 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:22:16 project root: . 06:22:16 --> token set from env 06:22:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:22:16 ==> Running gcov in . (disable via -X gcov) 06:22:16 ==> Python coveragepy not found 06:22:16 ==> Searching for coverage reports in: 06:22:16 + . 06:22:16 -> Found 1 reports 06:22:16 ==> Detecting git/mercurial file structure 06:22:16 ==> Reading reports 06:22:16 + ./coverage.out bytes=24160 06:22:16 ==> Appending adjustments 06:22:16 https://docs.codecov.io/docs/fixing-reports 06:22:17 + Found adjustments 06:22:17 ==> Gzipping contents 06:22:17 4.0K /tmp/codecov.0iZinX.gz 06:22:17 ==> Uploading reports 06:22:17 url: https://codecov.io 06:22:17 query: branch=main&commit=cd73112b4be420f4cc6f08fe0448cd2914f416aa&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:22:17 -> Pinging Codecov 06:22:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=cd73112b4be420f4cc6f08fe0448cd2914f416aa&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:22:17 -> Uploading to 06:22:17 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/55DBCA73C666E3227836607328DD7E49/cd73112b4be420f4cc6f08fe0448cd2914f416aa/f6b7f621-4d60-4a69-91c8-3024b50527e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T062216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2e74183733013203d9b85607bb84322d1707f9b78203eb60ec1f9c4b7d8f0fb 06:22:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:22:17 Dload Upload Total Spent Left Speed 06:22:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17836 --:--:-- --:--:-- --:--:-- 17836 06:22:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] } 06:22:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:22:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:22:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:22:17 06:22:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:22:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:22:18 df9b9388f04a: Pulling fs layer 06:22:18 52dc419b0ee2: Pulling fs layer 06:22:18 25bc292e5bac: Pulling fs layer 06:22:18 114826534d7a: Pulling fs layer 06:22:18 4657fd5d0bcf: Pulling fs layer 06:22:18 6ad1cebc031e: Pulling fs layer 06:22:18 8a3aa393b2d8: Pulling fs layer 06:22:18 6ad1cebc031e: Waiting 06:22:18 114826534d7a: Waiting 06:22:18 8a3aa393b2d8: Waiting 06:22:18 4657fd5d0bcf: Waiting 06:22:18 25bc292e5bac: Download complete 06:22:18 52dc419b0ee2: Download complete 06:22:18 4657fd5d0bcf: Verifying Checksum 06:22:18 4657fd5d0bcf: Download complete 06:22:18 df9b9388f04a: Verifying Checksum 06:22:18 df9b9388f04a: Download complete 06:22:18 df9b9388f04a: Pull complete 06:22:18 6ad1cebc031e: Verifying Checksum 06:22:18 6ad1cebc031e: Download complete 06:22:18 52dc419b0ee2: Pull complete 06:22:18 25bc292e5bac: Pull complete 06:22:18 114826534d7a: Verifying Checksum 06:22:18 114826534d7a: Download complete 06:22:18 8a3aa393b2d8: Verifying Checksum 06:22:18 8a3aa393b2d8: Download complete 06:22:22 114826534d7a: Pull complete 06:22:22 4657fd5d0bcf: Pull complete 06:22:22 6ad1cebc031e: Pull complete 06:22:24 8a3aa393b2d8: Pull complete 06:22:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:22:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:24 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:22:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:22:26 $ docker top 760223b08242dc26bd3ddaf9fc120fd1c33a7e8904bcb2e58e2f54c7e7b81e9f -eo pid,comm [Pipeline] { [Pipeline] echo 06:22:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:22:26 + set -o pipefail 06:22:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:22:30 06:22:30 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:22:30 06:22:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0a58b40d-f93a-47ad-9a9f-d31aae95feee 06:22:30 06:22:30 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:22:30 06:22:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:22:30 06:22:31 06:22:31 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:22:31 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:22:31 More details here: https://snyk.co/ue1NS 06:22:31 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:22:31 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:22:31 $ docker stop --time=1 760223b08242dc26bd3ddaf9fc120fd1c33a7e8904bcb2e58e2f54c7e7b81e9f 06:22:33 $ docker rm -f --volumes 760223b08242dc26bd3ddaf9fc120fd1c33a7e8904bcb2e58e2f54c7e7b81e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:22:33 + git log --format=format:%s -1 cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] sh 06:22:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:22:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:34 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:22:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:22:34 $ docker top c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:22:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:22:34 [ssh-agent] Looking for ssh-agent implementation... 06:22:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:22:35 $ docker exec c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f ssh-agent 06:22:35 SSH_AUTH_SOCK=/tmp/ssh-BLQyJSNKSbrv/agent.32 06:22:35 SSH_AGENT_PID=38 06:22:35 Running ssh-add (command line suppressed) 06:22:35 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3421640628332631251.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3421640628332631251.key) 06:22:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:22:35 + git semver tag 06:22:35 2023-05-05 06:22:35,769 [run_tag] DEBUG tag force:False 06:22:35 2023-05-05 06:22:35,770 [check_head_tag] DEBUG check head tag 06:22:35 2023-05-05 06:22:35,771 [execute] INFO git cat-file --batch-check 06:22:35 2023-05-05 06:22:35,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:22:35 2023-05-05 06:22:35,775 [execute] INFO git cat-file --batch 06:22:35 2023-05-05 06:22:35,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:22:35 2023-05-05 06:22:35,799 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:22:35 2023-05-05 06:22:35,800 [execute] INFO git tag -a v3.0.0-dev.33 -m v3.0.0-dev.33 06:22:35 2023-05-05 06:22:35,800 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.33', '-m', 'v3.0.0-dev.33'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:22:35 2023-05-05 06:22:35,803 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:22:35 3.0.0-dev.33 [Pipeline] } 06:22:35 $ docker exec --env ******** --env ******** c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f ssh-agent -k 06:22:35 unset SSH_AUTH_SOCK; 06:22:35 unset SSH_AGENT_PID; 06:22:35 echo Agent pid 38 killed; 06:22:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:22:36 + git semver [Pipeline] } 06:22:36 $ docker stop --time=1 c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f 06:22:37 $ docker rm -f --volumes c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:22:38 06:22:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:22:38 0.23.1-centos7: Pulling from edgex-lftools 06:22:38 ab5ef0e58194: Pulling fs layer 06:22:38 9712f1f96733: Pulling fs layer 06:22:38 63f879dbbcfc: Pulling fs layer 06:22:38 0d9ebad4ef96: Pulling fs layer 06:22:38 e9a5061849ea: Pulling fs layer 06:22:38 d747dcd14b5f: Pulling fs layer 06:22:38 2de7ff778b66: Pulling fs layer 06:22:38 e9a5061849ea: Waiting 06:22:38 0d9ebad4ef96: Waiting 06:22:38 d747dcd14b5f: Waiting 06:22:38 9712f1f96733: Verifying Checksum 06:22:38 9712f1f96733: Download complete 06:22:38 63f879dbbcfc: Verifying Checksum 06:22:38 63f879dbbcfc: Download complete 06:22:39 e9a5061849ea: Verifying Checksum 06:22:39 e9a5061849ea: Download complete 06:22:39 0d9ebad4ef96: Verifying Checksum 06:22:39 0d9ebad4ef96: Download complete 06:22:39 d747dcd14b5f: Verifying Checksum 06:22:39 d747dcd14b5f: Download complete 06:22:39 ab5ef0e58194: Verifying Checksum 06:22:39 ab5ef0e58194: Download complete 06:22:39 2de7ff778b66: Verifying Checksum 06:22:39 2de7ff778b66: Download complete 06:22:41 ab5ef0e58194: Pull complete 06:22:41 9712f1f96733: Pull complete 06:22:41 63f879dbbcfc: Pull complete 06:22:45 0d9ebad4ef96: Pull complete 06:22:45 e9a5061849ea: Pull complete 06:22:45 d747dcd14b5f: Pull complete 06:22:46 2de7ff778b66: Pull complete 06:22:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:22:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:46 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:22:48 $ docker top 6ebdb3d8def3b7445975788d739f229364917046928d82391d741c7894281485 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:22:48 provisioning config files... 06:22:48 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11155906054203030244tmp 06:22:48 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6449429726454091142tmp 06:22:48 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10209990758603810555tmp [Pipeline] { [Pipeline] echo 06:22:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:22:48 ---> sigul-configuration.sh 06:22:48 gpg: directory `/root/.gnupg' created 06:22:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:22:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:22:48 gpg: keyring `/root/.gnupg/secring.gpg' created 06:22:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:22:48 gpg: CAST5 encrypted data 06:22:48 gpg: encrypted with 1 passphrase 06:22:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:22:48 + mkdir /home/jenkins 06:22:48 + mkdir /home/jenkins/sigul [Pipeline] sh 06:22:49 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:22:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:22:49 ---> sigul-install.sh 06:22:49 Sigul already installed; skipping installation. [Pipeline] sh 06:22:49 + git tag --list 06:22:49 0.7.1 06:22:49 v1.0.0 06:22:49 v1.1.0 06:22:49 v1.1.1 06:22:49 v1.2.2 06:22:49 v1.3.0 06:22:49 v1.3.1 06:22:49 v2.0.0 06:22:49 v2.1.0 06:22:49 v2.1.1 06:22:49 v2.1.1-dev.1 06:22:49 v2.1.1-dev.2 06:22:49 v2.1.1-dev.3 06:22:49 v2.2.0 06:22:49 v2.2.1-dev.1 06:22:49 v2.2.1-dev.2 06:22:49 v2.2.1-dev.3 06:22:49 v2.2.1-dev.4 06:22:49 v2.2.1-dev.5 06:22:49 v2.2.1-dev.6 06:22:49 v2.2.1-dev.7 06:22:49 v2.3.0 06:22:49 v2.3.0-dev.10 06:22:49 v2.3.0-dev.11 06:22:49 v2.3.0-dev.12 06:22:49 v2.3.0-dev.13 06:22:49 v2.3.0-dev.14 06:22:49 v2.3.0-dev.15 06:22:49 v2.3.0-dev.16 06:22:49 v2.3.0-dev.17 06:22:49 v2.3.0-dev.18 06:22:49 v2.3.0-dev.19 06:22:49 v2.3.0-dev.20 06:22:49 v2.3.0-dev.21 06:22:49 v2.3.0-dev.22 06:22:49 v2.3.0-dev.23 06:22:49 v2.3.0-dev.24 06:22:49 v2.3.0-dev.25 06:22:49 v2.3.0-dev.7 06:22:49 v2.3.0-dev.8 06:22:49 v2.3.0-dev.9 06:22:49 v3.0.0-dev.1 06:22:49 v3.0.0-dev.10 06:22:49 v3.0.0-dev.11 06:22:49 v3.0.0-dev.12 06:22:49 v3.0.0-dev.13 06:22:49 v3.0.0-dev.14 06:22:49 v3.0.0-dev.15 06:22:49 v3.0.0-dev.16 06:22:49 v3.0.0-dev.17 06:22:49 v3.0.0-dev.18 06:22:49 v3.0.0-dev.19 06:22:49 v3.0.0-dev.2 06:22:49 v3.0.0-dev.20 06:22:49 v3.0.0-dev.21 06:22:49 v3.0.0-dev.22 06:22:49 v3.0.0-dev.23 06:22:49 v3.0.0-dev.24 06:22:49 v3.0.0-dev.25 06:22:49 v3.0.0-dev.26 06:22:49 v3.0.0-dev.27 06:22:49 v3.0.0-dev.28 06:22:49 v3.0.0-dev.29 06:22:49 v3.0.0-dev.3 06:22:49 v3.0.0-dev.30 06:22:49 v3.0.0-dev.31 06:22:49 v3.0.0-dev.32 06:22:49 v3.0.0-dev.33 06:22:49 v3.0.0-dev.4 06:22:49 v3.0.0-dev.5 06:22:49 v3.0.0-dev.6 06:22:49 v3.0.0-dev.7 06:22:49 v3.0.0-dev.8 06:22:49 v3.0.0-dev.9 [Pipeline] sh 06:22:50 + lftools sign git-tag v3.0.0-dev.33 06:22:50 Signing Git tag with Sigul... 06:22:50 Signing v3.0.0-dev.33 06:24:42 ERROR: I/O error: NSPR connection reset [Pipeline] echo 06:24:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:24:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:24:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:24:42 $ docker stop --time=1 6ebdb3d8def3b7445975788d739f229364917046928d82391d741c7894281485 06:24:43 $ docker rm -f --volumes 6ebdb3d8def3b7445975788d739f229364917046928d82391d741c7894281485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:24:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:44 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:24:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:24:44 $ docker top ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:44 [ssh-agent] Looking for ssh-agent implementation... 06:24:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:45 $ docker exec ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 ssh-agent 06:24:45 SSH_AUTH_SOCK=/tmp/ssh-nlpkxirArbVz/agent.32 06:24:45 SSH_AGENT_PID=38 06:24:45 Running ssh-add (command line suppressed) 06:24:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_273229344005657325.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_273229344005657325.key) 06:24:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:45 + git semver bump pre 06:24:45 2023-05-05 06:24:45,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:45 2023-05-05 06:24:45,678 [bump_version] DEBUG bumping version:3.0.0-dev.33 on axis:pre with prefix:dev 06:24:45 2023-05-05 06:24:45,678 [bump_version] DEBUG bumped version:3.0.0-dev.34 06:24:45 2023-05-05 06:24:45,678 [write_version] DEBUG write version:3.0.0-dev.34 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:24:45 2023-05-05 06:24:45,679 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:45 2023-05-05 06:24:45,679 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:45 2023-05-05 06:24:45,680 [execute] INFO git cat-file --batch-check 06:24:45 2023-05-05 06:24:45,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:45 2023-05-05 06:24:45,685 [execute] INFO git cat-file --batch 06:24:45 2023-05-05 06:24:45,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:45 2023-05-05 06:24:45,690 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:45 3.0.0-dev.34 [Pipeline] } 06:24:45 $ docker exec --env ******** --env ******** ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 ssh-agent -k 06:24:45 unset SSH_AUTH_SOCK; 06:24:45 unset SSH_AGENT_PID; 06:24:45 echo Agent pid 38 killed; 06:24:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:46 + git semver [Pipeline] } 06:24:46 $ docker stop --time=1 ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 06:24:47 $ docker rm -f --volumes ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 [Pipeline] // withDockerContainer [Pipeline] sh 06:24:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:48 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:24: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 06:24:48 $ docker top a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd -eo pid,comm 06:24: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). 06:24:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:48 [ssh-agent] Looking for ssh-agent implementation... 06:24:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:48 $ docker exec a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd ssh-agent 06:24:49 SSH_AUTH_SOCK=/tmp/ssh-VZqh1bzSjLrl/agent.32 06:24:49 SSH_AGENT_PID=38 06:24:49 Running ssh-add (command line suppressed) 06:24:49 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16276603231673001092.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16276603231673001092.key) 06:24:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:49 + git semver push 06:24:49 2023-05-05 06:24:49,669 [run_push] DEBUG push 06:24:49 2023-05-05 06:24:49,669 [execute] INFO git cat-file --batch-check 06:24:49 2023-05-05 06:24:49,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:49 2023-05-05 06:24:49,673 [execute] INFO git rev-list 3f041447daa236bf7dbba01d0f8d84f1a135528c -- 06:24:49 2023-05-05 06:24:49,674 [execute] DEBUG Popen(['git', 'rev-list', '3f041447daa236bf7dbba01d0f8d84f1a135528c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:24:49 2023-05-05 06:24:49,683 [execute] INFO git fetch -v origin 06:24:49 2023-05-05 06:24:49,683 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:24:50 2023-05-05 06:24:50,150 [run_push] DEBUG no remote changes detected 06:24:50 2023-05-05 06:24:50,150 [execute] INFO git push origin semver 06:24:50 2023-05-05 06:24:50,150 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:24:51 2023-05-05 06:24:50,893 [run_push] DEBUG push all version tags 06:24:51 2023-05-05 06:24:50,894 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:24:51 2023-05-05 06:24:50,894 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:24:51 2023-05-05 06:24:51,617 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:24:51 3.0.0-dev.34 [Pipeline] } 06:24:51 $ docker exec --env ******** --env ******** a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd ssh-agent -k 06:24:51 unset SSH_AUTH_SOCK; 06:24:51 unset SSH_AGENT_PID; 06:24:51 echo Agent pid 38 killed; 06:24:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:52 + git semver [Pipeline] } 06:24:52 $ docker stop --time=1 a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd 06:24:53 $ docker rm -f --volumes a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:24:54 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:24:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:24:54 total 16 06:24:54 drwxr-xr-x 3 root root 4096 May 5 06:10 . 06:24:54 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:22 .. 06:24:54 drwxr-xr-x 2 root root 4096 May 5 06:10 cost 06:24:54 -rw-r--r-- 1 root root 87 May 5 06:10 cost.csv 06:24:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:24:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:24:54 total 16 06:24:54 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:10 . 06:24:54 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:22 .. 06:24:54 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:10 cost 06:24:54 -rw-r--r-- 1 jenkins jenkins 87 May 5 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:55 ---> package-listing.sh 06:24:55 ++ facter osfamily 06:24:55 ++ tr '[:upper:]' '[:lower:]' 06:24:55 + OS_FAMILY=debian 06:24:55 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:24:55 + START_PACKAGES=/tmp/packages_start.txt 06:24:55 + END_PACKAGES=/tmp/packages_end.txt 06:24:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:55 + PACKAGES=/tmp/packages_start.txt 06:24:55 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:24:55 + PACKAGES=/tmp/packages_end.txt 06:24:55 + case "${OS_FAMILY}" in 06:24:55 + dpkg -l 06:24:55 + grep '^ii' 06:24:55 + '[' -f /tmp/packages_start.txt ']' 06:24:55 + '[' -f /tmp/packages_end.txt ']' 06:24:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:55 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:24:55 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:24:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 06:24:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:56 prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container 06:24:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:24:56 $ docker top 22075d139834119c5a1d0f5c0d890957cfbfadf194779f6a27b98bd91fd145d2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:57 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:57 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:57 + ls /var/log/sa-host 06:24:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:57 provisioning config files... 06:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8195044141110482725tmp [Pipeline] { [Pipeline] echo 06:24:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:58 ---> create-netrc.sh [Pipeline] } 06:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:58 ---> python-tools-install.sh [Pipeline] echo 06:24:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:58 ---> sudo-logs.sh 06:24:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:59 ---> job-cost.sh 06:24:59 lf-activate-venv: SKIPPING 06:24:59 DEBUG: total: 0.2199999988079071 06:24:59 INFO: Retrieving Stack Cost... 06:24:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:59 INFO: Archiving Costs [Pipeline] echo 06:24:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:25:00 ---> logs-deploy.sh 06:25:00 lf-activate-venv: SKIPPING 06:25:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/99 06:25:00 INFO: archiving workspace using pattern(s): 06:25:01 Archives upload complete. 06:25:01 INFO: archiving logs to Nexus