Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 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-ssh3008470443054683696.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-ssh6744369029022859324.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-ssh794260539200687173.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-ssh6104269964356156731.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-ssh748231951930365480.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-24075 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 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 # timeout=10 Commit message: "feat: support reuse modbus client (#581)" > git rev-list --no-walk 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:35:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:35:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:35:40 ========================================================= 04:35:40 EdgeX Global Pipelines Version Info 04:35:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:35:41 ------------------- 04:35:41 stable info: 04:35:41 ------------------- 04:35:41 Commited By: Ginny Guan ginny@iotechsys.com 04:35:41 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 04:35:41 Message: update stable to v1.0.265 04:35:42 ------------------- 04:35:42 experimental info: 04:35:42 ------------------- 04:35:42 Commited By: Cherry Wang cherry@iotechsys.com 04:35:42 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 04:35:42 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:35:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] echo 04:35:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35d0945 [Pipeline] echo 04:35:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:43 provisioning config files... 04:35:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1089245054871963092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:43 ---> ****-login.sh 04:35:43 nexus3.edgexfoundry.org:10001 04:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:43 Configure a credential helper to remove this warning. See 04:35:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:43 04:35:43 Login Succeeded 04:35:43 nexus3.edgexfoundry.org:10002 04:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:43 Configure a credential helper to remove this warning. See 04:35:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:43 04:35:43 Login Succeeded 04:35:43 nexus3.edgexfoundry.org:10003 04:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:43 Configure a credential helper to remove this warning. See 04:35:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:43 04:35:43 Login Succeeded 04:35:43 nexus3.edgexfoundry.org:10004 04:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:44 Configure a credential helper to remove this warning. See 04:35:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:44 04:35:44 Login Succeeded 04:35:44 ****.io 04:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:44 Configure a credential helper to remove this warning. See 04:35:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:44 04:35:44 Login Succeeded 04:35:44 ---> ****-login.sh ends [Pipeline] } 04:35:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:35:44 + git rev-list -1 --merges 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3~1..35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] echo 04:35:44 -----------> git rev-list -1 --merges 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3~1..35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [false] [Pipeline] sh 04:35:45 + git log --format=format:%s -1 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] echo 04:35:45 ========================================================= 04:35:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:35:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:45 + git log --format=format:%s -1 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] echo 04:35:45 [semverPrep] GIT_COMMIT: 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3, Commit Message: feat: support reuse modbus client (#581) [Pipeline] echo 04:35:45 [semverPrep] This is not a build commit. [Pipeline] sh 04:35:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:35:46 + grep -v github /etc/ssh/ssh_known_hosts 04:35:46 + [ -e /tmp/ssh_known_hosts ] 04:35:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:35:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 04:35:46 sudo tee -a /etc/ssh/ssh_known_hosts 04:35:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:35:46 04:35:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:35:46 0.1.4: Pulling from edgex-devops/py-git-semver 04:35:46 b85a868b505f: Pulling fs layer 04:35:46 e2be974225ed: Pulling fs layer 04:35:46 339a4e72a1f5: Pulling fs layer 04:35:46 988bab9f4d93: Pulling fs layer 04:35:46 1469e6f7b9e6: Pulling fs layer 04:35:46 eaf3925da568: Pulling fs layer 04:35:46 bab4dde63d76: Pulling fs layer 04:35:46 bde34c3a00c8: Pulling fs layer 04:35:46 b352a97aabf1: Pulling fs layer 04:35:46 4872d77fe225: Pulling fs layer 04:35:46 5851b861e8e6: Pulling fs layer 04:35:46 988bab9f4d93: Waiting 04:35:46 1469e6f7b9e6: Waiting 04:35:46 eaf3925da568: Waiting 04:35:46 bab4dde63d76: Waiting 04:35:46 bde34c3a00c8: Waiting 04:35:46 b352a97aabf1: Waiting 04:35:46 4872d77fe225: Waiting 04:35:46 e2be974225ed: Verifying Checksum 04:35:46 e2be974225ed: Download complete 04:35:46 988bab9f4d93: Download complete 04:35:46 1469e6f7b9e6: Verifying Checksum 04:35:46 1469e6f7b9e6: Download complete 04:35:46 339a4e72a1f5: Verifying Checksum 04:35:46 339a4e72a1f5: Download complete 04:35:46 eaf3925da568: Verifying Checksum 04:35:46 eaf3925da568: Download complete 04:35:47 bde34c3a00c8: Verifying Checksum 04:35:47 bde34c3a00c8: Download complete 04:35:47 b352a97aabf1: Verifying Checksum 04:35:47 b352a97aabf1: Download complete 04:35:47 4872d77fe225: Verifying Checksum 04:35:47 4872d77fe225: Download complete 04:35:47 5851b861e8e6: Verifying Checksum 04:35:47 5851b861e8e6: Download complete 04:35:47 b85a868b505f: Verifying Checksum 04:35:47 b85a868b505f: Download complete 04:35:47 bab4dde63d76: Verifying Checksum 04:35:47 bab4dde63d76: Download complete 04:35:48 b85a868b505f: Pull complete 04:35:48 e2be974225ed: Pull complete 04:35:49 339a4e72a1f5: Pull complete 04:35:49 988bab9f4d93: Pull complete 04:35:49 1469e6f7b9e6: Pull complete 04:35:49 eaf3925da568: Pull complete 04:35:51 bab4dde63d76: Pull complete 04:35:51 bde34c3a00c8: Pull complete 04:35:51 b352a97aabf1: Pull complete 04:35:51 4872d77fe225: Pull complete 04:35:51 5851b861e8e6: Pull complete 04:35:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:35:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:35:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:51 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:35:54 $ docker top 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 -eo pid,comm 04:35:54 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). 04:35:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:35:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:55 [ssh-agent] Looking for ssh-agent implementation... 04:35:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:55 $ docker exec 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 ssh-agent 04:35:55 SSH_AUTH_SOCK=/tmp/ssh-c5x0Yqmpcgy9/agent.32 04:35:55 SSH_AGENT_PID=38 04:35:55 Running ssh-add (command line suppressed) 04:35:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4268999038248292412.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4268999038248292412.key) 04:35:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:55 + git tag --points-at HEAD [Pipeline] } 04:35:55 $ docker exec --env ******** --env ******** 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 ssh-agent -k 04:35:55 unset SSH_AUTH_SOCK; 04:35:55 unset SSH_AGENT_PID; 04:35:55 echo Agent pid 38 killed; 04:35:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:35:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:35:55 [ssh-agent] Looking for ssh-agent implementation... 04:35:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:35:55 $ docker exec 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 ssh-agent 04:35:56 SSH_AUTH_SOCK=/tmp/ssh-NtkOzyE6jNC9/agent.71 04:35:56 SSH_AGENT_PID=77 04:35:56 Running ssh-add (command line suppressed) 04:35:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6567349754319829015.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6567349754319829015.key) 04:35:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:35:56 + git semver init 04:35:56 2024-10-30 04:35:56,650 [run_init] DEBUG init version:0.0.0 force:False 04:35:56 2024-10-30 04:35:56,651 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 04:35:56 2024-10-30 04:35:56,651 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 04:35:56 2024-10-30 04:35:56,651 [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) 04:35:57 2024-10-30 04:35:57,677 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 04:35:57 2024-10-30 04:35:57,677 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 04:35:57 2024-10-30 04:35:57,677 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:35:57 2024-10-30 04:35:57,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:35:57 4.0.0-dev.1 [Pipeline] } 04:35:57 $ docker exec --env ******** --env ******** 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 ssh-agent -k 04:35:58 unset SSH_AUTH_SOCK; 04:35:58 unset SSH_AGENT_PID; 04:35:58 echo Agent pid 77 killed; 04:35:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:35:58 + git semver [Pipeline] } 04:35:58 $ docker stop --time=1 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 04:35:59 $ docker rm -f --volumes 2f1ac9465002f8339c7c83eff84a33fb20e37eaa5ececfb27f7c8bce69a47216 [Pipeline] // withDockerContainer [Pipeline] sh 04:36:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:36:00 Stashed 1 file(s) [Pipeline] echo 04:36:00 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [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 04:36:00 provisioning config files... 04:36:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config921845579307922218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:01 ---> ****-login.sh 04:36:01 nexus3.edgexfoundry.org:10001 04:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:01 Configure a credential helper to remove this warning. See 04:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:01 04:36:01 Login Succeeded 04:36:01 nexus3.edgexfoundry.org:10002 04:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:01 Configure a credential helper to remove this warning. See 04:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:01 04:36:01 Login Succeeded 04:36:01 nexus3.edgexfoundry.org:10003 04:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:01 Configure a credential helper to remove this warning. See 04:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:01 04:36:01 Login Succeeded 04:36:01 nexus3.edgexfoundry.org:10004 04:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:01 Configure a credential helper to remove this warning. See 04:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:01 04:36:01 Login Succeeded 04:36:01 ****.io 04:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:01 Configure a credential helper to remove this warning. See 04:36:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:01 04:36:01 Login Succeeded 04:36:01 ---> ****-login.sh ends [Pipeline] } 04:36:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:36:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:01 ========================================================= 04:36:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:36:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:02 + 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 . 04:36:02 Sending build context to Docker daemon 17.99MB 04:36:02 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:36:02 Step 2/10 : FROM ${BASE} AS builder 04:36:02 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:36:02 43c4264eed91: Pulling fs layer 04:36:02 4cc291be95ef: Pulling fs layer 04:36:02 2ac1f1163629: Pulling fs layer 04:36:02 5c3c966382ef: Pulling fs layer 04:36:02 4f4fb700ef54: Pulling fs layer 04:36:02 5d5c8e513c77: Pulling fs layer 04:36:02 9f66e0745190: Pulling fs layer 04:36:02 4f4fb700ef54: Waiting 04:36:02 5c3c966382ef: Waiting 04:36:02 f49a43e4bbc0: Pulling fs layer 04:36:02 561ebcabdf7f: Pulling fs layer 04:36:02 f49a43e4bbc0: Waiting 04:36:02 561ebcabdf7f: Waiting 04:36:02 9f66e0745190: Waiting 04:36:02 4cc291be95ef: Download complete 04:36:02 5c3c966382ef: Verifying Checksum 04:36:02 5c3c966382ef: Download complete 04:36:02 4f4fb700ef54: Verifying Checksum 04:36:02 4f4fb700ef54: Download complete 04:36:02 43c4264eed91: Verifying Checksum 04:36:02 43c4264eed91: Download complete 04:36:02 5d5c8e513c77: Verifying Checksum 04:36:02 5d5c8e513c77: Download complete 04:36:02 9f66e0745190: Verifying Checksum 04:36:02 9f66e0745190: Download complete 04:36:02 43c4264eed91: Pull complete 04:36:02 4cc291be95ef: Pull complete 04:36:02 561ebcabdf7f: Download complete 04:36:02 2ac1f1163629: Download complete 04:36:03 f49a43e4bbc0: Verifying Checksum 04:36:03 f49a43e4bbc0: Download complete 04:36:07 2ac1f1163629: Pull complete 04:36:07 5c3c966382ef: Pull complete 04:36:07 4f4fb700ef54: Pull complete 04:36:07 5d5c8e513c77: Pull complete 04:36:07 9f66e0745190: Pull complete 04:36:09 f49a43e4bbc0: Pull complete 04:36:09 561ebcabdf7f: Pull complete 04:36:09 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:36:09 ---> 3a752c3f9dda 04:36:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:36:15 ---> Running in c559892477f2 04:36:15 Removing intermediate container c559892477f2 04:36:15 ---> a4e8be25a1aa 04:36:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:36:15 ---> Running in 4ffc8fdfe516 04:36:15 Removing intermediate container 4ffc8fdfe516 04:36:15 ---> 5ae64ff30e76 04:36:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:36:15 ---> Running in 934a70e5cf8b 04:36:15 Still waiting to schedule task 04:36:15 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24073’ is offline 04:36:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:36:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:36:16 (1/8) Installing openssh-keygen (9.7_p1-r4) 04:36:16 (2/8) Installing libedit (20240517.3.1-r0) 04:36:16 (3/8) Installing openssh-client-common (9.7_p1-r4) 04:36:16 (4/8) Installing openssh-client-default (9.7_p1-r4) 04:36:16 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 04:36:16 (6/8) Installing openssh-server-common (9.7_p1-r4) 04:36:16 (7/8) Installing openssh-server (9.7_p1-r4) 04:36:16 (8/8) Installing openssh (9.7_p1-r4) 04:36:16 Executing busybox-1.36.1-r29.trigger 04:36:16 OK: 252 MiB in 62 packages 04:36:17 Removing intermediate container 934a70e5cf8b 04:36:17 ---> 12d91aefcaad 04:36:17 Step 6/10 : WORKDIR /device-modbus-go 04:36:17 ---> Running in ec20ea15e26e 04:36:17 Removing intermediate container ec20ea15e26e 04:36:17 ---> 2292c0d173f4 04:36:17 Step 7/10 : COPY go.mod vendor* ./ 04:36:17 ---> 2a1d9bcce331 04:36:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:17 ---> Running in 250793f04c9c 04:37:14 Removing intermediate container 250793f04c9c 04:37:14 ---> 43e7479c5af9 04:37:14 Step 9/10 : COPY . . 04:37:14 ---> 02d48bd93847 04:37:14 Step 10/10 : RUN ${MAKE} 04:37:14 ---> Running in bc46310ecc3a 04:37:14 noop 04:37:14 Removing intermediate container bc46310ecc3a 04:37:14 ---> bfbe495a6252 04:37:14 Successfully built bfbe495a6252 04:37:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:14 + docker inspect -f . ci-base-image-x86_64 04:37:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:14 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:37:14 $ 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 04:37:15 $ docker top 69850260660efcaeea9d07f4a4fbaad6cf2afda866cb90a13c5d90541486caa9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:15 + go version 04:37:15 go version go1.23.2 linux/amd64 [Pipeline] } 04:37:15 $ docker stop --time=1 69850260660efcaeea9d07f4a4fbaad6cf2afda866cb90a13c5d90541486caa9 04:37:16 $ docker rm -f --volumes 69850260660efcaeea9d07f4a4fbaad6cf2afda866cb90a13c5d90541486caa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:17 + docker inspect -f . ci-base-image-x86_64 04:37:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:17 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:37:17 $ 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 04:37:17 $ docker top 899e6c755e373460ace7dffc0e76071c8d7472f94093da85286fb83bb4845a2c -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 04:37:18 + make test 04:37:18 go test ./... -coverprofile=coverage.out 04:37:20 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:37:42 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 04:37:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 48.0% of statements 04:37:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24076 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 04:37:45 Running in /w/workspace/device-modbus-go/166 [Pipeline] { [Pipeline] checkout 04:37:49 The recommended git tool is: git 04:37:50 go vet ./... 04:37:53 using credential edgex-jenkins-ssh 04:37:53 Cloning the remote Git repository 04:37:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 04:37:54 > git init /w/workspace/device-modbus-go/166 # timeout=10 04:37:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 04:37:54 > git --version # timeout=10 04:37:54 > git --version # 'git version 2.25.1' 04:37:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 04:37:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:37:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:37:56 ./bin/test-attribution-txt.sh [Pipeline] echo 04:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:37:56 $ docker stop --time=1 899e6c755e373460ace7dffc0e76071c8d7472f94093da85286fb83bb4845a2c 04:37:57 Avoid second fetch 04:37:57 Checking out Revision 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 (main) 04:37:57 Commit message: "feat: support reuse modbus client (#581)" 04:37:57 > git config core.sparsecheckout # timeout=10 04:37:57 > git checkout -f 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 # timeout=10 04:38:01 $ docker rm -f --volumes 899e6c755e373460ace7dffc0e76071c8d7472f94093da85286fb83bb4845a2c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:38:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:38:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:38:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:38:02 Dload Upload Total Spent Left Speed 04:38:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [Pipeline] sh 04:38:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:38:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:38:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:38:03 + sudo tee /etc/docker/daemon.new 04:38:03 { 04:38:03 "registry-mirrors": [ 04:38:03 "https://nexus3.edgexfoundry.org:10001" 04:38:03 ], 04:38:03 "bip": "10.250.0.254/24", 04:38:03 "hosts": [ 04:38:03 "tcp://0.0.0.0:5555", 04:38:03 "unix:///var/run/docker.sock" 04:38:03 ], 04:38:03 "mtu": 1458, 04:38:03 "selinux-enabled": true, 04:38:03 "seccomp-profile": "/etc/docker/seccomp.json" 04:38:03 } [Pipeline] sh 04:38:03 + ls -al . 04:38:03 total 272 04:38:03 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 04:37 . 04:38:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:35 .. 04:38:03 -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 04:35 .dockerignore 04:38:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 04:37 .git 04:38:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:35 .github 04:38:03 -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 04:35 .gitignore 04:38:03 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 04:35 .golangci.yml 04:38:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 04:35 .semver 04:38:03 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 04:35 Attribution.txt 04:38:03 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 04:35 CHANGELOG.md 04:38:03 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 30 04:35 Dockerfile 04:38:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 04:35 GOVERNANCE.md 04:38:03 -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 04:35 Jenkinsfile 04:38:03 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 04:35 LICENSE 04:38:03 -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 04:35 Makefile 04:38:03 -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 04:35 OWNERS.md 04:38:03 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 04:35 README.md 04:38:03 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 04:36 VERSION 04:38:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 04:35 bin 04:38:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:35 cmd 04:38:03 -rw-r--r-- 1 jenkins jenkins 25464 Oct 30 04:37 coverage.out 04:38:03 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 30 04:35 go.mod 04:38:03 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 30 04:35 go.sum 04:38:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:35 internal 04:38:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 04:35 simulator 04:38:03 -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:38:03 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 --label arch=amd64 --label version=4.0.0-dev.1 . 04:38:03 Sending build context to Docker daemon 18.02MB 04:38:03 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 04:38:03 Step 2/23 : FROM ${BASE} AS builder 04:38:03 ---> bfbe495a6252 04:38:03 Step 3/23 : ARG ADD_BUILD_TAGS="" 04:38:04 + sudo service docker restart 04:38:04 ---> Running in 00f492db5c1d 04:38:04 Removing intermediate container 00f492db5c1d 04:38:04 ---> 06e5698a4729 04:38:04 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:38:04 ---> Running in 93d6580fa7b4 04:38:04 Removing intermediate container 93d6580fa7b4 04:38:04 ---> 1f6c9c6e5316 04:38:04 Step 5/23 : RUN apk add --update --no-cache make git openssh 04:38:04 ---> Running in d42b9fdc7755 04:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:38:05 OK: 252 MiB in 62 packages 04:38:06 Removing intermediate container d42b9fdc7755 04:38:06 ---> 6ce3e98c915d 04:38:06 Step 6/23 : WORKDIR /device-modbus-go 04:38:06 ---> Running in 3e55e2573769 04:38:06 Removing intermediate container 3e55e2573769 04:38:06 ---> 141b5a02d6f2 04:38:06 Step 7/23 : COPY go.mod vendor* ./ 04:38:06 ---> 573de2b57a06 04:38:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:06 ---> Running in 9d952fea564d 04:38:07 Removing intermediate container 9d952fea564d 04:38:07 ---> fcddf55396e5 04:38:07 Step 9/23 : COPY . . 04:38:08 ---> 7c07ce69fef3 04:38:08 Step 10/23 : RUN ${MAKE} 04:38:08 ---> Running in 47245da51b13 04:38:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:22 provisioning config files... 04:38:22 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/166@tmp/config14978912712207424670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:22 ---> ****-login.sh 04:38:22 nexus3.edgexfoundry.org:10001 04:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:23 Configure a credential helper to remove this warning. See 04:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:23 04:38:23 Login Succeeded 04:38:23 nexus3.edgexfoundry.org:10002 04:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:23 Configure a credential helper to remove this warning. See 04:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:23 04:38:23 Login Succeeded 04:38:23 nexus3.edgexfoundry.org:10003 04:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:24 Configure a credential helper to remove this warning. See 04:38:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:24 04:38:24 Login Succeeded 04:38:24 nexus3.edgexfoundry.org:10004 04:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:24 Configure a credential helper to remove this warning. See 04:38:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:24 04:38:24 Login Succeeded 04:38:24 ****.io 04:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:24 Configure a credential helper to remove this warning. See 04:38:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:24 04:38:24 Login Succeeded 04:38:24 ---> ****-login.sh ends [Pipeline] } 04:38:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:38:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:38:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:38:25 ========================================================= 04:38:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 04:38:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:25 + 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 . 04:38:25 Sending build context to Docker daemon 9.141MB 04:38:25 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 04:38:25 Step 2/10 : FROM ${BASE} AS builder 04:38:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:38:26 cf04c63912e1: Pulling fs layer 04:38:26 55b35a11ae5e: Pulling fs layer 04:38:26 a37a00ec5f00: Pulling fs layer 04:38:26 50b3750afda1: Pulling fs layer 04:38:26 4f4fb700ef54: Pulling fs layer 04:38:26 80978eb59214: Pulling fs layer 04:38:26 c9f46d7d2bd2: Pulling fs layer 04:38:26 c5a475d317c9: Pulling fs layer 04:38:26 4f4fb700ef54: Waiting 04:38:26 80978eb59214: Waiting 04:38:26 c9f46d7d2bd2: Waiting 04:38:26 c5a475d317c9: Waiting 04:38:26 50b3750afda1: Waiting 04:38:26 55b35a11ae5e: Verifying Checksum 04:38:26 55b35a11ae5e: Download complete 04:38:26 50b3750afda1: Download complete 04:38:26 4f4fb700ef54: Verifying Checksum 04:38:26 4f4fb700ef54: Download complete 04:38:26 cf04c63912e1: Verifying Checksum 04:38:26 cf04c63912e1: Download complete 04:38:26 80978eb59214: Verifying Checksum 04:38:26 80978eb59214: Download complete 04:38:26 c5a475d317c9: Verifying Checksum 04:38:26 c5a475d317c9: Download complete 04:38:27 cf04c63912e1: Pull complete 04:38:28 a37a00ec5f00: Verifying Checksum 04:38:28 a37a00ec5f00: Download complete 04:38:28 55b35a11ae5e: Pull complete 04:38:28 c9f46d7d2bd2: Verifying Checksum 04:38:28 c9f46d7d2bd2: Download complete 04:38:43 a37a00ec5f00: Pull complete 04:38:43 50b3750afda1: Pull complete 04:38:43 4f4fb700ef54: Pull complete 04:38:43 80978eb59214: Pull complete 04:38:47 Removing intermediate container 47245da51b13 04:38:47 ---> 1d6761d0e486 04:38:47 Step 11/23 : FROM alpine:3.20 04:38:47 3.20: Pulling from library/alpine 04:38:47 43c4264eed91: Already exists 04:38:47 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:38:47 Status: Downloaded newer image for alpine:3.20 04:38:47 ---> 91ef0af61f39 04:38:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 04:38:47 ---> Running in b1cf0fbc780c 04:38:47 Removing intermediate container b1cf0fbc780c 04:38:47 ---> c4c0b93f0b9a 04:38:47 Step 13/23 : RUN apk add --update --no-cache dumb-init 04:38:47 ---> Running in 25520f42e180 04:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:38:47 (1/1) Installing dumb-init (1.2.5-r3) 04:38:47 Executing busybox-1.36.1-r29.trigger 04:38:47 OK: 8 MiB in 15 packages 04:38:47 Removing intermediate container 25520f42e180 04:38:47 ---> 6b99ceeb826d 04:38:47 Step 14/23 : RUN apk --no-cache upgrade 04:38:47 ---> Running in a43f9d815bcf 04:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:38:47 Upgrading critical system libraries and apk-tools: 04:38:47 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:38:47 Executing busybox-1.36.1-r29.trigger 04:38:47 Continuing the upgrade transaction with new apk-tools: 04:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:38:47 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:38:47 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:38:47 OK: 8 MiB in 15 packages 04:38:47 Removing intermediate container a43f9d815bcf 04:38:47 ---> 770004f847fb 04:38:47 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:38:47 ---> b2de0b6d1222 04:38:47 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:38:47 ---> 28cac8991eb9 04:38:47 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:38:47 ---> 03ac2c7b3f35 04:38:47 Step 18/23 : EXPOSE 59901 04:38:47 ---> Running in f571d532b6d5 04:38:48 Removing intermediate container f571d532b6d5 04:38:48 ---> 9e2294f728cd 04:38:48 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:38:48 ---> Running in 03311c5e920e 04:38:48 Removing intermediate container 03311c5e920e 04:38:48 ---> a1b925779db0 04:38:48 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:38:48 ---> Running in fbe4bc6afe35 04:38:48 Removing intermediate container fbe4bc6afe35 04:38:48 ---> 0a057ee23b68 04:38:48 Step 21/23 : LABEL arch=amd64 04:38:48 ---> Running in ca249e2f3bf9 04:38:48 Removing intermediate container ca249e2f3bf9 04:38:48 ---> e4b625136ca0 04:38:48 Step 22/23 : LABEL git_sha=35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:38:48 ---> Running in e06f06f49a7a 04:38:48 Removing intermediate container e06f06f49a7a 04:38:48 ---> 9f6551026ff9 04:38:48 Step 23/23 : LABEL version=4.0.0-dev.1 04:38:48 ---> Running in 1d919f3ff49f 04:38:48 Removing intermediate container 1d919f3ff49f 04:38:48 ---> 6aae84f58827 04:38:48 [Warning] One or more build-args [ARCH] were not consumed 04:38:48 Successfully built 6aae84f58827 04:38:48 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:48 provisioning config files... 04:38:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16045805293719046165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:48 ---> ****-login.sh 04:38:48 nexus3.edgexfoundry.org:10001 04:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:48 Configure a credential helper to remove this warning. See 04:38:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:48 04:38:48 Login Succeeded 04:38:48 nexus3.edgexfoundry.org:10002 04:38:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:48 Configure a credential helper to remove this warning. See 04:38:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:48 04:38:48 Login Succeeded 04:38:48 nexus3.edgexfoundry.org:10003 04:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:49 Configure a credential helper to remove this warning. See 04:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:49 04:38:49 Login Succeeded 04:38:49 nexus3.edgexfoundry.org:10004 04:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:49 Configure a credential helper to remove this warning. See 04:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:49 04:38:49 Login Succeeded 04:38:49 ****.io 04:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:38:49 Configure a credential helper to remove this warning. See 04:38:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:38:49 04:38:49 Login Succeeded 04:38:49 ---> ****-login.sh ends [Pipeline] } 04:38:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:38:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:38:49 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 04:38:49 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:38:49 latest 04:38:49 4.0.0-dev.1 04:38:49 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 04:38:49 main 04:38:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:38:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:38:50 b9805f68bafd: Preparing 04:38:50 52aee847295a: Preparing 04:38:50 63af294a74f0: Preparing 04:38:50 97537b7bd7e7: Preparing 04:38:50 6288b7fa4975: Preparing 04:38:50 63ca1fbb43ae: Preparing 04:38:50 63ca1fbb43ae: Waiting 04:38:50 52aee847295a: Pushed 04:38:50 6288b7fa4975: Pushed 04:38:50 b9805f68bafd: Pushed 04:38:50 63ca1fbb43ae: Layer already exists 04:38:50 97537b7bd7e7: Pushed 04:38:52 c9f46d7d2bd2: Pull complete 04:38:52 c5a475d317c9: Pull complete 04:38:52 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 04:38:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 04:38:52 ---> be29e6b0f0d4 04:38:52 Step 3/10 : ARG ADD_BUILD_TAGS="" 04:38:54 ---> Running in 761faaac2aa3 04:38:54 Removing intermediate container 761faaac2aa3 04:38:54 ---> 93cc3ed4bd34 04:38:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:38:54 ---> Running in e4307a2b49e5 04:38:54 63af294a74f0: Pushed 04:38:54 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3: digest: sha256:e28fb9308858b0d40ff08c9d981437970bd67565e937976c259c0b4230d3dee4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:55 Removing intermediate container e4307a2b49e5 04:38:55 ---> 533e81c4f9a8 04:38:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 04:38:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:55 ---> Running in f60e5964ce9e 04:38:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 04:38:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:38:55 b9805f68bafd: Preparing 04:38:55 52aee847295a: Preparing 04:38:55 63af294a74f0: Preparing 04:38:55 97537b7bd7e7: Preparing 04:38:55 6288b7fa4975: Preparing 04:38:55 63ca1fbb43ae: Preparing 04:38:55 63ca1fbb43ae: Waiting 04:38:55 6288b7fa4975: Layer already exists 04:38:55 52aee847295a: Layer already exists 04:38:55 97537b7bd7e7: Layer already exists 04:38:55 b9805f68bafd: Layer already exists 04:38:55 63af294a74f0: Layer already exists 04:38:55 63ca1fbb43ae: Layer already exists 04:38:55 latest: digest: sha256:e28fb9308858b0d40ff08c9d981437970bd67565e937976c259c0b4230d3dee4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.1 04:38:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:38:56 b9805f68bafd: Preparing 04:38:56 52aee847295a: Preparing 04:38:56 63af294a74f0: Preparing 04:38:56 97537b7bd7e7: Preparing 04:38:56 6288b7fa4975: Preparing 04:38:56 63ca1fbb43ae: Preparing 04:38:56 63ca1fbb43ae: Waiting 04:38:56 97537b7bd7e7: Layer already exists 04:38:56 63af294a74f0: Layer already exists 04:38:56 b9805f68bafd: Layer already exists 04:38:56 6288b7fa4975: Layer already exists 04:38:56 52aee847295a: Layer already exists 04:38:56 63ca1fbb43ae: Layer already exists 04:38:56 4.0.0-dev.1: digest: sha256:e28fb9308858b0d40ff08c9d981437970bd67565e937976c259c0b4230d3dee4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:38:56 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 04:38:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:38:56 b9805f68bafd: Preparing 04:38:56 52aee847295a: Preparing 04:38:56 63af294a74f0: Preparing 04:38:56 97537b7bd7e7: Preparing 04:38:56 6288b7fa4975: Preparing 04:38:56 63ca1fbb43ae: Preparing 04:38:56 63ca1fbb43ae: Waiting 04:38:56 97537b7bd7e7: Layer already exists 04:38:56 52aee847295a: Layer already exists 04:38:56 6288b7fa4975: Layer already exists 04:38:56 63af294a74f0: Layer already exists 04:38:56 b9805f68bafd: Layer already exists 04:38:56 63ca1fbb43ae: Layer already exists 04:38:56 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1: digest: sha256:e28fb9308858b0d40ff08c9d981437970bd67565e937976c259c0b4230d3dee4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:38:57 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 04:38:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 04:38:57 b9805f68bafd: Preparing 04:38:57 52aee847295a: Preparing 04:38:57 63af294a74f0: Preparing 04:38:57 97537b7bd7e7: Preparing 04:38:57 6288b7fa4975: Preparing 04:38:57 63ca1fbb43ae: Preparing 04:38:57 63ca1fbb43ae: Waiting 04:38:57 6288b7fa4975: Layer already exists 04:38:57 97537b7bd7e7: Layer already exists 04:38:57 b9805f68bafd: Layer already exists 04:38:57 52aee847295a: Layer already exists 04:38:57 63af294a74f0: Layer already exists 04:38:57 63ca1fbb43ae: Layer already exists 04:38:57 main: digest: sha256:e28fb9308858b0d40ff08c9d981437970bd67565e937976c259c0b4230d3dee4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:38:57 ===================================================== [Pipeline] echo 04:38:57 taggedImages: 04:38:57 - nexus3.edgexfoundry.org:10004/device-modbus:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:38:57 - nexus3.edgexfoundry.org:10004/device-modbus:latest 04:38:57 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.1 04:38:57 - nexus3.edgexfoundry.org:10004/device-modbus:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 04:38:57 - 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 04:38:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:57 04:38:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:38:58 (1/8) Installing openssh-keygen (9.7_p1-r4) 04:38:58 (2/8) Installing libedit (20240517.3.1-r0) 04:38:58 (3/8) Installing openssh-client-common (9.7_p1-r4) 04:38:58 (4/8) Installing openssh-client-default (9.7_p1-r4) 04:38:58 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 04:38:58 (6/8) Installing openssh-server-common (9.7_p1-r4) 04:38:58 (7/8) Installing openssh-server (9.7_p1-r4) 04:38:58 (8/8) Installing openssh (9.7_p1-r4) 04:38:58 Executing busybox-1.36.1-r29.trigger 04:38:58 OK: 244 MiB in 62 packages 04:38:58 latest: Pulling from edgex-lftools-log-publisher 04:38:58 5eb5b503b376: Pulling fs layer 04:38:58 5c69ac0246d0: Pulling fs layer 04:38:58 ec43610c2a17: Pulling fs layer 04:38:58 3a2ae6a8a46f: Pulling fs layer 04:38:58 33b1e0a273af: Pulling fs layer 04:38:58 5d3b04190fa2: Pulling fs layer 04:38:58 2f39f015ded8: Pulling fs layer 04:38:58 33b1e0a273af: Waiting 04:38:58 2f39f015ded8: Waiting 04:38:58 5d3b04190fa2: Waiting 04:38:58 3a2ae6a8a46f: Waiting 04:38:58 5c69ac0246d0: Verifying Checksum 04:38:58 5c69ac0246d0: Download complete 04:38:58 3a2ae6a8a46f: Verifying Checksum 04:38:58 3a2ae6a8a46f: Download complete 04:38:58 33b1e0a273af: Verifying Checksum 04:38:58 33b1e0a273af: Download complete 04:38:58 5d3b04190fa2: Verifying Checksum 04:38:58 5d3b04190fa2: Download complete 04:38:58 ec43610c2a17: Verifying Checksum 04:38:58 ec43610c2a17: Download complete 04:38:58 5eb5b503b376: Verifying Checksum 04:38:58 5eb5b503b376: Download complete 04:38:59 Removing intermediate container f60e5964ce9e 04:38:59 ---> 250fc7745d92 04:38:59 Step 6/10 : WORKDIR /device-modbus-go 04:38:59 2f39f015ded8: Download complete 04:38:59 ---> Running in 5f45ee02a8bc 04:38:59 Removing intermediate container 5f45ee02a8bc 04:38:59 ---> 6d23d48b1d5e 04:38:59 Step 7/10 : COPY go.mod vendor* ./ 04:38:59 5eb5b503b376: Pull complete 04:39:00 5c69ac0246d0: Pull complete 04:39:00 ---> c50f57d191e5 04:39:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:00 ---> Running in 607f8a2a60f6 04:39:00 ec43610c2a17: Pull complete 04:39:00 3a2ae6a8a46f: Pull complete 04:39:00 33b1e0a273af: Pull complete 04:39:00 5d3b04190fa2: Pull complete 04:39:05 2f39f015ded8: Pull complete 04:39:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:39:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:39:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:05 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:39:05 $ 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 04:39:13 $ docker top 6f9d7bccd39c4dc1253935092a40cb9d5cda4e495b8ec0db5653fd5057209fcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:13 ---> job-cost.sh 04:39:13 lf-activate-venv: SKIPPING 04:39:13 INFO: No Stack... 04:39:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:39:14 INFO: Archiving Costs [Pipeline] sh 04:39:14 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 04:39:14 + cut -d, -f6 [Pipeline] lock 04:39:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] 04:39:14 Resource [jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] did not exist. Created. 04:39:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:39:14 + echo total: 0.2199999988079071 [Pipeline] stash 04:39:14 Stashed 1 file(s) [Pipeline] } 04:39:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 04:39:14 $ docker stop --time=1 6f9d7bccd39c4dc1253935092a40cb9d5cda4e495b8ec0db5653fd5057209fcb 04:39:16 $ docker rm -f --volumes 6f9d7bccd39c4dc1253935092a40cb9d5cda4e495b8ec0db5653fd5057209fcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:40:52 Removing intermediate container 607f8a2a60f6 04:40:52 ---> bfa3ccba371d 04:40:52 Step 9/10 : COPY . . 04:40:52 ---> 5d145f849b15 04:40:52 Step 10/10 : RUN ${MAKE} 04:40:52 ---> Running in e23b831c86e3 04:40:52 noop 04:40:52 Removing intermediate container e23b831c86e3 04:40:52 ---> 6bf10c033202 04:40:52 Successfully built 6bf10c033202 04:40:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:52 + docker inspect -f . ci-base-image-arm64 04:40:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-24076 does not seem to be running inside a container 04:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/166 -v /w/workspace/device-modbus-go/166:/w/workspace/device-modbus-go/166:rw,z -v /w/workspace/device-modbus-go/166@tmp:/w/workspace/device-modbus-go/166@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 04:40:54 $ docker top 63fe5eb26e1dd976eea838b8237035ca5fa8a54a0baacaf84b8fe18250732ac6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:55 + go version 04:40:55 go version go1.23.2 linux/arm64 [Pipeline] } 04:40:55 $ docker stop --time=1 63fe5eb26e1dd976eea838b8237035ca5fa8a54a0baacaf84b8fe18250732ac6 04:40:56 $ docker rm -f --volumes 63fe5eb26e1dd976eea838b8237035ca5fa8a54a0baacaf84b8fe18250732ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:57 + docker inspect -f . ci-base-image-arm64 04:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:57 prd-ubuntu20.04-docker-arm64-4c-16g-24076 does not seem to be running inside a container 04:40:57 $ 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/166 -v /w/workspace/device-modbus-go/166:/w/workspace/device-modbus-go/166:rw,z -v /w/workspace/device-modbus-go/166@tmp:/w/workspace/device-modbus-go/166@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 04:40:59 $ docker top 541743b21f4d0049bc225eb89ce3b16177974b35b55a6084706da1432e7c07ab -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:59 + git config --global --add safe.directory /w/workspace/device-modbus-go/166 [Pipeline] fileExists [Pipeline] sh 04:41:00 + make test 04:41:00 go test ./... -coverprofile=coverage.out 04:41:05 ? github.com/edgexfoundry/device-modbus-go [no test files] 04:44:57 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 04:44:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 48.0% of statements 04:44:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:44:57 go vet ./... 04:45:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:45:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:45:44 ./bin/test-attribution-txt.sh [Pipeline] echo 04:45:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:45:44 $ docker stop --time=1 541743b21f4d0049bc225eb89ce3b16177974b35b55a6084706da1432e7c07ab 04:45:46 $ docker rm -f --volumes 541743b21f4d0049bc225eb89ce3b16177974b35b55a6084706da1432e7c07ab [Pipeline] // withDockerContainer [Pipeline] sh 04:45:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:45:48 Warning: overwriting stash ‘coverage-report’ 04:45:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:45:49 + ls -al . 04:45:49 total 268 04:45:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 04:41 . 04:45:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 04:37 .. 04:45:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 04:37 .dockerignore 04:45:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 04:38 .git 04:45:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:37 .github 04:45:49 -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 04:37 .gitignore 04:45:49 -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 04:37 .golangci.yml 04:45:49 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 04:37 Attribution.txt 04:45:49 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 04:37 CHANGELOG.md 04:45:49 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 30 04:37 Dockerfile 04:45:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 04:37 GOVERNANCE.md 04:45:49 -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 04:37 Jenkinsfile 04:45:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 04:37 LICENSE 04:45:49 -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 04:37 Makefile 04:45:49 -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 04:37 OWNERS.md 04:45:49 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 04:37 README.md 04:45:49 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 04:36 VERSION 04:45:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 04:37 bin 04:45:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:37 cmd 04:45:49 -rw-r--r-- 1 jenkins jenkins 25464 Oct 30 04:44 coverage.out 04:45:49 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 30 04:37 go.mod 04:45:49 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 30 04:37 go.sum 04:45:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 04:37 internal 04:45:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 04:37 simulator 04:45:49 -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 04:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:50 + 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=35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 --label arch=arm64 --label version=4.0.0-dev.1 . 04:45:50 Sending build context to Docker daemon 9.167MB 04:45:50 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 04:45:50 Step 2/23 : FROM ${BASE} AS builder 04:45:50 ---> 6bf10c033202 04:45:50 Step 3/23 : ARG ADD_BUILD_TAGS="" 04:45:50 ---> Running in 6589e3b21076 04:45:50 Removing intermediate container 6589e3b21076 04:45:50 ---> 9d13fbcb160f 04:45:50 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:45:51 ---> Running in f15cb5b2640c 04:45:51 Removing intermediate container f15cb5b2640c 04:45:51 ---> 8132f27f9718 04:45:51 Step 5/23 : RUN apk add --update --no-cache make git openssh 04:45:51 ---> Running in 7041472ef978 04:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:45:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:45:54 OK: 244 MiB in 62 packages 04:45:55 Removing intermediate container 7041472ef978 04:45:55 ---> b9d6ee4720b7 04:45:55 Step 6/23 : WORKDIR /device-modbus-go 04:45:55 ---> Running in f05898ea7537 04:45:55 Removing intermediate container f05898ea7537 04:45:55 ---> eb9d0a2123be 04:45:55 Step 7/23 : COPY go.mod vendor* ./ 04:45:56 ---> 435ae7d72e0f 04:45:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:56 ---> Running in c8a170fc55af 04:45:58 Removing intermediate container c8a170fc55af 04:45:58 ---> 51f4968ef9fa 04:45:58 Step 9/23 : COPY . . 04:45:59 ---> 5646f0acb2bc 04:45:59 Step 10/23 : RUN ${MAKE} 04:45:59 ---> Running in 9b2684f7f97f 04:46:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd 04:49:22 Removing intermediate container 9b2684f7f97f 04:49:22 ---> 7244ef4759a0 04:49:22 Step 11/23 : FROM alpine:3.20 04:49:23 3.20: Pulling from library/alpine 04:49:23 cf04c63912e1: Already exists 04:49:23 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 04:49:23 Status: Downloaded newer image for alpine:3.20 04:49:23 ---> c157a85ed455 04:49:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 04:49:23 ---> Running in c86f799deff6 04:49:23 Removing intermediate container c86f799deff6 04:49:23 ---> ec3a60092c50 04:49:23 Step 13/23 : RUN apk add --update --no-cache dumb-init 04:49:23 ---> Running in fa531a7cfa13 04:49:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:49:26 (1/1) Installing dumb-init (1.2.5-r3) 04:49:26 Executing busybox-1.36.1-r29.trigger 04:49:26 OK: 9 MiB in 15 packages 04:49:27 Removing intermediate container fa531a7cfa13 04:49:27 ---> d95a0e785646 04:49:27 Step 14/23 : RUN apk --no-cache upgrade 04:49:28 ---> Running in 9936a0e7e907 04:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:49:30 Upgrading critical system libraries and apk-tools: 04:49:30 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:49:30 Executing busybox-1.36.1-r29.trigger 04:49:30 Continuing the upgrade transaction with new apk-tools: 04:49:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 04:49:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 04:49:32 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:49:32 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:49:32 OK: 9 MiB in 15 packages 04:49:33 Removing intermediate container 9936a0e7e907 04:49:33 ---> 79aec9f0d231 04:49:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 04:49:35 ---> b7e842bebcbd 04:49:35 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 04:49:36 ---> afa905ba728c 04:49:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 04:49:36 ---> 133c422fd712 04:49:36 Step 18/23 : EXPOSE 59901 04:49:36 ---> Running in fdc1a0b59758 04:49:37 Removing intermediate container fdc1a0b59758 04:49:37 ---> d4d6c7133c94 04:49:37 Step 19/23 : ENTRYPOINT ["/device-modbus"] 04:49:37 ---> Running in b06dd10f73e0 04:49:37 Removing intermediate container b06dd10f73e0 04:49:37 ---> a0d92010b3d7 04:49:37 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:49:37 ---> Running in a8354424c618 04:49:37 Removing intermediate container a8354424c618 04:49:37 ---> cb1b4eb3932b 04:49:37 Step 21/23 : LABEL arch=arm64 04:49:37 ---> Running in 86b125f1f257 04:49:38 Removing intermediate container 86b125f1f257 04:49:38 ---> 25b9267ca544 04:49:38 Step 22/23 : LABEL git_sha=35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:49:38 ---> Running in 95f9f415ec95 04:49:38 Removing intermediate container 95f9f415ec95 04:49:38 ---> 202c5915c978 04:49:38 Step 23/23 : LABEL version=4.0.0-dev.1 04:49:38 ---> Running in 41b9b7956f66 04:49:38 Removing intermediate container 41b9b7956f66 04:49:38 ---> c8379048093c 04:49:38 [Warning] One or more build-args [ARCH] were not consumed 04:49:38 Successfully built c8379048093c 04:49:38 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 04:49:39 provisioning config files... 04:49:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/166@tmp/config11537048464682737788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:39 ---> ****-login.sh 04:49:39 nexus3.edgexfoundry.org:10001 04:49:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:39 Configure a credential helper to remove this warning. See 04:49:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:39 04:49:39 Login Succeeded 04:49:39 nexus3.edgexfoundry.org:10002 04:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:40 Configure a credential helper to remove this warning. See 04:49:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:40 04:49:40 Login Succeeded 04:49:40 nexus3.edgexfoundry.org:10003 04:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:40 Configure a credential helper to remove this warning. See 04:49:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:40 04:49:40 Login Succeeded 04:49:40 nexus3.edgexfoundry.org:10004 04:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:40 Configure a credential helper to remove this warning. See 04:49:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:40 04:49:40 Login Succeeded 04:49:40 ****.io 04:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:49:41 Configure a credential helper to remove this warning. See 04:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:49:41 04:49:41 Login Succeeded 04:49:41 ---> ****-login.sh ends [Pipeline] } 04:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:49:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:49:41 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 04:49:41 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:49:41 latest 04:49:41 4.0.0-dev.1 04:49:41 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 04:49:41 main 04:49:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:49:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:49:42 9ca1f25f11fc: Preparing 04:49:42 380961c8ddca: Preparing 04:49:42 e2858167404e: Preparing 04:49:42 a8e4f371b8ab: Preparing 04:49:42 25e1ceb0ecf0: Preparing 04:49:42 16113d51b718: Preparing 04:49:42 16113d51b718: Waiting 04:49:42 9ca1f25f11fc: Pushed 04:49:42 380961c8ddca: Pushed 04:49:42 25e1ceb0ecf0: Pushed 04:49:42 16113d51b718: Layer already exists 04:49:43 a8e4f371b8ab: Pushed 04:49:53 e2858167404e: Pushed 04:49:53 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3: digest: sha256:630ce482212f22c1fc9ba72e06309dee3e516a4c7cbc2183da841ebbbf0e4fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:49:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:49:54 9ca1f25f11fc: Preparing 04:49:54 380961c8ddca: Preparing 04:49:54 e2858167404e: Preparing 04:49:54 a8e4f371b8ab: Preparing 04:49:54 25e1ceb0ecf0: Preparing 04:49:54 16113d51b718: Preparing 04:49:54 16113d51b718: Waiting 04:49:54 380961c8ddca: Layer already exists 04:49:54 25e1ceb0ecf0: Layer already exists 04:49:54 9ca1f25f11fc: Layer already exists 04:49:54 e2858167404e: Layer already exists 04:49:54 a8e4f371b8ab: Layer already exists 04:49:54 16113d51b718: Layer already exists 04:49:54 latest: digest: sha256:630ce482212f22c1fc9ba72e06309dee3e516a4c7cbc2183da841ebbbf0e4fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.1 04:49:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:49:55 9ca1f25f11fc: Preparing 04:49:55 380961c8ddca: Preparing 04:49:55 e2858167404e: Preparing 04:49:55 a8e4f371b8ab: Preparing 04:49:55 25e1ceb0ecf0: Preparing 04:49:55 16113d51b718: Preparing 04:49:55 16113d51b718: Waiting 04:49:55 9ca1f25f11fc: Layer already exists 04:49:55 25e1ceb0ecf0: Layer already exists 04:49:55 a8e4f371b8ab: Layer already exists 04:49:55 380961c8ddca: Layer already exists 04:49:55 e2858167404e: Layer already exists 04:49:55 16113d51b718: Layer already exists 04:49:55 4.0.0-dev.1: digest: sha256:630ce482212f22c1fc9ba72e06309dee3e516a4c7cbc2183da841ebbbf0e4fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 04:49:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:49:56 9ca1f25f11fc: Preparing 04:49:56 380961c8ddca: Preparing 04:49:56 e2858167404e: Preparing 04:49:56 a8e4f371b8ab: Preparing 04:49:56 25e1ceb0ecf0: Preparing 04:49:56 16113d51b718: Preparing 04:49:56 16113d51b718: Waiting 04:49:56 e2858167404e: Layer already exists 04:49:56 25e1ceb0ecf0: Layer already exists 04:49:56 380961c8ddca: Layer already exists 04:49:56 9ca1f25f11fc: Layer already exists 04:49:56 a8e4f371b8ab: Layer already exists 04:49:56 16113d51b718: Layer already exists 04:49:56 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1: digest: sha256:630ce482212f22c1fc9ba72e06309dee3e516a4c7cbc2183da841ebbbf0e4fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 04:49:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 04:49:57 9ca1f25f11fc: Preparing 04:49:57 380961c8ddca: Preparing 04:49:57 e2858167404e: Preparing 04:49:57 a8e4f371b8ab: Preparing 04:49:57 25e1ceb0ecf0: Preparing 04:49:57 16113d51b718: Preparing 04:49:57 16113d51b718: Waiting 04:49:57 e2858167404e: Layer already exists 04:49:57 380961c8ddca: Layer already exists 04:49:57 25e1ceb0ecf0: Layer already exists 04:49:57 9ca1f25f11fc: Layer already exists 04:49:57 a8e4f371b8ab: Layer already exists 04:49:57 16113d51b718: Layer already exists 04:49:57 main: digest: sha256:630ce482212f22c1fc9ba72e06309dee3e516a4c7cbc2183da841ebbbf0e4fb5 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:49:57 ===================================================== [Pipeline] echo 04:49:57 taggedImages: 04:49:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 04:49:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 04:49:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.1 04:49:57 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:35d09451af1d455b7a4c4c650ff933a6ae9a5aa3-4.0.0-dev.1 04:49:57 - 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 04:49:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:49:57 04:49:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:49:58 arm64: Pulling from edgex-lftools-log-publisher 04:49:58 8998bd30e6a1: Pulling fs layer 04:49:58 04944245beec: Pulling fs layer 04:49:58 699f458cf7ca: Pulling fs layer 04:49:58 765212b225bb: Pulling fs layer 04:49:58 f23df028b6ca: Pulling fs layer 04:49:58 d65c8cfc05b1: Pulling fs layer 04:49:58 2437ff75d9bd: Pulling fs layer 04:49:58 f23df028b6ca: Waiting 04:49:58 d65c8cfc05b1: Waiting 04:49:58 2437ff75d9bd: Waiting 04:49:58 765212b225bb: Waiting 04:49:58 04944245beec: Verifying Checksum 04:49:58 04944245beec: Download complete 04:49:58 765212b225bb: Verifying Checksum 04:49:58 765212b225bb: Download complete 04:49:58 f23df028b6ca: Verifying Checksum 04:49:58 f23df028b6ca: Download complete 04:49:58 d65c8cfc05b1: Download complete 04:49:58 699f458cf7ca: Verifying Checksum 04:49:58 699f458cf7ca: Download complete 04:49:59 8998bd30e6a1: Verifying Checksum 04:49:59 8998bd30e6a1: Download complete 04:50:01 2437ff75d9bd: Verifying Checksum 04:50:01 2437ff75d9bd: Download complete 04:50:03 8998bd30e6a1: Pull complete 04:50:03 04944245beec: Pull complete 04:50:05 699f458cf7ca: Pull complete 04:50:05 765212b225bb: Pull complete 04:50:06 f23df028b6ca: Pull complete 04:50:06 d65c8cfc05b1: Pull complete 04:50:24 2437ff75d9bd: Pull complete 04:50:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:24 prd-ubuntu20.04-docker-arm64-4c-16g-24076 does not seem to be running inside a container 04:50:25 $ 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/166 -v /w/workspace/device-modbus-go/166:/w/workspace/device-modbus-go/166:rw,z -v /w/workspace/device-modbus-go/166@tmp:/w/workspace/device-modbus-go/166@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 04:50:27 $ docker top 740203e2560664e210993030d3f42a6fb694e652d97ce6bfaff0a6687315fb12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:28 ---> job-cost.sh 04:50:28 lf-activate-venv: SKIPPING 04:50:28 INFO: No Stack... 04:50:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:50:29 INFO: Archiving Costs [Pipeline] sh 04:50:30 + cat /w/workspace/device-modbus-go/166/archives/cost.csv 04:50:30 + cut -d, -f6 [Pipeline] lock 04:50:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] 04:50:30 Resource [jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] did not exist. Created. 04:50:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:50:30 /w/workspace/device-modbus-go/166@tmp/durable-b9c79b6c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:50:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:50:30 Warning: overwriting stash ‘stack-cost’ 04:50:31 Stashed 1 file(s) [Pipeline] } 04:50:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 04:50:31 $ docker stop --time=1 740203e2560664e210993030d3f42a6fb694e652d97ce6bfaff0a6687315fb12 04:50:32 $ docker rm -f --volumes 740203e2560664e210993030d3f42a6fb694e652d97ce6bfaff0a6687315fb12 [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 04:50:33 provisioning config files... 04:50:33 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7682795235947429555tmp [Pipeline] { [Pipeline] sh 04:50:33 + set +x 04:50:33 + curl -s https://codecov.io/bash 04:50:33 + bash -s -- 04:50:33 04:50:33 _____ _ 04:50:33 / ____| | | 04:50:33 | | ___ __| | ___ ___ _____ __ 04:50:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:50:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:50:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:50:33 Bash-1.0.6 04:50:33 04:50:33 04:50:33 ==> git version 2.25.1 found 04:50:33 ==> 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 04:50:33 Release-Date: 2020-01-08 04:50:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:50:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:50:33 ==> Jenkins CI detected. 04:50:33 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 04:50:33 project root: . 04:50:33 --> token set from env 04:50:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:50:33 ==> Running gcov in . (disable via -X gcov) 04:50:33 ==> Python coveragepy not found 04:50:33 ==> Searching for coverage reports in: 04:50:33 + . 04:50:33 -> Found 1 reports 04:50:33 ==> Detecting git/mercurial file structure 04:50:34 ==> Reading reports 04:50:34 + ./coverage.out bytes=25464 04:50:34 ==> Appending adjustments 04:50:34 https://docs.codecov.io/docs/fixing-reports 04:50:34 + Found adjustments 04:50:34 ==> Gzipping contents 04:50:34 4.0K /tmp/codecov.qPqzpF.gz 04:50:34 ==> Uploading reports 04:50:34 url: https://codecov.io 04:50:34 query: branch=main&commit=35d09451af1d455b7a4c4c650ff933a6ae9a5aa3&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:50:34 -> Pinging Codecov 04:50:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=35d09451af1d455b7a4c4c650ff933a6ae9a5aa3&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:50:34 -> Uploading to 04:50:34 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/35d09451af1d455b7a4c4c650ff933a6ae9a5aa3/51a9fdba-614d-4325-afd7-0a2735f04f8e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T045034Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=204111b579eb4b654edd3ca2ed80df73e1eff5617469afdc588da9d66fdf1b41 04:50:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:50:34 Dload Upload Total Spent Left Speed 04:50:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3928 0 0 100 3928 0 17228 --:--:-- --:--:-- --:--:-- 17228 04:50:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] } 04:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:50:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:50:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:50:34 04:50:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:50:35 latest: Pulling from edgex-devops/edgex-snyk-go 04:50:35 43c4264eed91: Already exists 04:50:35 4cc291be95ef: Already exists 04:50:35 2ac1f1163629: Already exists 04:50:35 5c3c966382ef: Already exists 04:50:35 4f4fb700ef54: Already exists 04:50:35 d9c7d2e4e75e: Pulling fs layer 04:50:35 9c3e1370e548: Pulling fs layer 04:50:35 d9c7d2e4e75e: Verifying Checksum 04:50:35 d9c7d2e4e75e: Download complete 04:50:35 d9c7d2e4e75e: Pull complete 04:50:36 9c3e1370e548: Download complete 04:50:39 9c3e1370e548: Pull complete 04:50:39 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 04:50:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:50:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:39 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:50:39 $ 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 04:50:41 $ docker top bda6056c0d9c4f68b51de03253a355f1d139579513415fc8902fd4d2a9228dfe -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 04:50:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 04:50:42 + set -o pipefail 04:50:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 04:50:52 04:50:52 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 04:50:52 04:50:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/c2ed3ba9-6ac2-4337-8b64-9c54937e6b01 04:50:52 04:50:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:50:52 04:50:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:50:52 [Pipeline] } 04:50:52 $ docker stop --time=1 bda6056c0d9c4f68b51de03253a355f1d139579513415fc8902fd4d2a9228dfe 04:50:56 $ docker rm -f --volumes bda6056c0d9c4f68b51de03253a355f1d139579513415fc8902fd4d2a9228dfe [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 04:50:57 + git log --format=format:%s -1 35d09451af1d455b7a4c4c650ff933a6ae9a5aa3 [Pipeline] sh 04:50:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:50:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:57 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:50:58 $ docker top 29fc112a1c536dbb9fe04b07133f83a22b72cf98b2d92d10936e09e82863654a -eo pid,comm 04:50:58 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). 04:50:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:50:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:58 [ssh-agent] Looking for ssh-agent implementation... 04:50:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:58 $ docker exec 29fc112a1c536dbb9fe04b07133f83a22b72cf98b2d92d10936e09e82863654a ssh-agent 04:50:58 SSH_AUTH_SOCK=/tmp/ssh-kqeXk1QmXZoy/agent.32 04:50:58 SSH_AGENT_PID=38 04:50:58 Running ssh-add (command line suppressed) 04:50:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7189496363651557122.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7189496363651557122.key) 04:50:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:59 + git semver tag 04:50:59 2024-10-30 04:50:59,282 [run_tag] DEBUG tag force:False 04:50:59 2024-10-30 04:50:59,282 [check_head_tag] DEBUG check head tag 04:50:59 2024-10-30 04:50:59,283 [execute] INFO git cat-file --batch-check 04:50:59 2024-10-30 04:50:59,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 04:50:59 2024-10-30 04:50:59,286 [execute] INFO git cat-file --batch 04:50:59 2024-10-30 04:50:59,287 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 04:50:59 2024-10-30 04:50:59,305 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:50:59 2024-10-30 04:50:59,305 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 04:50:59 2024-10-30 04:50:59,305 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 04:50:59 2024-10-30 04:50:59,309 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:50:59 4.0.0-dev.1 [Pipeline] } 04:50:59 $ docker exec --env ******** --env ******** 29fc112a1c536dbb9fe04b07133f83a22b72cf98b2d92d10936e09e82863654a ssh-agent -k 04:50:59 unset SSH_AUTH_SOCK; 04:50:59 unset SSH_AGENT_PID; 04:50:59 echo Agent pid 38 killed; 04:50:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:50:59 + git semver [Pipeline] } 04:51:00 $ docker stop --time=1 29fc112a1c536dbb9fe04b07133f83a22b72cf98b2d92d10936e09e82863654a 04:51:01 $ docker rm -f --volumes 29fc112a1c536dbb9fe04b07133f83a22b72cf98b2d92d10936e09e82863654a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:51:01 04:51:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:51:02 0.23.1-centos7: Pulling from edgex-lftools 04:51:02 ab5ef0e58194: Pulling fs layer 04:51:02 9712f1f96733: Pulling fs layer 04:51:02 63f879dbbcfc: Pulling fs layer 04:51:02 0d9ebad4ef96: Pulling fs layer 04:51:02 e9a5061849ea: Pulling fs layer 04:51:02 d747dcd14b5f: Pulling fs layer 04:51:02 2de7ff778b66: Pulling fs layer 04:51:02 e9a5061849ea: Waiting 04:51:02 d747dcd14b5f: Waiting 04:51:02 2de7ff778b66: Waiting 04:51:02 0d9ebad4ef96: Waiting 04:51:02 9712f1f96733: Verifying Checksum 04:51:02 9712f1f96733: Download complete 04:51:02 63f879dbbcfc: Verifying Checksum 04:51:02 63f879dbbcfc: Download complete 04:51:02 e9a5061849ea: Verifying Checksum 04:51:02 e9a5061849ea: Download complete 04:51:02 ab5ef0e58194: Verifying Checksum 04:51:02 ab5ef0e58194: Download complete 04:51:02 d747dcd14b5f: Verifying Checksum 04:51:02 d747dcd14b5f: Download complete 04:51:02 0d9ebad4ef96: Verifying Checksum 04:51:02 0d9ebad4ef96: Download complete 04:51:02 2de7ff778b66: Verifying Checksum 04:51:02 2de7ff778b66: Download complete 04:51:05 ab5ef0e58194: Pull complete 04:51:05 9712f1f96733: Pull complete 04:51:05 63f879dbbcfc: Pull complete 04:51:08 0d9ebad4ef96: Pull complete 04:51:08 e9a5061849ea: Pull complete 04:51:08 d747dcd14b5f: Pull complete 04:51:09 2de7ff778b66: Pull complete 04:51:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:51:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:09 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:51:09 $ 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 04:51:14 $ docker top a7c8cb6f5cbbe22a21b9943b3200a337c71bf45e908124e02cbe177ddb3809f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:51:14 provisioning config files... 04:51:14 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4589454284543742555tmp 04:51:14 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1567066846824729301tmp 04:51:14 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5073348183640690253tmp [Pipeline] { [Pipeline] echo 04:51:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:51:14 ---> sigul-configuration.sh 04:51:14 gpg: directory `/root/.gnupg' created 04:51:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:51:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:51:14 gpg: keyring `/root/.gnupg/secring.gpg' created 04:51:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:51:14 gpg: CAST5 encrypted data 04:51:14 gpg: encrypted with 1 passphrase 04:51:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:51:15 + mkdir /home/jenkins 04:51:15 + mkdir /home/jenkins/sigul [Pipeline] sh 04:51:15 + 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 04:51:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:51:15 ---> sigul-install.sh 04:51:15 Sigul already installed; skipping installation. [Pipeline] sh 04:51:15 + git tag --list 04:51:15 0.7.1 04:51:15 v1.0.0 04:51:15 v1.1.0 04:51:15 v1.1.1 04:51:15 v1.2.2 04:51:15 v1.3.0 04:51:15 v1.3.1 04:51:15 v2.0.0 04:51:15 v2.1.0 04:51:15 v2.1.1 04:51:15 v2.2.0 04:51:15 v2.3.0 04:51:15 v3.0 04:51:15 v3.0.0 04:51:15 v3.1 04:51:15 v3.1.0 04:51:15 v3.1.0-dev.1 04:51:15 v3.1.0-dev.10 04:51:15 v3.1.0-dev.11 04:51:15 v3.1.0-dev.12 04:51:15 v3.1.0-dev.13 04:51:15 v3.1.0-dev.14 04:51:15 v3.1.0-dev.15 04:51:15 v3.1.0-dev.16 04:51:15 v3.1.0-dev.17 04:51:15 v3.1.0-dev.18 04:51:15 v3.1.0-dev.19 04:51:15 v3.1.0-dev.2 04:51:15 v3.1.0-dev.20 04:51:15 v3.1.0-dev.21 04:51:15 v3.1.0-dev.22 04:51:15 v3.1.0-dev.23 04:51:15 v3.1.0-dev.24 04:51:15 v3.1.0-dev.25 04:51:15 v3.1.0-dev.3 04:51:15 v3.1.0-dev.4 04:51:15 v3.1.0-dev.5 04:51:15 v3.1.0-dev.6 04:51:15 v3.1.0-dev.7 04:51:15 v3.1.0-dev.8 04:51:15 v3.1.0-dev.9 04:51:15 v3.1.1 04:51:15 v3.1.1-dev.1 04:51:15 v3.2.0-dev.1 04:51:15 v3.2.0-dev.10 04:51:15 v3.2.0-dev.11 04:51:15 v3.2.0-dev.12 04:51:15 v3.2.0-dev.13 04:51:15 v3.2.0-dev.14 04:51:15 v3.2.0-dev.15 04:51:15 v3.2.0-dev.16 04:51:15 v3.2.0-dev.17 04:51:15 v3.2.0-dev.18 04:51:15 v3.2.0-dev.19 04:51:15 v3.2.0-dev.2 04:51:15 v3.2.0-dev.20 04:51:15 v3.2.0-dev.21 04:51:15 v3.2.0-dev.22 04:51:15 v3.2.0-dev.23 04:51:15 v3.2.0-dev.24 04:51:15 v3.2.0-dev.25 04:51:15 v3.2.0-dev.26 04:51:15 v3.2.0-dev.3 04:51:15 v3.2.0-dev.4 04:51:15 v3.2.0-dev.5 04:51:15 v3.2.0-dev.6 04:51:15 v3.2.0-dev.7 04:51:15 v3.2.0-dev.8 04:51:15 v3.2.0-dev.9 04:51:15 v4.0.0-dev.1 [Pipeline] sh 04:51:16 + lftools sign git-tag v4.0.0-dev.1 04:51:16 Signing Git tag with Sigul... 04:51:16 Signing v4.0.0-dev.1 [Pipeline] echo 04:51:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:51:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:51:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:51:17 $ docker stop --time=1 a7c8cb6f5cbbe22a21b9943b3200a337c71bf45e908124e02cbe177ddb3809f8 04:51:18 $ docker rm -f --volumes a7c8cb6f5cbbe22a21b9943b3200a337c71bf45e908124e02cbe177ddb3809f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:51:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:51:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:19 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:51:19 $ 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 04:51:19 $ docker top c04747d3e8fafa2dd1f3f77dfc3c24eb5926715eeb0c11688f2895ef0bbfebea -eo pid,comm 04:51:19 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). 04:51:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:51:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:20 [ssh-agent] Looking for ssh-agent implementation... 04:51:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:20 $ docker exec c04747d3e8fafa2dd1f3f77dfc3c24eb5926715eeb0c11688f2895ef0bbfebea ssh-agent 04:51:20 SSH_AUTH_SOCK=/tmp/ssh-MkeKiBJx1TI0/agent.32 04:51:20 SSH_AGENT_PID=38 04:51:20 Running ssh-add (command line suppressed) 04:51:20 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4561579720876356497.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4561579720876356497.key) 04:51:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:20 + git semver bump pre 04:51:20 2024-10-30 04:51:20,764 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:51:20 2024-10-30 04:51:20,764 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 04:51:20 2024-10-30 04:51:20,764 [bump_version] DEBUG bumped version:4.0.0-dev.2 04:51:20 2024-10-30 04:51:20,764 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 04:51:20 2024-10-30 04:51:20,764 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:51:20 2024-10-30 04:51:20,765 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:51:20 2024-10-30 04:51:20,766 [execute] INFO git cat-file --batch-check 04:51:20 2024-10-30 04:51:20,766 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:51:20 2024-10-30 04:51:20,772 [execute] INFO git cat-file --batch 04:51:20 2024-10-30 04:51:20,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:51:20 2024-10-30 04:51:20,777 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:51:20 4.0.0-dev.2 [Pipeline] } 04:51:20 $ docker exec --env ******** --env ******** c04747d3e8fafa2dd1f3f77dfc3c24eb5926715eeb0c11688f2895ef0bbfebea ssh-agent -k 04:51:20 unset SSH_AUTH_SOCK; 04:51:20 unset SSH_AGENT_PID; 04:51:20 echo Agent pid 38 killed; 04:51:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:51:21 + git semver [Pipeline] } 04:51:21 $ docker stop --time=1 c04747d3e8fafa2dd1f3f77dfc3c24eb5926715eeb0c11688f2895ef0bbfebea 04:51:22 $ docker rm -f --volumes c04747d3e8fafa2dd1f3f77dfc3c24eb5926715eeb0c11688f2895ef0bbfebea [Pipeline] // withDockerContainer [Pipeline] sh 04:51:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:51:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:23 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:51:23 $ docker top 3474c6484cbfb3612311cb94650bec7e6e92e40fbc9570c4c7ead8f71d0c5592 -eo pid,comm 04:51:23 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). 04:51:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:51:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:24 [ssh-agent] Looking for ssh-agent implementation... 04:51:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:24 $ docker exec 3474c6484cbfb3612311cb94650bec7e6e92e40fbc9570c4c7ead8f71d0c5592 ssh-agent 04:51:24 SSH_AUTH_SOCK=/tmp/ssh-EPfEUeqUO4k0/agent.31 04:51:24 SSH_AGENT_PID=37 04:51:24 Running ssh-add (command line suppressed) 04:51:24 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14795903574920617062.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14795903574920617062.key) 04:51:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:24 + git semver push 04:51:24 2024-10-30 04:51:24,801 [run_push] DEBUG push 04:51:24 2024-10-30 04:51:24,802 [execute] INFO git cat-file --batch-check 04:51:24 2024-10-30 04:51:24,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:51:24 2024-10-30 04:51:24,806 [execute] INFO git rev-list dd748af4d76c079de0558a16ae0ed1ec3e3cca2f -- 04:51:24 2024-10-30 04:51:24,806 [execute] DEBUG Popen(['git', 'rev-list', 'dd748af4d76c079de0558a16ae0ed1ec3e3cca2f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:51:24 2024-10-30 04:51:24,813 [execute] INFO git fetch -v origin 04:51:24 2024-10-30 04:51:24,814 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:51:25 2024-10-30 04:51:25,253 [run_push] DEBUG no remote changes detected 04:51:25 2024-10-30 04:51:25,253 [execute] INFO git push origin semver 04:51:25 2024-10-30 04:51:25,254 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:51:26 2024-10-30 04:51:25,869 [run_push] DEBUG push all version tags 04:51:26 2024-10-30 04:51:25,870 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:51:26 2024-10-30 04:51:25,870 [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) 04:51:26 2024-10-30 04:51:26,473 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 04:51:26 4.0.0-dev.2 [Pipeline] } 04:51:26 $ docker exec --env ******** --env ******** 3474c6484cbfb3612311cb94650bec7e6e92e40fbc9570c4c7ead8f71d0c5592 ssh-agent -k 04:51:26 unset SSH_AUTH_SOCK; 04:51:26 unset SSH_AGENT_PID; 04:51:26 echo Agent pid 37 killed; 04:51:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:51:27 + git semver [Pipeline] } 04:51:27 $ docker stop --time=1 3474c6484cbfb3612311cb94650bec7e6e92e40fbc9570c4c7ead8f71d0c5592 04:51:28 $ docker rm -f --volumes 3474c6484cbfb3612311cb94650bec7e6e92e40fbc9570c4c7ead8f71d0c5592 [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 04:51:29 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 04:51:29 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 04:51:29 total 16 04:51:29 drwxr-xr-x 3 root root 4096 Oct 30 04:39 . 04:51:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 04:51 .. 04:51:29 drwxr-xr-x 2 root root 4096 Oct 30 04:39 cost 04:51:29 -rw-r--r-- 1 root root 88 Oct 30 04:39 cost.csv 04:51:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 04:51:29 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 04:51:29 total 16 04:51:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 04:39 . 04:51:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 04:51 .. 04:51:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 04:39 cost 04:51:29 -rw-r--r-- 1 jenkins jenkins 88 Oct 30 04:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:51:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:51:30 ---> package-listing.sh 04:51:30 ++ facter osfamily 04:51:30 ++ tr '[:upper:]' '[:lower:]' 04:51:30 + OS_FAMILY=debian 04:51:30 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 04:51:30 + START_PACKAGES=/tmp/packages_start.txt 04:51:30 + END_PACKAGES=/tmp/packages_end.txt 04:51:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:51:30 + PACKAGES=/tmp/packages_start.txt 04:51:30 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 04:51:30 + PACKAGES=/tmp/packages_end.txt 04:51:30 + case "${OS_FAMILY}" in 04:51:30 + dpkg -l 04:51:30 + grep '^ii' 04:51:30 + '[' -f /tmp/packages_start.txt ']' 04:51:30 + '[' -f /tmp/packages_end.txt ']' 04:51:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:51:30 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 04:51:30 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 04:51:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 04:51:30 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 04:51:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:31 prd-ubuntu20.04-docker-8c-8g-24075 does not seem to be running inside a container 04:51:31 $ 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 04:51:31 $ docker top 34da7de94dfdcb8b7907c404f5711400ecfbed1da1adbe7c94b202e1d4153e54 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:32 + touch /tmp/pre-build-complete [Pipeline] sh 04:51:32 + mkdir -p /var/log/sysstat [Pipeline] sh 04:51:32 + ls /var/log/sa-host 04:51:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:51:33 provisioning config files... 04:51:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13808168085951086260tmp [Pipeline] { [Pipeline] echo 04:51:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:51:33 ---> create-netrc.sh [Pipeline] } 04:51:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:51:33 ---> python-tools-install.sh [Pipeline] echo 04:51:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:51:33 ---> sudo-logs.sh 04:51:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:51:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:51:34 ---> job-cost.sh 04:51:34 lf-activate-venv: SKIPPING 04:51:34 DEBUG: total: 0.2199999988079071 04:51:34 INFO: Retrieving Stack Cost... 04:51:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:51:35 INFO: Archiving Costs [Pipeline] echo 04:51:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:51:35 ---> logs-deploy.sh 04:51:35 lf-activate-venv: SKIPPING 04:51:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/166 04:51:35 INFO: archiving workspace using pattern(s): 04:51:36 Archives upload complete. 04:51:36 INFO: archiving logs to Nexus