Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 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-ssh12414528740638229308.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-ssh4487282728073935523.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-ssh9934672314329468768.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-ssh6851595380973604675.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-ssh5401786124560144634.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 ‘prd-ubuntu20.04-docker-8c-8g-6850’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6852 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 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b (main) Commit message: "Merge pull request #564 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > 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 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b # timeout=10 > git rev-list --no-walk b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:57:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:57:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:57:15 ========================================================= 06:57:15 EdgeX Global Pipelines Version Info 06:57:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:57:16 ------------------- 06:57:16 stable info: 06:57:16 ------------------- 06:57:16 Commited By: Ginny Guan ginny@iotechsys.com 06:57:16 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:57:16 Message: update stable to v1.0.260 06:57:16 ------------------- 06:57:16 experimental info: 06:57:16 ------------------- 06:57:16 Commited By: Ginny Guan ginny@iotechsys.com 06:57:16 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:57:16 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:57:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:57:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:57:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4ac1bf [Pipeline] echo 06:57:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:17 provisioning config files... 06:57:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16357478276939825227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:18 ---> ****-login.sh 06:57:18 nexus3.edgexfoundry.org:10001 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 nexus3.edgexfoundry.org:10002 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 nexus3.edgexfoundry.org:10003 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 nexus3.edgexfoundry.org:10004 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 ****.io 06:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:18 Configure a credential helper to remove this warning. See 06:57:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:18 06:57:18 Login Succeeded 06:57:18 ---> ****-login.sh ends [Pipeline] } 06:57:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:57:19 + git rev-list -1 --merges a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b~1..a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] echo 06:57:19 -----------> git rev-list -1 --merges a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b~1..a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 06:57:19 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [false] [Pipeline] sh 06:57:19 + git log --format=format:%s -1 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] echo 06:57:19 ========================================================= 06:57:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:57:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:57:19 + git log --format=format:%s -1 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] echo 06:57:20 [semverPrep] GIT_COMMIT: a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b, Commit Message: Merge pull request #564 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo 06:57:20 [semverPrep] This is not a build commit. [Pipeline] sh 06:57:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:57:20 + grep -v github /etc/ssh/ssh_known_hosts 06:57:20 + [ -e /tmp/ssh_known_hosts ] 06:57:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:57:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:57:20 + sudo tee -a /etc/ssh/ssh_known_hosts 06:57:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:20 06:57:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:21 0.1.4: Pulling from edgex-devops/py-git-semver 06:57:21 b85a868b505f: Pulling fs layer 06:57:21 e2be974225ed: Pulling fs layer 06:57:21 339a4e72a1f5: Pulling fs layer 06:57:21 988bab9f4d93: Pulling fs layer 06:57:21 1469e6f7b9e6: Pulling fs layer 06:57:21 eaf3925da568: Pulling fs layer 06:57:21 bab4dde63d76: Pulling fs layer 06:57:21 bde34c3a00c8: Pulling fs layer 06:57:21 b352a97aabf1: Pulling fs layer 06:57:21 4872d77fe225: Pulling fs layer 06:57:21 5851b861e8e6: Pulling fs layer 06:57:21 bab4dde63d76: Waiting 06:57:21 bde34c3a00c8: Waiting 06:57:21 1469e6f7b9e6: Waiting 06:57:21 eaf3925da568: Waiting 06:57:21 b352a97aabf1: Waiting 06:57:21 988bab9f4d93: Waiting 06:57:21 5851b861e8e6: Waiting 06:57:21 4872d77fe225: Waiting 06:57:21 e2be974225ed: Verifying Checksum 06:57:21 e2be974225ed: Download complete 06:57:21 988bab9f4d93: Download complete 06:57:21 1469e6f7b9e6: Verifying Checksum 06:57:21 1469e6f7b9e6: Download complete 06:57:21 339a4e72a1f5: Verifying Checksum 06:57:21 339a4e72a1f5: Download complete 06:57:21 eaf3925da568: Download complete 06:57:21 bde34c3a00c8: Download complete 06:57:21 b352a97aabf1: Verifying Checksum 06:57:21 b352a97aabf1: Download complete 06:57:21 4872d77fe225: Verifying Checksum 06:57:21 4872d77fe225: Download complete 06:57:21 5851b861e8e6: Verifying Checksum 06:57:21 5851b861e8e6: Download complete 06:57:21 b85a868b505f: Verifying Checksum 06:57:21 b85a868b505f: Download complete 06:57:21 bab4dde63d76: Verifying Checksum 06:57:21 bab4dde63d76: Download complete 06:57:22 b85a868b505f: Pull complete 06:57:22 e2be974225ed: Pull complete 06:57:23 339a4e72a1f5: Pull complete 06:57:23 988bab9f4d93: Pull complete 06:57:23 1469e6f7b9e6: Pull complete 06:57:23 eaf3925da568: Pull complete 06:57:25 bab4dde63d76: Pull complete 06:57:25 bde34c3a00c8: Pull complete 06:57:25 b352a97aabf1: Pull complete 06:57:25 4872d77fe225: Pull complete 06:57:25 5851b861e8e6: Pull complete 06:57:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:57:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:25 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 06:57:25 $ 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:57:28 $ docker top 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 -eo pid,comm 06:57:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:57:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:57:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:28 [ssh-agent] Looking for ssh-agent implementation... 06:57:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:28 $ docker exec 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 ssh-agent 06:57:29 SSH_AUTH_SOCK=/tmp/ssh-YaWEUZ2gTSJc/agent.31 06:57:29 SSH_AGENT_PID=37 06:57:29 Running ssh-add (command line suppressed) 06:57:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6589896180549776660.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6589896180549776660.key) 06:57:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:29 + git tag --points-at HEAD [Pipeline] } 06:57:29 $ docker exec --env ******** --env ******** 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 ssh-agent -k 06:57:29 unset SSH_AUTH_SOCK; 06:57:29 unset SSH_AGENT_PID; 06:57:29 echo Agent pid 37 killed; 06:57:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:57:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:29 [ssh-agent] Looking for ssh-agent implementation... 06:57:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:29 $ docker exec 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 ssh-agent 06:57:29 SSH_AUTH_SOCK=/tmp/ssh-h06NGqbzNQw3/agent.70 06:57:29 SSH_AGENT_PID=76 06:57:29 Running ssh-add (command line suppressed) 06:57:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10854689713769699348.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10854689713769699348.key) 06:57:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:30 + git semver init 06:57:30 2024-07-31 06:57:30,484 [run_init] DEBUG init version:0.0.0 force:False 06:57:30 2024-07-31 06:57:30,485 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 06:57:30 2024-07-31 06:57:30,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 06:57:30 2024-07-31 06:57:30,486 [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:57:31 2024-07-31 06:57:31,752 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 06:57:31 2024-07-31 06:57:31,753 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 06:57:31 2024-07-31 06:57:31,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:57:31 2024-07-31 06:57:31,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 06:57:31 3.2.0-dev.20 [Pipeline] } 06:57:31 $ docker exec --env ******** --env ******** 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 ssh-agent -k 06:57:31 unset SSH_AUTH_SOCK; 06:57:31 unset SSH_AGENT_PID; 06:57:31 echo Agent pid 76 killed; 06:57:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:32 + git semver [Pipeline] } 06:57:32 $ docker stop --time=1 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 06:57:33 $ docker rm -f --volumes 8a17bb838b34aed71bb5b2dfb9acb3a5e0794b450184f2c9e844ecf6dc15b0c1 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:57:34 Stashed 1 file(s) [Pipeline] echo 06:57:34 [edgeXSemver]: initialized semver on version 3.2.0-dev.20 [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:57:34 provisioning config files... 06:57:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7159090843498408374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:34 ---> ****-login.sh 06:57:34 nexus3.edgexfoundry.org:10001 06:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:34 Configure a credential helper to remove this warning. See 06:57:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:34 06:57:34 Login Succeeded 06:57:34 nexus3.edgexfoundry.org:10002 06:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:34 Configure a credential helper to remove this warning. See 06:57:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:34 06:57:34 Login Succeeded 06:57:34 nexus3.edgexfoundry.org:10003 06:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:35 Configure a credential helper to remove this warning. See 06:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:35 06:57:35 Login Succeeded 06:57:35 nexus3.edgexfoundry.org:10004 06:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:35 Configure a credential helper to remove this warning. See 06:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:35 06:57:35 Login Succeeded 06:57:35 ****.io 06:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:57:36 Configure a credential helper to remove this warning. See 06:57:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:57:36 06:57:36 Login Succeeded 06:57:36 ---> ****-login.sh ends [Pipeline] } 06:57:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:57:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:57:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:57:39 ========================================================= 06:57:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:57:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:39 + 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:57:39 Sending build context to Docker daemon 17.87MB 06:57:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:57:39 Step 2/10 : FROM ${BASE} AS builder 06:57:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:57:40 619be1103602: Pulling fs layer 06:57:40 7862e08f4a3e: Pulling fs layer 06:57:40 5df492c9dc93: Pulling fs layer 06:57:40 7629e6793208: Pulling fs layer 06:57:40 4f4fb700ef54: Pulling fs layer 06:57:40 fb5054dd5b73: Pulling fs layer 06:57:40 eeca6798cff9: Pulling fs layer 06:57:40 aa269ceb94a6: Pulling fs layer 06:57:40 ada007ff1a6a: Pulling fs layer 06:57:40 4f4fb700ef54: Waiting 06:57:40 7629e6793208: Waiting 06:57:40 fb5054dd5b73: Waiting 06:57:40 aa269ceb94a6: Waiting 06:57:40 ada007ff1a6a: Waiting 06:57:40 7862e08f4a3e: Download complete 06:57:40 7629e6793208: Verifying Checksum 06:57:40 7629e6793208: Download complete 06:57:40 4f4fb700ef54: Download complete 06:57:40 619be1103602: Verifying Checksum 06:57:40 619be1103602: Download complete 06:57:40 fb5054dd5b73: Verifying Checksum 06:57:40 fb5054dd5b73: Download complete 06:57:40 eeca6798cff9: Verifying Checksum 06:57:40 eeca6798cff9: Download complete 06:57:40 619be1103602: Pull complete 06:57:40 ada007ff1a6a: Verifying Checksum 06:57:40 ada007ff1a6a: Download complete 06:57:40 7862e08f4a3e: Pull complete 06:57:40 5df492c9dc93: Verifying Checksum 06:57:40 5df492c9dc93: Download complete 06:57:40 aa269ceb94a6: Verifying Checksum 06:57:40 aa269ceb94a6: Download complete 06:57:44 5df492c9dc93: Pull complete 06:57:44 7629e6793208: Pull complete 06:57:44 4f4fb700ef54: Pull complete 06:57:44 fb5054dd5b73: Pull complete 06:57:44 eeca6798cff9: Pull complete 06:57:46 aa269ceb94a6: Pull complete 06:57:46 ada007ff1a6a: Pull complete 06:57:46 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:57:46 ---> f489d0715acc 06:57:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:57:49 Still waiting to schedule task 06:57:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6851’ 06:57:50 ---> Running in 3c7fd21e717d 06:57:50 Removing intermediate container 3c7fd21e717d 06:57:50 ---> d277b4ee5dd8 06:57:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:57:50 ---> Running in 8bbb770a7042 06:57:51 Removing intermediate container 8bbb770a7042 06:57:51 ---> 175af4cba6d4 06:57:51 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:57:51 ---> Running in 70ccb8256bf9 06:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:57:51 (1/8) Installing openssh-keygen (9.3_p2-r2) 06:57:51 (2/8) Installing libedit (20221030.3.1-r1) 06:57:51 (3/8) Installing openssh-client-common (9.3_p2-r2) 06:57:51 (4/8) Installing openssh-client-default (9.3_p2-r2) 06:57:51 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 06:57:51 (6/8) Installing openssh-server-common (9.3_p2-r2) 06:57:51 (7/8) Installing openssh-server (9.3_p2-r2) 06:57:51 (8/8) Installing openssh (9.3_p2-r2) 06:57:51 Executing busybox-1.36.1-r5.trigger 06:57:51 OK: 270 MiB in 60 packages 06:57:52 Removing intermediate container 70ccb8256bf9 06:57:52 ---> 059ac17a04e5 06:57:52 Step 6/10 : WORKDIR /device-modbus-go 06:57:52 ---> Running in 432a1795bb84 06:57:52 Removing intermediate container 432a1795bb84 06:57:52 ---> 240567cb2eb8 06:57:52 Step 7/10 : COPY go.mod vendor* ./ 06:57:52 ---> 90d966432e4c 06:57:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:52 ---> Running in 7000714b0413 06:58:48 Removing intermediate container 7000714b0413 06:58:48 ---> 9af37a2d62fc 06:58:48 Step 9/10 : COPY . . 06:58:48 ---> 760c1ec35005 06:58:48 Step 10/10 : RUN ${MAKE} 06:58:48 ---> Running in ee85f8fcaf80 06:58:48 noop 06:58:48 Removing intermediate container ee85f8fcaf80 06:58:48 ---> d75e71240d0e 06:58:48 Successfully built d75e71240d0e 06:58:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:48 + docker inspect -f . ci-base-image-x86_64 06:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:48 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 06:58:48 $ 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:58:48 $ docker top d53448cf4d8c5c8093dd4b5610548f4c13d169f0676e7698420ca7b103e09d2f -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:49 + go version 06:58:49 go version go1.21.9 linux/amd64 [Pipeline] } 06:58:49 $ docker stop --time=1 d53448cf4d8c5c8093dd4b5610548f4c13d169f0676e7698420ca7b103e09d2f 06:58:50 $ docker rm -f --volumes d53448cf4d8c5c8093dd4b5610548f4c13d169f0676e7698420ca7b103e09d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:50 + docker inspect -f . ci-base-image-x86_64 06:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:51 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 06:58:51 $ 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:58:51 $ docker top 61fe94d72811a00b53f4d37e2c25deb431652687d7df55931bd13571a90bfabc -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 06:58:52 + make test 06:58:52 go test ./... -coverprofile=coverage.out 06:58:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:59:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:59:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 06:59:21 go vet ./... 06:59:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:59:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:59:26 ./bin/test-attribution-txt.sh 06:59:26 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 06:59:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:59:26 $ docker stop --time=1 61fe94d72811a00b53f4d37e2c25deb431652687d7df55931bd13571a90bfabc 06:59:30 $ docker rm -f --volumes 61fe94d72811a00b53f4d37e2c25deb431652687d7df55931bd13571a90bfabc [Pipeline] // withDockerContainer [Pipeline] sh 06:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:59:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:31 + ls -al . 06:59:31 total 272 06:59:31 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 06:58 . 06:59:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 06:57 .. 06:59:31 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 06:57 .dockerignore 06:59:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 06:59 .git 06:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:57 .github 06:59:31 -rw-rw-r-- 1 jenkins jenkins 266 Jul 31 06:57 .gitignore 06:59:31 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 06:57 .golangci.yml 06:59:31 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 06:57 .semver 06:59:31 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 31 06:57 Attribution.txt 06:59:31 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 31 06:57 CHANGELOG.md 06:59:31 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 31 06:57 Dockerfile 06:59:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 06:57 GOVERNANCE.md 06:59:31 -rw-rw-r-- 1 jenkins jenkins 658 Jul 31 06:57 Jenkinsfile 06:59:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 06:57 LICENSE 06:59:31 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 31 06:57 Makefile 06:59:31 -rw-rw-r-- 1 jenkins jenkins 622 Jul 31 06:57 OWNERS.md 06:59:31 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 31 06:57 README.md 06:59:31 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 06:57 VERSION 06:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 06:57 bin 06:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:57 cmd 06:59:31 -rw-r--r-- 1 jenkins jenkins 24601 Jul 31 06:59 coverage.out 06:59:31 -rw-rw-r-- 1 jenkins jenkins 7185 Jul 31 06:57 go.mod 06:59:31 -rw-rw-r-- 1 jenkins jenkins 102015 Jul 31 06:57 go.sum 06:59:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 06:57 internal 06:59:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 06:57 simulator 06:59:31 -rw-rw-r-- 1 jenkins jenkins 229 Jul 31 06:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:32 + 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=a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b --label arch=amd64 --label version=3.2.0-dev.20 . 06:59:32 Sending build context to Docker daemon 17.9MB 06:59:32 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:59:32 Step 2/23 : FROM ${BASE} AS builder 06:59:32 ---> d75e71240d0e 06:59:32 Step 3/23 : ARG ADD_BUILD_TAGS="" 06:59:32 ---> Running in 466313a09cfc 06:59:32 Removing intermediate container 466313a09cfc 06:59:32 ---> 1a8767ec0fa2 06:59:32 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:59:32 ---> Running in 2c8f4560238c 06:59:32 Removing intermediate container 2c8f4560238c 06:59:32 ---> 16d7a71c977c 06:59:32 Step 5/23 : RUN apk add --update --no-cache make git openssh 06:59:32 ---> Running in dedb3162d220 06:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:59:33 OK: 270 MiB in 60 packages 06:59:33 Removing intermediate container dedb3162d220 06:59:33 ---> 873377033e30 06:59:33 Step 6/23 : WORKDIR /device-modbus-go 06:59:33 ---> Running in 69fc44fcf3f1 06:59:33 Removing intermediate container 69fc44fcf3f1 06:59:33 ---> c0ec59dfeaf6 06:59:33 Step 7/23 : COPY go.mod vendor* ./ 06:59:33 ---> 061bffb202c2 06:59:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:33 ---> Running in 32ecad4d1063 06:59:34 Removing intermediate container 32ecad4d1063 06:59:34 ---> 377646981072 06:59:34 Step 9/23 : COPY . . 06:59:35 ---> 6845f66159b5 06:59:35 Step 10/23 : RUN ${MAKE} 06:59:35 ---> Running in f262dec9d00e 06:59:35 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:00:07 Removing intermediate container f262dec9d00e 07:00:07 ---> b3e5067922bd 07:00:07 Step 11/23 : FROM alpine:3.18 07:00:07 3.18: Pulling from library/alpine 07:00:07 930bdd4d222e: Pulling fs layer 07:00:07 930bdd4d222e: Download complete 07:00:07 930bdd4d222e: Pull complete 07:00:07 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:00:07 Status: Downloaded newer image for alpine:3.18 07:00:07 ---> 18f865063206 07:00:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:00:07 ---> Running in effd156ad575 07:00:07 Removing intermediate container effd156ad575 07:00:07 ---> d6938ac1ea14 07:00:07 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:00:07 ---> Running in d1f17e097eb7 07:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:00:07 (1/1) Installing dumb-init (1.2.5-r2) 07:00:07 Executing busybox-1.36.1-r7.trigger 07:00:07 OK: 7 MiB in 16 packages 07:00:07 Removing intermediate container d1f17e097eb7 07:00:07 ---> 2169fc0a6937 07:00:07 Step 14/23 : RUN apk --no-cache upgrade 07:00:07 ---> Running in 0e6352d95045 07:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:00:07 OK: 7 MiB in 16 packages 07:00:08 Removing intermediate container 0e6352d95045 07:00:08 ---> 03cf9b8e10e1 07:00:08 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:00:09 ---> 95b44a104a4f 07:00:09 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:00:09 ---> a95d57269096 07:00:09 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:00:09 ---> a813b9381156 07:00:09 Step 18/23 : EXPOSE 59901 07:00:09 ---> Running in 5917aae83fa4 07:00:09 Removing intermediate container 5917aae83fa4 07:00:09 ---> 5a28edd1c643 07:00:09 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:00:09 ---> Running in 5871ad73f1fc 07:00:09 Removing intermediate container 5871ad73f1fc 07:00:09 ---> b82b74719e9a 07:00:09 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:00:09 ---> Running in e1fb5db45427 07:00:09 Removing intermediate container e1fb5db45427 07:00:09 ---> 2ed4a2d3ec6f 07:00:09 Step 21/23 : LABEL arch=amd64 07:00:09 ---> Running in e4a1864dab1f 07:00:09 Removing intermediate container e4a1864dab1f 07:00:09 ---> 8229e91f8c82 07:00:09 Step 22/23 : LABEL git_sha=a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:00:09 ---> Running in 282b2a7cb7e5 07:00:09 Removing intermediate container 282b2a7cb7e5 07:00:09 ---> 311561953e39 07:00:09 Step 23/23 : LABEL version=3.2.0-dev.20 07:00:09 ---> Running in bd7791a21736 07:00:09 Removing intermediate container bd7791a21736 07:00:09 ---> 8c955804c39d 07:00:09 [Warning] One or more build-args [ARCH] were not consumed 07:00:09 Successfully built 8c955804c39d 07:00:09 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:09 provisioning config files... 07:00:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13229169429983638807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:10 ---> ****-login.sh 07:00:10 nexus3.edgexfoundry.org:10001 07:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:10 Configure a credential helper to remove this warning. See 07:00:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:10 07:00:10 Login Succeeded 07:00:10 nexus3.edgexfoundry.org:10002 07:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:10 Configure a credential helper to remove this warning. See 07:00:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:10 07:00:10 Login Succeeded 07:00:10 nexus3.edgexfoundry.org:10003 07:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:10 Configure a credential helper to remove this warning. See 07:00:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:10 07:00:10 Login Succeeded 07:00:10 nexus3.edgexfoundry.org:10004 07:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:10 Configure a credential helper to remove this warning. See 07:00:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:10 07:00:10 Login Succeeded 07:00:10 ****.io 07:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:12 Configure a credential helper to remove this warning. See 07:00:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:12 07:00:12 Login Succeeded 07:00:12 ---> ****-login.sh ends [Pipeline] } 07:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:00:12 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:00:12 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:00:12 latest 07:00:12 3.2.0-dev.20 07:00:12 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 07:00:12 main 07:00:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:00:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:00:13 b91c184f0436: Preparing 07:00:13 72cb3f73ca73: Preparing 07:00:13 37c4dc866c47: Preparing 07:00:13 19bc61f8cc47: Preparing 07:00:13 ba5210629e04: Preparing 07:00:13 ce7f800efff9: Preparing 07:00:13 ce7f800efff9: Waiting 07:00:13 19bc61f8cc47: Pushed 07:00:13 ce7f800efff9: Layer already exists 07:00:13 ba5210629e04: Pushed 07:00:13 b91c184f0436: Pushed 07:00:13 72cb3f73ca73: Pushed 07:00:16 37c4dc866c47: Pushed 07:00:16 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b: digest: sha256:de0b6a226dd25809048d7c485b4ac538889f9522f925e26ba2cf545181b3ca93 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:00:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:00:16 b91c184f0436: Preparing 07:00:16 72cb3f73ca73: Preparing 07:00:16 37c4dc866c47: Preparing 07:00:16 19bc61f8cc47: Preparing 07:00:16 ba5210629e04: Preparing 07:00:16 ce7f800efff9: Preparing 07:00:16 ce7f800efff9: Waiting 07:00:16 ba5210629e04: Layer already exists 07:00:16 19bc61f8cc47: Layer already exists 07:00:16 72cb3f73ca73: Layer already exists 07:00:16 b91c184f0436: Layer already exists 07:00:16 37c4dc866c47: Layer already exists 07:00:16 ce7f800efff9: Layer already exists 07:00:16 latest: digest: sha256:de0b6a226dd25809048d7c485b4ac538889f9522f925e26ba2cf545181b3ca93 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.20 07:00:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:00:17 b91c184f0436: Preparing 07:00:17 72cb3f73ca73: Preparing 07:00:17 37c4dc866c47: Preparing 07:00:17 19bc61f8cc47: Preparing 07:00:17 ba5210629e04: Preparing 07:00:17 ce7f800efff9: Preparing 07:00:17 ce7f800efff9: Waiting 07:00:17 ba5210629e04: Layer already exists 07:00:17 37c4dc866c47: Layer already exists 07:00:17 72cb3f73ca73: Layer already exists 07:00:17 19bc61f8cc47: Layer already exists 07:00:17 b91c184f0436: Layer already exists 07:00:17 ce7f800efff9: Layer already exists 07:00:17 3.2.0-dev.20: digest: sha256:de0b6a226dd25809048d7c485b4ac538889f9522f925e26ba2cf545181b3ca93 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 07:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:00:18 b91c184f0436: Preparing 07:00:18 72cb3f73ca73: Preparing 07:00:18 37c4dc866c47: Preparing 07:00:18 19bc61f8cc47: Preparing 07:00:18 ba5210629e04: Preparing 07:00:18 ce7f800efff9: Preparing 07:00:18 ce7f800efff9: Waiting 07:00:18 37c4dc866c47: Layer already exists 07:00:18 b91c184f0436: Layer already exists 07:00:18 ba5210629e04: Layer already exists 07:00:18 19bc61f8cc47: Layer already exists 07:00:18 72cb3f73ca73: Layer already exists 07:00:18 ce7f800efff9: Layer already exists 07:00:18 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20: digest: sha256:de0b6a226dd25809048d7c485b4ac538889f9522f925e26ba2cf545181b3ca93 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:18 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:00:18 b91c184f0436: Preparing 07:00:18 72cb3f73ca73: Preparing 07:00:18 37c4dc866c47: Preparing 07:00:18 19bc61f8cc47: Preparing 07:00:18 ba5210629e04: Preparing 07:00:18 ce7f800efff9: Preparing 07:00:18 ce7f800efff9: Waiting 07:00:18 37c4dc866c47: Layer already exists 07:00:18 19bc61f8cc47: Layer already exists 07:00:18 ba5210629e04: Layer already exists 07:00:18 b91c184f0436: Layer already exists 07:00:18 72cb3f73ca73: Layer already exists 07:00:18 ce7f800efff9: Layer already exists 07:00:18 main: digest: sha256:de0b6a226dd25809048d7c485b4ac538889f9522f925e26ba2cf545181b3ca93 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:00:19 ===================================================== [Pipeline] echo 07:00:19 taggedImages: 07:00:19 - nexus3.edgexfoundry.org:10004/device-modbus:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:00:19 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:00:19 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.20 07:00:19 - nexus3.edgexfoundry.org:10004/device-modbus:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 07:00:19 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:19 07:00:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:19 latest: Pulling from edgex-lftools-log-publisher 07:00:19 5eb5b503b376: Pulling fs layer 07:00:19 5c69ac0246d0: Pulling fs layer 07:00:19 ec43610c2a17: Pulling fs layer 07:00:19 3a2ae6a8a46f: Pulling fs layer 07:00:19 33b1e0a273af: Pulling fs layer 07:00:19 5d3b04190fa2: Pulling fs layer 07:00:19 2f39f015ded8: Pulling fs layer 07:00:19 3a2ae6a8a46f: Waiting 07:00:19 33b1e0a273af: Waiting 07:00:19 5d3b04190fa2: Waiting 07:00:19 2f39f015ded8: Waiting 07:00:19 5c69ac0246d0: Verifying Checksum 07:00:19 5c69ac0246d0: Download complete 07:00:19 3a2ae6a8a46f: Verifying Checksum 07:00:19 3a2ae6a8a46f: Download complete 07:00:19 33b1e0a273af: Verifying Checksum 07:00:19 33b1e0a273af: Download complete 07:00:19 5d3b04190fa2: Verifying Checksum 07:00:19 5d3b04190fa2: Download complete 07:00:19 ec43610c2a17: Verifying Checksum 07:00:19 ec43610c2a17: Download complete 07:00:20 5eb5b503b376: Download complete 07:00:20 2f39f015ded8: Download complete 07:00:21 5eb5b503b376: Pull complete 07:00:21 5c69ac0246d0: Pull complete 07:00:22 ec43610c2a17: Pull complete 07:00:22 3a2ae6a8a46f: Pull complete 07:00:22 33b1e0a273af: Pull complete 07:00:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6853 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:00:22 Running in /w/workspace/device-modbus-go/159 [Pipeline] { [Pipeline] checkout 07:00:22 5d3b04190fa2: Pull complete 07:00:25 The recommended git tool is: git 07:00:26 2f39f015ded8: Pull complete 07:00:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:26 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:00:26 $ 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 07:00:30 $ docker top 66f14aef92c2a36447201451b9bcb25128b772aa8fb099edf19dfc16d4797c45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:30 ---> job-cost.sh 07:00:30 lf-activate-venv: SKIPPING 07:00:30 INFO: No Stack... 07:00:30 INFO: Retrieving Pricing Info for: v3-standard-8 07:00:31 INFO: Archiving Costs [Pipeline] sh 07:00:31 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:00:31 + cut -d, -f6 [Pipeline] lock 07:00:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] 07:00:31 Resource [jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] did not exist. Created. 07:00:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:00:32 + echo total: 0.2199999988079071 [Pipeline] stash 07:00:32 Stashed 1 file(s) [Pipeline] } 07:00:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] [Pipeline] // lock [Pipeline] } 07:00:32 $ docker stop --time=1 66f14aef92c2a36447201451b9bcb25128b772aa8fb099edf19dfc16d4797c45 07:00:32 using credential edgex-jenkins-ssh 07:00:32 Cloning the remote Git repository 07:00:32 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:00:33 $ docker rm -f --volumes 66f14aef92c2a36447201451b9bcb25128b772aa8fb099edf19dfc16d4797c45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:00:33 > git init /w/workspace/device-modbus-go/159 # timeout=10 07:00:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:00:33 > git --version # timeout=10 07:00:33 > git --version # 'git version 2.25.1' 07:00:33 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:00:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:36 Avoid second fetch 07:00:36 Checking out Revision a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b (main) 07:00:37 Commit message: "Merge pull request #564 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" 07:00:36 > git config core.sparsecheckout # timeout=10 07:00:36 > git checkout -f a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:00:41 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:41 Dload Upload Total Spent Left Speed 07:00:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 07:00:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:00:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:00:42 + sudo tee /etc/docker/daemon.new 07:00:42 { 07:00:42 "registry-mirrors": [ 07:00:42 "https://nexus3.edgexfoundry.org:10001" 07:00:42 ], 07:00:42 "bip": "10.250.0.254/24", 07:00:42 "hosts": [ 07:00:42 "tcp://0.0.0.0:5555", 07:00:42 "unix:///var/run/docker.sock" 07:00:42 ], 07:00:42 "mtu": 1458, 07:00:42 "selinux-enabled": true, 07:00:42 "seccomp-profile": "/etc/docker/seccomp.json" 07:00:42 } [Pipeline] sh 07:00:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:00:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:01 provisioning config files... 07:01:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/159@tmp/config15890623092119812907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:01 ---> ****-login.sh 07:01:01 nexus3.edgexfoundry.org:10001 07:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:01:02 Configure a credential helper to remove this warning. See 07:01:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:01:02 07:01:02 Login Succeeded 07:01:02 nexus3.edgexfoundry.org:10002 07:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:01:03 Configure a credential helper to remove this warning. See 07:01:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:01:03 07:01:03 Login Succeeded 07:01:03 nexus3.edgexfoundry.org:10003 07:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:01:03 Configure a credential helper to remove this warning. See 07:01:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:01:03 07:01:03 Login Succeeded 07:01:03 nexus3.edgexfoundry.org:10004 07:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:01:03 Configure a credential helper to remove this warning. See 07:01:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:01:03 07:01:03 Login Succeeded 07:01:03 ****.io 07:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:01:04 Configure a credential helper to remove this warning. See 07:01:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:01:04 07:01:04 Login Succeeded 07:01:04 ---> ****-login.sh ends [Pipeline] } 07:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:01:04 ========================================================= 07:01:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:01:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:05 + 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 . 07:01:05 Sending build context to Docker daemon 9.081MB 07:01:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:01:05 Step 2/10 : FROM ${BASE} AS builder 07:01:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:01:05 c6b39de5b339: Pulling fs layer 07:01:05 a69c41024577: Pulling fs layer 07:01:05 d6de4b400683: Pulling fs layer 07:01:05 35cb2a7552d0: Pulling fs layer 07:01:05 4f4fb700ef54: Pulling fs layer 07:01:05 464afbd9ba4c: Pulling fs layer 07:01:05 00f215d4a9da: Pulling fs layer 07:01:05 d496ad576159: Pulling fs layer 07:01:05 35cb2a7552d0: Waiting 07:01:05 4f4fb700ef54: Waiting 07:01:05 464afbd9ba4c: Waiting 07:01:05 d496ad576159: Waiting 07:01:05 00f215d4a9da: Waiting 07:01:05 a69c41024577: Verifying Checksum 07:01:05 a69c41024577: Download complete 07:01:05 35cb2a7552d0: Verifying Checksum 07:01:05 35cb2a7552d0: Download complete 07:01:06 4f4fb700ef54: Verifying Checksum 07:01:06 4f4fb700ef54: Download complete 07:01:06 c6b39de5b339: Verifying Checksum 07:01:06 c6b39de5b339: Download complete 07:01:06 464afbd9ba4c: Verifying Checksum 07:01:06 464afbd9ba4c: Download complete 07:01:06 d496ad576159: Verifying Checksum 07:01:06 d496ad576159: Download complete 07:01:07 c6b39de5b339: Pull complete 07:01:07 a69c41024577: Pull complete 07:01:07 d6de4b400683: Verifying Checksum 07:01:07 d6de4b400683: Download complete 07:01:09 00f215d4a9da: Verifying Checksum 07:01:09 00f215d4a9da: Download complete 07:01:21 d6de4b400683: Pull complete 07:01:21 35cb2a7552d0: Pull complete 07:01:21 4f4fb700ef54: Pull complete 07:01:21 464afbd9ba4c: Pull complete 07:01:31 00f215d4a9da: Pull complete 07:01:32 d496ad576159: Pull complete 07:01:32 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:01:32 ---> f246e2811388 07:01:32 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:01:33 ---> Running in 93bd2b580d87 07:01:34 Removing intermediate container 93bd2b580d87 07:01:34 ---> 328aeff01014 07:01:34 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:01:35 ---> Running in 9e602b4de157 07:01:35 Removing intermediate container 9e602b4de157 07:01:35 ---> eb3e99995c8c 07:01:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:01:35 ---> Running in 9263e2acc922 07:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:01:38 (1/8) Installing openssh-keygen (9.3_p2-r2) 07:01:38 (2/8) Installing libedit (20221030.3.1-r1) 07:01:38 (3/8) Installing openssh-client-common (9.3_p2-r2) 07:01:38 (4/8) Installing openssh-client-default (9.3_p2-r2) 07:01:38 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 07:01:38 (6/8) Installing openssh-server-common (9.3_p2-r2) 07:01:38 (7/8) Installing openssh-server (9.3_p2-r2) 07:01:38 (8/8) Installing openssh (9.3_p2-r2) 07:01:38 Executing busybox-1.36.1-r5.trigger 07:01:38 OK: 272 MiB in 60 packages 07:01:39 Removing intermediate container 9263e2acc922 07:01:39 ---> 65ff7ef654cb 07:01:39 Step 6/10 : WORKDIR /device-modbus-go 07:01:39 ---> Running in d8023f9dd160 07:01:39 Removing intermediate container d8023f9dd160 07:01:39 ---> 9f4084cac3bf 07:01:39 Step 7/10 : COPY go.mod vendor* ./ 07:01:40 ---> 48bc1ae56b10 07:01:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:01:40 ---> Running in 35d930e06a8e 07:03:31 Removing intermediate container 35d930e06a8e 07:03:31 ---> 3b0aa034e3d1 07:03:31 Step 9/10 : COPY . . 07:03:31 ---> 7e12bd385248 07:03:31 Step 10/10 : RUN ${MAKE} 07:03:31 ---> Running in 8a7d5ed3a8b3 07:03:31 noop 07:03:31 Removing intermediate container 8a7d5ed3a8b3 07:03:31 ---> c136c1743491 07:03:31 Successfully built c136c1743491 07:03:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:32 + docker inspect -f . ci-base-image-arm64 07:03:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:32 prd-ubuntu20.04-docker-arm64-4c-16g-6853 does not seem to be running inside a container 07:03:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/159 -v /w/workspace/device-modbus-go/159:/w/workspace/device-modbus-go/159:rw,z -v /w/workspace/device-modbus-go/159@tmp:/w/workspace/device-modbus-go/159@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 07:03:33 $ docker top f68d7b272bfa55f75c81bdaabc073e6325300d98a1f3d1f66f6254bc73529d4e -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:34 + go version 07:03:34 go version go1.21.9 linux/arm64 [Pipeline] } 07:03:34 $ docker stop --time=1 f68d7b272bfa55f75c81bdaabc073e6325300d98a1f3d1f66f6254bc73529d4e 07:03:36 $ docker rm -f --volumes f68d7b272bfa55f75c81bdaabc073e6325300d98a1f3d1f66f6254bc73529d4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:37 + docker inspect -f . ci-base-image-arm64 07:03:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:37 prd-ubuntu20.04-docker-arm64-4c-16g-6853 does not seem to be running inside a container 07:03:37 $ 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/159 -v /w/workspace/device-modbus-go/159:/w/workspace/device-modbus-go/159:rw,z -v /w/workspace/device-modbus-go/159@tmp:/w/workspace/device-modbus-go/159@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 07:03:38 $ docker top c86579319d7d3947fe0cab1150491897c12179ade67deb1c08528cc84dc40380 -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:39 + git config --global --add safe.directory /w/workspace/device-modbus-go/159 [Pipeline] fileExists [Pipeline] sh 07:03:40 + make test 07:03:40 go test ./... -coverprofile=coverage.out 07:03:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:07:08 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:07:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 47.9% of statements 07:07:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:07:08 go vet ./... 07:07:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:07:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:07:55 ./bin/test-attribution-txt.sh 07:07:55 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 07:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:07:55 $ docker stop --time=1 c86579319d7d3947fe0cab1150491897c12179ade67deb1c08528cc84dc40380 07:07:57 $ docker rm -f --volumes c86579319d7d3947fe0cab1150491897c12179ade67deb1c08528cc84dc40380 [Pipeline] // withDockerContainer [Pipeline] sh 07:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:59 Warning: overwriting stash ‘coverage-report’ 07:07:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:08:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:08:00 + ls -al . 07:08:00 total 268 07:08:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 07:03 . 07:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 07:00 .. 07:08:00 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 07:00 .dockerignore 07:08:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 07:00 .git 07:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 07:00 .github 07:08:00 -rw-rw-r-- 1 jenkins jenkins 266 Jul 31 07:00 .gitignore 07:08:00 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 07:00 .golangci.yml 07:08:00 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 31 07:00 Attribution.txt 07:08:00 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 31 07:00 CHANGELOG.md 07:08:00 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 31 07:00 Dockerfile 07:08:00 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 07:00 GOVERNANCE.md 07:08:00 -rw-rw-r-- 1 jenkins jenkins 658 Jul 31 07:00 Jenkinsfile 07:08:00 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 07:00 LICENSE 07:08:00 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 31 07:00 Makefile 07:08:00 -rw-rw-r-- 1 jenkins jenkins 622 Jul 31 07:00 OWNERS.md 07:08:00 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 31 07:00 README.md 07:08:00 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 06:57 VERSION 07:08:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 07:00 bin 07:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 07:00 cmd 07:08:00 -rw-r--r-- 1 jenkins jenkins 24601 Jul 31 07:07 coverage.out 07:08:00 -rw-rw-r-- 1 jenkins jenkins 7185 Jul 31 07:00 go.mod 07:08:00 -rw-rw-r-- 1 jenkins jenkins 102015 Jul 31 07:00 go.sum 07:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 07:00 internal 07:08:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 07:00 simulator 07:08:00 -rw-rw-r-- 1 jenkins jenkins 229 Jul 31 07:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:00 + 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=a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b --label arch=arm64 --label version=3.2.0-dev.20 . 07:08:01 Sending build context to Docker daemon 9.106MB 07:08:01 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:08:01 Step 2/23 : FROM ${BASE} AS builder 07:08:01 ---> c136c1743491 07:08:01 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:08:01 ---> Running in 8fd8bce3afa5 07:08:01 Removing intermediate container 8fd8bce3afa5 07:08:01 ---> 245fb3735488 07:08:01 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:08:01 ---> Running in a41d375244e0 07:08:02 Removing intermediate container a41d375244e0 07:08:02 ---> 95a7bf03d94a 07:08:02 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:08:02 ---> Running in bada7514c755 07:08:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:08:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:08:04 OK: 272 MiB in 60 packages 07:08:05 Removing intermediate container bada7514c755 07:08:05 ---> ce812005d6a1 07:08:05 Step 6/23 : WORKDIR /device-modbus-go 07:08:05 ---> Running in 6270207f9dcb 07:08:05 Removing intermediate container 6270207f9dcb 07:08:05 ---> 9d178292e610 07:08:05 Step 7/23 : COPY go.mod vendor* ./ 07:08:06 ---> ed09d2003bc1 07:08:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:08:06 ---> Running in 22febc5e5a60 07:08:09 Removing intermediate container 22febc5e5a60 07:08:09 ---> 0ef224bcf9bf 07:08:09 Step 9/23 : COPY . . 07:08:10 ---> b449433de54f 07:08:10 Step 10/23 : RUN ${MAKE} 07:08:10 ---> Running in 2954b72a0ff2 07:08:11 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:11:48 Removing intermediate container 2954b72a0ff2 07:11:48 ---> 141b578624a2 07:11:48 Step 11/23 : FROM alpine:3.18 07:11:48 3.18: Pulling from library/alpine 07:11:48 4983c3fe2029: Pulling fs layer 07:11:48 4983c3fe2029: Verifying Checksum 07:11:48 4983c3fe2029: Download complete 07:11:48 4983c3fe2029: Pull complete 07:11:48 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:11:48 Status: Downloaded newer image for alpine:3.18 07:11:48 ---> a0237000ae83 07:11:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:11:48 ---> Running in ada953ec2b5f 07:11:48 Removing intermediate container ada953ec2b5f 07:11:48 ---> dff972a145d0 07:11:48 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:11:48 ---> Running in bcd27d3c9983 07:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:11:48 (1/1) Installing dumb-init (1.2.5-r2) 07:11:48 Executing busybox-1.36.1-r7.trigger 07:11:48 OK: 8 MiB in 16 packages 07:11:48 Removing intermediate container bcd27d3c9983 07:11:48 ---> 7d6bd5e6e04d 07:11:48 Step 14/23 : RUN apk --no-cache upgrade 07:11:48 ---> Running in 626308b2a054 07:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:11:48 OK: 8 MiB in 16 packages 07:11:49 Removing intermediate container 626308b2a054 07:11:49 ---> 6cfefcd0af62 07:11:49 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:11:50 ---> afb76d96da74 07:11:50 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:11:51 ---> de916d7b8db1 07:11:51 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:11:51 ---> 30c5da9b1b4e 07:11:51 Step 18/23 : EXPOSE 59901 07:11:51 ---> Running in 341baf292cce 07:11:51 Removing intermediate container 341baf292cce 07:11:51 ---> 4f00613f1dd0 07:11:51 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:11:51 ---> Running in 4f8d7b60ecb9 07:11:52 Removing intermediate container 4f8d7b60ecb9 07:11:52 ---> 6f0224ed6a64 07:11:52 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:11:52 ---> Running in 462e1518ca8b 07:11:52 Removing intermediate container 462e1518ca8b 07:11:52 ---> 8b2521c2ec92 07:11:52 Step 21/23 : LABEL arch=arm64 07:11:52 ---> Running in 00b184add119 07:11:52 Removing intermediate container 00b184add119 07:11:52 ---> 79f8520c3b3c 07:11:52 Step 22/23 : LABEL git_sha=a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:11:52 ---> Running in 10fe66751964 07:11:53 Removing intermediate container 10fe66751964 07:11:53 ---> 8f8f87a008b3 07:11:53 Step 23/23 : LABEL version=3.2.0-dev.20 07:11:53 ---> Running in 8a9c3fe949d5 07:11:53 Removing intermediate container 8a9c3fe949d5 07:11:53 ---> 090393c1296a 07:11:53 [Warning] One or more build-args [ARCH] were not consumed 07:11:53 Successfully built 090393c1296a 07:11:53 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 07:11:53 provisioning config files... 07:11:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/159@tmp/config8514962353749316415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:54 ---> ****-login.sh 07:11:54 nexus3.edgexfoundry.org:10001 07:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:54 Configure a credential helper to remove this warning. See 07:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:54 07:11:54 Login Succeeded 07:11:54 nexus3.edgexfoundry.org:10002 07:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:54 Configure a credential helper to remove this warning. See 07:11:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:54 07:11:54 Login Succeeded 07:11:54 nexus3.edgexfoundry.org:10003 07:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:55 Configure a credential helper to remove this warning. See 07:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:55 07:11:55 Login Succeeded 07:11:55 nexus3.edgexfoundry.org:10004 07:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:55 Configure a credential helper to remove this warning. See 07:11:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:55 07:11:55 Login Succeeded 07:11:55 ****.io 07:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:11:56 Configure a credential helper to remove this warning. See 07:11:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:11:56 07:11:56 Login Succeeded 07:11:56 ---> ****-login.sh ends [Pipeline] } 07:11:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:11:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:11:56 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:11:56 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:11:56 latest 07:11:56 3.2.0-dev.20 07:11:56 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 07:11:56 main 07:11:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:11:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:11:56 d4e8f8904d5d: Preparing 07:11:56 d45f9edf889c: Preparing 07:11:56 d8a49ae87757: Preparing 07:11:56 467597293964: Preparing 07:11:56 b0bf2d197867: Preparing 07:11:56 3c20671a5817: Preparing 07:11:56 3c20671a5817: Waiting 07:11:57 d45f9edf889c: Pushed 07:11:57 467597293964: Pushed 07:11:57 b0bf2d197867: Pushed 07:11:57 d4e8f8904d5d: Pushed 07:11:57 3c20671a5817: Layer already exists 07:12:03 d8a49ae87757: Pushed 07:12:03 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b: digest: sha256:e20f1d0a09eb3cf0bc0d9cdd895700996e9a26ef807aded19ac38e9d5e607aad size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:04 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:04 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:12:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:12:04 d4e8f8904d5d: Preparing 07:12:04 d45f9edf889c: Preparing 07:12:04 d8a49ae87757: Preparing 07:12:04 467597293964: Preparing 07:12:04 b0bf2d197867: Preparing 07:12:04 3c20671a5817: Preparing 07:12:04 3c20671a5817: Waiting 07:12:04 b0bf2d197867: Layer already exists 07:12:04 d4e8f8904d5d: Layer already exists 07:12:04 d45f9edf889c: Layer already exists 07:12:04 d8a49ae87757: Layer already exists 07:12:04 467597293964: Layer already exists 07:12:04 3c20671a5817: Layer already exists 07:12:04 latest: digest: sha256:e20f1d0a09eb3cf0bc0d9cdd895700996e9a26ef807aded19ac38e9d5e607aad size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:05 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:05 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.20 07:12:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:12:05 d4e8f8904d5d: Preparing 07:12:05 d45f9edf889c: Preparing 07:12:05 d8a49ae87757: Preparing 07:12:05 467597293964: Preparing 07:12:05 b0bf2d197867: Preparing 07:12:05 3c20671a5817: Preparing 07:12:05 3c20671a5817: Waiting 07:12:05 b0bf2d197867: Layer already exists 07:12:05 467597293964: Layer already exists 07:12:05 d8a49ae87757: Layer already exists 07:12:05 d4e8f8904d5d: Layer already exists 07:12:05 d45f9edf889c: Layer already exists 07:12:05 3c20671a5817: Layer already exists 07:12:05 3.2.0-dev.20: digest: sha256:e20f1d0a09eb3cf0bc0d9cdd895700996e9a26ef807aded19ac38e9d5e607aad size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 07:12:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:12:06 d4e8f8904d5d: Preparing 07:12:06 d45f9edf889c: Preparing 07:12:06 d8a49ae87757: Preparing 07:12:06 467597293964: Preparing 07:12:06 b0bf2d197867: Preparing 07:12:06 3c20671a5817: Preparing 07:12:06 3c20671a5817: Waiting 07:12:06 d4e8f8904d5d: Layer already exists 07:12:06 b0bf2d197867: Layer already exists 07:12:06 d8a49ae87757: Layer already exists 07:12:06 d45f9edf889c: Layer already exists 07:12:06 467597293964: Layer already exists 07:12:06 3c20671a5817: Layer already exists 07:12:06 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20: digest: sha256:e20f1d0a09eb3cf0bc0d9cdd895700996e9a26ef807aded19ac38e9d5e607aad size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:12:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:12:07 d4e8f8904d5d: Preparing 07:12:07 d45f9edf889c: Preparing 07:12:07 d8a49ae87757: Preparing 07:12:07 467597293964: Preparing 07:12:07 b0bf2d197867: Preparing 07:12:07 3c20671a5817: Preparing 07:12:07 d4e8f8904d5d: Layer already exists 07:12:07 b0bf2d197867: Layer already exists 07:12:07 d8a49ae87757: Layer already exists 07:12:07 d45f9edf889c: Layer already exists 07:12:07 467597293964: Layer already exists 07:12:07 3c20671a5817: Layer already exists 07:12:07 main: digest: sha256:e20f1d0a09eb3cf0bc0d9cdd895700996e9a26ef807aded19ac38e9d5e607aad size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:12:07 ===================================================== [Pipeline] echo 07:12:07 taggedImages: 07:12:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b 07:12:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:12:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.20 07:12:07 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b-3.2.0-dev.20 07:12:07 - 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 07:12:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:12:08 07:12:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:12:08 arm64: Pulling from edgex-lftools-log-publisher 07:12:08 8998bd30e6a1: Pulling fs layer 07:12:08 04944245beec: Pulling fs layer 07:12:08 699f458cf7ca: Pulling fs layer 07:12:08 765212b225bb: Pulling fs layer 07:12:08 f23df028b6ca: Pulling fs layer 07:12:08 d65c8cfc05b1: Pulling fs layer 07:12:08 2437ff75d9bd: Pulling fs layer 07:12:08 765212b225bb: Waiting 07:12:08 d65c8cfc05b1: Waiting 07:12:08 f23df028b6ca: Waiting 07:12:08 2437ff75d9bd: Waiting 07:12:08 04944245beec: Verifying Checksum 07:12:08 04944245beec: Download complete 07:12:08 765212b225bb: Verifying Checksum 07:12:08 765212b225bb: Download complete 07:12:08 f23df028b6ca: Verifying Checksum 07:12:08 f23df028b6ca: Download complete 07:12:08 d65c8cfc05b1: Download complete 07:12:08 699f458cf7ca: Verifying Checksum 07:12:08 699f458cf7ca: Download complete 07:12:09 8998bd30e6a1: Verifying Checksum 07:12:09 8998bd30e6a1: Download complete 07:12:12 2437ff75d9bd: Verifying Checksum 07:12:12 2437ff75d9bd: Download complete 07:12:13 8998bd30e6a1: Pull complete 07:12:14 04944245beec: Pull complete 07:12:15 699f458cf7ca: Pull complete 07:12:16 765212b225bb: Pull complete 07:12:17 f23df028b6ca: Pull complete 07:12:17 d65c8cfc05b1: Pull complete 07:12:35 2437ff75d9bd: Pull complete 07:12:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:12:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:12:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:35 prd-ubuntu20.04-docker-arm64-4c-16g-6853 does not seem to be running inside a container 07:12:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/159 -v /w/workspace/device-modbus-go/159:/w/workspace/device-modbus-go/159:rw,z -v /w/workspace/device-modbus-go/159@tmp:/w/workspace/device-modbus-go/159@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 07:12:38 $ docker top 7a3c6de36dd32801206b59f09840bcf790e5684c94764b96bf4c10374f206f97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:39 ---> job-cost.sh 07:12:39 lf-activate-venv: SKIPPING 07:12:39 INFO: No Stack... 07:12:39 INFO: Retrieving Pricing Info for: v3-standard-4 07:12:40 INFO: Archiving Costs [Pipeline] sh 07:12:41 + cat /w/workspace/device-modbus-go/159/archives/cost.csv 07:12:41 + cut -d, -f6 [Pipeline] lock 07:12:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] 07:12:41 Resource [jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] did not exist. Created. 07:12:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:12:41 /w/workspace/device-modbus-go/159@tmp/durable-b337987d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:12:42 + echo total: 0.10999999940395355 [Pipeline] stash 07:12:42 Warning: overwriting stash ‘stack-cost’ 07:12:42 Stashed 1 file(s) [Pipeline] } 07:12:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-159-stack-cost] [Pipeline] // lock [Pipeline] } 07:12:42 $ docker stop --time=1 7a3c6de36dd32801206b59f09840bcf790e5684c94764b96bf4c10374f206f97 07:12:43 $ docker rm -f --volumes 7a3c6de36dd32801206b59f09840bcf790e5684c94764b96bf4c10374f206f97 [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 07:12:44 provisioning config files... 07:12:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16568847253248874485tmp [Pipeline] { [Pipeline] sh 07:12:44 + set +x 07:12:44 + bash -s -- 07:12:44 + curl -s https://codecov.io/bash 07:12:44 07:12:44 _____ _ 07:12:44 / ____| | | 07:12:44 | | ___ __| | ___ ___ _____ __ 07:12:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:12:44 | |___| (_) | (_| | __/ (_| (_) \ V / 07:12:44 \_____\___/ \__,_|\___|\___\___/ \_/ 07:12:44 Bash-1.0.6 07:12:44 07:12:44 07:12:44 ==> git version 2.25.1 found 07:12:44 ==> 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 07:12:44 Release-Date: 2020-01-08 07:12:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:12:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:12:44 ==> Jenkins CI detected. 07:12:44 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:12:44 project root: . 07:12:44 --> token set from env 07:12:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:12:44 ==> Running gcov in . (disable via -X gcov) 07:12:44 ==> Python coveragepy not found 07:12:44 ==> Searching for coverage reports in: 07:12:44 + . 07:12:44 -> Found 1 reports 07:12:44 ==> Detecting git/mercurial file structure 07:12:44 ==> Reading reports 07:12:44 + ./coverage.out bytes=24601 07:12:44 ==> Appending adjustments 07:12:44 https://docs.codecov.io/docs/fixing-reports 07:12:45 + Found adjustments 07:12:45 ==> Gzipping contents 07:12:45 4.0K /tmp/codecov.r2vdNq.gz 07:12:45 ==> Uploading reports 07:12:45 url: https://codecov.io 07:12:45 query: branch=main&commit=a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:12:45 -> Pinging Codecov 07:12:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b&build=159&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F159%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:12:45 -> Uploading to 07:12:45 https://storage.googleapis.com/codecov/v4/raw/2024-07-31/55DBCA73C666E3227836607328DD7E49/a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b/34e90d63-7eb0-45ad-8461-7ed4e0b8dc10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T071244Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f285d4fb80dbadcf1cee3091111d2a5eb06e25fe636d3b740bb75fe082f8a76 07:12:45 % Total % Received % Xferd Average Speed Time Time Time Current 07:12:45 Dload Upload Total Spent Left Speed 07:12:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 18565 --:--:-- --:--:-- --:--:-- 18475 100 3843 0 0 100 3843 0 15880 --:--:-- --:--:-- --:--:-- 15814 07:12:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] } 07:12:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:12:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:12:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:12:45 07:12:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:12:46 latest: Pulling from edgex-devops/edgex-snyk-go 07:12:46 619be1103602: Already exists 07:12:46 f8ea3408117e: Pulling fs layer 07:12:46 91320369b822: Pulling fs layer 07:12:46 0406650e8295: Pulling fs layer 07:12:46 4f4fb700ef54: Pulling fs layer 07:12:46 96d80e3f36e1: Pulling fs layer 07:12:46 bcf3aedb951c: Pulling fs layer 07:12:46 96d80e3f36e1: Waiting 07:12:46 4f4fb700ef54: Waiting 07:12:46 bcf3aedb951c: Waiting 07:12:46 0406650e8295: Verifying Checksum 07:12:46 0406650e8295: Download complete 07:12:46 f8ea3408117e: Download complete 07:12:46 4f4fb700ef54: Verifying Checksum 07:12:46 4f4fb700ef54: Download complete 07:12:46 f8ea3408117e: Pull complete 07:12:46 96d80e3f36e1: Verifying Checksum 07:12:46 96d80e3f36e1: Download complete 07:12:46 91320369b822: Verifying Checksum 07:12:46 91320369b822: Download complete 07:12:47 bcf3aedb951c: Verifying Checksum 07:12:47 bcf3aedb951c: Download complete 07:12:49 91320369b822: Pull complete 07:12:49 0406650e8295: Pull complete 07:12:49 4f4fb700ef54: Pull complete 07:12:50 96d80e3f36e1: Pull complete 07:12:53 bcf3aedb951c: Pull complete 07:12:53 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 07:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:12:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:53 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:12:53 $ 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 07:12:56 $ docker top 56a1c47381fe1b5ef26662748c8607edb726648c72dea216420ca62872dade58 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:12:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:12:57 + set -o pipefail 07:12:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:13:07 07:13:07 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:13:07 07:13:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/98ffd268-e83d-40ec-9b25-c6cc6538b1f0 07:13:07 07:13:07 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:13:07 07:13:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:13:07 07:13:07 07:13:07 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:13:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:13:07 $ docker stop --time=1 56a1c47381fe1b5ef26662748c8607edb726648c72dea216420ca62872dade58 07:13:12 $ docker rm -f --volumes 56a1c47381fe1b5ef26662748c8607edb726648c72dea216420ca62872dade58 [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 07:13:13 + git log --format=format:%s -1 a4ac1bfabe15027a0c2e1639544bd8d2dfd4285b [Pipeline] sh 07:13:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:13:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:13:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:13 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:13:13 $ 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 07:13:14 $ docker top 62380ba5d60a7e6c761ab87bb0d773734f76bf17c23cdafc30b34b1034c5dbf4 -eo pid,comm 07:13:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:13:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:13:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:13:14 [ssh-agent] Looking for ssh-agent implementation... 07:13:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:13:14 $ docker exec 62380ba5d60a7e6c761ab87bb0d773734f76bf17c23cdafc30b34b1034c5dbf4 ssh-agent 07:13:14 SSH_AUTH_SOCK=/tmp/ssh-vOpWv7lUNoqt/agent.32 07:13:14 SSH_AGENT_PID=38 07:13:14 Running ssh-add (command line suppressed) 07:13:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11543451454326879138.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11543451454326879138.key) 07:13:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:13:15 + git semver tag 07:13:15 2024-07-31 07:13:15,192 [run_tag] DEBUG tag force:False 07:13:15 2024-07-31 07:13:15,193 [check_head_tag] DEBUG check head tag 07:13:15 2024-07-31 07:13:15,193 [execute] INFO git cat-file --batch-check 07:13:15 2024-07-31 07:13:15,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:13:15 2024-07-31 07:13:15,198 [execute] INFO git cat-file --batch 07:13:15 2024-07-31 07:13:15,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:13:15 2024-07-31 07:13:15,215 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:15 2024-07-31 07:13:15,215 [execute] INFO git tag -a v3.2.0-dev.20 -m v3.2.0-dev.20 07:13:15 2024-07-31 07:13:15,215 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.20', '-m', 'v3.2.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:13:15 2024-07-31 07:13:15,219 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:15 3.2.0-dev.20 [Pipeline] } 07:13:15 $ docker exec --env ******** --env ******** 62380ba5d60a7e6c761ab87bb0d773734f76bf17c23cdafc30b34b1034c5dbf4 ssh-agent -k 07:13:15 unset SSH_AUTH_SOCK; 07:13:15 unset SSH_AGENT_PID; 07:13:15 echo Agent pid 38 killed; 07:13:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:13:15 + git semver [Pipeline] } 07:13:16 $ docker stop --time=1 62380ba5d60a7e6c761ab87bb0d773734f76bf17c23cdafc30b34b1034c5dbf4 07:13:17 $ docker rm -f --volumes 62380ba5d60a7e6c761ab87bb0d773734f76bf17c23cdafc30b34b1034c5dbf4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:13:17 07:13:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:13:18 0.23.1-centos7: Pulling from edgex-lftools 07:13:18 ab5ef0e58194: Pulling fs layer 07:13:18 9712f1f96733: Pulling fs layer 07:13:18 63f879dbbcfc: Pulling fs layer 07:13:18 0d9ebad4ef96: Pulling fs layer 07:13:18 e9a5061849ea: Pulling fs layer 07:13:18 d747dcd14b5f: Pulling fs layer 07:13:18 2de7ff778b66: Pulling fs layer 07:13:18 0d9ebad4ef96: Waiting 07:13:18 e9a5061849ea: Waiting 07:13:18 2de7ff778b66: Waiting 07:13:18 d747dcd14b5f: Waiting 07:13:18 9712f1f96733: Verifying Checksum 07:13:18 9712f1f96733: Download complete 07:13:18 63f879dbbcfc: Verifying Checksum 07:13:18 63f879dbbcfc: Download complete 07:13:18 e9a5061849ea: Verifying Checksum 07:13:18 e9a5061849ea: Download complete 07:13:18 d747dcd14b5f: Verifying Checksum 07:13:18 d747dcd14b5f: Download complete 07:13:18 0d9ebad4ef96: Verifying Checksum 07:13:18 0d9ebad4ef96: Download complete 07:13:18 ab5ef0e58194: Verifying Checksum 07:13:18 ab5ef0e58194: Download complete 07:13:18 2de7ff778b66: Verifying Checksum 07:13:18 2de7ff778b66: Download complete 07:13:21 ab5ef0e58194: Pull complete 07:13:21 9712f1f96733: Pull complete 07:13:22 63f879dbbcfc: Pull complete 07:13:26 0d9ebad4ef96: Pull complete 07:13:26 e9a5061849ea: Pull complete 07:13:26 d747dcd14b5f: Pull complete 07:13:27 2de7ff778b66: Pull complete 07:13:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:13:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:13:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:27 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:13:27 $ 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 07:13:32 $ docker top 106b8ec2475ab896f32224f2a4cefee6f8eb7bf035ffde8df8f51fadad782f43 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:13:32 provisioning config files... 07:13:32 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5198095476804015139tmp 07:13:32 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4983481873889808893tmp 07:13:32 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4875908682793772205tmp [Pipeline] { [Pipeline] echo 07:13:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:13:32 ---> sigul-configuration.sh 07:13:32 gpg: directory `/root/.gnupg' created 07:13:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:13:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:13:32 gpg: keyring `/root/.gnupg/secring.gpg' created 07:13:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:13:32 gpg: CAST5 encrypted data 07:13:32 gpg: encrypted with 1 passphrase 07:13:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:13:33 + mkdir /home/jenkins 07:13:33 + mkdir /home/jenkins/sigul [Pipeline] sh 07:13:33 + 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 07:13:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:13:33 ---> sigul-install.sh 07:13:33 Sigul already installed; skipping installation. [Pipeline] sh 07:13:34 + git tag --list 07:13:34 0.7.1 07:13:34 v1.0.0 07:13:34 v1.1.0 07:13:34 v1.1.1 07:13:34 v1.2.2 07:13:34 v1.3.0 07:13:34 v1.3.1 07:13:34 v2.0.0 07:13:34 v2.1.0 07:13:34 v2.1.1 07:13:34 v2.2.0 07:13:34 v2.3.0 07:13:34 v3.0 07:13:34 v3.0.0 07:13:34 v3.1 07:13:34 v3.1.0 07:13:34 v3.1.0-dev.1 07:13:34 v3.1.0-dev.10 07:13:34 v3.1.0-dev.11 07:13:34 v3.1.0-dev.12 07:13:34 v3.1.0-dev.13 07:13:34 v3.1.0-dev.14 07:13:34 v3.1.0-dev.15 07:13:34 v3.1.0-dev.16 07:13:34 v3.1.0-dev.17 07:13:34 v3.1.0-dev.18 07:13:34 v3.1.0-dev.19 07:13:34 v3.1.0-dev.2 07:13:34 v3.1.0-dev.20 07:13:34 v3.1.0-dev.21 07:13:34 v3.1.0-dev.22 07:13:34 v3.1.0-dev.23 07:13:34 v3.1.0-dev.24 07:13:34 v3.1.0-dev.25 07:13:34 v3.1.0-dev.3 07:13:34 v3.1.0-dev.4 07:13:34 v3.1.0-dev.5 07:13:34 v3.1.0-dev.6 07:13:34 v3.1.0-dev.7 07:13:34 v3.1.0-dev.8 07:13:34 v3.1.0-dev.9 07:13:34 v3.1.1 07:13:34 v3.1.1-dev.1 07:13:34 v3.2.0-dev.1 07:13:34 v3.2.0-dev.10 07:13:34 v3.2.0-dev.11 07:13:34 v3.2.0-dev.12 07:13:34 v3.2.0-dev.13 07:13:34 v3.2.0-dev.14 07:13:34 v3.2.0-dev.15 07:13:34 v3.2.0-dev.16 07:13:34 v3.2.0-dev.17 07:13:34 v3.2.0-dev.18 07:13:34 v3.2.0-dev.19 07:13:34 v3.2.0-dev.2 07:13:34 v3.2.0-dev.20 07:13:34 v3.2.0-dev.3 07:13:34 v3.2.0-dev.4 07:13:34 v3.2.0-dev.5 07:13:34 v3.2.0-dev.6 07:13:34 v3.2.0-dev.7 07:13:34 v3.2.0-dev.8 07:13:34 v3.2.0-dev.9 [Pipeline] sh 07:13:34 + lftools sign git-tag v3.2.0-dev.20 07:13:34 Signing Git tag with Sigul... 07:13:34 Signing v3.2.0-dev.20 [Pipeline] echo 07:13:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:13:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:13:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:13:35 $ docker stop --time=1 106b8ec2475ab896f32224f2a4cefee6f8eb7bf035ffde8df8f51fadad782f43 07:13:36 $ docker rm -f --volumes 106b8ec2475ab896f32224f2a4cefee6f8eb7bf035ffde8df8f51fadad782f43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:13:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:13:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:13:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:37 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:13:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:13:38 $ docker top bc9fd7329dd37be1c68fb55804763596c2539d22401e411425a0422ed5d21f7c -eo pid,comm 07:13:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:13:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:13:38 [ssh-agent] Looking for ssh-agent implementation... 07:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:13:38 $ docker exec bc9fd7329dd37be1c68fb55804763596c2539d22401e411425a0422ed5d21f7c ssh-agent 07:13:38 SSH_AUTH_SOCK=/tmp/ssh-WZ0CfG4j8lEy/agent.33 07:13:38 SSH_AGENT_PID=39 07:13:38 Running ssh-add (command line suppressed) 07:13:38 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8919443764280375819.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8919443764280375819.key) 07:13:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:13:39 + git semver bump pre 07:13:39 2024-07-31 07:13:39,206 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:39 2024-07-31 07:13:39,206 [bump_version] DEBUG bumping version:3.2.0-dev.20 on axis:pre with prefix:dev 07:13:39 2024-07-31 07:13:39,206 [bump_version] DEBUG bumped version:3.2.0-dev.21 07:13:39 2024-07-31 07:13:39,206 [write_version] DEBUG write version:3.2.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:13:39 2024-07-31 07:13:39,206 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:39 2024-07-31 07:13:39,207 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:39 2024-07-31 07:13:39,208 [execute] INFO git cat-file --batch-check 07:13:39 2024-07-31 07:13:39,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:13:39 2024-07-31 07:13:39,214 [execute] INFO git cat-file --batch 07:13:39 2024-07-31 07:13:39,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:13:39 2024-07-31 07:13:39,219 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:39 3.2.0-dev.21 [Pipeline] } 07:13:39 $ docker exec --env ******** --env ******** bc9fd7329dd37be1c68fb55804763596c2539d22401e411425a0422ed5d21f7c ssh-agent -k 07:13:39 unset SSH_AUTH_SOCK; 07:13:39 unset SSH_AGENT_PID; 07:13:39 echo Agent pid 39 killed; 07:13:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:13:39 + git semver [Pipeline] } 07:13:40 $ docker stop --time=1 bc9fd7329dd37be1c68fb55804763596c2539d22401e411425a0422ed5d21f7c 07:13:41 $ docker rm -f --volumes bc9fd7329dd37be1c68fb55804763596c2539d22401e411425a0422ed5d21f7c [Pipeline] // withDockerContainer [Pipeline] sh 07:13:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:13:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:13:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:42 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:13:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:13:42 $ docker top b833fc5abc31af58463701ef2d4d3d84f77f32480b7dc1f92ca359feb27b2c0c -eo pid,comm 07:13:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:13:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:13:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:13:42 [ssh-agent] Looking for ssh-agent implementation... 07:13:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:13:42 $ docker exec b833fc5abc31af58463701ef2d4d3d84f77f32480b7dc1f92ca359feb27b2c0c ssh-agent 07:13:42 SSH_AUTH_SOCK=/tmp/ssh-4bOMxl4IB7Ef/agent.33 07:13:42 SSH_AGENT_PID=39 07:13:42 Running ssh-add (command line suppressed) 07:13:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_645315909069247801.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_645315909069247801.key) 07:13:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:13:43 + git semver push 07:13:43 2024-07-31 07:13:43,300 [run_push] DEBUG push 07:13:43 2024-07-31 07:13:43,301 [execute] INFO git cat-file --batch-check 07:13:43 2024-07-31 07:13:43,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:13:43 2024-07-31 07:13:43,304 [execute] INFO git rev-list 05d9200b05a162734bf5de20b5408b358bab8ea4 -- 07:13:43 2024-07-31 07:13:43,305 [execute] DEBUG Popen(['git', 'rev-list', '05d9200b05a162734bf5de20b5408b358bab8ea4', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:13:43 2024-07-31 07:13:43,314 [execute] INFO git fetch -v origin 07:13:43 2024-07-31 07:13:43,315 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:13:43 2024-07-31 07:13:43,773 [run_push] DEBUG no remote changes detected 07:13:43 2024-07-31 07:13:43,773 [execute] INFO git push origin semver 07:13:43 2024-07-31 07:13:43,774 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:13:44 2024-07-31 07:13:44,464 [run_push] DEBUG push all version tags 07:13:44 2024-07-31 07:13:44,464 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:13:44 2024-07-31 07:13:44,465 [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) 07:13:45 2024-07-31 07:13:45,264 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:13:45 3.2.0-dev.21 [Pipeline] } 07:13:45 $ docker exec --env ******** --env ******** b833fc5abc31af58463701ef2d4d3d84f77f32480b7dc1f92ca359feb27b2c0c ssh-agent -k 07:13:45 unset SSH_AUTH_SOCK; 07:13:45 unset SSH_AGENT_PID; 07:13:45 echo Agent pid 39 killed; 07:13:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:13:45 + git semver [Pipeline] } 07:13:46 $ docker stop --time=1 b833fc5abc31af58463701ef2d4d3d84f77f32480b7dc1f92ca359feb27b2c0c 07:13:47 $ docker rm -f --volumes b833fc5abc31af58463701ef2d4d3d84f77f32480b7dc1f92ca359feb27b2c0c [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 07:13:48 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:13:48 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:13:48 total 16 07:13:48 drwxr-xr-x 3 root root 4096 Jul 31 07:00 . 07:13:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 07:13 .. 07:13:48 drwxr-xr-x 2 root root 4096 Jul 31 07:00 cost 07:13:48 -rw-r--r-- 1 root root 88 Jul 31 07:00 cost.csv 07:13:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:13:48 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:13:48 total 16 07:13:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 07:00 . 07:13:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 07:13 .. 07:13:48 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 07:00 cost 07:13:48 -rw-r--r-- 1 jenkins jenkins 88 Jul 31 07:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:13:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:13:49 ---> package-listing.sh 07:13:49 ++ facter osfamily 07:13:49 ++ tr '[:upper:]' '[:lower:]' 07:13:49 + OS_FAMILY=debian 07:13:49 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:13:49 + START_PACKAGES=/tmp/packages_start.txt 07:13:49 + END_PACKAGES=/tmp/packages_end.txt 07:13:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:13:49 + PACKAGES=/tmp/packages_start.txt 07:13:49 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:13:49 + PACKAGES=/tmp/packages_end.txt 07:13:49 + case "${OS_FAMILY}" in 07:13:49 + dpkg -l 07:13:49 + grep '^ii' 07:13:49 + '[' -f /tmp/packages_start.txt ']' 07:13:49 + '[' -f /tmp/packages_end.txt ']' 07:13:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:13:49 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:13:49 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:13:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:13:49 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 07:13:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:50 prd-ubuntu20.04-docker-8c-8g-6852 does not seem to be running inside a container 07:13:50 $ 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 07:13:50 $ docker top 051cd6bb1c4f5072e37fe3fa138e89a124c722cc3277c810b7dec4757067624d -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:50 + touch /tmp/pre-build-complete [Pipeline] sh 07:13:51 + mkdir -p /var/log/sysstat [Pipeline] sh 07:13:51 + ls /var/log/sa-host 07:13:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:51 provisioning config files... 07:13:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14952603329912541124tmp [Pipeline] { [Pipeline] echo 07:13:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:13:52 ---> create-netrc.sh [Pipeline] } 07:13:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:13:52 ---> python-tools-install.sh [Pipeline] echo 07:13:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:13:52 ---> sudo-logs.sh 07:13:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:13:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:13:53 ---> job-cost.sh 07:13:53 lf-activate-venv: SKIPPING 07:13:53 DEBUG: total: 0.2199999988079071 07:13:53 INFO: Retrieving Stack Cost... 07:13:53 INFO: Retrieving Pricing Info for: v3-standard-8 07:13:53 INFO: Archiving Costs [Pipeline] echo 07:13:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:13:54 ---> logs-deploy.sh 07:13:54 lf-activate-venv: SKIPPING 07:13:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/159 07:13:54 INFO: archiving workspace using pattern(s): 07:13:55 Archives upload complete. 07:13:55 INFO: archiving logs to Nexus