Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 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-ssh11750795381116992108.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9899179390820483803.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh18282725699181254716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh6355308118183020091.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-ssh17982189842284513979.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6428 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c (main) Commit message: "Merge pull request #562 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" > 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 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 > git rev-list --no-walk 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:55:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:55:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:55:58 ========================================================= 05:55:58 EdgeX Global Pipelines Version Info 05:55:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:55:59 ------------------- 05:55:59 stable info: 05:55:59 ------------------- 05:55:59 Commited By: Ginny Guan ginny@iotechsys.com 05:55:59 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:55:59 Message: update stable to v1.0.260 05:55:59 ------------------- 05:55:59 experimental info: 05:55:59 ------------------- 05:55:59 Commited By: Ginny Guan ginny@iotechsys.com 05:55:59 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:55:59 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:55:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6c4b0d [Pipeline] echo 05:56:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:00 provisioning config files... 05:56:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9611799386520128076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:00 ---> ****-login.sh 05:56:00 nexus3.edgexfoundry.org:10001 05:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:01 Configure a credential helper to remove this warning. See 05:56:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:01 05:56:01 Login Succeeded 05:56:01 nexus3.edgexfoundry.org:10002 05:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:01 Configure a credential helper to remove this warning. See 05:56:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:01 05:56:01 Login Succeeded 05:56:01 nexus3.edgexfoundry.org:10003 05:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:01 Configure a credential helper to remove this warning. See 05:56:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:01 05:56:01 Login Succeeded 05:56:01 nexus3.edgexfoundry.org:10004 05:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:01 Configure a credential helper to remove this warning. See 05:56:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:01 05:56:01 Login Succeeded 05:56:01 ****.io 05:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:01 Configure a credential helper to remove this warning. See 05:56:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:01 05:56:01 Login Succeeded 05:56:01 ---> ****-login.sh ends [Pipeline] } 05:56:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:56:02 + git rev-list -1 --merges b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c~1..b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] echo 05:56:02 -----------> git rev-list -1 --merges b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c~1..b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 05:56:02 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [false] [Pipeline] sh 05:56:02 + git log --format=format:%s -1 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] echo 05:56:02 ========================================================= 05:56:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:56:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:02 + git log --format=format:%s -1 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] echo 05:56:02 [semverPrep] GIT_COMMIT: b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c, Commit Message: Merge pull request #562 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27 [Pipeline] echo 05:56:02 [semverPrep] This is not a build commit. [Pipeline] sh 05:56:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:56:03 + grep -v github /etc/ssh/ssh_known_hosts 05:56:03 + [ -e /tmp/ssh_known_hosts ] 05:56:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:56:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:56:03 + sudo tee -a /etc/ssh/ssh_known_hosts 05:56:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:03 05:56:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:03 0.1.4: Pulling from edgex-devops/py-git-semver 05:56:03 b85a868b505f: Pulling fs layer 05:56:03 e2be974225ed: Pulling fs layer 05:56:03 339a4e72a1f5: Pulling fs layer 05:56:03 988bab9f4d93: Pulling fs layer 05:56:03 1469e6f7b9e6: Pulling fs layer 05:56:03 eaf3925da568: Pulling fs layer 05:56:03 bab4dde63d76: Pulling fs layer 05:56:03 bde34c3a00c8: Pulling fs layer 05:56:03 b352a97aabf1: Pulling fs layer 05:56:03 988bab9f4d93: Waiting 05:56:03 1469e6f7b9e6: Waiting 05:56:03 bab4dde63d76: Waiting 05:56:03 eaf3925da568: Waiting 05:56:03 bde34c3a00c8: Waiting 05:56:03 4872d77fe225: Pulling fs layer 05:56:03 5851b861e8e6: Pulling fs layer 05:56:03 b352a97aabf1: Waiting 05:56:03 4872d77fe225: Waiting 05:56:03 e2be974225ed: Download complete 05:56:03 988bab9f4d93: Download complete 05:56:03 1469e6f7b9e6: Verifying Checksum 05:56:03 1469e6f7b9e6: Download complete 05:56:03 eaf3925da568: Verifying Checksum 05:56:03 eaf3925da568: Download complete 05:56:04 339a4e72a1f5: Verifying Checksum 05:56:04 339a4e72a1f5: Download complete 05:56:04 bde34c3a00c8: Verifying Checksum 05:56:04 bde34c3a00c8: Download complete 05:56:04 b352a97aabf1: Download complete 05:56:04 4872d77fe225: Verifying Checksum 05:56:04 4872d77fe225: Download complete 05:56:04 5851b861e8e6: Verifying Checksum 05:56:04 5851b861e8e6: Download complete 05:56:04 b85a868b505f: Verifying Checksum 05:56:04 b85a868b505f: Download complete 05:56:04 bab4dde63d76: Verifying Checksum 05:56:04 bab4dde63d76: Download complete 05:56:05 b85a868b505f: Pull complete 05:56:05 e2be974225ed: Pull complete 05:56:06 339a4e72a1f5: Pull complete 05:56:06 988bab9f4d93: Pull complete 05:56:06 1469e6f7b9e6: Pull complete 05:56:06 eaf3925da568: Pull complete 05:56:08 bab4dde63d76: Pull complete 05:56:08 bde34c3a00c8: Pull complete 05:56:08 b352a97aabf1: Pull complete 05:56:08 4872d77fe225: Pull complete 05:56:08 5851b861e8e6: Pull complete 05:56:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:56:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:08 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 05:56:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:56:12 $ docker top c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 -eo pid,comm 05:56:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:56:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:12 [ssh-agent] Looking for ssh-agent implementation... 05:56:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:12 $ docker exec c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 ssh-agent 05:56:12 SSH_AUTH_SOCK=/tmp/ssh-oSou1XuCv0m8/agent.32 05:56:12 SSH_AGENT_PID=38 05:56:12 Running ssh-add (command line suppressed) 05:56:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16286001276461145380.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16286001276461145380.key) 05:56:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:12 + git tag --points-at HEAD [Pipeline] } 05:56:12 $ docker exec --env ******** --env ******** c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 ssh-agent -k 05:56:12 unset SSH_AUTH_SOCK; 05:56:12 unset SSH_AGENT_PID; 05:56:12 echo Agent pid 38 killed; 05:56:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:12 [ssh-agent] Looking for ssh-agent implementation... 05:56:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:13 $ docker exec c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 ssh-agent 05:56:13 SSH_AUTH_SOCK=/tmp/ssh-X7fxd55JQkTQ/agent.71 05:56:13 SSH_AGENT_PID=77 05:56:13 Running ssh-add (command line suppressed) 05:56:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3629512155667954873.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3629512155667954873.key) 05:56:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:13 + git semver init 05:56:13 2024-07-25 05:56:13,748 [run_init] DEBUG init version:0.0.0 force:False 05:56:13 2024-07-25 05:56:13,749 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:56:13 2024-07-25 05:56:13,749 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:56:13 2024-07-25 05:56:13,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 05:56:15 2024-07-25 05:56:14,820 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:56:15 2024-07-25 05:56:14,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:56:15 2024-07-25 05:56:14,821 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:15 2024-07-25 05:56:14,821 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:56:15 3.2.0-dev.19 [Pipeline] } 05:56:15 $ docker exec --env ******** --env ******** c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 ssh-agent -k 05:56:15 unset SSH_AUTH_SOCK; 05:56:15 unset SSH_AGENT_PID; 05:56:15 echo Agent pid 77 killed; 05:56:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:56:15 + git semver [Pipeline] } 05:56:15 $ docker stop --time=1 c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 05:56:17 $ docker rm -f --volumes c26ea02fd99d46dbcd7b7d074e3a5794e2434c6bad4a53e54a6bd3add5bfe149 [Pipeline] // withDockerContainer [Pipeline] sh 05:56:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:56:17 Stashed 1 file(s) [Pipeline] echo 05:56:17 [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:18 provisioning config files... 05:56:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config419841186504450088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:18 ---> ****-login.sh 05:56:18 nexus3.edgexfoundry.org:10001 05:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 nexus3.edgexfoundry.org:10002 05:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 nexus3.edgexfoundry.org:10003 05:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 nexus3.edgexfoundry.org:10004 05:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 ****.io 05:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 ---> ****-login.sh ends [Pipeline] } 05:56:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:56:18 ========================================================= 05:56:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:56:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:56:19 Sending build context to Docker daemon 17.86MB 05:56:19 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:56:19 Step 2/10 : FROM ${BASE} AS builder 05:56:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:56:19 619be1103602: Pulling fs layer 05:56:19 7862e08f4a3e: Pulling fs layer 05:56:19 5df492c9dc93: Pulling fs layer 05:56:19 7629e6793208: Pulling fs layer 05:56:19 4f4fb700ef54: Pulling fs layer 05:56:19 fb5054dd5b73: Pulling fs layer 05:56:19 eeca6798cff9: Pulling fs layer 05:56:19 aa269ceb94a6: Pulling fs layer 05:56:19 ada007ff1a6a: Pulling fs layer 05:56:19 7629e6793208: Waiting 05:56:19 4f4fb700ef54: Waiting 05:56:19 fb5054dd5b73: Waiting 05:56:19 aa269ceb94a6: Waiting 05:56:19 ada007ff1a6a: Waiting 05:56:19 7862e08f4a3e: Download complete 05:56:19 7629e6793208: Download complete 05:56:19 4f4fb700ef54: Verifying Checksum 05:56:19 4f4fb700ef54: Download complete 05:56:19 fb5054dd5b73: Verifying Checksum 05:56:19 fb5054dd5b73: Download complete 05:56:19 619be1103602: Verifying Checksum 05:56:19 619be1103602: Download complete 05:56:19 eeca6798cff9: Verifying Checksum 05:56:19 eeca6798cff9: Download complete 05:56:19 619be1103602: Pull complete 05:56:19 ada007ff1a6a: Verifying Checksum 05:56:19 ada007ff1a6a: Download complete 05:56:19 7862e08f4a3e: Pull complete 05:56:19 5df492c9dc93: Verifying Checksum 05:56:19 5df492c9dc93: Download complete 05:56:20 aa269ceb94a6: Verifying Checksum 05:56:20 aa269ceb94a6: Download complete 05:56:23 5df492c9dc93: Pull complete 05:56:23 7629e6793208: Pull complete 05:56:23 4f4fb700ef54: Pull complete 05:56:23 fb5054dd5b73: Pull complete 05:56:23 eeca6798cff9: Pull complete 05:56:26 aa269ceb94a6: Pull complete 05:56:26 ada007ff1a6a: Pull complete 05:56:26 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:56:26 ---> f489d0715acc 05:56:26 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:56:32 ---> Running in 2723a6e1e2ae 05:56:32 Removing intermediate container 2723a6e1e2ae 05:56:32 ---> a2c2ed16fbaf 05:56:32 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:56:32 ---> Running in 58810e98f920 05:56:32 Removing intermediate container 58810e98f920 05:56:32 ---> cbeda9e5ef59 05:56:32 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:56:32 ---> Running in 65266d94ac0f 05:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:56:32 (1/8) Installing openssh-keygen (9.3_p2-r2) 05:56:32 (2/8) Installing libedit (20221030.3.1-r1) 05:56:32 (3/8) Installing openssh-client-common (9.3_p2-r2) 05:56:32 (4/8) Installing openssh-client-default (9.3_p2-r2) 05:56:32 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 05:56:32 (6/8) Installing openssh-server-common (9.3_p2-r2) 05:56:32 (7/8) Installing openssh-server (9.3_p2-r2) 05:56:32 (8/8) Installing openssh (9.3_p2-r2) 05:56:32 Executing busybox-1.36.1-r5.trigger 05:56:32 OK: 270 MiB in 60 packages 05:56:32 Removing intermediate container 65266d94ac0f 05:56:32 ---> c91d37373b75 05:56:32 Step 6/10 : WORKDIR /device-modbus-go 05:56:32 ---> Running in 4bc955726f2c 05:56:32 Removing intermediate container 4bc955726f2c 05:56:32 ---> 128c1c9cabd3 05:56:32 Step 7/10 : COPY go.mod vendor* ./ 05:56:32 ---> 51b049ac6576 05:56:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:56:32 ---> Running in dbe238a7f43a 05:56:32 Still waiting to schedule task 05:56:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:57:19 Removing intermediate container dbe238a7f43a 05:57:19 ---> 1200ab2a802f 05:57:19 Step 9/10 : COPY . . 05:57:19 ---> 76e936538e3c 05:57:19 Step 10/10 : RUN ${MAKE} 05:57:19 ---> Running in 49b7ebb2980a 05:57:19 noop 05:57:19 Removing intermediate container 49b7ebb2980a 05:57:19 ---> f7fb4deae04e 05:57:19 Successfully built f7fb4deae04e 05:57:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:20 + docker inspect -f . ci-base-image-x86_64 05:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:20 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 05:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:57:20 $ docker top 59ffb67feba1c437aa8416707067c9b22a9eafb932b405815e4f3edec563b7a3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:20 + go version 05:57:20 go version go1.21.9 linux/amd64 [Pipeline] } 05:57:20 $ docker stop --time=1 59ffb67feba1c437aa8416707067c9b22a9eafb932b405815e4f3edec563b7a3 05:57:22 $ docker rm -f --volumes 59ffb67feba1c437aa8416707067c9b22a9eafb932b405815e4f3edec563b7a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:22 + docker inspect -f . ci-base-image-x86_64 05:57:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:22 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 05:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:57:23 $ docker top ccd1b9fb2dbd4e91d57d40985333389d6ad1072a352a9bc72752b811a8737c11 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:57:23 + make test 05:57:23 go test ./... -coverprofile=coverage.out 05:57:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:57:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:57:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 05:57:53 go vet ./... 05:57:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:57:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:57:58 ./bin/test-attribution-txt.sh 05:57:58 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 05:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:57:58 $ docker stop --time=1 ccd1b9fb2dbd4e91d57d40985333389d6ad1072a352a9bc72752b811a8737c11 05:58:02 $ docker rm -f --volumes ccd1b9fb2dbd4e91d57d40985333389d6ad1072a352a9bc72752b811a8737c11 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:03 + ls -al . 05:58:03 total 272 05:58:03 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 05:57 . 05:58:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 05:55 .. 05:58:03 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 05:55 .dockerignore 05:58:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 05:57 .git 05:58:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:55 .github 05:58:03 -rw-rw-r-- 1 jenkins jenkins 266 Jul 25 05:55 .gitignore 05:58:03 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 05:55 .golangci.yml 05:58:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 05:56 .semver 05:58:03 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 25 05:55 Attribution.txt 05:58:03 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 25 05:55 CHANGELOG.md 05:58:03 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 25 05:55 Dockerfile 05:58:03 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 05:55 GOVERNANCE.md 05:58:03 -rw-rw-r-- 1 jenkins jenkins 658 Jul 25 05:55 Jenkinsfile 05:58:03 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 05:55 LICENSE 05:58:03 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 25 05:55 Makefile 05:58:03 -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 05:55 OWNERS.md 05:58:03 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 25 05:55 README.md 05:58:03 -rw-rw-r-- 1 jenkins jenkins 12 Jul 25 05:56 VERSION 05:58:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 05:55 bin 05:58:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:55 cmd 05:58:03 -rw-r--r-- 1 jenkins jenkins 24601 Jul 25 05:57 coverage.out 05:58:03 -rw-rw-r-- 1 jenkins jenkins 7185 Jul 25 05:55 go.mod 05:58:03 -rw-rw-r-- 1 jenkins jenkins 102015 Jul 25 05:55 go.sum 05:58:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 05:55 internal 05:58:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 05:55 simulator 05:58:03 -rw-rw-r-- 1 jenkins jenkins 229 Jul 25 05:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:03 + 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=b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c --label arch=amd64 --label version=3.2.0-dev.19 . 05:58:03 Sending build context to Docker daemon 17.89MB 05:58:03 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:58:03 Step 2/23 : FROM ${BASE} AS builder 05:58:03 ---> f7fb4deae04e 05:58:03 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:58:04 ---> Running in ac901492f774 05:58:04 Removing intermediate container ac901492f774 05:58:04 ---> 5f5419e172f8 05:58:04 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:04 ---> Running in eef0a1efa77e 05:58:04 Removing intermediate container eef0a1efa77e 05:58:04 ---> a787e48138d9 05:58:04 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:58:04 ---> Running in 71aadb44454e 05:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:58:04 OK: 270 MiB in 60 packages 05:58:05 Removing intermediate container 71aadb44454e 05:58:05 ---> 221bc14703ac 05:58:05 Step 6/23 : WORKDIR /device-modbus-go 05:58:05 ---> Running in 4868beb35923 05:58:05 Removing intermediate container 4868beb35923 05:58:05 ---> 6a9a26f5364f 05:58:05 Step 7/23 : COPY go.mod vendor* ./ 05:58:05 ---> a4d2e921f651 05:58:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:05 ---> Running in 3a4c6a8bfb8c 05:58:06 Removing intermediate container 3a4c6a8bfb8c 05:58:06 ---> f74066e5ef42 05:58:06 Step 9/23 : COPY . . 05:58:06 ---> 07d36ff419b1 05:58:06 Step 10/23 : RUN ${MAKE} 05:58:06 ---> Running in 47e1a18dc1ae 05:58:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:58:39 Removing intermediate container 47e1a18dc1ae 05:58:39 ---> 6eea2de8625f 05:58:39 Step 11/23 : FROM alpine:3.18 05:58:39 3.18: Pulling from library/alpine 05:58:39 930bdd4d222e: Pulling fs layer 05:58:39 930bdd4d222e: Verifying Checksum 05:58:39 930bdd4d222e: Download complete 05:58:39 930bdd4d222e: Pull complete 05:58:39 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:58:39 Status: Downloaded newer image for alpine:3.18 05:58:39 ---> 18f865063206 05:58:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:58:39 ---> Running in 52b143f1464f 05:58:39 Removing intermediate container 52b143f1464f 05:58:39 ---> 437289307d4e 05:58:39 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:58:39 ---> Running in f222aa340458 05:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:58:39 (1/1) Installing dumb-init (1.2.5-r2) 05:58:39 Executing busybox-1.36.1-r7.trigger 05:58:39 OK: 7 MiB in 16 packages 05:58:39 Removing intermediate container f222aa340458 05:58:39 ---> 09416decaca1 05:58:39 Step 14/23 : RUN apk --no-cache upgrade 05:58:39 ---> Running in fb24d685eb03 05:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:58:39 OK: 7 MiB in 16 packages 05:58:39 Removing intermediate container fb24d685eb03 05:58:39 ---> 5d3477fc415b 05:58:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:58:40 ---> ef4cd981b70f 05:58:40 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:58:40 ---> 2ff3e0c0257e 05:58:40 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:58:40 ---> b410fa454dc5 05:58:40 Step 18/23 : EXPOSE 59901 05:58:40 ---> Running in 19df3482f7a3 05:58:40 Removing intermediate container 19df3482f7a3 05:58:40 ---> 0f3e958ef51c 05:58:40 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:58:40 ---> Running in 0fe7537b057c 05:58:40 Removing intermediate container 0fe7537b057c 05:58:40 ---> c6192e3ac61b 05:58:40 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:58:40 ---> Running in ced9e9841ab0 05:58:40 Removing intermediate container ced9e9841ab0 05:58:40 ---> 39fe22d8fbe5 05:58:40 Step 21/23 : LABEL arch=amd64 05:58:40 ---> Running in f99e90fa3a52 05:58:41 Removing intermediate container f99e90fa3a52 05:58:41 ---> 6ff98abf9b4f 05:58:41 Step 22/23 : LABEL git_sha=b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 05:58:41 ---> Running in 040948434bc8 05:58:41 Removing intermediate container 040948434bc8 05:58:41 ---> d6db44dad686 05:58:41 Step 23/23 : LABEL version=3.2.0-dev.19 05:58:41 ---> Running in d4132c4b4fb2 05:58:41 Removing intermediate container d4132c4b4fb2 05:58:41 ---> d3a74c2c0db2 05:58:41 [Warning] One or more build-args [ARCH] were not consumed 05:58:41 Successfully built d3a74c2c0db2 05:58:41 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:41 provisioning config files... 05:58:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4293458181310113093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:41 ---> ****-login.sh 05:58:41 nexus3.edgexfoundry.org:10001 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 nexus3.edgexfoundry.org:10002 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 nexus3.edgexfoundry.org:10003 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 nexus3.edgexfoundry.org:10004 05:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:41 Configure a credential helper to remove this warning. See 05:58:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:41 05:58:41 Login Succeeded 05:58:41 ****.io 05:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:42 Configure a credential helper to remove this warning. See 05:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:42 05:58:42 Login Succeeded 05:58:42 ---> ****-login.sh ends [Pipeline] } 05:58:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:58:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:58:42 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:58:42 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 05:58:42 latest 05:58:42 3.2.0-dev.19 05:58:42 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 05:58:42 main 05:58:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 05:58:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:58:42 ac66f9ddd41f: Preparing 05:58:42 dd18b16305e2: Preparing 05:58:42 56dd31d0250f: Preparing 05:58:42 5227a0629136: Preparing 05:58:42 f77a11d1fd7f: Preparing 05:58:42 ce7f800efff9: Preparing 05:58:42 ce7f800efff9: Waiting 05:58:42 ac66f9ddd41f: Pushed 05:58:42 5227a0629136: Pushed 05:58:42 dd18b16305e2: Pushed 05:58:42 f77a11d1fd7f: Pushed 05:58:42 ce7f800efff9: Layer already exists 05:58:46 56dd31d0250f: Pushed 05:58:46 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c: digest: sha256:c3f9527fcb66156ccbeb4ab8515f5e587f463cbb8e4211e6bd80e2bde23980db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:46 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:58:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:58:46 ac66f9ddd41f: Preparing 05:58:46 dd18b16305e2: Preparing 05:58:46 56dd31d0250f: Preparing 05:58:46 5227a0629136: Preparing 05:58:46 f77a11d1fd7f: Preparing 05:58:46 ce7f800efff9: Preparing 05:58:46 ce7f800efff9: Waiting 05:58:46 f77a11d1fd7f: Layer already exists 05:58:46 dd18b16305e2: Layer already exists 05:58:46 ac66f9ddd41f: Layer already exists 05:58:46 5227a0629136: Layer already exists 05:58:46 56dd31d0250f: Layer already exists 05:58:46 ce7f800efff9: Layer already exists 05:58:46 latest: digest: sha256:c3f9527fcb66156ccbeb4ab8515f5e587f463cbb8e4211e6bd80e2bde23980db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.19 05:58:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:58:47 ac66f9ddd41f: Preparing 05:58:47 dd18b16305e2: Preparing 05:58:47 56dd31d0250f: Preparing 05:58:47 5227a0629136: Preparing 05:58:47 f77a11d1fd7f: Preparing 05:58:47 ce7f800efff9: Preparing 05:58:47 ce7f800efff9: Waiting 05:58:47 56dd31d0250f: Layer already exists 05:58:47 f77a11d1fd7f: Layer already exists 05:58:47 5227a0629136: Layer already exists 05:58:47 ac66f9ddd41f: Layer already exists 05:58:47 dd18b16305e2: Layer already exists 05:58:47 ce7f800efff9: Layer already exists 05:58:47 3.2.0-dev.19: digest: sha256:c3f9527fcb66156ccbeb4ab8515f5e587f463cbb8e4211e6bd80e2bde23980db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 05:58:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:58:48 ac66f9ddd41f: Preparing 05:58:48 dd18b16305e2: Preparing 05:58:48 56dd31d0250f: Preparing 05:58:48 5227a0629136: Preparing 05:58:48 f77a11d1fd7f: Preparing 05:58:48 ce7f800efff9: Preparing 05:58:48 ce7f800efff9: Waiting 05:58:48 5227a0629136: Layer already exists 05:58:48 56dd31d0250f: Layer already exists 05:58:48 f77a11d1fd7f: Layer already exists 05:58:48 dd18b16305e2: Layer already exists 05:58:48 ac66f9ddd41f: Layer already exists 05:58:48 ce7f800efff9: Layer already exists 05:58:48 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19: digest: sha256:c3f9527fcb66156ccbeb4ab8515f5e587f463cbb8e4211e6bd80e2bde23980db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:58:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:58:48 ac66f9ddd41f: Preparing 05:58:48 dd18b16305e2: Preparing 05:58:48 56dd31d0250f: Preparing 05:58:48 5227a0629136: Preparing 05:58:48 f77a11d1fd7f: Preparing 05:58:48 ce7f800efff9: Preparing 05:58:48 ce7f800efff9: Waiting 05:58:48 ac66f9ddd41f: Layer already exists 05:58:48 5227a0629136: Layer already exists 05:58:48 dd18b16305e2: Layer already exists 05:58:48 56dd31d0250f: Layer already exists 05:58:48 f77a11d1fd7f: Layer already exists 05:58:48 ce7f800efff9: Layer already exists 05:58:48 main: digest: sha256:c3f9527fcb66156ccbeb4ab8515f5e587f463cbb8e4211e6bd80e2bde23980db size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:58:48 ===================================================== [Pipeline] echo 05:58:48 taggedImages: 05:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 05:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.19 05:58:48 - nexus3.edgexfoundry.org:10004/device-modbus:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 05:58:48 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:49 05:58:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:49 latest: Pulling from edgex-lftools-log-publisher 05:58:49 5eb5b503b376: Pulling fs layer 05:58:49 5c69ac0246d0: Pulling fs layer 05:58:49 ec43610c2a17: Pulling fs layer 05:58:49 3a2ae6a8a46f: Pulling fs layer 05:58:49 33b1e0a273af: Pulling fs layer 05:58:49 5d3b04190fa2: Pulling fs layer 05:58:49 2f39f015ded8: Pulling fs layer 05:58:49 33b1e0a273af: Waiting 05:58:49 3a2ae6a8a46f: Waiting 05:58:49 5d3b04190fa2: Waiting 05:58:49 2f39f015ded8: Waiting 05:58:49 5c69ac0246d0: Download complete 05:58:49 3a2ae6a8a46f: Verifying Checksum 05:58:49 3a2ae6a8a46f: Download complete 05:58:49 33b1e0a273af: Verifying Checksum 05:58:49 33b1e0a273af: Download complete 05:58:49 5d3b04190fa2: Download complete 05:58:49 ec43610c2a17: Verifying Checksum 05:58:49 ec43610c2a17: Download complete 05:58:49 5eb5b503b376: Verifying Checksum 05:58:49 5eb5b503b376: Download complete 05:58:50 2f39f015ded8: Download complete 05:58:51 5eb5b503b376: Pull complete 05:58:51 5c69ac0246d0: Pull complete 05:58:51 ec43610c2a17: Pull complete 05:58:51 3a2ae6a8a46f: Pull complete 05:58:51 33b1e0a273af: Pull complete 05:58:52 5d3b04190fa2: Pull complete 05:58:56 2f39f015ded8: Pull complete 05:58:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:56 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 05:58:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:59:00 $ docker top a984e23853b04f11c9f8efd1084236e68a09fa06712534e1d2a6ebca6fb30a58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:01 ---> job-cost.sh 05:59:01 lf-activate-venv: SKIPPING 05:59:01 INFO: No Stack... 05:59:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:59:01 INFO: Archiving Costs [Pipeline] sh 05:59:02 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 05:59:02 + cut -d, -f6 [Pipeline] lock 05:59:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] 05:59:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] did not exist. Created. 05:59:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:59:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:59:02 Stashed 1 file(s) [Pipeline] } 05:59:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 05:59:02 $ docker stop --time=1 a984e23853b04f11c9f8efd1084236e68a09fa06712534e1d2a6ebca6fb30a58 05:59:03 $ docker rm -f --volumes a984e23853b04f11c9f8efd1084236e68a09fa06712534e1d2a6ebca6fb30a58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:59:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6429 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:59:48 Running in /w/workspace/device-modbus-go/158 [Pipeline] { [Pipeline] checkout 05:59:51 The recommended git tool is: git 05:59:59 using credential edgex-jenkins-ssh 05:59:59 Cloning the remote Git repository 05:59:59 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:59:59 > git init /w/workspace/device-modbus-go/158 # timeout=10 05:59:59 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:59:59 > git --version # timeout=10 05:59:59 > git --version # 'git version 2.25.1' 05:59:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:00:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:03 Avoid second fetch 06:00:03 Checking out Revision b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c (main) 06:00:04 Commit message: "Merge pull request #562 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.27" 06:00:03 > git config core.sparsecheckout # timeout=10 06:00:03 > git checkout -f b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:00:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:09 Dload Upload Total Spent Left Speed 06:00:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 06:00:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:00:10 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:00:10 06:00:10 { 06:00:10 "registry-mirrors": [ 06:00:10 "https://nexus3.edgexfoundry.org:10001" 06:00:10 ], 06:00:10 "bip": "10.250.0.254/24", 06:00:10 "hosts": [ 06:00:10 "tcp://0.0.0.0:5555", 06:00:10 "unix:///var/run/docker.sock" 06:00:10 ], 06:00:10 "mtu": 1458, 06:00:10 "selinux-enabled": true, 06:00:10 "seccomp-profile": "/etc/docker/seccomp.json" 06:00:10 } [Pipeline] sh 06:00:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:00:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:34 provisioning config files... 06:00:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/158@tmp/config14401187647985115831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:35 ---> ****-login.sh 06:00:35 nexus3.edgexfoundry.org:10001 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:35 Configure a credential helper to remove this warning. See 06:00:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:35 06:00:35 Login Succeeded 06:00:35 nexus3.edgexfoundry.org:10002 06:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:36 Configure a credential helper to remove this warning. See 06:00:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:36 06:00:36 Login Succeeded 06:00:36 nexus3.edgexfoundry.org:10003 06:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:36 Configure a credential helper to remove this warning. See 06:00:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:36 06:00:36 Login Succeeded 06:00:36 nexus3.edgexfoundry.org:10004 06:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:36 Configure a credential helper to remove this warning. See 06:00:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:36 06:00:36 Login Succeeded 06:00:36 ****.io 06:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:37 Configure a credential helper to remove this warning. See 06:00:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:37 06:00:37 Login Succeeded 06:00:37 ---> ****-login.sh ends [Pipeline] } 06:00:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:00:37 ========================================================= 06:00:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:00:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:00:38 Sending build context to Docker daemon 9.069MB 06:00:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:00:38 Step 2/10 : FROM ${BASE} AS builder 06:00:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:00:38 c6b39de5b339: Pulling fs layer 06:00:38 a69c41024577: Pulling fs layer 06:00:38 d6de4b400683: Pulling fs layer 06:00:38 35cb2a7552d0: Pulling fs layer 06:00:38 4f4fb700ef54: Pulling fs layer 06:00:38 464afbd9ba4c: Pulling fs layer 06:00:38 00f215d4a9da: Pulling fs layer 06:00:38 d496ad576159: Pulling fs layer 06:00:38 35cb2a7552d0: Waiting 06:00:38 4f4fb700ef54: Waiting 06:00:38 464afbd9ba4c: Waiting 06:00:38 00f215d4a9da: Waiting 06:00:38 d496ad576159: Waiting 06:00:38 a69c41024577: Download complete 06:00:38 35cb2a7552d0: Verifying Checksum 06:00:38 35cb2a7552d0: Download complete 06:00:38 4f4fb700ef54: Verifying Checksum 06:00:38 4f4fb700ef54: Download complete 06:00:38 c6b39de5b339: Verifying Checksum 06:00:38 c6b39de5b339: Download complete 06:00:38 464afbd9ba4c: Verifying Checksum 06:00:38 464afbd9ba4c: Download complete 06:00:39 d496ad576159: Verifying Checksum 06:00:39 d496ad576159: Download complete 06:00:39 c6b39de5b339: Pull complete 06:00:40 a69c41024577: Pull complete 06:00:40 d6de4b400683: Verifying Checksum 06:00:40 d6de4b400683: Download complete 06:00:42 00f215d4a9da: Verifying Checksum 06:00:42 00f215d4a9da: Download complete 06:00:54 d6de4b400683: Pull complete 06:00:54 35cb2a7552d0: Pull complete 06:00:54 4f4fb700ef54: Pull complete 06:00:54 464afbd9ba4c: Pull complete 06:01:04 00f215d4a9da: Pull complete 06:01:04 d496ad576159: Pull complete 06:01:04 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:01:04 ---> f246e2811388 06:01:04 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:01:05 ---> Running in 39e1a1ba666a 06:01:06 Removing intermediate container 39e1a1ba666a 06:01:06 ---> 3f62da3b5ecd 06:01:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:06 ---> Running in 19c137f49da2 06:01:07 Removing intermediate container 19c137f49da2 06:01:07 ---> f8c545ed17d6 06:01:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:01:07 ---> Running in 52624eeb066d 06:01:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:01:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:01:10 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:01:10 (2/8) Installing libedit (20221030.3.1-r1) 06:01:10 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:01:10 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:01:10 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:01:10 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:01:10 (7/8) Installing openssh-server (9.3_p2-r2) 06:01:10 (8/8) Installing openssh (9.3_p2-r2) 06:01:10 Executing busybox-1.36.1-r5.trigger 06:01:10 OK: 272 MiB in 60 packages 06:01:11 Removing intermediate container 52624eeb066d 06:01:11 ---> 55b8a141c240 06:01:11 Step 6/10 : WORKDIR /device-modbus-go 06:01:11 ---> Running in 438be1e1d223 06:01:11 Removing intermediate container 438be1e1d223 06:01:11 ---> 7ad6b1e9f631 06:01:11 Step 7/10 : COPY go.mod vendor* ./ 06:01:12 ---> f5adcc517a78 06:01:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:12 ---> Running in c3cbbdc73aa4 06:03:04 Removing intermediate container c3cbbdc73aa4 06:03:04 ---> 5db534de20a4 06:03:04 Step 9/10 : COPY . . 06:03:04 ---> 96ae235d8198 06:03:04 Step 10/10 : RUN ${MAKE} 06:03:04 ---> Running in 627381884c15 06:03:04 noop 06:03:04 Removing intermediate container 627381884c15 06:03:04 ---> a3d1f565572d 06:03:04 Successfully built a3d1f565572d 06:03:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:04 + docker inspect -f . ci-base-image-arm64 06:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:04 prd-ubuntu20.04-docker-arm64-4c-16g-6429 does not seem to be running inside a container 06:03:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/158 -v /w/workspace/device-modbus-go/158:/w/workspace/device-modbus-go/158:rw,z -v /w/workspace/device-modbus-go/158@tmp:/w/workspace/device-modbus-go/158@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:03:05 $ docker top 7ec1c02abe94c43fb6375c9a7d797ba047dedd0275d8f93331cbfa746ed17801 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:06 + go version 06:03:06 go version go1.21.9 linux/arm64 [Pipeline] } 06:03:06 $ docker stop --time=1 7ec1c02abe94c43fb6375c9a7d797ba047dedd0275d8f93331cbfa746ed17801 06:03:08 $ docker rm -f --volumes 7ec1c02abe94c43fb6375c9a7d797ba047dedd0275d8f93331cbfa746ed17801 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:08 + docker inspect -f . ci-base-image-arm64 06:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:09 prd-ubuntu20.04-docker-arm64-4c-16g-6429 does not seem to be running inside a container 06:03:09 $ 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/158 -v /w/workspace/device-modbus-go/158:/w/workspace/device-modbus-go/158:rw,z -v /w/workspace/device-modbus-go/158@tmp:/w/workspace/device-modbus-go/158@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:03:10 $ docker top d24c1c7b8d3c53f872c5271758f1803ae09d467e90f20bcff6768e6e1fb60058 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:10 + git config --global --add safe.directory /w/workspace/device-modbus-go/158 [Pipeline] fileExists [Pipeline] sh 06:03:11 + make test 06:03:11 go test ./... -coverprofile=coverage.out 06:03:16 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:06:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:06:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 47.9% of statements 06:06:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:06:25 go vet ./... 06:07:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:12 ./bin/test-attribution-txt.sh 06:07:12 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:07:12 $ docker stop --time=1 d24c1c7b8d3c53f872c5271758f1803ae09d467e90f20bcff6768e6e1fb60058 06:07:14 $ docker rm -f --volumes d24c1c7b8d3c53f872c5271758f1803ae09d467e90f20bcff6768e6e1fb60058 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:15 Warning: overwriting stash ‘coverage-report’ 06:07:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:17 + ls -al . 06:07:17 total 268 06:07:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 06:03 . 06:07:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 05:59 .. 06:07:17 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 06:00 .dockerignore 06:07:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 06:00 .git 06:07:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 06:00 .github 06:07:17 -rw-rw-r-- 1 jenkins jenkins 266 Jul 25 06:00 .gitignore 06:07:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 06:00 .golangci.yml 06:07:17 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 25 06:00 Attribution.txt 06:07:17 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 25 06:00 CHANGELOG.md 06:07:17 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 25 06:00 Dockerfile 06:07:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 06:00 GOVERNANCE.md 06:07:17 -rw-rw-r-- 1 jenkins jenkins 658 Jul 25 06:00 Jenkinsfile 06:07:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 06:00 LICENSE 06:07:17 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 25 06:00 Makefile 06:07:17 -rw-rw-r-- 1 jenkins jenkins 622 Jul 25 06:00 OWNERS.md 06:07:17 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 25 06:00 README.md 06:07:17 -rw-rw-r-- 1 jenkins jenkins 12 Jul 25 05:56 VERSION 06:07:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 06:00 bin 06:07:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 06:00 cmd 06:07:17 -rw-r--r-- 1 jenkins jenkins 24601 Jul 25 06:06 coverage.out 06:07:17 -rw-rw-r-- 1 jenkins jenkins 7185 Jul 25 06:00 go.mod 06:07:17 -rw-rw-r-- 1 jenkins jenkins 102015 Jul 25 06:00 go.sum 06:07:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 06:00 internal 06:07:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 06:00 simulator 06:07:17 -rw-rw-r-- 1 jenkins jenkins 229 Jul 25 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:17 + 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=b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c --label arch=arm64 --label version=3.2.0-dev.19 . 06:07:18 Sending build context to Docker daemon 9.095MB 06:07:18 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:07:18 Step 2/23 : FROM ${BASE} AS builder 06:07:18 ---> a3d1f565572d 06:07:18 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:07:18 ---> Running in 08ba8be118b8 06:07:18 Removing intermediate container 08ba8be118b8 06:07:18 ---> d2aadaad2615 06:07:18 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:18 ---> Running in 70bde6223741 06:07:18 Removing intermediate container 70bde6223741 06:07:18 ---> 74cc4ab5d149 06:07:18 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:07:18 ---> Running in ce102c69ab2f 06:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:07:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:07:20 OK: 272 MiB in 60 packages 06:07:21 Removing intermediate container ce102c69ab2f 06:07:21 ---> d76e5ed9b181 06:07:21 Step 6/23 : WORKDIR /device-modbus-go 06:07:21 ---> Running in 73a7ad4d33a6 06:07:22 Removing intermediate container 73a7ad4d33a6 06:07:22 ---> 0ba26681d149 06:07:22 Step 7/23 : COPY go.mod vendor* ./ 06:07:22 ---> f5fc65591869 06:07:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:22 ---> Running in da5766ff4434 06:07:25 Removing intermediate container da5766ff4434 06:07:25 ---> dbe0b0ded2c6 06:07:25 Step 9/23 : COPY . . 06:07:25 ---> 1471f6a346e6 06:07:25 Step 10/23 : RUN ${MAKE} 06:07:26 ---> Running in 888d484ad16c 06:07:27 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:10:49 Removing intermediate container 888d484ad16c 06:10:49 ---> 1486053eb6fb 06:10:49 Step 11/23 : FROM alpine:3.18 06:10:49 3.18: Pulling from library/alpine 06:10:49 4983c3fe2029: Pulling fs layer 06:10:49 4983c3fe2029: Verifying Checksum 06:10:49 4983c3fe2029: Download complete 06:10:49 4983c3fe2029: Pull complete 06:10:49 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:10:49 Status: Downloaded newer image for alpine:3.18 06:10:49 ---> a0237000ae83 06:10:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:10:49 ---> Running in 62aa5673e64f 06:10:49 Removing intermediate container 62aa5673e64f 06:10:49 ---> 0cdf98f73d87 06:10:49 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:10:49 ---> Running in 446ba6936e59 06:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:10:49 (1/1) Installing dumb-init (1.2.5-r2) 06:10:49 Executing busybox-1.36.1-r7.trigger 06:10:49 OK: 8 MiB in 16 packages 06:10:49 Removing intermediate container 446ba6936e59 06:10:49 ---> 3310262ae541 06:10:49 Step 14/23 : RUN apk --no-cache upgrade 06:10:49 ---> Running in 0638f81e2eac 06:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:10:49 OK: 8 MiB in 16 packages 06:10:49 Removing intermediate container 0638f81e2eac 06:10:49 ---> eb89998c24e2 06:10:49 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:10:49 ---> 45ba1812eda5 06:10:49 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:10:49 ---> 62f4e17d2829 06:10:49 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:10:50 ---> 0c014d3a228a 06:10:50 Step 18/23 : EXPOSE 59901 06:10:50 ---> Running in b4d3eff9006e 06:10:50 Removing intermediate container b4d3eff9006e 06:10:50 ---> f1a9d415ec55 06:10:50 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:10:50 ---> Running in dcaa33055a7f 06:10:51 Removing intermediate container dcaa33055a7f 06:10:51 ---> 96297ed18bf8 06:10:51 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:10:51 ---> Running in eb5f6d2e6fcd 06:10:51 Removing intermediate container eb5f6d2e6fcd 06:10:51 ---> 5f513be474b1 06:10:51 Step 21/23 : LABEL arch=arm64 06:10:51 ---> Running in 1ae1e14b64b6 06:10:51 Removing intermediate container 1ae1e14b64b6 06:10:51 ---> 70712a7c8781 06:10:51 Step 22/23 : LABEL git_sha=b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 06:10:51 ---> Running in d29e0b13e40f 06:10:52 Removing intermediate container d29e0b13e40f 06:10:52 ---> 197ae6d64f4c 06:10:52 Step 23/23 : LABEL version=3.2.0-dev.19 06:10:52 ---> Running in 856daa70d4a0 06:10:52 Removing intermediate container 856daa70d4a0 06:10:52 ---> 16b4d0116414 06:10:52 [Warning] One or more build-args [ARCH] were not consumed 06:10:52 Successfully built 16b4d0116414 06:10:52 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:10:52 provisioning config files... 06:10:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/158@tmp/config4986120313375030120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:52 ---> ****-login.sh 06:10:52 nexus3.edgexfoundry.org:10001 06:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:53 Configure a credential helper to remove this warning. See 06:10:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:53 06:10:53 Login Succeeded 06:10:53 nexus3.edgexfoundry.org:10002 06:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:53 Configure a credential helper to remove this warning. See 06:10:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:53 06:10:53 Login Succeeded 06:10:53 nexus3.edgexfoundry.org:10003 06:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:53 Configure a credential helper to remove this warning. See 06:10:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:53 06:10:53 Login Succeeded 06:10:53 nexus3.edgexfoundry.org:10004 06:10:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 ****.io 06:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 ---> ****-login.sh ends [Pipeline] } 06:10:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:10:54 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:10:54 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 06:10:54 latest 06:10:54 3.2.0-dev.19 06:10:54 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 06:10:54 main 06:10:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 06:10:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:10:55 9173c852349a: Preparing 06:10:55 ea954cccbe0c: Preparing 06:10:55 425dec7b35c8: Preparing 06:10:55 0eef48cde54b: Preparing 06:10:55 da4ecb642011: Preparing 06:10:55 3c20671a5817: Preparing 06:10:55 3c20671a5817: Waiting 06:10:55 ea954cccbe0c: Pushed 06:10:55 3c20671a5817: Layer already exists 06:10:55 9173c852349a: Pushed 06:10:55 0eef48cde54b: Pushed 06:10:55 da4ecb642011: Pushed 06:11:02 425dec7b35c8: Pushed 06:11:02 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c: digest: sha256:9fbd563cc647fe4834eae08b8e076461b036044b65b257a0bfc1cb609c213174 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:11:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:11:03 9173c852349a: Preparing 06:11:03 ea954cccbe0c: Preparing 06:11:03 425dec7b35c8: Preparing 06:11:03 0eef48cde54b: Preparing 06:11:03 da4ecb642011: Preparing 06:11:03 3c20671a5817: Preparing 06:11:03 3c20671a5817: Waiting 06:11:03 9173c852349a: Layer already exists 06:11:03 425dec7b35c8: Layer already exists 06:11:03 ea954cccbe0c: Layer already exists 06:11:03 da4ecb642011: Layer already exists 06:11:03 0eef48cde54b: Layer already exists 06:11:03 3c20671a5817: Layer already exists 06:11:03 latest: digest: sha256:9fbd563cc647fe4834eae08b8e076461b036044b65b257a0bfc1cb609c213174 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.19 06:11:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:11:04 9173c852349a: Preparing 06:11:04 ea954cccbe0c: Preparing 06:11:04 425dec7b35c8: Preparing 06:11:04 0eef48cde54b: Preparing 06:11:04 da4ecb642011: Preparing 06:11:04 3c20671a5817: Preparing 06:11:04 3c20671a5817: Waiting 06:11:04 0eef48cde54b: Layer already exists 06:11:04 9173c852349a: Layer already exists 06:11:04 425dec7b35c8: Layer already exists 06:11:04 ea954cccbe0c: Layer already exists 06:11:04 da4ecb642011: Layer already exists 06:11:04 3c20671a5817: Layer already exists 06:11:04 3.2.0-dev.19: digest: sha256:9fbd563cc647fe4834eae08b8e076461b036044b65b257a0bfc1cb609c213174 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 06:11:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:11:05 9173c852349a: Preparing 06:11:05 ea954cccbe0c: Preparing 06:11:05 425dec7b35c8: Preparing 06:11:05 0eef48cde54b: Preparing 06:11:05 da4ecb642011: Preparing 06:11:05 3c20671a5817: Preparing 06:11:05 3c20671a5817: Waiting 06:11:05 0eef48cde54b: Layer already exists 06:11:05 da4ecb642011: Layer already exists 06:11:05 425dec7b35c8: Layer already exists 06:11:05 9173c852349a: Layer already exists 06:11:05 ea954cccbe0c: Layer already exists 06:11:05 3c20671a5817: Layer already exists 06:11:05 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19: digest: sha256:9fbd563cc647fe4834eae08b8e076461b036044b65b257a0bfc1cb609c213174 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:11:06 9173c852349a: Preparing 06:11:06 ea954cccbe0c: Preparing 06:11:06 425dec7b35c8: Preparing 06:11:06 0eef48cde54b: Preparing 06:11:06 da4ecb642011: Preparing 06:11:06 3c20671a5817: Preparing 06:11:06 3c20671a5817: Waiting 06:11:06 0eef48cde54b: Layer already exists 06:11:06 425dec7b35c8: Layer already exists 06:11:06 9173c852349a: Layer already exists 06:11:06 da4ecb642011: Layer already exists 06:11:06 ea954cccbe0c: Layer already exists 06:11:06 3c20671a5817: Layer already exists 06:11:06 main: digest: sha256:9fbd563cc647fe4834eae08b8e076461b036044b65b257a0bfc1cb609c213174 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:06 ===================================================== [Pipeline] echo 06:11:06 taggedImages: 06:11:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c 06:11:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:11:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.19 06:11:06 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c-3.2.0-dev.19 06:11:06 - 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:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:06 06:11:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:07 arm64: Pulling from edgex-lftools-log-publisher 06:11:07 8998bd30e6a1: Pulling fs layer 06:11:07 04944245beec: Pulling fs layer 06:11:07 699f458cf7ca: Pulling fs layer 06:11:07 765212b225bb: Pulling fs layer 06:11:07 f23df028b6ca: Pulling fs layer 06:11:07 d65c8cfc05b1: Pulling fs layer 06:11:07 2437ff75d9bd: Pulling fs layer 06:11:07 765212b225bb: Waiting 06:11:07 f23df028b6ca: Waiting 06:11:07 d65c8cfc05b1: Waiting 06:11:07 2437ff75d9bd: Waiting 06:11:07 04944245beec: Verifying Checksum 06:11:07 04944245beec: Download complete 06:11:07 765212b225bb: Verifying Checksum 06:11:07 765212b225bb: Download complete 06:11:07 f23df028b6ca: Verifying Checksum 06:11:07 f23df028b6ca: Download complete 06:11:07 d65c8cfc05b1: Verifying Checksum 06:11:07 d65c8cfc05b1: Download complete 06:11:07 699f458cf7ca: Verifying Checksum 06:11:07 699f458cf7ca: Download complete 06:11:08 8998bd30e6a1: Verifying Checksum 06:11:08 8998bd30e6a1: Download complete 06:11:10 2437ff75d9bd: Verifying Checksum 06:11:10 2437ff75d9bd: Download complete 06:11:12 8998bd30e6a1: Pull complete 06:11:12 04944245beec: Pull complete 06:11:14 699f458cf7ca: Pull complete 06:11:14 765212b225bb: Pull complete 06:11:15 f23df028b6ca: Pull complete 06:11:15 d65c8cfc05b1: Pull complete 06:11:33 2437ff75d9bd: Pull complete 06:11:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:34 prd-ubuntu20.04-docker-arm64-4c-16g-6429 does not seem to be running inside a container 06:11:34 $ 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/158 -v /w/workspace/device-modbus-go/158:/w/workspace/device-modbus-go/158:rw,z -v /w/workspace/device-modbus-go/158@tmp:/w/workspace/device-modbus-go/158@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:11:36 $ docker top 2d278562d7e48daffc48ba43ab266553a6978a309f26b6ce112a5ef247700934 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:37 ---> job-cost.sh 06:11:37 lf-activate-venv: SKIPPING 06:11:37 INFO: No Stack... 06:11:38 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:38 INFO: Archiving Costs [Pipeline] sh 06:11:39 + cat /w/workspace/device-modbus-go/158/archives/cost.csv 06:11:39 + cut -d, -f6 [Pipeline] lock 06:11:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] 06:11:39 Resource [jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] did not exist. Created. 06:11:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:40 /w/workspace/device-modbus-go/158@tmp/durable-ad8f0e7c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:40 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:40 Warning: overwriting stash ‘stack-cost’ 06:11:40 Stashed 1 file(s) [Pipeline] } 06:11:40 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:40 $ docker stop --time=1 2d278562d7e48daffc48ba43ab266553a6978a309f26b6ce112a5ef247700934 06:11:42 $ docker rm -f --volumes 2d278562d7e48daffc48ba43ab266553a6978a309f26b6ce112a5ef247700934 [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:11:43 provisioning config files... 06:11:43 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12923601356811428783tmp [Pipeline] { [Pipeline] sh 06:11:43 + set +x 06:11:43 + curl -s https://codecov.io/bash 06:11:43 + bash -s -- 06:11:43 06:11:43 _____ _ 06:11:43 / ____| | | 06:11:43 | | ___ __| | ___ ___ _____ __ 06:11:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:43 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:43 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:43 Bash-1.0.6 06:11:43 06:11:43 06:11:43 ==> git version 2.25.1 found 06:11:43 ==> 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:11:43 Release-Date: 2020-01-08 06:11:43 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:11:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:43 ==> Jenkins CI detected. 06:11:43 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:11:43 project root: . 06:11:43 --> token set from env 06:11:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:43 ==> Running gcov in . (disable via -X gcov) 06:11:43 ==> Python coveragepy not found 06:11:43 ==> Searching for coverage reports in: 06:11:43 + . 06:11:43 -> Found 1 reports 06:11:43 ==> Detecting git/mercurial file structure 06:11:43 ==> Reading reports 06:11:43 + ./coverage.out bytes=24601 06:11:43 ==> Appending adjustments 06:11:43 https://docs.codecov.io/docs/fixing-reports 06:11:43 + Found adjustments 06:11:43 ==> Gzipping contents 06:11:43 4.0K /tmp/codecov.AyU1Kq.gz 06:11:43 ==> Uploading reports 06:11:43 url: https://codecov.io 06:11:43 query: branch=main&commit=b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:11:43 -> Pinging Codecov 06:11:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:11:43 -> Uploading to 06:11:43 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/55DBCA73C666E3227836607328DD7E49/b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c/f749d376-35b6-4269-8fd5-15d0e1cb648a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T061143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f3346db51ea173732fc2524d06ca64a40ea176849e5f602afc41d1a507645bb 06:11:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:43 Dload Upload Total Spent Left Speed 06:11:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17080 --:--:-- --:--:-- --:--:-- 17080 06:11:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] } 06:11:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:11:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:11:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:11:44 06:11:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:11:44 latest: Pulling from edgex-devops/edgex-snyk-go 06:11:44 619be1103602: Already exists 06:11:44 f8ea3408117e: Pulling fs layer 06:11:44 91320369b822: Pulling fs layer 06:11:44 0406650e8295: Pulling fs layer 06:11:44 4f4fb700ef54: Pulling fs layer 06:11:44 96d80e3f36e1: Pulling fs layer 06:11:44 bcf3aedb951c: Pulling fs layer 06:11:44 4f4fb700ef54: Waiting 06:11:44 96d80e3f36e1: Waiting 06:11:44 bcf3aedb951c: Waiting 06:11:44 0406650e8295: Verifying Checksum 06:11:44 0406650e8295: Download complete 06:11:44 f8ea3408117e: Download complete 06:11:44 4f4fb700ef54: Verifying Checksum 06:11:44 4f4fb700ef54: Download complete 06:11:44 f8ea3408117e: Pull complete 06:11:44 96d80e3f36e1: Verifying Checksum 06:11:44 96d80e3f36e1: Download complete 06:11:45 91320369b822: Verifying Checksum 06:11:45 91320369b822: Download complete 06:11:45 bcf3aedb951c: Verifying Checksum 06:11:45 bcf3aedb951c: Download complete 06:11:48 91320369b822: Pull complete 06:11:48 0406650e8295: Pull complete 06:11:48 4f4fb700ef54: Pull complete 06:11:48 96d80e3f36e1: Pull complete 06:11:51 bcf3aedb951c: Pull complete 06:11:51 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 06:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:11:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:51 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 06:11:51 $ 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:latest cat 06:11:55 $ docker top c285ff27f0fb6c8e03f0844d4300d5b544f5e80e26f2d43bd05fa42885d47b6f -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:11:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:11:56 + set -o pipefail 06:11:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:12:02 06:12:02 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:12:02 06:12:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/90d4925d-a301-4ee9-8560-1086e169ee5c 06:12:02 06:12:02 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:12:02 06:12:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:12:02 06:12:03 06:12:03 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 06:12:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:12:03 $ docker stop --time=1 c285ff27f0fb6c8e03f0844d4300d5b544f5e80e26f2d43bd05fa42885d47b6f 06:12:08 $ docker rm -f --volumes c285ff27f0fb6c8e03f0844d4300d5b544f5e80e26f2d43bd05fa42885d47b6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:09 + git log --format=format:%s -1 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c [Pipeline] sh 06:12:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:12:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:10 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 06:12:10 $ 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:12:10 $ docker top 7c7f525c3f3fbf0f969142135d62953331885b0db420c13f8f03bfae6d82304f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:10 [ssh-agent] Looking for ssh-agent implementation... 06:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:10 $ docker exec 7c7f525c3f3fbf0f969142135d62953331885b0db420c13f8f03bfae6d82304f ssh-agent 06:12:10 SSH_AUTH_SOCK=/tmp/ssh-I99JvFShC1zq/agent.32 06:12:10 SSH_AGENT_PID=38 06:12:10 Running ssh-add (command line suppressed) 06:12:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15929356200170169171.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15929356200170169171.key) 06:12:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:11 + git semver tag 06:12:11 2024-07-25 06:12:11,515 [run_tag] DEBUG tag force:False 06:12:11 2024-07-25 06:12:11,515 [check_head_tag] DEBUG check head tag 06:12:11 2024-07-25 06:12:11,516 [execute] INFO git cat-file --batch-check 06:12:11 2024-07-25 06:12:11,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:12:11 2024-07-25 06:12:11,519 [execute] INFO git cat-file --batch 06:12:11 2024-07-25 06:12:11,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:12:11 2024-07-25 06:12:11,536 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:11 2024-07-25 06:12:11,536 [execute] INFO git tag -a v3.2.0-dev.19 -m v3.2.0-dev.19 06:12:11 2024-07-25 06:12:11,536 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.19', '-m', 'v3.2.0-dev.19'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:12:11 2024-07-25 06:12:11,539 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:11 3.2.0-dev.19 [Pipeline] } 06:12:11 $ docker exec --env ******** --env ******** 7c7f525c3f3fbf0f969142135d62953331885b0db420c13f8f03bfae6d82304f ssh-agent -k 06:12:11 unset SSH_AUTH_SOCK; 06:12:11 unset SSH_AGENT_PID; 06:12:11 echo Agent pid 38 killed; 06:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:12 + git semver [Pipeline] } 06:12:12 $ docker stop --time=1 7c7f525c3f3fbf0f969142135d62953331885b0db420c13f8f03bfae6d82304f 06:12:13 $ docker rm -f --volumes 7c7f525c3f3fbf0f969142135d62953331885b0db420c13f8f03bfae6d82304f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:12:13 06:12:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:12:14 0.23.1-centos7: Pulling from edgex-lftools 06:12:14 ab5ef0e58194: Pulling fs layer 06:12:14 9712f1f96733: Pulling fs layer 06:12:14 63f879dbbcfc: Pulling fs layer 06:12:14 0d9ebad4ef96: Pulling fs layer 06:12:14 e9a5061849ea: Pulling fs layer 06:12:14 d747dcd14b5f: Pulling fs layer 06:12:14 2de7ff778b66: Pulling fs layer 06:12:14 e9a5061849ea: Waiting 06:12:14 d747dcd14b5f: Waiting 06:12:14 2de7ff778b66: Waiting 06:12:14 0d9ebad4ef96: Waiting 06:12:14 9712f1f96733: Verifying Checksum 06:12:14 9712f1f96733: Download complete 06:12:14 63f879dbbcfc: Verifying Checksum 06:12:14 63f879dbbcfc: Download complete 06:12:14 e9a5061849ea: Verifying Checksum 06:12:14 e9a5061849ea: Download complete 06:12:14 0d9ebad4ef96: Verifying Checksum 06:12:14 0d9ebad4ef96: Download complete 06:12:14 d747dcd14b5f: Verifying Checksum 06:12:14 d747dcd14b5f: Download complete 06:12:14 ab5ef0e58194: Verifying Checksum 06:12:14 ab5ef0e58194: Download complete 06:12:14 2de7ff778b66: Verifying Checksum 06:12:14 2de7ff778b66: Download complete 06:12:17 ab5ef0e58194: Pull complete 06:12:17 9712f1f96733: Pull complete 06:12:17 63f879dbbcfc: Pull complete 06:12:22 0d9ebad4ef96: Pull complete 06:12:22 e9a5061849ea: Pull complete 06:12:22 d747dcd14b5f: Pull complete 06:12:22 2de7ff778b66: Pull complete 06:12:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:12:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:22 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 06:12:22 $ 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:12:28 $ docker top 99a817cebb024d9bff802c73e3d87623d77a9101550c92feb4a8be28e1a48b62 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:12:28 provisioning config files... 06:12:28 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6272961750599455092tmp 06:12:28 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1666007735841198458tmp 06:12:28 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13081139213863558066tmp [Pipeline] { [Pipeline] echo 06:12:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:12:28 ---> sigul-configuration.sh 06:12:28 gpg: directory `/root/.gnupg' created 06:12:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:12:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:12:28 gpg: keyring `/root/.gnupg/secring.gpg' created 06:12:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:12:28 gpg: CAST5 encrypted data 06:12:28 gpg: encrypted with 1 passphrase 06:12:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:12:29 + mkdir /home/jenkins 06:12:29 + mkdir /home/jenkins/sigul [Pipeline] sh 06:12:29 + 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:12:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:12:29 ---> sigul-install.sh 06:12:29 Sigul already installed; skipping installation. [Pipeline] sh 06:12:30 + git tag --list 06:12:30 0.7.1 06:12:30 v1.0.0 06:12:30 v1.1.0 06:12:30 v1.1.1 06:12:30 v1.2.2 06:12:30 v1.3.0 06:12:30 v1.3.1 06:12:30 v2.0.0 06:12:30 v2.1.0 06:12:30 v2.1.1 06:12:30 v2.2.0 06:12:30 v2.3.0 06:12:30 v3.0 06:12:30 v3.0.0 06:12:30 v3.1 06:12:30 v3.1.0 06:12:30 v3.1.0-dev.1 06:12:30 v3.1.0-dev.10 06:12:30 v3.1.0-dev.11 06:12:30 v3.1.0-dev.12 06:12:30 v3.1.0-dev.13 06:12:30 v3.1.0-dev.14 06:12:30 v3.1.0-dev.15 06:12:30 v3.1.0-dev.16 06:12:30 v3.1.0-dev.17 06:12:30 v3.1.0-dev.18 06:12:30 v3.1.0-dev.19 06:12:30 v3.1.0-dev.2 06:12:30 v3.1.0-dev.20 06:12:30 v3.1.0-dev.21 06:12:30 v3.1.0-dev.22 06:12:30 v3.1.0-dev.23 06:12:30 v3.1.0-dev.24 06:12:30 v3.1.0-dev.25 06:12:30 v3.1.0-dev.3 06:12:30 v3.1.0-dev.4 06:12:30 v3.1.0-dev.5 06:12:30 v3.1.0-dev.6 06:12:30 v3.1.0-dev.7 06:12:30 v3.1.0-dev.8 06:12:30 v3.1.0-dev.9 06:12:30 v3.1.1 06:12:30 v3.1.1-dev.1 06:12:30 v3.2.0-dev.1 06:12:30 v3.2.0-dev.10 06:12:30 v3.2.0-dev.11 06:12:30 v3.2.0-dev.12 06:12:30 v3.2.0-dev.13 06:12:30 v3.2.0-dev.14 06:12:30 v3.2.0-dev.15 06:12:30 v3.2.0-dev.16 06:12:30 v3.2.0-dev.17 06:12:30 v3.2.0-dev.18 06:12:30 v3.2.0-dev.19 06:12:30 v3.2.0-dev.2 06:12:30 v3.2.0-dev.3 06:12:30 v3.2.0-dev.4 06:12:30 v3.2.0-dev.5 06:12:30 v3.2.0-dev.6 06:12:30 v3.2.0-dev.7 06:12:30 v3.2.0-dev.8 06:12:30 v3.2.0-dev.9 [Pipeline] sh 06:12:30 + lftools sign git-tag v3.2.0-dev.19 06:12:30 Signing Git tag with Sigul... 06:12:30 Signing v3.2.0-dev.19 [Pipeline] echo 06:12:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:12:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:12:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:12:31 $ docker stop --time=1 99a817cebb024d9bff802c73e3d87623d77a9101550c92feb4a8be28e1a48b62 06:12:33 $ docker rm -f --volumes 99a817cebb024d9bff802c73e3d87623d77a9101550c92feb4a8be28e1a48b62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:12:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:12:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:33 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 06:12:33 $ 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:12:34 $ docker top 7cc68a6168346a9e1e4165f07bfbd82c36b1556353b3d103dbd80cf0d95c4f8c -eo pid,comm 06:12:34 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:12:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:34 [ssh-agent] Looking for ssh-agent implementation... 06:12:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:34 $ docker exec 7cc68a6168346a9e1e4165f07bfbd82c36b1556353b3d103dbd80cf0d95c4f8c ssh-agent 06:12:34 SSH_AUTH_SOCK=/tmp/ssh-NPbcWFLTmY1i/agent.32 06:12:34 SSH_AGENT_PID=38 06:12:34 Running ssh-add (command line suppressed) 06:12:34 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4362882033736960980.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4362882033736960980.key) 06:12:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:35 + git semver bump pre 06:12:35 2024-07-25 06:12:35,168 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:35 2024-07-25 06:12:35,169 [bump_version] DEBUG bumping version:3.2.0-dev.19 on axis:pre with prefix:dev 06:12:35 2024-07-25 06:12:35,169 [bump_version] DEBUG bumped version:3.2.0-dev.20 06:12:35 2024-07-25 06:12:35,169 [write_version] DEBUG write version:3.2.0-dev.20 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:12:35 2024-07-25 06:12:35,169 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:35 2024-07-25 06:12:35,169 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:35 2024-07-25 06:12:35,170 [execute] INFO git cat-file --batch-check 06:12:35 2024-07-25 06:12:35,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:12:35 2024-07-25 06:12:35,175 [execute] INFO git cat-file --batch 06:12:35 2024-07-25 06:12:35,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:12:35 2024-07-25 06:12:35,181 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:35 3.2.0-dev.20 [Pipeline] } 06:12:35 $ docker exec --env ******** --env ******** 7cc68a6168346a9e1e4165f07bfbd82c36b1556353b3d103dbd80cf0d95c4f8c ssh-agent -k 06:12:35 unset SSH_AUTH_SOCK; 06:12:35 unset SSH_AGENT_PID; 06:12:35 echo Agent pid 38 killed; 06:12:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:35 + git semver [Pipeline] } 06:12:35 $ docker stop --time=1 7cc68a6168346a9e1e4165f07bfbd82c36b1556353b3d103dbd80cf0d95c4f8c 06:12:37 $ docker rm -f --volumes 7cc68a6168346a9e1e4165f07bfbd82c36b1556353b3d103dbd80cf0d95c4f8c [Pipeline] // withDockerContainer [Pipeline] sh 06:12:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:12:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:37 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 06:12:38 $ 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:12:38 $ docker top 517c1c64470802e85864467f7b88cf2c6e30e6d3273d5d54bf7d4861f6eb56d4 -eo pid,comm 06:12:38 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:12:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:38 [ssh-agent] Looking for ssh-agent implementation... 06:12:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:38 $ docker exec 517c1c64470802e85864467f7b88cf2c6e30e6d3273d5d54bf7d4861f6eb56d4 ssh-agent 06:12:38 SSH_AUTH_SOCK=/tmp/ssh-hqdoEiC5ph6H/agent.34 06:12:38 SSH_AGENT_PID=40 06:12:38 Running ssh-add (command line suppressed) 06:12:38 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10795330822760855296.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10795330822760855296.key) 06:12:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:39 + git semver push 06:12:39 2024-07-25 06:12:39,204 [run_push] DEBUG push 06:12:39 2024-07-25 06:12:39,205 [execute] INFO git cat-file --batch-check 06:12:39 2024-07-25 06:12:39,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:12:39 2024-07-25 06:12:39,207 [execute] INFO git rev-list 5d05f4aa2e34b754ce7ba5298aff910c283afdec -- 06:12:39 2024-07-25 06:12:39,208 [execute] DEBUG Popen(['git', 'rev-list', '5d05f4aa2e34b754ce7ba5298aff910c283afdec', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:12:39 2024-07-25 06:12:39,217 [execute] INFO git fetch -v origin 06:12:39 2024-07-25 06:12:39,218 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:12:39 2024-07-25 06:12:39,675 [run_push] DEBUG no remote changes detected 06:12:39 2024-07-25 06:12:39,675 [execute] INFO git push origin semver 06:12:39 2024-07-25 06:12:39,676 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:12:40 2024-07-25 06:12:40,427 [run_push] DEBUG push all version tags 06:12:40 2024-07-25 06:12:40,427 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:12:40 2024-07-25 06:12:40,428 [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:12:41 2024-07-25 06:12:41,081 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:12:41 3.2.0-dev.20 [Pipeline] } 06:12:41 $ docker exec --env ******** --env ******** 517c1c64470802e85864467f7b88cf2c6e30e6d3273d5d54bf7d4861f6eb56d4 ssh-agent -k 06:12:41 unset SSH_AUTH_SOCK; 06:12:41 unset SSH_AGENT_PID; 06:12:41 echo Agent pid 40 killed; 06:12:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:12:41 + git semver [Pipeline] } 06:12:42 $ docker stop --time=1 517c1c64470802e85864467f7b88cf2c6e30e6d3273d5d54bf7d4861f6eb56d4 06:12:43 $ docker rm -f --volumes 517c1c64470802e85864467f7b88cf2c6e30e6d3273d5d54bf7d4861f6eb56d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [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:12:44 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:12:44 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:12:44 total 16 06:12:44 drwxr-xr-x 3 root root 4096 Jul 25 05:59 . 06:12:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 06:12 .. 06:12:44 drwxr-xr-x 2 root root 4096 Jul 25 05:59 cost 06:12:44 -rw-r--r-- 1 root root 88 Jul 25 05:59 cost.csv 06:12:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:12:44 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:12:44 total 16 06:12:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 05:59 . 06:12:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 06:12 .. 06:12:44 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 05:59 cost 06:12:44 -rw-r--r-- 1 jenkins jenkins 88 Jul 25 05:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:12:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:12:45 ---> package-listing.sh 06:12:45 ++ facter osfamily 06:12:45 ++ tr '[:upper:]' '[:lower:]' 06:12:45 + OS_FAMILY=debian 06:12:45 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:12:45 + START_PACKAGES=/tmp/packages_start.txt 06:12:45 + END_PACKAGES=/tmp/packages_end.txt 06:12:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:12:45 + PACKAGES=/tmp/packages_start.txt 06:12:45 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:12:45 + PACKAGES=/tmp/packages_end.txt 06:12:45 + case "${OS_FAMILY}" in 06:12:45 + dpkg -l 06:12:45 + grep '^ii' 06:12:45 + '[' -f /tmp/packages_start.txt ']' 06:12:45 + '[' -f /tmp/packages_end.txt ']' 06:12:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:12:45 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:12:45 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:12:45 + 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:12:45 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:12:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:46 prd-ubuntu20.04-docker-8c-8g-6428 does not seem to be running inside a container 06:12:46 $ 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:12:46 $ docker top 3644e1f412059ea780db60a82a0835d36dba76e4a8e1a4b3534db04de5677003 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:47 + touch /tmp/pre-build-complete [Pipeline] sh 06:12:47 + mkdir -p /var/log/sysstat [Pipeline] sh 06:12:47 + ls /var/log/sa-host 06:12:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:47 provisioning config files... 06:12:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4091382301282599669tmp [Pipeline] { [Pipeline] echo 06:12:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:12:48 ---> create-netrc.sh [Pipeline] } 06:12:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:12:48 ---> python-tools-install.sh [Pipeline] echo 06:12:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:12:48 ---> sudo-logs.sh 06:12:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:12:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:12:49 ---> job-cost.sh 06:12:49 lf-activate-venv: SKIPPING 06:12:49 DEBUG: total: 0.2199999988079071 06:12:49 INFO: Retrieving Stack Cost... 06:12:49 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:49 INFO: Archiving Costs [Pipeline] echo 06:12:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:12:50 ---> logs-deploy.sh 06:12:50 lf-activate-venv: SKIPPING 06:12:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/158 06:12:50 INFO: archiving workspace using pattern(s): 06:12:51 Archives upload complete. 06:12:51 INFO: archiving logs to Nexus