Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1571cd281177acf178a7c7817f8e90373c2c7062 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-ssh17520293265492549111.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-ssh14455329764233810852.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-ssh1635240967291616425.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-ssh12874711228360094995.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-ssh7262534279670125929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40276 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 > 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 Avoid second fetch Checking out Revision 1571cd281177acf178a7c7817f8e90373c2c7062 (main) Commit message: "Merge pull request #620 from jumpingliu/4.0-modbus-changelog" > git config core.sparsecheckout # timeout=10 > git checkout -f 1571cd281177acf178a7c7817f8e90373c2c7062 # timeout=10 > git rev-list --no-walk fbf28258f8123c8c2a62b160c4d67958b4e7ad4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:31:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:31:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:31:42 ========================================================= 08:31:42 EdgeX Global Pipelines Version Info 08:31:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:31:42 ------------------- 08:31:42 stable info: 08:31:42 ------------------- 08:31:42 Commited By: Cherry Wang cherry@iotechsys.com 08:31:42 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:31:42 Message: update stable to v1.0.269 08:31:43 ------------------- 08:31:43 experimental info: 08:31:43 ------------------- 08:31:43 Commited By: Ginny Guan ginny@iotechsys.com 08:31:43 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:31:43 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 08:31:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1571cd2 [Pipeline] echo 08:31:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:44 provisioning config files... 08:31:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6686535324243655175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:44 ---> ****-login.sh 08:31:44 nexus3.edgexfoundry.org:10001 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10002 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10003 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 nexus3.edgexfoundry.org:10004 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 ****.io 08:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:31:45 Configure a credential helper to remove this warning. See 08:31:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:31:45 08:31:45 Login Succeeded 08:31:45 ---> ****-login.sh ends [Pipeline] } 08:31:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:31:46 + git rev-list -1 --merges 1571cd281177acf178a7c7817f8e90373c2c7062~1..1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] echo 08:31:46 -----------> git rev-list -1 --merges 1571cd281177acf178a7c7817f8e90373c2c7062~1..1571cd281177acf178a7c7817f8e90373c2c7062 1571cd281177acf178a7c7817f8e90373c2c7062 08:31:46 1571cd281177acf178a7c7817f8e90373c2c7062 [false] [Pipeline] sh 08:31:46 + git log --format=format:%s -1 1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] echo 08:31:46 ========================================================= 08:31:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:31:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:46 + git log --format=format:%s -1 1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] echo 08:31:46 [semverPrep] GIT_COMMIT: 1571cd281177acf178a7c7817f8e90373c2c7062, Commit Message: Merge pull request #620 from jumpingliu/4.0-modbus-changelog [Pipeline] echo 08:31:46 [semverPrep] This is not a build commit. [Pipeline] sh 08:31:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:31:47 + grep -v github /etc/ssh/ssh_known_hosts 08:31:47 + [ -e /tmp/ssh_known_hosts ] 08:31:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:31:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:31:47 + sudo tee -a /etc/ssh/ssh_known_hosts 08:31:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:47 08:31:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:47 0.1.4: Pulling from edgex-devops/py-git-semver 08:31:47 b85a868b505f: Pulling fs layer 08:31:47 e2be974225ed: Pulling fs layer 08:31:47 339a4e72a1f5: Pulling fs layer 08:31:47 988bab9f4d93: Pulling fs layer 08:31:47 1469e6f7b9e6: Pulling fs layer 08:31:47 eaf3925da568: Pulling fs layer 08:31:47 bab4dde63d76: Pulling fs layer 08:31:47 bde34c3a00c8: Pulling fs layer 08:31:47 b352a97aabf1: Pulling fs layer 08:31:47 4872d77fe225: Pulling fs layer 08:31:47 5851b861e8e6: Pulling fs layer 08:31:47 988bab9f4d93: Waiting 08:31:47 1469e6f7b9e6: Waiting 08:31:47 eaf3925da568: Waiting 08:31:47 bab4dde63d76: Waiting 08:31:47 bde34c3a00c8: Waiting 08:31:47 b352a97aabf1: Waiting 08:31:47 4872d77fe225: Waiting 08:31:47 5851b861e8e6: Waiting 08:31:47 e2be974225ed: Verifying Checksum 08:31:47 988bab9f4d93: Verifying Checksum 08:31:47 988bab9f4d93: Download complete 08:31:47 1469e6f7b9e6: Download complete 08:31:48 eaf3925da568: Verifying Checksum 08:31:48 eaf3925da568: Download complete 08:31:48 339a4e72a1f5: Verifying Checksum 08:31:48 339a4e72a1f5: Download complete 08:31:48 bde34c3a00c8: Verifying Checksum 08:31:48 bde34c3a00c8: Download complete 08:31:48 b352a97aabf1: Verifying Checksum 08:31:48 b352a97aabf1: Download complete 08:31:48 4872d77fe225: Download complete 08:31:48 5851b861e8e6: Download complete 08:31:48 b85a868b505f: Verifying Checksum 08:31:48 b85a868b505f: Download complete 08:31:48 bab4dde63d76: Verifying Checksum 08:31:48 bab4dde63d76: Download complete 08:31:49 b85a868b505f: Pull complete 08:31:49 e2be974225ed: Pull complete 08:31:49 339a4e72a1f5: Pull complete 08:31:50 988bab9f4d93: Pull complete 08:31:50 1469e6f7b9e6: Pull complete 08:31:50 eaf3925da568: Pull complete 08:31:52 bab4dde63d76: Pull complete 08:31:52 bde34c3a00c8: Pull complete 08:31:52 b352a97aabf1: Pull complete 08:31:52 4872d77fe225: Pull complete 08:31:52 5851b861e8e6: Pull complete 08:31:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:31:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:52 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:31:54 $ docker top ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 -eo pid,comm 08:31:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:31:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:31:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:54 [ssh-agent] Looking for ssh-agent implementation... 08:31:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:54 $ docker exec ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 ssh-agent 08:31:54 SSH_AUTH_SOCK=/tmp/ssh-7z5Htp3w30Il/agent.32 08:31:54 SSH_AGENT_PID=38 08:31:54 Running ssh-add (command line suppressed) 08:31:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8672301187320271854.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8672301187320271854.key) 08:31:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:54 + git tag --points-at HEAD [Pipeline] } 08:31:54 $ docker exec --env ******** --env ******** ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 ssh-agent -k 08:31:54 unset SSH_AUTH_SOCK; 08:31:54 unset SSH_AGENT_PID; 08:31:54 echo Agent pid 38 killed; 08:31:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:31:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:55 [ssh-agent] Looking for ssh-agent implementation... 08:31:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:55 $ docker exec ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 ssh-agent 08:31:55 SSH_AUTH_SOCK=/tmp/ssh-e9JMRQamKZ7G/agent.71 08:31:55 SSH_AGENT_PID=77 08:31:55 Running ssh-add (command line suppressed) 08:31:55 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16199967473081847207.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16199967473081847207.key) 08:31:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:55 + git semver init 08:31:55 2025-03-05 08:31:55,898 [run_init] DEBUG init version:0.0.0 force:False 08:31:55 2025-03-05 08:31:55,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 08:31:55 2025-03-05 08:31:55,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 08:31:55 2025-03-05 08:31:55,900 [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:31:56 2025-03-05 08:31:56,902 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 08:31:56 2025-03-05 08:31:56,903 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 08:31:56 2025-03-05 08:31:56,903 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:31:56 2025-03-05 08:31:56,903 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:31:56 4.0.0-dev.20 [Pipeline] } 08:31:57 $ docker exec --env ******** --env ******** ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 ssh-agent -k 08:31:57 unset SSH_AUTH_SOCK; 08:31:57 unset SSH_AGENT_PID; 08:31:57 echo Agent pid 77 killed; 08:31:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:57 + git semver [Pipeline] } 08:31:57 $ docker stop --time=1 ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 08:31:59 $ docker rm -f --volumes ac264ff8cd6b05b5a2f04cb4154cd13c591016fd70c53a04098733087e678439 [Pipeline] // withDockerContainer [Pipeline] sh 08:31:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:31:59 Stashed 1 file(s) [Pipeline] echo 08:31:59 [edgeXSemver]: initialized semver on version 4.0.0-dev.20 [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:31:59 provisioning config files... 08:31:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13406756639693246490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:32:00 ---> ****-login.sh 08:32:00 nexus3.edgexfoundry.org:10001 08:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:00 Configure a credential helper to remove this warning. See 08:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:00 08:32:00 Login Succeeded 08:32:00 nexus3.edgexfoundry.org:10002 08:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:00 Configure a credential helper to remove this warning. See 08:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:00 08:32:00 Login Succeeded 08:32:00 nexus3.edgexfoundry.org:10003 08:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:00 Configure a credential helper to remove this warning. See 08:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:00 08:32:00 Login Succeeded 08:32:00 nexus3.edgexfoundry.org:10004 08:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:00 Configure a credential helper to remove this warning. See 08:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:00 08:32:00 Login Succeeded 08:32:00 ****.io 08:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:32:00 Configure a credential helper to remove this warning. See 08:32:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:32:00 08:32:00 Login Succeeded 08:32:00 ---> ****-login.sh ends [Pipeline] } 08:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:32:00 ========================================================= 08:32:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:32:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:01 + 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:32:01 Sending build context to Docker daemon 18.21MB 08:32:01 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:32:01 Step 2/10 : FROM ${BASE} AS builder 08:32:01 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:32:01 da9db072f522: Pulling fs layer 08:32:01 6ef4a4ee8ca5: Pulling fs layer 08:32:01 06f05ace1117: Pulling fs layer 08:32:01 5fe327b54edc: Pulling fs layer 08:32:01 4f4fb700ef54: Pulling fs layer 08:32:01 92a5565b7b96: Pulling fs layer 08:32:01 ff9bb7016b71: Pulling fs layer 08:32:01 b67dba6c2c7d: Pulling fs layer 08:32:01 a813b0c90790: Pulling fs layer 08:32:01 5fe327b54edc: Waiting 08:32:01 4f4fb700ef54: Waiting 08:32:01 92a5565b7b96: Waiting 08:32:01 b67dba6c2c7d: Waiting 08:32:01 ff9bb7016b71: Waiting 08:32:01 a813b0c90790: Waiting 08:32:01 6ef4a4ee8ca5: Verifying Checksum 08:32:01 6ef4a4ee8ca5: Download complete 08:32:01 5fe327b54edc: Verifying Checksum 08:32:01 5fe327b54edc: Download complete 08:32:01 4f4fb700ef54: Verifying Checksum 08:32:01 4f4fb700ef54: Download complete 08:32:01 92a5565b7b96: Download complete 08:32:01 da9db072f522: Download complete 08:32:01 ff9bb7016b71: Verifying Checksum 08:32:01 ff9bb7016b71: Download complete 08:32:01 da9db072f522: Pull complete 08:32:01 a813b0c90790: Verifying Checksum 08:32:01 a813b0c90790: Download complete 08:32:01 6ef4a4ee8ca5: Pull complete 08:32:01 06f05ace1117: Verifying Checksum 08:32:01 06f05ace1117: Download complete 08:32:02 b67dba6c2c7d: Verifying Checksum 08:32:02 b67dba6c2c7d: Download complete 08:32:05 06f05ace1117: Pull complete 08:32:05 5fe327b54edc: Pull complete 08:32:05 4f4fb700ef54: Pull complete 08:32:05 92a5565b7b96: Pull complete 08:32:05 ff9bb7016b71: Pull complete 08:32:08 b67dba6c2c7d: Pull complete 08:32:08 a813b0c90790: Pull complete 08:32:08 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 08:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:32:08 ---> 3ba60ce46760 08:32:08 Step 3/10 : ARG ADD_BUILD_TAGS="" 08:32:10 ---> Running in 829a25954da6 08:32:10 Removing intermediate container 829a25954da6 08:32:10 ---> b9466360a041 08:32:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:32:10 ---> Running in 3f2e561528d5 08:32:10 Removing intermediate container 3f2e561528d5 08:32:10 ---> 73c282d970ec 08:32:10 Step 5/10 : RUN apk add --update --no-cache make git openssh 08:32:10 ---> Running in b9ed8df73f9c 08:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:32:11 (1/8) Installing openssh-keygen (9.7_p1-r5) 08:32:11 (2/8) Installing libedit (20240517.3.1-r0) 08:32:11 (3/8) Installing openssh-client-common (9.7_p1-r5) 08:32:11 (4/8) Installing openssh-client-default (9.7_p1-r5) 08:32:11 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 08:32:11 (6/8) Installing openssh-server-common (9.7_p1-r5) 08:32:11 (7/8) Installing openssh-server (9.7_p1-r5) 08:32:11 (8/8) Installing openssh (9.7_p1-r5) 08:32:11 Executing busybox-1.36.1-r29.trigger 08:32:11 OK: 253 MiB in 66 packages 08:32:11 Removing intermediate container b9ed8df73f9c 08:32:11 ---> 8e08873788ff 08:32:11 Step 6/10 : WORKDIR /device-modbus-go 08:32:11 ---> Running in ccc2e302964b 08:32:11 Removing intermediate container ccc2e302964b 08:32:11 ---> 600f9c0a46a3 08:32:11 Step 7/10 : COPY go.mod vendor* ./ 08:32:12 ---> 76139ec0430c 08:32:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:32:12 ---> Running in 5837f1c26926 08:32:14 Still waiting to schedule task 08:32:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 08:32:44 Removing intermediate container 5837f1c26926 08:32:44 ---> fedc093955a5 08:32:44 Step 9/10 : COPY . . 08:32:44 ---> 04a94c7df1d7 08:32:44 Step 10/10 : RUN ${MAKE} 08:32:44 ---> Running in ea24865d8e94 08:32:44 noop 08:32:44 Removing intermediate container ea24865d8e94 08:32:44 ---> 4f12ff8674c4 08:32:44 Successfully built 4f12ff8674c4 08:32:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:44 + docker inspect -f . ci-base-image-x86_64 08:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:44 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:32:44 $ 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:32:44 $ docker top 088188f9161a41356cb20480a46476c9833fa79893ef3052e7d8fcc43c06d5d2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:45 + go version 08:32:45 go version go1.23.4 linux/amd64 [Pipeline] } 08:32:45 $ docker stop --time=1 088188f9161a41356cb20480a46476c9833fa79893ef3052e7d8fcc43c06d5d2 08:32:46 $ docker rm -f --volumes 088188f9161a41356cb20480a46476c9833fa79893ef3052e7d8fcc43c06d5d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:47 + docker inspect -f . ci-base-image-x86_64 08:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:47 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:32:47 $ 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:32:47 $ docker top 3739b432c1ce6e093049482a902ace6eb05ca58c6cb87148dbb7204723e3ab5c -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 08:32:48 + make test 08:32:48 go test ./... -coverprofile=coverage.out 08:32:49 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:33:11 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 08:33:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 45.2% of statements 08:33:19 go vet ./... 08:33:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:33:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:33:26 ./bin/test-attribution-txt.sh [Pipeline] echo 08:33:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:33:26 $ docker stop --time=1 3739b432c1ce6e093049482a902ace6eb05ca58c6cb87148dbb7204723e3ab5c 08:33:28 $ docker rm -f --volumes 3739b432c1ce6e093049482a902ace6eb05ca58c6cb87148dbb7204723e3ab5c [Pipeline] // withDockerContainer [Pipeline] sh 08:33:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:33:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:29 + ls -al . 08:33:29 total 260 08:33:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 08:32 . 08:33:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 08:31 .. 08:33:29 -rw-rw-r-- 1 jenkins jenkins 140 Mar 5 08:31 .dockerignore 08:33:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 08:33 .git 08:33:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 08:31 .github 08:33:29 -rw-rw-r-- 1 jenkins jenkins 266 Mar 5 08:31 .gitignore 08:33:29 -rw-rw-r-- 1 jenkins jenkins 199 Mar 5 08:31 .golangci.yml 08:33:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 08:31 .semver 08:33:29 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 5 08:31 Attribution.txt 08:33:29 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 5 08:31 CHANGELOG.md 08:33:29 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 5 08:31 Dockerfile 08:33:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 08:31 GOVERNANCE.md 08:33:29 -rw-rw-r-- 1 jenkins jenkins 658 Mar 5 08:31 Jenkinsfile 08:33:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 08:31 LICENSE 08:33:29 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 5 08:31 Makefile 08:33:29 -rw-rw-r-- 1 jenkins jenkins 622 Mar 5 08:31 OWNERS.md 08:33:29 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 5 08:31 README.md 08:33:29 -rw-rw-r-- 1 jenkins jenkins 12 Mar 5 08:31 VERSION 08:33:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 08:31 bin 08:33:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 08:31 cmd 08:33:29 -rw-r--r-- 1 jenkins jenkins 26862 Mar 5 08:33 coverage.out 08:33:29 -rw-rw-r-- 1 jenkins jenkins 6343 Mar 5 08:31 go.mod 08:33:29 -rw-rw-r-- 1 jenkins jenkins 86970 Mar 5 08:31 go.sum 08:33:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 08:31 internal 08:33:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 08:31 simulator 08:33:29 -rw-rw-r-- 1 jenkins jenkins 229 Mar 5 08:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:30 + 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=1571cd281177acf178a7c7817f8e90373c2c7062 --label arch=amd64 --label version=4.0.0-dev.20 . 08:33:30 Sending build context to Docker daemon 18.24MB 08:33:30 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 08:33:30 Step 2/23 : FROM ${BASE} AS builder 08:33:30 ---> 4f12ff8674c4 08:33:30 Step 3/23 : ARG ADD_BUILD_TAGS="" 08:33:30 ---> Running in 9c116a08d44c 08:33:30 Removing intermediate container 9c116a08d44c 08:33:30 ---> ed97e4428b9f 08:33:30 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:33:30 ---> Running in bbca0e6555ac 08:33:30 Removing intermediate container bbca0e6555ac 08:33:30 ---> 1bc9b0ece5da 08:33:30 Step 5/23 : RUN apk add --update --no-cache make git openssh 08:33:30 ---> Running in c1b1fb0e2f5e 08:33:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:33:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:33:31 OK: 253 MiB in 66 packages 08:33:31 Removing intermediate container c1b1fb0e2f5e 08:33:31 ---> f19e71385537 08:33:31 Step 6/23 : WORKDIR /device-modbus-go 08:33:31 ---> Running in 635923b836a5 08:33:31 Removing intermediate container 635923b836a5 08:33:31 ---> 1d317125a207 08:33:31 Step 7/23 : COPY go.mod vendor* ./ 08:33:31 ---> bf5e5b4d6dd5 08:33:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:33:31 ---> Running in f95286fbc164 08:33:32 Removing intermediate container f95286fbc164 08:33:32 ---> 4b8355898f4c 08:33:32 Step 9/23 : COPY . . 08:33:32 ---> 31f70d562d6a 08:33:32 Step 10/23 : RUN ${MAKE} 08:33:32 ---> Running in 47082e9f3ca9 08:33:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 08:34:05 Removing intermediate container 47082e9f3ca9 08:34:05 ---> a1723183aa4c 08:34:05 Step 11/23 : FROM alpine:3.20 08:34:05 3.20: Pulling from library/alpine 08:34:05 0a9a5dfd008f: Pulling fs layer 08:34:05 0a9a5dfd008f: Verifying Checksum 08:34:05 0a9a5dfd008f: Download complete 08:34:05 0a9a5dfd008f: Pull complete 08:34:05 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:34:05 Status: Downloaded newer image for alpine:3.20 08:34:05 ---> ff221270b9fb 08:34:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 08:34:05 ---> Running in ba341313be1f 08:34:05 Removing intermediate container ba341313be1f 08:34:05 ---> 88645c3b97b9 08:34:05 Step 13/23 : RUN apk add --update --no-cache dumb-init 08:34:05 ---> Running in f84b61d8ff2d 08:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:34:05 (1/1) Installing dumb-init (1.2.5-r3) 08:34:05 Executing busybox-1.36.1-r29.trigger 08:34:05 OK: 8 MiB in 15 packages 08:34:05 Removing intermediate container f84b61d8ff2d 08:34:05 ---> ed4be1fd7492 08:34:05 Step 14/23 : RUN apk --no-cache upgrade 08:34:05 ---> Running in 1cadf770b9a8 08:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:34:05 OK: 8 MiB in 15 packages 08:34:05 Removing intermediate container 1cadf770b9a8 08:34:05 ---> 15c04c7eee9d 08:34:05 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 08:34:05 ---> 31694175b10e 08:34:05 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 08:34:05 ---> 3304626fd3d5 08:34:05 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:34:05 ---> d92af3a1d45a 08:34:05 Step 18/23 : EXPOSE 59901 08:34:05 ---> Running in 010d208e45a0 08:34:05 Removing intermediate container 010d208e45a0 08:34:05 ---> f7af956f361b 08:34:05 Step 19/23 : ENTRYPOINT ["/device-modbus"] 08:34:05 ---> Running in 0f79eca01e56 08:34:05 Removing intermediate container 0f79eca01e56 08:34:05 ---> 052ef3a651ad 08:34:05 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:34:05 ---> Running in 274e8ec58fa0 08:34:05 Removing intermediate container 274e8ec58fa0 08:34:05 ---> a7a1eb2750fc 08:34:05 Step 21/23 : LABEL arch=amd64 08:34:05 ---> Running in ebfc9baff0af 08:34:05 Removing intermediate container ebfc9baff0af 08:34:05 ---> 7729416c558d 08:34:05 Step 22/23 : LABEL git_sha=1571cd281177acf178a7c7817f8e90373c2c7062 08:34:05 ---> Running in 8782346a3cf7 08:34:05 Removing intermediate container 8782346a3cf7 08:34:05 ---> dac73bcab238 08:34:05 Step 23/23 : LABEL version=4.0.0-dev.20 08:34:05 ---> Running in 46306bebe15f 08:34:05 Removing intermediate container 46306bebe15f 08:34:05 ---> 6f12d2a80c13 08:34:05 [Warning] One or more build-args [ARCH] were not consumed 08:34:05 Successfully built 6f12d2a80c13 08:34:05 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:34:05 provisioning config files... 08:34:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14456084719320157618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:05 ---> ****-login.sh 08:34:05 nexus3.edgexfoundry.org:10001 08:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:05 Configure a credential helper to remove this warning. See 08:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:05 08:34:05 Login Succeeded 08:34:05 nexus3.edgexfoundry.org:10002 08:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:05 Configure a credential helper to remove this warning. See 08:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:05 08:34:05 Login Succeeded 08:34:05 nexus3.edgexfoundry.org:10003 08:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:05 Configure a credential helper to remove this warning. See 08:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:05 08:34:05 Login Succeeded 08:34:05 nexus3.edgexfoundry.org:10004 08:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:05 Configure a credential helper to remove this warning. See 08:34:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:05 08:34:05 Login Succeeded 08:34:05 ****.io 08:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:34:06 Configure a credential helper to remove this warning. See 08:34:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:34:06 08:34:06 Login Succeeded 08:34:06 ---> ****-login.sh ends [Pipeline] } 08:34:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:34:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:34:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 08:34:06 1571cd281177acf178a7c7817f8e90373c2c7062 08:34:06 latest 08:34:06 4.0.0-dev.20 08:34:06 1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 08:34:06 main 08:34:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1571cd281177acf178a7c7817f8e90373c2c7062 08:34:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:34:07 47d2ca989aa8: Preparing 08:34:07 be8b74436a35: Preparing 08:34:07 c3e8875e6385: Preparing 08:34:07 2d3dd70f7f57: Preparing 08:34:07 85e161042a3b: Preparing 08:34:07 994456c4fd7b: Preparing 08:34:07 994456c4fd7b: Waiting 08:34:07 47d2ca989aa8: Pushed 08:34:07 2d3dd70f7f57: Pushed 08:34:07 85e161042a3b: Pushed 08:34:07 be8b74436a35: Pushed 08:34:07 994456c4fd7b: Layer already exists 08:34:11 c3e8875e6385: Pushed 08:34:11 1571cd281177acf178a7c7817f8e90373c2c7062: digest: sha256:5fdafb0a48bea06c8a54ebe3161da9df38e7aecba6b57ee40f33141826cbe48a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 08:34:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:34:11 47d2ca989aa8: Preparing 08:34:11 be8b74436a35: Preparing 08:34:11 c3e8875e6385: Preparing 08:34:11 2d3dd70f7f57: Preparing 08:34:11 85e161042a3b: Preparing 08:34:11 994456c4fd7b: Preparing 08:34:11 994456c4fd7b: Waiting 08:34:11 85e161042a3b: Layer already exists 08:34:11 47d2ca989aa8: Layer already exists 08:34:11 be8b74436a35: Layer already exists 08:34:11 c3e8875e6385: Layer already exists 08:34:11 2d3dd70f7f57: Layer already exists 08:34:11 994456c4fd7b: Layer already exists 08:34:11 latest: digest: sha256:5fdafb0a48bea06c8a54ebe3161da9df38e7aecba6b57ee40f33141826cbe48a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.20 08:34:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:34:12 47d2ca989aa8: Preparing 08:34:12 be8b74436a35: Preparing 08:34:12 c3e8875e6385: Preparing 08:34:12 2d3dd70f7f57: Preparing 08:34:12 85e161042a3b: Preparing 08:34:12 994456c4fd7b: Preparing 08:34:12 994456c4fd7b: Waiting 08:34:12 47d2ca989aa8: Layer already exists 08:34:12 85e161042a3b: Layer already exists 08:34:12 be8b74436a35: Layer already exists 08:34:12 2d3dd70f7f57: Layer already exists 08:34:12 c3e8875e6385: Layer already exists 08:34:12 994456c4fd7b: Layer already exists 08:34:12 4.0.0-dev.20: digest: sha256:5fdafb0a48bea06c8a54ebe3161da9df38e7aecba6b57ee40f33141826cbe48a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 08:34:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:34:13 47d2ca989aa8: Preparing 08:34:13 be8b74436a35: Preparing 08:34:13 c3e8875e6385: Preparing 08:34:13 2d3dd70f7f57: Preparing 08:34:13 85e161042a3b: Preparing 08:34:13 994456c4fd7b: Preparing 08:34:13 994456c4fd7b: Waiting 08:34:13 be8b74436a35: Layer already exists 08:34:13 c3e8875e6385: Layer already exists 08:34:13 47d2ca989aa8: Layer already exists 08:34:13 2d3dd70f7f57: Layer already exists 08:34:13 85e161042a3b: Layer already exists 08:34:13 994456c4fd7b: Layer already exists 08:34:13 1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20: digest: sha256:5fdafb0a48bea06c8a54ebe3161da9df38e7aecba6b57ee40f33141826cbe48a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 08:34:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 08:34:13 47d2ca989aa8: Preparing 08:34:13 be8b74436a35: Preparing 08:34:13 c3e8875e6385: Preparing 08:34:13 2d3dd70f7f57: Preparing 08:34:13 85e161042a3b: Preparing 08:34:13 994456c4fd7b: Preparing 08:34:13 994456c4fd7b: Waiting 08:34:13 be8b74436a35: Layer already exists 08:34:13 85e161042a3b: Layer already exists 08:34:13 2d3dd70f7f57: Layer already exists 08:34:13 47d2ca989aa8: Layer already exists 08:34:13 c3e8875e6385: Layer already exists 08:34:13 994456c4fd7b: Layer already exists 08:34:13 main: digest: sha256:5fdafb0a48bea06c8a54ebe3161da9df38e7aecba6b57ee40f33141826cbe48a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:34:13 ===================================================== [Pipeline] echo 08:34:13 taggedImages: 08:34:13 - nexus3.edgexfoundry.org:10004/device-modbus:1571cd281177acf178a7c7817f8e90373c2c7062 08:34:13 - nexus3.edgexfoundry.org:10004/device-modbus:latest 08:34:13 - nexus3.edgexfoundry.org:10004/device-modbus:4.0.0-dev.20 08:34:13 - nexus3.edgexfoundry.org:10004/device-modbus:1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 08:34:13 - 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:34:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:14 08:34:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:14 latest: Pulling from edgex-lftools-log-publisher 08:34:14 5eb5b503b376: Pulling fs layer 08:34:14 5c69ac0246d0: Pulling fs layer 08:34:14 ec43610c2a17: Pulling fs layer 08:34:14 3a2ae6a8a46f: Pulling fs layer 08:34:14 33b1e0a273af: Pulling fs layer 08:34:14 5d3b04190fa2: Pulling fs layer 08:34:14 2f39f015ded8: Pulling fs layer 08:34:14 3a2ae6a8a46f: Waiting 08:34:14 33b1e0a273af: Waiting 08:34:14 5c69ac0246d0: Download complete 08:34:14 3a2ae6a8a46f: Download complete 08:34:14 33b1e0a273af: Verifying Checksum 08:34:14 33b1e0a273af: Download complete 08:34:14 ec43610c2a17: Verifying Checksum 08:34:14 ec43610c2a17: Download complete 08:34:14 5d3b04190fa2: Verifying Checksum 08:34:14 5d3b04190fa2: Download complete 08:34:14 5eb5b503b376: Download complete 08:34:16 5eb5b503b376: Pull complete 08:34:16 5c69ac0246d0: Pull complete 08:34:16 ec43610c2a17: Pull complete 08:34:16 3a2ae6a8a46f: Pull complete 08:34:16 33b1e0a273af: Pull complete 08:34:17 5d3b04190fa2: Pull complete 08:34:21 2f39f015ded8: Pull complete 08:34:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:34:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:34:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:34:21 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:34:21 $ 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:34:22 $ docker top 7c5ebe408397e43a03591ff8182f87944f62d4feba479104dbad3d0c2c2cad27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:23 ---> job-cost.sh 08:34:23 lf-activate-venv: SKIPPING 08:34:23 INFO: No Stack... 08:34:23 INFO: Retrieving Pricing Info for: v3-standard-8 08:34:24 INFO: Archiving Costs [Pipeline] sh 08:34:24 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 08:34:24 + cut -d, -f6 [Pipeline] lock 08:34:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] 08:34:24 Resource [jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] did not exist. Created. 08:34:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:34:24 + echo total: 0.2199999988079071 [Pipeline] stash 08:34:24 Stashed 1 file(s) [Pipeline] } 08:34:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] [Pipeline] // lock [Pipeline] } 08:34:24 $ docker stop --time=1 7c5ebe408397e43a03591ff8182f87944f62d4feba479104dbad3d0c2c2cad27 08:34:26 $ docker rm -f --volumes 7c5ebe408397e43a03591ff8182f87944f62d4feba479104dbad3d0c2c2cad27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:35:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40278 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 08:35:41 Running in /w/workspace/device-modbus-go/185 [Pipeline] { [Pipeline] checkout 08:35:45 The recommended git tool is: git 08:35:49 using credential edgex-jenkins-ssh 08:35:49 Cloning the remote Git repository 08:35:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:35:49 > git init /w/workspace/device-modbus-go/185 # timeout=10 08:35:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:35:49 > git --version # timeout=10 08:35:49 > git --version # 'git version 2.25.1' 08:35:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:35:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:52 Avoid second fetch 08:35:52 Checking out Revision 1571cd281177acf178a7c7817f8e90373c2c7062 (main) 08:35:53 Commit message: "Merge pull request #620 from jumpingliu/4.0-modbus-changelog" 08:35:52 > git config core.sparsecheckout # timeout=10 08:35:52 > git checkout -f 1571cd281177acf178a7c7817f8e90373c2c7062 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:35:58 % Total % Received % Xferd Average Speed Time Time Time Current 08:35:58 Dload Upload Total Spent Left Speed 08:35:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 08:35:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:35:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:35:58 + sudo tee /etc/docker/daemon.new 08:35:58 { 08:35:58 "registry-mirrors": [ 08:35:58 "https://nexus3.edgexfoundry.org:10001" 08:35:58 ], 08:35:58 "bip": "10.250.0.254/24", 08:35:58 "hosts": [ 08:35:58 "tcp://0.0.0.0:5555", 08:35:58 "unix:///var/run/docker.sock" 08:35:58 ], 08:35:58 "mtu": 1458, 08:35:58 "selinux-enabled": true, 08:35:58 "seccomp-profile": "/etc/docker/seccomp.json" 08:35:58 } [Pipeline] sh 08:35:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:35:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:17 provisioning config files... 08:36:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/185@tmp/config6433531940839040306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:18 ---> ****-login.sh 08:36:18 nexus3.edgexfoundry.org:10001 08:36:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:18 Configure a credential helper to remove this warning. See 08:36:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:18 08:36:18 Login Succeeded 08:36:18 nexus3.edgexfoundry.org:10002 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 nexus3.edgexfoundry.org:10003 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 nexus3.edgexfoundry.org:10004 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 ****.io 08:36:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:36:20 Configure a credential helper to remove this warning. See 08:36:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:36:20 08:36:20 Login Succeeded 08:36:20 ---> ****-login.sh ends [Pipeline] } 08:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:36:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:36:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:36:20 ========================================================= 08:36:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:36:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:21 + 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:36:21 Sending build context to Docker daemon 9.266MB 08:36:21 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:36:21 Step 2/10 : FROM ${BASE} AS builder 08:36:21 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:36:21 9986a736f7d3: Pulling fs layer 08:36:21 1f018df60701: Pulling fs layer 08:36:21 39f8f326b044: Pulling fs layer 08:36:21 e6a1e7a6a96a: Pulling fs layer 08:36:21 4f4fb700ef54: Pulling fs layer 08:36:21 d45d956e0dbf: Pulling fs layer 08:36:21 d7702b0d1db1: Pulling fs layer 08:36:21 5c7f0f088c93: Pulling fs layer 08:36:21 4fdc064ae6cf: Pulling fs layer 08:36:21 e6a1e7a6a96a: Waiting 08:36:21 4f4fb700ef54: Waiting 08:36:21 d45d956e0dbf: Waiting 08:36:21 d7702b0d1db1: Waiting 08:36:21 5c7f0f088c93: Waiting 08:36:21 4fdc064ae6cf: Waiting 08:36:21 1f018df60701: Download complete 08:36:21 e6a1e7a6a96a: Verifying Checksum 08:36:21 e6a1e7a6a96a: Download complete 08:36:22 4f4fb700ef54: Verifying Checksum 08:36:22 4f4fb700ef54: Download complete 08:36:22 d45d956e0dbf: Verifying Checksum 08:36:22 d45d956e0dbf: Download complete 08:36:22 d7702b0d1db1: Verifying Checksum 08:36:22 d7702b0d1db1: Download complete 08:36:22 9986a736f7d3: Verifying Checksum 08:36:22 9986a736f7d3: Download complete 08:36:22 4fdc064ae6cf: Verifying Checksum 08:36:22 4fdc064ae6cf: Download complete 08:36:22 9986a736f7d3: Pull complete 08:36:23 1f018df60701: Pull complete 08:36:23 39f8f326b044: Verifying Checksum 08:36:23 39f8f326b044: Download complete 08:36:24 5c7f0f088c93: Verifying Checksum 08:36:24 5c7f0f088c93: Download complete 08:36:39 39f8f326b044: Pull complete 08:36:39 e6a1e7a6a96a: Pull complete 08:36:39 4f4fb700ef54: Pull complete 08:36:39 d45d956e0dbf: Pull complete 08:36:39 d7702b0d1db1: Pull complete 08:36:47 5c7f0f088c93: Pull complete 08:36:49 4fdc064ae6cf: Pull complete 08:36:49 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 08:36:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 08:36:49 ---> 63f30b955cb9 08:36:49 Step 3/10 : ARG ADD_BUILD_TAGS="" 08:36:50 ---> Running in da0f81da0a0e 08:36:50 Removing intermediate container da0f81da0a0e 08:36:50 ---> 71f2a52d1c72 08:36:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:36:50 ---> Running in dd8c7dab7f6d 08:36:50 Removing intermediate container dd8c7dab7f6d 08:36:50 ---> 906e9ed01f86 08:36:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 08:36:50 ---> Running in f433ff369834 08:36:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:36:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:36:53 (1/8) Installing openssh-keygen (9.7_p1-r5) 08:36:53 (2/8) Installing libedit (20240517.3.1-r0) 08:36:53 (3/8) Installing openssh-client-common (9.7_p1-r5) 08:36:53 (4/8) Installing openssh-client-default (9.7_p1-r5) 08:36:53 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 08:36:53 (6/8) Installing openssh-server-common (9.7_p1-r5) 08:36:53 (7/8) Installing openssh-server (9.7_p1-r5) 08:36:54 (8/8) Installing openssh (9.7_p1-r5) 08:36:54 Executing busybox-1.36.1-r29.trigger 08:36:54 OK: 245 MiB in 66 packages 08:36:55 Removing intermediate container f433ff369834 08:36:55 ---> d0f1e5539ef3 08:36:55 Step 6/10 : WORKDIR /device-modbus-go 08:36:55 ---> Running in dd5a82e59489 08:36:55 Removing intermediate container dd5a82e59489 08:36:55 ---> 8951656eaf37 08:36:55 Step 7/10 : COPY go.mod vendor* ./ 08:36:56 ---> 9c6594552729 08:36:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:56 ---> Running in 0c625d8d2749 08:38:48 Removing intermediate container 0c625d8d2749 08:38:48 ---> faab4a75bc36 08:38:48 Step 9/10 : COPY . . 08:38:48 ---> 849a2728512c 08:38:48 Step 10/10 : RUN ${MAKE} 08:38:48 ---> Running in 51754f4a0fbc 08:38:48 noop 08:38:48 Removing intermediate container 51754f4a0fbc 08:38:48 ---> c6c5513a0628 08:38:48 Successfully built c6c5513a0628 08:38:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:48 + docker inspect -f . ci-base-image-arm64 08:38:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:49 prd-ubuntu20.04-docker-arm64-4c-16g-40278 does not seem to be running inside a container 08:38:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/185 -v /w/workspace/device-modbus-go/185:/w/workspace/device-modbus-go/185:rw,z -v /w/workspace/device-modbus-go/185@tmp:/w/workspace/device-modbus-go/185@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:38:50 $ docker top d50b07aba88cde2073e8c7c17a7480696558f514c8eec2dd28128e453a8777b2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:51 + go version 08:38:51 go version go1.23.4 linux/arm64 [Pipeline] } 08:38:51 $ docker stop --time=1 d50b07aba88cde2073e8c7c17a7480696558f514c8eec2dd28128e453a8777b2 08:38:53 $ docker rm -f --volumes d50b07aba88cde2073e8c7c17a7480696558f514c8eec2dd28128e453a8777b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:53 + docker inspect -f . ci-base-image-arm64 08:38:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:53 prd-ubuntu20.04-docker-arm64-4c-16g-40278 does not seem to be running inside a container 08:38:53 $ 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/185 -v /w/workspace/device-modbus-go/185:/w/workspace/device-modbus-go/185:rw,z -v /w/workspace/device-modbus-go/185@tmp:/w/workspace/device-modbus-go/185@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:38:55 $ docker top 0a585733b694866fc7231e30ecb08862a6ed8dba44f71e66546f65aee27a78b4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:56 + git config --global --add safe.directory /w/workspace/device-modbus-go/185 [Pipeline] fileExists [Pipeline] sh 08:38:56 + make test 08:38:56 go test ./... -coverprofile=coverage.out 08:39:02 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:42:23 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 08:42:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 45.2% of statements 08:42:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:42:23 go vet ./... 08:43:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:43:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:43:02 ./bin/test-attribution-txt.sh [Pipeline] echo 08:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:43:03 $ docker stop --time=1 0a585733b694866fc7231e30ecb08862a6ed8dba44f71e66546f65aee27a78b4 08:43:05 $ docker rm -f --volumes 0a585733b694866fc7231e30ecb08862a6ed8dba44f71e66546f65aee27a78b4 [Pipeline] // withDockerContainer [Pipeline] sh 08:43:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:43:07 Warning: overwriting stash ‘coverage-report’ 08:43:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:43:08 + ls -al . 08:43:08 total 256 08:43:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 08:39 . 08:43:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 08:35 .. 08:43:08 -rw-rw-r-- 1 jenkins jenkins 140 Mar 5 08:35 .dockerignore 08:43:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 08:35 .git 08:43:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 08:35 .github 08:43:08 -rw-rw-r-- 1 jenkins jenkins 266 Mar 5 08:35 .gitignore 08:43:08 -rw-rw-r-- 1 jenkins jenkins 199 Mar 5 08:35 .golangci.yml 08:43:08 -rw-rw-r-- 1 jenkins jenkins 19818 Mar 5 08:35 Attribution.txt 08:43:08 -rw-rw-r-- 1 jenkins jenkins 18046 Mar 5 08:35 CHANGELOG.md 08:43:08 -rw-rw-r-- 1 jenkins jenkins 1479 Mar 5 08:35 Dockerfile 08:43:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 08:35 GOVERNANCE.md 08:43:08 -rw-rw-r-- 1 jenkins jenkins 658 Mar 5 08:35 Jenkinsfile 08:43:08 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 08:35 LICENSE 08:43:08 -rw-rw-r-- 1 jenkins jenkins 2524 Mar 5 08:35 Makefile 08:43:08 -rw-rw-r-- 1 jenkins jenkins 622 Mar 5 08:35 OWNERS.md 08:43:08 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 5 08:35 README.md 08:43:08 -rw-rw-r-- 1 jenkins jenkins 12 Mar 5 08:31 VERSION 08:43:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 08:35 bin 08:43:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 08:35 cmd 08:43:08 -rw-r--r-- 1 jenkins jenkins 26862 Mar 5 08:42 coverage.out 08:43:08 -rw-rw-r-- 1 jenkins jenkins 6343 Mar 5 08:35 go.mod 08:43:08 -rw-rw-r-- 1 jenkins jenkins 86970 Mar 5 08:35 go.sum 08:43:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 08:35 internal 08:43:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 08:35 simulator 08:43:08 -rw-rw-r-- 1 jenkins jenkins 229 Mar 5 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:08 + 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=1571cd281177acf178a7c7817f8e90373c2c7062 --label arch=arm64 --label version=4.0.0-dev.20 . 08:43:09 Sending build context to Docker daemon 9.294MB 08:43:09 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 08:43:09 Step 2/23 : FROM ${BASE} AS builder 08:43:09 ---> c6c5513a0628 08:43:09 Step 3/23 : ARG ADD_BUILD_TAGS="" 08:43:09 ---> Running in 65fd0087c9e9 08:43:09 Removing intermediate container 65fd0087c9e9 08:43:09 ---> 7e65ef79f692 08:43:09 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:43:09 ---> Running in 18aa8ee89de4 08:43:10 Removing intermediate container 18aa8ee89de4 08:43:10 ---> b7c982398778 08:43:10 Step 5/23 : RUN apk add --update --no-cache make git openssh 08:43:10 ---> Running in b40e7ecdd679 08:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:43:12 OK: 245 MiB in 66 packages 08:43:13 Removing intermediate container b40e7ecdd679 08:43:13 ---> b1c7035f14ce 08:43:13 Step 6/23 : WORKDIR /device-modbus-go 08:43:13 ---> Running in 1f183429aeaf 08:43:14 Removing intermediate container 1f183429aeaf 08:43:14 ---> d1ad72ac5a10 08:43:14 Step 7/23 : COPY go.mod vendor* ./ 08:43:14 ---> 28c16492d4b7 08:43:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:43:14 ---> Running in 01800dc849d1 08:43:16 Removing intermediate container 01800dc849d1 08:43:16 ---> 28ae0abc905c 08:43:16 Step 9/23 : COPY . . 08:43:18 ---> 086e4cb7801a 08:43:18 Step 10/23 : RUN ${MAKE} 08:43:18 ---> Running in 5cee5816d66d 08:43:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.0.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 08:46:25 Removing intermediate container 5cee5816d66d 08:46:25 ---> 9f715a7900f4 08:46:25 Step 11/23 : FROM alpine:3.20 08:46:25 3.20: Pulling from library/alpine 08:46:25 94e9d8af2201: Pulling fs layer 08:46:26 94e9d8af2201: Verifying Checksum 08:46:26 94e9d8af2201: Download complete 08:46:26 94e9d8af2201: Pull complete 08:46:26 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:46:26 Status: Downloaded newer image for alpine:3.20 08:46:26 ---> 7aab056cecc6 08:46:26 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 08:46:26 ---> Running in ed0837780a65 08:46:26 Removing intermediate container ed0837780a65 08:46:26 ---> 2c105ae0e839 08:46:26 Step 13/23 : RUN apk add --update --no-cache dumb-init 08:46:27 ---> Running in 604cb6a3a987 08:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:46:29 (1/1) Installing dumb-init (1.2.5-r3) 08:46:29 Executing busybox-1.36.1-r29.trigger 08:46:29 OK: 9 MiB in 15 packages 08:46:30 Removing intermediate container 604cb6a3a987 08:46:30 ---> 47e87e28d4b1 08:46:30 Step 14/23 : RUN apk --no-cache upgrade 08:46:30 ---> Running in 724568df5cb6 08:46:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:46:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:46:33 OK: 9 MiB in 15 packages 08:46:33 Removing intermediate container 724568df5cb6 08:46:33 ---> bafbf8a6ec23 08:46:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 08:46:35 ---> febb1f7dde31 08:46:35 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 08:46:36 ---> 29e072a461f5 08:46:36 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:46:36 ---> 13be2ca46b53 08:46:36 Step 18/23 : EXPOSE 59901 08:46:36 ---> Running in 1cc6afe30cd3 08:46:37 Removing intermediate container 1cc6afe30cd3 08:46:37 ---> b5a418696b65 08:46:37 Step 19/23 : ENTRYPOINT ["/device-modbus"] 08:46:37 ---> Running in f70de89a8e7c 08:46:37 Removing intermediate container f70de89a8e7c 08:46:37 ---> 29ee82e8f5c3 08:46:37 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:46:37 ---> Running in 084e4ef73fbc 08:46:37 Removing intermediate container 084e4ef73fbc 08:46:37 ---> c64d69a6fba6 08:46:37 Step 21/23 : LABEL arch=arm64 08:46:37 ---> Running in 8342ccf4d98a 08:46:38 Removing intermediate container 8342ccf4d98a 08:46:38 ---> 1eaab7e8a7e8 08:46:38 Step 22/23 : LABEL git_sha=1571cd281177acf178a7c7817f8e90373c2c7062 08:46:38 ---> Running in 94fdc970f814 08:46:38 Removing intermediate container 94fdc970f814 08:46:38 ---> 86a7330fd15c 08:46:38 Step 23/23 : LABEL version=4.0.0-dev.20 08:46:38 ---> Running in 3e08ff8224ea 08:46:38 Removing intermediate container 3e08ff8224ea 08:46:38 ---> 44890d36753e 08:46:38 [Warning] One or more build-args [ARCH] were not consumed 08:46:38 Successfully built 44890d36753e 08:46:38 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:39 provisioning config files... 08:46:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/185@tmp/config13987768964629688186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:39 ---> ****-login.sh 08:46:39 nexus3.edgexfoundry.org:10001 08:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:39 Configure a credential helper to remove this warning. See 08:46:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:39 08:46:39 Login Succeeded 08:46:39 nexus3.edgexfoundry.org:10002 08:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:39 Configure a credential helper to remove this warning. See 08:46:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:39 08:46:39 Login Succeeded 08:46:39 nexus3.edgexfoundry.org:10003 08:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:40 Configure a credential helper to remove this warning. See 08:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:40 08:46:40 Login Succeeded 08:46:40 nexus3.edgexfoundry.org:10004 08:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:40 Configure a credential helper to remove this warning. See 08:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:40 08:46:40 Login Succeeded 08:46:40 ****.io 08:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:46:40 Configure a credential helper to remove this warning. See 08:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:46:40 08:46:40 Login Succeeded 08:46:41 ---> ****-login.sh ends [Pipeline] } 08:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:46:41 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 08:46:41 1571cd281177acf178a7c7817f8e90373c2c7062 08:46:41 latest 08:46:41 4.0.0-dev.20 08:46:41 1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 08:46:41 main 08:46:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:42 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1571cd281177acf178a7c7817f8e90373c2c7062 08:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:46:42 3a71ad4e2581: Preparing 08:46:42 b6ee1e363a58: Preparing 08:46:42 2d21fd8fa9b3: Preparing 08:46:42 07e48aff44a6: Preparing 08:46:42 a4c4da1a8c7e: Preparing 08:46:42 dd9c8f8612c8: Preparing 08:46:42 07e48aff44a6: Pushed 08:46:42 3a71ad4e2581: Pushed 08:46:42 b6ee1e363a58: Pushed 08:46:42 a4c4da1a8c7e: Pushed 08:46:42 dd9c8f8612c8: Layer already exists 08:46:49 2d21fd8fa9b3: Pushed 08:46:49 1571cd281177acf178a7c7817f8e90373c2c7062: digest: sha256:e8a7bee698089678c0523b530e08446db30ee50e72c7b6ed3ad7605dc0ce1d13 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:49 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:46:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:46:49 3a71ad4e2581: Preparing 08:46:49 b6ee1e363a58: Preparing 08:46:49 2d21fd8fa9b3: Preparing 08:46:49 07e48aff44a6: Preparing 08:46:49 a4c4da1a8c7e: Preparing 08:46:49 dd9c8f8612c8: Preparing 08:46:49 dd9c8f8612c8: Waiting 08:46:49 a4c4da1a8c7e: Layer already exists 08:46:49 2d21fd8fa9b3: Layer already exists 08:46:49 3a71ad4e2581: Layer already exists 08:46:49 07e48aff44a6: Layer already exists 08:46:49 b6ee1e363a58: Layer already exists 08:46:49 dd9c8f8612c8: Layer already exists 08:46:49 latest: digest: sha256:e8a7bee698089678c0523b530e08446db30ee50e72c7b6ed3ad7605dc0ce1d13 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:50 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.20 08:46:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:46:50 3a71ad4e2581: Preparing 08:46:50 b6ee1e363a58: Preparing 08:46:50 2d21fd8fa9b3: Preparing 08:46:50 07e48aff44a6: Preparing 08:46:50 a4c4da1a8c7e: Preparing 08:46:50 dd9c8f8612c8: Preparing 08:46:50 dd9c8f8612c8: Waiting 08:46:50 a4c4da1a8c7e: Layer already exists 08:46:50 3a71ad4e2581: Layer already exists 08:46:50 2d21fd8fa9b3: Layer already exists 08:46:50 b6ee1e363a58: Layer already exists 08:46:50 07e48aff44a6: Layer already exists 08:46:50 dd9c8f8612c8: Layer already exists 08:46:50 4.0.0-dev.20: digest: sha256:e8a7bee698089678c0523b530e08446db30ee50e72c7b6ed3ad7605dc0ce1d13 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:50 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 08:46:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:46:51 3a71ad4e2581: Preparing 08:46:51 b6ee1e363a58: Preparing 08:46:51 2d21fd8fa9b3: Preparing 08:46:51 07e48aff44a6: Preparing 08:46:51 a4c4da1a8c7e: Preparing 08:46:51 dd9c8f8612c8: Preparing 08:46:51 dd9c8f8612c8: Waiting 08:46:51 b6ee1e363a58: Layer already exists 08:46:51 2d21fd8fa9b3: Layer already exists 08:46:51 07e48aff44a6: Layer already exists 08:46:51 3a71ad4e2581: Layer already exists 08:46:51 a4c4da1a8c7e: Layer already exists 08:46:51 dd9c8f8612c8: Layer already exists 08:46:51 1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20: digest: sha256:e8a7bee698089678c0523b530e08446db30ee50e72c7b6ed3ad7605dc0ce1d13 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:51 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:51 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 08:46:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 08:46:51 3a71ad4e2581: Preparing 08:46:51 b6ee1e363a58: Preparing 08:46:51 2d21fd8fa9b3: Preparing 08:46:51 07e48aff44a6: Preparing 08:46:51 a4c4da1a8c7e: Preparing 08:46:51 dd9c8f8612c8: Preparing 08:46:51 dd9c8f8612c8: Waiting 08:46:51 07e48aff44a6: Layer already exists 08:46:51 b6ee1e363a58: Layer already exists 08:46:51 2d21fd8fa9b3: Layer already exists 08:46:51 a4c4da1a8c7e: Layer already exists 08:46:51 3a71ad4e2581: Layer already exists 08:46:51 dd9c8f8612c8: Layer already exists 08:46:51 main: digest: sha256:e8a7bee698089678c0523b530e08446db30ee50e72c7b6ed3ad7605dc0ce1d13 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:46:52 ===================================================== [Pipeline] echo 08:46:52 taggedImages: 08:46:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1571cd281177acf178a7c7817f8e90373c2c7062 08:46:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 08:46:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.0.0-dev.20 08:46:52 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1571cd281177acf178a7c7817f8e90373c2c7062-4.0.0-dev.20 08:46:52 - 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:46:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:46:52 08:46:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:46:52 arm64: Pulling from edgex-lftools-log-publisher 08:46:52 8998bd30e6a1: Pulling fs layer 08:46:52 04944245beec: Pulling fs layer 08:46:52 699f458cf7ca: Pulling fs layer 08:46:52 765212b225bb: Pulling fs layer 08:46:52 f23df028b6ca: Pulling fs layer 08:46:52 d65c8cfc05b1: Pulling fs layer 08:46:52 2437ff75d9bd: Pulling fs layer 08:46:52 f23df028b6ca: Waiting 08:46:52 d65c8cfc05b1: Waiting 08:46:52 765212b225bb: Waiting 08:46:52 2437ff75d9bd: Waiting 08:46:53 04944245beec: Verifying Checksum 08:46:53 04944245beec: Download complete 08:46:53 765212b225bb: Verifying Checksum 08:46:53 765212b225bb: Download complete 08:46:53 f23df028b6ca: Download complete 08:46:53 d65c8cfc05b1: Verifying Checksum 08:46:53 d65c8cfc05b1: Download complete 08:46:53 699f458cf7ca: Verifying Checksum 08:46:53 699f458cf7ca: Download complete 08:46:53 8998bd30e6a1: Download complete 08:46:56 2437ff75d9bd: Download complete 08:46:58 8998bd30e6a1: Pull complete 08:46:58 04944245beec: Pull complete 08:47:00 699f458cf7ca: Pull complete 08:47:00 765212b225bb: Pull complete 08:47:01 f23df028b6ca: Pull complete 08:47:01 d65c8cfc05b1: Pull complete 08:47:19 2437ff75d9bd: Pull complete 08:47:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:47:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:47:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:19 prd-ubuntu20.04-docker-arm64-4c-16g-40278 does not seem to be running inside a container 08:47:19 $ 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/185 -v /w/workspace/device-modbus-go/185:/w/workspace/device-modbus-go/185:rw,z -v /w/workspace/device-modbus-go/185@tmp:/w/workspace/device-modbus-go/185@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:47:22 $ docker top c1bd69588a28e57641c046f27bed1fc819cd7fd3428b0f99ba3bb61387f0fbd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:22 ---> job-cost.sh 08:47:22 lf-activate-venv: SKIPPING 08:47:22 INFO: No Stack... 08:47:23 INFO: Retrieving Pricing Info for: v3-standard-4 08:47:24 INFO: Archiving Costs [Pipeline] sh 08:47:24 + cat /w/workspace/device-modbus-go/185/archives/cost.csv 08:47:24 + cut -d, -f6 [Pipeline] lock 08:47:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] 08:47:24 Resource [jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] did not exist. Created. 08:47:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:47:25 /w/workspace/device-modbus-go/185@tmp/durable-45854277/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:47:26 + echo total: 0.10999999940395355 [Pipeline] stash 08:47:26 Warning: overwriting stash ‘stack-cost’ 08:47:26 Stashed 1 file(s) [Pipeline] } 08:47:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-185-stack-cost] [Pipeline] // lock [Pipeline] } 08:47:26 $ docker stop --time=1 c1bd69588a28e57641c046f27bed1fc819cd7fd3428b0f99ba3bb61387f0fbd6 08:47:27 $ docker rm -f --volumes c1bd69588a28e57641c046f27bed1fc819cd7fd3428b0f99ba3bb61387f0fbd6 [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:47:28 provisioning config files... 08:47:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4619185014408942582tmp [Pipeline] { [Pipeline] sh 08:47:28 + set +x 08:47:28 + curl -s https://codecov.io/bash 08:47:28 + bash -s -- 08:47:28 08:47:28 _____ _ 08:47:28 / ____| | | 08:47:28 | | ___ __| | ___ ___ _____ __ 08:47:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:47:28 | |___| (_) | (_| | __/ (_| (_) \ V / 08:47:28 \_____\___/ \__,_|\___|\___\___/ \_/ 08:47:28 Bash-1.0.6 08:47:28 08:47:28 08:47:28 ==> git version 2.25.1 found 08:47:28 ==> 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:47:28 Release-Date: 2020-01-08 08:47:28 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:47:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:47:28 ==> Jenkins CI detected. 08:47:28 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 08:47:28 project root: . 08:47:28 --> token set from env 08:47:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:47:28 ==> Running gcov in . (disable via -X gcov) 08:47:28 ==> Python coveragepy not found 08:47:28 ==> Searching for coverage reports in: 08:47:28 + . 08:47:28 -> Found 1 reports 08:47:28 ==> Detecting git/mercurial file structure 08:47:28 ==> Reading reports 08:47:28 + ./coverage.out bytes=26862 08:47:28 ==> Appending adjustments 08:47:28 https://docs.codecov.io/docs/fixing-reports 08:47:28 + Found adjustments 08:47:28 ==> Gzipping contents 08:47:28 8.0K /tmp/codecov.PJQUwX.gz 08:47:28 ==> Uploading reports 08:47:28 url: https://codecov.io 08:47:28 query: branch=main&commit=1571cd281177acf178a7c7817f8e90373c2c7062&build=185&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F185%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:47:28 -> Pinging Codecov 08:47:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=1571cd281177acf178a7c7817f8e90373c2c7062&build=185&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F185%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:47:29 -> Uploading to 08:47:29 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-modbus-go/1571cd281177acf178a7c7817f8e90373c2c7062/3e121961-ab4b-4396-9f05-33e38bae1ee6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T084728Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=d76186d051b32734479c52d26a33084c1b2c3e59666084bd03976464541a8262 08:47:29 % Total % Received % Xferd Average Speed Time Time Time Current 08:47:29 Dload Upload Total Spent Left Speed 08:47:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4133 0 0 100 4133 0 13685 --:--:-- --:--:-- --:--:-- 13685 08:47:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] } 08:47:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:47:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:47:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:47:29 08:47:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:47:30 latest: Pulling from edgex-devops/edgex-snyk-go 08:47:30 43c4264eed91: Pulling fs layer 08:47:30 4cc291be95ef: Pulling fs layer 08:47:30 2ac1f1163629: Pulling fs layer 08:47:30 5c3c966382ef: Pulling fs layer 08:47:30 4f4fb700ef54: Pulling fs layer 08:47:30 5c3c966382ef: Waiting 08:47:30 d9c7d2e4e75e: Pulling fs layer 08:47:30 4f4fb700ef54: Waiting 08:47:30 9c3e1370e548: Pulling fs layer 08:47:30 9c3e1370e548: Waiting 08:47:30 4cc291be95ef: Download complete 08:47:30 5c3c966382ef: Verifying Checksum 08:47:30 5c3c966382ef: Download complete 08:47:30 4f4fb700ef54: Verifying Checksum 08:47:30 4f4fb700ef54: Download complete 08:47:30 43c4264eed91: Download complete 08:47:30 43c4264eed91: Pull complete 08:47:30 d9c7d2e4e75e: Verifying Checksum 08:47:30 d9c7d2e4e75e: Download complete 08:47:30 4cc291be95ef: Pull complete 08:47:30 2ac1f1163629: Download complete 08:47:31 9c3e1370e548: Verifying Checksum 08:47:31 9c3e1370e548: Download complete 08:47:33 2ac1f1163629: Pull complete 08:47:33 5c3c966382ef: Pull complete 08:47:33 4f4fb700ef54: Pull complete 08:47:34 d9c7d2e4e75e: Pull complete 08:47:36 9c3e1370e548: Pull complete 08:47:36 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:47:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:47:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:36 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:47:36 $ 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:47:39 $ docker top ac157cae85a6b6282f35e2ec417804adeb3aea23de93b48a212e39dc2b442d5c -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] echo 08:47:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 08:47:39 + set -o pipefail 08:47:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 08:47:46 08:47:46 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 08:47:46 08:47:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0a0805b9-8982-40eb-8dbc-845f1ef902a3/history/6dc67931-52aa-4ad1-bc89-13749f3077b5 08:47:46 08:47:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:47:46 08:47:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:47:46 08:47:46 08:47:46 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 08:47:46 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:47:46 $ docker stop --time=1 ac157cae85a6b6282f35e2ec417804adeb3aea23de93b48a212e39dc2b442d5c 08:47:48 $ docker rm -f --volumes ac157cae85a6b6282f35e2ec417804adeb3aea23de93b48a212e39dc2b442d5c [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:47:49 + git log --format=format:%s -1 1571cd281177acf178a7c7817f8e90373c2c7062 [Pipeline] sh 08:47:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:47:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:47:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:47:50 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:47:50 $ 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:47:50 $ docker top 48fe7438eb8ab3675c5453ee38fe2ef41700eaa8304aca5c3bb79c1ac5f4967b -eo pid,comm 08:47:50 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:47:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:47:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:47:50 [ssh-agent] Looking for ssh-agent implementation... 08:47:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:47:50 $ docker exec 48fe7438eb8ab3675c5453ee38fe2ef41700eaa8304aca5c3bb79c1ac5f4967b ssh-agent 08:47:51 SSH_AUTH_SOCK=/tmp/ssh-Jwqghzy1J0pG/agent.32 08:47:51 SSH_AGENT_PID=38 08:47:51 Running ssh-add (command line suppressed) 08:47:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7708692087990497610.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7708692087990497610.key) 08:47:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:47:51 + git semver tag 08:47:51 2025-03-05 08:47:51,636 [run_tag] DEBUG tag force:False 08:47:51 2025-03-05 08:47:51,636 [check_head_tag] DEBUG check head tag 08:47:51 2025-03-05 08:47:51,637 [execute] INFO git cat-file --batch-check 08:47:51 2025-03-05 08:47:51,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:47:51 2025-03-05 08:47:51,641 [execute] INFO git cat-file --batch 08:47:51 2025-03-05 08:47:51,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 08:47:51 2025-03-05 08:47:51,667 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:47:51 2025-03-05 08:47:51,667 [execute] INFO git tag -a v4.0.0-dev.20 -m v4.0.0-dev.20 08:47:51 2025-03-05 08:47:51,667 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.20', '-m', 'v4.0.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 08:47:51 2025-03-05 08:47:51,671 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:47:51 4.0.0-dev.20 [Pipeline] } 08:47:51 $ docker exec --env ******** --env ******** 48fe7438eb8ab3675c5453ee38fe2ef41700eaa8304aca5c3bb79c1ac5f4967b ssh-agent -k 08:47:51 unset SSH_AUTH_SOCK; 08:47:51 unset SSH_AGENT_PID; 08:47:51 echo Agent pid 38 killed; 08:47:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:47:52 + git semver [Pipeline] } 08:47:52 $ docker stop --time=1 48fe7438eb8ab3675c5453ee38fe2ef41700eaa8304aca5c3bb79c1ac5f4967b 08:47:53 $ docker rm -f --volumes 48fe7438eb8ab3675c5453ee38fe2ef41700eaa8304aca5c3bb79c1ac5f4967b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:47:54 08:47:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:47:54 0.23.1-centos7: Pulling from edgex-lftools 08:47:54 ab5ef0e58194: Pulling fs layer 08:47:54 9712f1f96733: Pulling fs layer 08:47:54 63f879dbbcfc: Pulling fs layer 08:47:54 0d9ebad4ef96: Pulling fs layer 08:47:54 e9a5061849ea: Pulling fs layer 08:47:54 d747dcd14b5f: Pulling fs layer 08:47:54 2de7ff778b66: Pulling fs layer 08:47:54 0d9ebad4ef96: Waiting 08:47:54 e9a5061849ea: Waiting 08:47:54 d747dcd14b5f: Waiting 08:47:54 2de7ff778b66: Waiting 08:47:54 9712f1f96733: Verifying Checksum 08:47:54 9712f1f96733: Download complete 08:47:54 63f879dbbcfc: Verifying Checksum 08:47:54 63f879dbbcfc: Download complete 08:47:54 e9a5061849ea: Download complete 08:47:54 d747dcd14b5f: Verifying Checksum 08:47:54 d747dcd14b5f: Download complete 08:47:54 0d9ebad4ef96: Verifying Checksum 08:47:54 0d9ebad4ef96: Download complete 08:47:54 ab5ef0e58194: Download complete 08:47:54 2de7ff778b66: Verifying Checksum 08:47:54 2de7ff778b66: Download complete 08:47:57 ab5ef0e58194: Pull complete 08:47:57 9712f1f96733: Pull complete 08:47:58 63f879dbbcfc: Pull complete 08:48:01 0d9ebad4ef96: Pull complete 08:48:01 e9a5061849ea: Pull complete 08:48:01 d747dcd14b5f: Pull complete 08:48:02 2de7ff778b66: Pull complete 08:48:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:48:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:48:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:02 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:48:02 $ 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:48:04 $ docker top 7583a62565c1f424b700221cbeae7d167dc5d0dc04ae8279f083e7babab6162a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:48:04 provisioning config files... 08:48:04 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4650520061088724637tmp 08:48:04 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15471219390362931704tmp 08:48:04 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7693798340786744401tmp [Pipeline] { [Pipeline] echo 08:48:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:48:05 ---> sigul-configuration.sh 08:48:05 gpg: directory `/root/.gnupg' created 08:48:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:48:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:48:05 gpg: keyring `/root/.gnupg/secring.gpg' created 08:48:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:48:05 gpg: CAST5 encrypted data 08:48:05 gpg: encrypted with 1 passphrase 08:48:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:48:05 + mkdir /home/jenkins 08:48:05 + mkdir /home/jenkins/sigul [Pipeline] sh 08:48:05 + 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:48:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:48:05 ---> sigul-install.sh 08:48:05 Sigul already installed; skipping installation. [Pipeline] sh 08:48:06 + git tag --list 08:48:06 0.7.1 08:48:06 v1.0.0 08:48:06 v1.1.0 08:48:06 v1.1.1 08:48:06 v1.2.2 08:48:06 v1.3.0 08:48:06 v1.3.1 08:48:06 v2.0.0 08:48:06 v2.1.0 08:48:06 v2.1.1 08:48:06 v2.2.0 08:48:06 v2.3.0 08:48:06 v3.0 08:48:06 v3.0.0 08:48:06 v3.1 08:48:06 v3.1.0 08:48:06 v3.1.0-dev.1 08:48:06 v3.1.0-dev.10 08:48:06 v3.1.0-dev.11 08:48:06 v3.1.0-dev.12 08:48:06 v3.1.0-dev.13 08:48:06 v3.1.0-dev.14 08:48:06 v3.1.0-dev.15 08:48:06 v3.1.0-dev.16 08:48:06 v3.1.0-dev.17 08:48:06 v3.1.0-dev.18 08:48:06 v3.1.0-dev.19 08:48:06 v3.1.0-dev.2 08:48:06 v3.1.0-dev.20 08:48:06 v3.1.0-dev.21 08:48:06 v3.1.0-dev.22 08:48:06 v3.1.0-dev.23 08:48:06 v3.1.0-dev.24 08:48:06 v3.1.0-dev.25 08:48:06 v3.1.0-dev.3 08:48:06 v3.1.0-dev.4 08:48:06 v3.1.0-dev.5 08:48:06 v3.1.0-dev.6 08:48:06 v3.1.0-dev.7 08:48:06 v3.1.0-dev.8 08:48:06 v3.1.0-dev.9 08:48:06 v3.1.1 08:48:06 v3.1.1-dev.1 08:48:06 v3.2.0-dev.1 08:48:06 v3.2.0-dev.10 08:48:06 v3.2.0-dev.11 08:48:06 v3.2.0-dev.12 08:48:06 v3.2.0-dev.13 08:48:06 v3.2.0-dev.14 08:48:06 v3.2.0-dev.15 08:48:06 v3.2.0-dev.16 08:48:06 v3.2.0-dev.17 08:48:06 v3.2.0-dev.18 08:48:06 v3.2.0-dev.19 08:48:06 v3.2.0-dev.2 08:48:06 v3.2.0-dev.20 08:48:06 v3.2.0-dev.21 08:48:06 v3.2.0-dev.22 08:48:06 v3.2.0-dev.23 08:48:06 v3.2.0-dev.24 08:48:06 v3.2.0-dev.25 08:48:06 v3.2.0-dev.26 08:48:06 v3.2.0-dev.3 08:48:06 v3.2.0-dev.4 08:48:06 v3.2.0-dev.5 08:48:06 v3.2.0-dev.6 08:48:06 v3.2.0-dev.7 08:48:06 v3.2.0-dev.8 08:48:06 v3.2.0-dev.9 08:48:06 v4.0.0-dev.1 08:48:06 v4.0.0-dev.10 08:48:06 v4.0.0-dev.11 08:48:06 v4.0.0-dev.12 08:48:06 v4.0.0-dev.13 08:48:06 v4.0.0-dev.14 08:48:06 v4.0.0-dev.15 08:48:06 v4.0.0-dev.16 08:48:06 v4.0.0-dev.17 08:48:06 v4.0.0-dev.18 08:48:06 v4.0.0-dev.19 08:48:06 v4.0.0-dev.2 08:48:06 v4.0.0-dev.20 08:48:06 v4.0.0-dev.3 08:48:06 v4.0.0-dev.4 08:48:06 v4.0.0-dev.5 08:48:06 v4.0.0-dev.6 08:48:06 v4.0.0-dev.7 08:48:06 v4.0.0-dev.8 08:48:06 v4.0.0-dev.9 [Pipeline] sh 08:48:06 + lftools sign git-tag v4.0.0-dev.20 08:48:07 Signing Git tag with Sigul... 08:48:07 Signing v4.0.0-dev.20 [Pipeline] echo 08:48:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:48:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:48:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:48:07 $ docker stop --time=1 7583a62565c1f424b700221cbeae7d167dc5d0dc04ae8279f083e7babab6162a 08:48:08 $ docker rm -f --volumes 7583a62565c1f424b700221cbeae7d167dc5d0dc04ae8279f083e7babab6162a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:48:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:48:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:48:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:09 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:48:09 $ 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:48:10 $ docker top de08f0dc44736b4c34605875d14cb6f3f86fc39a6200278a8b6c9f48fb076ce4 -eo pid,comm 08:48:10 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:48:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:10 [ssh-agent] Looking for ssh-agent implementation... 08:48:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:10 $ docker exec de08f0dc44736b4c34605875d14cb6f3f86fc39a6200278a8b6c9f48fb076ce4 ssh-agent 08:48:10 SSH_AUTH_SOCK=/tmp/ssh-6yV9H6eFdQtn/agent.32 08:48:10 SSH_AGENT_PID=38 08:48:10 Running ssh-add (command line suppressed) 08:48:10 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17689298249941431964.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17689298249941431964.key) 08:48:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:10 + git semver bump pre 08:48:11 2025-03-05 08:48:11,033 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:48:11 2025-03-05 08:48:11,033 [bump_version] DEBUG bumping version:4.0.0-dev.20 on axis:pre with prefix:dev 08:48:11 2025-03-05 08:48:11,034 [bump_version] DEBUG bumped version:4.0.0-dev.21 08:48:11 2025-03-05 08:48:11,034 [write_version] DEBUG write version:4.0.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 08:48:11 2025-03-05 08:48:11,034 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:48:11 2025-03-05 08:48:11,034 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:48:11 2025-03-05 08:48:11,035 [execute] INFO git cat-file --batch-check 08:48:11 2025-03-05 08:48:11,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:48:11 2025-03-05 08:48:11,040 [execute] INFO git cat-file --batch 08:48:11 2025-03-05 08:48:11,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:48:11 2025-03-05 08:48:11,045 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:48:11 4.0.0-dev.21 [Pipeline] } 08:48:11 $ docker exec --env ******** --env ******** de08f0dc44736b4c34605875d14cb6f3f86fc39a6200278a8b6c9f48fb076ce4 ssh-agent -k 08:48:11 unset SSH_AUTH_SOCK; 08:48:11 unset SSH_AGENT_PID; 08:48:11 echo Agent pid 38 killed; 08:48:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:11 + git semver [Pipeline] } 08:48:11 $ docker stop --time=1 de08f0dc44736b4c34605875d14cb6f3f86fc39a6200278a8b6c9f48fb076ce4 08:48:13 $ docker rm -f --volumes de08f0dc44736b4c34605875d14cb6f3f86fc39a6200278a8b6c9f48fb076ce4 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:48:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:48:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:13 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:48: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:48:14 $ docker top e7fc36e4b095c872bafc6b6c8f822e5dada9dafb578359066539fc43f1720371 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:48:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:48:14 [ssh-agent] Looking for ssh-agent implementation... 08:48:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:48:14 $ docker exec e7fc36e4b095c872bafc6b6c8f822e5dada9dafb578359066539fc43f1720371 ssh-agent 08:48:14 SSH_AUTH_SOCK=/tmp/ssh-HntGc50tv6bE/agent.32 08:48:14 SSH_AGENT_PID=38 08:48:14 Running ssh-add (command line suppressed) 08:48:14 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15635502296585026393.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15635502296585026393.key) 08:48:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:48:14 + git semver push 08:48:15 2025-03-05 08:48:15,076 [run_push] DEBUG push 08:48:15 2025-03-05 08:48:15,076 [execute] INFO git cat-file --batch-check 08:48:15 2025-03-05 08:48:15,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:48:15 2025-03-05 08:48:15,080 [execute] INFO git rev-list 9c40f760ace1c35d174e4b373e4ed6ee420f46d4 -- 08:48:15 2025-03-05 08:48:15,081 [execute] DEBUG Popen(['git', 'rev-list', '9c40f760ace1c35d174e4b373e4ed6ee420f46d4', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:48:15 2025-03-05 08:48:15,091 [execute] INFO git fetch -v origin 08:48:15 2025-03-05 08:48:15,091 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:48:15 2025-03-05 08:48:15,550 [run_push] DEBUG no remote changes detected 08:48:15 2025-03-05 08:48:15,550 [execute] INFO git push origin semver 08:48:15 2025-03-05 08:48:15,550 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:48:17 2025-03-05 08:48:16,765 [run_push] DEBUG push all version tags 08:48:17 2025-03-05 08:48:16,765 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:48:17 2025-03-05 08:48:16,766 [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:48:17 2025-03-05 08:48:17,392 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 08:48:17 4.0.0-dev.21 [Pipeline] } 08:48:17 $ docker exec --env ******** --env ******** e7fc36e4b095c872bafc6b6c8f822e5dada9dafb578359066539fc43f1720371 ssh-agent -k 08:48:17 unset SSH_AUTH_SOCK; 08:48:17 unset SSH_AGENT_PID; 08:48:17 echo Agent pid 38 killed; 08:48:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:48:18 + git semver [Pipeline] } 08:48:18 $ docker stop --time=1 e7fc36e4b095c872bafc6b6c8f822e5dada9dafb578359066539fc43f1720371 08:48:19 $ docker rm -f --volumes e7fc36e4b095c872bafc6b6c8f822e5dada9dafb578359066539fc43f1720371 [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:48:20 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 08:48:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:48:20 total 16 08:48:20 drwxr-xr-x 3 root root 4096 Mar 5 08:34 . 08:48:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 08:48 .. 08:48:20 drwxr-xr-x 2 root root 4096 Mar 5 08:34 cost 08:48:20 -rw-r--r-- 1 root root 88 Mar 5 08:34 cost.csv 08:48:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 08:48:20 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 08:48:20 total 16 08:48:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 08:34 . 08:48:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 08:48 .. 08:48:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 08:34 cost 08:48:20 -rw-r--r-- 1 jenkins jenkins 88 Mar 5 08:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:48:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:48:21 ---> package-listing.sh 08:48:21 ++ facter osfamily 08:48:21 ++ tr '[:upper:]' '[:lower:]' 08:48:21 + OS_FAMILY=debian 08:48:21 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 08:48:21 + START_PACKAGES=/tmp/packages_start.txt 08:48:21 + END_PACKAGES=/tmp/packages_end.txt 08:48:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:48:21 + PACKAGES=/tmp/packages_start.txt 08:48:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:48:21 + PACKAGES=/tmp/packages_end.txt 08:48:21 + case "${OS_FAMILY}" in 08:48:21 + dpkg -l 08:48:21 + grep '^ii' 08:48:21 + '[' -f /tmp/packages_start.txt ']' 08:48:21 + '[' -f /tmp/packages_end.txt ']' 08:48:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:48:21 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 08:48:21 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 08:48:21 + 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:48:21 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:48:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:48:22 prd-ubuntu20.04-docker-8c-8g-40276 does not seem to be running inside a container 08:48:22 $ 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:48:22 $ docker top 053eac348d349462fd4cab6542b2fa272aaf1bd22962e364a8903fe95ac1fe83 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:23 + touch /tmp/pre-build-complete [Pipeline] sh 08:48:23 + mkdir -p /var/log/sysstat [Pipeline] sh 08:48:23 + ls /var/log/sa-host 08:48:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:24 provisioning config files... 08:48:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1572022562251114918tmp [Pipeline] { [Pipeline] echo 08:48:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:48:24 ---> create-netrc.sh [Pipeline] } 08:48:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:48:24 ---> python-tools-install.sh [Pipeline] echo 08:48:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:48:24 ---> sudo-logs.sh 08:48:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:48:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:48:25 ---> job-cost.sh 08:48:25 lf-activate-venv: SKIPPING 08:48:25 DEBUG: total: 0.2199999988079071 08:48:25 INFO: Retrieving Stack Cost... 08:48:25 INFO: Retrieving Pricing Info for: v3-standard-8 08:48:26 INFO: Archiving Costs [Pipeline] echo 08:48:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:48:26 ---> logs-deploy.sh 08:48:26 lf-activate-venv: SKIPPING 08:48:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/185 08:48:26 INFO: archiving workspace using pattern(s): 08:48:27 Archives upload complete. 08:48:27 INFO: archiving logs to Nexus