Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dad323708bb7fb3ae7999ed6872af7cbf93de804 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-ssh3728939788666764482.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5890020825631624549.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh6657379739278052726.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh16464412055183405830.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-ssh3016974944926170787.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24285 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 dad323708bb7fb3ae7999ed6872af7cbf93de804 (main) Commit message: "Merge pull request #587 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" > 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 dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 > git rev-list --no-walk 2b384c346e19e635e1b49ec09200f6d61a158dd6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:00:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:00:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:00:28 ========================================================= 07:00:28 EdgeX Global Pipelines Version Info 07:00:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:00:29 ------------------- 07:00:29 stable info: 07:00:29 ------------------- 07:00:29 Commited By: Ginny Guan ginny@iotechsys.com 07:00:29 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:00:29 Message: update stable to v1.0.265 07:00:29 ------------------- 07:00:29 experimental info: 07:00:29 ------------------- 07:00:29 Commited By: Cherry Wang cherry@iotechsys.com 07:00:29 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:00:29 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:00:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:00:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dad3237 [Pipeline] echo 07:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:30 provisioning config files... 07:00:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config227766132478308414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:31 ---> ****-login.sh 07:00:31 nexus3.edgexfoundry.org:10001 07:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:31 Configure a credential helper to remove this warning. See 07:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:31 07:00:31 Login Succeeded 07:00:31 nexus3.edgexfoundry.org:10002 07:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:31 Configure a credential helper to remove this warning. See 07:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:31 07:00:31 Login Succeeded 07:00:31 nexus3.edgexfoundry.org:10003 07:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:31 Configure a credential helper to remove this warning. See 07:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:31 07:00:31 Login Succeeded 07:00:31 nexus3.edgexfoundry.org:10004 07:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:31 Configure a credential helper to remove this warning. See 07:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:31 07:00:31 Login Succeeded 07:00:31 ****.io 07:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:32 Configure a credential helper to remove this warning. See 07:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:32 07:00:32 Login Succeeded 07:00:32 ---> ****-login.sh ends [Pipeline] } 07:00:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:00:32 + git rev-list -1 --merges dad323708bb7fb3ae7999ed6872af7cbf93de804~1..dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] echo 07:00:32 -----------> git rev-list -1 --merges dad323708bb7fb3ae7999ed6872af7cbf93de804~1..dad323708bb7fb3ae7999ed6872af7cbf93de804 dad323708bb7fb3ae7999ed6872af7cbf93de804 07:00:32 dad323708bb7fb3ae7999ed6872af7cbf93de804 [false] [Pipeline] sh 07:00:32 + git log --format=format:%s -1 dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] echo 07:00:32 ========================================================= 07:00:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:00:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:33 + git log --format=format:%s -1 dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] echo 07:00:33 [semverPrep] GIT_COMMIT: dad323708bb7fb3ae7999ed6872af7cbf93de804, Commit Message: Merge pull request #587 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2 [Pipeline] echo 07:00:33 [semverPrep] This is not a build commit. [Pipeline] sh 07:00:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:00:33 + grep -v github /etc/ssh/ssh_known_hosts 07:00:33 + [ -e /tmp/ssh_known_hosts ] 07:00:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:00:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:00:33 + sudo tee -a /etc/ssh/ssh_known_hosts 07:00:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:34 07:00:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:34 0.1.4: Pulling from edgex-devops/py-git-semver 07:00:34 b85a868b505f: Pulling fs layer 07:00:34 e2be974225ed: Pulling fs layer 07:00:34 339a4e72a1f5: Pulling fs layer 07:00:34 988bab9f4d93: Pulling fs layer 07:00:34 1469e6f7b9e6: Pulling fs layer 07:00:34 eaf3925da568: Pulling fs layer 07:00:34 bab4dde63d76: Pulling fs layer 07:00:34 bde34c3a00c8: Pulling fs layer 07:00:34 b352a97aabf1: Pulling fs layer 07:00:34 4872d77fe225: Pulling fs layer 07:00:34 5851b861e8e6: Pulling fs layer 07:00:34 bab4dde63d76: Waiting 07:00:34 bde34c3a00c8: Waiting 07:00:34 b352a97aabf1: Waiting 07:00:34 4872d77fe225: Waiting 07:00:34 5851b861e8e6: Waiting 07:00:34 988bab9f4d93: Waiting 07:00:34 1469e6f7b9e6: Waiting 07:00:34 eaf3925da568: Waiting 07:00:34 e2be974225ed: Verifying Checksum 07:00:34 e2be974225ed: Download complete 07:00:34 988bab9f4d93: Verifying Checksum 07:00:34 988bab9f4d93: Download complete 07:00:34 1469e6f7b9e6: Verifying Checksum 07:00:34 1469e6f7b9e6: Download complete 07:00:34 339a4e72a1f5: Verifying Checksum 07:00:34 339a4e72a1f5: Download complete 07:00:34 eaf3925da568: Download complete 07:00:34 bde34c3a00c8: Verifying Checksum 07:00:34 bde34c3a00c8: Download complete 07:00:34 b352a97aabf1: Verifying Checksum 07:00:34 b352a97aabf1: Download complete 07:00:34 4872d77fe225: Download complete 07:00:34 5851b861e8e6: Verifying Checksum 07:00:34 5851b861e8e6: Download complete 07:00:34 b85a868b505f: Verifying Checksum 07:00:34 b85a868b505f: Download complete 07:00:34 bab4dde63d76: Verifying Checksum 07:00:34 bab4dde63d76: Download complete 07:00:36 b85a868b505f: Pull complete 07:00:36 e2be974225ed: Pull complete 07:00:36 339a4e72a1f5: Pull complete 07:00:36 988bab9f4d93: Pull complete 07:00:37 1469e6f7b9e6: Pull complete 07:00:37 eaf3925da568: Pull complete 07:00:38 bab4dde63d76: Pull complete 07:00:39 bde34c3a00c8: Pull complete 07:00:39 b352a97aabf1: Pull complete 07:00:39 4872d77fe225: Pull complete 07:00:39 5851b861e8e6: Pull complete 07:00:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:39 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:00:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:00:43 $ docker top 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 -eo pid,comm 07:00:43 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:00:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:00:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:43 [ssh-agent] Looking for ssh-agent implementation... 07:00:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:44 $ docker exec 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 ssh-agent 07:00:44 SSH_AUTH_SOCK=/tmp/ssh-GHLSsfdro06B/agent.32 07:00:44 SSH_AGENT_PID=38 07:00:44 Running ssh-add (command line suppressed) 07:00:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17179216451687645859.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17179216451687645859.key) 07:00:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:44 + git tag --points-at HEAD [Pipeline] } 07:00:44 $ docker exec --env ******** --env ******** 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 ssh-agent -k 07:00:44 unset SSH_AUTH_SOCK; 07:00:44 unset SSH_AGENT_PID; 07:00:44 echo Agent pid 38 killed; 07:00:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:00:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:44 [ssh-agent] Looking for ssh-agent implementation... 07:00:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:44 $ docker exec 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 ssh-agent 07:00:44 SSH_AUTH_SOCK=/tmp/ssh-NU9uqhi5h8kl/agent.71 07:00:44 SSH_AGENT_PID=77 07:00:44 Running ssh-add (command line suppressed) 07:00:45 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13601429442829996669.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13601429442829996669.key) 07:00:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:45 + git semver init 07:00:45 2024-11-01 07:00:45,627 [run_init] DEBUG init version:0.0.0 force:False 07:00:45 2024-11-01 07:00:45,629 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:00:45 2024-11-01 07:00:45,630 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:00:45 2024-11-01 07:00:45,630 [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) 07:00:47 2024-11-01 07:00:46,687 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:00:47 2024-11-01 07:00:46,688 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:00:47 2024-11-01 07:00:46,688 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:00:47 2024-11-01 07:00:46,688 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:00:47 4.0.0-dev.3 [Pipeline] } 07:00:47 $ docker exec --env ******** --env ******** 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 ssh-agent -k 07:00:47 unset SSH_AUTH_SOCK; 07:00:47 unset SSH_AGENT_PID; 07:00:47 echo Agent pid 77 killed; 07:00:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:00:47 + git semver [Pipeline] } 07:00:47 $ docker stop --time=1 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 07:00:49 $ docker rm -f --volumes 9c703e3c1fa5f06951951236f04863c7827fb8fb0a0d1aa17c1f296cecd078d9 [Pipeline] // withDockerContainer [Pipeline] sh 07:00:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:00:50 Stashed 1 file(s) [Pipeline] echo 07:00:50 [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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 07:00:50 provisioning config files... 07:00:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3808009245959913226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:50 ---> ****-login.sh 07:00:50 nexus3.edgexfoundry.org:10001 07:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:50 Configure a credential helper to remove this warning. See 07:00:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:50 07:00:50 Login Succeeded 07:00:50 nexus3.edgexfoundry.org:10002 07:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:50 Configure a credential helper to remove this warning. See 07:00:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:50 07:00:50 Login Succeeded 07:00:50 nexus3.edgexfoundry.org:10003 07:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:50 Configure a credential helper to remove this warning. See 07:00:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:50 07:00:50 Login Succeeded 07:00:50 nexus3.edgexfoundry.org:10004 07:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:50 Configure a credential helper to remove this warning. See 07:00:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:50 07:00:50 Login Succeeded 07:00:50 ****.io 07:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:00:52 Configure a credential helper to remove this warning. See 07:00:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:00:52 07:00:52 Login Succeeded 07:00:52 ---> ****-login.sh ends [Pipeline] } 07:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:00:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:00:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:00:52 ========================================================= 07:00:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:00:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:00:52 Sending build context to Docker daemon 18MB 07:00:52 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:00:52 Step 2/10 : FROM ${BASE} AS builder 07:00:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:00:52 43c4264eed91: Pulling fs layer 07:00:52 4cc291be95ef: Pulling fs layer 07:00:52 2ac1f1163629: Pulling fs layer 07:00:52 5c3c966382ef: Pulling fs layer 07:00:52 4f4fb700ef54: Pulling fs layer 07:00:52 5d5c8e513c77: Pulling fs layer 07:00:52 9f66e0745190: Pulling fs layer 07:00:52 f49a43e4bbc0: Pulling fs layer 07:00:52 5c3c966382ef: Waiting 07:00:52 4f4fb700ef54: Waiting 07:00:52 5d5c8e513c77: Waiting 07:00:52 561ebcabdf7f: Pulling fs layer 07:00:52 f49a43e4bbc0: Waiting 07:00:52 561ebcabdf7f: Waiting 07:00:52 4cc291be95ef: Verifying Checksum 07:00:52 4cc291be95ef: Download complete 07:00:52 5c3c966382ef: Verifying Checksum 07:00:52 5c3c966382ef: Download complete 07:00:52 4f4fb700ef54: Verifying Checksum 07:00:52 4f4fb700ef54: Download complete 07:00:52 5d5c8e513c77: Verifying Checksum 07:00:52 5d5c8e513c77: Download complete 07:00:52 43c4264eed91: Download complete 07:00:52 9f66e0745190: Verifying Checksum 07:00:52 9f66e0745190: Download complete 07:00:53 43c4264eed91: Pull complete 07:00:53 561ebcabdf7f: Verifying Checksum 07:00:53 561ebcabdf7f: Download complete 07:00:53 4cc291be95ef: Pull complete 07:00:53 2ac1f1163629: Verifying Checksum 07:00:53 2ac1f1163629: Download complete 07:00:53 f49a43e4bbc0: Verifying Checksum 07:00:53 f49a43e4bbc0: Download complete 07:00:57 2ac1f1163629: Pull complete 07:00:57 5c3c966382ef: Pull complete 07:00:57 4f4fb700ef54: Pull complete 07:00:57 5d5c8e513c77: Pull complete 07:00:57 9f66e0745190: Pull complete 07:00:59 f49a43e4bbc0: Pull complete 07:01:00 561ebcabdf7f: Pull complete 07:01:00 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:01:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:01:00 ---> 3a752c3f9dda 07:01:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:01:05 Still waiting to schedule task 07:01:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:01:06 ---> Running in 6b253a9d8244 07:01:06 Removing intermediate container 6b253a9d8244 07:01:06 ---> c7a3faed3620 07:01:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:01:06 ---> Running in 8cedb7dfbba5 07:01:06 Removing intermediate container 8cedb7dfbba5 07:01:06 ---> e7a4ad337fb3 07:01:06 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:01:06 ---> Running in 19910b3cc719 07:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:01:07 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:01:07 (2/8) Installing libedit (20240517.3.1-r0) 07:01:07 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:01:07 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:01:07 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:01:07 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:01:07 (7/8) Installing openssh-server (9.7_p1-r4) 07:01:07 (8/8) Installing openssh (9.7_p1-r4) 07:01:07 Executing busybox-1.36.1-r29.trigger 07:01:07 OK: 252 MiB in 62 packages 07:01:08 Removing intermediate container 19910b3cc719 07:01:08 ---> 76bc995b6161 07:01:08 Step 6/10 : WORKDIR /device-modbus-go 07:01:08 ---> Running in 3bc60cafd225 07:01:08 Removing intermediate container 3bc60cafd225 07:01:08 ---> a16402cf106c 07:01:08 Step 7/10 : COPY go.mod vendor* ./ 07:01:08 ---> 46084ff45e08 07:01:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:01:08 ---> Running in f960cb7dbd28 07:02:15 Removing intermediate container f960cb7dbd28 07:02:15 ---> ed2f5c7d8cf4 07:02:15 Step 9/10 : COPY . . 07:02:15 ---> 26a5cbcb05bd 07:02:15 Step 10/10 : RUN ${MAKE} 07:02:15 ---> Running in 8cb274ec5b62 07:02:15 noop 07:02:15 Removing intermediate container 8cb274ec5b62 07:02:15 ---> aeb6ca156582 07:02:15 Successfully built aeb6ca156582 07:02:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:16 + docker inspect -f . ci-base-image-x86_64 07:02:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:16 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:02:16 $ 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 07:02:16 $ docker top e30294f1031b408919a7cdf49b9cf4101ba634ac12dab8547de644b388557bd3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:17 + go version 07:02:17 go version go1.23.2 linux/amd64 [Pipeline] } 07:02:17 $ docker stop --time=1 e30294f1031b408919a7cdf49b9cf4101ba634ac12dab8547de644b388557bd3 07:02:18 $ docker rm -f --volumes e30294f1031b408919a7cdf49b9cf4101ba634ac12dab8547de644b388557bd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:19 + docker inspect -f . ci-base-image-x86_64 07:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:19 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:02:19 $ 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 07:02:19 $ docker top 88c3340f3978fd557b48e344a89f775743147e9a674cb5546bae1e921781c818 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:02:20 + make test 07:02:20 go test ./... -coverprofile=coverage.out 07:02:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:02:45 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:02:45 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements 07:02:55 go vet ./... 07:03:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:03:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:03:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:03:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:03:00 $ docker stop --time=1 88c3340f3978fd557b48e344a89f775743147e9a674cb5546bae1e921781c818 07:03:04 $ docker rm -f --volumes 88c3340f3978fd557b48e344a89f775743147e9a674cb5546bae1e921781c818 [Pipeline] // withDockerContainer [Pipeline] sh 07:03:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:03:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:03:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:03:06 + ls -al . 07:03:06 total 260 07:03:06 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 07:02 . 07:03:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:00 .. 07:03:06 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 07:00 .dockerignore 07:03:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:02 .git 07:03:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:00 .github 07:03:06 -rw-rw-r-- 1 jenkins jenkins 266 Nov 1 07:00 .gitignore 07:03:06 -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 07:00 .golangci.yml 07:03:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 07:00 .semver 07:03:06 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 1 07:00 Attribution.txt 07:03:06 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 1 07:00 CHANGELOG.md 07:03:06 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 1 07:00 Dockerfile 07:03:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 07:00 GOVERNANCE.md 07:03:06 -rw-rw-r-- 1 jenkins jenkins 658 Nov 1 07:00 Jenkinsfile 07:03:06 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 07:00 LICENSE 07:03:06 -rw-rw-r-- 1 jenkins jenkins 2479 Nov 1 07:00 Makefile 07:03:06 -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 07:00 OWNERS.md 07:03:06 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 1 07:00 README.md 07:03:06 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 07:00 VERSION 07:03:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:00 bin 07:03:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:00 cmd 07:03:06 -rw-r--r-- 1 jenkins jenkins 25464 Nov 1 07:02 coverage.out 07:03:06 -rw-rw-r-- 1 jenkins jenkins 6490 Nov 1 07:00 go.mod 07:03:06 -rw-rw-r-- 1 jenkins jenkins 88426 Nov 1 07:00 go.sum 07:03:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:00 internal 07:03:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:00 simulator 07:03:06 -rw-rw-r-- 1 jenkins jenkins 229 Nov 1 07:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:06 + 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=dad323708bb7fb3ae7999ed6872af7cbf93de804 --label arch=amd64 --label version=4.0.0-dev.3 . 07:03:06 Sending build context to Docker daemon 18.03MB 07:03:06 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:03:06 Step 2/23 : FROM ${BASE} AS builder 07:03:06 ---> aeb6ca156582 07:03:06 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:03:06 ---> Running in a5d8316c42b6 07:03:07 Removing intermediate container a5d8316c42b6 07:03:07 ---> 9e6d460aa217 07:03:07 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:03:07 ---> Running in 71391073eefe 07:03:07 Removing intermediate container 71391073eefe 07:03:07 ---> fc56af76d4ff 07:03:07 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:03:07 ---> Running in 225324b017a0 07:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:03:08 OK: 252 MiB in 62 packages 07:03:09 Removing intermediate container 225324b017a0 07:03:09 ---> fb3c834643ef 07:03:09 Step 6/23 : WORKDIR /device-modbus-go 07:03:09 ---> Running in 582095f35b40 07:03:09 Removing intermediate container 582095f35b40 07:03:09 ---> 83970d0214df 07:03:09 Step 7/23 : COPY go.mod vendor* ./ 07:03:09 ---> d3d72f933160 07:03:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:03:09 ---> Running in 6f5250b498c5 07:03:09 Removing intermediate container 6f5250b498c5 07:03:09 ---> b42c848dbcbd 07:03:09 Step 9/23 : COPY . . 07:03:10 ---> d956f49659e8 07:03:10 Step 10/23 : RUN ${MAKE} 07:03:10 ---> Running in e2d8d7645831 07:03:10 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd 07:03:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24288 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:03:47 Running in /w/workspace/device-modbus-go/168 [Pipeline] { [Pipeline] checkout 07:03:49 Removing intermediate container e2d8d7645831 07:03:49 ---> a12898305749 07:03:49 Step 11/23 : FROM alpine:3.20 07:03:49 3.20: Pulling from library/alpine 07:03:49 43c4264eed91: Already exists 07:03:49 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:03:49 Status: Downloaded newer image for alpine:3.20 07:03:49 ---> 91ef0af61f39 07:03:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:03:49 ---> Running in e60216bc2ba4 07:03:49 Removing intermediate container e60216bc2ba4 07:03:49 ---> fced36853fdc 07:03:49 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:03:49 ---> Running in 39f8333a1f8a 07:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:03:49 (1/1) Installing dumb-init (1.2.5-r3) 07:03:49 Executing busybox-1.36.1-r29.trigger 07:03:49 OK: 8 MiB in 15 packages 07:03:49 Removing intermediate container 39f8333a1f8a 07:03:49 ---> b13dd796b97f 07:03:49 Step 14/23 : RUN apk --no-cache upgrade 07:03:49 ---> Running in 7792a1beaee2 07:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:03:49 Upgrading critical system libraries and apk-tools: 07:03:49 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:03:49 Executing busybox-1.36.1-r29.trigger 07:03:49 Continuing the upgrade transaction with new apk-tools: 07:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:03:49 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:03:49 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:03:49 OK: 8 MiB in 15 packages 07:03:49 Removing intermediate container 7792a1beaee2 07:03:49 ---> aca656d34980 07:03:49 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:03:50 The recommended git tool is: git 07:03:50 ---> 8195916ce8c9 07:03:50 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:03:50 ---> 8efaf271369c 07:03:50 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:03:50 ---> ad2e8965b331 07:03:50 Step 18/23 : EXPOSE 59901 07:03:50 ---> Running in 5d76b2ae6d0f 07:03:50 Removing intermediate container 5d76b2ae6d0f 07:03:50 ---> 08d806559725 07:03:50 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:03:50 ---> Running in 0715d87f94bc 07:03:50 Removing intermediate container 0715d87f94bc 07:03:50 ---> 933ff300b779 07:03:50 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:03:50 ---> Running in ad601c4df5d7 07:03:50 Removing intermediate container ad601c4df5d7 07:03:50 ---> 5fb22314f567 07:03:50 Step 21/23 : LABEL arch=amd64 07:03:50 ---> Running in f1599dfcdc51 07:03:51 Removing intermediate container f1599dfcdc51 07:03:51 ---> 5b3da9a44819 07:03:51 Step 22/23 : LABEL git_sha=dad323708bb7fb3ae7999ed6872af7cbf93de804 07:03:51 ---> Running in 5f5c35ce69a1 07:03:51 Removing intermediate container 5f5c35ce69a1 07:03:51 ---> e449ebdbec7d 07:03:51 Step 23/23 : LABEL version=4.0.0-dev.3 07:03:51 ---> Running in 75c328e0fb54 07:03:51 Removing intermediate container 75c328e0fb54 07:03:51 ---> f52da13f1c64 07:03:51 [Warning] One or more build-args [ARCH] were not consumed 07:03:51 Successfully built f52da13f1c64 07:03:51 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:03:51 provisioning config files... 07:03:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9122035764991543904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:03:51 ---> ****-login.sh 07:03:51 nexus3.edgexfoundry.org:10001 07:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:03:51 Configure a credential helper to remove this warning. See 07:03:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:03:51 07:03:51 Login Succeeded 07:03:51 nexus3.edgexfoundry.org:10002 07:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:03:51 Configure a credential helper to remove this warning. See 07:03:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:03:51 07:03:51 Login Succeeded 07:03:51 nexus3.edgexfoundry.org:10003 07:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:03:52 Configure a credential helper to remove this warning. See 07:03:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:03:52 07:03:52 Login Succeeded 07:03:52 nexus3.edgexfoundry.org:10004 07:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:03:52 Configure a credential helper to remove this warning. See 07:03:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:03:52 07:03:52 Login Succeeded 07:03:52 ****.io 07:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:03:52 Configure a credential helper to remove this warning. See 07:03:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:03:52 07:03:52 Login Succeeded 07:03:52 ---> ****-login.sh ends [Pipeline] } 07:03:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:03:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:03:52 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:03:52 dad323708bb7fb3ae7999ed6872af7cbf93de804 07:03:52 latest 07:03:52 4.0.0-dev.3 07:03:52 dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 07:03:52 main 07:03:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:52 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus:dad323708bb7fb3ae7999ed6872af7cbf93de804 07:03:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:03:53 e98bda02051a: Preparing 07:03:53 37749d75f085: Preparing 07:03:53 23e09d2baad4: Preparing 07:03:53 7e92c740f004: Preparing 07:03:53 462aaae1476f: Preparing 07:03:53 63ca1fbb43ae: Preparing 07:03:53 63ca1fbb43ae: Waiting 07:03:53 37749d75f085: Pushed 07:03:53 e98bda02051a: Pushed 07:03:53 462aaae1476f: Pushed 07:03:53 63ca1fbb43ae: Layer already exists 07:03:53 7e92c740f004: Pushed 07:03:56 using credential edgex-jenkins-ssh 07:03:56 Cloning the remote Git repository 07:03:56 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:03:56 > git init /w/workspace/device-modbus-go/168 # timeout=10 07:03:57 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:03:57 > git --version # timeout=10 07:03:57 > git --version # 'git version 2.25.1' 07:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:03:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:03:58 23e09d2baad4: Pushed 07:03:58 dad323708bb7fb3ae7999ed6872af7cbf93de804: digest: sha256:5007d63a676c399a02e7593946399ea6017529e975c8f798d4d78f5e75631be2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:03:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:03:58 e98bda02051a: Preparing 07:03:58 37749d75f085: Preparing 07:03:58 23e09d2baad4: Preparing 07:03:58 7e92c740f004: Preparing 07:03:58 462aaae1476f: Preparing 07:03:58 63ca1fbb43ae: Preparing 07:03:58 63ca1fbb43ae: Waiting 07:03:58 e98bda02051a: Layer already exists 07:03:58 7e92c740f004: Layer already exists 07:03:58 23e09d2baad4: Layer already exists 07:03:58 462aaae1476f: Layer already exists 07:03:58 37749d75f085: Layer already exists 07:03:58 63ca1fbb43ae: Layer already exists 07:03:58 latest: digest: sha256:5007d63a676c399a02e7593946399ea6017529e975c8f798d4d78f5e75631be2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:58 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.3 07:03:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:03:59 e98bda02051a: Preparing 07:03:59 37749d75f085: Preparing 07:03:59 23e09d2baad4: Preparing 07:03:59 7e92c740f004: Preparing 07:03:59 462aaae1476f: Preparing 07:03:59 63ca1fbb43ae: Preparing 07:03:59 63ca1fbb43ae: Waiting 07:03:59 462aaae1476f: Layer already exists 07:03:59 37749d75f085: Layer already exists 07:03:59 23e09d2baad4: Layer already exists 07:03:59 7e92c740f004: Layer already exists 07:03:59 e98bda02051a: Layer already exists 07:03:59 63ca1fbb43ae: Layer already exists 07:03:59 4.0.0-dev.3: digest: sha256:5007d63a676c399a02e7593946399ea6017529e975c8f798d4d78f5e75631be2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 07:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:04:00 e98bda02051a: Preparing 07:04:00 37749d75f085: Preparing 07:04:00 23e09d2baad4: Preparing 07:04:00 7e92c740f004: Preparing 07:04:00 462aaae1476f: Preparing 07:04:00 63ca1fbb43ae: Preparing 07:04:00 63ca1fbb43ae: Waiting 07:04:00 23e09d2baad4: Layer already exists 07:04:00 37749d75f085: Layer already exists 07:04:00 462aaae1476f: Layer already exists 07:04:00 7e92c740f004: Layer already exists 07:04:00 e98bda02051a: Layer already exists 07:04:00 63ca1fbb43ae: Layer already exists 07:04:00 dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3: digest: sha256:5007d63a676c399a02e7593946399ea6017529e975c8f798d4d78f5e75631be2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:00 Avoid second fetch 07:04:00 Checking out Revision dad323708bb7fb3ae7999ed6872af7cbf93de804 (main) 07:04:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:59 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:03:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:00 > git config core.sparsecheckout # timeout=10 07:04:00 > git checkout -f dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 07:04:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:04:00 e98bda02051a: Preparing 07:04:00 37749d75f085: Preparing 07:04:00 23e09d2baad4: Preparing 07:04:00 7e92c740f004: Preparing 07:04:00 462aaae1476f: Preparing 07:04:00 63ca1fbb43ae: Preparing 07:04:00 63ca1fbb43ae: Waiting 07:04:00 462aaae1476f: Layer already exists 07:04:00 e98bda02051a: Layer already exists 07:04:00 37749d75f085: Layer already exists 07:04:00 7e92c740f004: Layer already exists 07:04:00 23e09d2baad4: Layer already exists 07:04:00 63ca1fbb43ae: Layer already exists 07:04:00 main: digest: sha256:5007d63a676c399a02e7593946399ea6017529e975c8f798d4d78f5e75631be2 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:04:00 ===================================================== [Pipeline] echo 07:04:00 taggedImages: 07:04:00 - nexus3.edgexfoundry.org:10004/device-modbus:dad323708bb7fb3ae7999ed6872af7cbf93de804 07:04:00 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:04:00 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.3 07:04:00 - nexus3.edgexfoundry.org:10004/device-modbus:dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 07:04:00 - 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:04:01 Commit message: "Merge pull request #587 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.2" 07:04:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:04:01 07:04:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:04:01 latest: Pulling from edgex-lftools-log-publisher 07:04:01 5eb5b503b376: Pulling fs layer 07:04:01 5c69ac0246d0: Pulling fs layer 07:04:01 ec43610c2a17: Pulling fs layer 07:04:01 3a2ae6a8a46f: Pulling fs layer 07:04:01 33b1e0a273af: Pulling fs layer 07:04:01 5d3b04190fa2: Pulling fs layer 07:04:01 2f39f015ded8: Pulling fs layer 07:04:01 3a2ae6a8a46f: Waiting 07:04:01 5d3b04190fa2: Waiting 07:04:01 2f39f015ded8: Waiting 07:04:01 5c69ac0246d0: Download complete 07:04:01 3a2ae6a8a46f: Download complete 07:04:01 33b1e0a273af: Verifying Checksum 07:04:01 33b1e0a273af: Download complete 07:04:01 ec43610c2a17: Download complete 07:04:01 5d3b04190fa2: Verifying Checksum 07:04:01 5d3b04190fa2: Download complete 07:04:01 5eb5b503b376: Download complete 07:04:02 2f39f015ded8: Download complete 07:04:03 5eb5b503b376: Pull complete 07:04:03 5c69ac0246d0: Pull complete 07:04:03 ec43610c2a17: Pull complete 07:04:03 3a2ae6a8a46f: Pull complete 07:04:04 33b1e0a273af: Pull complete 07:04:04 5d3b04190fa2: Pull complete 07:04:04 07:04:04 GitHub has been notified of this commit’s build result 07:04:04 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:04:05 % Total % Received % Xferd Average Speed Time Time Time Current 07:04:05 Dload Upload Total Spent Left Speed 07:04:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 250k 0 --:--:-- --:--:-- --:--:-- 250k [Pipeline] sh 07:04:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:04:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:04:06 + sudo tee /etc/docker/daemon.new 07:04:06 { 07:04:06 "registry-mirrors": [ 07:04:06 "https://nexus3.edgexfoundry.org:10001" 07:04:06 ], 07:04:06 "bip": "10.250.0.254/24", 07:04:06 "hosts": [ 07:04:06 "tcp://0.0.0.0:5555", 07:04:06 "unix:///var/run/docker.sock" 07:04:06 ], 07:04:06 "mtu": 1458, 07:04:06 "selinux-enabled": true, 07:04:06 "seccomp-profile": "/etc/docker/seccomp.json" 07:04:06 } [Pipeline] sh 07:04:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:04:06 + sudo service docker restart 07:04:08 2f39f015ded8: Pull complete 07:04:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:04:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:04:08 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:04:08 $ 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:04:13 $ docker top ee85b74bd52ec3311596f3c98df65aa46e3319c951e3e715b445cee931f0c031 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:13 ---> job-cost.sh 07:04:13 lf-activate-venv: SKIPPING 07:04:13 INFO: No Stack... 07:04:13 INFO: Retrieving Pricing Info for: v3-standard-8 07:04:14 INFO: Archiving Costs [Pipeline] sh 07:04:14 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:04:14 + cut -d, -f6 [Pipeline] lock 07:04:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] 07:04:14 Resource [jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] did not exist. Created. 07:04:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:04:14 + echo total: 0.2199999988079071 [Pipeline] stash 07:04:14 Stashed 1 file(s) [Pipeline] } 07:04:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] [Pipeline] // lock [Pipeline] } 07:04:14 $ docker stop --time=1 ee85b74bd52ec3311596f3c98df65aa46e3319c951e3e715b445cee931f0c031 07:04:16 $ docker rm -f --volumes ee85b74bd52ec3311596f3c98df65aa46e3319c951e3e715b445cee931f0c031 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:04:25 provisioning config files... 07:04:25 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/168@tmp/config3249438348049127320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:25 ---> ****-login.sh 07:04:25 nexus3.edgexfoundry.org:10001 07:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:04:26 Configure a credential helper to remove this warning. See 07:04:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:04:26 07:04:26 Login Succeeded 07:04:26 nexus3.edgexfoundry.org:10002 07:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:04:26 Configure a credential helper to remove this warning. See 07:04:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:04:26 07:04:26 Login Succeeded 07:04:26 nexus3.edgexfoundry.org:10003 07:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:04:27 Configure a credential helper to remove this warning. See 07:04:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:04:27 07:04:27 Login Succeeded 07:04:27 nexus3.edgexfoundry.org:10004 07:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:04:27 Configure a credential helper to remove this warning. See 07:04:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:04:27 07:04:27 Login Succeeded 07:04:27 ****.io 07:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:04:27 Configure a credential helper to remove this warning. See 07:04:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:04:27 07:04:27 Login Succeeded 07:04:27 ---> ****-login.sh ends [Pipeline] } 07:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:04:28 ========================================================= 07:04:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:04:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:04:29 Sending build context to Docker daemon 9.153MB 07:04:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:04:29 Step 2/10 : FROM ${BASE} AS builder 07:04:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:04:29 cf04c63912e1: Pulling fs layer 07:04:29 55b35a11ae5e: Pulling fs layer 07:04:29 a37a00ec5f00: Pulling fs layer 07:04:29 50b3750afda1: Pulling fs layer 07:04:29 4f4fb700ef54: Pulling fs layer 07:04:29 80978eb59214: Pulling fs layer 07:04:29 c9f46d7d2bd2: Pulling fs layer 07:04:29 c5a475d317c9: Pulling fs layer 07:04:29 4f4fb700ef54: Waiting 07:04:29 80978eb59214: Waiting 07:04:29 c9f46d7d2bd2: Waiting 07:04:29 50b3750afda1: Waiting 07:04:29 c5a475d317c9: Waiting 07:04:29 55b35a11ae5e: Verifying Checksum 07:04:29 55b35a11ae5e: Download complete 07:04:29 50b3750afda1: Verifying Checksum 07:04:29 50b3750afda1: Download complete 07:04:29 4f4fb700ef54: Verifying Checksum 07:04:29 4f4fb700ef54: Download complete 07:04:29 80978eb59214: Verifying Checksum 07:04:29 80978eb59214: Download complete 07:04:29 cf04c63912e1: Verifying Checksum 07:04:30 c5a475d317c9: Verifying Checksum 07:04:30 c5a475d317c9: Download complete 07:04:30 cf04c63912e1: Pull complete 07:04:31 55b35a11ae5e: Pull complete 07:04:31 a37a00ec5f00: Verifying Checksum 07:04:31 a37a00ec5f00: Download complete 07:04:32 c9f46d7d2bd2: Verifying Checksum 07:04:32 c9f46d7d2bd2: Download complete 07:04:44 a37a00ec5f00: Pull complete 07:04:44 50b3750afda1: Pull complete 07:04:44 4f4fb700ef54: Pull complete 07:04:44 80978eb59214: Pull complete 07:04:53 c9f46d7d2bd2: Pull complete 07:04:53 c5a475d317c9: Pull complete 07:04:54 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:04:54 ---> be29e6b0f0d4 07:04:54 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:04:56 ---> Running in 772c464bd8a3 07:04:56 Removing intermediate container 772c464bd8a3 07:04:56 ---> f2e313f9c424 07:04:56 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:04:56 ---> Running in 66ffd491e8e2 07:04:56 Removing intermediate container 66ffd491e8e2 07:04:56 ---> 4702dea798ec 07:04:56 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:04:56 ---> Running in eb7c833bd265 07:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:04:59 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:04:59 (2/8) Installing libedit (20240517.3.1-r0) 07:04:59 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:04:59 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:04:59 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:04:59 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:04:59 (7/8) Installing openssh-server (9.7_p1-r4) 07:04:59 (8/8) Installing openssh (9.7_p1-r4) 07:04:59 Executing busybox-1.36.1-r29.trigger 07:04:59 OK: 244 MiB in 62 packages 07:05:00 Removing intermediate container eb7c833bd265 07:05:00 ---> e91f56c17814 07:05:00 Step 6/10 : WORKDIR /device-modbus-go 07:05:00 ---> Running in c2b1de2956d9 07:05:01 Removing intermediate container c2b1de2956d9 07:05:01 ---> 05adbdaf352b 07:05:01 Step 7/10 : COPY go.mod vendor* ./ 07:05:01 ---> 7964403ed1fa 07:05:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:01 ---> Running in 333bb307ac91 07:06:53 Removing intermediate container 333bb307ac91 07:06:53 ---> 7ca2c79821f9 07:06:53 Step 9/10 : COPY . . 07:06:53 ---> 96d1979ca59e 07:06:53 Step 10/10 : RUN ${MAKE} 07:06:53 ---> Running in 080f11f1d46f 07:06:53 noop 07:06:53 Removing intermediate container 080f11f1d46f 07:06:53 ---> 8b7f0e9ffd39 07:06:53 Successfully built 8b7f0e9ffd39 07:06:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:53 + docker inspect -f . ci-base-image-arm64 07:06:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:54 prd-ubuntu20.04-docker-arm64-4c-16g-24288 does not seem to be running inside a container 07:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/168 -v /w/workspace/device-modbus-go/168:/w/workspace/device-modbus-go/168:rw,z -v /w/workspace/device-modbus-go/168@tmp:/w/workspace/device-modbus-go/168@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:06:55 $ docker top 861b4b27fc0f7788816b75cf6919841db39d06240addc5bfd7c784ab8190b3fa -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:56 + go version 07:06:56 go version go1.23.2 linux/arm64 [Pipeline] } 07:06:56 $ docker stop --time=1 861b4b27fc0f7788816b75cf6919841db39d06240addc5bfd7c784ab8190b3fa 07:06:58 $ docker rm -f --volumes 861b4b27fc0f7788816b75cf6919841db39d06240addc5bfd7c784ab8190b3fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:59 + docker inspect -f . ci-base-image-arm64 07:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:59 prd-ubuntu20.04-docker-arm64-4c-16g-24288 does not seem to be running inside a container 07:06:59 $ 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/168 -v /w/workspace/device-modbus-go/168:/w/workspace/device-modbus-go/168:rw,z -v /w/workspace/device-modbus-go/168@tmp:/w/workspace/device-modbus-go/168@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:07:00 $ docker top 0ce7ecbcaddb191302c92de141ea6018f0612101faf43cf534adf0bf3e7244f6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:07:01 + git config --global --add safe.directory /w/workspace/device-modbus-go/168 [Pipeline] fileExists [Pipeline] sh 07:07:02 + make test 07:07:02 go test ./... -coverprofile=coverage.out 07:07:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:10:32 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:10:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 48.0% of statements 07:10:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:10:36 go vet ./... 07:11:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:11:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:11:22 ./bin/test-attribution-txt.sh [Pipeline] echo 07:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:11:22 $ docker stop --time=1 0ce7ecbcaddb191302c92de141ea6018f0612101faf43cf534adf0bf3e7244f6 07:11:24 $ docker rm -f --volumes 0ce7ecbcaddb191302c92de141ea6018f0612101faf43cf534adf0bf3e7244f6 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:11:26 Warning: overwriting stash ‘coverage-report’ 07:11:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:11:27 + ls -al . 07:11:27 total 256 07:11:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:07 . 07:11:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 07:03 .. 07:11:27 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 07:04 .dockerignore 07:11:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 07:04 .git 07:11:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:04 .github 07:11:27 -rw-rw-r-- 1 jenkins jenkins 266 Nov 1 07:04 .gitignore 07:11:27 -rw-rw-r-- 1 jenkins jenkins 199 Nov 1 07:04 .golangci.yml 07:11:27 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 1 07:04 Attribution.txt 07:11:27 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 1 07:04 CHANGELOG.md 07:11:27 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 1 07:04 Dockerfile 07:11:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 07:04 GOVERNANCE.md 07:11:27 -rw-rw-r-- 1 jenkins jenkins 658 Nov 1 07:04 Jenkinsfile 07:11:27 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 07:04 LICENSE 07:11:27 -rw-rw-r-- 1 jenkins jenkins 2479 Nov 1 07:04 Makefile 07:11:27 -rw-rw-r-- 1 jenkins jenkins 622 Nov 1 07:04 OWNERS.md 07:11:27 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 1 07:04 README.md 07:11:27 -rw-rw-r-- 1 jenkins jenkins 11 Nov 1 07:00 VERSION 07:11:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:04 bin 07:11:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:04 cmd 07:11:27 -rw-r--r-- 1 jenkins jenkins 25464 Nov 1 07:10 coverage.out 07:11:27 -rw-rw-r-- 1 jenkins jenkins 6490 Nov 1 07:04 go.mod 07:11:27 -rw-rw-r-- 1 jenkins jenkins 88426 Nov 1 07:04 go.sum 07:11:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 07:04 internal 07:11:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 07:04 simulator 07:11:27 -rw-rw-r-- 1 jenkins jenkins 229 Nov 1 07:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:27 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dad323708bb7fb3ae7999ed6872af7cbf93de804 --label arch=arm64 --label version=4.0.0-dev.3 . 07:11:27 Sending build context to Docker daemon 9.179MB 07:11:28 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:11:28 Step 2/23 : FROM ${BASE} AS builder 07:11:28 ---> 8b7f0e9ffd39 07:11:28 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:11:28 ---> Running in 5e46ba705524 07:11:28 Removing intermediate container 5e46ba705524 07:11:28 ---> 31cba6beaa47 07:11:28 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:11:28 ---> Running in 15c9ea34f7b4 07:11:29 Removing intermediate container 15c9ea34f7b4 07:11:29 ---> 5254b3827d89 07:11:29 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:11:29 ---> Running in ff6fb874bb8f 07:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:11:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:11:31 OK: 244 MiB in 62 packages 07:11:32 Removing intermediate container ff6fb874bb8f 07:11:32 ---> 4bb439df6033 07:11:32 Step 6/23 : WORKDIR /device-modbus-go 07:11:32 ---> Running in 3fa20375e5cc 07:11:33 Removing intermediate container 3fa20375e5cc 07:11:33 ---> 6d530e5cb958 07:11:33 Step 7/23 : COPY go.mod vendor* ./ 07:11:33 ---> 486ed585bb1b 07:11:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:11:33 ---> Running in 36f1c8c73f1c 07:11:36 Removing intermediate container 36f1c8c73f1c 07:11:36 ---> 71a1d58b92f2 07:11:36 Step 9/23 : COPY . . 07:11:37 ---> a39d5544f23f 07:11:37 Step 10/23 : RUN ${MAKE} 07:11:37 ---> Running in ecb7d6a2664b 07:11:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd 07:15:00 Removing intermediate container ecb7d6a2664b 07:15:00 ---> fb09a1571729 07:15:00 Step 11/23 : FROM alpine:3.20 07:15:00 3.20: Pulling from library/alpine 07:15:00 cf04c63912e1: Already exists 07:15:00 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:15:00 Status: Downloaded newer image for alpine:3.20 07:15:00 ---> c157a85ed455 07:15:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:15:00 ---> Running in c43d7393bfaa 07:15:00 Removing intermediate container c43d7393bfaa 07:15:00 ---> 17e6f9d97fd7 07:15:00 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:15:00 ---> Running in f610775529dd 07:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:15:01 (1/1) Installing dumb-init (1.2.5-r3) 07:15:01 Executing busybox-1.36.1-r29.trigger 07:15:01 OK: 9 MiB in 15 packages 07:15:02 Removing intermediate container f610775529dd 07:15:02 ---> 47d0f5beb959 07:15:02 Step 14/23 : RUN apk --no-cache upgrade 07:15:02 ---> Running in 01d89c655cdd 07:15:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:15:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:15:05 Upgrading critical system libraries and apk-tools: 07:15:05 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:15:05 Executing busybox-1.36.1-r29.trigger 07:15:05 Continuing the upgrade transaction with new apk-tools: 07:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:15:06 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:15:06 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:15:06 OK: 9 MiB in 15 packages 07:15:08 Removing intermediate container 01d89c655cdd 07:15:08 ---> 0ebedd0f813d 07:15:08 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:15:10 ---> 9ae703ed4e19 07:15:10 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:15:10 ---> 0524705848d8 07:15:10 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:15:11 ---> c1752c137de1 07:15:11 Step 18/23 : EXPOSE 59901 07:15:11 ---> Running in ac8d86b32ba4 07:15:11 Removing intermediate container ac8d86b32ba4 07:15:11 ---> bca0a9ca69db 07:15:11 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:15:11 ---> Running in 022bda0acb45 07:15:11 Removing intermediate container 022bda0acb45 07:15:11 ---> 3625b88da1d7 07:15:11 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:15:11 ---> Running in d918a696ac2e 07:15:12 Removing intermediate container d918a696ac2e 07:15:12 ---> f27c0cfd1c93 07:15:12 Step 21/23 : LABEL arch=arm64 07:15:12 ---> Running in 394b9c38b09f 07:15:12 Removing intermediate container 394b9c38b09f 07:15:12 ---> 58a41bec78d2 07:15:12 Step 22/23 : LABEL git_sha=dad323708bb7fb3ae7999ed6872af7cbf93de804 07:15:12 ---> Running in 78793b867164 07:15:12 Removing intermediate container 78793b867164 07:15:12 ---> 2585508be9f7 07:15:12 Step 23/23 : LABEL version=4.0.0-dev.3 07:15:12 ---> Running in 775380e05bbc 07:15:13 Removing intermediate container 775380e05bbc 07:15:13 ---> 928dc57ab7cd 07:15:13 [Warning] One or more build-args [ARCH] were not consumed 07:15:13 Successfully built 928dc57ab7cd 07:15:13 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:15:13 provisioning config files... 07:15:13 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/168@tmp/config17632632822893260151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:13 ---> ****-login.sh 07:15:13 nexus3.edgexfoundry.org:10001 07:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:14 Configure a credential helper to remove this warning. See 07:15:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:14 07:15:14 Login Succeeded 07:15:14 nexus3.edgexfoundry.org:10002 07:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:14 Configure a credential helper to remove this warning. See 07:15:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:14 07:15:14 Login Succeeded 07:15:14 nexus3.edgexfoundry.org:10003 07:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 nexus3.edgexfoundry.org:10004 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 ****.io 07:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:15:15 Configure a credential helper to remove this warning. See 07:15:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:15:15 07:15:15 Login Succeeded 07:15:15 ---> ****-login.sh ends [Pipeline] } 07:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:15:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:15:15 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:15:15 dad323708bb7fb3ae7999ed6872af7cbf93de804 07:15:15 latest 07:15:15 4.0.0-dev.3 07:15:15 dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 07:15:15 main 07:15:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:16 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dad323708bb7fb3ae7999ed6872af7cbf93de804 07:15:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:15:16 e7572dae0824: Preparing 07:15:16 3d68f08bd119: Preparing 07:15:16 905df68990b1: Preparing 07:15:16 b75b5dd51c96: Preparing 07:15:16 79347d764fba: Preparing 07:15:16 16113d51b718: Preparing 07:15:16 16113d51b718: Waiting 07:15:16 3d68f08bd119: Pushed 07:15:16 e7572dae0824: Pushed 07:15:16 79347d764fba: Pushed 07:15:17 16113d51b718: Layer already exists 07:15:18 b75b5dd51c96: Pushed 07:15:28 905df68990b1: Pushed 07:15:28 dad323708bb7fb3ae7999ed6872af7cbf93de804: digest: sha256:27c2af86dffa43eacd7dba1b1949370e743ffd11fe3600e5282b4404cd925973 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:15:30 e7572dae0824: Preparing 07:15:30 3d68f08bd119: Preparing 07:15:30 905df68990b1: Preparing 07:15:30 b75b5dd51c96: Preparing 07:15:30 79347d764fba: Preparing 07:15:30 16113d51b718: Preparing 07:15:30 16113d51b718: Waiting 07:15:30 3d68f08bd119: Layer already exists 07:15:30 905df68990b1: Layer already exists 07:15:30 e7572dae0824: Layer already exists 07:15:30 b75b5dd51c96: Layer already exists 07:15:30 79347d764fba: Layer already exists 07:15:30 16113d51b718: Layer already exists 07:15:30 latest: digest: sha256:27c2af86dffa43eacd7dba1b1949370e743ffd11fe3600e5282b4404cd925973 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.3 07:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:15:30 e7572dae0824: Preparing 07:15:30 3d68f08bd119: Preparing 07:15:30 905df68990b1: Preparing 07:15:30 b75b5dd51c96: Preparing 07:15:30 79347d764fba: Preparing 07:15:30 16113d51b718: Preparing 07:15:30 16113d51b718: Waiting 07:15:30 905df68990b1: Layer already exists 07:15:30 e7572dae0824: Layer already exists 07:15:30 3d68f08bd119: Layer already exists 07:15:30 79347d764fba: Layer already exists 07:15:30 b75b5dd51c96: Layer already exists 07:15:30 16113d51b718: Layer already exists 07:15:31 4.0.0-dev.3: digest: sha256:27c2af86dffa43eacd7dba1b1949370e743ffd11fe3600e5282b4404cd925973 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 07:15:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:15:31 e7572dae0824: Preparing 07:15:31 3d68f08bd119: Preparing 07:15:31 905df68990b1: Preparing 07:15:31 b75b5dd51c96: Preparing 07:15:31 79347d764fba: Preparing 07:15:31 16113d51b718: Preparing 07:15:31 b75b5dd51c96: Layer already exists 07:15:31 79347d764fba: Layer already exists 07:15:31 905df68990b1: Layer already exists 07:15:31 e7572dae0824: Layer already exists 07:15:31 3d68f08bd119: Layer already exists 07:15:31 16113d51b718: Layer already exists 07:15:31 dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3: digest: sha256:27c2af86dffa43eacd7dba1b1949370e743ffd11fe3600e5282b4404cd925973 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:15:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:15:32 e7572dae0824: Preparing 07:15:32 3d68f08bd119: Preparing 07:15:32 905df68990b1: Preparing 07:15:32 b75b5dd51c96: Preparing 07:15:32 79347d764fba: Preparing 07:15:32 16113d51b718: Preparing 07:15:32 16113d51b718: Waiting 07:15:32 3d68f08bd119: Layer already exists 07:15:32 905df68990b1: Layer already exists 07:15:32 e7572dae0824: Layer already exists 07:15:32 b75b5dd51c96: Layer already exists 07:15:32 79347d764fba: Layer already exists 07:15:32 16113d51b718: Layer already exists 07:15:32 main: digest: sha256:27c2af86dffa43eacd7dba1b1949370e743ffd11fe3600e5282b4404cd925973 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:15:32 ===================================================== [Pipeline] echo 07:15:32 taggedImages: 07:15:32 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dad323708bb7fb3ae7999ed6872af7cbf93de804 07:15:32 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:15:32 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.3 07:15:32 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dad323708bb7fb3ae7999ed6872af7cbf93de804-4.0.0-dev.3 07:15:32 - 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:15:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:15:33 07:15:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:15:33 arm64: Pulling from edgex-lftools-log-publisher 07:15:33 8998bd30e6a1: Pulling fs layer 07:15:33 04944245beec: Pulling fs layer 07:15:33 699f458cf7ca: Pulling fs layer 07:15:33 765212b225bb: Pulling fs layer 07:15:33 f23df028b6ca: Pulling fs layer 07:15:33 d65c8cfc05b1: Pulling fs layer 07:15:33 2437ff75d9bd: Pulling fs layer 07:15:33 f23df028b6ca: Waiting 07:15:33 2437ff75d9bd: Waiting 07:15:33 d65c8cfc05b1: Waiting 07:15:33 765212b225bb: Waiting 07:15:33 04944245beec: Verifying Checksum 07:15:33 04944245beec: Download complete 07:15:33 765212b225bb: Download complete 07:15:33 f23df028b6ca: Verifying Checksum 07:15:33 f23df028b6ca: Download complete 07:15:33 d65c8cfc05b1: Verifying Checksum 07:15:33 d65c8cfc05b1: Download complete 07:15:34 699f458cf7ca: Verifying Checksum 07:15:34 699f458cf7ca: Download complete 07:15:34 8998bd30e6a1: Verifying Checksum 07:15:34 8998bd30e6a1: Download complete 07:15:36 2437ff75d9bd: Verifying Checksum 07:15:36 2437ff75d9bd: Download complete 07:15:38 8998bd30e6a1: Pull complete 07:15:39 04944245beec: Pull complete 07:15:41 699f458cf7ca: Pull complete 07:15:41 765212b225bb: Pull complete 07:15:41 f23df028b6ca: Pull complete 07:15:41 d65c8cfc05b1: Pull complete 07:15:56 2437ff75d9bd: Pull complete 07:15:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:15:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:57 prd-ubuntu20.04-docker-arm64-4c-16g-24288 does not seem to be running inside a container 07:15:57 $ 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/168 -v /w/workspace/device-modbus-go/168:/w/workspace/device-modbus-go/168:rw,z -v /w/workspace/device-modbus-go/168@tmp:/w/workspace/device-modbus-go/168@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:15:59 $ docker top 2cc0a18d1d16a81229cfd8c6a73c0806d6d7131966344307ac8b4718f8b2f509 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:16:00 ---> job-cost.sh 07:16:00 lf-activate-venv: SKIPPING 07:16:00 INFO: No Stack... 07:16:00 INFO: Retrieving Pricing Info for: v3-standard-4 07:16:01 INFO: Archiving Costs [Pipeline] sh 07:16:01 + cat /w/workspace/device-modbus-go/168/archives/cost.csv 07:16:01 + cut -d, -f6 [Pipeline] lock 07:16:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] 07:16:02 Resource [jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] did not exist. Created. 07:16:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:16:02 /w/workspace/device-modbus-go/168@tmp/durable-5d5c7635/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:16:02 + echo total: 0.10999999940395355 [Pipeline] stash 07:16:02 Warning: overwriting stash ‘stack-cost’ 07:16:02 Stashed 1 file(s) [Pipeline] } 07:16:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-168-stack-cost] [Pipeline] // lock [Pipeline] } 07:16:02 $ docker stop --time=1 2cc0a18d1d16a81229cfd8c6a73c0806d6d7131966344307ac8b4718f8b2f509 07:16:04 $ docker rm -f --volumes 2cc0a18d1d16a81229cfd8c6a73c0806d6d7131966344307ac8b4718f8b2f509 [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:16:04 provisioning config files... 07:16:04 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18434146300724390371tmp [Pipeline] { [Pipeline] sh 07:16:05 + set +x 07:16:05 + curl -s https://codecov.io/bash 07:16:05 + bash -s -- 07:16:05 07:16:05 _____ _ 07:16:05 / ____| | | 07:16:05 | | ___ __| | ___ ___ _____ __ 07:16:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:16:05 | |___| (_) | (_| | __/ (_| (_) \ V / 07:16:05 \_____\___/ \__,_|\___|\___\___/ \_/ 07:16:05 Bash-1.0.6 07:16:05 07:16:05 07:16:05 ==> git version 2.25.1 found 07:16:05 ==> 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:16:05 Release-Date: 2020-01-08 07:16:05 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:16:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:16:05 ==> Jenkins CI detected. 07:16:05 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:16:05 project root: . 07:16:05 --> token set from env 07:16:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:16:05 ==> Running gcov in . (disable via -X gcov) 07:16:05 ==> Python coveragepy not found 07:16:05 ==> Searching for coverage reports in: 07:16:05 + . 07:16:05 -> Found 1 reports 07:16:05 ==> Detecting git/mercurial file structure 07:16:05 ==> Reading reports 07:16:05 + ./coverage.out bytes=25464 07:16:05 ==> Appending adjustments 07:16:05 https://docs.codecov.io/docs/fixing-reports 07:16:05 + Found adjustments 07:16:05 ==> Gzipping contents 07:16:05 4.0K /tmp/codecov.55vgnL.gz 07:16:05 ==> Uploading reports 07:16:05 url: https://codecov.io 07:16:05 query: branch=main&commit=dad323708bb7fb3ae7999ed6872af7cbf93de804&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:16:05 -> Pinging Codecov 07:16:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=dad323708bb7fb3ae7999ed6872af7cbf93de804&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:16:05 -> Uploading to 07:16:05 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/dad323708bb7fb3ae7999ed6872af7cbf93de804/54ef80ca-86a3-4bea-a501-16ca2ac8b1f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T071605Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=51f281b054465f2364f289ed8d8ae06d47bdbcae81054654d32fd8deeb4e4205 07:16:05 % Total % Received % Xferd Average Speed Time Time Time Current 07:16:05 Dload Upload Total Spent Left Speed 07:16:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 15791 --:--:-- --:--:-- --:--:-- 15791 07:16:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] } 07:16:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:16:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:16:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:16:06 07:16:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:16:06 latest: Pulling from edgex-devops/edgex-snyk-go 07:16:06 43c4264eed91: Already exists 07:16:06 4cc291be95ef: Already exists 07:16:06 2ac1f1163629: Already exists 07:16:06 5c3c966382ef: Already exists 07:16:06 4f4fb700ef54: Already exists 07:16:06 d9c7d2e4e75e: Pulling fs layer 07:16:06 9c3e1370e548: Pulling fs layer 07:16:07 d9c7d2e4e75e: Verifying Checksum 07:16:07 d9c7d2e4e75e: Download complete 07:16:07 d9c7d2e4e75e: Pull complete 07:16:07 9c3e1370e548: Verifying Checksum 07:16:07 9c3e1370e548: Download complete 07:16:11 9c3e1370e548: Pull complete 07:16:11 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:16:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:11 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:16:11 $ 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:16:14 $ docker top d16175e282db4a99c3817f4acaeec665d3bfdddcf6b5e33d20e4b12d8e1fdc04 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:16:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:16:15 + set -o pipefail 07:16:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:16:21 07:16:21 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:16:21 07:16:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/0bfeac37-646a-4095-a60a-31e5969008c7 07:16:21 07:16:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:16:21 07:16:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:16:21 [Pipeline] } 07:16:21 $ docker stop --time=1 d16175e282db4a99c3817f4acaeec665d3bfdddcf6b5e33d20e4b12d8e1fdc04 07:16:26 $ docker rm -f --volumes d16175e282db4a99c3817f4acaeec665d3bfdddcf6b5e33d20e4b12d8e1fdc04 [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:16:27 + git log --format=format:%s -1 dad323708bb7fb3ae7999ed6872af7cbf93de804 [Pipeline] sh 07:16:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:16:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:28 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:16:28 $ 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:16:29 $ docker top 71e6d6b1118da69da3ba8eaa7a12fa5d5d21defd685341330d19d75401afc69b -eo pid,comm 07:16:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:16:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:16:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:16:29 [ssh-agent] Looking for ssh-agent implementation... 07:16:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:16:29 $ docker exec 71e6d6b1118da69da3ba8eaa7a12fa5d5d21defd685341330d19d75401afc69b ssh-agent 07:16:29 SSH_AUTH_SOCK=/tmp/ssh-2ALl93etkSFV/agent.32 07:16:29 SSH_AGENT_PID=38 07:16:29 Running ssh-add (command line suppressed) 07:16:29 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2854240689794751255.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2854240689794751255.key) 07:16:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:16:29 + git semver tag 07:16:30 2024-11-01 07:16:30,156 [run_tag] DEBUG tag force:False 07:16:30 2024-11-01 07:16:30,156 [check_head_tag] DEBUG check head tag 07:16:30 2024-11-01 07:16:30,158 [execute] INFO git cat-file --batch-check 07:16:30 2024-11-01 07:16:30,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:16:30 2024-11-01 07:16:30,162 [execute] INFO git cat-file --batch 07:16:30 2024-11-01 07:16:30,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:16:30 2024-11-01 07:16:30,185 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:16:30 2024-11-01 07:16:30,185 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 07:16:30 2024-11-01 07:16:30,186 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:16:30 2024-11-01 07:16:30,190 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:16:30 4.0.0-dev.3 [Pipeline] } 07:16:30 $ docker exec --env ******** --env ******** 71e6d6b1118da69da3ba8eaa7a12fa5d5d21defd685341330d19d75401afc69b ssh-agent -k 07:16:30 unset SSH_AUTH_SOCK; 07:16:30 unset SSH_AGENT_PID; 07:16:30 echo Agent pid 38 killed; 07:16:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:16:30 + git semver [Pipeline] } 07:16:31 $ docker stop --time=1 71e6d6b1118da69da3ba8eaa7a12fa5d5d21defd685341330d19d75401afc69b 07:16:32 $ docker rm -f --volumes 71e6d6b1118da69da3ba8eaa7a12fa5d5d21defd685341330d19d75401afc69b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:16:33 07:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:16:33 0.23.1-centos7: Pulling from edgex-lftools 07:16:33 ab5ef0e58194: Pulling fs layer 07:16:33 9712f1f96733: Pulling fs layer 07:16:33 63f879dbbcfc: Pulling fs layer 07:16:33 0d9ebad4ef96: Pulling fs layer 07:16:33 e9a5061849ea: Pulling fs layer 07:16:33 d747dcd14b5f: Pulling fs layer 07:16:33 2de7ff778b66: Pulling fs layer 07:16:33 0d9ebad4ef96: Waiting 07:16:33 e9a5061849ea: Waiting 07:16:33 2de7ff778b66: Waiting 07:16:33 d747dcd14b5f: Waiting 07:16:33 9712f1f96733: Verifying Checksum 07:16:33 9712f1f96733: Download complete 07:16:33 63f879dbbcfc: Verifying Checksum 07:16:33 63f879dbbcfc: Download complete 07:16:33 ab5ef0e58194: Verifying Checksum 07:16:33 ab5ef0e58194: Download complete 07:16:33 e9a5061849ea: Verifying Checksum 07:16:33 e9a5061849ea: Download complete 07:16:33 d747dcd14b5f: Download complete 07:16:33 0d9ebad4ef96: Verifying Checksum 07:16:33 0d9ebad4ef96: Download complete 07:16:33 2de7ff778b66: Verifying Checksum 07:16:33 2de7ff778b66: Download complete 07:16:36 ab5ef0e58194: Pull complete 07:16:36 9712f1f96733: Pull complete 07:16:37 63f879dbbcfc: Pull complete 07:16:41 0d9ebad4ef96: Pull complete 07:16:41 e9a5061849ea: Pull complete 07:16:41 d747dcd14b5f: Pull complete 07:16:42 2de7ff778b66: Pull complete 07:16:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:16:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:42 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:16:42 $ 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:16:49 $ docker top 29db5d2e37eae6c0e9506ecbd13fd92df70ab38eadf24914827291ab6193087a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:16:49 provisioning config files... 07:16:49 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11767681795520616054tmp 07:16:49 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config150073966160228210tmp 07:16:49 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11120475097189631109tmp [Pipeline] { [Pipeline] echo 07:16:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:16:50 ---> sigul-configuration.sh 07:16:50 gpg: directory `/root/.gnupg' created 07:16:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:16:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:16:50 gpg: keyring `/root/.gnupg/secring.gpg' created 07:16:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:16:50 gpg: CAST5 encrypted data 07:16:50 gpg: encrypted with 1 passphrase 07:16:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:16:50 + mkdir /home/jenkins 07:16:50 + mkdir /home/jenkins/sigul [Pipeline] sh 07:16:50 + 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:16:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:16:51 ---> sigul-install.sh 07:16:51 Sigul already installed; skipping installation. [Pipeline] sh 07:16:51 + git tag --list 07:16:51 0.7.1 07:16:51 v1.0.0 07:16:51 v1.1.0 07:16:51 v1.1.1 07:16:51 v1.2.2 07:16:51 v1.3.0 07:16:51 v1.3.1 07:16:51 v2.0.0 07:16:51 v2.1.0 07:16:51 v2.1.1 07:16:51 v2.2.0 07:16:51 v2.3.0 07:16:51 v3.0 07:16:51 v3.0.0 07:16:51 v3.1 07:16:51 v3.1.0 07:16:51 v3.1.0-dev.1 07:16:51 v3.1.0-dev.10 07:16:51 v3.1.0-dev.11 07:16:51 v3.1.0-dev.12 07:16:51 v3.1.0-dev.13 07:16:51 v3.1.0-dev.14 07:16:51 v3.1.0-dev.15 07:16:51 v3.1.0-dev.16 07:16:51 v3.1.0-dev.17 07:16:51 v3.1.0-dev.18 07:16:51 v3.1.0-dev.19 07:16:51 v3.1.0-dev.2 07:16:51 v3.1.0-dev.20 07:16:51 v3.1.0-dev.21 07:16:51 v3.1.0-dev.22 07:16:51 v3.1.0-dev.23 07:16:51 v3.1.0-dev.24 07:16:51 v3.1.0-dev.25 07:16:51 v3.1.0-dev.3 07:16:51 v3.1.0-dev.4 07:16:51 v3.1.0-dev.5 07:16:51 v3.1.0-dev.6 07:16:51 v3.1.0-dev.7 07:16:51 v3.1.0-dev.8 07:16:51 v3.1.0-dev.9 07:16:51 v3.1.1 07:16:51 v3.1.1-dev.1 07:16:51 v3.2.0-dev.1 07:16:51 v3.2.0-dev.10 07:16:51 v3.2.0-dev.11 07:16:51 v3.2.0-dev.12 07:16:51 v3.2.0-dev.13 07:16:51 v3.2.0-dev.14 07:16:51 v3.2.0-dev.15 07:16:51 v3.2.0-dev.16 07:16:51 v3.2.0-dev.17 07:16:51 v3.2.0-dev.18 07:16:51 v3.2.0-dev.19 07:16:51 v3.2.0-dev.2 07:16:51 v3.2.0-dev.20 07:16:51 v3.2.0-dev.21 07:16:51 v3.2.0-dev.22 07:16:51 v3.2.0-dev.23 07:16:51 v3.2.0-dev.24 07:16:51 v3.2.0-dev.25 07:16:51 v3.2.0-dev.26 07:16:51 v3.2.0-dev.3 07:16:51 v3.2.0-dev.4 07:16:51 v3.2.0-dev.5 07:16:51 v3.2.0-dev.6 07:16:51 v3.2.0-dev.7 07:16:51 v3.2.0-dev.8 07:16:51 v3.2.0-dev.9 07:16:51 v4.0.0-dev.1 07:16:51 v4.0.0-dev.2 07:16:51 v4.0.0-dev.3 [Pipeline] sh 07:16:51 + lftools sign git-tag v4.0.0-dev.3 07:16:52 Signing Git tag with Sigul... 07:16:52 Signing v4.0.0-dev.3 [Pipeline] echo 07:16:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:16:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:16:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:16:53 $ docker stop --time=1 29db5d2e37eae6c0e9506ecbd13fd92df70ab38eadf24914827291ab6193087a 07:16:54 $ docker rm -f --volumes 29db5d2e37eae6c0e9506ecbd13fd92df70ab38eadf24914827291ab6193087a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:16:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:16:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:16:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:55 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:16:55 $ 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:16:55 $ docker top 40a5a2ca664475bbb93d07ae732c2294a85ec056222d5b3e0bcd0faf8fa35ad3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:16:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:16:55 [ssh-agent] Looking for ssh-agent implementation... 07:16:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:16:56 $ docker exec 40a5a2ca664475bbb93d07ae732c2294a85ec056222d5b3e0bcd0faf8fa35ad3 ssh-agent 07:16:56 SSH_AUTH_SOCK=/tmp/ssh-yMgfZU86c60l/agent.32 07:16:56 SSH_AGENT_PID=38 07:16:56 Running ssh-add (command line suppressed) 07:16:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15815806596541857617.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15815806596541857617.key) 07:16:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:16:56 + git semver bump pre 07:16:56 2024-11-01 07:16:56,763 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:16:56 2024-11-01 07:16:56,763 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev 07:16:56 2024-11-01 07:16:56,763 [bump_version] DEBUG bumped version:4.0.0-dev.4 07:16:56 2024-11-01 07:16:56,764 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:16:56 2024-11-01 07:16:56,764 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:16:56 2024-11-01 07:16:56,764 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:16:56 2024-11-01 07:16:56,766 [execute] INFO git cat-file --batch-check 07:16:56 2024-11-01 07:16:56,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:16:56 2024-11-01 07:16:56,771 [execute] INFO git cat-file --batch 07:16:56 2024-11-01 07:16:56,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:16:56 2024-11-01 07:16:56,776 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:16:56 4.0.0-dev.4 [Pipeline] } 07:16:56 $ docker exec --env ******** --env ******** 40a5a2ca664475bbb93d07ae732c2294a85ec056222d5b3e0bcd0faf8fa35ad3 ssh-agent -k 07:16:56 unset SSH_AUTH_SOCK; 07:16:56 unset SSH_AGENT_PID; 07:16:56 echo Agent pid 38 killed; 07:16:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:16:57 + git semver [Pipeline] } 07:16:57 $ docker stop --time=1 40a5a2ca664475bbb93d07ae732c2294a85ec056222d5b3e0bcd0faf8fa35ad3 07:16:58 $ docker rm -f --volumes 40a5a2ca664475bbb93d07ae732c2294a85ec056222d5b3e0bcd0faf8fa35ad3 [Pipeline] // withDockerContainer [Pipeline] sh 07:16:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:16:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:16:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:59 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:16:59 $ 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:16:59 $ docker top 83abc6fc874cb209c36fdb15a6db43f37783c16d3e4984a64edd320f94f9bcc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:17:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:17:00 [ssh-agent] Looking for ssh-agent implementation... 07:17:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:17:00 $ docker exec 83abc6fc874cb209c36fdb15a6db43f37783c16d3e4984a64edd320f94f9bcc1 ssh-agent 07:17:00 SSH_AUTH_SOCK=/tmp/ssh-JzMXNP0qFy6e/agent.34 07:17:00 SSH_AGENT_PID=40 07:17:00 Running ssh-add (command line suppressed) 07:17:00 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3176366286991983437.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3176366286991983437.key) 07:17:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:17:00 + git semver push 07:17:00 2024-11-01 07:17:00,832 [run_push] DEBUG push 07:17:00 2024-11-01 07:17:00,833 [execute] INFO git cat-file --batch-check 07:17:00 2024-11-01 07:17:00,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:17:00 2024-11-01 07:17:00,837 [execute] INFO git rev-list 21479cb1c9132ebe311f12291a65803370a702ce -- 07:17:00 2024-11-01 07:17:00,837 [execute] DEBUG Popen(['git', 'rev-list', '21479cb1c9132ebe311f12291a65803370a702ce', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:17:00 2024-11-01 07:17:00,846 [execute] INFO git fetch -v origin 07:17:00 2024-11-01 07:17:00,847 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:17:01 2024-11-01 07:17:01,299 [run_push] DEBUG no remote changes detected 07:17:01 2024-11-01 07:17:01,299 [execute] INFO git push origin semver 07:17:01 2024-11-01 07:17:01,299 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:17:02 2024-11-01 07:17:02,038 [run_push] DEBUG push all version tags 07:17:02 2024-11-01 07:17:02,039 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:17:02 2024-11-01 07:17:02,039 [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:17:03 2024-11-01 07:17:02,736 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:17:03 4.0.0-dev.4 [Pipeline] } 07:17:03 $ docker exec --env ******** --env ******** 83abc6fc874cb209c36fdb15a6db43f37783c16d3e4984a64edd320f94f9bcc1 ssh-agent -k 07:17:03 unset SSH_AUTH_SOCK; 07:17:03 unset SSH_AGENT_PID; 07:17:03 echo Agent pid 40 killed; 07:17:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:17:03 + git semver [Pipeline] } 07:17:03 $ docker stop --time=1 83abc6fc874cb209c36fdb15a6db43f37783c16d3e4984a64edd320f94f9bcc1 07:17:04 $ docker rm -f --volumes 83abc6fc874cb209c36fdb15a6db43f37783c16d3e4984a64edd320f94f9bcc1 [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:17:05 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:17:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:17:05 total 16 07:17:05 drwxr-xr-x 3 root root 4096 Nov 1 07:04 . 07:17:05 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 07:16 .. 07:17:05 drwxr-xr-x 2 root root 4096 Nov 1 07:04 cost 07:17:05 -rw-r--r-- 1 root root 88 Nov 1 07:04 cost.csv 07:17:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:17:05 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:17:05 total 16 07:17:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 07:04 . 07:17:05 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 07:16 .. 07:17:05 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 07:04 cost 07:17:05 -rw-r--r-- 1 jenkins jenkins 88 Nov 1 07:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:17:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:17:06 ---> package-listing.sh 07:17:06 ++ facter osfamily 07:17:06 ++ tr '[:upper:]' '[:lower:]' 07:17:07 + OS_FAMILY=debian 07:17:07 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:17:07 + START_PACKAGES=/tmp/packages_start.txt 07:17:07 + END_PACKAGES=/tmp/packages_end.txt 07:17:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:17:07 + PACKAGES=/tmp/packages_start.txt 07:17:07 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:17:07 + PACKAGES=/tmp/packages_end.txt 07:17:07 + case "${OS_FAMILY}" in 07:17:07 + dpkg -l 07:17:07 + grep '^ii' 07:17:07 + '[' -f /tmp/packages_start.txt ']' 07:17:07 + '[' -f /tmp/packages_end.txt ']' 07:17:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:17:07 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:17:07 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:17:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:17:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:17:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:07 prd-ubuntu20.04-docker-8c-8g-24285 does not seem to be running inside a container 07:17:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:17:08 $ docker top 0301565a4e383f76430a335436e36c0cdfd501055a251510a7ee151909de6e83 -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:08 + touch /tmp/pre-build-complete [Pipeline] sh 07:17:08 + mkdir -p /var/log/sysstat [Pipeline] sh 07:17:09 + ls /var/log/sa-host 07:17:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:09 provisioning config files... 07:17:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5430750957940666840tmp [Pipeline] { [Pipeline] echo 07:17:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:17:09 ---> create-netrc.sh [Pipeline] } 07:17:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:17:09 ---> python-tools-install.sh [Pipeline] echo 07:17:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:17:10 ---> sudo-logs.sh 07:17:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:17:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:17:10 ---> job-cost.sh 07:17:10 lf-activate-venv: SKIPPING 07:17:10 DEBUG: total: 0.2199999988079071 07:17:10 INFO: Retrieving Stack Cost... 07:17:11 INFO: Retrieving Pricing Info for: v3-standard-8 07:17:11 INFO: Archiving Costs [Pipeline] echo 07:17:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:17:12 ---> logs-deploy.sh 07:17:12 lf-activate-venv: SKIPPING 07:17:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/168 07:17:12 INFO: archiving workspace using pattern(s): 07:17:12 Archives upload complete. 07:17:12 INFO: archiving logs to Nexus