Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7248720eb6e2bf16815f86cf3de46e0922eeefd9 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-ssh14089285199395774706.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-ssh12472762829532759312.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-ssh10434740709036436792.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-ssh14104532247437570911.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-ssh6602962605298153147.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-22699 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 7248720eb6e2bf16815f86cf3de46e0922eeefd9 (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 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 Commit message: "Merge pull request #582 from jackchenjc/edgex-go-issue-4916" > git rev-list --no-walk b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:47:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:47:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:47:41 ========================================================= 07:47:41 EdgeX Global Pipelines Version Info 07:47:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:47:42 ------------------- 07:47:42 stable info: 07:47:42 ------------------- 07:47:42 Commited By: Ginny Guan ginny@iotechsys.com 07:47:42 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:47:42 Message: update stable to v1.0.265 07:47:43 ------------------- 07:47:43 experimental info: 07:47:43 ------------------- 07:47:43 Commited By: Cherry Wang cherry@iotechsys.com 07:47:43 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:47:43 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:47:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:47:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:47:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] echo 07:47:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7248720 [Pipeline] echo 07:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:44 provisioning config files... 07:47:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18015392919986822186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:44 ---> ****-login.sh 07:47:44 nexus3.edgexfoundry.org:10001 07:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:44 Configure a credential helper to remove this warning. See 07:47:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:44 07:47:44 Login Succeeded 07:47:44 nexus3.edgexfoundry.org:10002 07:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:44 Configure a credential helper to remove this warning. See 07:47:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:44 07:47:44 Login Succeeded 07:47:44 nexus3.edgexfoundry.org:10003 07:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:45 Configure a credential helper to remove this warning. See 07:47:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:45 07:47:45 Login Succeeded 07:47:45 nexus3.edgexfoundry.org:10004 07:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:45 Configure a credential helper to remove this warning. See 07:47:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:45 07:47:45 Login Succeeded 07:47:45 ****.io 07:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:45 Configure a credential helper to remove this warning. See 07:47:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:45 07:47:45 Login Succeeded 07:47:45 ---> ****-login.sh ends [Pipeline] } 07:47:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:47:45 + git rev-list -1 --merges 7248720eb6e2bf16815f86cf3de46e0922eeefd9~1..7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] echo 07:47:45 -----------> git rev-list -1 --merges 7248720eb6e2bf16815f86cf3de46e0922eeefd9~1..7248720eb6e2bf16815f86cf3de46e0922eeefd9 7248720eb6e2bf16815f86cf3de46e0922eeefd9 07:47:45 7248720eb6e2bf16815f86cf3de46e0922eeefd9 [false] [Pipeline] sh 07:47:46 + git log --format=format:%s -1 7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] echo 07:47:46 ========================================================= 07:47:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:47:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:46 + git log --format=format:%s -1 7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] echo 07:47:46 [semverPrep] GIT_COMMIT: 7248720eb6e2bf16815f86cf3de46e0922eeefd9, Commit Message: Merge pull request #582 from jackchenjc/edgex-go-issue-4916 [Pipeline] echo 07:47:46 [semverPrep] This is not a build commit. [Pipeline] sh 07:47:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:47:46 + grep -v github /etc/ssh/ssh_known_hosts 07:47:46 + [ -e /tmp/ssh_known_hosts ] 07:47:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:47:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:47:46 + sudo tee -a /etc/ssh/ssh_known_hosts 07:47:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:47 07:47:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:47 0.1.4: Pulling from edgex-devops/py-git-semver 07:47:47 b85a868b505f: Pulling fs layer 07:47:47 e2be974225ed: Pulling fs layer 07:47:47 339a4e72a1f5: Pulling fs layer 07:47:47 988bab9f4d93: Pulling fs layer 07:47:47 1469e6f7b9e6: Pulling fs layer 07:47:47 eaf3925da568: Pulling fs layer 07:47:47 bab4dde63d76: Pulling fs layer 07:47:47 bde34c3a00c8: Pulling fs layer 07:47:47 b352a97aabf1: Pulling fs layer 07:47:47 4872d77fe225: Pulling fs layer 07:47:47 5851b861e8e6: Pulling fs layer 07:47:47 1469e6f7b9e6: Waiting 07:47:47 eaf3925da568: Waiting 07:47:47 4872d77fe225: Waiting 07:47:47 bab4dde63d76: Waiting 07:47:47 bde34c3a00c8: Waiting 07:47:47 5851b861e8e6: Waiting 07:47:47 b352a97aabf1: Waiting 07:47:47 e2be974225ed: Verifying Checksum 07:47:47 e2be974225ed: Download complete 07:47:47 988bab9f4d93: Verifying Checksum 07:47:47 988bab9f4d93: Download complete 07:47:47 1469e6f7b9e6: Verifying Checksum 07:47:47 1469e6f7b9e6: Download complete 07:47:47 339a4e72a1f5: Verifying Checksum 07:47:47 339a4e72a1f5: Download complete 07:47:47 eaf3925da568: Verifying Checksum 07:47:47 eaf3925da568: Download complete 07:47:47 b352a97aabf1: Download complete 07:47:47 4872d77fe225: Verifying Checksum 07:47:47 4872d77fe225: Download complete 07:47:47 5851b861e8e6: Verifying Checksum 07:47:47 5851b861e8e6: Download complete 07:47:47 b85a868b505f: Verifying Checksum 07:47:47 b85a868b505f: Download complete 07:47:47 bab4dde63d76: Verifying Checksum 07:47:47 bab4dde63d76: Download complete 07:47:48 b85a868b505f: Pull complete 07:47:49 e2be974225ed: Pull complete 07:47:49 339a4e72a1f5: Pull complete 07:47:49 988bab9f4d93: Pull complete 07:47:50 1469e6f7b9e6: Pull complete 07:47:50 eaf3925da568: Pull complete 07:47:51 bab4dde63d76: Pull complete 07:47:51 bde34c3a00c8: Pull complete 07:47:51 b352a97aabf1: Pull complete 07:47:51 4872d77fe225: Pull complete 07:47:52 5851b861e8e6: Pull complete 07:47:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:52 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 07:47:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:47:55 $ docker top f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 -eo pid,comm 07:47:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:47:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:55 [ssh-agent] Looking for ssh-agent implementation... 07:47:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:55 $ docker exec f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 ssh-agent 07:47:55 SSH_AUTH_SOCK=/tmp/ssh-1IlaxAo9ZzRO/agent.33 07:47:55 SSH_AGENT_PID=39 07:47:55 Running ssh-add (command line suppressed) 07:47:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17628092371504349549.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17628092371504349549.key) 07:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:56 + git tag --points-at HEAD [Pipeline] } 07:47:56 $ docker exec --env ******** --env ******** f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 ssh-agent -k 07:47:56 unset SSH_AUTH_SOCK; 07:47:56 unset SSH_AGENT_PID; 07:47:56 echo Agent pid 39 killed; 07:47:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:47:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:56 [ssh-agent] Looking for ssh-agent implementation... 07:47:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:56 $ docker exec f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 ssh-agent 07:47:56 SSH_AUTH_SOCK=/tmp/ssh-OofgLb72dW5N/agent.72 07:47:56 SSH_AGENT_PID=78 07:47:56 Running ssh-add (command line suppressed) 07:47:56 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1046046467085131677.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1046046467085131677.key) 07:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:57 + git semver init 07:47:57 2024-10-14 07:47:57,320 [run_init] DEBUG init version:0.0.0 force:False 07:47:57 2024-10-14 07:47:57,321 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:47:57 2024-10-14 07:47:57,321 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:47:57 2024-10-14 07:47:57,322 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:47:58 2024-10-14 07:47:58,365 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:47:58 2024-10-14 07:47:58,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:47:58 2024-10-14 07:47:58,366 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:47:58 2024-10-14 07:47:58,366 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:47:58 3.2.0-dev.26 [Pipeline] } 07:47:58 $ docker exec --env ******** --env ******** f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 ssh-agent -k 07:47:58 unset SSH_AUTH_SOCK; 07:47:58 unset SSH_AGENT_PID; 07:47:58 echo Agent pid 78 killed; 07:47:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:47:59 + git semver [Pipeline] } 07:47:59 $ docker stop --time=1 f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 07:48:00 $ docker rm -f --volumes f7e93c6f6654e67409c3b8ecc9db4168ce83332de5f1c12894e5005a3626ea38 [Pipeline] // withDockerContainer [Pipeline] sh 07:48:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:48:01 Stashed 1 file(s) [Pipeline] echo 07:48:01 [edgeXSemver]: initialized semver on version 3.2.0-dev.26 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:01 provisioning config files... 07:48:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2199149920746214098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:01 ---> ****-login.sh 07:48:01 nexus3.edgexfoundry.org:10001 07:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:01 Configure a credential helper to remove this warning. See 07:48:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:01 07:48:01 Login Succeeded 07:48:01 nexus3.edgexfoundry.org:10002 07:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:01 Configure a credential helper to remove this warning. See 07:48:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:01 07:48:01 Login Succeeded 07:48:01 nexus3.edgexfoundry.org:10003 07:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:02 Configure a credential helper to remove this warning. See 07:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:02 07:48:02 Login Succeeded 07:48:02 nexus3.edgexfoundry.org:10004 07:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:02 Configure a credential helper to remove this warning. See 07:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:02 07:48:02 Login Succeeded 07:48:02 ****.io 07:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:48:02 Configure a credential helper to remove this warning. See 07:48:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:48:02 07:48:02 Login Succeeded 07:48:02 ---> ****-login.sh ends [Pipeline] } 07:48:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:48:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:48:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:48:02 ========================================================= 07:48:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:48:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48: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 . 07:48:02 Sending build context to Docker daemon 17.94MB 07:48:02 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:48:02 Step 2/10 : FROM ${BASE} AS builder 07:48:02 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:48:02 43c4264eed91: Pulling fs layer 07:48:02 4cc291be95ef: Pulling fs layer 07:48:02 2ac1f1163629: Pulling fs layer 07:48:02 5c3c966382ef: Pulling fs layer 07:48:02 4f4fb700ef54: Pulling fs layer 07:48:02 5d5c8e513c77: Pulling fs layer 07:48:02 9f66e0745190: Pulling fs layer 07:48:02 f49a43e4bbc0: Pulling fs layer 07:48:02 561ebcabdf7f: Pulling fs layer 07:48:02 5d5c8e513c77: Waiting 07:48:02 561ebcabdf7f: Waiting 07:48:02 9f66e0745190: Waiting 07:48:02 5c3c966382ef: Waiting 07:48:02 4f4fb700ef54: Waiting 07:48:02 f49a43e4bbc0: Waiting 07:48:03 4cc291be95ef: Verifying Checksum 07:48:03 4cc291be95ef: Download complete 07:48:03 5c3c966382ef: Verifying Checksum 07:48:03 5c3c966382ef: Download complete 07:48:03 4f4fb700ef54: Download complete 07:48:03 5d5c8e513c77: Verifying Checksum 07:48:03 5d5c8e513c77: Download complete 07:48:03 43c4264eed91: Verifying Checksum 07:48:03 43c4264eed91: Download complete 07:48:03 9f66e0745190: Verifying Checksum 07:48:03 9f66e0745190: Download complete 07:48:03 43c4264eed91: Pull complete 07:48:03 561ebcabdf7f: Verifying Checksum 07:48:03 561ebcabdf7f: Download complete 07:48:03 4cc291be95ef: Pull complete 07:48:03 2ac1f1163629: Verifying Checksum 07:48:03 2ac1f1163629: Download complete 07:48:03 f49a43e4bbc0: Verifying Checksum 07:48:03 f49a43e4bbc0: Download complete 07:48:07 2ac1f1163629: Pull complete 07:48:07 5c3c966382ef: Pull complete 07:48:07 4f4fb700ef54: Pull complete 07:48:07 5d5c8e513c77: Pull complete 07:48:07 9f66e0745190: Pull complete 07:48:09 f49a43e4bbc0: Pull complete 07:48:09 561ebcabdf7f: Pull complete 07:48:09 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:48:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:48:09 ---> 3a752c3f9dda 07:48:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:48:14 ---> Running in 31d0a0e3d877 07:48:14 Removing intermediate container 31d0a0e3d877 07:48:14 ---> 463ae55a8a4a 07:48:14 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:14 ---> Running in 658924eef781 07:48:14 Removing intermediate container 658924eef781 07:48:14 ---> 669368a7a946 07:48:14 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:48:14 ---> Running in af65a0e93acf 07:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:48:15 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:48:15 (2/8) Installing libedit (20240517.3.1-r0) 07:48:15 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:48:15 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:48:15 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:48:15 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:48:15 (7/8) Installing openssh-server (9.7_p1-r4) 07:48:15 (8/8) Installing openssh (9.7_p1-r4) 07:48:15 Executing busybox-1.36.1-r29.trigger 07:48:15 OK: 252 MiB in 62 packages 07:48:16 Removing intermediate container af65a0e93acf 07:48:16 ---> 54d3bfd03d0a 07:48:16 Step 6/10 : WORKDIR /device-modbus-go 07:48:16 ---> Running in 0ac1e519486b 07:48:16 Removing intermediate container 0ac1e519486b 07:48:16 ---> a0db2056d3b1 07:48:16 Step 7/10 : COPY go.mod vendor* ./ 07:48:16 Still waiting to schedule task 07:48:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:48:16 ---> 30ae84baeb33 07:48:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:16 ---> Running in 8a3032b4531a 07:49:03 Removing intermediate container 8a3032b4531a 07:49:03 ---> 8780466a3008 07:49:03 Step 9/10 : COPY . . 07:49:03 ---> 2e89e8b50f55 07:49:03 Step 10/10 : RUN ${MAKE} 07:49:03 ---> Running in 2c34cf1d4de2 07:49:03 noop 07:49:03 Removing intermediate container 2c34cf1d4de2 07:49:03 ---> d982d51020a8 07:49:03 Successfully built d982d51020a8 07:49:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:03 + docker inspect -f . ci-base-image-x86_64 07:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:03 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 07:49:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:49:04 $ docker top 868634c0573fc311046b549ac99248969b3287b77c96366603f8c8fe0048ff9c -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:04 + go version 07:49:04 go version go1.23.2 linux/amd64 [Pipeline] } 07:49:04 $ docker stop --time=1 868634c0573fc311046b549ac99248969b3287b77c96366603f8c8fe0048ff9c 07:49:05 $ docker rm -f --volumes 868634c0573fc311046b549ac99248969b3287b77c96366603f8c8fe0048ff9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:06 + docker inspect -f . ci-base-image-x86_64 07:49:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:06 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 07:49:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:49:06 $ docker top f96a5a8a790d7b291f187166a5621ec91243ba077aa6ecbf13cad32345746c9c -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:49:07 + make test 07:49:07 go test ./... -coverprofile=coverage.out 07:49:09 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:49:31 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:49:31 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 07:49:39 go vet ./... 07:49:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:49:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:49:45 ./bin/test-attribution-txt.sh [Pipeline] echo 07:49:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:49:45 $ docker stop --time=1 f96a5a8a790d7b291f187166a5621ec91243ba077aa6ecbf13cad32345746c9c 07:49:49 $ docker rm -f --volumes f96a5a8a790d7b291f187166a5621ec91243ba077aa6ecbf13cad32345746c9c [Pipeline] // withDockerContainer [Pipeline] sh 07:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:49:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:49:51 + ls -al . 07:49:51 total 272 07:49:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:49 . 07:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:47 .. 07:49:51 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 07:47 .dockerignore 07:49:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:49 .git 07:49:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:47 .github 07:49:51 -rw-rw-r-- 1 jenkins jenkins 266 Oct 14 07:47 .gitignore 07:49:51 -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 07:47 .golangci.yml 07:49:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:47 .semver 07:49:51 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 14 07:47 Attribution.txt 07:49:51 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 14 07:47 CHANGELOG.md 07:49:51 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 14 07:47 Dockerfile 07:49:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:47 GOVERNANCE.md 07:49:51 -rw-rw-r-- 1 jenkins jenkins 658 Oct 14 07:47 Jenkinsfile 07:49:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:47 LICENSE 07:49:51 -rw-rw-r-- 1 jenkins jenkins 2479 Oct 14 07:47 Makefile 07:49:51 -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 07:47 OWNERS.md 07:49:51 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 14 07:47 README.md 07:49:51 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 07:48 VERSION 07:49:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:47 bin 07:49:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:47 cmd 07:49:51 -rw-r--r-- 1 jenkins jenkins 24669 Oct 14 07:49 coverage.out 07:49:51 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 14 07:47 go.mod 07:49:51 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 14 07:47 go.sum 07:49:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:47 internal 07:49:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:47 simulator 07:49:51 -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:51 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7248720eb6e2bf16815f86cf3de46e0922eeefd9 --label arch=amd64 --label version=3.2.0-dev.26 . 07:49:51 Sending build context to Docker daemon 17.96MB 07:49:51 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:49:51 Step 2/23 : FROM ${BASE} AS builder 07:49:51 ---> d982d51020a8 07:49:51 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:49:51 ---> Running in 740aea2b3a65 07:49:52 Removing intermediate container 740aea2b3a65 07:49:52 ---> 661c3619cf2d 07:49:52 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:49:52 ---> Running in cef76a4e688b 07:49:52 Removing intermediate container cef76a4e688b 07:49:52 ---> e6f5d02a43ba 07:49:52 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:49:52 ---> Running in db274fb44547 07:49:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:49:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:49:53 OK: 252 MiB in 62 packages 07:49:53 Removing intermediate container db274fb44547 07:49:53 ---> bb8a6160479a 07:49:53 Step 6/23 : WORKDIR /device-modbus-go 07:49:53 ---> Running in 7b2f14498fb7 07:49:53 Removing intermediate container 7b2f14498fb7 07:49:53 ---> d3cab939f297 07:49:53 Step 7/23 : COPY go.mod vendor* ./ 07:49:53 ---> a4df7e3c52dc 07:49:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:53 ---> Running in b82d3dc75352 07:49:54 Removing intermediate container b82d3dc75352 07:49:54 ---> 2740584ebbb5 07:49:54 Step 9/23 : COPY . . 07:49:55 ---> 9bc1ca4af5af 07:49:55 Step 10/23 : RUN ${MAKE} 07:49:55 ---> Running in 4b56be0f9d54 07:49:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.26 -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 07:50:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22703 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:50:32 Running in /w/workspace/device-modbus-go/165 [Pipeline] { [Pipeline] checkout 07:50:34 Removing intermediate container 4b56be0f9d54 07:50:34 ---> d441c13e8e3f 07:50:34 Step 11/23 : FROM alpine:3.20 07:50:34 3.20: Pulling from library/alpine 07:50:34 43c4264eed91: Already exists 07:50:34 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:50:34 Status: Downloaded newer image for alpine:3.20 07:50:34 ---> 91ef0af61f39 07:50:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:50:34 ---> Running in 788bdca44941 07:50:34 Removing intermediate container 788bdca44941 07:50:34 ---> 5cd92ee04eb1 07:50:34 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:50:34 ---> Running in 58f4ba54589e 07:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:50:34 (1/1) Installing dumb-init (1.2.5-r3) 07:50:34 Executing busybox-1.36.1-r29.trigger 07:50:34 OK: 8 MiB in 15 packages 07:50:34 Removing intermediate container 58f4ba54589e 07:50:34 ---> af1e21056df9 07:50:34 Step 14/23 : RUN apk --no-cache upgrade 07:50:34 ---> Running in 9eadf1f13fa3 07:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:50:34 Upgrading critical system libraries and apk-tools: 07:50:34 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:50:34 Executing busybox-1.36.1-r29.trigger 07:50:34 Continuing the upgrade transaction with new apk-tools: 07:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:50:34 OK: 8 MiB in 15 packages 07:50:34 Removing intermediate container 9eadf1f13fa3 07:50:34 ---> 440bfb28e2b1 07:50:34 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:50:34 ---> 12154fe62d5e 07:50:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:50:34 ---> b8737c263e69 07:50:34 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:50:34 ---> 347193a5aebf 07:50:34 Step 18/23 : EXPOSE 59901 07:50:34 ---> Running in f7ed74f51227 07:50:34 Removing intermediate container f7ed74f51227 07:50:34 ---> ff33dd57bfbc 07:50:34 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:50:34 ---> Running in 27cfee7caa0d 07:50:34 Removing intermediate container 27cfee7caa0d 07:50:34 ---> b826ada90b56 07:50:34 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:50:34 ---> Running in 1502da32b957 07:50:34 Removing intermediate container 1502da32b957 07:50:34 ---> 54a4f874ab3b 07:50:34 Step 21/23 : LABEL arch=amd64 07:50:34 ---> Running in f38c307578ac 07:50:34 Removing intermediate container f38c307578ac 07:50:34 ---> cafb57c4efa9 07:50:34 Step 22/23 : LABEL git_sha=7248720eb6e2bf16815f86cf3de46e0922eeefd9 07:50:34 ---> Running in 8228cb558b08 07:50:34 Removing intermediate container 8228cb558b08 07:50:34 ---> 0ccb88bb9a9d 07:50:34 Step 23/23 : LABEL version=3.2.0-dev.26 07:50:34 ---> Running in 5f6fdf4c567a 07:50:34 Removing intermediate container 5f6fdf4c567a 07:50:34 ---> 14b015b8c6a0 07:50:34 [Warning] One or more build-args [ARCH] were not consumed 07:50:34 Successfully built 14b015b8c6a0 07:50:34 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv 07:50:35 The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:36 provisioning config files... 07:50:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6614504339061269959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:36 ---> ****-login.sh 07:50:36 nexus3.edgexfoundry.org:10001 07:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:36 Configure a credential helper to remove this warning. See 07:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:36 07:50:36 Login Succeeded 07:50:36 nexus3.edgexfoundry.org:10002 07:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:36 Configure a credential helper to remove this warning. See 07:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:36 07:50:36 Login Succeeded 07:50:36 nexus3.edgexfoundry.org:10003 07:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:36 Configure a credential helper to remove this warning. See 07:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:36 07:50:36 Login Succeeded 07:50:36 nexus3.edgexfoundry.org:10004 07:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:36 Configure a credential helper to remove this warning. See 07:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:36 07:50:36 Login Succeeded 07:50:36 ****.io 07:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:36 Configure a credential helper to remove this warning. See 07:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:36 07:50:36 Login Succeeded 07:50:36 ---> ****-login.sh ends [Pipeline] } 07:50:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:36 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:50:36 7248720eb6e2bf16815f86cf3de46e0922eeefd9 07:50:36 latest 07:50:36 3.2.0-dev.26 07:50:36 7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 07:50:36 main 07:50:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7248720eb6e2bf16815f86cf3de46e0922eeefd9 07:50:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:50:37 5b5efa22e2b2: Preparing 07:50:37 08a460535528: Preparing 07:50:37 f372d10922c5: Preparing 07:50:37 5b656b4fef08: Preparing 07:50:37 7522ffbb6556: Preparing 07:50:37 63ca1fbb43ae: Preparing 07:50:37 63ca1fbb43ae: Waiting 07:50:37 5b5efa22e2b2: Pushed 07:50:37 63ca1fbb43ae: Layer already exists 07:50:37 08a460535528: Pushed 07:50:37 5b656b4fef08: Pushed 07:50:37 7522ffbb6556: Pushed 07:50:42 using credential edgex-jenkins-ssh 07:50:42 Cloning the remote Git repository 07:50:43 f372d10922c5: Pushed 07:50:43 7248720eb6e2bf16815f86cf3de46e0922eeefd9: digest: sha256:714764202a64b1bab2a6c67ae61c25e675143ebbe8ea58c0ce77178f395c0747 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:42 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:50:42 > git init /w/workspace/device-modbus-go/165 # timeout=10 07:50:42 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:50:42 > git --version # timeout=10 07:50:42 > git --version # 'git version 2.25.1' 07:50:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:50:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:50:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:50:43 5b5efa22e2b2: Preparing 07:50:43 08a460535528: Preparing 07:50:43 f372d10922c5: Preparing 07:50:43 5b656b4fef08: Preparing 07:50:43 7522ffbb6556: Preparing 07:50:43 63ca1fbb43ae: Preparing 07:50:43 63ca1fbb43ae: Waiting 07:50:43 5b5efa22e2b2: Layer already exists 07:50:43 7522ffbb6556: Layer already exists 07:50:43 f372d10922c5: Layer already exists 07:50:43 5b656b4fef08: Layer already exists 07:50:43 08a460535528: Layer already exists 07:50:43 63ca1fbb43ae: Layer already exists 07:50:43 latest: digest: sha256:714764202a64b1bab2a6c67ae61c25e675143ebbe8ea58c0ce77178f395c0747 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.26 07:50:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:50:44 5b5efa22e2b2: Preparing 07:50:44 08a460535528: Preparing 07:50:44 f372d10922c5: Preparing 07:50:44 5b656b4fef08: Preparing 07:50:44 7522ffbb6556: Preparing 07:50:44 63ca1fbb43ae: Preparing 07:50:44 63ca1fbb43ae: Waiting 07:50:44 7522ffbb6556: Layer already exists 07:50:44 f372d10922c5: Layer already exists 07:50:44 08a460535528: Layer already exists 07:50:44 5b656b4fef08: Layer already exists 07:50:44 5b5efa22e2b2: Layer already exists 07:50:44 63ca1fbb43ae: Layer already exists 07:50:44 3.2.0-dev.26: digest: sha256:714764202a64b1bab2a6c67ae61c25e675143ebbe8ea58c0ce77178f395c0747 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:44 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 07:50:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:50:45 5b5efa22e2b2: Preparing 07:50:45 08a460535528: Preparing 07:50:45 f372d10922c5: Preparing 07:50:45 5b656b4fef08: Preparing 07:50:45 7522ffbb6556: Preparing 07:50:45 63ca1fbb43ae: Preparing 07:50:45 63ca1fbb43ae: Waiting 07:50:45 7522ffbb6556: Layer already exists 07:50:45 f372d10922c5: Layer already exists 07:50:45 5b5efa22e2b2: Layer already exists 07:50:45 08a460535528: Layer already exists 07:50:45 5b656b4fef08: Layer already exists 07:50:45 63ca1fbb43ae: Layer already exists 07:50:45 7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26: digest: sha256:714764202a64b1bab2a6c67ae61c25e675143ebbe8ea58c0ce77178f395c0747 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:45 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:45 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:50:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:50:45 5b5efa22e2b2: Preparing 07:50:45 08a460535528: Preparing 07:50:45 f372d10922c5: Preparing 07:50:45 5b656b4fef08: Preparing 07:50:45 7522ffbb6556: Preparing 07:50:45 63ca1fbb43ae: Preparing 07:50:45 63ca1fbb43ae: Waiting 07:50:45 f372d10922c5: Layer already exists 07:50:45 7522ffbb6556: Layer already exists 07:50:45 08a460535528: Layer already exists 07:50:45 5b656b4fef08: Layer already exists 07:50:45 5b5efa22e2b2: Layer already exists 07:50:45 63ca1fbb43ae: Layer already exists 07:50:45 main: digest: sha256:714764202a64b1bab2a6c67ae61c25e675143ebbe8ea58c0ce77178f395c0747 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:50:45 ===================================================== [Pipeline] echo 07:50:45 taggedImages: 07:50:45 - nexus3.edgexfoundry.org:10004/device-modbus:7248720eb6e2bf16815f86cf3de46e0922eeefd9 07:50:45 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:50:45 - nexus3.edgexfoundry.org:10004/device-modbus:3.2.0-dev.26 07:50:45 - nexus3.edgexfoundry.org:10004/device-modbus:7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 07:50:45 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:46 07:50:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:50:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:50:46 Avoid second fetch 07:50:46 Checking out Revision 7248720eb6e2bf16815f86cf3de46e0922eeefd9 (main) 07:50:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:46 latest: Pulling from edgex-lftools-log-publisher 07:50:46 5eb5b503b376: Pulling fs layer 07:50:46 5c69ac0246d0: Pulling fs layer 07:50:46 ec43610c2a17: Pulling fs layer 07:50:46 3a2ae6a8a46f: Pulling fs layer 07:50:46 33b1e0a273af: Pulling fs layer 07:50:46 5d3b04190fa2: Pulling fs layer 07:50:46 2f39f015ded8: Pulling fs layer 07:50:46 33b1e0a273af: Waiting 07:50:46 2f39f015ded8: Waiting 07:50:46 5d3b04190fa2: Waiting 07:50:46 3a2ae6a8a46f: Waiting 07:50:46 5c69ac0246d0: Download complete 07:50:46 3a2ae6a8a46f: Verifying Checksum 07:50:46 3a2ae6a8a46f: Download complete 07:50:46 33b1e0a273af: Verifying Checksum 07:50:46 33b1e0a273af: Download complete 07:50:46 5d3b04190fa2: Verifying Checksum 07:50:46 5d3b04190fa2: Download complete 07:50:46 ec43610c2a17: Verifying Checksum 07:50:46 ec43610c2a17: Download complete 07:50:46 5eb5b503b376: Verifying Checksum 07:50:46 5eb5b503b376: Download complete 07:50:47 2f39f015ded8: Download complete 07:50:47 Commit message: "Merge pull request #582 from jackchenjc/edgex-go-issue-4916" 07:50:46 > git config core.sparsecheckout # timeout=10 07:50:46 > git checkout -f 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 07:50:47 5eb5b503b376: Pull complete 07:50:47 5c69ac0246d0: Pull complete 07:50:48 ec43610c2a17: Pull complete 07:50:48 3a2ae6a8a46f: Pull complete 07:50:48 33b1e0a273af: Pull complete 07:50:48 5d3b04190fa2: Pull complete 07:50:51 07:50:51 GitHub has been notified of this commit’s build result 07:50:51 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 07:50:52 Dload Upload Total Spent Left Speed 07:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 07:50:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:50:52 2f39f015ded8: Pull complete 07:50:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:50:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:53 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 07:50:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:50:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:50:53 + sudo tee /etc/docker/daemon.new 07:50:53 { 07:50:53 "registry-mirrors": [ 07:50:53 "https://nexus3.edgexfoundry.org:10001" 07:50:53 ], 07:50:53 "bip": "10.250.0.254/24", 07:50:53 "hosts": [ 07:50:53 "tcp://0.0.0.0:5555", 07:50:53 "unix:///var/run/docker.sock" 07:50:53 ], 07:50:53 "mtu": 1458, 07:50:53 "selinux-enabled": true, 07:50:53 "seccomp-profile": "/etc/docker/seccomp.json" 07:50:53 } 07:50:57 $ docker top 26ff07ec9765428bc6acbd9c1e107cef2391525cfa85a314e1b6a3d6c7efffb2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 07:50:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:50:57 ---> job-cost.sh 07:50:57 lf-activate-venv: SKIPPING 07:50:57 INFO: No Stack... 07:50:58 + sudo service docker restart 07:50:58 INFO: Retrieving Pricing Info for: v3-standard-8 07:50:58 INFO: Archiving Costs [Pipeline] sh 07:50:59 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:50:59 + cut -d, -f6 [Pipeline] lock 07:50:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] 07:50:59 Resource [jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] did not exist. Created. 07:50:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:50:59 + echo total: 0.2199999988079071 [Pipeline] stash 07:50:59 Stashed 1 file(s) [Pipeline] } 07:50:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 07:50:59 $ docker stop --time=1 26ff07ec9765428bc6acbd9c1e107cef2391525cfa85a314e1b6a3d6c7efffb2 07:51:00 $ docker rm -f --volumes 26ff07ec9765428bc6acbd9c1e107cef2391525cfa85a314e1b6a3d6c7efffb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:16 provisioning config files... 07:51:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/165@tmp/config14739096214211501506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:17 ---> ****-login.sh 07:51:17 nexus3.edgexfoundry.org:10001 07:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:17 Configure a credential helper to remove this warning. See 07:51:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:17 07:51:17 Login Succeeded 07:51:17 nexus3.edgexfoundry.org:10002 07:51:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:18 Configure a credential helper to remove this warning. See 07:51:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:18 07:51:18 Login Succeeded 07:51:18 nexus3.edgexfoundry.org:10003 07:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:18 Configure a credential helper to remove this warning. See 07:51:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:18 07:51:18 Login Succeeded 07:51:18 nexus3.edgexfoundry.org:10004 07:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:19 Configure a credential helper to remove this warning. See 07:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:19 07:51:19 Login Succeeded 07:51:19 ****.io 07:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:19 Configure a credential helper to remove this warning. See 07:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:19 07:51:19 Login Succeeded 07:51:19 ---> ****-login.sh ends [Pipeline] } 07:51:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:51:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:51:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:51:20 ========================================================= 07:51:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:51:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:51:21 Sending build context to Docker daemon 9.11MB 07:51:21 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:51:21 Step 2/10 : FROM ${BASE} AS builder 07:51:21 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:51:21 cf04c63912e1: Pulling fs layer 07:51:21 55b35a11ae5e: Pulling fs layer 07:51:21 a37a00ec5f00: Pulling fs layer 07:51:21 50b3750afda1: Pulling fs layer 07:51:21 4f4fb700ef54: Pulling fs layer 07:51:21 80978eb59214: Pulling fs layer 07:51:21 c9f46d7d2bd2: Pulling fs layer 07:51:21 c5a475d317c9: Pulling fs layer 07:51:21 80978eb59214: Waiting 07:51:21 c9f46d7d2bd2: Waiting 07:51:21 50b3750afda1: Waiting 07:51:21 4f4fb700ef54: Waiting 07:51:21 c5a475d317c9: Waiting 07:51:21 55b35a11ae5e: Verifying Checksum 07:51:21 55b35a11ae5e: Download complete 07:51:21 50b3750afda1: Verifying Checksum 07:51:21 50b3750afda1: Download complete 07:51:21 4f4fb700ef54: Download complete 07:51:21 80978eb59214: Verifying Checksum 07:51:21 80978eb59214: Download complete 07:51:21 cf04c63912e1: Verifying Checksum 07:51:21 cf04c63912e1: Download complete 07:51:21 c5a475d317c9: Verifying Checksum 07:51:21 c5a475d317c9: Download complete 07:51:22 cf04c63912e1: Pull complete 07:51:22 55b35a11ae5e: Pull complete 07:51:23 a37a00ec5f00: Verifying Checksum 07:51:23 a37a00ec5f00: Download complete 07:51:24 c9f46d7d2bd2: Verifying Checksum 07:51:24 c9f46d7d2bd2: Download complete 07:51:36 a37a00ec5f00: Pull complete 07:51:36 50b3750afda1: Pull complete 07:51:36 4f4fb700ef54: Pull complete 07:51:37 80978eb59214: Pull complete 07:51:45 c9f46d7d2bd2: Pull complete 07:51:46 c5a475d317c9: Pull complete 07:51:46 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 07:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:51:46 ---> be29e6b0f0d4 07:51:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:51:49 ---> Running in 741abe49bd23 07:51:49 Removing intermediate container 741abe49bd23 07:51:49 ---> 96c43992472d 07:51:49 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:51:49 ---> Running in b87d8df003ce 07:51:49 Removing intermediate container b87d8df003ce 07:51:49 ---> 789a47f57523 07:51:49 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:51:49 ---> Running in c5a5cd1172ef 07:51:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:51:53 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:51:53 (2/8) Installing libedit (20240517.3.1-r0) 07:51:53 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:51:53 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:51:53 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:51:53 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:51:53 (7/8) Installing openssh-server (9.7_p1-r4) 07:51:54 (8/8) Installing openssh (9.7_p1-r4) 07:51:54 Executing busybox-1.36.1-r29.trigger 07:51:54 OK: 244 MiB in 62 packages 07:51:55 Removing intermediate container c5a5cd1172ef 07:51:55 ---> 94303b8cdc3d 07:51:55 Step 6/10 : WORKDIR /device-modbus-go 07:51:55 ---> Running in 66f14ce3361a 07:51:55 Removing intermediate container 66f14ce3361a 07:51:55 ---> 7412af1f2840 07:51:55 Step 7/10 : COPY go.mod vendor* ./ 07:51:56 ---> 0abc796c86dc 07:51:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:51:56 ---> Running in a73e755ab12b 07:54:03 Removing intermediate container a73e755ab12b 07:54:03 ---> 2421017013e5 07:54:03 Step 9/10 : COPY . . 07:54:03 ---> bcddc2ca21d8 07:54:03 Step 10/10 : RUN ${MAKE} 07:54:03 ---> Running in 2621e73b541b 07:54:03 noop 07:54:03 Removing intermediate container 2621e73b541b 07:54:03 ---> f95262634660 07:54:03 Successfully built f95262634660 07:54:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:04 + docker inspect -f . ci-base-image-arm64 07:54:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:04 prd-ubuntu20.04-docker-arm64-4c-16g-22703 does not seem to be running inside a container 07:54:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/165 -v /w/workspace/device-modbus-go/165:/w/workspace/device-modbus-go/165:rw,z -v /w/workspace/device-modbus-go/165@tmp:/w/workspace/device-modbus-go/165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:54:06 $ docker top 4c4c442d79d269957b5396b1d30b59e0d81bb898068a31d9f439a8c13dff34b9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:07 + go version 07:54:07 go version go1.23.2 linux/arm64 [Pipeline] } 07:54:07 $ docker stop --time=1 4c4c442d79d269957b5396b1d30b59e0d81bb898068a31d9f439a8c13dff34b9 07:54:09 $ docker rm -f --volumes 4c4c442d79d269957b5396b1d30b59e0d81bb898068a31d9f439a8c13dff34b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:09 + docker inspect -f . ci-base-image-arm64 07:54:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:10 prd-ubuntu20.04-docker-arm64-4c-16g-22703 does not seem to be running inside a container 07:54:10 $ 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/165 -v /w/workspace/device-modbus-go/165:/w/workspace/device-modbus-go/165:rw,z -v /w/workspace/device-modbus-go/165@tmp:/w/workspace/device-modbus-go/165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:54:11 $ docker top 7e8761b14058f01c1b11867d761df74fec9bd6a2b103873715a11848616fbd52 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:12 + git config --global --add safe.directory /w/workspace/device-modbus-go/165 [Pipeline] fileExists [Pipeline] sh 07:54:13 + make test 07:54:13 go test ./... -coverprofile=coverage.out 07:54:21 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:59:13 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:59:16 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.067s coverage: 47.9% of statements 07:59:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:59:17 go vet ./... 08:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:00:27 ./bin/test-attribution-txt.sh [Pipeline] echo 08:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:00:27 $ docker stop --time=1 7e8761b14058f01c1b11867d761df74fec9bd6a2b103873715a11848616fbd52 08:00:29 $ docker rm -f --volumes 7e8761b14058f01c1b11867d761df74fec9bd6a2b103873715a11848616fbd52 [Pipeline] // withDockerContainer [Pipeline] sh 08:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:00:32 Warning: overwriting stash ‘coverage-report’ 08:00:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:00:34 + ls -al . 08:00:34 total 268 08:00:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:54 . 08:00:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:50 .. 08:00:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 07:50 .dockerignore 08:00:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:50 .git 08:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:50 .github 08:00:34 -rw-rw-r-- 1 jenkins jenkins 266 Oct 14 07:50 .gitignore 08:00:34 -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 07:50 .golangci.yml 08:00:34 -rw-rw-r-- 1 jenkins jenkins 19818 Oct 14 07:50 Attribution.txt 08:00:34 -rw-rw-r-- 1 jenkins jenkins 16388 Oct 14 07:50 CHANGELOG.md 08:00:34 -rw-rw-r-- 1 jenkins jenkins 1474 Oct 14 07:50 Dockerfile 08:00:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:50 GOVERNANCE.md 08:00:34 -rw-rw-r-- 1 jenkins jenkins 658 Oct 14 07:50 Jenkinsfile 08:00:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:50 LICENSE 08:00:34 -rw-rw-r-- 1 jenkins jenkins 2479 Oct 14 07:50 Makefile 08:00:34 -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 07:50 OWNERS.md 08:00:34 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 14 07:50 README.md 08:00:34 -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 07:48 VERSION 08:00:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:50 bin 08:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:50 cmd 08:00:34 -rw-r--r-- 1 jenkins jenkins 24669 Oct 14 07:59 coverage.out 08:00:34 -rw-rw-r-- 1 jenkins jenkins 7157 Oct 14 07:50 go.mod 08:00:34 -rw-rw-r-- 1 jenkins jenkins 100518 Oct 14 07:50 go.sum 08:00:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:50 internal 08:00:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:50 simulator 08:00:34 -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 07:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:34 + 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=7248720eb6e2bf16815f86cf3de46e0922eeefd9 --label arch=arm64 --label version=3.2.0-dev.26 . 08:00:35 Sending build context to Docker daemon 9.135MB 08:00:35 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 08:00:35 Step 2/23 : FROM ${BASE} AS builder 08:00:35 ---> f95262634660 08:00:35 Step 3/23 : ARG ADD_BUILD_TAGS="" 08:00:35 ---> Running in 74480a831fb9 08:00:35 Removing intermediate container 74480a831fb9 08:00:35 ---> 5b8fe8919fb3 08:00:35 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:00:35 ---> Running in 6fb3d9712c1a 08:00:36 Removing intermediate container 6fb3d9712c1a 08:00:36 ---> 8cd0da49ca17 08:00:36 Step 5/23 : RUN apk add --update --no-cache make git openssh 08:00:36 ---> Running in 80378917a107 08:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:00:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:00:40 OK: 244 MiB in 62 packages 08:00:41 Removing intermediate container 80378917a107 08:00:41 ---> cc41e4f3e703 08:00:41 Step 6/23 : WORKDIR /device-modbus-go 08:00:41 ---> Running in 72472391e383 08:00:41 Removing intermediate container 72472391e383 08:00:41 ---> 19b0defb05b9 08:00:41 Step 7/23 : COPY go.mod vendor* ./ 08:00:42 ---> bf938cf70235 08:00:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:00:42 ---> Running in 89aebf8b4098 08:00:45 Removing intermediate container 89aebf8b4098 08:00:45 ---> dbc420f523e7 08:00:45 Step 9/23 : COPY . . 08:00:46 ---> 6e82c52da133 08:00:46 Step 10/23 : RUN ${MAKE} 08:00:46 ---> Running in 2f41d717cd31 08:00:47 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=3.2.0-dev.26 -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 08:05:09 Removing intermediate container 2f41d717cd31 08:05:09 ---> f8702d203759 08:05:09 Step 11/23 : FROM alpine:3.20 08:05:09 3.20: Pulling from library/alpine 08:05:09 cf04c63912e1: Already exists 08:05:09 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:05:09 Status: Downloaded newer image for alpine:3.20 08:05:09 ---> c157a85ed455 08:05:09 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 08:05:09 ---> Running in 5d5741684e88 08:05:09 Removing intermediate container 5d5741684e88 08:05:09 ---> 12db00db0c27 08:05:09 Step 13/23 : RUN apk add --update --no-cache dumb-init 08:05:09 ---> Running in 34cb5756358d 08:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:05:09 (1/1) Installing dumb-init (1.2.5-r3) 08:05:09 Executing busybox-1.36.1-r29.trigger 08:05:09 OK: 9 MiB in 15 packages 08:05:09 Removing intermediate container 34cb5756358d 08:05:09 ---> 60b5c6399ba5 08:05:09 Step 14/23 : RUN apk --no-cache upgrade 08:05:09 ---> Running in 95ed9170815f 08:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:05:09 Upgrading critical system libraries and apk-tools: 08:05:09 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:05:09 Executing busybox-1.36.1-r29.trigger 08:05:09 Continuing the upgrade transaction with new apk-tools: 08:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:05:10 OK: 9 MiB in 15 packages 08:05:11 Removing intermediate container 95ed9170815f 08:05:11 ---> bc59e1547c25 08:05:11 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 08:05:14 ---> 517f8f75f136 08:05:14 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 08:05:14 ---> 9b24aa29b8b1 08:05:14 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:05:14 ---> b0788e9a2c35 08:05:14 Step 18/23 : EXPOSE 59901 08:05:14 ---> Running in d7fa5265e764 08:05:15 Removing intermediate container d7fa5265e764 08:05:15 ---> 381c26da45de 08:05:15 Step 19/23 : ENTRYPOINT ["/device-modbus"] 08:05:15 ---> Running in c9383b93e096 08:05:15 Removing intermediate container c9383b93e096 08:05:15 ---> 5646d9b9e65f 08:05:15 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:05:15 ---> Running in 20c461d13ffb 08:05:16 Removing intermediate container 20c461d13ffb 08:05:16 ---> 0ce93e164432 08:05:16 Step 21/23 : LABEL arch=arm64 08:05:16 ---> Running in 09914d4e6564 08:05:16 Removing intermediate container 09914d4e6564 08:05:16 ---> c60db7df91f2 08:05:16 Step 22/23 : LABEL git_sha=7248720eb6e2bf16815f86cf3de46e0922eeefd9 08:05:16 ---> Running in f14fe56adb36 08:05:16 Removing intermediate container f14fe56adb36 08:05:16 ---> f73184ee29da 08:05:16 Step 23/23 : LABEL version=3.2.0-dev.26 08:05:16 ---> Running in c11aa7740e20 08:05:17 Removing intermediate container c11aa7740e20 08:05:17 ---> 55f6e3d78365 08:05:17 [Warning] One or more build-args [ARCH] were not consumed 08:05:17 Successfully built 55f6e3d78365 08:05:17 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 08:05:17 provisioning config files... 08:05:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/165@tmp/config6216101213124006202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:17 ---> ****-login.sh 08:05:17 nexus3.edgexfoundry.org:10001 08:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:18 Configure a credential helper to remove this warning. See 08:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:18 08:05:18 Login Succeeded 08:05:18 nexus3.edgexfoundry.org:10002 08:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:18 Configure a credential helper to remove this warning. See 08:05:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:18 08:05:18 Login Succeeded 08:05:18 nexus3.edgexfoundry.org:10003 08:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:19 Configure a credential helper to remove this warning. See 08:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:19 08:05:19 Login Succeeded 08:05:19 nexus3.edgexfoundry.org:10004 08:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:19 Configure a credential helper to remove this warning. See 08:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:19 08:05:19 Login Succeeded 08:05:19 ****.io 08:05:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:05:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:05:19 Configure a credential helper to remove this warning. See 08:05:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:05:19 08:05:19 Login Succeeded 08:05:19 ---> ****-login.sh ends [Pipeline] } 08:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:05:19 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 08:05:19 7248720eb6e2bf16815f86cf3de46e0922eeefd9 08:05:19 latest 08:05:19 3.2.0-dev.26 08:05:19 7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 08:05:19 main 08:05:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7248720eb6e2bf16815f86cf3de46e0922eeefd9 08:05:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:05:20 49251b4e229b: Preparing 08:05:20 488077375fe9: Preparing 08:05:20 a115ab8149d5: Preparing 08:05:20 446669f6a156: Preparing 08:05:20 0a2c8c583f78: Preparing 08:05:20 16113d51b718: Preparing 08:05:20 16113d51b718: Waiting 08:05:21 49251b4e229b: Pushed 08:05:21 488077375fe9: Pushed 08:05:21 0a2c8c583f78: Pushed 08:05:21 16113d51b718: Layer already exists 08:05:21 446669f6a156: Pushed 08:05:31 a115ab8149d5: Pushed 08:05:31 7248720eb6e2bf16815f86cf3de46e0922eeefd9: digest: sha256:a454e533963ffacbbffa75db3a453d84e9470b14810e9f352ae22d483e2e689d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:05:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:05:31 49251b4e229b: Preparing 08:05:31 488077375fe9: Preparing 08:05:31 a115ab8149d5: Preparing 08:05:31 446669f6a156: Preparing 08:05:31 0a2c8c583f78: Preparing 08:05:31 16113d51b718: Preparing 08:05:31 16113d51b718: Waiting 08:05:31 a115ab8149d5: Layer already exists 08:05:31 49251b4e229b: Layer already exists 08:05:31 0a2c8c583f78: Layer already exists 08:05:31 488077375fe9: Layer already exists 08:05:31 446669f6a156: Layer already exists 08:05:31 16113d51b718: Layer already exists 08:05:32 latest: digest: sha256:a454e533963ffacbbffa75db3a453d84e9470b14810e9f352ae22d483e2e689d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.26 08:05:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:05:33 49251b4e229b: Preparing 08:05:33 488077375fe9: Preparing 08:05:33 a115ab8149d5: Preparing 08:05:33 446669f6a156: Preparing 08:05:33 0a2c8c583f78: Preparing 08:05:33 16113d51b718: Preparing 08:05:33 16113d51b718: Waiting 08:05:33 49251b4e229b: Layer already exists 08:05:33 488077375fe9: Layer already exists 08:05:33 a115ab8149d5: Layer already exists 08:05:33 0a2c8c583f78: Layer already exists 08:05:33 446669f6a156: Layer already exists 08:05:33 16113d51b718: Layer already exists 08:05:33 3.2.0-dev.26: digest: sha256:a454e533963ffacbbffa75db3a453d84e9470b14810e9f352ae22d483e2e689d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 08:05:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:05:34 49251b4e229b: Preparing 08:05:34 488077375fe9: Preparing 08:05:34 a115ab8149d5: Preparing 08:05:34 446669f6a156: Preparing 08:05:34 0a2c8c583f78: Preparing 08:05:34 16113d51b718: Preparing 08:05:34 16113d51b718: Waiting 08:05:34 446669f6a156: Layer already exists 08:05:34 488077375fe9: Layer already exists 08:05:34 a115ab8149d5: Layer already exists 08:05:34 0a2c8c583f78: Layer already exists 08:05:34 49251b4e229b: Layer already exists 08:05:34 16113d51b718: Layer already exists 08:05:34 7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26: digest: sha256:a454e533963ffacbbffa75db3a453d84e9470b14810e9f352ae22d483e2e689d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:35 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 08:05:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:05:35 49251b4e229b: Preparing 08:05:35 488077375fe9: Preparing 08:05:35 a115ab8149d5: Preparing 08:05:35 446669f6a156: Preparing 08:05:35 0a2c8c583f78: Preparing 08:05:35 16113d51b718: Preparing 08:05:35 16113d51b718: Waiting 08:05:35 488077375fe9: Layer already exists 08:05:35 0a2c8c583f78: Layer already exists 08:05:35 446669f6a156: Layer already exists 08:05:35 49251b4e229b: Layer already exists 08:05:35 a115ab8149d5: Layer already exists 08:05:35 16113d51b718: Layer already exists 08:05:35 main: digest: sha256:a454e533963ffacbbffa75db3a453d84e9470b14810e9f352ae22d483e2e689d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:05:35 ===================================================== [Pipeline] echo 08:05:35 taggedImages: 08:05:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7248720eb6e2bf16815f86cf3de46e0922eeefd9 08:05:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:05:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.2.0-dev.26 08:05:35 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:7248720eb6e2bf16815f86cf3de46e0922eeefd9-3.2.0-dev.26 08:05:35 - 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 08:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:35 08:05:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:36 arm64: Pulling from edgex-lftools-log-publisher 08:05:36 8998bd30e6a1: Pulling fs layer 08:05:36 04944245beec: Pulling fs layer 08:05:36 699f458cf7ca: Pulling fs layer 08:05:36 765212b225bb: Pulling fs layer 08:05:36 f23df028b6ca: Pulling fs layer 08:05:36 d65c8cfc05b1: Pulling fs layer 08:05:36 2437ff75d9bd: Pulling fs layer 08:05:36 765212b225bb: Waiting 08:05:36 f23df028b6ca: Waiting 08:05:36 d65c8cfc05b1: Waiting 08:05:36 2437ff75d9bd: Waiting 08:05:36 04944245beec: Verifying Checksum 08:05:36 04944245beec: Download complete 08:05:36 765212b225bb: Verifying Checksum 08:05:36 765212b225bb: Download complete 08:05:36 f23df028b6ca: Verifying Checksum 08:05:36 f23df028b6ca: Download complete 08:05:36 d65c8cfc05b1: Verifying Checksum 08:05:36 d65c8cfc05b1: Download complete 08:05:36 699f458cf7ca: Verifying Checksum 08:05:36 699f458cf7ca: Download complete 08:05:37 8998bd30e6a1: Verifying Checksum 08:05:37 8998bd30e6a1: Download complete 08:05:40 2437ff75d9bd: Verifying Checksum 08:05:40 2437ff75d9bd: Download complete 08:05:41 8998bd30e6a1: Pull complete 08:05:42 04944245beec: Pull complete 08:05:43 699f458cf7ca: Pull complete 08:05:44 765212b225bb: Pull complete 08:05:45 f23df028b6ca: Pull complete 08:05:45 d65c8cfc05b1: Pull complete 08:06:03 2437ff75d9bd: Pull complete 08:06:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:04 prd-ubuntu20.04-docker-arm64-4c-16g-22703 does not seem to be running inside a container 08:06:04 $ 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/165 -v /w/workspace/device-modbus-go/165:/w/workspace/device-modbus-go/165:rw,z -v /w/workspace/device-modbus-go/165@tmp:/w/workspace/device-modbus-go/165@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 08:06:07 $ docker top ef31422f88a0cb07d9656bed30f033dc47cd3809b75cd6411659253471fc05d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:08 ---> job-cost.sh 08:06:08 lf-activate-venv: SKIPPING 08:06:08 INFO: No Stack... 08:06:08 INFO: Retrieving Pricing Info for: v3-standard-4 08:06:09 INFO: Archiving Costs [Pipeline] sh 08:06:09 + cut -d, -f6 08:06:09 + cat /w/workspace/device-modbus-go/165/archives/cost.csv [Pipeline] lock 08:06:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] 08:06:09 Resource [jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] did not exist. Created. 08:06:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:10 /w/workspace/device-modbus-go/165@tmp/durable-471fcb5b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:06:11 + echo total: 0.10999999940395355 [Pipeline] stash 08:06:11 Warning: overwriting stash ‘stack-cost’ 08:06:11 Stashed 1 file(s) [Pipeline] } 08:06:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:11 $ docker stop --time=1 ef31422f88a0cb07d9656bed30f033dc47cd3809b75cd6411659253471fc05d2 08:06:12 $ docker rm -f --volumes ef31422f88a0cb07d9656bed30f033dc47cd3809b75cd6411659253471fc05d2 [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 08:06:13 provisioning config files... 08:06:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config474633262347704565tmp [Pipeline] { [Pipeline] sh 08:06:13 + set +x 08:06:13 + + bash -s --curl 08:06:13 -s https://codecov.io/bash 08:06:13 08:06:13 _____ _ 08:06:13 / ____| | | 08:06:13 | | ___ __| | ___ ___ _____ __ 08:06:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:06:13 | |___| (_) | (_| | __/ (_| (_) \ V / 08:06:13 \_____\___/ \__,_|\___|\___\___/ \_/ 08:06:13 Bash-1.0.6 08:06:13 08:06:13 08:06:13 ==> git version 2.25.1 found 08:06:13 ==> 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 08:06:13 Release-Date: 2020-01-08 08:06:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:06:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:06:13 ==> Jenkins CI detected. 08:06:13 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 08:06:13 project root: . 08:06:13 --> token set from env 08:06:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:06:13 ==> Running gcov in . (disable via -X gcov) 08:06:13 ==> Python coveragepy not found 08:06:13 ==> Searching for coverage reports in: 08:06:13 + . 08:06:13 -> Found 1 reports 08:06:13 ==> Detecting git/mercurial file structure 08:06:13 ==> Reading reports 08:06:13 + ./coverage.out bytes=24669 08:06:13 ==> Appending adjustments 08:06:13 https://docs.codecov.io/docs/fixing-reports 08:06:14 + Found adjustments 08:06:14 ==> Gzipping contents 08:06:14 4.0K /tmp/codecov.Vf00SM.gz 08:06:14 ==> Uploading reports 08:06:14 url: https://codecov.io 08:06:14 query: branch=main&commit=7248720eb6e2bf16815f86cf3de46e0922eeefd9&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:06:14 -> Pinging Codecov 08:06:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=7248720eb6e2bf16815f86cf3de46e0922eeefd9&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:06:14 -> Uploading to 08:06:14 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/7248720eb6e2bf16815f86cf3de46e0922eeefd9/0c82ae69-af85-4ad9-b61f-b2ffb7985452.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T080614Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=8e93f6e46056d90bda6bf177f1fd7a29de9014e474a83d6489284fd8624fcf8e 08:06:14 % Total % Received % Xferd Average Speed Time Time Time Current 08:06:14 Dload Upload Total Spent Left Speed 08:06:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 19009 --:--:-- --:--:-- --:--:-- 18916 100 3859 0 0 100 3859 0 17151 --:--:-- --:--:-- --:--:-- 17075 08:06:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] } 08:06:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:06:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:06:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:06:14 08:06:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:06:15 latest: Pulling from edgex-devops/edgex-snyk-go 08:06:15 43c4264eed91: Already exists 08:06:15 4cc291be95ef: Already exists 08:06:15 2ac1f1163629: Already exists 08:06:15 5c3c966382ef: Already exists 08:06:15 4f4fb700ef54: Already exists 08:06:15 d9c7d2e4e75e: Pulling fs layer 08:06:15 9c3e1370e548: Pulling fs layer 08:06:15 d9c7d2e4e75e: Download complete 08:06:15 d9c7d2e4e75e: Pull complete 08:06:16 9c3e1370e548: Verifying Checksum 08:06:16 9c3e1370e548: Download complete 08:06:19 9c3e1370e548: Pull complete 08:06:19 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:06:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:19 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 08:06:19 $ 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 08:06:21 $ docker top a66968fe46d61ba125b8e84a9c230f4a1c35fd5a280172a33b28530c9f9a3333 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 08:06:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 08:06:22 + set -o pipefail 08:06:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 08:06:29 08:06:29 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 08:06:29 08:06:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/2836449c-4dc3-409a-bfb4-bc04f787363b 08:06:29 08:06:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:06:29 08:06:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:06:29 08:06:29 08:06:29 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:06:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:06:29 $ docker stop --time=1 a66968fe46d61ba125b8e84a9c230f4a1c35fd5a280172a33b28530c9f9a3333 08:06:34 $ docker rm -f --volumes a66968fe46d61ba125b8e84a9c230f4a1c35fd5a280172a33b28530c9f9a3333 [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 08:06:35 + git log --format=format:%s -1 7248720eb6e2bf16815f86cf3de46e0922eeefd9 [Pipeline] sh 08:06:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:06:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:06:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:35 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 08:06:35 $ 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 08:06:36 $ docker top e61986b8533c5c64b9b7a716433d289f1873455e4e4ed4c2f236b2ab6ca15b93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:06:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:06:36 [ssh-agent] Looking for ssh-agent implementation... 08:06:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:06:36 $ docker exec e61986b8533c5c64b9b7a716433d289f1873455e4e4ed4c2f236b2ab6ca15b93 ssh-agent 08:06:36 SSH_AUTH_SOCK=/tmp/ssh-UwEZVJGpoSJc/agent.32 08:06:36 SSH_AGENT_PID=38 08:06:36 Running ssh-add (command line suppressed) 08:06:36 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17983736858165869872.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17983736858165869872.key) 08:06:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:06:37 + git semver tag 08:06:37 2024-10-14 08:06:37,239 [run_tag] DEBUG tag force:False 08:06:37 2024-10-14 08:06:37,239 [check_head_tag] DEBUG check head tag 08:06:37 2024-10-14 08:06:37,240 [execute] INFO git cat-file --batch-check 08:06:37 2024-10-14 08:06:37,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:06:37 2024-10-14 08:06:37,243 [execute] INFO git cat-file --batch 08:06:37 2024-10-14 08:06:37,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:06:37 2024-10-14 08:06:37,270 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:06:37 2024-10-14 08:06:37,270 [execute] INFO git tag -a v3.2.0-dev.26 -m v3.2.0-dev.26 08:06:37 2024-10-14 08:06:37,270 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.26', '-m', 'v3.2.0-dev.26'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 08:06:37 2024-10-14 08:06:37,275 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:06:37 3.2.0-dev.26 [Pipeline] } 08:06:37 $ docker exec --env ******** --env ******** e61986b8533c5c64b9b7a716433d289f1873455e4e4ed4c2f236b2ab6ca15b93 ssh-agent -k 08:06:37 unset SSH_AUTH_SOCK; 08:06:37 unset SSH_AGENT_PID; 08:06:37 echo Agent pid 38 killed; 08:06:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:06:37 + git semver [Pipeline] } 08:06:38 $ docker stop --time=1 e61986b8533c5c64b9b7a716433d289f1873455e4e4ed4c2f236b2ab6ca15b93 08:06:39 $ docker rm -f --volumes e61986b8533c5c64b9b7a716433d289f1873455e4e4ed4c2f236b2ab6ca15b93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:06:39 08:06:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:06:40 0.23.1-centos7: Pulling from edgex-lftools 08:06:40 ab5ef0e58194: Pulling fs layer 08:06:40 9712f1f96733: Pulling fs layer 08:06:40 63f879dbbcfc: Pulling fs layer 08:06:40 0d9ebad4ef96: Pulling fs layer 08:06:40 e9a5061849ea: Pulling fs layer 08:06:40 d747dcd14b5f: Pulling fs layer 08:06:40 2de7ff778b66: Pulling fs layer 08:06:40 0d9ebad4ef96: Waiting 08:06:40 e9a5061849ea: Waiting 08:06:40 d747dcd14b5f: Waiting 08:06:40 2de7ff778b66: Waiting 08:06:40 9712f1f96733: Verifying Checksum 08:06:40 9712f1f96733: Download complete 08:06:40 63f879dbbcfc: Verifying Checksum 08:06:40 63f879dbbcfc: Download complete 08:06:40 e9a5061849ea: Verifying Checksum 08:06:40 e9a5061849ea: Download complete 08:06:40 d747dcd14b5f: Download complete 08:06:40 0d9ebad4ef96: Verifying Checksum 08:06:40 0d9ebad4ef96: Download complete 08:06:40 ab5ef0e58194: Verifying Checksum 08:06:40 ab5ef0e58194: Download complete 08:06:40 2de7ff778b66: Verifying Checksum 08:06:40 2de7ff778b66: Download complete 08:06:43 ab5ef0e58194: Pull complete 08:06:43 9712f1f96733: Pull complete 08:06:44 63f879dbbcfc: Pull complete 08:06:47 0d9ebad4ef96: Pull complete 08:06:47 e9a5061849ea: Pull complete 08:06:47 d747dcd14b5f: Pull complete 08:06:48 2de7ff778b66: Pull complete 08:06:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:06:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:06:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:48 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 08:06:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:06:53 $ docker top 692a75606dea7a424c90db790430eb3a4a21c3c3a889b70b798f9ed089743693 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:06:53 provisioning config files... 08:06:53 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1651677251774958839tmp 08:06:53 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1004820009944314200tmp 08:06:54 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17532182165188361986tmp [Pipeline] { [Pipeline] echo 08:06:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:06:54 ---> sigul-configuration.sh 08:06:54 gpg: directory `/root/.gnupg' created 08:06:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:06:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:06:54 gpg: keyring `/root/.gnupg/secring.gpg' created 08:06:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:06:54 gpg: CAST5 encrypted data 08:06:54 gpg: encrypted with 1 passphrase 08:06:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:06:54 + mkdir /home/jenkins 08:06:54 + mkdir /home/jenkins/sigul [Pipeline] sh 08:06:54 + 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 08:06:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:06:55 ---> sigul-install.sh 08:06:55 Sigul already installed; skipping installation. [Pipeline] sh 08:06:55 + git tag --list 08:06:55 0.7.1 08:06:55 v1.0.0 08:06:55 v1.1.0 08:06:55 v1.1.1 08:06:55 v1.2.2 08:06:55 v1.3.0 08:06:55 v1.3.1 08:06:55 v2.0.0 08:06:55 v2.1.0 08:06:55 v2.1.1 08:06:55 v2.2.0 08:06:55 v2.3.0 08:06:55 v3.0 08:06:55 v3.0.0 08:06:55 v3.1 08:06:55 v3.1.0 08:06:55 v3.1.0-dev.1 08:06:55 v3.1.0-dev.10 08:06:55 v3.1.0-dev.11 08:06:55 v3.1.0-dev.12 08:06:55 v3.1.0-dev.13 08:06:55 v3.1.0-dev.14 08:06:55 v3.1.0-dev.15 08:06:55 v3.1.0-dev.16 08:06:55 v3.1.0-dev.17 08:06:55 v3.1.0-dev.18 08:06:55 v3.1.0-dev.19 08:06:55 v3.1.0-dev.2 08:06:55 v3.1.0-dev.20 08:06:55 v3.1.0-dev.21 08:06:55 v3.1.0-dev.22 08:06:55 v3.1.0-dev.23 08:06:55 v3.1.0-dev.24 08:06:55 v3.1.0-dev.25 08:06:55 v3.1.0-dev.3 08:06:55 v3.1.0-dev.4 08:06:55 v3.1.0-dev.5 08:06:55 v3.1.0-dev.6 08:06:55 v3.1.0-dev.7 08:06:55 v3.1.0-dev.8 08:06:55 v3.1.0-dev.9 08:06:55 v3.1.1 08:06:55 v3.1.1-dev.1 08:06:55 v3.2.0-dev.1 08:06:55 v3.2.0-dev.10 08:06:55 v3.2.0-dev.11 08:06:55 v3.2.0-dev.12 08:06:55 v3.2.0-dev.13 08:06:55 v3.2.0-dev.14 08:06:55 v3.2.0-dev.15 08:06:55 v3.2.0-dev.16 08:06:55 v3.2.0-dev.17 08:06:55 v3.2.0-dev.18 08:06:55 v3.2.0-dev.19 08:06:55 v3.2.0-dev.2 08:06:55 v3.2.0-dev.20 08:06:55 v3.2.0-dev.21 08:06:55 v3.2.0-dev.22 08:06:55 v3.2.0-dev.23 08:06:55 v3.2.0-dev.24 08:06:55 v3.2.0-dev.25 08:06:55 v3.2.0-dev.26 08:06:55 v3.2.0-dev.3 08:06:55 v3.2.0-dev.4 08:06:55 v3.2.0-dev.5 08:06:55 v3.2.0-dev.6 08:06:55 v3.2.0-dev.7 08:06:55 v3.2.0-dev.8 08:06:55 v3.2.0-dev.9 [Pipeline] sh 08:06:55 + lftools sign git-tag v3.2.0-dev.26 08:06:56 Signing Git tag with Sigul... 08:06:56 Signing v3.2.0-dev.26 [Pipeline] echo 08:06:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:06:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:06:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:06:57 $ docker stop --time=1 692a75606dea7a424c90db790430eb3a4a21c3c3a889b70b798f9ed089743693 08:06:58 $ docker rm -f --volumes 692a75606dea7a424c90db790430eb3a4a21c3c3a889b70b798f9ed089743693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:06:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:06:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:59 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 08:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:06:59 $ docker top 308b74cfaed3d37feb26203b95d8b7a967e5f67531e3830616bf2ef86c15fdc0 -eo pid,comm 08:06:59 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). 08:06:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:06:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:06:59 [ssh-agent] Looking for ssh-agent implementation... 08:06:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:06:59 $ docker exec 308b74cfaed3d37feb26203b95d8b7a967e5f67531e3830616bf2ef86c15fdc0 ssh-agent 08:06:59 SSH_AUTH_SOCK=/tmp/ssh-iFgc8lXBsMnZ/agent.31 08:06:59 SSH_AGENT_PID=37 08:06:59 Running ssh-add (command line suppressed) 08:06:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16056771871180132476.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16056771871180132476.key) 08:06:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:00 + git semver bump pre 08:07:00 2024-10-14 08:07:00,434 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:00 2024-10-14 08:07:00,434 [bump_version] DEBUG bumping version:3.2.0-dev.26 on axis:pre with prefix:dev 08:07:00 2024-10-14 08:07:00,435 [bump_version] DEBUG bumped version:3.2.0-dev.27 08:07:00 2024-10-14 08:07:00,435 [write_version] DEBUG write version:3.2.0-dev.27 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 08:07:00 2024-10-14 08:07:00,435 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:00 2024-10-14 08:07:00,435 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:00 2024-10-14 08:07:00,437 [execute] INFO git cat-file --batch-check 08:07:00 2024-10-14 08:07:00,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:07:00 2024-10-14 08:07:00,442 [execute] INFO git cat-file --batch 08:07:00 2024-10-14 08:07:00,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:07:00 2024-10-14 08:07:00,447 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:00 3.2.0-dev.27 [Pipeline] } 08:07:00 $ docker exec --env ******** --env ******** 308b74cfaed3d37feb26203b95d8b7a967e5f67531e3830616bf2ef86c15fdc0 ssh-agent -k 08:07:00 unset SSH_AUTH_SOCK; 08:07:00 unset SSH_AGENT_PID; 08:07:00 echo Agent pid 37 killed; 08:07:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:00 + git semver [Pipeline] } 08:07:01 $ docker stop --time=1 308b74cfaed3d37feb26203b95d8b7a967e5f67531e3830616bf2ef86c15fdc0 08:07:02 $ docker rm -f --volumes 308b74cfaed3d37feb26203b95d8b7a967e5f67531e3830616bf2ef86c15fdc0 [Pipeline] // withDockerContainer [Pipeline] sh 08:07:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:07:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:07:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:03 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 08:07:03 $ 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 08:07:03 $ docker top 63e4ce658936e28900b8417cdf6e19937fc24f9b5435ffb477b34a77fd5db81c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:07:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:07:03 [ssh-agent] Looking for ssh-agent implementation... 08:07:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:07:03 $ docker exec 63e4ce658936e28900b8417cdf6e19937fc24f9b5435ffb477b34a77fd5db81c ssh-agent 08:07:03 SSH_AUTH_SOCK=/tmp/ssh-w4US33FSPilb/agent.32 08:07:03 SSH_AGENT_PID=38 08:07:03 Running ssh-add (command line suppressed) 08:07:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_291982125891481126.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_291982125891481126.key) 08:07:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:07:04 + git semver push 08:07:04 2024-10-14 08:07:04,510 [run_push] DEBUG push 08:07:04 2024-10-14 08:07:04,511 [execute] INFO git cat-file --batch-check 08:07:04 2024-10-14 08:07:04,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:07:04 2024-10-14 08:07:04,516 [execute] INFO git rev-list c2438fb8f50ebedfe90b7954126bd583e167110b -- 08:07:04 2024-10-14 08:07:04,517 [execute] DEBUG Popen(['git', 'rev-list', 'c2438fb8f50ebedfe90b7954126bd583e167110b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:07:04 2024-10-14 08:07:04,524 [execute] INFO git fetch -v origin 08:07:04 2024-10-14 08:07:04,524 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:07:05 2024-10-14 08:07:04,972 [run_push] DEBUG no remote changes detected 08:07:05 2024-10-14 08:07:04,972 [execute] INFO git push origin semver 08:07:05 2024-10-14 08:07:04,973 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:07:05 2024-10-14 08:07:05,702 [run_push] DEBUG push all version tags 08:07:05 2024-10-14 08:07:05,703 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:07:05 2024-10-14 08:07:05,703 [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) 08:07:06 2024-10-14 08:07:06,341 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:07:06 3.2.0-dev.27 [Pipeline] } 08:07:06 $ docker exec --env ******** --env ******** 63e4ce658936e28900b8417cdf6e19937fc24f9b5435ffb477b34a77fd5db81c ssh-agent -k 08:07:06 unset SSH_AUTH_SOCK; 08:07:06 unset SSH_AGENT_PID; 08:07:06 echo Agent pid 38 killed; 08:07:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:07:07 + git semver [Pipeline] } 08:07:07 $ docker stop --time=1 63e4ce658936e28900b8417cdf6e19937fc24f9b5435ffb477b34a77fd5db81c 08:07:08 $ docker rm -f --volumes 63e4ce658936e28900b8417cdf6e19937fc24f9b5435ffb477b34a77fd5db81c [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 08:07:09 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 08:07:09 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:07:09 total 16 08:07:09 drwxr-xr-x 3 root root 4096 Oct 14 07:50 . 08:07:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:06 .. 08:07:09 drwxr-xr-x 2 root root 4096 Oct 14 07:50 cost 08:07:09 -rw-r--r-- 1 root root 88 Oct 14 07:50 cost.csv 08:07:09 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 08:07:09 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:07:09 total 16 08:07:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:50 . 08:07:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:06 .. 08:07:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 07:50 cost 08:07:09 -rw-r--r-- 1 jenkins jenkins 88 Oct 14 07:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:07:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:10 ---> package-listing.sh 08:07:10 ++ facter osfamily 08:07:10 ++ tr '[:upper:]' '[:lower:]' 08:07:10 + OS_FAMILY=debian 08:07:10 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 08:07:10 + START_PACKAGES=/tmp/packages_start.txt 08:07:10 + END_PACKAGES=/tmp/packages_end.txt 08:07:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:10 + PACKAGES=/tmp/packages_start.txt 08:07:10 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:07:10 + PACKAGES=/tmp/packages_end.txt 08:07:10 + case "${OS_FAMILY}" in 08:07:10 + dpkg -l 08:07:10 + grep '^ii' 08:07:10 + '[' -f /tmp/packages_start.txt ']' 08:07:10 + '[' -f /tmp/packages_end.txt ']' 08:07:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:10 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:07:10 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 08:07:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 08:07:10 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 08:07:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:07:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:07:11 prd-ubuntu20.04-docker-8c-8g-22699 does not seem to be running inside a container 08:07:11 $ 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 08:07:11 $ docker top 0d9037bc2d9981cc04ac071042524b353096a86a0bbb6dc2369fded124424d05 -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:12 + touch /tmp/pre-build-complete [Pipeline] sh 08:07:12 + mkdir -p /var/log/sysstat [Pipeline] sh 08:07:12 + ls /var/log/sa-host 08:07:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:12 provisioning config files... 08:07:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11380968353475002258tmp [Pipeline] { [Pipeline] echo 08:07:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:13 ---> create-netrc.sh [Pipeline] } 08:07:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:07:13 ---> python-tools-install.sh [Pipeline] echo 08:07:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:07:13 ---> sudo-logs.sh 08:07:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:07:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:07:14 ---> job-cost.sh 08:07:14 lf-activate-venv: SKIPPING 08:07:14 DEBUG: total: 0.2199999988079071 08:07:14 INFO: Retrieving Stack Cost... 08:07:14 INFO: Retrieving Pricing Info for: v3-standard-8 08:07:14 INFO: Archiving Costs [Pipeline] echo 08:07:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:14 ---> logs-deploy.sh 08:07:14 lf-activate-venv: SKIPPING 08:07:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/165 08:07:14 INFO: archiving workspace using pattern(s): 08:07:15 Archives upload complete. 08:07:15 INFO: archiving logs to Nexus