Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 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-ssh15227678201552304574.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh6429351016674535734.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh1645785734337226570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh932749944001646431.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-ssh9074012178792809885.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-38508 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 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 (main) Commit message: "Merge pull request #613 from cloudxxx8/issue-612" > 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 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 # timeout=10 > git rev-list --no-walk b1150cef3ee3943af5fba7b24690d73d6672cf6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:36:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:36:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:36:44 ========================================================= 07:36:44 EdgeX Global Pipelines Version Info 07:36:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:36:45 ------------------- 07:36:45 stable info: 07:36:45 ------------------- 07:36:45 Commited By: Cherry Wang cherry@iotechsys.com 07:36:45 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:36:45 Message: update stable to v1.0.269 07:36:45 ------------------- 07:36:45 experimental info: 07:36:45 ------------------- 07:36:45 Commited By: **** collab-it+edgex@linuxfoundation.org 07:36:45 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:36:45 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:36:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:36:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:36:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:36:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ffb092 [Pipeline] echo 07:36:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:46 provisioning config files... 07:36:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17773249625731312830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:47 ---> ****-login.sh 07:36:47 nexus3.edgexfoundry.org:10001 07:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:47 Configure a credential helper to remove this warning. See 07:36:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:47 07:36:47 Login Succeeded 07:36:47 nexus3.edgexfoundry.org:10002 07:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:47 Configure a credential helper to remove this warning. See 07:36:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:47 07:36:47 Login Succeeded 07:36:47 nexus3.edgexfoundry.org:10003 07:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:47 Configure a credential helper to remove this warning. See 07:36:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:47 07:36:47 Login Succeeded 07:36:47 nexus3.edgexfoundry.org:10004 07:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:47 Configure a credential helper to remove this warning. See 07:36:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:47 07:36:47 Login Succeeded 07:36:47 ****.io 07:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:36:47 Configure a credential helper to remove this warning. See 07:36:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:36:47 07:36:47 Login Succeeded 07:36:47 ---> ****-login.sh ends [Pipeline] } 07:36:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:36:48 + git rev-list -1 --merges 3ffb09239547e5bfb998c0889f5d3f26b6a509f8~1..3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] echo 07:36:48 -----------> git rev-list -1 --merges 3ffb09239547e5bfb998c0889f5d3f26b6a509f8~1..3ffb09239547e5bfb998c0889f5d3f26b6a509f8 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:36:48 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [false] [Pipeline] sh 07:36:48 + git log --format=format:%s -1 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] echo 07:36:48 ========================================================= 07:36:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:36:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:48 + git log --format=format:%s -1 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] echo 07:36:48 [semverPrep] GIT_COMMIT: 3ffb09239547e5bfb998c0889f5d3f26b6a509f8, Commit Message: Merge pull request #613 from cloudxxx8/issue-612 [Pipeline] echo 07:36:48 [semverPrep] This is not a build commit. [Pipeline] sh 07:36:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:36:49 + grep -v github /etc/ssh/ssh_known_hosts 07:36:49 + [ -e /tmp/ssh_known_hosts ] 07:36:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:36:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:36:49 + sudo tee -a /etc/ssh/ssh_known_hosts 07:36:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:49 07:36:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:49 0.1.4: Pulling from edgex-devops/py-git-semver 07:36:49 b85a868b505f: Pulling fs layer 07:36:49 e2be974225ed: Pulling fs layer 07:36:49 339a4e72a1f5: Pulling fs layer 07:36:49 988bab9f4d93: Pulling fs layer 07:36:49 1469e6f7b9e6: Pulling fs layer 07:36:49 eaf3925da568: Pulling fs layer 07:36:49 bab4dde63d76: Pulling fs layer 07:36:49 bde34c3a00c8: Pulling fs layer 07:36:49 988bab9f4d93: Waiting 07:36:49 1469e6f7b9e6: Waiting 07:36:49 eaf3925da568: Waiting 07:36:49 bab4dde63d76: Waiting 07:36:49 bde34c3a00c8: Waiting 07:36:49 b352a97aabf1: Pulling fs layer 07:36:49 4872d77fe225: Pulling fs layer 07:36:49 5851b861e8e6: Pulling fs layer 07:36:49 4872d77fe225: Waiting 07:36:49 5851b861e8e6: Waiting 07:36:49 b352a97aabf1: Waiting 07:36:49 e2be974225ed: Verifying Checksum 07:36:49 e2be974225ed: Download complete 07:36:49 988bab9f4d93: Download complete 07:36:50 1469e6f7b9e6: Verifying Checksum 07:36:50 1469e6f7b9e6: Download complete 07:36:50 eaf3925da568: Verifying Checksum 07:36:50 eaf3925da568: Download complete 07:36:50 339a4e72a1f5: Verifying Checksum 07:36:50 339a4e72a1f5: Download complete 07:36:50 bde34c3a00c8: Verifying Checksum 07:36:50 bde34c3a00c8: Download complete 07:36:50 b352a97aabf1: Download complete 07:36:50 4872d77fe225: Download complete 07:36:50 5851b861e8e6: Verifying Checksum 07:36:50 5851b861e8e6: Download complete 07:36:50 b85a868b505f: Verifying Checksum 07:36:50 b85a868b505f: Download complete 07:36:50 bab4dde63d76: Verifying Checksum 07:36:50 bab4dde63d76: Download complete 07:36:51 b85a868b505f: Pull complete 07:36:51 e2be974225ed: Pull complete 07:36:52 339a4e72a1f5: Pull complete 07:36:52 988bab9f4d93: Pull complete 07:36:52 1469e6f7b9e6: Pull complete 07:36:52 eaf3925da568: Pull complete 07:36:54 bab4dde63d76: Pull complete 07:36:54 bde34c3a00c8: Pull complete 07:36:54 b352a97aabf1: Pull complete 07:36:54 4872d77fe225: Pull complete 07:36:54 5851b861e8e6: Pull complete 07:36:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:36:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:36:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:55 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:36:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:36:57 $ docker top 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de -eo pid,comm 07:36:57 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:36:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:36:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:57 [ssh-agent] Looking for ssh-agent implementation... 07:36:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:58 $ docker exec 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de ssh-agent 07:36:58 SSH_AUTH_SOCK=/tmp/ssh-KPEMmWFnwrxf/agent.32 07:36:58 SSH_AGENT_PID=38 07:36:58 Running ssh-add (command line suppressed) 07:36:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16116447410135940655.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16116447410135940655.key) 07:36:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:58 + git tag --points-at HEAD [Pipeline] } 07:36:58 $ docker exec --env ******** --env ******** 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de ssh-agent -k 07:36:58 unset SSH_AUTH_SOCK; 07:36:58 unset SSH_AGENT_PID; 07:36:58 echo Agent pid 38 killed; 07:36:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:36:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:36:58 [ssh-agent] Looking for ssh-agent implementation... 07:36:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:36:58 $ docker exec 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de ssh-agent 07:36:59 SSH_AUTH_SOCK=/tmp/ssh-NdDJ0xEOnxLR/agent.71 07:36:59 SSH_AGENT_PID=77 07:36:59 Running ssh-add (command line suppressed) 07:36:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8118508288110181197.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8118508288110181197.key) 07:36:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:36:59 + git semver init 07:36:59 2025-02-10 07:36:59,632 [run_init] DEBUG init version:0.0.0 force:False 07:36:59 2025-02-10 07:36:59,633 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:36:59 2025-02-10 07:36:59,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:36:59 2025-02-10 07:36:59,634 [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:37:01 2025-02-10 07:37:00,692 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:37:01 2025-02-10 07:37:00,693 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:37:01 2025-02-10 07:37:00,693 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:37:01 2025-02-10 07:37:00,693 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:37:01 4.0.0-dev.14 [Pipeline] } 07:37:01 $ docker exec --env ******** --env ******** 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de ssh-agent -k 07:37:01 unset SSH_AUTH_SOCK; 07:37:01 unset SSH_AGENT_PID; 07:37:01 echo Agent pid 77 killed; 07:37:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:37:01 + git semver [Pipeline] } 07:37:01 $ docker stop --time=1 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de 07:37:03 $ docker rm -f --volumes 2f2d8ff94852daf0a7712ed146676b2489c39a58a9f827f7887e1590fc6a34de [Pipeline] // withDockerContainer [Pipeline] sh 07:37:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:37:03 Stashed 1 file(s) [Pipeline] echo 07:37:03 [edgeXSemver]: initialized semver on version 4.0.0-dev.14 [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:37:03 provisioning config files... 07:37:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3313048206063488685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:04 ---> ****-login.sh 07:37:04 nexus3.edgexfoundry.org:10001 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 nexus3.edgexfoundry.org:10002 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 nexus3.edgexfoundry.org:10003 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 nexus3.edgexfoundry.org:10004 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 ****.io 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 ---> ****-login.sh ends [Pipeline] } 07:37:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:04 ========================================================= 07:37:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:37:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:05 + 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:37:05 Sending build context to Docker daemon 18.22MB 07:37:05 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:37:05 Step 2/10 : FROM ${BASE} AS builder 07:37:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:37:05 da9db072f522: Pulling fs layer 07:37:05 6ef4a4ee8ca5: Pulling fs layer 07:37:05 06f05ace1117: Pulling fs layer 07:37:05 5fe327b54edc: Pulling fs layer 07:37:05 4f4fb700ef54: Pulling fs layer 07:37:05 92a5565b7b96: Pulling fs layer 07:37:05 ff9bb7016b71: Pulling fs layer 07:37:05 b67dba6c2c7d: Pulling fs layer 07:37:05 a813b0c90790: Pulling fs layer 07:37:05 5fe327b54edc: Waiting 07:37:05 4f4fb700ef54: Waiting 07:37:05 b67dba6c2c7d: Waiting 07:37:05 92a5565b7b96: Waiting 07:37:05 a813b0c90790: Waiting 07:37:05 ff9bb7016b71: Waiting 07:37:05 6ef4a4ee8ca5: Verifying Checksum 07:37:05 6ef4a4ee8ca5: Download complete 07:37:05 5fe327b54edc: Verifying Checksum 07:37:05 5fe327b54edc: Download complete 07:37:05 4f4fb700ef54: Download complete 07:37:05 92a5565b7b96: Verifying Checksum 07:37:05 92a5565b7b96: Download complete 07:37:05 da9db072f522: Verifying Checksum 07:37:05 da9db072f522: Download complete 07:37:05 ff9bb7016b71: Verifying Checksum 07:37:05 ff9bb7016b71: Download complete 07:37:05 da9db072f522: Pull complete 07:37:05 a813b0c90790: Verifying Checksum 07:37:05 a813b0c90790: Download complete 07:37:05 6ef4a4ee8ca5: Pull complete 07:37:06 06f05ace1117: Verifying Checksum 07:37:06 06f05ace1117: Download complete 07:37:06 b67dba6c2c7d: Verifying Checksum 07:37:06 b67dba6c2c7d: Download complete 07:37:10 06f05ace1117: Pull complete 07:37:10 5fe327b54edc: Pull complete 07:37:10 4f4fb700ef54: Pull complete 07:37:10 92a5565b7b96: Pull complete 07:37:10 ff9bb7016b71: Pull complete 07:37:12 b67dba6c2c7d: Pull complete 07:37:12 a813b0c90790: Pull complete 07:37:12 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 07:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:37:13 ---> 3ba60ce46760 07:37:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:37:17 ---> Running in 2a55cf5b6ff3 07:37:17 Removing intermediate container 2a55cf5b6ff3 07:37:17 ---> 6c0297654239 07:37:17 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:17 ---> Running in e30f2515d7c2 07:37:17 Removing intermediate container e30f2515d7c2 07:37:17 ---> e19fce02a1a4 07:37:17 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:37:17 ---> Running in 781e246bcabd 07:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:37:17 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:37:17 (2/8) Installing libedit (20240517.3.1-r0) 07:37:17 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:37:17 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:37:17 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:37:17 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:37:17 (7/8) Installing openssh-server (9.7_p1-r4) 07:37:17 (8/8) Installing openssh (9.7_p1-r4) 07:37:17 Executing busybox-1.36.1-r29.trigger 07:37:18 OK: 253 MiB in 66 packages 07:37:18 Removing intermediate container 781e246bcabd 07:37:18 ---> 148530057026 07:37:18 Step 6/10 : WORKDIR /device-modbus-go 07:37:18 ---> Running in 202196910d88 07:37:18 Removing intermediate container 202196910d88 07:37:18 ---> 40f064beecbe 07:37:18 Step 7/10 : COPY go.mod vendor* ./ 07:37:18 ---> e1f9b39966eb 07:37:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:18 Still waiting to schedule task 07:37:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:37:19 ---> Running in faf4a12f75f1 07:37:57 Removing intermediate container faf4a12f75f1 07:37:57 ---> c31daae9e99e 07:37:57 Step 9/10 : COPY . . 07:37:57 ---> 06a5f3717ae3 07:37:57 Step 10/10 : RUN ${MAKE} 07:37:57 ---> Running in 1cc870066c26 07:37:57 noop 07:37:57 Removing intermediate container 1cc870066c26 07:37:57 ---> 361ef45439c9 07:37:57 Successfully built 361ef45439c9 07:37:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:58 + docker inspect -f . ci-base-image-x86_64 07:37:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:58 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:37:58 $ 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 ******** ci-base-image-x86_64 cat 07:37:58 $ docker top bac19df87463316e4e74eceffbba43556e0bc8eccee191c6116f97df1bd65d03 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:58 + go version 07:37:58 go version go1.23.4 linux/amd64 [Pipeline] } 07:37:59 $ docker stop --time=1 bac19df87463316e4e74eceffbba43556e0bc8eccee191c6116f97df1bd65d03 07:38:00 $ docker rm -f --volumes bac19df87463316e4e74eceffbba43556e0bc8eccee191c6116f97df1bd65d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:00 + docker inspect -f . ci-base-image-x86_64 07:38:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:00 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:38:00 $ 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 ******** ci-base-image-x86_64 cat 07:38:01 $ docker top c3612484257a615bf1bb6ab0ed572a8c079da5a46feafe21a14baaf93b9e4a30 -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:38:01 + make test 07:38:01 go test ./... -coverprofile=coverage.out 07:38:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:38:25 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:38:25 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 45.7% of statements 07:38:35 go vet ./... 07:38:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:38:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:38:41 ./bin/test-attribution-txt.sh [Pipeline] echo 07:38:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:38:41 $ docker stop --time=1 c3612484257a615bf1bb6ab0ed572a8c079da5a46feafe21a14baaf93b9e4a30 07:38:45 $ docker rm -f --volumes c3612484257a615bf1bb6ab0ed572a8c079da5a46feafe21a14baaf93b9e4a30 [Pipeline] // withDockerContainer [Pipeline] sh 07:38:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:38:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:38:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:38:47 + ls -al . 07:38:47 total 260 07:38:47 drwxrwxr-x 9 jenkins jenkins 4096 Feb 10 07:38 . 07:38:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 07:36 .. 07:38:47 -rw-rw-r-- 1 jenkins jenkins 140 Feb 10 07:36 .dockerignore 07:38:47 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 07:38 .git 07:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 07:36 .github 07:38:47 -rw-rw-r-- 1 jenkins jenkins 266 Feb 10 07:36 .gitignore 07:38:47 -rw-rw-r-- 1 jenkins jenkins 199 Feb 10 07:36 .golangci.yml 07:38:47 drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 07:37 .semver 07:38:47 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 10 07:36 Attribution.txt 07:38:47 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 10 07:36 CHANGELOG.md 07:38:47 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 10 07:36 Dockerfile 07:38:47 -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 07:36 GOVERNANCE.md 07:38:47 -rw-rw-r-- 1 jenkins jenkins 658 Feb 10 07:36 Jenkinsfile 07:38:47 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 10 07:36 LICENSE 07:38:47 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 10 07:36 Makefile 07:38:47 -rw-rw-r-- 1 jenkins jenkins 622 Feb 10 07:36 OWNERS.md 07:38:47 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 10 07:36 README.md 07:38:47 -rw-rw-r-- 1 jenkins jenkins 12 Feb 10 07:37 VERSION 07:38:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 07:36 bin 07:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 07:36 cmd 07:38:47 -rw-r--r-- 1 jenkins jenkins 26779 Feb 10 07:38 coverage.out 07:38:47 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 10 07:36 go.mod 07:38:47 -rw-rw-r-- 1 jenkins jenkins 86606 Feb 10 07:36 go.sum 07:38:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 07:36 internal 07:38:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 07:36 simulator 07:38:47 -rw-rw-r-- 1 jenkins jenkins 229 Feb 10 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:47 + 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=3ffb09239547e5bfb998c0889f5d3f26b6a509f8 --label arch=amd64 --label version=4.0.0-dev.14 . 07:38:47 Sending build context to Docker daemon 18.25MB 07:38:47 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:38:47 Step 2/23 : FROM ${BASE} AS builder 07:38:47 ---> 361ef45439c9 07:38:47 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:38:48 ---> Running in 02c6dad848d7 07:38:48 Removing intermediate container 02c6dad848d7 07:38:48 ---> c08872d9c3f6 07:38:48 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:48 ---> Running in 50b9e6038080 07:38:48 Removing intermediate container 50b9e6038080 07:38:48 ---> bfbfee281c6a 07:38:48 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:38:48 ---> Running in efa7f5c0acd5 07:38:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:38:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:38:49 OK: 253 MiB in 66 packages 07:38:49 Removing intermediate container efa7f5c0acd5 07:38:49 ---> e5aeaf46ffc9 07:38:49 Step 6/23 : WORKDIR /device-modbus-go 07:38:49 ---> Running in 5aa7925f5cfe 07:38:49 Removing intermediate container 5aa7925f5cfe 07:38:49 ---> 3a969161b55a 07:38:49 Step 7/23 : COPY go.mod vendor* ./ 07:38:49 ---> 6462512b1c23 07:38:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:49 ---> Running in 583f6b7fd9e3 07:38:50 Removing intermediate container 583f6b7fd9e3 07:38:50 ---> 0ec618d75f75 07:38:50 Step 9/23 : COPY . . 07:38:51 ---> cab436fec0e9 07:38:51 Step 10/23 : RUN ${MAKE} 07:38:51 ---> Running in 447358e89305 07:38:51 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.21 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:38:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-38509 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:38:58 Running in /w/workspace/device-modbus-go/179 [Pipeline] { [Pipeline] checkout 07:38:58 The recommended git tool is: git 07:39:06 using credential edgex-jenkins-ssh 07:39:06 Cloning the remote Git repository 07:39:06 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:39:06 > git init /w/workspace/device-modbus-go/179 # timeout=10 07:39:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:39:07 > git --version # timeout=10 07:39:07 > git --version # 'git version 2.25.1' 07:39:07 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:39:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:10 Avoid second fetch 07:39:10 Checking out Revision 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 (main) 07:39:11 Commit message: "Merge pull request #613 from cloudxxx8/issue-612" 07:39:10 > git config core.sparsecheckout # timeout=10 07:39:10 > git checkout -f 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:39:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:39:17 % Total % Received % Xferd Average Speed Time Time Time Current 07:39:17 Dload Upload Total Spent Left Speed 07:39:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 07:39:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:39:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:39:17 + sudo tee /etc/docker/daemon.new 07:39:17 { 07:39:17 "registry-mirrors": [ 07:39:17 "https://nexus3.edgexfoundry.org:10001" 07:39:17 ], 07:39:17 "bip": "10.250.0.254/24", 07:39:17 "hosts": [ 07:39:17 "tcp://0.0.0.0:5555", 07:39:17 "unix:///var/run/docker.sock" 07:39:17 ], 07:39:17 "mtu": 1458, 07:39:17 "selinux-enabled": true, 07:39:17 "seccomp-profile": "/etc/docker/seccomp.json" 07:39:17 } [Pipeline] sh 07:39:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:39:18 + sudo service docker restart 07:39:30 Removing intermediate container 447358e89305 07:39:30 ---> d8f9c1a65750 07:39:30 Step 11/23 : FROM alpine:3.20 07:39:30 3.20: Pulling from library/alpine 07:39:30 66a3d608f3fa: Pulling fs layer 07:39:30 66a3d608f3fa: Verifying Checksum 07:39:30 66a3d608f3fa: Download complete 07:39:30 66a3d608f3fa: Pull complete 07:39:30 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 07:39:30 Status: Downloaded newer image for alpine:3.20 07:39:30 ---> e29df9b510ff 07:39:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:39:30 ---> Running in 6c2855568eae 07:39:30 Removing intermediate container 6c2855568eae 07:39:30 ---> 6111699fe195 07:39:30 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:39:30 ---> Running in 2fb48fc54e94 07:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:30 (1/1) Installing dumb-init (1.2.5-r3) 07:39:30 Executing busybox-1.36.1-r29.trigger 07:39:30 OK: 8 MiB in 15 packages 07:39:30 Removing intermediate container 2fb48fc54e94 07:39:30 ---> 19d46a90d04b 07:39:30 Step 14/23 : RUN apk --no-cache upgrade 07:39:30 ---> Running in f97897f1a541 07:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:39:30 (1/2) Upgrading libcrypto3 (3.3.2-r1 -> 3.3.2-r2) 07:39:30 (2/2) Upgrading libssl3 (3.3.2-r1 -> 3.3.2-r2) 07:39:30 OK: 8 MiB in 15 packages 07:39:30 Removing intermediate container f97897f1a541 07:39:30 ---> 195f2bb7fd37 07:39:30 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:39:30 ---> 3868928117cf 07:39:30 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:39:30 ---> f2e4935b8efb 07:39:30 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:39:30 ---> 58b9f8e40758 07:39:30 Step 18/23 : EXPOSE 59901 07:39:30 ---> Running in 74d5c01e6a40 07:39:30 Removing intermediate container 74d5c01e6a40 07:39:30 ---> b168000647a9 07:39:30 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:39:30 ---> Running in f65d4e2471b9 07:39:30 Removing intermediate container f65d4e2471b9 07:39:30 ---> a9f569251a9a 07:39:30 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:39:30 ---> Running in 8819071ccc5c 07:39:30 Removing intermediate container 8819071ccc5c 07:39:30 ---> 7de4a8f016fa 07:39:30 Step 21/23 : LABEL arch=amd64 07:39:30 ---> Running in e198c36221ab 07:39:30 Removing intermediate container e198c36221ab 07:39:30 ---> b538024b55a0 07:39:30 Step 22/23 : LABEL git_sha=3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:39:30 ---> Running in 4f94ada06e61 07:39:30 Removing intermediate container 4f94ada06e61 07:39:30 ---> 84a19a98db2e 07:39:30 Step 23/23 : LABEL version=4.0.0-dev.14 07:39:30 ---> Running in 34b6cfbd51bf 07:39:30 Removing intermediate container 34b6cfbd51bf 07:39:30 ---> 240a4818cb0d 07:39:30 [Warning] One or more build-args [ARCH] were not consumed 07:39:30 Successfully built 240a4818cb0d 07:39:30 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:30 provisioning config files... 07:39:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17232003733447594485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:30 ---> ****-login.sh 07:39:30 nexus3.edgexfoundry.org:10001 07:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:30 Configure a credential helper to remove this warning. See 07:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:30 07:39:30 Login Succeeded 07:39:30 nexus3.edgexfoundry.org:10002 07:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:30 Configure a credential helper to remove this warning. See 07:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:30 07:39:30 Login Succeeded 07:39:30 nexus3.edgexfoundry.org:10003 07:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:30 Configure a credential helper to remove this warning. See 07:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:30 07:39:30 Login Succeeded 07:39:30 nexus3.edgexfoundry.org:10004 07:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:30 Configure a credential helper to remove this warning. See 07:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:30 07:39:30 Login Succeeded 07:39:30 ****.io 07:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:31 Configure a credential helper to remove this warning. See 07:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:31 07:39:31 Login Succeeded 07:39:31 ---> ****-login.sh ends [Pipeline] } 07:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:31 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:39:31 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:39:31 latest 07:39:31 4.0.0-dev.14 07:39:31 3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 07:39:31 main 07:39:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:31 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:39:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:31 133bf2de397d: Preparing 07:39:31 dfc51c6055fc: Preparing 07:39:31 03cd7ad948e5: Preparing 07:39:31 2e70d99d577b: Preparing 07:39:31 0103a3a28175: Preparing 07:39:31 ce5a8cde9eee: Preparing 07:39:31 ce5a8cde9eee: Waiting 07:39:31 0103a3a28175: Pushed 07:39:31 133bf2de397d: Pushed 07:39:31 dfc51c6055fc: Pushed 07:39:31 ce5a8cde9eee: Layer already exists 07:39:32 2e70d99d577b: Pushed 07:39:35 03cd7ad948e5: Pushed 07:39:35 3ffb09239547e5bfb998c0889f5d3f26b6a509f8: digest: sha256:720676665dc8bd1b7f522391819f67e81d503158001974cd0759af3ec239715a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:36 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:39:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:36 133bf2de397d: Preparing 07:39:36 dfc51c6055fc: Preparing 07:39:36 03cd7ad948e5: Preparing 07:39:36 2e70d99d577b: Preparing 07:39:36 0103a3a28175: Preparing 07:39:36 ce5a8cde9eee: Preparing 07:39:36 ce5a8cde9eee: Waiting 07:39:36 133bf2de397d: Layer already exists 07:39:36 2e70d99d577b: Layer already exists 07:39:36 dfc51c6055fc: Layer already exists 07:39:36 03cd7ad948e5: Layer already exists 07:39:36 0103a3a28175: Layer already exists 07:39:36 ce5a8cde9eee: Layer already exists 07:39:36 latest: digest: sha256:720676665dc8bd1b7f522391819f67e81d503158001974cd0759af3ec239715a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:36 provisioning config files... 07:39:36 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/179@tmp/config15752995598674226440tmp [Pipeline] { 07:39:36 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.14 [Pipeline] libraryResource [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:37 ---> ****-login.sh 07:39:37 nexus3.edgexfoundry.org:10001 07:39:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.14 07:39:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:37 133bf2de397d: Preparing 07:39:37 dfc51c6055fc: Preparing 07:39:37 03cd7ad948e5: Preparing 07:39:37 2e70d99d577b: Preparing 07:39:37 0103a3a28175: Preparing 07:39:37 ce5a8cde9eee: Preparing 07:39:37 ce5a8cde9eee: Waiting 07:39:37 2e70d99d577b: Layer already exists 07:39:37 0103a3a28175: Layer already exists 07:39:37 dfc51c6055fc: Layer already exists 07:39:37 133bf2de397d: Layer already exists 07:39:37 03cd7ad948e5: Layer already exists 07:39:37 ce5a8cde9eee: Layer already exists 07:39:37 4.0.0-dev.14: digest: sha256:720676665dc8bd1b7f522391819f67e81d503158001974cd0759af3ec239715a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:37 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:37 Configure a credential helper to remove this warning. See 07:39:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:37 07:39:37 Login Succeeded 07:39:37 nexus3.edgexfoundry.org:10002 07:39:37 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 07:39:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:37 133bf2de397d: Preparing 07:39:37 dfc51c6055fc: Preparing 07:39:37 03cd7ad948e5: Preparing 07:39:37 2e70d99d577b: Preparing 07:39:37 0103a3a28175: Preparing 07:39:37 ce5a8cde9eee: Preparing 07:39:37 ce5a8cde9eee: Waiting 07:39:37 133bf2de397d: Layer already exists 07:39:37 2e70d99d577b: Layer already exists 07:39:37 03cd7ad948e5: Layer already exists 07:39:37 0103a3a28175: Layer already exists 07:39:37 dfc51c6055fc: Layer already exists 07:39:37 ce5a8cde9eee: Layer already exists 07:39:37 3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14: digest: sha256:720676665dc8bd1b7f522391819f67e81d503158001974cd0759af3ec239715a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:38 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:38 Configure a credential helper to remove this warning. See 07:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:38 07:39:38 Login Succeeded 07:39:38 nexus3.edgexfoundry.org:10003 07:39:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:39:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:39:38 133bf2de397d: Preparing 07:39:38 dfc51c6055fc: Preparing 07:39:38 03cd7ad948e5: Preparing 07:39:38 2e70d99d577b: Preparing 07:39:38 0103a3a28175: Preparing 07:39:38 ce5a8cde9eee: Preparing 07:39:38 ce5a8cde9eee: Waiting 07:39:38 2e70d99d577b: Layer already exists 07:39:38 133bf2de397d: Layer already exists 07:39:38 dfc51c6055fc: Layer already exists 07:39:38 03cd7ad948e5: Layer already exists 07:39:38 0103a3a28175: Layer already exists 07:39:38 ce5a8cde9eee: Layer already exists 07:39:38 main: digest: sha256:720676665dc8bd1b7f522391819f67e81d503158001974cd0759af3ec239715a size: 1576 [Pipeline] } 07:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:38 Configure a credential helper to remove this warning. See 07:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:38 07:39:38 Login Succeeded 07:39:38 nexus3.edgexfoundry.org:10004 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:39:38 ===================================================== [Pipeline] echo 07:39:38 taggedImages: 07:39:38 - nexus3.edgexfoundry.org:10004/device-modbus:3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:39:38 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:39:38 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.14 07:39:38 - nexus3.edgexfoundry.org:10004/device-modbus:3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 07:39:38 - 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:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:38 Configure a credential helper to remove this warning. See 07:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:38 07:39:38 Login Succeeded 07:39:38 ****.io 07:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:38 07:39:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:39 latest: Pulling from edgex-lftools-log-publisher 07:39:39 5eb5b503b376: Pulling fs layer 07:39:39 5c69ac0246d0: Pulling fs layer 07:39:39 ec43610c2a17: Pulling fs layer 07:39:39 3a2ae6a8a46f: Pulling fs layer 07:39:39 33b1e0a273af: Pulling fs layer 07:39:39 5d3b04190fa2: Pulling fs layer 07:39:39 2f39f015ded8: Pulling fs layer 07:39:39 33b1e0a273af: Waiting 07:39:39 5d3b04190fa2: Waiting 07:39:39 2f39f015ded8: Waiting 07:39:39 3a2ae6a8a46f: Waiting 07:39:39 5c69ac0246d0: Verifying Checksum 07:39:39 5c69ac0246d0: Download complete 07:39:39 3a2ae6a8a46f: Download complete 07:39:39 33b1e0a273af: Verifying Checksum 07:39:39 33b1e0a273af: Download complete 07:39:39 5d3b04190fa2: Download complete 07:39:39 ec43610c2a17: Verifying Checksum 07:39:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:39:39 Configure a credential helper to remove this warning. See 07:39:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:39:39 07:39:39 Login Succeeded 07:39:39 ---> ****-login.sh ends [Pipeline] } 07:39:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 07:39:39 5eb5b503b376: Download complete [Pipeline] echo 07:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:39:39 ========================================================= 07:39:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 07:39:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:40 + 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:39:40 2f39f015ded8: Download complete 07:39:40 Sending build context to Docker daemon 9.263MB 07:39:40 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:39:40 Step 2/10 : FROM ${BASE} AS builder 07:39:40 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:39:40 9986a736f7d3: Pulling fs layer 07:39:40 1f018df60701: Pulling fs layer 07:39:40 39f8f326b044: Pulling fs layer 07:39:40 e6a1e7a6a96a: Pulling fs layer 07:39:40 4f4fb700ef54: Pulling fs layer 07:39:40 d45d956e0dbf: Pulling fs layer 07:39:40 d7702b0d1db1: Pulling fs layer 07:39:40 5c7f0f088c93: Pulling fs layer 07:39:40 4fdc064ae6cf: Pulling fs layer 07:39:40 e6a1e7a6a96a: Waiting 07:39:40 4f4fb700ef54: Waiting 07:39:40 d45d956e0dbf: Waiting 07:39:40 d7702b0d1db1: Waiting 07:39:40 5c7f0f088c93: Waiting 07:39:40 4fdc064ae6cf: Waiting 07:39:40 1f018df60701: Verifying Checksum 07:39:40 1f018df60701: Download complete 07:39:40 e6a1e7a6a96a: Download complete 07:39:40 4f4fb700ef54: Verifying Checksum 07:39:40 4f4fb700ef54: Download complete 07:39:40 d45d956e0dbf: Verifying Checksum 07:39:40 d45d956e0dbf: Download complete 07:39:40 d7702b0d1db1: Verifying Checksum 07:39:40 d7702b0d1db1: Download complete 07:39:40 9986a736f7d3: Verifying Checksum 07:39:40 9986a736f7d3: Download complete 07:39:41 5eb5b503b376: Pull complete 07:39:41 5c69ac0246d0: Pull complete 07:39:41 4fdc064ae6cf: Verifying Checksum 07:39:41 4fdc064ae6cf: Download complete 07:39:41 ec43610c2a17: Pull complete 07:39:41 3a2ae6a8a46f: Pull complete 07:39:41 33b1e0a273af: Pull complete 07:39:41 9986a736f7d3: Pull complete 07:39:41 5d3b04190fa2: Pull complete 07:39:42 1f018df60701: Pull complete 07:39:42 39f8f326b044: Verifying Checksum 07:39:42 39f8f326b044: Download complete 07:39:43 5c7f0f088c93: Verifying Checksum 07:39:43 5c7f0f088c93: Download complete 07:39:46 2f39f015ded8: Pull complete 07:39:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:39:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:39:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:46 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:39:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:39:50 $ docker top bc60b7fc4c1b7304134ed6dd59c8d20bef00f668009bb6b5ad3aa04dbfb4396c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:50 ---> job-cost.sh 07:39:50 lf-activate-venv: SKIPPING 07:39:50 INFO: No Stack... 07:39:51 INFO: Retrieving Pricing Info for: v3-standard-8 07:39:51 INFO: Archiving Costs [Pipeline] sh 07:39:51 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:39:51 + cut -d, -f6 [Pipeline] lock 07:39:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] 07:39:51 Resource [jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] did not exist. Created. 07:39:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:39:52 + echo total: 0.2199999988079071 [Pipeline] stash 07:39:52 Stashed 1 file(s) [Pipeline] } 07:39:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 07:39:52 $ docker stop --time=1 bc60b7fc4c1b7304134ed6dd59c8d20bef00f668009bb6b5ad3aa04dbfb4396c 07:39:53 $ docker rm -f --volumes bc60b7fc4c1b7304134ed6dd59c8d20bef00f668009bb6b5ad3aa04dbfb4396c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:39:58 39f8f326b044: Pull complete 07:39:58 e6a1e7a6a96a: Pull complete 07:39:58 4f4fb700ef54: Pull complete 07:39:58 d45d956e0dbf: Pull complete 07:39:58 d7702b0d1db1: Pull complete 07:40:05 5c7f0f088c93: Pull complete 07:40:07 4fdc064ae6cf: Pull complete 07:40:07 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 07:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 07:40:07 ---> 63f30b955cb9 07:40:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:40:07 ---> Running in cb492692ce84 07:40:08 Removing intermediate container cb492692ce84 07:40:08 ---> 0113188735d5 07:40:08 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:08 ---> Running in 1d4533f1ea79 07:40:08 Removing intermediate container 1d4533f1ea79 07:40:08 ---> a7ea090c8e21 07:40:08 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:40:08 ---> Running in 8746faa372e2 07:40:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:40:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:40:11 (1/8) Installing openssh-keygen (9.7_p1-r4) 07:40:11 (2/8) Installing libedit (20240517.3.1-r0) 07:40:11 (3/8) Installing openssh-client-common (9.7_p1-r4) 07:40:11 (4/8) Installing openssh-client-default (9.7_p1-r4) 07:40:11 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 07:40:11 (6/8) Installing openssh-server-common (9.7_p1-r4) 07:40:11 (7/8) Installing openssh-server (9.7_p1-r4) 07:40:11 (8/8) Installing openssh (9.7_p1-r4) 07:40:11 Executing busybox-1.36.1-r29.trigger 07:40:11 OK: 245 MiB in 66 packages 07:40:12 Removing intermediate container 8746faa372e2 07:40:12 ---> b22e073952ca 07:40:12 Step 6/10 : WORKDIR /device-modbus-go 07:40:12 ---> Running in 54009b101843 07:40:12 Removing intermediate container 54009b101843 07:40:12 ---> d76984f839b2 07:40:12 Step 7/10 : COPY go.mod vendor* ./ 07:40:13 ---> c175e3fc2427 07:40:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:13 ---> Running in ae90eeb131b2 07:41:50 Removing intermediate container ae90eeb131b2 07:41:50 ---> a8976dbdc2c0 07:41:50 Step 9/10 : COPY . . 07:41:50 ---> 94c3b9a5d490 07:41:50 Step 10/10 : RUN ${MAKE} 07:41:50 ---> Running in bca69354e31b 07:41:50 noop 07:41:51 Removing intermediate container bca69354e31b 07:41:51 ---> d13182d0518f 07:41:51 Successfully built d13182d0518f 07:41:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:51 + docker inspect -f . ci-base-image-arm64 07:41:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:52 prd-ubuntu20.04-docker-arm64-4c-16g-38509 does not seem to be running inside a container 07:41:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/179 -v /w/workspace/device-modbus-go/179:/w/workspace/device-modbus-go/179:rw,z -v /w/workspace/device-modbus-go/179@tmp:/w/workspace/device-modbus-go/179@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 ******** ci-base-image-arm64 cat 07:41:53 $ docker top 3d13da07debe0fec77e0f016e7402c820b4fe0cb77ab3a81494007efee2acce8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:54 + go version 07:41:54 go version go1.23.4 linux/arm64 [Pipeline] } 07:41:54 $ docker stop --time=1 3d13da07debe0fec77e0f016e7402c820b4fe0cb77ab3a81494007efee2acce8 07:41:55 $ docker rm -f --volumes 3d13da07debe0fec77e0f016e7402c820b4fe0cb77ab3a81494007efee2acce8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:56 + docker inspect -f . ci-base-image-arm64 07:41:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:56 prd-ubuntu20.04-docker-arm64-4c-16g-38509 does not seem to be running inside a container 07:41:56 $ 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/179 -v /w/workspace/device-modbus-go/179:/w/workspace/device-modbus-go/179:rw,z -v /w/workspace/device-modbus-go/179@tmp:/w/workspace/device-modbus-go/179@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 ******** ci-base-image-arm64 cat 07:41:58 $ docker top a1e6de6325fa82191eb02e2043dbeeaf41402af6316996d6eaf191c29206b35c -eo pid,comm [Pipeline] { [Pipeline] sh 07:41:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/179 [Pipeline] fileExists [Pipeline] sh 07:41:59 + make test 07:41:59 go test ./... -coverprofile=coverage.out 07:42:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:45:11 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 07:45:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.056s coverage: 45.7% of statements 07:45:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:45:15 go vet ./... 07:46:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:46:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:46:02 ./bin/test-attribution-txt.sh [Pipeline] echo 07:46:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:46:02 $ docker stop --time=1 a1e6de6325fa82191eb02e2043dbeeaf41402af6316996d6eaf191c29206b35c 07:46:04 $ docker rm -f --volumes a1e6de6325fa82191eb02e2043dbeeaf41402af6316996d6eaf191c29206b35c [Pipeline] // withDockerContainer [Pipeline] sh 07:46:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:46:05 Warning: overwriting stash ‘coverage-report’ 07:46:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:46:07 + ls -al . 07:46:07 total 256 07:46:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 07:42 . 07:46:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 07:39 .. 07:46:07 -rw-rw-r-- 1 jenkins jenkins 140 Feb 10 07:39 .dockerignore 07:46:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 07:39 .git 07:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 07:39 .github 07:46:07 -rw-rw-r-- 1 jenkins jenkins 266 Feb 10 07:39 .gitignore 07:46:07 -rw-rw-r-- 1 jenkins jenkins 199 Feb 10 07:39 .golangci.yml 07:46:07 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 10 07:39 Attribution.txt 07:46:07 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 10 07:39 CHANGELOG.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 10 07:39 Dockerfile 07:46:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 07:39 GOVERNANCE.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 658 Feb 10 07:39 Jenkinsfile 07:46:07 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 10 07:39 LICENSE 07:46:07 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 10 07:39 Makefile 07:46:07 -rw-rw-r-- 1 jenkins jenkins 622 Feb 10 07:39 OWNERS.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 10 07:39 README.md 07:46:07 -rw-rw-r-- 1 jenkins jenkins 12 Feb 10 07:37 VERSION 07:46:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 07:39 bin 07:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 07:39 cmd 07:46:07 -rw-r--r-- 1 jenkins jenkins 26779 Feb 10 07:45 coverage.out 07:46:07 -rw-rw-r-- 1 jenkins jenkins 6342 Feb 10 07:39 go.mod 07:46:07 -rw-rw-r-- 1 jenkins jenkins 86606 Feb 10 07:39 go.sum 07:46:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 07:39 internal 07:46:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 07:39 simulator 07:46:07 -rw-rw-r-- 1 jenkins jenkins 229 Feb 10 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:07 + 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=3ffb09239547e5bfb998c0889f5d3f26b6a509f8 --label arch=arm64 --label version=4.0.0-dev.14 . 07:46:07 Sending build context to Docker daemon 9.29MB 07:46:08 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 07:46:08 Step 2/23 : FROM ${BASE} AS builder 07:46:08 ---> d13182d0518f 07:46:08 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:46:08 ---> Running in 48eb3e0d0341 07:46:08 Removing intermediate container 48eb3e0d0341 07:46:08 ---> 8c3b13bae3a6 07:46:08 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:08 ---> Running in dfb8b07bff2b 07:46:08 Removing intermediate container dfb8b07bff2b 07:46:08 ---> 7bcc49207afe 07:46:08 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:46:08 ---> Running in fc3f3ba4bd5c 07:46:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:46:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:46:11 OK: 245 MiB in 66 packages 07:46:13 Removing intermediate container fc3f3ba4bd5c 07:46:13 ---> a719f83fec1f 07:46:13 Step 6/23 : WORKDIR /device-modbus-go 07:46:13 ---> Running in 4281b873c3d0 07:46:13 Removing intermediate container 4281b873c3d0 07:46:13 ---> 70444df513ba 07:46:13 Step 7/23 : COPY go.mod vendor* ./ 07:46:13 ---> f89fdd38c539 07:46:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:13 ---> Running in ddb199398af2 07:46:16 Removing intermediate container ddb199398af2 07:46:16 ---> 8dad1b66eb0c 07:46:16 Step 9/23 : COPY . . 07:46:17 ---> 103450ab9865 07:46:17 Step 10/23 : RUN ${MAKE} 07:46:17 ---> Running in ce88b28a3eec 07:46:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.21 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:49:39 Removing intermediate container ce88b28a3eec 07:49:39 ---> 63238cf177e8 07:49:39 Step 11/23 : FROM alpine:3.20 07:49:39 3.20: Pulling from library/alpine 07:49:39 0152682790bb: Pulling fs layer 07:49:39 0152682790bb: Download complete 07:49:39 0152682790bb: Pull complete 07:49:39 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 07:49:39 Status: Downloaded newer image for alpine:3.20 07:49:39 ---> f4194d9e8c10 07:49:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 07:49:39 ---> Running in 8d041c88085c 07:49:39 Removing intermediate container 8d041c88085c 07:49:39 ---> 2781ad9acb26 07:49:39 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:49:39 ---> Running in 855fa702fc49 07:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:49:39 (1/1) Installing dumb-init (1.2.5-r3) 07:49:39 Executing busybox-1.36.1-r29.trigger 07:49:39 OK: 9 MiB in 15 packages 07:49:39 Removing intermediate container 855fa702fc49 07:49:39 ---> 6ed87b074976 07:49:39 Step 14/23 : RUN apk --no-cache upgrade 07:49:39 ---> Running in cec7bc42abe2 07:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:49:39 (1/2) Upgrading libcrypto3 (3.3.2-r1 -> 3.3.2-r2) 07:49:39 (2/2) Upgrading libssl3 (3.3.2-r1 -> 3.3.2-r2) 07:49:39 OK: 9 MiB in 15 packages 07:49:39 Removing intermediate container cec7bc42abe2 07:49:39 ---> 27db11048e52 07:49:39 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:49:39 ---> 95594b59b5d4 07:49:39 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:49:39 ---> f727369d1162 07:49:39 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:49:39 ---> 9d35c8a2e465 07:49:39 Step 18/23 : EXPOSE 59901 07:49:39 ---> Running in 2c2145153993 07:49:39 Removing intermediate container 2c2145153993 07:49:39 ---> db63307c4885 07:49:39 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:49:39 ---> Running in 5732715429e8 07:49:39 Removing intermediate container 5732715429e8 07:49:39 ---> 25a5b4ebfb38 07:49:39 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:49:39 ---> Running in ccdb180a9631 07:49:39 Removing intermediate container ccdb180a9631 07:49:39 ---> e8b6a4e1886b 07:49:39 Step 21/23 : LABEL arch=arm64 07:49:39 ---> Running in 20ac9dcb36ba 07:49:39 Removing intermediate container 20ac9dcb36ba 07:49:39 ---> 02431960e5be 07:49:39 Step 22/23 : LABEL git_sha=3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:49:39 ---> Running in 92d860a646f4 07:49:39 Removing intermediate container 92d860a646f4 07:49:39 ---> 9c0dc25b6e7a 07:49:39 Step 23/23 : LABEL version=4.0.0-dev.14 07:49:40 ---> Running in df2f34fb7190 07:49:40 Removing intermediate container df2f34fb7190 07:49:40 ---> 7b0d557e7706 07:49:40 [Warning] One or more build-args [ARCH] were not consumed 07:49:40 Successfully built 7b0d557e7706 07:49:40 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:40 provisioning config files... 07:49:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/179@tmp/config8350983802445226529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:41 ---> ****-login.sh 07:49:41 nexus3.edgexfoundry.org:10001 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 nexus3.edgexfoundry.org:10002 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 nexus3.edgexfoundry.org:10003 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10004 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 ****.io 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 ---> ****-login.sh ends [Pipeline] } 07:49:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:49:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:49:43 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:49:43 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:49:43 latest 07:49:43 4.0.0-dev.14 07:49:43 3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 07:49:43 main 07:49:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:43 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:43 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:49:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:49:43 e2342cfa1197: Preparing 07:49:43 74443e997070: Preparing 07:49:43 29cfcd44d851: Preparing 07:49:43 9f4eabcb0c3e: Preparing 07:49:43 6dce2b70b61f: Preparing 07:49:43 534a70dc8296: Preparing 07:49:43 534a70dc8296: Waiting 07:49:44 e2342cfa1197: Pushed 07:49:44 6dce2b70b61f: Pushed 07:49:44 74443e997070: Pushed 07:49:44 534a70dc8296: Layer already exists 07:49:45 9f4eabcb0c3e: Pushed 07:49:52 29cfcd44d851: Pushed 07:49:52 3ffb09239547e5bfb998c0889f5d3f26b6a509f8: digest: sha256:e3d5254eca7088ae17a6101bc505adeefed158242d7d46d4ca05d7e25751283c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:49:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:49:53 e2342cfa1197: Preparing 07:49:53 74443e997070: Preparing 07:49:53 29cfcd44d851: Preparing 07:49:53 9f4eabcb0c3e: Preparing 07:49:53 6dce2b70b61f: Preparing 07:49:53 534a70dc8296: Preparing 07:49:53 534a70dc8296: Waiting 07:49:53 e2342cfa1197: Layer already exists 07:49:53 74443e997070: Layer already exists 07:49:53 6dce2b70b61f: Layer already exists 07:49:53 29cfcd44d851: Layer already exists 07:49:53 9f4eabcb0c3e: Layer already exists 07:49:53 534a70dc8296: Layer already exists 07:49:53 latest: digest: sha256:e3d5254eca7088ae17a6101bc505adeefed158242d7d46d4ca05d7e25751283c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.14 07:49:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:49:54 e2342cfa1197: Preparing 07:49:54 74443e997070: Preparing 07:49:54 29cfcd44d851: Preparing 07:49:54 9f4eabcb0c3e: Preparing 07:49:54 6dce2b70b61f: Preparing 07:49:54 534a70dc8296: Preparing 07:49:54 534a70dc8296: Waiting 07:49:54 e2342cfa1197: Layer already exists 07:49:54 74443e997070: Layer already exists 07:49:54 9f4eabcb0c3e: Layer already exists 07:49:54 29cfcd44d851: Layer already exists 07:49:54 6dce2b70b61f: Layer already exists 07:49:54 534a70dc8296: Layer already exists 07:49:54 4.0.0-dev.14: digest: sha256:e3d5254eca7088ae17a6101bc505adeefed158242d7d46d4ca05d7e25751283c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 07:49:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:49:55 e2342cfa1197: Preparing 07:49:55 74443e997070: Preparing 07:49:55 29cfcd44d851: Preparing 07:49:55 9f4eabcb0c3e: Preparing 07:49:55 6dce2b70b61f: Preparing 07:49:55 534a70dc8296: Preparing 07:49:55 534a70dc8296: Waiting 07:49:55 29cfcd44d851: Layer already exists 07:49:55 6dce2b70b61f: Layer already exists 07:49:55 e2342cfa1197: Layer already exists 07:49:55 9f4eabcb0c3e: Layer already exists 07:49:55 74443e997070: Layer already exists 07:49:55 534a70dc8296: Layer already exists 07:49:55 3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14: digest: sha256:e3d5254eca7088ae17a6101bc505adeefed158242d7d46d4ca05d7e25751283c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:49:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:49:55 e2342cfa1197: Preparing 07:49:55 74443e997070: Preparing 07:49:55 29cfcd44d851: Preparing 07:49:55 9f4eabcb0c3e: Preparing 07:49:55 6dce2b70b61f: Preparing 07:49:55 534a70dc8296: Preparing 07:49:55 534a70dc8296: Waiting 07:49:55 29cfcd44d851: Layer already exists 07:49:55 9f4eabcb0c3e: Layer already exists 07:49:55 6dce2b70b61f: Layer already exists 07:49:55 e2342cfa1197: Layer already exists 07:49:55 74443e997070: Layer already exists 07:49:55 534a70dc8296: Layer already exists 07:49:56 main: digest: sha256:e3d5254eca7088ae17a6101bc505adeefed158242d7d46d4ca05d7e25751283c size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:49:56 ===================================================== [Pipeline] echo 07:49:56 taggedImages: 07:49:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3ffb09239547e5bfb998c0889f5d3f26b6a509f8 07:49:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:49:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.14 07:49:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3ffb09239547e5bfb998c0889f5d3f26b6a509f8-4.0.0-dev.14 07:49:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:49:56 07:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:49:57 arm64: Pulling from edgex-lftools-log-publisher 07:49:57 8998bd30e6a1: Pulling fs layer 07:49:57 04944245beec: Pulling fs layer 07:49:57 699f458cf7ca: Pulling fs layer 07:49:57 765212b225bb: Pulling fs layer 07:49:57 f23df028b6ca: Pulling fs layer 07:49:57 d65c8cfc05b1: Pulling fs layer 07:49:57 2437ff75d9bd: Pulling fs layer 07:49:57 765212b225bb: Waiting 07:49:57 f23df028b6ca: Waiting 07:49:57 d65c8cfc05b1: Waiting 07:49:57 2437ff75d9bd: Waiting 07:49:57 04944245beec: Verifying Checksum 07:49:57 04944245beec: Download complete 07:49:57 765212b225bb: Verifying Checksum 07:49:57 765212b225bb: Download complete 07:49:57 f23df028b6ca: Verifying Checksum 07:49:57 f23df028b6ca: Download complete 07:49:57 d65c8cfc05b1: Verifying Checksum 07:49:57 d65c8cfc05b1: Download complete 07:49:57 699f458cf7ca: Verifying Checksum 07:49:57 699f458cf7ca: Download complete 07:49:57 8998bd30e6a1: Download complete 07:50:00 2437ff75d9bd: Verifying Checksum 07:50:00 2437ff75d9bd: Download complete 07:50:02 8998bd30e6a1: Pull complete 07:50:03 04944245beec: Pull complete 07:50:04 699f458cf7ca: Pull complete 07:50:04 765212b225bb: Pull complete 07:50:05 f23df028b6ca: Pull complete 07:50:05 d65c8cfc05b1: Pull complete 07:50:22 2437ff75d9bd: Pull complete 07:50:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:50:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:50:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:22 prd-ubuntu20.04-docker-arm64-4c-16g-38509 does not seem to be running inside a container 07:50:22 $ 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/179 -v /w/workspace/device-modbus-go/179:/w/workspace/device-modbus-go/179:rw,z -v /w/workspace/device-modbus-go/179@tmp:/w/workspace/device-modbus-go/179@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:arm64 cat 07:50:25 $ docker top 4b407b3b44824f5cd541b7e0fc878647c77ab31df12868bf25d9fe81cf083651 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:25 ---> job-cost.sh 07:50:25 lf-activate-venv: SKIPPING 07:50:25 INFO: No Stack... 07:50:26 INFO: Retrieving Pricing Info for: v3-standard-4 07:50:27 INFO: Archiving Costs [Pipeline] sh 07:50:27 + cat /w/workspace/device-modbus-go/179/archives/cost.csv 07:50:27 + cut -d, -f6 [Pipeline] lock 07:50:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] 07:50:27 Resource [jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] did not exist. Created. 07:50:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:50:28 /w/workspace/device-modbus-go/179@tmp/durable-fe25560d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:50:29 + echo total: 0.10999999940395355 [Pipeline] stash 07:50:29 Warning: overwriting stash ‘stack-cost’ 07:50:29 Stashed 1 file(s) [Pipeline] } 07:50:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 07:50:29 $ docker stop --time=1 4b407b3b44824f5cd541b7e0fc878647c77ab31df12868bf25d9fe81cf083651 07:50:31 $ docker rm -f --volumes 4b407b3b44824f5cd541b7e0fc878647c77ab31df12868bf25d9fe81cf083651 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:50:32 provisioning config files... 07:50:32 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config805809957812716009tmp [Pipeline] { [Pipeline] sh 07:50:32 + set +x 07:50:32 + bash -s -- 07:50:32 + curl -s https://codecov.io/bash 07:50:32 07:50:32 _____ _ 07:50:32 / ____| | | 07:50:32 | | ___ __| | ___ ___ _____ __ 07:50:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:50:32 | |___| (_) | (_| | __/ (_| (_) \ V / 07:50:32 \_____\___/ \__,_|\___|\___\___/ \_/ 07:50:32 Bash-1.0.6 07:50:32 07:50:32 07:50:32 ==> git version 2.25.1 found 07:50:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:50:32 Release-Date: 2020-01-08 07:50:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:50:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:50:32 ==> Jenkins CI detected. 07:50:32 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:50:32 project root: . 07:50:32 --> token set from env 07:50:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:50:32 ==> Running gcov in . (disable via -X gcov) 07:50:32 ==> Python coveragepy not found 07:50:32 ==> Searching for coverage reports in: 07:50:32 + . 07:50:32 -> Found 1 reports 07:50:32 ==> Detecting git/mercurial file structure 07:50:32 ==> Reading reports 07:50:32 + ./coverage.out bytes=26779 07:50:32 ==> Appending adjustments 07:50:32 https://docs.codecov.io/docs/fixing-reports 07:50:32 + Found adjustments 07:50:32 ==> Gzipping contents 07:50:32 8.0K /tmp/codecov.zNRSQv.gz 07:50:32 ==> Uploading reports 07:50:32 url: https://codecov.io 07:50:32 query: branch=main&commit=3ffb09239547e5bfb998c0889f5d3f26b6a509f8&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:50:32 -> Pinging Codecov 07:50:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=3ffb09239547e5bfb998c0889f5d3f26b6a509f8&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:50:33 -> Uploading to 07:50:33 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/3ffb09239547e5bfb998c0889f5d3f26b6a509f8/16e07abd-722c-4dab-9a93-9be7fc7b872a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250210%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250210T075032Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=7e5f953da2de547adb7884ea2521c2964980bb80a5498d775cbb72b63103460c 07:50:33 % Total % Received % Xferd Average Speed Time Time Time Current 07:50:33 Dload Upload Total Spent Left Speed 07:50:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 37642 --:--:-- --:--:-- --:--:-- 37642 07:50:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] } 07:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:50:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:50:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:50:33 07:50:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:50:33 latest: Pulling from edgex-devops/edgex-snyk-go 07:50:33 43c4264eed91: Pulling fs layer 07:50:33 4cc291be95ef: Pulling fs layer 07:50:33 2ac1f1163629: Pulling fs layer 07:50:33 5c3c966382ef: Pulling fs layer 07:50:33 4f4fb700ef54: Pulling fs layer 07:50:33 d9c7d2e4e75e: Pulling fs layer 07:50:33 9c3e1370e548: Pulling fs layer 07:50:33 5c3c966382ef: Waiting 07:50:33 4f4fb700ef54: Waiting 07:50:33 d9c7d2e4e75e: Waiting 07:50:33 9c3e1370e548: Waiting 07:50:33 4cc291be95ef: Verifying Checksum 07:50:33 4cc291be95ef: Download complete 07:50:33 5c3c966382ef: Verifying Checksum 07:50:33 5c3c966382ef: Download complete 07:50:33 4f4fb700ef54: Download complete 07:50:33 43c4264eed91: Download complete 07:50:34 d9c7d2e4e75e: Verifying Checksum 07:50:34 d9c7d2e4e75e: Download complete 07:50:34 43c4264eed91: Pull complete 07:50:34 4cc291be95ef: Pull complete 07:50:34 2ac1f1163629: Download complete 07:50:35 9c3e1370e548: Verifying Checksum 07:50:35 9c3e1370e548: Download complete 07:50:38 2ac1f1163629: Pull complete 07:50:38 5c3c966382ef: Pull complete 07:50:38 4f4fb700ef54: Pull complete 07:50:38 d9c7d2e4e75e: Pull complete 07:50:41 9c3e1370e548: Pull complete 07:50:41 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:50:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:50:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:41 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:50:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:50:44 $ docker top 61718f07bf1d65fad1b6c1fe31777dfecb3d1796f4a4c277141c21617b33d651 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 07:50:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:50:45 + set -o pipefail 07:50:45 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:50:51 07:50:51 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:50:51 07:50:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/6e1e22a9-848c-4947-8b4d-4b21d8688187 07:50:51 07:50:51 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:50:51 07:50:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:50:51 07:50:51 07:50:51 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:50:51 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:50:51 $ docker stop --time=1 61718f07bf1d65fad1b6c1fe31777dfecb3d1796f4a4c277141c21617b33d651 07:50:55 $ docker rm -f --volumes 61718f07bf1d65fad1b6c1fe31777dfecb3d1796f4a4c277141c21617b33d651 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:50:55 + git log --format=format:%s -1 3ffb09239547e5bfb998c0889f5d3f26b6a509f8 [Pipeline] sh 07:50:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:56 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:50:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:50:57 $ docker top b7d7d7505be9d474e53fb6039234a5c533fbd9bc62e217c34d12d6f58fdb3378 -eo pid,comm 07:50:57 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:50:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:57 [ssh-agent] Looking for ssh-agent implementation... 07:50:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:57 $ docker exec b7d7d7505be9d474e53fb6039234a5c533fbd9bc62e217c34d12d6f58fdb3378 ssh-agent 07:50:57 SSH_AUTH_SOCK=/tmp/ssh-a2wK9VCxDIXb/agent.32 07:50:57 SSH_AGENT_PID=38 07:50:57 Running ssh-add (command line suppressed) 07:50:57 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12964805168889216691.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12964805168889216691.key) 07:50:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:57 + git semver tag 07:50:58 2025-02-10 07:50:58,083 [run_tag] DEBUG tag force:False 07:50:58 2025-02-10 07:50:58,083 [check_head_tag] DEBUG check head tag 07:50:58 2025-02-10 07:50:58,085 [execute] INFO git cat-file --batch-check 07:50:58 2025-02-10 07:50:58,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:50:58 2025-02-10 07:50:58,089 [execute] INFO git cat-file --batch 07:50:58 2025-02-10 07:50:58,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:50:58 2025-02-10 07:50:58,117 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:58 2025-02-10 07:50:58,117 [execute] INFO git tag -a v4.0.0-dev.14 -m v4.0.0-dev.14 07:50:58 2025-02-10 07:50:58,117 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.14', '-m', 'v4.0.0-dev.14'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:50:58 2025-02-10 07:50:58,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:58 4.0.0-dev.14 [Pipeline] } 07:50:58 $ docker exec --env ******** --env ******** b7d7d7505be9d474e53fb6039234a5c533fbd9bc62e217c34d12d6f58fdb3378 ssh-agent -k 07:50:58 unset SSH_AUTH_SOCK; 07:50:58 unset SSH_AGENT_PID; 07:50:58 echo Agent pid 38 killed; 07:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:58 + git semver [Pipeline] } 07:50:58 $ docker stop --time=1 b7d7d7505be9d474e53fb6039234a5c533fbd9bc62e217c34d12d6f58fdb3378 07:51:00 $ docker rm -f --volumes b7d7d7505be9d474e53fb6039234a5c533fbd9bc62e217c34d12d6f58fdb3378 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:00 07:51:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:00 0.23.1-centos7: Pulling from edgex-lftools 07:51:00 ab5ef0e58194: Pulling fs layer 07:51:00 9712f1f96733: Pulling fs layer 07:51:00 63f879dbbcfc: Pulling fs layer 07:51:00 0d9ebad4ef96: Pulling fs layer 07:51:00 e9a5061849ea: Pulling fs layer 07:51:00 0d9ebad4ef96: Waiting 07:51:00 d747dcd14b5f: Pulling fs layer 07:51:00 e9a5061849ea: Waiting 07:51:00 2de7ff778b66: Pulling fs layer 07:51:00 2de7ff778b66: Waiting 07:51:00 9712f1f96733: Verifying Checksum 07:51:00 9712f1f96733: Download complete 07:51:01 63f879dbbcfc: Verifying Checksum 07:51:01 63f879dbbcfc: Download complete 07:51:01 e9a5061849ea: Verifying Checksum 07:51:01 e9a5061849ea: Download complete 07:51:01 d747dcd14b5f: Download complete 07:51:01 0d9ebad4ef96: Verifying Checksum 07:51:01 0d9ebad4ef96: Download complete 07:51:01 ab5ef0e58194: Verifying Checksum 07:51:01 ab5ef0e58194: Download complete 07:51:01 2de7ff778b66: Verifying Checksum 07:51:01 2de7ff778b66: Download complete 07:51:03 ab5ef0e58194: Pull complete 07:51:03 9712f1f96733: Pull complete 07:51:04 63f879dbbcfc: Pull complete 07:51:08 0d9ebad4ef96: Pull complete 07:51:08 e9a5061849ea: Pull complete 07:51:08 d747dcd14b5f: Pull complete 07:51:09 2de7ff778b66: Pull complete 07:51:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:51:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:51:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:09 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:51:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:51:11 $ docker top 33c1328b31998aecc3ce68101b6c151c0cb4292724862359f7968b48d859e159 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:51:11 provisioning config files... 07:51:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15904353417608959466tmp 07:51:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4520310400408068711tmp 07:51:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13200272255008305130tmp [Pipeline] { [Pipeline] echo 07:51:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:51:11 ---> sigul-configuration.sh 07:51:11 gpg: directory `/root/.gnupg' created 07:51:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:51:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:51:11 gpg: keyring `/root/.gnupg/secring.gpg' created 07:51:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:51:11 gpg: CAST5 encrypted data 07:51:11 gpg: encrypted with 1 passphrase 07:51:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:51:12 + mkdir /home/jenkins 07:51:12 + mkdir /home/jenkins/sigul [Pipeline] sh 07:51:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:51:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:51:12 ---> sigul-install.sh 07:51:12 Sigul already installed; skipping installation. [Pipeline] sh 07:51:13 + git tag --list 07:51:13 0.7.1 07:51:13 v1.0.0 07:51:13 v1.1.0 07:51:13 v1.1.1 07:51:13 v1.2.2 07:51:13 v1.3.0 07:51:13 v1.3.1 07:51:13 v2.0.0 07:51:13 v2.1.0 07:51:13 v2.1.1 07:51:13 v2.2.0 07:51:13 v2.3.0 07:51:13 v3.0 07:51:13 v3.0.0 07:51:13 v3.1 07:51:13 v3.1.0 07:51:13 v3.1.0-dev.1 07:51:13 v3.1.0-dev.10 07:51:13 v3.1.0-dev.11 07:51:13 v3.1.0-dev.12 07:51:13 v3.1.0-dev.13 07:51:13 v3.1.0-dev.14 07:51:13 v3.1.0-dev.15 07:51:13 v3.1.0-dev.16 07:51:13 v3.1.0-dev.17 07:51:13 v3.1.0-dev.18 07:51:13 v3.1.0-dev.19 07:51:13 v3.1.0-dev.2 07:51:13 v3.1.0-dev.20 07:51:13 v3.1.0-dev.21 07:51:13 v3.1.0-dev.22 07:51:13 v3.1.0-dev.23 07:51:13 v3.1.0-dev.24 07:51:13 v3.1.0-dev.25 07:51:13 v3.1.0-dev.3 07:51:13 v3.1.0-dev.4 07:51:13 v3.1.0-dev.5 07:51:13 v3.1.0-dev.6 07:51:13 v3.1.0-dev.7 07:51:13 v3.1.0-dev.8 07:51:13 v3.1.0-dev.9 07:51:13 v3.1.1 07:51:13 v3.1.1-dev.1 07:51:13 v3.2.0-dev.1 07:51:13 v3.2.0-dev.10 07:51:13 v3.2.0-dev.11 07:51:13 v3.2.0-dev.12 07:51:13 v3.2.0-dev.13 07:51:13 v3.2.0-dev.14 07:51:13 v3.2.0-dev.15 07:51:13 v3.2.0-dev.16 07:51:13 v3.2.0-dev.17 07:51:13 v3.2.0-dev.18 07:51:13 v3.2.0-dev.19 07:51:13 v3.2.0-dev.2 07:51:13 v3.2.0-dev.20 07:51:13 v3.2.0-dev.21 07:51:13 v3.2.0-dev.22 07:51:13 v3.2.0-dev.23 07:51:13 v3.2.0-dev.24 07:51:13 v3.2.0-dev.25 07:51:13 v3.2.0-dev.26 07:51:13 v3.2.0-dev.3 07:51:13 v3.2.0-dev.4 07:51:13 v3.2.0-dev.5 07:51:13 v3.2.0-dev.6 07:51:13 v3.2.0-dev.7 07:51:13 v3.2.0-dev.8 07:51:13 v3.2.0-dev.9 07:51:13 v4.0.0-dev.1 07:51:13 v4.0.0-dev.10 07:51:13 v4.0.0-dev.11 07:51:13 v4.0.0-dev.12 07:51:13 v4.0.0-dev.13 07:51:13 v4.0.0-dev.14 07:51:13 v4.0.0-dev.2 07:51:13 v4.0.0-dev.3 07:51:13 v4.0.0-dev.4 07:51:13 v4.0.0-dev.5 07:51:13 v4.0.0-dev.6 07:51:13 v4.0.0-dev.7 07:51:13 v4.0.0-dev.8 07:51:13 v4.0.0-dev.9 [Pipeline] sh 07:51:13 + lftools sign git-tag v4.0.0-dev.14 07:51:14 Signing Git tag with Sigul... 07:51:14 Signing v4.0.0-dev.14 [Pipeline] echo 07:51:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:51:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:51:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:51:14 $ docker stop --time=1 33c1328b31998aecc3ce68101b6c151c0cb4292724862359f7968b48d859e159 07:51:15 $ docker rm -f --volumes 33c1328b31998aecc3ce68101b6c151c0cb4292724862359f7968b48d859e159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:51:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:51:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:17 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:51:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:51:17 $ docker top 87888ccb38fc621b6fdfd685f197b4c48403ccb18babbd1b8f3f1a2016f23029 -eo pid,comm 07:51:17 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:51:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:17 [ssh-agent] Looking for ssh-agent implementation... 07:51:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:17 $ docker exec 87888ccb38fc621b6fdfd685f197b4c48403ccb18babbd1b8f3f1a2016f23029 ssh-agent 07:51:17 SSH_AUTH_SOCK=/tmp/ssh-O9FV76SqbwjC/agent.32 07:51:17 SSH_AGENT_PID=38 07:51:17 Running ssh-add (command line suppressed) 07:51:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3134555110106118029.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3134555110106118029.key) 07:51:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:18 + git semver bump pre 07:51:18 2025-02-10 07:51:18,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:51:18 2025-02-10 07:51:18,272 [bump_version] DEBUG bumping version:4.0.0-dev.14 on axis:pre with prefix:dev 07:51:18 2025-02-10 07:51:18,272 [bump_version] DEBUG bumped version:4.0.0-dev.15 07:51:18 2025-02-10 07:51:18,272 [write_version] DEBUG write version:4.0.0-dev.15 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:51:18 2025-02-10 07:51:18,272 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:51:18 2025-02-10 07:51:18,272 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:51:18 2025-02-10 07:51:18,274 [execute] INFO git cat-file --batch-check 07:51:18 2025-02-10 07:51:18,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:51:18 2025-02-10 07:51:18,280 [execute] INFO git cat-file --batch 07:51:18 2025-02-10 07:51:18,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:51:18 2025-02-10 07:51:18,285 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:51:18 4.0.0-dev.15 [Pipeline] } 07:51:18 $ docker exec --env ******** --env ******** 87888ccb38fc621b6fdfd685f197b4c48403ccb18babbd1b8f3f1a2016f23029 ssh-agent -k 07:51:18 unset SSH_AUTH_SOCK; 07:51:18 unset SSH_AGENT_PID; 07:51:18 echo Agent pid 38 killed; 07:51:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:51:18 + git semver [Pipeline] } 07:51:19 $ docker stop --time=1 87888ccb38fc621b6fdfd685f197b4c48403ccb18babbd1b8f3f1a2016f23029 07:51:20 $ docker rm -f --volumes 87888ccb38fc621b6fdfd685f197b4c48403ccb18babbd1b8f3f1a2016f23029 [Pipeline] // withDockerContainer [Pipeline] sh 07:51:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:51:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:21 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:51:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:51:21 $ docker top 5b9928d6f4880cfb30f231a61e1d16f7bb3c127923a05bbe2472b05cdf5f701a -eo pid,comm 07:51:21 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:51:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:21 [ssh-agent] Looking for ssh-agent implementation... 07:51:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:21 $ docker exec 5b9928d6f4880cfb30f231a61e1d16f7bb3c127923a05bbe2472b05cdf5f701a ssh-agent 07:51:21 SSH_AUTH_SOCK=/tmp/ssh-zHaW7aoC8uGa/agent.32 07:51:21 SSH_AGENT_PID=38 07:51:21 Running ssh-add (command line suppressed) 07:51:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7085541587409056072.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7085541587409056072.key) 07:51:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:22 + git semver push 07:51:22 2025-02-10 07:51:22,465 [run_push] DEBUG push 07:51:22 2025-02-10 07:51:22,465 [execute] INFO git cat-file --batch-check 07:51:22 2025-02-10 07:51:22,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:51:22 2025-02-10 07:51:22,469 [execute] INFO git rev-list 6ad9af75e940d26711038e24b48e89d9a43d1b1f -- 07:51:22 2025-02-10 07:51:22,469 [execute] DEBUG Popen(['git', 'rev-list', '6ad9af75e940d26711038e24b48e89d9a43d1b1f', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:51:22 2025-02-10 07:51:22,480 [execute] INFO git fetch -v origin 07:51:22 2025-02-10 07:51:22,480 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:51:23 2025-02-10 07:51:22,944 [run_push] DEBUG no remote changes detected 07:51:23 2025-02-10 07:51:22,945 [execute] INFO git push origin semver 07:51:23 2025-02-10 07:51:22,945 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:51:23 2025-02-10 07:51:23,589 [run_push] DEBUG push all version tags 07:51:23 2025-02-10 07:51:23,590 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:51:23 2025-02-10 07:51:23,590 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:51:24 2025-02-10 07:51:24,168 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:51:24 4.0.0-dev.15 [Pipeline] } 07:51:24 $ docker exec --env ******** --env ******** 5b9928d6f4880cfb30f231a61e1d16f7bb3c127923a05bbe2472b05cdf5f701a ssh-agent -k 07:51:24 unset SSH_AUTH_SOCK; 07:51:24 unset SSH_AGENT_PID; 07:51:24 echo Agent pid 38 killed; 07:51:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:51:24 + git semver [Pipeline] } 07:51:24 $ docker stop --time=1 5b9928d6f4880cfb30f231a61e1d16f7bb3c127923a05bbe2472b05cdf5f701a 07:51:26 $ docker rm -f --volumes 5b9928d6f4880cfb30f231a61e1d16f7bb3c127923a05bbe2472b05cdf5f701a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:51:26 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:51:26 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:51:26 total 16 07:51:26 drwxr-xr-x 3 root root 4096 Feb 10 07:39 . 07:51:26 drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 07:51 .. 07:51:26 drwxr-xr-x 2 root root 4096 Feb 10 07:39 cost 07:51:26 -rw-r--r-- 1 root root 88 Feb 10 07:39 cost.csv 07:51:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:51:26 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:51:26 total 16 07:51:26 drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 07:39 . 07:51:26 drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 07:51 .. 07:51:26 drwxr-xr-x 2 jenkins jenkins 4096 Feb 10 07:39 cost 07:51:26 -rw-r--r-- 1 jenkins jenkins 88 Feb 10 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:51:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:51:28 ---> package-listing.sh 07:51:28 ++ facter osfamily 07:51:28 ++ tr '[:upper:]' '[:lower:]' 07:51:28 + OS_FAMILY=debian 07:51:28 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:51:28 + START_PACKAGES=/tmp/packages_start.txt 07:51:28 + END_PACKAGES=/tmp/packages_end.txt 07:51:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:51:28 + PACKAGES=/tmp/packages_start.txt 07:51:28 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:51:28 + PACKAGES=/tmp/packages_end.txt 07:51:28 + case "${OS_FAMILY}" in 07:51:28 + dpkg -l 07:51:28 + grep '^ii' 07:51:28 + '[' -f /tmp/packages_start.txt ']' 07:51:28 + '[' -f /tmp/packages_end.txt ']' 07:51:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:51:28 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:51:28 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:51:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:51:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:51:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:51:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:30 prd-ubuntu20.04-docker-8c-8g-38508 does not seem to be running inside a container 07:51:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:51:30 $ docker top 0b825c7858bfabecd3fa2efb7eed29815b1ffff729190b947f23449a23ead282 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:31 + touch /tmp/pre-build-complete [Pipeline] sh 07:51:31 + mkdir -p /var/log/sysstat [Pipeline] sh 07:51:31 + ls /var/log/sa-host 07:51:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:31 provisioning config files... 07:51:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6456960814925051577tmp [Pipeline] { [Pipeline] echo 07:51:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:51:32 ---> create-netrc.sh [Pipeline] } 07:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:51:32 ---> python-tools-install.sh [Pipeline] echo 07:51:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:51:32 ---> sudo-logs.sh 07:51:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:51:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:51:33 ---> job-cost.sh 07:51:33 lf-activate-venv: SKIPPING 07:51:33 DEBUG: total: 0.2199999988079071 07:51:33 INFO: Retrieving Stack Cost... 07:51:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:51:33 INFO: Archiving Costs [Pipeline] echo 07:51:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:51:34 ---> logs-deploy.sh 07:51:34 lf-activate-venv: SKIPPING 07:51:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/179 07:51:34 INFO: archiving workspace using pattern(s): 07:51:35 Archives upload complete. 07:51:35 INFO: archiving logs to Nexus