Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 17140d33859ac451bf7a41a9a06a7b8146968e0a 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-ssh9010052074975799351.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-ssh7675893138440143556.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-ssh14126284200127220062.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-ssh5559382145721785291.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-ssh12627420517483120890.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39316 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 17140d33859ac451bf7a41a9a06a7b8146968e0a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17140d33859ac451bf7a41a9a06a7b8146968e0a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#618)" > git rev-list --no-walk 1de0282aab08a6d55b74fb4abc8455e116b4ab4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:12:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:12:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:12:53 ========================================================= 08:12:53 EdgeX Global Pipelines Version Info 08:12:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:12:53 ------------------- 08:12:53 stable info: 08:12:53 ------------------- 08:12:53 Commited By: Cherry Wang cherry@iotechsys.com 08:12:53 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:12:53 Message: update stable to v1.0.269 08:12:54 ------------------- 08:12:54 experimental info: 08:12:54 ------------------- 08:12:54 Commited By: **** collab-it+edgex@linuxfoundation.org 08:12:54 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:12:54 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:12:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17140d3 [Pipeline] echo 08:12:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:55 provisioning config files... 08:12:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4810511223834087128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:55 ---> ****-login.sh 08:12:55 nexus3.edgexfoundry.org:10001 08:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:55 Configure a credential helper to remove this warning. See 08:12:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:55 08:12:55 Login Succeeded 08:12:55 nexus3.edgexfoundry.org:10002 08:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:55 Configure a credential helper to remove this warning. See 08:12:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:55 08:12:55 Login Succeeded 08:12:55 nexus3.edgexfoundry.org:10003 08:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:56 Configure a credential helper to remove this warning. See 08:12:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:56 08:12:56 Login Succeeded 08:12:56 nexus3.edgexfoundry.org:10004 08:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:56 Configure a credential helper to remove this warning. See 08:12:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:56 08:12:56 Login Succeeded 08:12:56 ****.io 08:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:12:56 Configure a credential helper to remove this warning. See 08:12:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:12:56 08:12:56 Login Succeeded 08:12:56 ---> ****-login.sh ends [Pipeline] } 08:12:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:12:56 + git rev-list -1 --merges 17140d33859ac451bf7a41a9a06a7b8146968e0a~1..17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] echo 08:12:56 -----------> git rev-list -1 --merges 17140d33859ac451bf7a41a9a06a7b8146968e0a~1..17140d33859ac451bf7a41a9a06a7b8146968e0a 17140d33859ac451bf7a41a9a06a7b8146968e0a [false] [Pipeline] sh 08:12:57 + git log --format=format:%s -1 17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] echo 08:12:57 ========================================================= 08:12:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:12:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:12:57 + git log --format=format:%s -1 17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] echo 08:12:57 [semverPrep] GIT_COMMIT: 17140d33859ac451bf7a41a9a06a7b8146968e0a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#618) [Pipeline] echo 08:12:57 [semverPrep] This is not a build commit. [Pipeline] sh 08:12:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:12:58 + grep -v github /etc/ssh/ssh_known_hosts 08:12:58 + [ -e /tmp/ssh_known_hosts ] 08:12:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:12:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:12:58 + sudo tee -a /etc/ssh/ssh_known_hosts 08:12:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:12:58 08:12:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:12:58 0.1.4: Pulling from edgex-devops/py-git-semver 08:12:58 b85a868b505f: Pulling fs layer 08:12:58 e2be974225ed: Pulling fs layer 08:12:58 339a4e72a1f5: Pulling fs layer 08:12:58 988bab9f4d93: Pulling fs layer 08:12:58 1469e6f7b9e6: Pulling fs layer 08:12:58 988bab9f4d93: Waiting 08:12:58 eaf3925da568: Pulling fs layer 08:12:58 bab4dde63d76: Pulling fs layer 08:12:58 1469e6f7b9e6: Waiting 08:12:58 eaf3925da568: Waiting 08:12:58 bde34c3a00c8: Pulling fs layer 08:12:58 bab4dde63d76: Waiting 08:12:58 bde34c3a00c8: Waiting 08:12:58 b352a97aabf1: Pulling fs layer 08:12:58 4872d77fe225: Pulling fs layer 08:12:58 b352a97aabf1: Waiting 08:12:58 4872d77fe225: Waiting 08:12:58 5851b861e8e6: Pulling fs layer 08:12:58 e2be974225ed: Download complete 08:12:58 988bab9f4d93: Verifying Checksum 08:12:58 988bab9f4d93: Download complete 08:12:58 1469e6f7b9e6: Download complete 08:12:58 339a4e72a1f5: Verifying Checksum 08:12:58 339a4e72a1f5: Download complete 08:12:58 eaf3925da568: Verifying Checksum 08:12:58 eaf3925da568: Download complete 08:12:58 bde34c3a00c8: Verifying Checksum 08:12:58 bde34c3a00c8: Download complete 08:12:58 b352a97aabf1: Verifying Checksum 08:12:58 b352a97aabf1: Download complete 08:12:58 4872d77fe225: Verifying Checksum 08:12:58 4872d77fe225: Download complete 08:12:58 5851b861e8e6: Verifying Checksum 08:12:58 5851b861e8e6: Download complete 08:12:58 b85a868b505f: Verifying Checksum 08:12:58 b85a868b505f: Download complete 08:12:59 bab4dde63d76: Verifying Checksum 08:12:59 bab4dde63d76: Download complete 08:13:00 b85a868b505f: Pull complete 08:13:00 e2be974225ed: Pull complete 08:13:00 339a4e72a1f5: Pull complete 08:13:00 988bab9f4d93: Pull complete 08:13:00 1469e6f7b9e6: Pull complete 08:13:00 eaf3925da568: Pull complete 08:13:02 bab4dde63d76: Pull complete 08:13:02 bde34c3a00c8: Pull complete 08:13:03 b352a97aabf1: Pull complete 08:13:03 4872d77fe225: Pull complete 08:13:03 5851b861e8e6: Pull complete 08:13:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:13:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:03 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:13:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:13:04 $ docker top 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 -eo pid,comm 08:13:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:13:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:13:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:04 [ssh-agent] Looking for ssh-agent implementation... 08:13:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:04 $ docker exec 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 ssh-agent 08:13:04 SSH_AUTH_SOCK=/tmp/ssh-iwB7mx2bRV82/agent.33 08:13:04 SSH_AGENT_PID=39 08:13:04 Running ssh-add (command line suppressed) 08:13:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14215531953156787409.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14215531953156787409.key) 08:13:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:05 + git tag --points-at HEAD [Pipeline] } 08:13:05 $ docker exec --env ******** --env ******** 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 ssh-agent -k 08:13:05 unset SSH_AUTH_SOCK; 08:13:05 unset SSH_AGENT_PID; 08:13:05 echo Agent pid 39 killed; 08:13:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:13:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:13:05 [ssh-agent] Looking for ssh-agent implementation... 08:13:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:13:05 $ docker exec 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 ssh-agent 08:13:05 SSH_AUTH_SOCK=/tmp/ssh-UFW4IkD6FKeC/agent.73 08:13:05 SSH_AGENT_PID=79 08:13:05 Running ssh-add (command line suppressed) 08:13:05 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14213036627661530641.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14213036627661530641.key) 08:13:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:13:06 + git semver init 08:13:06 2025-02-20 08:13:06,368 [run_init] DEBUG init version:0.0.0 force:False 08:13:06 2025-02-20 08:13:06,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 08:13:06 2025-02-20 08:13:06,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 08:13:06 2025-02-20 08:13:06,370 [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) 08:13:07 2025-02-20 08:13:07,395 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 08:13:07 2025-02-20 08:13:07,396 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 08:13:07 2025-02-20 08:13:07,396 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:13:07 2025-02-20 08:13:07,396 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:13:07 4.0.0-dev.16 [Pipeline] } 08:13:07 $ docker exec --env ******** --env ******** 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 ssh-agent -k 08:13:07 unset SSH_AUTH_SOCK; 08:13:07 unset SSH_AGENT_PID; 08:13:07 echo Agent pid 79 killed; 08:13:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:13:08 + git semver [Pipeline] } 08:13:08 $ docker stop --time=1 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 08:13:09 $ docker rm -f --volumes 70887482b9a0423f45f2cd3aec75427a7106c37def361b4f4c1236caee9b99a8 [Pipeline] // withDockerContainer [Pipeline] sh 08:13:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:13:10 Stashed 1 file(s) [Pipeline] echo 08:13:10 [edgeXSemver]: initialized semver on version 4.0.0-dev.16 [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 08:13:10 provisioning config files... 08:13:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13537635011667017290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:11 ---> ****-login.sh 08:13:11 nexus3.edgexfoundry.org:10001 08:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:11 Configure a credential helper to remove this warning. See 08:13:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:11 08:13:11 Login Succeeded 08:13:11 nexus3.edgexfoundry.org:10002 08:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:11 Configure a credential helper to remove this warning. See 08:13:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:11 08:13:11 Login Succeeded 08:13:11 nexus3.edgexfoundry.org:10003 08:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:11 Configure a credential helper to remove this warning. See 08:13:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:11 08:13:11 Login Succeeded 08:13:11 nexus3.edgexfoundry.org:10004 08:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:11 Configure a credential helper to remove this warning. See 08:13:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:11 08:13:11 Login Succeeded 08:13:11 ****.io 08:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:13:11 Configure a credential helper to remove this warning. See 08:13:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:13:11 08:13:11 Login Succeeded 08:13:11 ---> ****-login.sh ends [Pipeline] } 08:13:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:13:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:13:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:13:12 ========================================================= 08:13:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:13:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:12 + 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 . 08:13:12 Sending build context to Docker daemon 18.1MB 08:13:12 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:13:12 Step 2/10 : FROM ${BASE} AS builder 08:13:12 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:13:12 da9db072f522: Pulling fs layer 08:13:12 6ef4a4ee8ca5: Pulling fs layer 08:13:12 06f05ace1117: Pulling fs layer 08:13:12 5fe327b54edc: Pulling fs layer 08:13:12 4f4fb700ef54: Pulling fs layer 08:13:12 92a5565b7b96: Pulling fs layer 08:13:12 ff9bb7016b71: Pulling fs layer 08:13:12 b67dba6c2c7d: Pulling fs layer 08:13:12 a813b0c90790: Pulling fs layer 08:13:12 5fe327b54edc: Waiting 08:13:12 4f4fb700ef54: Waiting 08:13:12 92a5565b7b96: Waiting 08:13:12 ff9bb7016b71: Waiting 08:13:12 b67dba6c2c7d: Waiting 08:13:12 a813b0c90790: Waiting 08:13:12 6ef4a4ee8ca5: Download complete 08:13:12 5fe327b54edc: Verifying Checksum 08:13:12 5fe327b54edc: Download complete 08:13:12 4f4fb700ef54: Verifying Checksum 08:13:12 92a5565b7b96: Verifying Checksum 08:13:12 92a5565b7b96: Download complete 08:13:12 da9db072f522: Download complete 08:13:12 ff9bb7016b71: Verifying Checksum 08:13:12 ff9bb7016b71: Download complete 08:13:12 da9db072f522: Pull complete 08:13:12 a813b0c90790: Verifying Checksum 08:13:12 a813b0c90790: Download complete 08:13:12 6ef4a4ee8ca5: Pull complete 08:13:13 06f05ace1117: Verifying Checksum 08:13:13 06f05ace1117: Download complete 08:13:13 b67dba6c2c7d: Verifying Checksum 08:13:13 b67dba6c2c7d: Download complete 08:13:15 06f05ace1117: Pull complete 08:13:16 5fe327b54edc: Pull complete 08:13:16 4f4fb700ef54: Pull complete 08:13:16 92a5565b7b96: Pull complete 08:13:16 ff9bb7016b71: Pull complete 08:13:18 b67dba6c2c7d: Pull complete 08:13:18 a813b0c90790: Pull complete 08:13:18 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 08:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:13:18 ---> 3ba60ce46760 08:13:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 08:13:20 ---> Running in 20b9aa80a2ed 08:13:20 Removing intermediate container 20b9aa80a2ed 08:13:20 ---> 74c8f9c07864 08:13:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:13:20 ---> Running in 40beb6b15248 08:13:20 Removing intermediate container 40beb6b15248 08:13:20 ---> 2282710c9b8e 08:13:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 08:13:20 ---> Running in a15040c15499 08:13:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:13:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:13:21 (1/8) Installing openssh-keygen (9.7_p1-r4) 08:13:21 (2/8) Installing libedit (20240517.3.1-r0) 08:13:21 (3/8) Installing openssh-client-common (9.7_p1-r4) 08:13:21 (4/8) Installing openssh-client-default (9.7_p1-r4) 08:13:21 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 08:13:21 (6/8) Installing openssh-server-common (9.7_p1-r4) 08:13:21 (7/8) Installing openssh-server (9.7_p1-r4) 08:13:21 (8/8) Installing openssh (9.7_p1-r4) 08:13:21 Executing busybox-1.36.1-r29.trigger 08:13:21 OK: 253 MiB in 66 packages 08:13:21 Removing intermediate container a15040c15499 08:13:21 ---> dbdad1708dfa 08:13:21 Step 6/10 : WORKDIR /device-modbus-go 08:13:21 ---> Running in 12881c74aed9 08:13:21 Removing intermediate container 12881c74aed9 08:13:21 ---> d3d73f63a891 08:13:21 Step 7/10 : COPY go.mod vendor* ./ 08:13:21 ---> 7b96de24078b 08:13:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:13:21 ---> Running in ab75ea2b4d6a 08:13:25 Still waiting to schedule task 08:13:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:14:08 Removing intermediate container ab75ea2b4d6a 08:14:08 ---> 8dd83471bce0 08:14:08 Step 9/10 : COPY . . 08:14:08 ---> 2f24111e6da8 08:14:08 Step 10/10 : RUN ${MAKE} 08:14:08 ---> Running in 4eccc4bcaabd 08:14:08 noop 08:14:08 Removing intermediate container 4eccc4bcaabd 08:14:08 ---> 308de6e36405 08:14:08 Successfully built 308de6e36405 08:14:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:08 + docker inspect -f . ci-base-image-x86_64 08:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:09 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:09 $ docker top a3ed07d715b01cbfaeebf1df480bb057175edde46b56210e7889ac8945cceb97 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:09 + go version 08:14:09 go version go1.23.4 linux/amd64 [Pipeline] } 08:14:09 $ docker stop --time=1 a3ed07d715b01cbfaeebf1df480bb057175edde46b56210e7889ac8945cceb97 08:14:10 $ docker rm -f --volumes a3ed07d715b01cbfaeebf1df480bb057175edde46b56210e7889ac8945cceb97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:11 + docker inspect -f . ci-base-image-x86_64 08:14:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:11 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:14:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:14:11 $ docker top 692b0fcd633bcec060823e1ee86f409ecaf2e74894baf945acb24c8d8c446ed2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 08:14:12 + make test 08:14:12 go test ./... -coverprofile=coverage.out 08:14:13 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:14:32 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 08:14:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 45.7% of statements 08:14:42 go vet ./... 08:14:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:14:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:14:48 ./bin/test-attribution-txt.sh [Pipeline] echo 08:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:14:48 $ docker stop --time=1 692b0fcd633bcec060823e1ee86f409ecaf2e74894baf945acb24c8d8c446ed2 08:14:50 $ docker rm -f --volumes 692b0fcd633bcec060823e1ee86f409ecaf2e74894baf945acb24c8d8c446ed2 [Pipeline] // withDockerContainer [Pipeline] sh 08:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:14:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:14:52 + ls -al . 08:14:52 total 260 08:14:52 drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 08:14 . 08:14:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 08:12 .. 08:14:52 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 08:12 .dockerignore 08:14:52 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 08:14 .git 08:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 08:12 .github 08:14:52 -rw-rw-r-- 1 jenkins jenkins 266 Feb 20 08:12 .gitignore 08:14:52 -rw-rw-r-- 1 jenkins jenkins 199 Feb 20 08:12 .golangci.yml 08:14:52 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 08:13 .semver 08:14:52 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 20 08:12 Attribution.txt 08:14:52 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 20 08:12 CHANGELOG.md 08:14:52 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 20 08:12 Dockerfile 08:14:52 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 08:12 GOVERNANCE.md 08:14:52 -rw-rw-r-- 1 jenkins jenkins 658 Feb 20 08:12 Jenkinsfile 08:14:52 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 08:12 LICENSE 08:14:52 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 20 08:12 Makefile 08:14:52 -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 08:12 OWNERS.md 08:14:52 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 20 08:12 README.md 08:14:52 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 08:13 VERSION 08:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 08:12 bin 08:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 08:12 cmd 08:14:52 -rw-r--r-- 1 jenkins jenkins 26779 Feb 20 08:14 coverage.out 08:14:52 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 20 08:12 go.mod 08:14:52 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 20 08:12 go.sum 08:14:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 08:12 internal 08:14:52 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 08:12 simulator 08:14:52 -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 08:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:52 + 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=17140d33859ac451bf7a41a9a06a7b8146968e0a --label arch=amd64 --label version=4.0.0-dev.16 . 08:14:52 Sending build context to Docker daemon 18.12MB 08:14:52 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 08:14:52 Step 2/23 : FROM ${BASE} AS builder 08:14:52 ---> 308de6e36405 08:14:52 Step 3/23 : ARG ADD_BUILD_TAGS="" 08:14:52 ---> Running in a8d63ed124a5 08:14:52 Removing intermediate container a8d63ed124a5 08:14:52 ---> 298d80b52c09 08:14:52 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:14:52 ---> Running in 83aa3dacdc91 08:14:52 Removing intermediate container 83aa3dacdc91 08:14:52 ---> 596c75b632eb 08:14:52 Step 5/23 : RUN apk add --update --no-cache make git openssh 08:14:52 ---> Running in 9344dceb0633 08:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:14:53 OK: 253 MiB in 66 packages 08:14:53 Removing intermediate container 9344dceb0633 08:14:53 ---> b20a0510d36c 08:14:53 Step 6/23 : WORKDIR /device-modbus-go 08:14:53 ---> Running in d0421f7bd244 08:14:53 Removing intermediate container d0421f7bd244 08:14:53 ---> cf27f9302ae5 08:14:53 Step 7/23 : COPY go.mod vendor* ./ 08:14:53 ---> a7aedfd64e1f 08:14:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:14:53 ---> Running in b6624c7605e6 08:14:54 Removing intermediate container b6624c7605e6 08:14:54 ---> a9ed99d4fcaa 08:14:54 Step 9/23 : COPY . . 08:14:55 ---> 873339fa724b 08:14:55 Step 10/23 : RUN ${MAKE} 08:14:55 ---> Running in 879b64566910 08:14:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 08:15:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-39317 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 08:15:09 Running in /w/workspace/device-modbus-go/181 [Pipeline] { [Pipeline] checkout 08:15:12 The recommended git tool is: git 08:15:18 using credential edgex-jenkins-ssh 08:15:18 Cloning the remote Git repository 08:15:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:15:18 > git init /w/workspace/device-modbus-go/181 # timeout=10 08:15:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:15:18 > git --version # timeout=10 08:15:18 > git --version # 'git version 2.25.1' 08:15:18 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:15:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:21 Removing intermediate container 879b64566910 08:15:21 ---> effda323afae 08:15:21 Step 11/23 : FROM alpine:3.20 08:15:21 3.20: Pulling from library/alpine 08:15:21 0a9a5dfd008f: Pulling fs layer 08:15:21 0a9a5dfd008f: Verifying Checksum 08:15:21 0a9a5dfd008f: Download complete 08:15:21 0a9a5dfd008f: Pull complete 08:15:21 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:15:21 Status: Downloaded newer image for alpine:3.20 08:15:21 ---> ff221270b9fb 08:15:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 08:15:21 ---> Running in a361416d1640 08:15:21 Removing intermediate container a361416d1640 08:15:21 ---> 4c2f29f393e1 08:15:21 Step 13/23 : RUN apk add --update --no-cache dumb-init 08:15:21 ---> Running in dbd2f96dcd3d 08:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:15:21 (1/1) Installing dumb-init (1.2.5-r3) 08:15:21 Executing busybox-1.36.1-r29.trigger 08:15:21 OK: 8 MiB in 15 packages 08:15:21 Removing intermediate container dbd2f96dcd3d 08:15:21 ---> 33a884f67f8f 08:15:21 Step 14/23 : RUN apk --no-cache upgrade 08:15:21 ---> Running in 6a35c88b58b7 08:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:15:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:15:21 OK: 8 MiB in 15 packages 08:15:22 Avoid second fetch 08:15:22 Checking out Revision 17140d33859ac451bf7a41a9a06a7b8146968e0a (main) 08:15:22 Removing intermediate container 6a35c88b58b7 08:15:22 ---> 3a5e29cac0ac 08:15:22 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 08:15:23 ---> 1f256ac6165a 08:15:23 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 08:15:23 ---> 69891e82ed91 08:15:23 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:15:23 ---> 7a75097dd454 08:15:23 Step 18/23 : EXPOSE 59901 08:15:23 ---> Running in 93a79a223f2e 08:15:22 > git config core.sparsecheckout # timeout=10 08:15:22 > git checkout -f 17140d33859ac451bf7a41a9a06a7b8146968e0a # timeout=10 08:15:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#618)" 08:15:23 Removing intermediate container 93a79a223f2e 08:15:23 ---> 0f3fda4beba3 08:15:23 Step 19/23 : ENTRYPOINT ["/device-modbus"] 08:15:23 ---> Running in 006ab130aa73 08:15:23 Removing intermediate container 006ab130aa73 08:15:23 ---> 58e045e9d155 08:15:23 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:15:23 ---> Running in 1241ac6239ae 08:15:23 Removing intermediate container 1241ac6239ae 08:15:23 ---> 8598e6d4622a 08:15:23 Step 21/23 : LABEL arch=amd64 08:15:23 ---> Running in d6390c63cdd7 08:15:23 Removing intermediate container d6390c63cdd7 08:15:23 ---> 04bab780062b 08:15:23 Step 22/23 : LABEL git_sha=17140d33859ac451bf7a41a9a06a7b8146968e0a 08:15:23 ---> Running in 35d56dcbf22b 08:15:23 Removing intermediate container 35d56dcbf22b 08:15:23 ---> 5104ca9cad93 08:15:23 Step 23/23 : LABEL version=4.0.0-dev.16 08:15:23 ---> Running in 30880533dc23 08:15:23 Removing intermediate container 30880533dc23 08:15:23 ---> ce620d50a373 08:15:23 [Warning] One or more build-args [ARCH] were not consumed 08:15:23 Successfully built ce620d50a373 08:15:23 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:23 provisioning config files... 08:15:23 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5190012191430352292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:23 ---> ****-login.sh 08:15:23 nexus3.edgexfoundry.org:10001 08:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:23 Configure a credential helper to remove this warning. See 08:15:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:23 08:15:23 Login Succeeded 08:15:23 nexus3.edgexfoundry.org:10002 08:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:23 Configure a credential helper to remove this warning. See 08:15:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:23 08:15:23 Login Succeeded 08:15:23 nexus3.edgexfoundry.org:10003 08:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:24 Configure a credential helper to remove this warning. See 08:15:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:24 08:15:24 Login Succeeded 08:15:24 nexus3.edgexfoundry.org:10004 08:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:24 Configure a credential helper to remove this warning. See 08:15:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:24 08:15:24 Login Succeeded 08:15:24 ****.io 08:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:24 Configure a credential helper to remove this warning. See 08:15:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:24 08:15:24 Login Succeeded 08:15:24 ---> ****-login.sh ends [Pipeline] } 08:15:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:15:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:15:24 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 08:15:24 17140d33859ac451bf7a41a9a06a7b8146968e0a 08:15:24 latest 08:15:24 4.0.0-dev.16 08:15:24 17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 08:15:24 main 08:15:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:24 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:25 + docker push nexus3.edgexfoundry.org:10004/device-modbus:17140d33859ac451bf7a41a9a06a7b8146968e0a 08:15:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:15:25 869da4d4c8bd: Preparing 08:15:25 086992ffdb94: Preparing 08:15:25 9d55cd0743bf: Preparing 08:15:25 461a09b8139f: Preparing 08:15:25 4fde40cf6117: Preparing 08:15:25 994456c4fd7b: Preparing 08:15:25 994456c4fd7b: Waiting 08:15:25 086992ffdb94: Pushed 08:15:25 461a09b8139f: Pushed 08:15:25 4fde40cf6117: Pushed 08:15:25 994456c4fd7b: Layer already exists 08:15:25 869da4d4c8bd: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:15:28 % Total % Received % Xferd Average Speed Time Time Time Current 08:15:28 Dload Upload Total Spent Left Speed 08:15:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh 08:15:28 9d55cd0743bf: Pushed 08:15:28 17140d33859ac451bf7a41a9a06a7b8146968e0a: digest: sha256:01a3ca9b429db845a632c64e263fe5e34e84df011411b671dfce3de9eb1c403b size: 1573 [Pipeline] } 08:15:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:28 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 08:15:28 /etc/docker/daemon.new 08:15:28 { 08:15:28 "registry-mirrors": [ 08:15:28 "https://nexus3.edgexfoundry.org:10001" 08:15:28 ], 08:15:28 "bip": "10.250.0.254/24", 08:15:28 "hosts": [ 08:15:28 "tcp://0.0.0.0:5555", 08:15:28 "unix:///var/run/docker.sock" 08:15:28 ], 08:15:28 "mtu": 1458, 08:15:28 "selinux-enabled": true, 08:15:28 "seccomp-profile": "/etc/docker/seccomp.json" 08:15:28 } [Pipeline] sh 08:15:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:15:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 08:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:15:29 869da4d4c8bd: Preparing 08:15:29 086992ffdb94: Preparing 08:15:29 9d55cd0743bf: Preparing 08:15:29 461a09b8139f: Preparing 08:15:29 4fde40cf6117: Preparing 08:15:29 994456c4fd7b: Preparing 08:15:29 994456c4fd7b: Waiting 08:15:29 461a09b8139f: Layer already exists 08:15:29 9d55cd0743bf: Layer already exists 08:15:29 086992ffdb94: Layer already exists 08:15:29 4fde40cf6117: Layer already exists 08:15:29 869da4d4c8bd: Layer already exists 08:15:29 994456c4fd7b: Layer already exists 08:15:29 latest: digest: sha256:01a3ca9b429db845a632c64e263fe5e34e84df011411b671dfce3de9eb1c403b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:29 + sudo service docker restart 08:15:29 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.16 08:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:15:30 869da4d4c8bd: Preparing 08:15:30 086992ffdb94: Preparing 08:15:30 9d55cd0743bf: Preparing 08:15:30 461a09b8139f: Preparing 08:15:30 4fde40cf6117: Preparing 08:15:30 994456c4fd7b: Preparing 08:15:30 994456c4fd7b: Waiting 08:15:30 9d55cd0743bf: Layer already exists 08:15:30 869da4d4c8bd: Layer already exists 08:15:30 4fde40cf6117: Layer already exists 08:15:30 461a09b8139f: Layer already exists 08:15:30 086992ffdb94: Layer already exists 08:15:30 994456c4fd7b: Layer already exists 08:15:30 4.0.0-dev.16: digest: sha256:01a3ca9b429db845a632c64e263fe5e34e84df011411b671dfce3de9eb1c403b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:30 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus:17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 08:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:15:30 869da4d4c8bd: Preparing 08:15:30 086992ffdb94: Preparing 08:15:30 9d55cd0743bf: Preparing 08:15:30 461a09b8139f: Preparing 08:15:30 4fde40cf6117: Preparing 08:15:30 994456c4fd7b: Preparing 08:15:30 4fde40cf6117: Layer already exists 08:15:30 9d55cd0743bf: Layer already exists 08:15:30 086992ffdb94: Layer already exists 08:15:30 461a09b8139f: Layer already exists 08:15:30 869da4d4c8bd: Layer already exists 08:15:30 994456c4fd7b: Layer already exists 08:15:30 17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16: digest: sha256:01a3ca9b429db845a632c64e263fe5e34e84df011411b671dfce3de9eb1c403b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:31 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 08:15:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:15:31 869da4d4c8bd: Preparing 08:15:31 086992ffdb94: Preparing 08:15:31 9d55cd0743bf: Preparing 08:15:31 461a09b8139f: Preparing 08:15:31 4fde40cf6117: Preparing 08:15:31 994456c4fd7b: Preparing 08:15:31 994456c4fd7b: Waiting 08:15:31 869da4d4c8bd: Layer already exists 08:15:31 9d55cd0743bf: Layer already exists 08:15:31 086992ffdb94: Layer already exists 08:15:31 461a09b8139f: Layer already exists 08:15:31 4fde40cf6117: Layer already exists 08:15:31 994456c4fd7b: Layer already exists 08:15:31 main: digest: sha256:01a3ca9b429db845a632c64e263fe5e34e84df011411b671dfce3de9eb1c403b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:15:31 ===================================================== [Pipeline] echo 08:15:31 taggedImages: 08:15:31 - nexus3.edgexfoundry.org:10004/device-modbus:17140d33859ac451bf7a41a9a06a7b8146968e0a 08:15:31 - nexus3.edgexfoundry.org:10004/device-modbus:latest 08:15:31 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.16 08:15:31 - nexus3.edgexfoundry.org:10004/device-modbus:17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 08:15:31 - 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 08:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:31 08:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:32 latest: Pulling from edgex-lftools-log-publisher 08:15:32 5eb5b503b376: Pulling fs layer 08:15:32 5c69ac0246d0: Pulling fs layer 08:15:32 ec43610c2a17: Pulling fs layer 08:15:32 3a2ae6a8a46f: Pulling fs layer 08:15:32 33b1e0a273af: Pulling fs layer 08:15:32 5d3b04190fa2: Pulling fs layer 08:15:32 2f39f015ded8: Pulling fs layer 08:15:32 33b1e0a273af: Waiting 08:15:32 5d3b04190fa2: Waiting 08:15:32 2f39f015ded8: Waiting 08:15:32 3a2ae6a8a46f: Waiting 08:15:32 5c69ac0246d0: Verifying Checksum 08:15:32 5c69ac0246d0: Download complete 08:15:32 3a2ae6a8a46f: Verifying Checksum 08:15:32 3a2ae6a8a46f: Download complete 08:15:32 33b1e0a273af: Verifying Checksum 08:15:32 33b1e0a273af: Download complete 08:15:32 5d3b04190fa2: Verifying Checksum 08:15:32 5d3b04190fa2: Download complete 08:15:32 ec43610c2a17: Verifying Checksum 08:15:32 ec43610c2a17: Download complete 08:15:32 5eb5b503b376: Verifying Checksum 08:15:32 5eb5b503b376: Download complete 08:15:33 2f39f015ded8: Download complete 08:15:33 5eb5b503b376: Pull complete 08:15:33 5c69ac0246d0: Pull complete 08:15:34 ec43610c2a17: Pull complete 08:15:34 3a2ae6a8a46f: Pull complete 08:15:34 33b1e0a273af: Pull complete 08:15:34 5d3b04190fa2: Pull complete 08:15:38 2f39f015ded8: Pull complete 08:15:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:38 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:15:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:15:40 $ docker top 83ee9f7a2d0944dc7f959450fbe37db7f2777ab4648caf51490d4ede8c848bd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:40 ---> job-cost.sh 08:15:40 lf-activate-venv: SKIPPING 08:15:40 INFO: No Stack... 08:15:40 INFO: Retrieving Pricing Info for: v3-standard-8 08:15:40 INFO: Archiving Costs [Pipeline] sh 08:15:41 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 08:15:41 + cut -d, -f6 [Pipeline] lock 08:15:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] 08:15:41 Resource [jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] did not exist. Created. 08:15:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:15:41 + echo total: 0.2199999988079071 [Pipeline] stash 08:15:41 Stashed 1 file(s) [Pipeline] } 08:15:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 08:15:41 $ docker stop --time=1 83ee9f7a2d0944dc7f959450fbe37db7f2777ab4648caf51490d4ede8c848bd6 08:15:42 $ docker rm -f --volumes 83ee9f7a2d0944dc7f959450fbe37db7f2777ab4648caf51490d4ede8c848bd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:48 provisioning config files... 08:15:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/181@tmp/config4509718672763091271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:48 ---> ****-login.sh 08:15:48 nexus3.edgexfoundry.org:10001 08:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:49 Configure a credential helper to remove this warning. See 08:15:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:49 08:15:49 Login Succeeded 08:15:49 nexus3.edgexfoundry.org:10002 08:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:49 Configure a credential helper to remove this warning. See 08:15:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:49 08:15:49 Login Succeeded 08:15:49 nexus3.edgexfoundry.org:10003 08:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:50 Configure a credential helper to remove this warning. See 08:15:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:50 08:15:50 Login Succeeded 08:15:50 nexus3.edgexfoundry.org:10004 08:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:50 Configure a credential helper to remove this warning. See 08:15:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:50 08:15:50 Login Succeeded 08:15:50 ****.io 08:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:50 Configure a credential helper to remove this warning. See 08:15:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:50 08:15:50 Login Succeeded 08:15:50 ---> ****-login.sh ends [Pipeline] } 08:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:15:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:15:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:15:51 ========================================================= 08:15:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:15:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:51 + 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 . 08:15:52 Sending build context to Docker daemon 9.194MB 08:15:52 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:15:52 Step 2/10 : FROM ${BASE} AS builder 08:15:52 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:15:52 9986a736f7d3: Pulling fs layer 08:15:52 1f018df60701: Pulling fs layer 08:15:52 39f8f326b044: Pulling fs layer 08:15:52 e6a1e7a6a96a: Pulling fs layer 08:15:52 4f4fb700ef54: Pulling fs layer 08:15:52 d45d956e0dbf: Pulling fs layer 08:15:52 d7702b0d1db1: Pulling fs layer 08:15:52 5c7f0f088c93: Pulling fs layer 08:15:52 4fdc064ae6cf: Pulling fs layer 08:15:52 d45d956e0dbf: Waiting 08:15:52 d7702b0d1db1: Waiting 08:15:52 5c7f0f088c93: Waiting 08:15:52 4fdc064ae6cf: Waiting 08:15:52 e6a1e7a6a96a: Waiting 08:15:52 4f4fb700ef54: Waiting 08:15:52 1f018df60701: Verifying Checksum 08:15:52 1f018df60701: Download complete 08:15:52 e6a1e7a6a96a: Verifying Checksum 08:15:52 e6a1e7a6a96a: Download complete 08:15:52 4f4fb700ef54: Verifying Checksum 08:15:52 4f4fb700ef54: Download complete 08:15:52 d45d956e0dbf: Verifying Checksum 08:15:52 d45d956e0dbf: Download complete 08:15:52 d7702b0d1db1: Verifying Checksum 08:15:52 d7702b0d1db1: Download complete 08:15:52 9986a736f7d3: Verifying Checksum 08:15:52 9986a736f7d3: Download complete 08:15:53 4fdc064ae6cf: Verifying Checksum 08:15:53 4fdc064ae6cf: Download complete 08:15:53 9986a736f7d3: Pull complete 08:15:54 1f018df60701: Pull complete 08:15:55 39f8f326b044: Verifying Checksum 08:15:55 39f8f326b044: Download complete 08:15:55 5c7f0f088c93: Verifying Checksum 08:15:55 5c7f0f088c93: Download complete 08:16:11 39f8f326b044: Pull complete 08:16:11 e6a1e7a6a96a: Pull complete 08:16:11 4f4fb700ef54: Pull complete 08:16:11 d45d956e0dbf: Pull complete 08:16:11 d7702b0d1db1: Pull complete 08:16:19 5c7f0f088c93: Pull complete 08:16:21 4fdc064ae6cf: Pull complete 08:16:21 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 08:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:16:21 ---> 63f30b955cb9 08:16:21 Step 3/10 : ARG ADD_BUILD_TAGS="" 08:16:22 ---> Running in eb6ddde66e2b 08:16:22 Removing intermediate container eb6ddde66e2b 08:16:22 ---> 9486a75fe38a 08:16:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:16:22 ---> Running in c7308099e376 08:16:22 Removing intermediate container c7308099e376 08:16:22 ---> e9cfa0498707 08:16:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 08:16:23 ---> Running in 5202e2ef3b65 08:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:16:26 (1/8) Installing openssh-keygen (9.7_p1-r4) 08:16:26 (2/8) Installing libedit (20240517.3.1-r0) 08:16:26 (3/8) Installing openssh-client-common (9.7_p1-r4) 08:16:26 (4/8) Installing openssh-client-default (9.7_p1-r4) 08:16:26 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 08:16:26 (6/8) Installing openssh-server-common (9.7_p1-r4) 08:16:26 (7/8) Installing openssh-server (9.7_p1-r4) 08:16:26 (8/8) Installing openssh (9.7_p1-r4) 08:16:26 Executing busybox-1.36.1-r29.trigger 08:16:26 OK: 245 MiB in 66 packages 08:16:28 Removing intermediate container 5202e2ef3b65 08:16:28 ---> a5f0ff9b2f99 08:16:28 Step 6/10 : WORKDIR /device-modbus-go 08:16:28 ---> Running in d51de723cbb1 08:16:28 Removing intermediate container d51de723cbb1 08:16:28 ---> fe7b537b5b1d 08:16:28 Step 7/10 : COPY go.mod vendor* ./ 08:16:28 ---> dce992207819 08:16:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:29 ---> Running in bf59c33b2a92 08:18:21 Removing intermediate container bf59c33b2a92 08:18:21 ---> 76733f586300 08:18:21 Step 9/10 : COPY . . 08:18:21 ---> 30559f767a20 08:18:21 Step 10/10 : RUN ${MAKE} 08:18:21 ---> Running in 0a46e6e6e1e7 08:18:21 noop 08:18:21 Removing intermediate container 0a46e6e6e1e7 08:18:21 ---> 6195ad64a62b 08:18:21 Successfully built 6195ad64a62b 08:18:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:21 + docker inspect -f . ci-base-image-arm64 08:18:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:21 prd-ubuntu20.04-docker-arm64-4c-16g-39317 does not seem to be running inside a container 08:18:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/181 -v /w/workspace/device-modbus-go/181:/w/workspace/device-modbus-go/181:rw,z -v /w/workspace/device-modbus-go/181@tmp:/w/workspace/device-modbus-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:18:22 $ docker top bd51c33b5caf668ffafe819656b21b591d51054151eb7e0e7be15780ee5a84c4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:23 + go version 08:18:23 go version go1.23.4 linux/arm64 [Pipeline] } 08:18:23 $ docker stop --time=1 bd51c33b5caf668ffafe819656b21b591d51054151eb7e0e7be15780ee5a84c4 08:18:25 $ docker rm -f --volumes bd51c33b5caf668ffafe819656b21b591d51054151eb7e0e7be15780ee5a84c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:26 + docker inspect -f . ci-base-image-arm64 08:18:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:26 prd-ubuntu20.04-docker-arm64-4c-16g-39317 does not seem to be running inside a container 08:18:26 $ 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/181 -v /w/workspace/device-modbus-go/181:/w/workspace/device-modbus-go/181:rw,z -v /w/workspace/device-modbus-go/181@tmp:/w/workspace/device-modbus-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:18:27 $ docker top 654a7b23dab0a980e0f64a7037e237c1b6d1397503aef8b775b405ab66ccde98 -eo pid,comm [Pipeline] { [Pipeline] sh 08:18:28 + git config --global --add safe.directory /w/workspace/device-modbus-go/181 [Pipeline] fileExists [Pipeline] sh 08:18:28 + make test 08:18:28 go test ./... -coverprofile=coverage.out 08:18:34 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:22:41 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 08:22:41 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 45.7% of statements 08:22:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:22:41 go vet ./... 08:23:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:23:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:23:37 ./bin/test-attribution-txt.sh [Pipeline] echo 08:23:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:23:37 $ docker stop --time=1 654a7b23dab0a980e0f64a7037e237c1b6d1397503aef8b775b405ab66ccde98 08:23:39 $ docker rm -f --volumes 654a7b23dab0a980e0f64a7037e237c1b6d1397503aef8b775b405ab66ccde98 [Pipeline] // withDockerContainer [Pipeline] sh 08:23:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:23:41 Warning: overwriting stash ‘coverage-report’ 08:23:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:23:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:23:43 + ls -al . 08:23:43 total 256 08:23:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 08:18 . 08:23:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 08:15 .. 08:23:43 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 08:15 .dockerignore 08:23:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 08:15 .git 08:23:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 08:15 .github 08:23:43 -rw-rw-r-- 1 jenkins jenkins 266 Feb 20 08:15 .gitignore 08:23:43 -rw-rw-r-- 1 jenkins jenkins 199 Feb 20 08:15 .golangci.yml 08:23:43 -rw-rw-r-- 1 jenkins jenkins 19818 Feb 20 08:15 Attribution.txt 08:23:43 -rw-rw-r-- 1 jenkins jenkins 16388 Feb 20 08:15 CHANGELOG.md 08:23:43 -rw-rw-r-- 1 jenkins jenkins 1479 Feb 20 08:15 Dockerfile 08:23:43 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 08:15 GOVERNANCE.md 08:23:43 -rw-rw-r-- 1 jenkins jenkins 658 Feb 20 08:15 Jenkinsfile 08:23:43 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 08:15 LICENSE 08:23:43 -rw-rw-r-- 1 jenkins jenkins 2524 Feb 20 08:15 Makefile 08:23:43 -rw-rw-r-- 1 jenkins jenkins 622 Feb 20 08:15 OWNERS.md 08:23:43 -rw-rw-r-- 1 jenkins jenkins 4463 Feb 20 08:15 README.md 08:23:43 -rw-rw-r-- 1 jenkins jenkins 12 Feb 20 08:13 VERSION 08:23:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 08:15 bin 08:23:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 08:15 cmd 08:23:43 -rw-r--r-- 1 jenkins jenkins 26779 Feb 20 08:22 coverage.out 08:23:43 -rw-rw-r-- 1 jenkins jenkins 6343 Feb 20 08:15 go.mod 08:23:43 -rw-rw-r-- 1 jenkins jenkins 86970 Feb 20 08:15 go.sum 08:23:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 08:15 internal 08:23:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 08:15 simulator 08:23:43 -rw-rw-r-- 1 jenkins jenkins 229 Feb 20 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:43 + 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=17140d33859ac451bf7a41a9a06a7b8146968e0a --label arch=arm64 --label version=4.0.0-dev.16 . 08:23:44 Sending build context to Docker daemon 9.222MB 08:23:44 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 08:23:44 Step 2/23 : FROM ${BASE} AS builder 08:23:44 ---> 6195ad64a62b 08:23:44 Step 3/23 : ARG ADD_BUILD_TAGS="" 08:23:44 ---> Running in 0876ea254488 08:23:44 Removing intermediate container 0876ea254488 08:23:44 ---> 486873f4f4a7 08:23:44 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:23:44 ---> Running in dd1045aeb08b 08:23:44 Removing intermediate container dd1045aeb08b 08:23:44 ---> cbdab490fb9e 08:23:44 Step 5/23 : RUN apk add --update --no-cache make git openssh 08:23:45 ---> Running in 64ac9759d520 08:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:23:48 OK: 245 MiB in 66 packages 08:23:49 Removing intermediate container 64ac9759d520 08:23:49 ---> 21a47cea70a7 08:23:49 Step 6/23 : WORKDIR /device-modbus-go 08:23:49 ---> Running in 7dc3f77708ca 08:23:49 Removing intermediate container 7dc3f77708ca 08:23:49 ---> 2fcce548a345 08:23:49 Step 7/23 : COPY go.mod vendor* ./ 08:23:50 ---> 96dd77e99948 08:23:50 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:23:50 ---> Running in 96e689d2aae7 08:23:52 Removing intermediate container 96e689d2aae7 08:23:52 ---> 9544022e9a9f 08:23:52 Step 9/23 : COPY . . 08:23:53 ---> 964a3c2a521c 08:23:53 Step 10/23 : RUN ${MAKE} 08:23:53 ---> Running in 9db902388328 08:23:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 08:27:47 Removing intermediate container 9db902388328 08:27:47 ---> 90a5eb621072 08:27:47 Step 11/23 : FROM alpine:3.20 08:27:47 3.20: Pulling from library/alpine 08:27:47 94e9d8af2201: Pulling fs layer 08:27:47 94e9d8af2201: Verifying Checksum 08:27:47 94e9d8af2201: Download complete 08:27:47 94e9d8af2201: Pull complete 08:27:47 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:27:47 Status: Downloaded newer image for alpine:3.20 08:27:47 ---> 7aab056cecc6 08:27:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 08:27:47 ---> Running in 5df3d493af02 08:27:47 Removing intermediate container 5df3d493af02 08:27:47 ---> 83c803aefacd 08:27:47 Step 13/23 : RUN apk add --update --no-cache dumb-init 08:27:47 ---> Running in 34de3c5890b2 08:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:27:47 (1/1) Installing dumb-init (1.2.5-r3) 08:27:47 Executing busybox-1.36.1-r29.trigger 08:27:47 OK: 9 MiB in 15 packages 08:27:47 Removing intermediate container 34de3c5890b2 08:27:47 ---> 318e79f973e4 08:27:47 Step 14/23 : RUN apk --no-cache upgrade 08:27:47 ---> Running in 490e1fb777a5 08:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:27:47 OK: 9 MiB in 15 packages 08:27:48 Removing intermediate container 490e1fb777a5 08:27:48 ---> 6893103efd1b 08:27:48 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 08:27:51 ---> 1f544356d759 08:27:51 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 08:27:51 ---> 0da8c9fbeb68 08:27:51 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:27:51 ---> e4179da4cff1 08:27:51 Step 18/23 : EXPOSE 59901 08:27:51 ---> Running in c03f5567e0e4 08:27:52 Removing intermediate container c03f5567e0e4 08:27:52 ---> 0b423e9b4e3a 08:27:52 Step 19/23 : ENTRYPOINT ["/device-modbus"] 08:27:52 ---> Running in a4b2056ee8e5 08:27:52 Removing intermediate container a4b2056ee8e5 08:27:52 ---> c3b63233ed80 08:27:52 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:27:52 ---> Running in 4d9a926a2895 08:27:52 Removing intermediate container 4d9a926a2895 08:27:52 ---> 5a985b84212f 08:27:52 Step 21/23 : LABEL arch=arm64 08:27:52 ---> Running in 3c5546217aad 08:27:53 Removing intermediate container 3c5546217aad 08:27:53 ---> 3164b7caa9fb 08:27:53 Step 22/23 : LABEL git_sha=17140d33859ac451bf7a41a9a06a7b8146968e0a 08:27:53 ---> Running in 06163ef32dc5 08:27:53 Removing intermediate container 06163ef32dc5 08:27:53 ---> b8f1b304a289 08:27:53 Step 23/23 : LABEL version=4.0.0-dev.16 08:27:53 ---> Running in cf60bfd49a17 08:27:54 Removing intermediate container cf60bfd49a17 08:27:54 ---> 120195323a98 08:27:54 [Warning] One or more build-args [ARCH] were not consumed 08:27:54 Successfully built 120195323a98 08:27:54 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:54 provisioning config files... 08:27:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/181@tmp/config15494598914423859149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:54 ---> ****-login.sh 08:27:54 nexus3.edgexfoundry.org:10001 08:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:55 Configure a credential helper to remove this warning. See 08:27:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:55 08:27:55 Login Succeeded 08:27:55 nexus3.edgexfoundry.org:10002 08:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:55 Configure a credential helper to remove this warning. See 08:27:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:55 08:27:55 Login Succeeded 08:27:55 nexus3.edgexfoundry.org:10003 08:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:55 Configure a credential helper to remove this warning. See 08:27:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:55 08:27:55 Login Succeeded 08:27:55 nexus3.edgexfoundry.org:10004 08:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:56 Configure a credential helper to remove this warning. See 08:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:56 08:27:56 Login Succeeded 08:27:56 ****.io 08:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:56 Configure a credential helper to remove this warning. See 08:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:56 08:27:56 Login Succeeded 08:27:56 ---> ****-login.sh ends [Pipeline] } 08:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:27:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:27:56 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 08:27:56 17140d33859ac451bf7a41a9a06a7b8146968e0a 08:27:56 latest 08:27:56 4.0.0-dev.16 08:27:56 17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 08:27:56 main 08:27:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:57 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:17140d33859ac451bf7a41a9a06a7b8146968e0a 08:27:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:27:57 36bb575514df: Preparing 08:27:57 f56047c5f828: Preparing 08:27:57 097310e3ce24: Preparing 08:27:57 ed35bdbf9f12: Preparing 08:27:57 10d552ddaeea: Preparing 08:27:57 dd9c8f8612c8: Preparing 08:27:57 dd9c8f8612c8: Waiting 08:27:57 36bb575514df: Pushed 08:27:57 f56047c5f828: Pushed 08:27:57 ed35bdbf9f12: Pushed 08:27:57 10d552ddaeea: Pushed 08:27:57 dd9c8f8612c8: Layer already exists 08:28:06 097310e3ce24: Pushed 08:28:06 17140d33859ac451bf7a41a9a06a7b8146968e0a: digest: sha256:8b6c9abc4855d4e684a10b70a31cfdf3042797b3a57ed28606fc8ecb1058a24b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:06 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:28:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:28:06 36bb575514df: Preparing 08:28:06 f56047c5f828: Preparing 08:28:06 097310e3ce24: Preparing 08:28:06 ed35bdbf9f12: Preparing 08:28:06 10d552ddaeea: Preparing 08:28:06 dd9c8f8612c8: Preparing 08:28:06 dd9c8f8612c8: Waiting 08:28:06 10d552ddaeea: Layer already exists 08:28:06 097310e3ce24: Layer already exists 08:28:06 36bb575514df: Layer already exists 08:28:06 ed35bdbf9f12: Layer already exists 08:28:06 f56047c5f828: Layer already exists 08:28:06 dd9c8f8612c8: Layer already exists 08:28:07 latest: digest: sha256:8b6c9abc4855d4e684a10b70a31cfdf3042797b3a57ed28606fc8ecb1058a24b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:07 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.16 08:28:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:28:07 36bb575514df: Preparing 08:28:07 f56047c5f828: Preparing 08:28:07 097310e3ce24: Preparing 08:28:07 ed35bdbf9f12: Preparing 08:28:07 10d552ddaeea: Preparing 08:28:07 dd9c8f8612c8: Preparing 08:28:07 dd9c8f8612c8: Waiting 08:28:07 ed35bdbf9f12: Layer already exists 08:28:07 36bb575514df: Layer already exists 08:28:07 097310e3ce24: Layer already exists 08:28:07 10d552ddaeea: Layer already exists 08:28:07 f56047c5f828: Layer already exists 08:28:07 dd9c8f8612c8: Layer already exists 08:28:08 4.0.0-dev.16: digest: sha256:8b6c9abc4855d4e684a10b70a31cfdf3042797b3a57ed28606fc8ecb1058a24b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:08 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 08:28:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:28:08 36bb575514df: Preparing 08:28:08 f56047c5f828: Preparing 08:28:08 097310e3ce24: Preparing 08:28:08 ed35bdbf9f12: Preparing 08:28:08 10d552ddaeea: Preparing 08:28:08 dd9c8f8612c8: Preparing 08:28:08 dd9c8f8612c8: Waiting 08:28:08 10d552ddaeea: Layer already exists 08:28:08 097310e3ce24: Layer already exists 08:28:08 f56047c5f828: Layer already exists 08:28:08 ed35bdbf9f12: Layer already exists 08:28:08 36bb575514df: Layer already exists 08:28:08 dd9c8f8612c8: Layer already exists 08:28:09 17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16: digest: sha256:8b6c9abc4855d4e684a10b70a31cfdf3042797b3a57ed28606fc8ecb1058a24b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:09 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:09 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 08:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:28:09 36bb575514df: Preparing 08:28:09 f56047c5f828: Preparing 08:28:09 097310e3ce24: Preparing 08:28:09 ed35bdbf9f12: Preparing 08:28:09 10d552ddaeea: Preparing 08:28:09 dd9c8f8612c8: Preparing 08:28:09 dd9c8f8612c8: Waiting 08:28:09 36bb575514df: Layer already exists 08:28:09 ed35bdbf9f12: Layer already exists 08:28:09 f56047c5f828: Layer already exists 08:28:09 097310e3ce24: Layer already exists 08:28:09 10d552ddaeea: Layer already exists 08:28:09 dd9c8f8612c8: Layer already exists 08:28:10 main: digest: sha256:8b6c9abc4855d4e684a10b70a31cfdf3042797b3a57ed28606fc8ecb1058a24b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:28:10 ===================================================== [Pipeline] echo 08:28:10 taggedImages: 08:28:10 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:17140d33859ac451bf7a41a9a06a7b8146968e0a 08:28:10 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:28:10 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.16 08:28:10 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:17140d33859ac451bf7a41a9a06a7b8146968e0a-4.0.0-dev.16 08:28:10 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:10 08:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:11 arm64: Pulling from edgex-lftools-log-publisher 08:28:11 8998bd30e6a1: Pulling fs layer 08:28:11 04944245beec: Pulling fs layer 08:28:11 699f458cf7ca: Pulling fs layer 08:28:11 765212b225bb: Pulling fs layer 08:28:11 f23df028b6ca: Pulling fs layer 08:28:11 d65c8cfc05b1: Pulling fs layer 08:28:11 2437ff75d9bd: Pulling fs layer 08:28:11 f23df028b6ca: Waiting 08:28:11 d65c8cfc05b1: Waiting 08:28:11 2437ff75d9bd: Waiting 08:28:11 765212b225bb: Waiting 08:28:11 04944245beec: Verifying Checksum 08:28:11 04944245beec: Download complete 08:28:11 765212b225bb: Verifying Checksum 08:28:11 765212b225bb: Download complete 08:28:11 f23df028b6ca: Verifying Checksum 08:28:11 f23df028b6ca: Download complete 08:28:11 d65c8cfc05b1: Verifying Checksum 08:28:11 d65c8cfc05b1: Download complete 08:28:11 699f458cf7ca: Verifying Checksum 08:28:11 699f458cf7ca: Download complete 08:28:12 8998bd30e6a1: Download complete 08:28:14 2437ff75d9bd: Verifying Checksum 08:28:14 2437ff75d9bd: Download complete 08:28:17 8998bd30e6a1: Pull complete 08:28:17 04944245beec: Pull complete 08:28:19 699f458cf7ca: Pull complete 08:28:19 765212b225bb: Pull complete 08:28:20 f23df028b6ca: Pull complete 08:28:20 d65c8cfc05b1: Pull complete 08:28:39 2437ff75d9bd: Pull complete 08:28:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:28:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:28:39 prd-ubuntu20.04-docker-arm64-4c-16g-39317 does not seem to be running inside a container 08:28:39 $ 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/181 -v /w/workspace/device-modbus-go/181:/w/workspace/device-modbus-go/181:rw,z -v /w/workspace/device-modbus-go/181@tmp:/w/workspace/device-modbus-go/181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:28:42 $ docker top ebcf9c355140c8898d10a0c93c527d532c4f7699bc57267f41b891a2eae44169 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:43 ---> job-cost.sh 08:28:43 lf-activate-venv: SKIPPING 08:28:43 INFO: No Stack... 08:28:43 INFO: Retrieving Pricing Info for: v3-standard-4 08:28:44 INFO: Archiving Costs [Pipeline] sh 08:28:44 + cat /w/workspace/device-modbus-go/181/archives/cost.csv 08:28:44 + cut -d, -f6 [Pipeline] lock 08:28:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] 08:28:45 Resource [jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] did not exist. Created. 08:28:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:28:45 /w/workspace/device-modbus-go/181@tmp/durable-7ebb5884/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:28:46 + echo total: 0.10999999940395355 [Pipeline] stash 08:28:46 Warning: overwriting stash ‘stack-cost’ 08:28:46 Stashed 1 file(s) [Pipeline] } 08:28:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 08:28:46 $ docker stop --time=1 ebcf9c355140c8898d10a0c93c527d532c4f7699bc57267f41b891a2eae44169 08:28:47 $ docker rm -f --volumes ebcf9c355140c8898d10a0c93c527d532c4f7699bc57267f41b891a2eae44169 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:28:48 provisioning config files... 08:28:48 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6640208865378212496tmp [Pipeline] { [Pipeline] sh 08:28:48 + set +x 08:28:48 + curl -s https://codecov.io/bash 08:28:48 + bash -s -- 08:28:48 08:28:48 _____ _ 08:28:48 / ____| | | 08:28:48 | | ___ __| | ___ ___ _____ __ 08:28:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:28:48 | |___| (_) | (_| | __/ (_| (_) \ V / 08:28:48 \_____\___/ \__,_|\___|\___\___/ \_/ 08:28:48 Bash-1.0.6 08:28:48 08:28:48 08:28:48 ==> git version 2.25.1 found 08:28:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:28:48 Release-Date: 2020-01-08 08:28:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:28:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:28:48 ==> Jenkins CI detected. 08:28:48 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 08:28:48 project root: . 08:28:48 --> token set from env 08:28:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:28:48 ==> Running gcov in . (disable via -X gcov) 08:28:48 ==> Python coveragepy not found 08:28:48 ==> Searching for coverage reports in: 08:28:48 + . 08:28:48 -> Found 1 reports 08:28:48 ==> Detecting git/mercurial file structure 08:28:48 ==> Reading reports 08:28:48 + ./coverage.out bytes=26779 08:28:48 ==> Appending adjustments 08:28:48 https://docs.codecov.io/docs/fixing-reports 08:28:49 + Found adjustments 08:28:49 ==> Gzipping contents 08:28:49 8.0K /tmp/codecov.DvRu5J.gz 08:28:49 ==> Uploading reports 08:28:49 url: https://codecov.io 08:28:49 query: branch=main&commit=17140d33859ac451bf7a41a9a06a7b8146968e0a&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:28:49 -> Pinging Codecov 08:28:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=17140d33859ac451bf7a41a9a06a7b8146968e0a&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:28:49 -> Uploading to 08:28:49 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/17140d33859ac451bf7a41a9a06a7b8146968e0a/a14e19d7-37c0-46b3-99e1-095cb1acb93f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250220%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250220T082849Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=09d60331f12d9381cd077e99faf21971f9f88423b57f0c314e5bfd4f8b31ee5f 08:28:49 % Total % Received % Xferd Average Speed Time Time Time Current 08:28:49 Dload Upload Total Spent Left Speed 08:28:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4103 0 0 100 4103 0 13408 --:--:-- --:--:-- --:--:-- 13408 08:28:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] } 08:28:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:28:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:28:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:28:50 08:28:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:28:50 latest: Pulling from edgex-devops/edgex-snyk-go 08:28:50 43c4264eed91: Pulling fs layer 08:28:50 4cc291be95ef: Pulling fs layer 08:28:50 2ac1f1163629: Pulling fs layer 08:28:50 5c3c966382ef: Pulling fs layer 08:28:50 4f4fb700ef54: Pulling fs layer 08:28:50 d9c7d2e4e75e: Pulling fs layer 08:28:50 9c3e1370e548: Pulling fs layer 08:28:50 5c3c966382ef: Waiting 08:28:50 4f4fb700ef54: Waiting 08:28:50 d9c7d2e4e75e: Waiting 08:28:50 9c3e1370e548: Waiting 08:28:50 4cc291be95ef: Verifying Checksum 08:28:50 4cc291be95ef: Download complete 08:28:50 5c3c966382ef: Verifying Checksum 08:28:50 5c3c966382ef: Download complete 08:28:50 4f4fb700ef54: Verifying Checksum 08:28:50 4f4fb700ef54: Download complete 08:28:50 43c4264eed91: Download complete 08:28:50 43c4264eed91: Pull complete 08:28:50 4cc291be95ef: Pull complete 08:28:50 d9c7d2e4e75e: Verifying Checksum 08:28:50 d9c7d2e4e75e: Download complete 08:28:51 2ac1f1163629: Verifying Checksum 08:28:51 2ac1f1163629: Download complete 08:28:51 9c3e1370e548: Verifying Checksum 08:28:51 9c3e1370e548: Download complete 08:28:54 2ac1f1163629: Pull complete 08:28:54 5c3c966382ef: Pull complete 08:28:54 4f4fb700ef54: Pull complete 08:28:54 d9c7d2e4e75e: Pull complete 08:28:57 9c3e1370e548: Pull complete 08:28:57 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:28:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:28:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:28:57 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:28:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:28:58 $ docker top 489a79525cf57101a0f56e94aa0a4fd83622ddca6a1c3adb2df6d3f0bc28ca42 -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:59 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 08:28:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 08:28:59 + set -o pipefail 08:28:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 08:29:09 08:29:09 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 08:29:09 08:29:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/838c2f5d-2be9-4aac-ac4b-a7f578242b59 08:29:09 08:29:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:29:09 08:29:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:29:09 08:29:09 08:29:09 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:29:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:29:09 $ docker stop --time=1 489a79525cf57101a0f56e94aa0a4fd83622ddca6a1c3adb2df6d3f0bc28ca42 08:29:11 $ docker rm -f --volumes 489a79525cf57101a0f56e94aa0a4fd83622ddca6a1c3adb2df6d3f0bc28ca42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:29:12 + git log --format=format:%s -1 17140d33859ac451bf7a41a9a06a7b8146968e0a [Pipeline] sh 08:29:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:29:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:13 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:29:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:29:13 $ docker top c382341fc8fe030f1eba06125f7669d93f6581528352a6eeeb55d874b763376b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:29:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:29:13 [ssh-agent] Looking for ssh-agent implementation... 08:29:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:29:13 $ docker exec c382341fc8fe030f1eba06125f7669d93f6581528352a6eeeb55d874b763376b ssh-agent 08:29:13 SSH_AUTH_SOCK=/tmp/ssh-0T1y6viX8NPt/agent.33 08:29:13 SSH_AGENT_PID=39 08:29:13 Running ssh-add (command line suppressed) 08:29:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3109911523997965413.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3109911523997965413.key) 08:29:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:29:14 + git semver tag 08:29:14 2025-02-20 08:29:14,506 [run_tag] DEBUG tag force:False 08:29:14 2025-02-20 08:29:14,506 [check_head_tag] DEBUG check head tag 08:29:14 2025-02-20 08:29:14,507 [execute] INFO git cat-file --batch-check 08:29:14 2025-02-20 08:29:14,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:29:14 2025-02-20 08:29:14,511 [execute] INFO git cat-file --batch 08:29:14 2025-02-20 08:29:14,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:29:14 2025-02-20 08:29:14,534 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:14 2025-02-20 08:29:14,534 [execute] INFO git tag -a v4.0.0-dev.16 -m v4.0.0-dev.16 08:29:14 2025-02-20 08:29:14,534 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.16', '-m', 'v4.0.0-dev.16'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 08:29:14 2025-02-20 08:29:14,539 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:14 4.0.0-dev.16 [Pipeline] } 08:29:14 $ docker exec --env ******** --env ******** c382341fc8fe030f1eba06125f7669d93f6581528352a6eeeb55d874b763376b ssh-agent -k 08:29:14 unset SSH_AUTH_SOCK; 08:29:14 unset SSH_AGENT_PID; 08:29:14 echo Agent pid 39 killed; 08:29:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:15 + git semver [Pipeline] } 08:29:15 $ docker stop --time=1 c382341fc8fe030f1eba06125f7669d93f6581528352a6eeeb55d874b763376b 08:29:16 $ docker rm -f --volumes c382341fc8fe030f1eba06125f7669d93f6581528352a6eeeb55d874b763376b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:29:16 08:29:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:29:17 0.23.1-centos7: Pulling from edgex-lftools 08:29:17 ab5ef0e58194: Pulling fs layer 08:29:17 9712f1f96733: Pulling fs layer 08:29:17 63f879dbbcfc: Pulling fs layer 08:29:17 0d9ebad4ef96: Pulling fs layer 08:29:17 e9a5061849ea: Pulling fs layer 08:29:17 d747dcd14b5f: Pulling fs layer 08:29:17 2de7ff778b66: Pulling fs layer 08:29:17 d747dcd14b5f: Waiting 08:29:17 2de7ff778b66: Waiting 08:29:17 0d9ebad4ef96: Waiting 08:29:17 e9a5061849ea: Waiting 08:29:17 9712f1f96733: Download complete 08:29:17 63f879dbbcfc: Verifying Checksum 08:29:17 63f879dbbcfc: Download complete 08:29:17 e9a5061849ea: Verifying Checksum 08:29:17 e9a5061849ea: Download complete 08:29:17 d747dcd14b5f: Verifying Checksum 08:29:17 d747dcd14b5f: Download complete 08:29:17 0d9ebad4ef96: Verifying Checksum 08:29:17 0d9ebad4ef96: Download complete 08:29:17 ab5ef0e58194: Download complete 08:29:17 2de7ff778b66: Verifying Checksum 08:29:17 2de7ff778b66: Download complete 08:29:20 ab5ef0e58194: Pull complete 08:29:20 9712f1f96733: Pull complete 08:29:20 63f879dbbcfc: Pull complete 08:29:23 0d9ebad4ef96: Pull complete 08:29:23 e9a5061849ea: Pull complete 08:29:24 d747dcd14b5f: Pull complete 08:29:25 2de7ff778b66: Pull complete 08:29:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:29:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:25 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:29:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:29:27 $ docker top 4b02e2c847d35f897344a2909f98c36b7c005d96f28e207eabfea1bb3041d156 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:29:27 provisioning config files... 08:29:27 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8970655155469106432tmp 08:29:27 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9641188912889755216tmp 08:29:27 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8569754921598583345tmp [Pipeline] { [Pipeline] echo 08:29:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:29:27 ---> sigul-configuration.sh 08:29:27 gpg: directory `/root/.gnupg' created 08:29:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:29:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:29:27 gpg: keyring `/root/.gnupg/secring.gpg' created 08:29:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:29:27 gpg: CAST5 encrypted data 08:29:27 gpg: encrypted with 1 passphrase 08:29:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:29:27 + mkdir /home/jenkins 08:29:27 + mkdir /home/jenkins/sigul [Pipeline] sh 08:29:28 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:29:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:29:28 ---> sigul-install.sh 08:29:28 Sigul already installed; skipping installation. [Pipeline] sh 08:29:28 + git tag --list 08:29:28 0.7.1 08:29:28 v1.0.0 08:29:28 v1.1.0 08:29:28 v1.1.1 08:29:28 v1.2.2 08:29:28 v1.3.0 08:29:28 v1.3.1 08:29:28 v2.0.0 08:29:28 v2.1.0 08:29:28 v2.1.1 08:29:28 v2.2.0 08:29:28 v2.3.0 08:29:28 v3.0 08:29:28 v3.0.0 08:29:28 v3.1 08:29:28 v3.1.0 08:29:28 v3.1.0-dev.1 08:29:28 v3.1.0-dev.10 08:29:28 v3.1.0-dev.11 08:29:28 v3.1.0-dev.12 08:29:28 v3.1.0-dev.13 08:29:28 v3.1.0-dev.14 08:29:28 v3.1.0-dev.15 08:29:28 v3.1.0-dev.16 08:29:28 v3.1.0-dev.17 08:29:28 v3.1.0-dev.18 08:29:28 v3.1.0-dev.19 08:29:28 v3.1.0-dev.2 08:29:28 v3.1.0-dev.20 08:29:28 v3.1.0-dev.21 08:29:28 v3.1.0-dev.22 08:29:28 v3.1.0-dev.23 08:29:28 v3.1.0-dev.24 08:29:28 v3.1.0-dev.25 08:29:28 v3.1.0-dev.3 08:29:28 v3.1.0-dev.4 08:29:28 v3.1.0-dev.5 08:29:28 v3.1.0-dev.6 08:29:28 v3.1.0-dev.7 08:29:28 v3.1.0-dev.8 08:29:28 v3.1.0-dev.9 08:29:28 v3.1.1 08:29:28 v3.1.1-dev.1 08:29:28 v3.2.0-dev.1 08:29:28 v3.2.0-dev.10 08:29:28 v3.2.0-dev.11 08:29:28 v3.2.0-dev.12 08:29:28 v3.2.0-dev.13 08:29:28 v3.2.0-dev.14 08:29:28 v3.2.0-dev.15 08:29:28 v3.2.0-dev.16 08:29:28 v3.2.0-dev.17 08:29:28 v3.2.0-dev.18 08:29:28 v3.2.0-dev.19 08:29:28 v3.2.0-dev.2 08:29:28 v3.2.0-dev.20 08:29:28 v3.2.0-dev.21 08:29:28 v3.2.0-dev.22 08:29:28 v3.2.0-dev.23 08:29:28 v3.2.0-dev.24 08:29:28 v3.2.0-dev.25 08:29:28 v3.2.0-dev.26 08:29:28 v3.2.0-dev.3 08:29:28 v3.2.0-dev.4 08:29:28 v3.2.0-dev.5 08:29:28 v3.2.0-dev.6 08:29:28 v3.2.0-dev.7 08:29:28 v3.2.0-dev.8 08:29:28 v3.2.0-dev.9 08:29:28 v4.0.0-dev.1 08:29:28 v4.0.0-dev.10 08:29:28 v4.0.0-dev.11 08:29:28 v4.0.0-dev.12 08:29:28 v4.0.0-dev.13 08:29:28 v4.0.0-dev.14 08:29:28 v4.0.0-dev.15 08:29:28 v4.0.0-dev.16 08:29:28 v4.0.0-dev.2 08:29:28 v4.0.0-dev.3 08:29:28 v4.0.0-dev.4 08:29:28 v4.0.0-dev.5 08:29:28 v4.0.0-dev.6 08:29:28 v4.0.0-dev.7 08:29:28 v4.0.0-dev.8 08:29:28 v4.0.0-dev.9 [Pipeline] sh 08:29:29 + lftools sign git-tag v4.0.0-dev.16 08:29:29 Signing Git tag with Sigul... 08:29:29 Signing v4.0.0-dev.16 [Pipeline] echo 08:29:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:29:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:29:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:29:30 $ docker stop --time=1 4b02e2c847d35f897344a2909f98c36b7c005d96f28e207eabfea1bb3041d156 08:29:31 $ docker rm -f --volumes 4b02e2c847d35f897344a2909f98c36b7c005d96f28e207eabfea1bb3041d156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:29:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:29:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:32 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:29:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:29:32 $ docker top 1be033a96ed3eced2be75f30c7452fa1b6bc0df584710902a6fc30cbe68bc1a6 -eo pid,comm 08:29:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:29:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:29:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:29:32 [ssh-agent] Looking for ssh-agent implementation... 08:29:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:29:32 $ docker exec 1be033a96ed3eced2be75f30c7452fa1b6bc0df584710902a6fc30cbe68bc1a6 ssh-agent 08:29:32 SSH_AUTH_SOCK=/tmp/ssh-aDOkWAPOx7hZ/agent.32 08:29:32 SSH_AGENT_PID=38 08:29:32 Running ssh-add (command line suppressed) 08:29:33 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_539764877904042764.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_539764877904042764.key) 08:29:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:29:33 + git semver bump pre 08:29:33 2025-02-20 08:29:33,565 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:33 2025-02-20 08:29:33,565 [bump_version] DEBUG bumping version:4.0.0-dev.16 on axis:pre with prefix:dev 08:29:33 2025-02-20 08:29:33,565 [bump_version] DEBUG bumped version:4.0.0-dev.17 08:29:33 2025-02-20 08:29:33,565 [write_version] DEBUG write version:4.0.0-dev.17 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 08:29:33 2025-02-20 08:29:33,565 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:33 2025-02-20 08:29:33,565 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:33 2025-02-20 08:29:33,567 [execute] INFO git cat-file --batch-check 08:29:33 2025-02-20 08:29:33,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:29:33 2025-02-20 08:29:33,572 [execute] INFO git cat-file --batch 08:29:33 2025-02-20 08:29:33,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:29:33 2025-02-20 08:29:33,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:33 4.0.0-dev.17 [Pipeline] } 08:29:33 $ docker exec --env ******** --env ******** 1be033a96ed3eced2be75f30c7452fa1b6bc0df584710902a6fc30cbe68bc1a6 ssh-agent -k 08:29:33 unset SSH_AUTH_SOCK; 08:29:33 unset SSH_AGENT_PID; 08:29:33 echo Agent pid 38 killed; 08:29:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:34 + git semver [Pipeline] } 08:29:34 $ docker stop --time=1 1be033a96ed3eced2be75f30c7452fa1b6bc0df584710902a6fc30cbe68bc1a6 08:29:35 $ docker rm -f --volumes 1be033a96ed3eced2be75f30c7452fa1b6bc0df584710902a6fc30cbe68bc1a6 [Pipeline] // withDockerContainer [Pipeline] sh 08:29:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:29:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:29:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:36 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:29:36 $ docker top d33fcd7ef81df55e6aa51c7db8208460ffc2829c73ee95aafcb82ce928689441 -eo pid,comm 08:29:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:29:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:29:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:29:36 [ssh-agent] Looking for ssh-agent implementation... 08:29:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:29:36 $ docker exec d33fcd7ef81df55e6aa51c7db8208460ffc2829c73ee95aafcb82ce928689441 ssh-agent 08:29:37 SSH_AUTH_SOCK=/tmp/ssh-CcFLuY7nqv3D/agent.31 08:29:37 SSH_AGENT_PID=37 08:29:37 Running ssh-add (command line suppressed) 08:29:37 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7563245584480699303.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7563245584480699303.key) 08:29:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:29:37 + git semver push 08:29:37 2025-02-20 08:29:37,646 [run_push] DEBUG push 08:29:37 2025-02-20 08:29:37,647 [execute] INFO git cat-file --batch-check 08:29:37 2025-02-20 08:29:37,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:29:37 2025-02-20 08:29:37,650 [execute] INFO git rev-list 34be87d7653db37e3a610c5c83ffc23e5ddbd485 -- 08:29:37 2025-02-20 08:29:37,650 [execute] DEBUG Popen(['git', 'rev-list', '34be87d7653db37e3a610c5c83ffc23e5ddbd485', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:29:37 2025-02-20 08:29:37,658 [execute] INFO git fetch -v origin 08:29:37 2025-02-20 08:29:37,659 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:29:38 2025-02-20 08:29:38,116 [run_push] DEBUG no remote changes detected 08:29:38 2025-02-20 08:29:38,116 [execute] INFO git push origin semver 08:29:38 2025-02-20 08:29:38,117 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:29:38 2025-02-20 08:29:38,829 [run_push] DEBUG push all version tags 08:29:38 2025-02-20 08:29:38,829 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:29:38 2025-02-20 08:29:38,830 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 08:29:39 2025-02-20 08:29:39,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:29:39 4.0.0-dev.17 [Pipeline] } 08:29:39 $ docker exec --env ******** --env ******** d33fcd7ef81df55e6aa51c7db8208460ffc2829c73ee95aafcb82ce928689441 ssh-agent -k 08:29:39 unset SSH_AUTH_SOCK; 08:29:39 unset SSH_AGENT_PID; 08:29:39 echo Agent pid 37 killed; 08:29:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:29:40 + git semver [Pipeline] } 08:29:40 $ docker stop --time=1 d33fcd7ef81df55e6aa51c7db8208460ffc2829c73ee95aafcb82ce928689441 08:29:41 $ docker rm -f --volumes d33fcd7ef81df55e6aa51c7db8208460ffc2829c73ee95aafcb82ce928689441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:29:42 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 08:29:42 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:29:42 total 16 08:29:42 drwxr-xr-x 3 root root 4096 Feb 20 08:15 . 08:29:42 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 08:29 .. 08:29:42 drwxr-xr-x 2 root root 4096 Feb 20 08:15 cost 08:29:42 -rw-r--r-- 1 root root 88 Feb 20 08:15 cost.csv 08:29:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 08:29:42 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:29:42 total 16 08:29:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 08:15 . 08:29:42 drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 08:29 .. 08:29:42 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 08:15 cost 08:29:42 -rw-r--r-- 1 jenkins jenkins 88 Feb 20 08:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:29:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:29:43 ---> package-listing.sh 08:29:43 ++ facter osfamily 08:29:43 ++ tr '[:upper:]' '[:lower:]' 08:29:43 + OS_FAMILY=debian 08:29:43 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 08:29:43 + START_PACKAGES=/tmp/packages_start.txt 08:29:43 + END_PACKAGES=/tmp/packages_end.txt 08:29:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:29:43 + PACKAGES=/tmp/packages_start.txt 08:29:43 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:29:43 + PACKAGES=/tmp/packages_end.txt 08:29:43 + case "${OS_FAMILY}" in 08:29:43 + dpkg -l 08:29:43 + grep '^ii' 08:29:43 + '[' -f /tmp/packages_start.txt ']' 08:29:43 + '[' -f /tmp/packages_end.txt ']' 08:29:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:29:43 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:29:43 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 08:29:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 08:29:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:29:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:29:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:44 prd-ubuntu20.04-docker-8c-8g-39316 does not seem to be running inside a container 08:29:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:29:45 $ docker top 5caaa846eb528dc8fbf2e882c00f355f8aad3490ce4568eee33dee4360eb6769 -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:45 + touch /tmp/pre-build-complete [Pipeline] sh 08:29:45 + mkdir -p /var/log/sysstat [Pipeline] sh 08:29:46 + ls /var/log/sa-host 08:29:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:29:46 provisioning config files... 08:29:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9732860066006883957tmp [Pipeline] { [Pipeline] echo 08:29:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:29:46 ---> create-netrc.sh [Pipeline] } 08:29:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:29:46 ---> python-tools-install.sh [Pipeline] echo 08:29:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:29:47 ---> sudo-logs.sh 08:29:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:29:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:29:47 ---> job-cost.sh 08:29:47 lf-activate-venv: SKIPPING 08:29:47 DEBUG: total: 0.2199999988079071 08:29:47 INFO: Retrieving Stack Cost... 08:29:48 INFO: Retrieving Pricing Info for: v3-standard-8 08:29:48 INFO: Archiving Costs [Pipeline] echo 08:29:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:29:48 ---> logs-deploy.sh 08:29:48 lf-activate-venv: SKIPPING 08:29:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/181 08:29:48 INFO: archiving workspace using pattern(s): 08:29:49 Archives upload complete. 08:29:49 INFO: archiving logs to Nexus