Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 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-ssh12885236593352615717.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-ssh15084046369726001090.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-ssh4410896160316630505.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-ssh2702458269807104950.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-ssh7878726650077875899.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5921 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 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 # timeout=10 Commit message: "Merge pull request #561 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" > git rev-list --no-walk d71636c60b8b9ed9f948421f9983ca52d9baac39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:18:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:18:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:18:24 ========================================================= 06:18:24 EdgeX Global Pipelines Version Info 06:18:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:18:25 ------------------- 06:18:25 stable info: 06:18:25 ------------------- 06:18:25 Commited By: Ginny Guan ginny@iotechsys.com 06:18:25 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:18:25 Message: update stable to v1.0.260 06:18:26 ------------------- 06:18:26 experimental info: 06:18:26 ------------------- 06:18:26 Commited By: Ginny Guan ginny@iotechsys.com 06:18:26 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:18:26 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:18:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:18:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:18:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:18:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c2958f [Pipeline] echo 06:18:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:28 provisioning config files... 06:18:29 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2038919792546702926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:29 ---> ****-login.sh 06:18:29 nexus3.edgexfoundry.org:10001 06:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:29 Configure a credential helper to remove this warning. See 06:18:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:29 06:18:29 Login Succeeded 06:18:29 nexus3.edgexfoundry.org:10002 06:18:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:30 Configure a credential helper to remove this warning. See 06:18:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:30 06:18:30 Login Succeeded 06:18:30 nexus3.edgexfoundry.org:10003 06:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:30 Configure a credential helper to remove this warning. See 06:18:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:30 06:18:30 Login Succeeded 06:18:30 nexus3.edgexfoundry.org:10004 06:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:30 Configure a credential helper to remove this warning. See 06:18:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:30 06:18:30 Login Succeeded 06:18:30 ****.io 06:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:30 Configure a credential helper to remove this warning. See 06:18:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:30 06:18:30 Login Succeeded 06:18:30 ---> ****-login.sh ends [Pipeline] } 06:18:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:18:31 + git rev-list -1 --merges 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7~1..6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] echo 06:18:31 -----------> git rev-list -1 --merges 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7~1..6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:18:31 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [false] [Pipeline] sh 06:18:31 + git log --format=format:%s -1 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] echo 06:18:31 ========================================================= 06:18:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:18:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:32 + git log --format=format:%s -1 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] echo 06:18:32 [semverPrep] GIT_COMMIT: 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7, Commit Message: Merge pull request #561 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25 [Pipeline] echo 06:18:32 [semverPrep] This is not a build commit. [Pipeline] sh 06:18:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:18:33 + grep -v github /etc/ssh/ssh_known_hosts 06:18:33 + [ -e /tmp/ssh_known_hosts ] 06:18:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:18:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:18:33 + sudo tee -a /etc/ssh/ssh_known_hosts 06:18:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:33 06:18:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:33 0.1.4: Pulling from edgex-devops/py-git-semver 06:18:33 b85a868b505f: Pulling fs layer 06:18:33 e2be974225ed: Pulling fs layer 06:18:33 339a4e72a1f5: Pulling fs layer 06:18:33 988bab9f4d93: Pulling fs layer 06:18:33 1469e6f7b9e6: Pulling fs layer 06:18:33 eaf3925da568: Pulling fs layer 06:18:33 bab4dde63d76: Pulling fs layer 06:18:33 bde34c3a00c8: Pulling fs layer 06:18:33 b352a97aabf1: Pulling fs layer 06:18:33 4872d77fe225: Pulling fs layer 06:18:33 5851b861e8e6: Pulling fs layer 06:18:33 bde34c3a00c8: Waiting 06:18:33 988bab9f4d93: Waiting 06:18:33 5851b861e8e6: Waiting 06:18:33 b352a97aabf1: Waiting 06:18:33 1469e6f7b9e6: Waiting 06:18:33 4872d77fe225: Waiting 06:18:33 bab4dde63d76: Waiting 06:18:33 eaf3925da568: Waiting 06:18:33 e2be974225ed: Verifying Checksum 06:18:33 e2be974225ed: Download complete 06:18:33 988bab9f4d93: Verifying Checksum 06:18:33 988bab9f4d93: Download complete 06:18:34 1469e6f7b9e6: Verifying Checksum 06:18:34 1469e6f7b9e6: Download complete 06:18:34 339a4e72a1f5: Verifying Checksum 06:18:34 339a4e72a1f5: Download complete 06:18:34 eaf3925da568: Verifying Checksum 06:18:34 eaf3925da568: Download complete 06:18:34 bde34c3a00c8: Verifying Checksum 06:18:34 bde34c3a00c8: Download complete 06:18:34 b352a97aabf1: Verifying Checksum 06:18:34 b352a97aabf1: Download complete 06:18:34 4872d77fe225: Download complete 06:18:34 5851b861e8e6: Download complete 06:18:34 b85a868b505f: Download complete 06:18:34 bab4dde63d76: Download complete 06:18:35 b85a868b505f: Pull complete 06:18:35 e2be974225ed: Pull complete 06:18:36 339a4e72a1f5: Pull complete 06:18:36 988bab9f4d93: Pull complete 06:18:36 1469e6f7b9e6: Pull complete 06:18:36 eaf3925da568: Pull complete 06:18:38 bab4dde63d76: Pull complete 06:18:38 bde34c3a00c8: Pull complete 06:18:38 b352a97aabf1: Pull complete 06:18:38 4872d77fe225: Pull complete 06:18:39 5851b861e8e6: Pull complete 06:18:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:18:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:39 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:18:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:18:42 $ docker top 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:43 [ssh-agent] Looking for ssh-agent implementation... 06:18:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:43 $ docker exec 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 ssh-agent 06:18:43 SSH_AUTH_SOCK=/tmp/ssh-QH2Vi7LN4W9t/agent.33 06:18:43 SSH_AGENT_PID=39 06:18:43 Running ssh-add (command line suppressed) 06:18:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3197553053458538953.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3197553053458538953.key) 06:18:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:44 + git tag --points-at HEAD [Pipeline] } 06:18:44 $ docker exec --env ******** --env ******** 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 ssh-agent -k 06:18:44 unset SSH_AUTH_SOCK; 06:18:44 unset SSH_AGENT_PID; 06:18:44 echo Agent pid 39 killed; 06:18:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:18:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:44 [ssh-agent] Looking for ssh-agent implementation... 06:18:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:44 $ docker exec 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 ssh-agent 06:18:44 SSH_AUTH_SOCK=/tmp/ssh-6nEx3M4SgAh4/agent.72 06:18:44 SSH_AGENT_PID=78 06:18:44 Running ssh-add (command line suppressed) 06:18:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5624738179898172274.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5624738179898172274.key) 06:18:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:45 + git semver init 06:18:45 2024-07-19 06:18:45,566 [run_init] DEBUG init version:0.0.0 force:False 06:18:45 2024-07-19 06:18:45,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:18:45 2024-07-19 06:18:45,567 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:18:45 2024-07-19 06:18:45,568 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:18:46 2024-07-19 06:18:46,622 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:18:46 2024-07-19 06:18:46,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:18:46 2024-07-19 06:18:46,622 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:46 2024-07-19 06:18:46,623 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:18:46 3.2.0-dev.18 [Pipeline] } 06:18:46 $ docker exec --env ******** --env ******** 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 ssh-agent -k 06:18:46 unset SSH_AUTH_SOCK; 06:18:46 unset SSH_AGENT_PID; 06:18:46 echo Agent pid 78 killed; 06:18:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:47 + git semver [Pipeline] } 06:18:47 $ docker stop --time=1 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 06:18:49 $ docker rm -f --volumes 6369c2bb4d415f135225fe53cfc770a0d9889d9c80244d91092d9ce6d17e9052 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:18:50 Stashed 1 file(s) [Pipeline] echo 06:18:50 [edgeXSemver]: initialized semver on version 3.2.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:50 provisioning config files... 06:18:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11793335449501359003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:51 ---> ****-login.sh 06:18:51 nexus3.edgexfoundry.org:10001 06:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:51 Configure a credential helper to remove this warning. See 06:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:51 06:18:51 Login Succeeded 06:18:51 nexus3.edgexfoundry.org:10002 06:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:51 Configure a credential helper to remove this warning. See 06:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:51 06:18:51 Login Succeeded 06:18:51 nexus3.edgexfoundry.org:10003 06:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:51 Configure a credential helper to remove this warning. See 06:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:51 06:18:51 Login Succeeded 06:18:51 nexus3.edgexfoundry.org:10004 06:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:51 Configure a credential helper to remove this warning. See 06:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:51 06:18:51 Login Succeeded 06:18:51 ****.io 06:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:18:51 Configure a credential helper to remove this warning. See 06:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:18:51 06:18:51 Login Succeeded 06:18:51 ---> ****-login.sh ends [Pipeline] } 06:18:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:18:52 ========================================================= 06:18:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:18:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:53 + 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 . 06:18:53 Sending build context to Docker daemon 17.87MB 06:18:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:18:53 Step 2/10 : FROM ${BASE} AS builder 06:18:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:18:53 619be1103602: Pulling fs layer 06:18:53 7862e08f4a3e: Pulling fs layer 06:18:53 5df492c9dc93: Pulling fs layer 06:18:53 7629e6793208: Pulling fs layer 06:18:53 4f4fb700ef54: Pulling fs layer 06:18:53 fb5054dd5b73: Pulling fs layer 06:18:53 eeca6798cff9: Pulling fs layer 06:18:53 aa269ceb94a6: Pulling fs layer 06:18:53 ada007ff1a6a: Pulling fs layer 06:18:53 7629e6793208: Waiting 06:18:53 4f4fb700ef54: Waiting 06:18:53 fb5054dd5b73: Waiting 06:18:53 eeca6798cff9: Waiting 06:18:53 aa269ceb94a6: Waiting 06:18:53 ada007ff1a6a: Waiting 06:18:53 7862e08f4a3e: Verifying Checksum 06:18:53 7862e08f4a3e: Download complete 06:18:53 7629e6793208: Verifying Checksum 06:18:53 7629e6793208: Download complete 06:18:53 4f4fb700ef54: Verifying Checksum 06:18:53 4f4fb700ef54: Download complete 06:18:53 fb5054dd5b73: Download complete 06:18:53 619be1103602: Verifying Checksum 06:18:53 619be1103602: Download complete 06:18:53 eeca6798cff9: Verifying Checksum 06:18:53 eeca6798cff9: Download complete 06:18:53 619be1103602: Pull complete 06:18:53 ada007ff1a6a: Verifying Checksum 06:18:53 ada007ff1a6a: Download complete 06:18:53 7862e08f4a3e: Pull complete 06:18:53 5df492c9dc93: Verifying Checksum 06:18:53 5df492c9dc93: Download complete 06:18:54 aa269ceb94a6: Verifying Checksum 06:18:54 aa269ceb94a6: Download complete 06:18:57 5df492c9dc93: Pull complete 06:18:57 7629e6793208: Pull complete 06:18:57 4f4fb700ef54: Pull complete 06:18:57 fb5054dd5b73: Pull complete 06:18:57 eeca6798cff9: Pull complete 06:19:00 aa269ceb94a6: Pull complete 06:19:00 ada007ff1a6a: Pull complete 06:19:00 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:19:00 ---> f489d0715acc 06:19:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:19:04 ---> Running in b540c3d3ac3a 06:19:04 Removing intermediate container b540c3d3ac3a 06:19:04 ---> 1f7dd3bd6fe3 06:19:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:19:04 ---> Running in f47ede64e45f 06:19:04 Removing intermediate container f47ede64e45f 06:19:04 ---> d13c77b5ce2a 06:19:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:19:04 ---> Running in 08547a752c4a 06:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:19:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:19:05 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:19:05 (2/8) Installing libedit (20221030.3.1-r1) 06:19:05 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:19:05 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:19:05 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:19:05 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:19:05 (7/8) Installing openssh-server (9.3_p2-r2) 06:19:05 (8/8) Installing openssh (9.3_p2-r2) 06:19:05 Executing busybox-1.36.1-r5.trigger 06:19:05 OK: 270 MiB in 60 packages 06:19:05 Still waiting to schedule task 06:19:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:19:06 Removing intermediate container 08547a752c4a 06:19:06 ---> c0ae0286cc8c 06:19:06 Step 6/10 : WORKDIR /device-modbus-go 06:19:06 ---> Running in becb91c5a59b 06:19:06 Removing intermediate container becb91c5a59b 06:19:06 ---> b656692e3807 06:19:06 Step 7/10 : COPY go.mod vendor* ./ 06:19:06 ---> f6687537d40d 06:19:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:06 ---> Running in 11c3caf55a9c 06:20:03 Removing intermediate container 11c3caf55a9c 06:20:03 ---> 4d1c66164d91 06:20:03 Step 9/10 : COPY . . 06:20:03 ---> da02e2418b88 06:20:03 Step 10/10 : RUN ${MAKE} 06:20:03 ---> Running in 804f9a634b55 06:20:03 noop 06:20:03 Removing intermediate container 804f9a634b55 06:20:03 ---> 043f2926dce7 06:20:03 Successfully built 043f2926dce7 06:20:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:04 + docker inspect -f . ci-base-image-x86_64 06:20:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:04 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:20:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:20:04 $ docker top 3570d9f935346f2b2dd66b74209b22c2b13f514ca6cbf3890ff7fa5b85cf488c -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:05 + go version 06:20:05 go version go1.21.9 linux/amd64 [Pipeline] } 06:20:05 $ docker stop --time=1 3570d9f935346f2b2dd66b74209b22c2b13f514ca6cbf3890ff7fa5b85cf488c 06:20:06 $ docker rm -f --volumes 3570d9f935346f2b2dd66b74209b22c2b13f514ca6cbf3890ff7fa5b85cf488c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:07 + docker inspect -f . ci-base-image-x86_64 06:20:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:07 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:20:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:20:08 $ docker top 334b427f4921d0c4b4ace0bb7b336b831011bdff30e93254d80d8edae84e0432 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:20:09 + make test 06:20:09 go test ./... -coverprofile=coverage.out 06:20:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:20:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:20:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.9% of statements 06:20:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5922 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 06:20:37 Running in /w/workspace/device-modbus-go/157 [Pipeline] { [Pipeline] checkout 06:20:37 The recommended git tool is: git 06:20:42 go vet ./... 06:20:44 using credential edgex-jenkins-ssh 06:20:44 Cloning the remote Git repository 06:20:44 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:20:44 > git init /w/workspace/device-modbus-go/157 # timeout=10 06:20:45 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:20:45 > git --version # timeout=10 06:20:45 > git --version # 'git version 2.25.1' 06:20:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:20:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:20:47 ./bin/test-attribution-txt.sh 06:20:47 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:20:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:20:48 $ docker stop --time=1 334b427f4921d0c4b4ace0bb7b336b831011bdff30e93254d80d8edae84e0432 06:20:47 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:20:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:48 Avoid second fetch 06:20:48 Checking out Revision 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 (main) 06:20:49 Commit message: "Merge pull request #561 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.25" 06:20:48 > git config core.sparsecheckout # timeout=10 06:20:48 > git checkout -f 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 # timeout=10 06:20:49 $ docker rm -f --volumes 334b427f4921d0c4b4ace0bb7b336b831011bdff30e93254d80d8edae84e0432 [Pipeline] // withDockerContainer [Pipeline] sh 06:20:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:20:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:51 + ls -al . 06:20:51 total 272 06:20:51 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 06:20 . 06:20:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 06:18 .. 06:20:51 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 06:18 .dockerignore 06:20:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 06:20 .git 06:20:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 06:18 .github 06:20:51 -rw-rw-r-- 1 jenkins jenkins 266 Jul 19 06:18 .gitignore 06:20:51 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 06:18 .golangci.yml 06:20:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 06:18 .semver 06:20:51 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 19 06:18 Attribution.txt 06:20:51 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 19 06:18 CHANGELOG.md 06:20:51 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 19 06:18 Dockerfile 06:20:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 06:18 GOVERNANCE.md 06:20:51 -rw-rw-r-- 1 jenkins jenkins 658 Jul 19 06:18 Jenkinsfile 06:20:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 06:18 LICENSE 06:20:51 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 19 06:18 Makefile 06:20:51 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 06:18 OWNERS.md 06:20:51 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 19 06:18 README.md 06:20:51 -rw-rw-r-- 1 jenkins jenkins 12 Jul 19 06:18 VERSION 06:20:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 06:18 bin 06:20:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 06:18 cmd 06:20:51 -rw-r--r-- 1 jenkins jenkins 24601 Jul 19 06:20 coverage.out 06:20:51 -rw-rw-r-- 1 jenkins jenkins 7184 Jul 19 06:18 go.mod 06:20:51 -rw-rw-r-- 1 jenkins jenkins 102013 Jul 19 06:18 go.sum 06:20:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 06:18 internal 06:20:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 06:18 simulator 06:20:51 -rw-rw-r-- 1 jenkins jenkins 229 Jul 19 06:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:51 + 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=6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 --label arch=amd64 --label version=3.2.0-dev.18 . 06:20:51 Sending build context to Docker daemon 17.9MB 06:20:51 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:20:51 Step 2/23 : FROM ${BASE} AS builder 06:20:51 ---> 043f2926dce7 06:20:51 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:20:52 ---> Running in d0de6d3e8dc5 06:20:52 Removing intermediate container d0de6d3e8dc5 06:20:52 ---> fd6304ddc6a7 06:20:52 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:52 ---> Running in 320dc7a90da3 06:20:52 Removing intermediate container 320dc7a90da3 06:20:52 ---> d43dc20d6dc3 06:20:52 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:20:52 ---> Running in eee093581190 06:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:20:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:20:53 OK: 270 MiB in 60 packages 06:20:53 Removing intermediate container eee093581190 06:20:53 ---> c92bb4f5ff9c 06:20:53 Step 6/23 : WORKDIR /device-modbus-go 06:20:53 ---> Running in 3a8c28d7e4e0 06:20:53 Removing intermediate container 3a8c28d7e4e0 06:20:53 ---> d6bd72ced6d0 06:20:53 Step 7/23 : COPY go.mod vendor* ./ 06:20:53 ---> 34f71c36f1f2 06:20:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:53 ---> Running in 40e8b103c1b3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:54 Removing intermediate container 40e8b103c1b3 06:20:54 ---> b35f8da06de5 06:20:54 Step 9/23 : COPY . . 06:20:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:20:54 % Total % Received % Xferd Average Speed Time Time Time Current 06:20:54 Dload Upload Total Spent Left Speed 06:20:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 06:20:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 06:20:55 ---> c769132566cd 06:20:55 Step 10/23 : RUN ${MAKE} 06:20:55 ---> Running in db47584908bf [Pipeline] sh 06:20:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:20:55 + sudo tee /etc/docker/daemon.new 06:20:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:20:55 { 06:20:55 "registry-mirrors": [ 06:20:55 "https://nexus3.edgexfoundry.org:10001" 06:20:55 ], 06:20:55 "bip": "10.250.0.254/24", 06:20:55 "hosts": [ 06:20:55 "tcp://0.0.0.0:5555", 06:20:55 "unix:///var/run/docker.sock" 06:20:55 ], 06:20:55 "mtu": 1458, 06:20:55 "selinux-enabled": true, 06:20:55 "seccomp-profile": "/etc/docker/seccomp.json" 06:20:55 } [Pipeline] sh 06:20:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:20:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:15 provisioning config files... 06:21:15 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/157@tmp/config10029247364437972410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:16 ---> ****-login.sh 06:21:16 nexus3.edgexfoundry.org:10001 06:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:16 Configure a credential helper to remove this warning. See 06:21:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:16 06:21:16 Login Succeeded 06:21:16 nexus3.edgexfoundry.org:10002 06:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:17 Configure a credential helper to remove this warning. See 06:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:17 06:21:17 Login Succeeded 06:21:17 nexus3.edgexfoundry.org:10003 06:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:17 Configure a credential helper to remove this warning. See 06:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:17 06:21:17 Login Succeeded 06:21:17 nexus3.edgexfoundry.org:10004 06:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:17 Configure a credential helper to remove this warning. See 06:21:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:17 06:21:17 Login Succeeded 06:21:17 ****.io 06:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:18 Configure a credential helper to remove this warning. See 06:21:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:18 06:21:18 Login Succeeded 06:21:18 ---> ****-login.sh ends [Pipeline] } 06:21:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:21:19 ========================================================= 06:21:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:21:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:19 + 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:21:19 Sending build context to Docker daemon 9.072MB 06:21:19 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:21:19 Step 2/10 : FROM ${BASE} AS builder 06:21:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:21:20 c6b39de5b339: Pulling fs layer 06:21:20 a69c41024577: Pulling fs layer 06:21:20 d6de4b400683: Pulling fs layer 06:21:20 35cb2a7552d0: Pulling fs layer 06:21:20 4f4fb700ef54: Pulling fs layer 06:21:20 464afbd9ba4c: Pulling fs layer 06:21:20 00f215d4a9da: Pulling fs layer 06:21:20 d496ad576159: Pulling fs layer 06:21:20 4f4fb700ef54: Waiting 06:21:20 464afbd9ba4c: Waiting 06:21:20 00f215d4a9da: Waiting 06:21:20 d496ad576159: Waiting 06:21:20 35cb2a7552d0: Waiting 06:21:20 a69c41024577: Verifying Checksum 06:21:20 a69c41024577: Download complete 06:21:20 35cb2a7552d0: Verifying Checksum 06:21:20 35cb2a7552d0: Download complete 06:21:20 4f4fb700ef54: Verifying Checksum 06:21:20 4f4fb700ef54: Download complete 06:21:20 464afbd9ba4c: Verifying Checksum 06:21:20 464afbd9ba4c: Download complete 06:21:20 c6b39de5b339: Verifying Checksum 06:21:20 c6b39de5b339: Download complete 06:21:20 d496ad576159: Verifying Checksum 06:21:20 d496ad576159: Download complete 06:21:21 c6b39de5b339: Pull complete 06:21:21 a69c41024577: Pull complete 06:21:21 d6de4b400683: Verifying Checksum 06:21:21 d6de4b400683: Download complete 06:21:22 00f215d4a9da: Verifying Checksum 06:21:22 00f215d4a9da: Download complete 06:21:28 Removing intermediate container db47584908bf 06:21:28 ---> 4e9f2c83db0e 06:21:28 Step 11/23 : FROM alpine:3.18 06:21:28 3.18: Pulling from library/alpine 06:21:28 73baa7ef167e: Pulling fs layer 06:21:28 73baa7ef167e: Verifying Checksum 06:21:28 73baa7ef167e: Download complete 06:21:28 73baa7ef167e: Pull complete 06:21:28 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:21:28 Status: Downloaded newer image for alpine:3.18 06:21:28 ---> 8fd7cac70a4a 06:21:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:21:28 ---> Running in aeed1996331d 06:21:28 Removing intermediate container aeed1996331d 06:21:28 ---> cb5eb2b0294d 06:21:28 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:21:28 ---> Running in 3332ecf928e7 06:21:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:21:29 (1/1) Installing dumb-init (1.2.5-r2) 06:21:29 Executing busybox-1.36.1-r7.trigger 06:21:29 OK: 7 MiB in 16 packages 06:21:29 Removing intermediate container 3332ecf928e7 06:21:29 ---> aa4e3642b6aa 06:21:29 Step 14/23 : RUN apk --no-cache upgrade 06:21:29 ---> Running in 4b6e117a3052 06:21:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:21:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:21:30 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 06:21:30 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 06:21:30 OK: 7 MiB in 16 packages 06:21:31 Removing intermediate container 4b6e117a3052 06:21:31 ---> 47269a594a2d 06:21:31 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:21:31 ---> cf80ae53fb0b 06:21:31 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:21:32 ---> 49bf0245569b 06:21:32 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:21:32 ---> ce5f4dc5e69b 06:21:32 Step 18/23 : EXPOSE 59901 06:21:32 ---> Running in 7deb445d4a0c 06:21:32 Removing intermediate container 7deb445d4a0c 06:21:32 ---> 2becfb98140d 06:21:32 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:21:32 ---> Running in 02628feb6605 06:21:32 Removing intermediate container 02628feb6605 06:21:32 ---> 0735a4ca5403 06:21:32 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:21:32 ---> Running in 901389e93b82 06:21:32 Removing intermediate container 901389e93b82 06:21:32 ---> 13bd4e7dc233 06:21:32 Step 21/23 : LABEL arch=amd64 06:21:32 ---> Running in db0809c4479f 06:21:32 Removing intermediate container db0809c4479f 06:21:32 ---> 543cb6ae8db0 06:21:32 Step 22/23 : LABEL git_sha=6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:21:32 ---> Running in 247bddf3bf36 06:21:32 Removing intermediate container 247bddf3bf36 06:21:32 ---> 7415e97ffd20 06:21:32 Step 23/23 : LABEL version=3.2.0-dev.18 06:21:32 ---> Running in 91c78a982e50 06:21:32 Removing intermediate container 91c78a982e50 06:21:32 ---> 3bd9d96e83ed 06:21:32 [Warning] One or more build-args [ARCH] were not consumed 06:21:32 Successfully built 3bd9d96e83ed 06:21:32 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:33 provisioning config files... 06:21:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3424471850885010016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:33 ---> ****-login.sh 06:21:33 nexus3.edgexfoundry.org:10001 06:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:33 Configure a credential helper to remove this warning. See 06:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:33 06:21:33 Login Succeeded 06:21:33 nexus3.edgexfoundry.org:10002 06:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:33 Configure a credential helper to remove this warning. See 06:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:33 06:21:33 Login Succeeded 06:21:33 nexus3.edgexfoundry.org:10003 06:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:33 Configure a credential helper to remove this warning. See 06:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:33 06:21:33 Login Succeeded 06:21:33 nexus3.edgexfoundry.org:10004 06:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:33 Configure a credential helper to remove this warning. See 06:21:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:33 06:21:33 Login Succeeded 06:21:33 ****.io 06:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:21:34 Configure a credential helper to remove this warning. See 06:21:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:21:34 06:21:34 Login Succeeded 06:21:34 ---> ****-login.sh ends [Pipeline] } 06:21:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:21:34 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 06:21:34 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:21:34 latest 06:21:34 3.2.0-dev.18 06:21:34 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 06:21:34 main 06:21:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:34 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:21:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:21:35 b0c4a994c436: Preparing 06:21:35 59585991f34d: Preparing 06:21:35 06dfce9cdf65: Preparing 06:21:35 6251f42a245c: Preparing 06:21:35 f9b7f945fd4a: Preparing 06:21:35 63ec0bd56cf3: Preparing 06:21:35 63ec0bd56cf3: Waiting 06:21:35 59585991f34d: Pushed 06:21:35 b0c4a994c436: Pushed 06:21:35 f9b7f945fd4a: Pushed 06:21:35 63ec0bd56cf3: Layer already exists 06:21:35 d6de4b400683: Pull complete 06:21:35 35cb2a7552d0: Pull complete 06:21:35 4f4fb700ef54: Pull complete 06:21:35 464afbd9ba4c: Pull complete 06:21:35 6251f42a245c: Pushed 06:21:39 06dfce9cdf65: Pushed 06:21:39 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7: digest: sha256:43bb5d2cb25eb32a9bc5eacd892569fe403f478aaa802d8d33ae308fde8d37c8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:40 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 06:21:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:21:40 b0c4a994c436: Preparing 06:21:40 59585991f34d: Preparing 06:21:40 06dfce9cdf65: Preparing 06:21:40 6251f42a245c: Preparing 06:21:40 f9b7f945fd4a: Preparing 06:21:40 63ec0bd56cf3: Preparing 06:21:40 63ec0bd56cf3: Waiting 06:21:40 f9b7f945fd4a: Layer already exists 06:21:40 b0c4a994c436: Layer already exists 06:21:40 06dfce9cdf65: Layer already exists 06:21:40 6251f42a245c: Layer already exists 06:21:40 59585991f34d: Layer already exists 06:21:40 63ec0bd56cf3: Layer already exists 06:21:41 latest: digest: sha256:43bb5d2cb25eb32a9bc5eacd892569fe403f478aaa802d8d33ae308fde8d37c8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:41 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.18 06:21:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:21:42 b0c4a994c436: Preparing 06:21:42 59585991f34d: Preparing 06:21:42 06dfce9cdf65: Preparing 06:21:42 6251f42a245c: Preparing 06:21:42 f9b7f945fd4a: Preparing 06:21:42 63ec0bd56cf3: Preparing 06:21:42 63ec0bd56cf3: Waiting 06:21:42 6251f42a245c: Layer already exists 06:21:42 f9b7f945fd4a: Layer already exists 06:21:42 59585991f34d: Layer already exists 06:21:42 06dfce9cdf65: Layer already exists 06:21:42 b0c4a994c436: Layer already exists 06:21:42 63ec0bd56cf3: Layer already exists 06:21:42 3.2.0-dev.18: digest: sha256:43bb5d2cb25eb32a9bc5eacd892569fe403f478aaa802d8d33ae308fde8d37c8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:42 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 06:21:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:21:43 b0c4a994c436: Preparing 06:21:43 59585991f34d: Preparing 06:21:43 06dfce9cdf65: Preparing 06:21:43 6251f42a245c: Preparing 06:21:43 f9b7f945fd4a: Preparing 06:21:43 63ec0bd56cf3: Preparing 06:21:43 63ec0bd56cf3: Waiting 06:21:43 f9b7f945fd4a: Layer already exists 06:21:43 06dfce9cdf65: Layer already exists 06:21:43 b0c4a994c436: Layer already exists 06:21:43 6251f42a245c: Layer already exists 06:21:43 59585991f34d: Layer already exists 06:21:43 63ec0bd56cf3: Layer already exists 06:21:43 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18: digest: sha256:43bb5d2cb25eb32a9bc5eacd892569fe403f478aaa802d8d33ae308fde8d37c8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 06:21:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 06:21:44 b0c4a994c436: Preparing 06:21:44 59585991f34d: Preparing 06:21:44 06dfce9cdf65: Preparing 06:21:44 6251f42a245c: Preparing 06:21:44 f9b7f945fd4a: Preparing 06:21:44 63ec0bd56cf3: Preparing 06:21:44 63ec0bd56cf3: Waiting 06:21:44 06dfce9cdf65: Layer already exists 06:21:44 b0c4a994c436: Layer already exists 06:21:44 6251f42a245c: Layer already exists 06:21:44 f9b7f945fd4a: Layer already exists 06:21:44 59585991f34d: Layer already exists 06:21:44 63ec0bd56cf3: Layer already exists 06:21:44 main: digest: sha256:43bb5d2cb25eb32a9bc5eacd892569fe403f478aaa802d8d33ae308fde8d37c8 size: 1576 [Pipeline] } [Pipeline] // withEnv 06:21:44 00f215d4a9da: Pull complete [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:44 ===================================================== [Pipeline] echo 06:21:44 taggedImages: 06:21:44 - nexus3.edgexfoundry.org:10004/device-modbus:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:21:44 - nexus3.edgexfoundry.org:10004/device-modbus:latest 06:21:44 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.18 06:21:44 - nexus3.edgexfoundry.org:10004/device-modbus:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 06:21:44 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } 06:21:44 d496ad576159: Pull complete 06:21:44 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:21:44 ---> f246e2811388 06:21:44 Step 3/10 : ARG ADD_BUILD_TAGS="" [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 06:21:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:45 06:21:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:45 ---> Running in e28a2a396a0d 06:21:45 Removing intermediate container e28a2a396a0d 06:21:45 ---> 660de0ef63a9 06:21:45 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:21:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:45 latest: Pulling from edgex-lftools-log-publisher 06:21:45 5eb5b503b376: Pulling fs layer 06:21:45 5c69ac0246d0: Pulling fs layer 06:21:45 ec43610c2a17: Pulling fs layer 06:21:45 3a2ae6a8a46f: Pulling fs layer 06:21:45 33b1e0a273af: Pulling fs layer 06:21:45 5d3b04190fa2: Pulling fs layer 06:21:45 2f39f015ded8: Pulling fs layer 06:21:45 5d3b04190fa2: Waiting 06:21:45 5c69ac0246d0: Download complete 06:21:45 3a2ae6a8a46f: Verifying Checksum 06:21:45 3a2ae6a8a46f: Download complete 06:21:45 ec43610c2a17: Verifying Checksum 06:21:45 ec43610c2a17: Download complete 06:21:45 33b1e0a273af: Verifying Checksum 06:21:45 33b1e0a273af: Download complete 06:21:45 5d3b04190fa2: Download complete 06:21:46 ---> Running in af2c5ee2773a 06:21:46 5eb5b503b376: Verifying Checksum 06:21:46 5eb5b503b376: Download complete 06:21:46 Removing intermediate container af2c5ee2773a 06:21:46 ---> 675cd43d6e84 06:21:46 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:21:46 ---> Running in 429bde2d452e 06:21:46 2f39f015ded8: Download complete 06:21:47 5eb5b503b376: Pull complete 06:21:47 5c69ac0246d0: Pull complete 06:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:21:48 ec43610c2a17: Pull complete 06:21:48 3a2ae6a8a46f: Pull complete 06:21:48 33b1e0a273af: Pull complete 06:21:48 5d3b04190fa2: Pull complete 06:21:48 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:21:48 (2/8) Installing libedit (20221030.3.1-r1) 06:21:48 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:21:48 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:21:48 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:21:48 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:21:48 (7/8) Installing openssh-server (9.3_p2-r2) 06:21:48 (8/8) Installing openssh (9.3_p2-r2) 06:21:48 Executing busybox-1.36.1-r5.trigger 06:21:48 OK: 272 MiB in 60 packages 06:21:50 Removing intermediate container 429bde2d452e 06:21:50 ---> 4a7f2a44faa9 06:21:50 Step 6/10 : WORKDIR /device-modbus-go 06:21:50 ---> Running in 3c4006444e33 06:21:50 Removing intermediate container 3c4006444e33 06:21:50 ---> 28d52a189687 06:21:50 Step 7/10 : COPY go.mod vendor* ./ 06:21:50 ---> ac9e17c1c458 06:21:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:21:50 ---> Running in 61bfe82bfdaa 06:21:53 2f39f015ded8: Pull complete 06:21:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:53 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:21:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:21:57 $ docker top 79897301faf9f541efb8323d00f6e847041bf948095f82e885630d708c537ee8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:58 ---> job-cost.sh 06:21:58 lf-activate-venv: SKIPPING 06:21:58 INFO: No Stack... 06:21:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:21:59 INFO: Archiving Costs [Pipeline] sh 06:21:59 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 06:21:59 + cut -d, -f6 [Pipeline] lock 06:21:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] 06:21:59 Resource [jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] did not exist. Created. 06:21:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:59 + echo total: 0.2199999988079071 [Pipeline] stash 06:22:00 Stashed 1 file(s) [Pipeline] } 06:22:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 06:22:00 $ docker stop --time=1 79897301faf9f541efb8323d00f6e847041bf948095f82e885630d708c537ee8 06:22:01 $ docker rm -f --volumes 79897301faf9f541efb8323d00f6e847041bf948095f82e885630d708c537ee8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:23:43 Removing intermediate container 61bfe82bfdaa 06:23:43 ---> 4ee47f1f0f56 06:23:43 Step 9/10 : COPY . . 06:23:43 ---> abe62f98613e 06:23:43 Step 10/10 : RUN ${MAKE} 06:23:43 ---> Running in 08bf61c2dbba 06:23:43 noop 06:23:43 Removing intermediate container 08bf61c2dbba 06:23:43 ---> 1fa86217e2c0 06:23:43 Successfully built 1fa86217e2c0 06:23:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:44 + docker inspect -f . ci-base-image-arm64 06:23:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:44 prd-ubuntu20.04-docker-arm64-4c-16g-5922 does not seem to be running inside a container 06:23:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/157 -v /w/workspace/device-modbus-go/157:/w/workspace/device-modbus-go/157:rw,z -v /w/workspace/device-modbus-go/157@tmp:/w/workspace/device-modbus-go/157@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:23:45 $ docker top ce8c0171c7211df595b35ae2e3542c859e1956995ebeacf8105aa831dd451c16 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:46 + go version 06:23:46 go version go1.21.9 linux/arm64 [Pipeline] } 06:23:46 $ docker stop --time=1 ce8c0171c7211df595b35ae2e3542c859e1956995ebeacf8105aa831dd451c16 06:23:48 $ docker rm -f --volumes ce8c0171c7211df595b35ae2e3542c859e1956995ebeacf8105aa831dd451c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:49 + docker inspect -f . ci-base-image-arm64 06:23:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:49 prd-ubuntu20.04-docker-arm64-4c-16g-5922 does not seem to be running inside a container 06:23:49 $ 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/157 -v /w/workspace/device-modbus-go/157:/w/workspace/device-modbus-go/157:rw,z -v /w/workspace/device-modbus-go/157@tmp:/w/workspace/device-modbus-go/157@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:23:51 $ docker top 9ac300657e6509795a36d402679d5254d43bcb5d0d0cf7a998d1e2f85a090514 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:51 + git config --global --add safe.directory /w/workspace/device-modbus-go/157 [Pipeline] fileExists [Pipeline] sh 06:23:52 + make test 06:23:52 go test ./... -coverprofile=coverage.out 06:23:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:27:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:27:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.9% of statements 06:27:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:27:36 go vet ./... 06:28:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:28:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:28:15 ./bin/test-attribution-txt.sh 06:28:15 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:28:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:28:16 $ docker stop --time=1 9ac300657e6509795a36d402679d5254d43bcb5d0d0cf7a998d1e2f85a090514 06:28:18 $ docker rm -f --volumes 9ac300657e6509795a36d402679d5254d43bcb5d0d0cf7a998d1e2f85a090514 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:28:19 Warning: overwriting stash ‘coverage-report’ 06:28:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:28:21 + ls -al . 06:28:21 total 268 06:28:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 06:23 . 06:28:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 06:20 .. 06:28:21 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 06:20 .dockerignore 06:28:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 06:20 .git 06:28:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 06:20 .github 06:28:21 -rw-rw-r-- 1 jenkins jenkins 266 Jul 19 06:20 .gitignore 06:28:21 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 06:20 .golangci.yml 06:28:21 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 19 06:20 Attribution.txt 06:28:21 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 19 06:20 CHANGELOG.md 06:28:21 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 19 06:20 Dockerfile 06:28:21 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 06:20 GOVERNANCE.md 06:28:21 -rw-rw-r-- 1 jenkins jenkins 658 Jul 19 06:20 Jenkinsfile 06:28:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 06:20 LICENSE 06:28:21 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 19 06:20 Makefile 06:28:21 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 06:20 OWNERS.md 06:28:21 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 19 06:20 README.md 06:28:21 -rw-rw-r-- 1 jenkins jenkins 12 Jul 19 06:18 VERSION 06:28:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 06:20 bin 06:28:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 06:20 cmd 06:28:21 -rw-r--r-- 1 jenkins jenkins 24601 Jul 19 06:27 coverage.out 06:28:21 -rw-rw-r-- 1 jenkins jenkins 7184 Jul 19 06:20 go.mod 06:28:21 -rw-rw-r-- 1 jenkins jenkins 102013 Jul 19 06:20 go.sum 06:28:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 06:20 internal 06:28:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 06:20 simulator 06:28:21 -rw-rw-r-- 1 jenkins jenkins 229 Jul 19 06:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:22 + 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=6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 --label arch=arm64 --label version=3.2.0-dev.18 . 06:28:22 Sending build context to Docker daemon 9.097MB 06:28:22 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:28:22 Step 2/23 : FROM ${BASE} AS builder 06:28:22 ---> 1fa86217e2c0 06:28:22 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:28:22 ---> Running in f6bb7e1ccdbc 06:28:22 Removing intermediate container f6bb7e1ccdbc 06:28:22 ---> 8ac5e6b65d5a 06:28:22 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:28:23 ---> Running in 8286fd46dca0 06:28:23 Removing intermediate container 8286fd46dca0 06:28:23 ---> 3742ce288ae1 06:28:23 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:28:23 ---> Running in a9483bb18b93 06:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:28:25 OK: 272 MiB in 60 packages 06:28:26 Removing intermediate container a9483bb18b93 06:28:26 ---> cef1edbb088d 06:28:26 Step 6/23 : WORKDIR /device-modbus-go 06:28:26 ---> Running in bb623c7828d8 06:28:27 Removing intermediate container bb623c7828d8 06:28:27 ---> 284fbac23816 06:28:27 Step 7/23 : COPY go.mod vendor* ./ 06:28:27 ---> a6199d465551 06:28:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:27 ---> Running in 1853043f2220 06:28:29 Removing intermediate container 1853043f2220 06:28:29 ---> a0944f392381 06:28:29 Step 9/23 : COPY . . 06:28:30 ---> f139ebe16cba 06:28:30 Step 10/23 : RUN ${MAKE} 06:28:30 ---> Running in c1ab7136d5ea 06:28:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.25" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:31:54 Removing intermediate container c1ab7136d5ea 06:31:54 ---> 5cbbb0dbde20 06:31:54 Step 11/23 : FROM alpine:3.18 06:31:54 3.18: Pulling from library/alpine 06:31:54 5c905c7ebe2f: Pulling fs layer 06:31:54 5c905c7ebe2f: Verifying Checksum 06:31:54 5c905c7ebe2f: Download complete 06:31:54 5c905c7ebe2f: Pull complete 06:31:54 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:31:54 Status: Downloaded newer image for alpine:3.18 06:31:54 ---> dec292d02e07 06:31:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:31:54 ---> Running in 1093b4fda289 06:31:54 Removing intermediate container 1093b4fda289 06:31:54 ---> 828ccc37a3d5 06:31:54 Step 13/23 : RUN apk add --update --no-cache dumb-init 06:31:54 ---> Running in efbbd5fed2b2 06:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:31:54 (1/1) Installing dumb-init (1.2.5-r2) 06:31:54 Executing busybox-1.36.1-r7.trigger 06:31:54 OK: 8 MiB in 16 packages 06:31:54 Removing intermediate container efbbd5fed2b2 06:31:54 ---> a55440f113a8 06:31:54 Step 14/23 : RUN apk --no-cache upgrade 06:31:54 ---> Running in 7c32483f10d5 06:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:31:54 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 06:31:54 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 06:31:54 OK: 8 MiB in 16 packages 06:31:54 Removing intermediate container 7c32483f10d5 06:31:54 ---> 3ec634d0f6e0 06:31:54 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 06:31:54 ---> a6d36ba1dae2 06:31:54 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 06:31:55 ---> 75efd487e7ae 06:31:55 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:31:55 ---> a6f8fbb37634 06:31:55 Step 18/23 : EXPOSE 59901 06:31:55 ---> Running in dc26c79ad37b 06:31:56 Removing intermediate container dc26c79ad37b 06:31:56 ---> 9559c91e92d8 06:31:56 Step 19/23 : ENTRYPOINT ["/device-modbus"] 06:31:56 ---> Running in 80a5b678006e 06:31:56 Removing intermediate container 80a5b678006e 06:31:56 ---> 5c1526621946 06:31:56 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:31:56 ---> Running in e1d9797bc299 06:31:56 Removing intermediate container e1d9797bc299 06:31:56 ---> ed5c3d019828 06:31:56 Step 21/23 : LABEL arch=arm64 06:31:57 ---> Running in 038f548e22cf 06:31:57 Removing intermediate container 038f548e22cf 06:31:57 ---> 11d81dd2e49a 06:31:57 Step 22/23 : LABEL git_sha=6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:31:57 ---> Running in b5de0f87f2b3 06:31:57 Removing intermediate container b5de0f87f2b3 06:31:57 ---> 23549f02baee 06:31:57 Step 23/23 : LABEL version=3.2.0-dev.18 06:31:57 ---> Running in 76989d27b8da 06:31:58 Removing intermediate container 76989d27b8da 06:31:58 ---> d193509c6957 06:31:58 [Warning] One or more build-args [ARCH] were not consumed 06:31:58 Successfully built d193509c6957 06:31:58 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:31:58 provisioning config files... 06:31:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/157@tmp/config10967677823015051014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:59 ---> ****-login.sh 06:31:59 nexus3.edgexfoundry.org:10001 06:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:31:59 Configure a credential helper to remove this warning. See 06:31:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:31:59 06:31:59 Login Succeeded 06:31:59 nexus3.edgexfoundry.org:10002 06:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:31:59 Configure a credential helper to remove this warning. See 06:31:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:31:59 06:31:59 Login Succeeded 06:31:59 nexus3.edgexfoundry.org:10003 06:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:00 Configure a credential helper to remove this warning. See 06:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:00 06:32:00 Login Succeeded 06:32:00 nexus3.edgexfoundry.org:10004 06:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:00 Configure a credential helper to remove this warning. See 06:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:00 06:32:00 Login Succeeded 06:32:00 ****.io 06:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:32:00 Configure a credential helper to remove this warning. See 06:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:32:00 06:32:00 Login Succeeded 06:32:00 ---> ****-login.sh ends [Pipeline] } 06:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:32:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:32:01 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 06:32:01 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:32:01 latest 06:32:01 3.2.0-dev.18 06:32:01 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 06:32:01 main 06:32:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:32:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:32:02 d6d66d6d09bb: Preparing 06:32:02 6b15dc15af34: Preparing 06:32:02 a79bff35f3e6: Preparing 06:32:02 a0288498701b: Preparing 06:32:02 f79200e689ee: Preparing 06:32:02 da707bb00cb8: Preparing 06:32:02 da707bb00cb8: Waiting 06:32:02 d6d66d6d09bb: Pushed 06:32:02 6b15dc15af34: Pushed 06:32:02 f79200e689ee: Pushed 06:32:02 da707bb00cb8: Layer already exists 06:32:03 a0288498701b: Pushed 06:32:09 a79bff35f3e6: Pushed 06:32:09 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7: digest: sha256:fa3957fe414bc4fff59bf80444ee785795cf6b9539b7587c8c5b40a0f61058bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:32:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:32:10 d6d66d6d09bb: Preparing 06:32:10 6b15dc15af34: Preparing 06:32:10 a79bff35f3e6: Preparing 06:32:10 a0288498701b: Preparing 06:32:10 f79200e689ee: Preparing 06:32:10 da707bb00cb8: Preparing 06:32:10 da707bb00cb8: Waiting 06:32:10 d6d66d6d09bb: Layer already exists 06:32:10 a0288498701b: Layer already exists 06:32:10 f79200e689ee: Layer already exists 06:32:10 a79bff35f3e6: Layer already exists 06:32:10 6b15dc15af34: Layer already exists 06:32:10 da707bb00cb8: Layer already exists 06:32:10 latest: digest: sha256:fa3957fe414bc4fff59bf80444ee785795cf6b9539b7587c8c5b40a0f61058bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.18 06:32:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:32:11 d6d66d6d09bb: Preparing 06:32:11 6b15dc15af34: Preparing 06:32:11 a79bff35f3e6: Preparing 06:32:11 a0288498701b: Preparing 06:32:11 f79200e689ee: Preparing 06:32:11 da707bb00cb8: Preparing 06:32:11 da707bb00cb8: Waiting 06:32:11 d6d66d6d09bb: Layer already exists 06:32:11 a0288498701b: Layer already exists 06:32:11 f79200e689ee: Layer already exists 06:32:11 a79bff35f3e6: Layer already exists 06:32:11 6b15dc15af34: Layer already exists 06:32:11 da707bb00cb8: Layer already exists 06:32:11 3.2.0-dev.18: digest: sha256:fa3957fe414bc4fff59bf80444ee785795cf6b9539b7587c8c5b40a0f61058bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 06:32:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:32:12 d6d66d6d09bb: Preparing 06:32:12 6b15dc15af34: Preparing 06:32:12 a79bff35f3e6: Preparing 06:32:12 a0288498701b: Preparing 06:32:12 f79200e689ee: Preparing 06:32:12 da707bb00cb8: Preparing 06:32:12 da707bb00cb8: Waiting 06:32:12 f79200e689ee: Layer already exists 06:32:12 a79bff35f3e6: Layer already exists 06:32:12 6b15dc15af34: Layer already exists 06:32:12 a0288498701b: Layer already exists 06:32:12 d6d66d6d09bb: Layer already exists 06:32:12 da707bb00cb8: Layer already exists 06:32:12 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18: digest: sha256:fa3957fe414bc4fff59bf80444ee785795cf6b9539b7587c8c5b40a0f61058bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:13 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 06:32:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 06:32:13 d6d66d6d09bb: Preparing 06:32:13 6b15dc15af34: Preparing 06:32:13 a79bff35f3e6: Preparing 06:32:13 a0288498701b: Preparing 06:32:13 f79200e689ee: Preparing 06:32:13 da707bb00cb8: Preparing 06:32:13 f79200e689ee: Layer already exists 06:32:13 d6d66d6d09bb: Layer already exists 06:32:13 a79bff35f3e6: Layer already exists 06:32:13 a0288498701b: Layer already exists 06:32:13 6b15dc15af34: Layer already exists 06:32:13 da707bb00cb8: Layer already exists 06:32:13 main: digest: sha256:fa3957fe414bc4fff59bf80444ee785795cf6b9539b7587c8c5b40a0f61058bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:32:14 ===================================================== [Pipeline] echo 06:32:14 taggedImages: 06:32:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 06:32:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 06:32:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.18 06:32:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:6c2958f1afabd3bbf0ae01a214b78fe37acddbd7-3.2.0-dev.18 06:32:14 - 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:32:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:32:14 06:32:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:32:14 arm64: Pulling from edgex-lftools-log-publisher 06:32:14 8998bd30e6a1: Pulling fs layer 06:32:14 04944245beec: Pulling fs layer 06:32:14 699f458cf7ca: Pulling fs layer 06:32:14 765212b225bb: Pulling fs layer 06:32:14 f23df028b6ca: Pulling fs layer 06:32:14 d65c8cfc05b1: Pulling fs layer 06:32:14 2437ff75d9bd: Pulling fs layer 06:32:14 f23df028b6ca: Waiting 06:32:14 d65c8cfc05b1: Waiting 06:32:14 2437ff75d9bd: Waiting 06:32:14 765212b225bb: Waiting 06:32:15 04944245beec: Verifying Checksum 06:32:15 04944245beec: Download complete 06:32:15 765212b225bb: Verifying Checksum 06:32:15 765212b225bb: Download complete 06:32:15 f23df028b6ca: Verifying Checksum 06:32:15 f23df028b6ca: Download complete 06:32:15 d65c8cfc05b1: Verifying Checksum 06:32:15 d65c8cfc05b1: Download complete 06:32:15 699f458cf7ca: Verifying Checksum 06:32:15 699f458cf7ca: Download complete 06:32:15 8998bd30e6a1: Verifying Checksum 06:32:15 8998bd30e6a1: Download complete 06:32:18 2437ff75d9bd: Verifying Checksum 06:32:18 2437ff75d9bd: Download complete 06:32:20 8998bd30e6a1: Pull complete 06:32:20 04944245beec: Pull complete 06:32:22 699f458cf7ca: Pull complete 06:32:22 765212b225bb: Pull complete 06:32:23 f23df028b6ca: Pull complete 06:32:23 d65c8cfc05b1: Pull complete 06:32:42 2437ff75d9bd: Pull complete 06:32:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:32:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:32:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:43 prd-ubuntu20.04-docker-arm64-4c-16g-5922 does not seem to be running inside a container 06:32:43 $ 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/157 -v /w/workspace/device-modbus-go/157:/w/workspace/device-modbus-go/157:rw,z -v /w/workspace/device-modbus-go/157@tmp:/w/workspace/device-modbus-go/157@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:32:45 $ docker top e685eb9a91d5e23aa523e586c3785ecf84bae25fe58d6dc3e0074557b6cbb55e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:32:46 ---> job-cost.sh 06:32:46 lf-activate-venv: SKIPPING 06:32:46 INFO: No Stack... 06:32:47 INFO: Retrieving Pricing Info for: v3-standard-4 06:32:47 INFO: Archiving Costs [Pipeline] sh 06:32:48 + + cutcat -d, /w/workspace/device-modbus-go/157/archives/cost.csv -f6 06:32:48 [Pipeline] lock 06:32:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] 06:32:48 Resource [jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] did not exist. Created. 06:32:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:32:49 /w/workspace/device-modbus-go/157@tmp/durable-c0685612/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:32:49 + echo total: 0.10999999940395355 [Pipeline] stash 06:32:49 Warning: overwriting stash ‘stack-cost’ 06:32:49 Stashed 1 file(s) [Pipeline] } 06:32:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 06:32:49 $ docker stop --time=1 e685eb9a91d5e23aa523e586c3785ecf84bae25fe58d6dc3e0074557b6cbb55e 06:32:51 $ docker rm -f --volumes e685eb9a91d5e23aa523e586c3785ecf84bae25fe58d6dc3e0074557b6cbb55e [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:32:52 provisioning config files... 06:32:52 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7139205972630440689tmp [Pipeline] { [Pipeline] sh 06:32:53 + set +x 06:32:53 + + curl -s https://codecov.io/bash 06:32:53 bash -s -- 06:32:53 06:32:53 _____ _ 06:32:53 / ____| | | 06:32:53 | | ___ __| | ___ ___ _____ __ 06:32:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:32:53 | |___| (_) | (_| | __/ (_| (_) \ V / 06:32:53 \_____\___/ \__,_|\___|\___\___/ \_/ 06:32:53 Bash-1.0.6 06:32:53 06:32:53 06:32:53 ==> git version 2.25.1 found 06:32:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:32:53 Release-Date: 2020-01-08 06:32:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:32:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:32:53 ==> Jenkins CI detected. 06:32:53 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 06:32:53 project root: . 06:32:53 --> token set from env 06:32:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:32:53 ==> Running gcov in . (disable via -X gcov) 06:32:53 ==> Python coveragepy not found 06:32:53 ==> Searching for coverage reports in: 06:32:53 + . 06:32:53 -> Found 1 reports 06:32:53 ==> Detecting git/mercurial file structure 06:32:53 ==> Reading reports 06:32:53 + ./coverage.out bytes=24601 06:32:53 ==> Appending adjustments 06:32:53 https://docs.codecov.io/docs/fixing-reports 06:32:53 + Found adjustments 06:32:53 ==> Gzipping contents 06:32:53 4.0K /tmp/codecov.VGjVLS.gz 06:32:53 ==> Uploading reports 06:32:53 url: https://codecov.io 06:32:53 query: branch=main&commit=6c2958f1afabd3bbf0ae01a214b78fe37acddbd7&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:32:53 -> Pinging Codecov 06:32:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6c2958f1afabd3bbf0ae01a214b78fe37acddbd7&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:32:53 -> Uploading to 06:32:53 https://storage.googleapis.com/codecov/v4/raw/2024-07-19/55DBCA73C666E3227836607328DD7E49/6c2958f1afabd3bbf0ae01a214b78fe37acddbd7/42ac455d-3b61-4d67-b6a4-819ca77aa0a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T063253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1eda9110a42b85d2dd310417c48d43bfa72f157afad6f2b2a6ab9e74d966bce 06:32:53 % Total % Received % Xferd Average Speed Time Time Time Current 06:32:53 Dload Upload Total Spent Left Speed 06:32:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 17233 --:--:-- --:--:-- --:--:-- 17233 06:32:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] } 06:32:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:32:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:32:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:32:54 06:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:32:55 latest: Pulling from edgex-devops/edgex-snyk-go 06:32:55 619be1103602: Already exists 06:32:55 f8ea3408117e: Pulling fs layer 06:32:55 91320369b822: Pulling fs layer 06:32:55 0406650e8295: Pulling fs layer 06:32:55 4f4fb700ef54: Pulling fs layer 06:32:55 96d80e3f36e1: Pulling fs layer 06:32:55 bcf3aedb951c: Pulling fs layer 06:32:55 4f4fb700ef54: Waiting 06:32:55 96d80e3f36e1: Waiting 06:32:55 bcf3aedb951c: Waiting 06:32:55 0406650e8295: Verifying Checksum 06:32:55 0406650e8295: Download complete 06:32:55 f8ea3408117e: Verifying Checksum 06:32:55 f8ea3408117e: Download complete 06:32:55 4f4fb700ef54: Verifying Checksum 06:32:55 4f4fb700ef54: Download complete 06:32:55 f8ea3408117e: Pull complete 06:32:55 96d80e3f36e1: Verifying Checksum 06:32:55 96d80e3f36e1: Download complete 06:32:55 91320369b822: Verifying Checksum 06:32:55 91320369b822: Download complete 06:32:56 bcf3aedb951c: Download complete 06:32:58 91320369b822: Pull complete 06:32:58 0406650e8295: Pull complete 06:32:58 4f4fb700ef54: Pull complete 06:32:59 96d80e3f36e1: Pull complete 06:33:02 bcf3aedb951c: Pull complete 06:33:02 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 06:33:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 06:33:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:03 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:33:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 06:33:07 $ docker top 15e06a4b26a3aa61a796cbfe7a05ac4463cf57d106d6275f4079763b90eb44e8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 06:33:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 06:33:08 + set -o pipefail 06:33:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 06:33:15 06:33:15 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 06:33:15 06:33:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/2c07cea9-70d5-4e41-b5ae-ced78e6eed8a 06:33:15 06:33:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:33:15 06:33:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:33:15 [Pipeline] } 06:33:15 $ docker stop --time=1 15e06a4b26a3aa61a796cbfe7a05ac4463cf57d106d6275f4079763b90eb44e8 06:33:20 $ docker rm -f --volumes 15e06a4b26a3aa61a796cbfe7a05ac4463cf57d106d6275f4079763b90eb44e8 [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:33:22 + git log --format=format:%s -1 6c2958f1afabd3bbf0ae01a214b78fe37acddbd7 [Pipeline] sh 06:33:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:33:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:23 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:33:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:33:24 $ docker top e7b3a3785cb48649ad9dcbc781c564f044bfaa47524209e61bcc5312fe83c2b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:24 [ssh-agent] Looking for ssh-agent implementation... 06:33:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:24 $ docker exec e7b3a3785cb48649ad9dcbc781c564f044bfaa47524209e61bcc5312fe83c2b9 ssh-agent 06:33:24 SSH_AUTH_SOCK=/tmp/ssh-aXUa5BHrN87L/agent.32 06:33:24 SSH_AGENT_PID=38 06:33:24 Running ssh-add (command line suppressed) 06:33:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9209816593186224123.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9209816593186224123.key) 06:33:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:25 + git semver tag 06:33:25 2024-07-19 06:33:25,403 [run_tag] DEBUG tag force:False 06:33:25 2024-07-19 06:33:25,403 [check_head_tag] DEBUG check head tag 06:33:25 2024-07-19 06:33:25,405 [execute] INFO git cat-file --batch-check 06:33:25 2024-07-19 06:33:25,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:33:25 2024-07-19 06:33:25,410 [execute] INFO git cat-file --batch 06:33:25 2024-07-19 06:33:25,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 06:33:25 2024-07-19 06:33:25,429 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:33:25 2024-07-19 06:33:25,429 [execute] INFO git tag -a v3.2.0-dev.18 -m v3.2.0-dev.18 06:33:25 2024-07-19 06:33:25,430 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.18', '-m', 'v3.2.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 06:33:25 2024-07-19 06:33:25,434 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:33:25 3.2.0-dev.18 [Pipeline] } 06:33:25 $ docker exec --env ******** --env ******** e7b3a3785cb48649ad9dcbc781c564f044bfaa47524209e61bcc5312fe83c2b9 ssh-agent -k 06:33:25 unset SSH_AUTH_SOCK; 06:33:25 unset SSH_AGENT_PID; 06:33:25 echo Agent pid 38 killed; 06:33:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:26 + git semver [Pipeline] } 06:33:26 $ docker stop --time=1 e7b3a3785cb48649ad9dcbc781c564f044bfaa47524209e61bcc5312fe83c2b9 06:33:27 $ docker rm -f --volumes e7b3a3785cb48649ad9dcbc781c564f044bfaa47524209e61bcc5312fe83c2b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:33:28 06:33:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:33:28 0.23.1-centos7: Pulling from edgex-lftools 06:33:28 ab5ef0e58194: Pulling fs layer 06:33:28 9712f1f96733: Pulling fs layer 06:33:28 63f879dbbcfc: Pulling fs layer 06:33:28 0d9ebad4ef96: Pulling fs layer 06:33:28 e9a5061849ea: Pulling fs layer 06:33:28 d747dcd14b5f: Pulling fs layer 06:33:28 2de7ff778b66: Pulling fs layer 06:33:28 d747dcd14b5f: Waiting 06:33:28 2de7ff778b66: Waiting 06:33:28 0d9ebad4ef96: Waiting 06:33:28 e9a5061849ea: Waiting 06:33:28 9712f1f96733: Verifying Checksum 06:33:28 9712f1f96733: Download complete 06:33:29 63f879dbbcfc: Verifying Checksum 06:33:29 63f879dbbcfc: Download complete 06:33:29 e9a5061849ea: Verifying Checksum 06:33:29 e9a5061849ea: Download complete 06:33:29 d747dcd14b5f: Verifying Checksum 06:33:29 d747dcd14b5f: Download complete 06:33:29 0d9ebad4ef96: Verifying Checksum 06:33:29 0d9ebad4ef96: Download complete 06:33:29 ab5ef0e58194: Download complete 06:33:29 2de7ff778b66: Verifying Checksum 06:33:29 2de7ff778b66: Download complete 06:33:32 ab5ef0e58194: Pull complete 06:33:32 9712f1f96733: Pull complete 06:33:33 63f879dbbcfc: Pull complete 06:33:37 0d9ebad4ef96: Pull complete 06:33:37 e9a5061849ea: Pull complete 06:33:37 d747dcd14b5f: Pull complete 06:33:38 2de7ff778b66: Pull complete 06:33:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:33:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:33:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:39 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:33:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:33:44 $ docker top 5f643723d4aa194c836c0aac53bf9b4d6f7344662dde0f14a0ab334292aac1af -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:33:44 provisioning config files... 06:33:44 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18172829909234533580tmp 06:33:45 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9630272063580336785tmp 06:33:45 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3716919697235913469tmp [Pipeline] { [Pipeline] echo 06:33:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:33:45 ---> sigul-configuration.sh 06:33:45 gpg: directory `/root/.gnupg' created 06:33:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:33:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:33:45 gpg: keyring `/root/.gnupg/secring.gpg' created 06:33:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:33:45 gpg: CAST5 encrypted data 06:33:45 gpg: encrypted with 1 passphrase 06:33:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:33:46 + mkdir /home/jenkins 06:33:46 + mkdir /home/jenkins/sigul [Pipeline] sh 06:33:46 + 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:33:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:33:46 ---> sigul-install.sh 06:33:46 Sigul already installed; skipping installation. [Pipeline] sh 06:33:47 + git tag --list 06:33:47 0.7.1 06:33:47 v1.0.0 06:33:47 v1.1.0 06:33:47 v1.1.1 06:33:47 v1.2.2 06:33:47 v1.3.0 06:33:47 v1.3.1 06:33:47 v2.0.0 06:33:47 v2.1.0 06:33:47 v2.1.1 06:33:47 v2.2.0 06:33:47 v2.3.0 06:33:47 v3.0 06:33:47 v3.0.0 06:33:47 v3.1 06:33:47 v3.1.0 06:33:47 v3.1.0-dev.1 06:33:47 v3.1.0-dev.10 06:33:47 v3.1.0-dev.11 06:33:47 v3.1.0-dev.12 06:33:47 v3.1.0-dev.13 06:33:47 v3.1.0-dev.14 06:33:47 v3.1.0-dev.15 06:33:47 v3.1.0-dev.16 06:33:47 v3.1.0-dev.17 06:33:47 v3.1.0-dev.18 06:33:47 v3.1.0-dev.19 06:33:47 v3.1.0-dev.2 06:33:47 v3.1.0-dev.20 06:33:47 v3.1.0-dev.21 06:33:47 v3.1.0-dev.22 06:33:47 v3.1.0-dev.23 06:33:47 v3.1.0-dev.24 06:33:47 v3.1.0-dev.25 06:33:47 v3.1.0-dev.3 06:33:47 v3.1.0-dev.4 06:33:47 v3.1.0-dev.5 06:33:47 v3.1.0-dev.6 06:33:47 v3.1.0-dev.7 06:33:47 v3.1.0-dev.8 06:33:47 v3.1.0-dev.9 06:33:47 v3.1.1 06:33:47 v3.1.1-dev.1 06:33:47 v3.2.0-dev.1 06:33:47 v3.2.0-dev.10 06:33:47 v3.2.0-dev.11 06:33:47 v3.2.0-dev.12 06:33:47 v3.2.0-dev.13 06:33:47 v3.2.0-dev.14 06:33:47 v3.2.0-dev.15 06:33:47 v3.2.0-dev.16 06:33:47 v3.2.0-dev.17 06:33:47 v3.2.0-dev.18 06:33:47 v3.2.0-dev.2 06:33:47 v3.2.0-dev.3 06:33:47 v3.2.0-dev.4 06:33:47 v3.2.0-dev.5 06:33:47 v3.2.0-dev.6 06:33:47 v3.2.0-dev.7 06:33:47 v3.2.0-dev.8 06:33:47 v3.2.0-dev.9 [Pipeline] sh 06:33:47 + lftools sign git-tag v3.2.0-dev.18 06:33:48 Signing Git tag with Sigul... 06:33:48 Signing v3.2.0-dev.18 [Pipeline] echo 06:33:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:33:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:33:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:33:49 $ docker stop --time=1 5f643723d4aa194c836c0aac53bf9b4d6f7344662dde0f14a0ab334292aac1af 06:33:50 $ docker rm -f --volumes 5f643723d4aa194c836c0aac53bf9b4d6f7344662dde0f14a0ab334292aac1af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:33:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:33:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:51 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:33:52 $ docker top 9d349396f612aaa40b397841cea79c30130297c5889e451078da6e177275c804 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:52 [ssh-agent] Looking for ssh-agent implementation... 06:33:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:52 $ docker exec 9d349396f612aaa40b397841cea79c30130297c5889e451078da6e177275c804 ssh-agent 06:33:52 SSH_AUTH_SOCK=/tmp/ssh-rNNz9k7B4dSA/agent.33 06:33:52 SSH_AGENT_PID=39 06:33:52 Running ssh-add (command line suppressed) 06:33:53 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17227575763912182525.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17227575763912182525.key) 06:33:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:53 + git semver bump pre 06:33:53 2024-07-19 06:33:53,660 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:33:53 2024-07-19 06:33:53,661 [bump_version] DEBUG bumping version:3.2.0-dev.18 on axis:pre with prefix:dev 06:33:53 2024-07-19 06:33:53,661 [bump_version] DEBUG bumped version:3.2.0-dev.19 06:33:53 2024-07-19 06:33:53,661 [write_version] DEBUG write version:3.2.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 06:33:53 2024-07-19 06:33:53,661 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:33:53 2024-07-19 06:33:53,661 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:33:53 2024-07-19 06:33:53,663 [execute] INFO git cat-file --batch-check 06:33:53 2024-07-19 06:33:53,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:33:53 2024-07-19 06:33:53,670 [execute] INFO git cat-file --batch 06:33:53 2024-07-19 06:33:53,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:33:53 2024-07-19 06:33:53,676 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:33:53 3.2.0-dev.19 [Pipeline] } 06:33:53 $ docker exec --env ******** --env ******** 9d349396f612aaa40b397841cea79c30130297c5889e451078da6e177275c804 ssh-agent -k 06:33:53 unset SSH_AUTH_SOCK; 06:33:53 unset SSH_AGENT_PID; 06:33:53 echo Agent pid 39 killed; 06:33:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:54 + git semver [Pipeline] } 06:33:54 $ docker stop --time=1 9d349396f612aaa40b397841cea79c30130297c5889e451078da6e177275c804 06:33:56 $ docker rm -f --volumes 9d349396f612aaa40b397841cea79c30130297c5889e451078da6e177275c804 [Pipeline] // withDockerContainer [Pipeline] sh 06:33:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:33:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:33:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:57 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:33:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:33:57 $ docker top 0882f8a6c2c454307e50949d6e46fcae5ab0a99af05a64ac9309fbc894d3bd24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:58 [ssh-agent] Looking for ssh-agent implementation... 06:33:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:58 $ docker exec 0882f8a6c2c454307e50949d6e46fcae5ab0a99af05a64ac9309fbc894d3bd24 ssh-agent 06:33:58 SSH_AUTH_SOCK=/tmp/ssh-mjMk3CyP6wOW/agent.32 06:33:58 SSH_AGENT_PID=38 06:33:58 Running ssh-add (command line suppressed) 06:33:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2829048673652562402.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2829048673652562402.key) 06:33:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:59 + git semver push 06:33:59 2024-07-19 06:33:59,150 [run_push] DEBUG push 06:33:59 2024-07-19 06:33:59,151 [execute] INFO git cat-file --batch-check 06:33:59 2024-07-19 06:33:59,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:33:59 2024-07-19 06:33:59,156 [execute] INFO git rev-list 7b7f3290dde8669a758d988aff55027690c88738 -- 06:33:59 2024-07-19 06:33:59,156 [execute] DEBUG Popen(['git', 'rev-list', '7b7f3290dde8669a758d988aff55027690c88738', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:33:59 2024-07-19 06:33:59,165 [execute] INFO git fetch -v origin 06:33:59 2024-07-19 06:33:59,166 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:33:59 2024-07-19 06:33:59,669 [run_push] DEBUG no remote changes detected 06:33:59 2024-07-19 06:33:59,669 [execute] INFO git push origin semver 06:33:59 2024-07-19 06:33:59,670 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:34:00 2024-07-19 06:34:00,442 [run_push] DEBUG push all version tags 06:34:00 2024-07-19 06:34:00,443 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:34:00 2024-07-19 06:34:00,443 [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:34:01 2024-07-19 06:34:01,187 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:34:01 3.2.0-dev.19 [Pipeline] } 06:34:01 $ docker exec --env ******** --env ******** 0882f8a6c2c454307e50949d6e46fcae5ab0a99af05a64ac9309fbc894d3bd24 ssh-agent -k 06:34:01 unset SSH_AUTH_SOCK; 06:34:01 unset SSH_AGENT_PID; 06:34:01 echo Agent pid 38 killed; 06:34:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:02 + git semver [Pipeline] } 06:34:02 $ docker stop --time=1 0882f8a6c2c454307e50949d6e46fcae5ab0a99af05a64ac9309fbc894d3bd24 06:34:03 $ docker rm -f --volumes 0882f8a6c2c454307e50949d6e46fcae5ab0a99af05a64ac9309fbc894d3bd24 [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:34:05 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 06:34:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:34:05 total 16 06:34:05 drwxr-xr-x 3 root root 4096 Jul 19 06:21 . 06:34:05 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 06:33 .. 06:34:05 drwxr-xr-x 2 root root 4096 Jul 19 06:21 cost 06:34:05 -rw-r--r-- 1 root root 88 Jul 19 06:21 cost.csv 06:34:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 06:34:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 06:34:05 total 16 06:34:05 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 06:21 . 06:34:05 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 06:33 .. 06:34:05 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 06:21 cost 06:34:05 -rw-r--r-- 1 jenkins jenkins 88 Jul 19 06:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:34:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:34:06 ---> package-listing.sh 06:34:06 ++ facter osfamily 06:34:06 ++ tr '[:upper:]' '[:lower:]' 06:34:06 + OS_FAMILY=debian 06:34:06 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 06:34:06 + START_PACKAGES=/tmp/packages_start.txt 06:34:06 + END_PACKAGES=/tmp/packages_end.txt 06:34:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:34:06 + PACKAGES=/tmp/packages_start.txt 06:34:06 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:34:06 + PACKAGES=/tmp/packages_end.txt 06:34:06 + case "${OS_FAMILY}" in 06:34:06 + dpkg -l 06:34:06 + grep '^ii' 06:34:07 + '[' -f /tmp/packages_start.txt ']' 06:34:07 + '[' -f /tmp/packages_end.txt ']' 06:34:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:34:07 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 06:34:07 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 06:34:07 + 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:34:07 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:34:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:08 prd-ubuntu20.04-docker-8c-8g-5921 does not seem to be running inside a container 06:34:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:34:08 $ docker top 4c78bf329f1f26190da225b7b05dcba0a3ce38b87ebaf3c6e1c9bc828d2bb319 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:09 + touch /tmp/pre-build-complete [Pipeline] sh 06:34:09 + mkdir -p /var/log/sysstat [Pipeline] sh 06:34:09 + ls /var/log/sa-host 06:34:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:10 provisioning config files... 06:34:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4003347743853756605tmp [Pipeline] { [Pipeline] echo 06:34:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:34:10 ---> create-netrc.sh [Pipeline] } 06:34:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:34:11 ---> python-tools-install.sh [Pipeline] echo 06:34:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:34:11 ---> sudo-logs.sh 06:34:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:34:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:34:12 ---> job-cost.sh 06:34:12 lf-activate-venv: SKIPPING 06:34:12 DEBUG: total: 0.2199999988079071 06:34:12 INFO: Retrieving Stack Cost... 06:34:12 INFO: Retrieving Pricing Info for: v3-standard-8 06:34:13 INFO: Archiving Costs [Pipeline] echo 06:34:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:34:13 ---> logs-deploy.sh 06:34:13 lf-activate-venv: SKIPPING 06:34:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/157 06:34:13 INFO: archiving workspace using pattern(s): 06:34:14 Archives upload complete. 06:34:14 INFO: archiving logs to Nexus