Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d93774f6323e2d664e1d824b30137e6a0bc718dc 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-ssh9830568962614887905.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh8094196568691953161.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh14295980413702478328.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh7515117260595909951.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-ssh8540523730955482025.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, goVersion:1.25] ========================================================= [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.25 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 ‘prd-centos7-blackbox-4c-2g-774948’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-775193’ is offline ‘prd-ubuntu20.04-docker-8c-8g-775196’ is offline Running on prd-ubuntu20.04-docker-8c-8g-775198 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d93774f6323e2d664e1d824b30137e6a0bc718dc (main) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d93774f6323e2d664e1d824b30137e6a0bc718dc # timeout=10 Commit message: "Merge pull request #691 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.48" > git rev-list --no-walk b96a34ea1b03020f6ff2a3176eee589b27dc9f92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:17:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:17:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:17:41 ========================================================= 05:17:41 EdgeX Global Pipelines Version Info 05:17:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:17:43 ------------------- 05:17:43 stable info: 05:17:43 ------------------- 05:17:43 Commited By: Cherry Wang cherry@iotechsys.com 05:17:43 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 05:17:43 Message: update stable to v1.0.278 05:17:43 ------------------- 05:17:43 experimental info: 05:17:43 ------------------- 05:17:43 Commited By: **** collab-it+edgex@linuxfoundation.org 05:17:43 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 05:17:43 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:17:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d93774f [Pipeline] echo 05:17:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:44 provisioning config files... 05:17:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14662798113230441537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:44 ---> ****-login.sh 05:17:44 nexus3.edgexfoundry.org:10001 05:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:44 05:17:44 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:17:44 Configure a credential helper to remove this warning. See 05:17:44 https://docs.****.com/go/credential-store/ 05:17:44 05:17:44 Login Succeeded 05:17:44 nexus3.edgexfoundry.org:10002 05:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:44 05:17:44 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:17:44 Configure a credential helper to remove this warning. See 05:17:44 https://docs.****.com/go/credential-store/ 05:17:44 05:17:44 Login Succeeded 05:17:44 nexus3.edgexfoundry.org:10003 05:17:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:44 05:17:44 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:17:44 Configure a credential helper to remove this warning. See 05:17:44 https://docs.****.com/go/credential-store/ 05:17:44 05:17:44 Login Succeeded 05:17:44 nexus3.edgexfoundry.org:10004 05:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:45 05:17:45 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:17:45 Configure a credential helper to remove this warning. See 05:17:45 https://docs.****.com/go/credential-store/ 05:17:45 05:17:45 Login Succeeded 05:17:45 ****.io 05:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:45 05:17:45 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:17:45 Configure a credential helper to remove this warning. See 05:17:45 https://docs.****.com/go/credential-store/ 05:17:45 05:17:45 Login Succeeded 05:17:45 ---> ****-login.sh ends [Pipeline] } 05:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:17:45 + git rev-list -1 --merges d93774f6323e2d664e1d824b30137e6a0bc718dc~1..d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] echo 05:17:45 -----------> git rev-list -1 --merges d93774f6323e2d664e1d824b30137e6a0bc718dc~1..d93774f6323e2d664e1d824b30137e6a0bc718dc d93774f6323e2d664e1d824b30137e6a0bc718dc 05:17:45 d93774f6323e2d664e1d824b30137e6a0bc718dc [false] [Pipeline] sh 05:17:46 + git log --format=format:%s -1 d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] echo 05:17:46 ========================================================= 05:17:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:17:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:46 + git log --format=format:%s -1 d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] echo 05:17:46 [semverPrep] GIT_COMMIT: d93774f6323e2d664e1d824b30137e6a0bc718dc, Commit Message: Merge pull request #691 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.48 [Pipeline] echo 05:17:46 [semverPrep] This is not a build commit. [Pipeline] sh 05:17:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:17:46 + grep -v github /etc/ssh/ssh_known_hosts 05:17:46 + [ -e /tmp/ssh_known_hosts ] 05:17:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:17:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:17:46 + sudo tee -a /etc/ssh/ssh_known_hosts 05:17:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:47 05:17:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:47 0.1.4: Pulling from edgex-devops/py-git-semver 05:17:47 3dae71ba6b94: Pulling fs layer 05:17:47 6bf1a483ea7c: Pulling fs layer 05:17:47 f5dfc541a4d3: Pulling fs layer 05:17:47 461d9e800cba: Pulling fs layer 05:17:47 80192f66455f: Pulling fs layer 05:17:47 2e8e34ca0e6c: Pulling fs layer 05:17:47 a29436f7fd5d: Pulling fs layer 05:17:47 923cac83aea3: Pulling fs layer 05:17:47 25ad8b0a4227: Pulling fs layer 05:17:47 db01528c6b51: Pulling fs layer 05:17:47 28988de357af: Pulling fs layer 05:17:47 461d9e800cba: Waiting 05:17:47 80192f66455f: Waiting 05:17:47 a29436f7fd5d: Waiting 05:17:47 923cac83aea3: Waiting 05:17:47 db01528c6b51: Waiting 05:17:47 25ad8b0a4227: Waiting 05:17:47 2e8e34ca0e6c: Waiting 05:17:47 28988de357af: Waiting 05:17:47 6bf1a483ea7c: Verifying Checksum 05:17:47 6bf1a483ea7c: Download complete 05:17:47 461d9e800cba: Verifying Checksum 05:17:47 461d9e800cba: Download complete 05:17:47 80192f66455f: Verifying Checksum 05:17:47 80192f66455f: Download complete 05:17:47 f5dfc541a4d3: Verifying Checksum 05:17:47 f5dfc541a4d3: Download complete 05:17:47 3dae71ba6b94: Verifying Checksum 05:17:47 3dae71ba6b94: Download complete 05:17:47 923cac83aea3: Verifying Checksum 05:17:47 923cac83aea3: Download complete 05:17:48 25ad8b0a4227: Verifying Checksum 05:17:48 25ad8b0a4227: Download complete 05:17:48 db01528c6b51: Verifying Checksum 05:17:48 db01528c6b51: Download complete 05:17:48 28988de357af: Verifying Checksum 05:17:48 28988de357af: Download complete 05:17:48 a29436f7fd5d: Verifying Checksum 05:17:48 a29436f7fd5d: Download complete 05:17:48 2e8e34ca0e6c: Verifying Checksum 05:17:48 2e8e34ca0e6c: Download complete 05:17:49 3dae71ba6b94: Pull complete 05:17:49 6bf1a483ea7c: Pull complete 05:17:50 f5dfc541a4d3: Pull complete 05:17:50 461d9e800cba: Pull complete 05:17:50 80192f66455f: Pull complete 05:17:54 2e8e34ca0e6c: Pull complete 05:17:55 a29436f7fd5d: Pull complete 05:17:55 923cac83aea3: Pull complete 05:17:55 25ad8b0a4227: Pull complete 05:17:55 db01528c6b51: Pull complete 05:17:55 28988de357af: Pull complete 05:17:55 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:17:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:55 prd-ubuntu20.04-docker-8c-8g-775198 does not seem to be running inside a container 05:17:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:17:58 $ docker top 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 -eo pid,comm 05:17:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:17:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:58 [ssh-agent] Looking for ssh-agent implementation... 05:17:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:58 $ docker exec 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 ssh-agent 05:17:58 SSH_AUTH_SOCK=/tmp/ssh-9F6Cspimt8HN/agent.31 05:17:58 SSH_AGENT_PID=37 05:17:58 Running ssh-add (command line suppressed) 05:17:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1963168654908448483.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1963168654908448483.key) 05:17:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] sh 05:17:59 + git tag --points-at HEAD [Pipeline] } 05:17:59 $ docker exec --env ******** --env ******** 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 ssh-agent -k 05:17:59 unset SSH_AUTH_SOCK; 05:17:59 unset SSH_AGENT_PID; 05:17:59 echo Agent pid 37 killed; 05:17:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:59 [ssh-agent] Looking for ssh-agent implementation... 05:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:59 $ docker exec 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 ssh-agent 05:17:59 SSH_AUTH_SOCK=/tmp/ssh-roFDbPxY0cdC/agent.85 05:17:59 SSH_AGENT_PID=91 05:17:59 Running ssh-add (command line suppressed) 05:17:59 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13749955172178335968.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13749955172178335968.key) 05:17:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:00 + git semver init 05:18:00 2025-12-17 05:18:00,213 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:18:00 2025-12-17 05:18:00,218 [run_init] DEBUG init version:0.0.0 force:False 05:18:00 2025-12-17 05:18:00,219 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 05:18:00 2025-12-17 05:18:00,219 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 05:18:00 2025-12-17 05:18:00,220 [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, stdin=None, shell=False, universal_newlines=False) 05:18:01 2025-12-17 05:18:01,541 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 05:18:01 2025-12-17 05:18:01,542 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 05:18:01 2025-12-17 05:18:01,542 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:18:01 2025-12-17 05:18:01,542 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 05:18:01 4.1.0-dev.16 [Pipeline] } 05:18:01 $ docker exec --env ******** --env ******** 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 ssh-agent -k 05:18:01 unset SSH_AUTH_SOCK; 05:18:01 unset SSH_AGENT_PID; 05:18:01 echo Agent pid 91 killed; 05:18:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:02 + git semver [Pipeline] } 05:18:02 $ docker stop --time=1 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 05:18:03 $ docker rm -f --volumes 6f693cfcd4aa810b8de66ef0136b03d4ef58b1a2d3033405062df099526c3a03 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:18:04 Stashed 1 file(s) [Pipeline] echo 05:18:04 [edgeXSemver]: initialized semver on version 4.1.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:04 provisioning config files... 05:18:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6735871188687027400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:04 ---> ****-login.sh 05:18:04 nexus3.edgexfoundry.org:10001 05:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:04 Login Succeeded 05:18:04 nexus3.edgexfoundry.org:10002 05:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:04 Login Succeeded 05:18:04 nexus3.edgexfoundry.org:10003 05:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:05 Login Succeeded 05:18:05 nexus3.edgexfoundry.org:10004 05:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:05 Login Succeeded 05:18:05 ****.io 05:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:05 Login Succeeded 05:18:05 ---> ****-login.sh ends [Pipeline] } 05:18:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:18:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:18:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:18:05 ========================================================= 05:18:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 05:18:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine --build-arg MAKE=echo noop --target=builder . 05:18:06 #0 building with "default" instance using docker driver 05:18:06 05:18:06 #1 [internal] load build definition from Dockerfile 05:18:06 #1 transferring dockerfile: 1.52kB done 05:18:06 #1 DONE 0.0s 05:18:06 05:18:06 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 05:18:06 #2 DONE 0.1s 05:18:06 05:18:06 #3 [internal] load .dockerignore 05:18:06 #3 transferring context: 182B done 05:18:06 #3 DONE 0.0s 05:18:06 05:18:06 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 05:18:06 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 0.0s done 05:18:06 #4 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.1s done 05:18:06 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 2.10MB / 60.15MB 0.1s 05:18:06 #4 sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 685B / 685B done 05:18:06 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s 05:18:06 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 05:18:06 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 11.53MB / 60.15MB 0.2s 05:18:06 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 05:18:06 #4 sha256:0571529eb0d62c6c63f07cd806efe94d1b30411a55171121c600b2b418b13706 2.08kB / 2.08kB done 05:18:06 #4 sha256:2caa029a6df7ddc8757eb3642c320a433405a94beabcc5536fbfd011b4868154 4.11kB / 4.11kB done 05:18:06 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 05:18:06 #4 sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 321B / 321B 0.1s done 05:18:06 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 2.10MB / 11.98MB 0.2s 05:18:06 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 05:18:06 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 0B / 112.58MB 0.2s 05:18:07 #4 ... 05:18:07 05:18:07 #5 [internal] load build context 05:18:07 #5 transferring context: 25.51MB 0.2s done 05:18:07 #5 DONE 0.2s 05:18:07 05:18:07 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 05:18:07 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 24.12MB / 60.15MB 0.3s 05:18:07 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.2s done 05:18:07 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.53MB / 11.98MB 0.3s 05:18:07 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 6.29MB / 112.58MB 0.3s 05:18:07 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 05:18:07 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 42.99MB / 60.15MB 0.5s 05:18:07 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.3s done 05:18:07 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 23.07MB / 112.58MB 0.5s 05:18:07 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.1s done 05:18:07 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 5.24MB / 14.72MB 0.5s 05:18:07 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.7s 05:18:07 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 48.23MB / 112.58MB 0.7s 05:18:07 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.7s 05:18:07 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 70.25MB / 112.58MB 0.8s 05:18:07 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.9s done 05:18:07 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 85.98MB / 112.58MB 0.9s 05:18:07 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.9s done 05:18:07 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 05:18:07 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 111.15MB / 112.58MB 1.0s 05:18:08 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.3s done 05:18:12 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.7s done 05:18:12 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 05:18:12 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 05:18:12 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 05:18:12 #4 extracting sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 done 05:18:12 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 05:18:13 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 0.2s done 05:18:13 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 0.1s 05:18:16 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 2.9s done 05:18:16 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.1s 05:18:16 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.6s done 05:18:16 #4 DONE 10.0s 05:18:16 05:18:16 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 05:18:16 #6 0.216 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 05:18:16 #6 0.398 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 05:18:17 #6 0.775 (1/8) Installing openssh-keygen (10.0_p1-r10) 05:18:17 #6 0.784 (2/8) Installing libedit (20250104.3.1-r1) 05:18:17 #6 0.790 (3/8) Installing openssh-client-common (10.0_p1-r10) 05:18:17 #6 0.810 (4/8) Installing openssh-client-default (10.0_p1-r10) 05:18:17 #6 0.822 (5/8) Installing openssh-sftp-server (10.0_p1-r10) 05:18:17 #6 0.827 (6/8) Installing openssh-server-common (10.0_p1-r10) 05:18:17 #6 0.830 (7/8) Installing openssh-server (10.0_p1-r10) 05:18:17 #6 0.854 (8/8) Installing openssh (10.0_p1-r10) 05:18:17 #6 0.872 Executing busybox-1.37.0-r19.trigger 05:18:17 #6 0.880 OK: 272 MiB in 68 packages 05:18:19 Still waiting to schedule task 05:18:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-775197’ 05:18:20 #6 DONE 3.1s 05:18:20 05:18:20 #7 [builder 3/7] WORKDIR /device-modbus-go 05:18:20 #7 DONE 0.0s 05:18:20 05:18:20 #8 [builder 4/7] COPY go.mod vendor* ./ 05:18:20 #8 DONE 0.0s 05:18:20 05:18:20 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:35 #9 DONE 13.3s 05:18:35 05:18:35 #10 [builder 6/7] COPY . . 05:18:35 #10 DONE 0.2s 05:18:35 05:18:35 #11 [builder 7/7] RUN echo noop 05:18:35 #11 0.230 noop 05:18:35 #11 DONE 0.3s 05:18:35 05:18:35 #12 exporting to image 05:18:35 #12 exporting layers 05:18:41 #12 exporting layers 7.0s done 05:18:41 #12 writing image sha256:f98183460197b73086124fdcd9a7453bc6a3d72fe925b809f2bf3e6fd2da2ded done 05:18:41 #12 naming to docker.io/library/ci-base-image-x86_64 done 05:18:41 #12 DONE 7.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:41 + docker inspect -f . ci-base-image-x86_64 05:18:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:42 prd-ubuntu20.04-docker-8c-8g-775198 does not seem to be running inside a container 05:18:42 $ 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 05:18:42 $ docker top aaf0cb70ad324b37c09fbd14f85f8ac3f49f7a07f6749d78a069aff43ee0f12e -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:42 + go version 05:18:42 go version go1.25.2 linux/amd64 [Pipeline] } 05:18:42 $ docker stop --time=1 aaf0cb70ad324b37c09fbd14f85f8ac3f49f7a07f6749d78a069aff43ee0f12e 05:18:44 $ docker rm -f --volumes aaf0cb70ad324b37c09fbd14f85f8ac3f49f7a07f6749d78a069aff43ee0f12e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:44 + docker inspect -f . ci-base-image-x86_64 05:18:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:44 prd-ubuntu20.04-docker-8c-8g-775198 does not seem to be running inside a container 05:18:44 $ 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 05:18:44 $ docker top 35f34ad884bb3076df199a1bb5f494bbd52d88d6a9fd5e9e2faddaa546d4d5ef -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 05:18:45 + make test 05:18:45 go test ./... -coverprofile=coverage.out ./... 05:18:46 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:19:08 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:19:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 45.4% of statements 05:19:15 0 issues. 05:19:15 go vet ./... 05:19:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:20 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:19:20 $ docker stop --time=1 35f34ad884bb3076df199a1bb5f494bbd52d88d6a9fd5e9e2faddaa546d4d5ef 05:19:23 $ docker rm -f --volumes 35f34ad884bb3076df199a1bb5f494bbd52d88d6a9fd5e9e2faddaa546d4d5ef [Pipeline] // withDockerContainer [Pipeline] sh 05:19:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:19:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:24 + ls -al . 05:19:24 total 264 05:19:24 drwxrwxr-x 9 jenkins jenkins 4096 Dec 17 05:18 . 05:19:24 drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 05:17 .. 05:19:24 -rw-rw-r-- 1 jenkins jenkins 140 Dec 17 05:17 .dockerignore 05:19:24 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 05:19 .git 05:19:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 05:17 .github 05:19:24 -rw-rw-r-- 1 jenkins jenkins 266 Dec 17 05:17 .gitignore 05:19:24 -rw-rw-r-- 1 jenkins jenkins 359 Dec 17 05:17 .golangci.yml 05:19:24 drwxr-xr-x 3 jenkins jenkins 4096 Dec 17 05:18 .semver 05:19:24 -rw-rw-r-- 1 jenkins jenkins 22459 Dec 17 05:17 Attribution.txt 05:19:24 -rw-rw-r-- 1 jenkins jenkins 18046 Dec 17 05:17 CHANGELOG.md 05:19:24 -rw-rw-r-- 1 jenkins jenkins 1479 Dec 17 05:17 Dockerfile 05:19:24 -rw-rw-r-- 1 jenkins jenkins 677 Dec 17 05:17 GOVERNANCE.md 05:19:24 -rw-rw-r-- 1 jenkins jenkins 681 Dec 17 05:17 Jenkinsfile 05:19:24 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 17 05:17 LICENSE 05:19:24 -rw-rw-r-- 1 jenkins jenkins 2529 Dec 17 05:17 Makefile 05:19:24 -rw-rw-r-- 1 jenkins jenkins 622 Dec 17 05:17 OWNERS.md 05:19:24 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 17 05:17 README.md 05:19:24 -rw-rw-r-- 1 jenkins jenkins 12 Dec 17 05:18 VERSION 05:19:24 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 05:17 bin 05:19:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 05:17 cmd 05:19:24 -rw-r--r-- 1 jenkins jenkins 28001 Dec 17 05:19 coverage.out 05:19:24 -rw-rw-r-- 1 jenkins jenkins 6959 Dec 17 05:17 go.mod 05:19:24 -rw-rw-r-- 1 jenkins jenkins 89680 Dec 17 05:17 go.sum 05:19:24 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 05:17 internal 05:19:24 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 05:17 simulator 05:19:24 -rw-rw-r-- 1 jenkins jenkins 229 Dec 17 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:25 + 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=d93774f6323e2d664e1d824b30137e6a0bc718dc --label arch=amd64 --label version=4.1.0-dev.16 . 05:19:25 #0 building with "default" instance using docker driver 05:19:25 05:19:25 #1 [internal] load build definition from Dockerfile 05:19:25 #1 transferring dockerfile: 1.52kB done 05:19:25 #1 DONE 0.0s 05:19:25 05:19:25 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 05:19:25 #2 DONE 0.0s 05:19:25 05:19:25 #3 [internal] load metadata for docker.io/library/alpine:3.22 05:19:25 #3 DONE 0.2s 05:19:25 05:19:25 #4 [internal] load .dockerignore 05:19:25 #4 transferring context: 182B done 05:19:25 #4 DONE 0.0s 05:19:25 05:19:25 #5 [internal] load build context 05:19:25 #5 transferring context: 41.37kB done 05:19:25 #5 DONE 0.0s 05:19:25 05:19:25 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 05:19:25 #6 resolve docker.io/library/alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 0.0s done 05:19:25 #6 sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 9.22kB / 9.22kB done 05:19:25 #6 sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f 1.02kB / 1.02kB done 05:19:25 #6 sha256:706db57fb2063f39f69632c5b5c9c439633fda35110e65587c5d85553fd1cc38 581B / 581B done 05:19:25 #6 DONE 0.0s 05:19:25 05:19:25 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 05:19:25 #7 DONE 0.1s 05:19:25 05:19:25 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 05:19:25 #8 0.214 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 05:19:25 #8 0.289 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 05:19:26 #8 0.583 OK: 272 MiB in 68 packages 05:19:26 #8 DONE 0.7s 05:19:26 05:19:26 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 05:19:26 #9 0.255 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 05:19:26 #9 0.331 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 05:19:26 #9 0.625 (1/1) Installing dumb-init (1.2.5-r3) 05:19:26 #9 0.628 Executing busybox-1.37.0-r19.trigger 05:19:26 #9 0.635 OK: 7 MiB in 17 packages 05:19:26 #9 DONE 0.8s 05:19:26 05:19:26 #10 [builder 3/7] WORKDIR /device-modbus-go 05:19:26 #10 DONE 0.0s 05:19:26 05:19:26 #11 [builder 4/7] COPY go.mod vendor* ./ 05:19:26 #11 DONE 0.0s 05:19:26 05:19:26 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:26 #12 DONE 0.5s 05:19:26 05:19:26 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:19:26 #13 0.286 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 05:19:26 #13 0.370 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 05:19:27 #13 0.678 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 05:19:27 #13 ... 05:19:27 05:19:27 #14 [builder 6/7] COPY . . 05:19:27 #14 DONE 0.2s 05:19:27 05:19:27 #13 [stage-1 3/6] RUN apk --no-cache upgrade 05:19:27 #13 0.693 Executing busybox-1.37.0-r20.post-upgrade 05:19:27 #13 0.767 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 05:19:27 #13 0.771 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 05:19:27 #13 0.775 Executing busybox-1.37.0-r20.trigger 05:19:27 #13 0.781 OK: 7 MiB in 17 packages 05:19:27 #13 DONE 0.9s 05:19:27 05:19:27 #15 [builder 7/7] RUN make build 05:19:27 #15 0.242 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.48 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:19:53 #15 DONE 22.9s 05:19:53 05:19:53 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 05:19:53 #16 DONE 0.1s 05:19:53 05:19:53 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 05:19:53 #17 DONE 0.0s 05:19:53 05:19:53 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 05:19:53 #18 DONE 0.0s 05:19:53 05:19:53 #19 exporting to image 05:19:53 #19 exporting layers 05:19:53 #19 exporting layers 0.2s done 05:19:53 #19 writing image sha256:e3534a57ace76faf20012eeba239a315b2de00d6f22b0128ae2d73384db03d9d done 05:19:53 #19 naming to docker.io/library/device-modbus done 05:19:53 #19 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:54 provisioning config files... 05:19:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11100148143910335514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:54 ---> ****-login.sh 05:19:54 nexus3.edgexfoundry.org:10001 05:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:54 Login Succeeded 05:19:54 nexus3.edgexfoundry.org:10002 05:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:54 Login Succeeded 05:19:54 nexus3.edgexfoundry.org:10003 05:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:54 Login Succeeded 05:19:54 nexus3.edgexfoundry.org:10004 05:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:54 Login Succeeded 05:19:54 ****.io 05:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:54 Login Succeeded 05:19:54 ---> ****-login.sh ends [Pipeline] } 05:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:19:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:19:54 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 05:19:54 d93774f6323e2d664e1d824b30137e6a0bc718dc 05:19:54 latest 05:19:54 4.1.0-dev.16 05:19:54 d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:19:54 main 05:19:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:55 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc 05:19:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:19:55 ffecea5058bb: Preparing 05:19:55 525b1e244014: Preparing 05:19:55 e62966e0ebe2: Preparing 05:19:55 d7023ef9c206: Preparing 05:19:55 419bd2966155: Preparing 05:19:55 256f393e029f: Preparing 05:19:55 256f393e029f: Waiting 05:19:55 419bd2966155: Pushed 05:19:55 ffecea5058bb: Pushed 05:19:55 525b1e244014: Pushed 05:19:55 256f393e029f: Layer already exists 05:19:55 d7023ef9c206: Pushed 05:19:58 e62966e0ebe2: Pushed 05:19:58 d93774f6323e2d664e1d824b30137e6a0bc718dc: digest: sha256:2902026030d7c6ff76b98ff03f0f8b951ae368db7d966f750fe75e49c1792518 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 05:19:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:19:59 ffecea5058bb: Preparing 05:19:59 525b1e244014: Preparing 05:19:59 e62966e0ebe2: Preparing 05:19:59 d7023ef9c206: Preparing 05:19:59 419bd2966155: Preparing 05:19:59 256f393e029f: Preparing 05:19:59 256f393e029f: Waiting 05:19:59 e62966e0ebe2: Layer already exists 05:19:59 ffecea5058bb: Layer already exists 05:19:59 419bd2966155: Layer already exists 05:19:59 525b1e244014: Layer already exists 05:19:59 d7023ef9c206: Layer already exists 05:19:59 256f393e029f: Layer already exists 05:19:59 latest: digest: sha256:2902026030d7c6ff76b98ff03f0f8b951ae368db7d966f750fe75e49c1792518 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.16 05:20:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:20:00 ffecea5058bb: Preparing 05:20:00 525b1e244014: Preparing 05:20:00 e62966e0ebe2: Preparing 05:20:00 d7023ef9c206: Preparing 05:20:00 419bd2966155: Preparing 05:20:00 256f393e029f: Preparing 05:20:00 256f393e029f: Waiting 05:20:00 419bd2966155: Layer already exists 05:20:00 e62966e0ebe2: Layer already exists 05:20:00 ffecea5058bb: Layer already exists 05:20:00 d7023ef9c206: Layer already exists 05:20:00 525b1e244014: Layer already exists 05:20:00 256f393e029f: Layer already exists 05:20:00 4.1.0-dev.16: digest: sha256:2902026030d7c6ff76b98ff03f0f8b951ae368db7d966f750fe75e49c1792518 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:20:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:20:00 ffecea5058bb: Preparing 05:20:00 525b1e244014: Preparing 05:20:00 e62966e0ebe2: Preparing 05:20:00 d7023ef9c206: Preparing 05:20:00 419bd2966155: Preparing 05:20:00 256f393e029f: Preparing 05:20:00 256f393e029f: Waiting 05:20:00 525b1e244014: Layer already exists 05:20:00 419bd2966155: Layer already exists 05:20:00 e62966e0ebe2: Layer already exists 05:20:00 ffecea5058bb: Layer already exists 05:20:00 d7023ef9c206: Layer already exists 05:20:00 256f393e029f: Layer already exists 05:20:00 d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16: digest: sha256:2902026030d7c6ff76b98ff03f0f8b951ae368db7d966f750fe75e49c1792518 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 05:20:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 05:20:01 ffecea5058bb: Preparing 05:20:01 525b1e244014: Preparing 05:20:01 e62966e0ebe2: Preparing 05:20:01 d7023ef9c206: Preparing 05:20:01 419bd2966155: Preparing 05:20:01 256f393e029f: Preparing 05:20:01 256f393e029f: Waiting 05:20:01 d7023ef9c206: Layer already exists 05:20:01 e62966e0ebe2: Layer already exists 05:20:01 419bd2966155: Layer already exists 05:20:01 525b1e244014: Layer already exists 05:20:01 ffecea5058bb: Layer already exists 05:20:01 256f393e029f: Layer already exists 05:20:01 main: digest: sha256:2902026030d7c6ff76b98ff03f0f8b951ae368db7d966f750fe75e49c1792518 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:20:01 ===================================================== [Pipeline] echo 05:20:01 taggedImages: 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.16 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] echo 05:20:01 ========================================================= 05:20:01 [edgeXBuildMultiArch] RAW Config: 05:20:01 images: 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:latest 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.16 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:20:01 - nexus3.edgexfoundry.org:10004/device-modbus:main 05:20:01 settingsFile: 05:20:01 device-modbus-go-settings 05:20:01 ========================================================= [Pipeline] node 05:20:16 Still waiting to schedule task 05:20:16 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-775181’ 05:20:55 Running on prd-centos7-docker-4c-2g-775201 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:55 provisioning config files... 05:20:55 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13155912165561841954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:56 ---> ****-login.sh 05:20:56 nexus3.edgexfoundry.org:10001 05:21:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-775200 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 05:21:36 Running in /w/workspace/device-modbus-go/208 [Pipeline] { [Pipeline] checkout 05:21:37 The recommended git tool is: git 05:21:42 using credential edgex-jenkins-ssh 05:21:42 Cloning the remote Git repository 05:21:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:21:43 > git init /w/workspace/device-modbus-go/208 # timeout=10 05:21:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:21:43 > git --version # timeout=10 05:21:43 > git --version # 'git version 2.25.1' 05:21:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:46 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:21:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:47 Avoid second fetch 05:21:47 Checking out Revision d93774f6323e2d664e1d824b30137e6a0bc718dc (main) 05:21:47 Commit message: "Merge pull request #691 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.48" 05:21:47 > git config core.sparsecheckout # timeout=10 05:21:47 > git checkout -f d93774f6323e2d664e1d824b30137e6a0bc718dc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:52 provisioning config files... 05:21:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/208@tmp/config2002547541072650273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:53 ---> ****-login.sh 05:21:53 nexus3.edgexfoundry.org:10001 05:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:53 Configure a credential helper to remove this warning. See 05:21:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:53 05:21:53 Login Succeeded 05:21:53 nexus3.edgexfoundry.org:10002 05:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:54 Configure a credential helper to remove this warning. See 05:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:54 05:21:54 Login Succeeded 05:21:54 nexus3.edgexfoundry.org:10003 05:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:54 Configure a credential helper to remove this warning. See 05:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:54 05:21:54 Login Succeeded 05:21:54 nexus3.edgexfoundry.org:10004 05:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:54 Configure a credential helper to remove this warning. See 05:21:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:54 05:21:54 Login Succeeded 05:21:54 ****.io 05:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:55 Configure a credential helper to remove this warning. See 05:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:55 05:21:55 Login Succeeded 05:21:55 ---> ****-login.sh ends [Pipeline] } 05:21:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:21:55 ========================================================= 05:21:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine] 05:21:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine --build-arg MAKE=echo noop --target=builder . 05:21:56 Sending build context to Docker daemon 12.96MB 05:21:56 Step 1/10 : ARG BASE=golang:1.25-alpine3.22 05:21:56 Step 2/10 : FROM ${BASE} AS builder 05:21:56 1.25-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:21:56 6b59a28fa201: Pulling fs layer 05:21:56 d32bb0dddca7: Pulling fs layer 05:21:56 5dab1238d3d9: Pulling fs layer 05:21:56 196fd7d83e7d: Pulling fs layer 05:21:56 4f4fb700ef54: Pulling fs layer 05:21:56 8ba94037c8f0: Pulling fs layer 05:21:56 deaec5988b04: Pulling fs layer 05:21:56 9f65657bb879: Pulling fs layer 05:21:56 196fd7d83e7d: Waiting 05:21:56 4f4fb700ef54: Waiting 05:21:56 8ba94037c8f0: Waiting 05:21:56 deaec5988b04: Waiting 05:21:56 9f65657bb879: Waiting 05:21:56 d32bb0dddca7: Verifying Checksum 05:21:56 d32bb0dddca7: Download complete 05:21:56 196fd7d83e7d: Verifying Checksum 05:21:56 196fd7d83e7d: Download complete 05:21:56 4f4fb700ef54: Verifying Checksum 05:21:56 4f4fb700ef54: Download complete 05:21:56 8ba94037c8f0: Download complete 05:21:56 6b59a28fa201: Verifying Checksum 05:21:56 6b59a28fa201: Download complete 05:21:57 9f65657bb879: Verifying Checksum 05:21:57 9f65657bb879: Download complete 05:21:58 5dab1238d3d9: Verifying Checksum 05:21:58 5dab1238d3d9: Download complete 05:21:58 6b59a28fa201: Pull complete 05:21:59 d32bb0dddca7: Pull complete 05:21:59 deaec5988b04: Verifying Checksum 05:21:59 deaec5988b04: Download complete 05:22:14 5dab1238d3d9: Pull complete 05:22:14 196fd7d83e7d: Pull complete 05:22:14 4f4fb700ef54: Pull complete 05:22:14 8ba94037c8f0: Pull complete 05:22:21 deaec5988b04: Pull complete 05:22:24 9f65657bb879: Pull complete 05:22:24 Digest: sha256:5e549ededf7788d4f1561b02b9f4d3bcf02ca02af9c1a1104d0a64a201fbeb28 05:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine 05:22:24 ---> 334268110677 05:22:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:22:26 ---> Running in 054add059c61 05:22:26 Removing intermediate container 054add059c61 05:22:26 ---> d03885ad5dc5 05:22:26 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:22:26 ---> Running in ae1260dff0aa 05:22:27 Removing intermediate container ae1260dff0aa 05:22:27 ---> 46a826e1d999 05:22:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:22:27 ---> Running in eb8306eab9ca 05:22:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:22:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:22:30 (1/8) Installing openssh-keygen (10.0_p1-r10) 05:22:30 (2/8) Installing libedit (20250104.3.1-r1) 05:22:30 (3/8) Installing openssh-client-common (10.0_p1-r10) 05:22:30 (4/8) Installing openssh-client-default (10.0_p1-r10) 05:22:30 (5/8) Installing openssh-sftp-server (10.0_p1-r10) 05:22:30 (6/8) Installing openssh-server-common (10.0_p1-r10) 05:22:30 (7/8) Installing openssh-server (10.0_p1-r10) 05:22:30 (8/8) Installing openssh (10.0_p1-r10) 05:22:30 Executing busybox-1.37.0-r19.trigger 05:22:30 OK: 262 MiB in 68 packages 05:22:31 Removing intermediate container eb8306eab9ca 05:22:31 ---> 444fa08e718d 05:22:31 Step 6/10 : WORKDIR /device-modbus-go 05:22:31 ---> Running in bf68b97117a5 05:22:32 Removing intermediate container bf68b97117a5 05:22:32 ---> bbae29d1beb1 05:22:32 Step 7/10 : COPY go.mod vendor* ./ 05:22:32 ---> 51b65cd0c2b1 05:22:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:32 ---> Running in 231ca96475ac 05:24:24 Removing intermediate container 231ca96475ac 05:24:24 ---> 13c0b0d9c65f 05:24:24 Step 9/10 : COPY . . 05:24:24 ---> 54b7d1dd3182 05:24:24 Step 10/10 : RUN ${MAKE} 05:24:24 ---> Running in 7569a27ae350 05:24:24 noop 05:24:24 Removing intermediate container 7569a27ae350 05:24:24 ---> 028d338d6fc2 05:24:24 Successfully built 028d338d6fc2 05:24:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:24 + docker inspect -f . ci-base-image-arm64 05:24:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:24 prd-ubuntu20.04-docker-arm64-4c-16g-775200 does not seem to be running inside a container 05:24:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/208 -v /w/workspace/device-modbus-go/208:/w/workspace/device-modbus-go/208:rw,z -v /w/workspace/device-modbus-go/208@tmp:/w/workspace/device-modbus-go/208@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 05:24:26 $ docker top 568dc23c3a04411e132e1679797217fe9d4559991ceb37b25efaeb323bf0280d -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:27 + go version 05:24:29 go version go1.25.3 linux/arm64 [Pipeline] } 05:24:29 $ docker stop --time=1 568dc23c3a04411e132e1679797217fe9d4559991ceb37b25efaeb323bf0280d 05:24:30 $ docker rm -f --volumes 568dc23c3a04411e132e1679797217fe9d4559991ceb37b25efaeb323bf0280d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:31 + docker inspect -f . ci-base-image-arm64 05:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:31 prd-ubuntu20.04-docker-arm64-4c-16g-775200 does not seem to be running inside a container 05:24:31 $ 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/208 -v /w/workspace/device-modbus-go/208:/w/workspace/device-modbus-go/208:rw,z -v /w/workspace/device-modbus-go/208@tmp:/w/workspace/device-modbus-go/208@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 05:24:33 $ docker top affe330d0cb3ea1e464eabb4ca1087c29d0a8bb9aa0f6af4174720badc58b389 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:34 + git config --global --add safe.directory /w/workspace/device-modbus-go/208 [Pipeline] fileExists [Pipeline] sh 05:24:34 + make test 05:24:34 go test ./... -coverprofile=coverage.out ./... 05:24:40 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:28:16 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 05:28:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 45.4% of statements 05:28:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:28:19 go vet ./... 05:29:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:29:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:29:15 ./bin/test-attribution-txt.sh [Pipeline] echo 05:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:29:15 $ docker stop --time=1 affe330d0cb3ea1e464eabb4ca1087c29d0a8bb9aa0f6af4174720badc58b389 05:29:17 $ docker rm -f --volumes affe330d0cb3ea1e464eabb4ca1087c29d0a8bb9aa0f6af4174720badc58b389 [Pipeline] // withDockerContainer [Pipeline] sh 05:29:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:29:19 Warning: overwriting stash ‘coverage-report’ 05:29:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:29:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:29:20 + ls -al . 05:29:20 total 260 05:29:20 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 05:24 . 05:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 05:21 .. 05:29:20 -rw-rw-r-- 1 jenkins jenkins 140 Dec 17 05:21 .dockerignore 05:29:20 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 05:21 .git 05:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 05:21 .github 05:29:20 -rw-rw-r-- 1 jenkins jenkins 266 Dec 17 05:21 .gitignore 05:29:20 -rw-rw-r-- 1 jenkins jenkins 359 Dec 17 05:21 .golangci.yml 05:29:20 -rw-rw-r-- 1 jenkins jenkins 22459 Dec 17 05:21 Attribution.txt 05:29:20 -rw-rw-r-- 1 jenkins jenkins 18046 Dec 17 05:21 CHANGELOG.md 05:29:20 -rw-rw-r-- 1 jenkins jenkins 1479 Dec 17 05:21 Dockerfile 05:29:20 -rw-rw-r-- 1 jenkins jenkins 677 Dec 17 05:21 GOVERNANCE.md 05:29:20 -rw-rw-r-- 1 jenkins jenkins 681 Dec 17 05:21 Jenkinsfile 05:29:20 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 17 05:21 LICENSE 05:29:20 -rw-rw-r-- 1 jenkins jenkins 2529 Dec 17 05:21 Makefile 05:29:20 -rw-rw-r-- 1 jenkins jenkins 622 Dec 17 05:21 OWNERS.md 05:29:20 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 17 05:21 README.md 05:29:20 -rw-rw-r-- 1 jenkins jenkins 12 Dec 17 05:18 VERSION 05:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 05:21 bin 05:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 05:21 cmd 05:29:20 -rw-r--r-- 1 jenkins jenkins 28001 Dec 17 05:28 coverage.out 05:29:20 -rw-rw-r-- 1 jenkins jenkins 6959 Dec 17 05:21 go.mod 05:29:20 -rw-rw-r-- 1 jenkins jenkins 89680 Dec 17 05:21 go.sum 05:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 05:21 internal 05:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 05:21 simulator 05:29:20 -rw-rw-r-- 1 jenkins jenkins 229 Dec 17 05:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:20 + 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=d93774f6323e2d664e1d824b30137e6a0bc718dc --label arch=arm64 --label version=4.1.0-dev.16 . 05:29:21 Sending build context to Docker daemon 12.99MB 05:29:21 Step 1/23 : ARG BASE=golang:1.25-alpine3.22 05:29:21 Step 2/23 : FROM ${BASE} AS builder 05:29:21 ---> 028d338d6fc2 05:29:21 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:29:21 ---> Running in 8692a4a11a64 05:29:21 Removing intermediate container 8692a4a11a64 05:29:21 ---> 0ac5b2fcdf62 05:29:21 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:21 ---> Running in 25f18d4c9526 05:29:22 Removing intermediate container 25f18d4c9526 05:29:22 ---> 2d03d9c02bcb 05:29:22 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:29:22 ---> Running in adc4b213f7a4 05:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:29:25 OK: 262 MiB in 68 packages 05:29:26 Removing intermediate container adc4b213f7a4 05:29:26 ---> 76191b506b70 05:29:26 Step 6/23 : WORKDIR /device-modbus-go 05:29:26 ---> Running in c1afca5882eb 05:29:26 Removing intermediate container c1afca5882eb 05:29:26 ---> 189c4dc14710 05:29:26 Step 7/23 : COPY go.mod vendor* ./ 05:29:27 ---> 77db0fa02d88 05:29:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:27 ---> Running in f36f1bcc807d 05:29:29 Removing intermediate container f36f1bcc807d 05:29:29 ---> f9c51bb70cdd 05:29:29 Step 9/23 : COPY . . 05:29:30 ---> a38ea360f139 05:29:30 Step 10/23 : RUN ${MAKE} 05:29:30 ---> Running in 6733cec677b3 05:29:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.48 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:33:08 Removing intermediate container 6733cec677b3 05:33:08 ---> 5b8c2818c4a8 05:33:08 Step 11/23 : FROM alpine:3.22 05:33:08 3.22: Pulling from library/alpine 05:33:08 6b59a28fa201: Already exists 05:33:08 Digest: sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 05:33:08 Status: Downloaded newer image for alpine:3.22 05:33:08 ---> 171e65262c80 05:33:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 05:33:08 ---> Running in 96044bbda0f2 05:33:08 Removing intermediate container 96044bbda0f2 05:33:08 ---> 880b2c7edfd1 05:33:08 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:33:08 ---> Running in 24afe280a7e1 05:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:33:08 (1/1) Installing dumb-init (1.2.5-r3) 05:33:08 Executing busybox-1.37.0-r19.trigger 05:33:08 OK: 8 MiB in 17 packages 05:33:09 Removing intermediate container 24afe280a7e1 05:33:09 ---> 99ba6c906fd8 05:33:09 Step 14/23 : RUN apk --no-cache upgrade 05:33:09 ---> Running in fbc050c11da1 05:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:33:11 (1/3) Upgrading busybox (1.37.0-r19 -> 1.37.0-r20) 05:33:11 Executing busybox-1.37.0-r20.post-upgrade 05:33:12 (2/3) Upgrading busybox-binsh (1.37.0-r19 -> 1.37.0-r20) 05:33:12 (3/3) Upgrading ssl_client (1.37.0-r19 -> 1.37.0-r20) 05:33:12 Executing busybox-1.37.0-r20.trigger 05:33:12 OK: 8 MiB in 17 packages 05:33:13 Removing intermediate container fbc050c11da1 05:33:13 ---> 275b6fa279d1 05:33:13 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:33:15 ---> 98709ff417b2 05:33:15 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:33:16 ---> 6c280b4dc4da 05:33:16 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:33:17 ---> 39a0406b9d3d 05:33:17 Step 18/23 : EXPOSE 59901 05:33:17 ---> Running in a6fe89d58d73 05:33:17 Removing intermediate container a6fe89d58d73 05:33:17 ---> ac72003c6745 05:33:17 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:33:17 ---> Running in e78f9bd502e0 05:33:17 Removing intermediate container e78f9bd502e0 05:33:17 ---> 66ab7b9b0839 05:33:17 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:33:17 ---> Running in fcf15774cc64 05:33:18 Removing intermediate container fcf15774cc64 05:33:18 ---> da02ef31bdcc 05:33:18 Step 21/23 : LABEL arch=arm64 05:33:18 ---> Running in f133bf44862e 05:33:18 Removing intermediate container f133bf44862e 05:33:18 ---> 66ec762af1b5 05:33:18 Step 22/23 : LABEL git_sha=d93774f6323e2d664e1d824b30137e6a0bc718dc 05:33:18 ---> Running in 93ed44f4a2e0 05:33:18 Removing intermediate container 93ed44f4a2e0 05:33:18 ---> 23785ad4f77a 05:33:18 Step 23/23 : LABEL version=4.1.0-dev.16 05:33:18 ---> Running in 85fb21b4414c 05:33:19 Removing intermediate container 85fb21b4414c 05:33:19 ---> c5d14aaa5495 05:33:19 [Warning] One or more build-args [ARCH] were not consumed 05:33:19 Successfully built c5d14aaa5495 05:33:19 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 05:33:19 provisioning config files... 05:33:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/208@tmp/config2067154211742539114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:19 ---> ****-login.sh 05:33:19 nexus3.edgexfoundry.org:10001 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 nexus3.edgexfoundry.org:10002 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 nexus3.edgexfoundry.org:10003 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 nexus3.edgexfoundry.org:10004 05:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:21 Configure a credential helper to remove this warning. See 05:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:21 05:33:21 Login Succeeded 05:33:21 ****.io 05:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:33:21 Configure a credential helper to remove this warning. See 05:33:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:33:21 05:33:21 Login Succeeded 05:33:21 ---> ****-login.sh ends [Pipeline] } 05:33:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:33:21 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 05:33:21 d93774f6323e2d664e1d824b30137e6a0bc718dc 05:33:21 latest 05:33:21 4.1.0-dev.16 05:33:21 d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:33:21 main 05:33:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:22 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:22 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc 05:33:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:33:22 8acb620aa2ac: Preparing 05:33:22 c22e6ef9a324: Preparing 05:33:22 2af2bde95f1b: Preparing 05:33:22 01e540e2e820: Preparing 05:33:22 fcf6480e3315: Preparing 05:33:22 0e64f2360a44: Preparing 05:33:22 0e64f2360a44: Waiting 05:33:22 c22e6ef9a324: Pushed 05:33:22 fcf6480e3315: Pushed 05:33:22 8acb620aa2ac: Pushed 05:33:22 0e64f2360a44: Layer already exists 05:33:23 01e540e2e820: Pushed 05:33:31 2af2bde95f1b: Pushed 05:33:31 d93774f6323e2d664e1d824b30137e6a0bc718dc: digest: sha256:3991af926834c8156602fa3880d68f5a46e7267161578b7a11933ef147ecadff size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:33:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:33:31 8acb620aa2ac: Preparing 05:33:31 c22e6ef9a324: Preparing 05:33:31 2af2bde95f1b: Preparing 05:33:31 01e540e2e820: Preparing 05:33:31 fcf6480e3315: Preparing 05:33:31 0e64f2360a44: Preparing 05:33:31 0e64f2360a44: Waiting 05:33:31 01e540e2e820: Layer already exists 05:33:31 c22e6ef9a324: Layer already exists 05:33:31 fcf6480e3315: Layer already exists 05:33:31 2af2bde95f1b: Layer already exists 05:33:31 8acb620aa2ac: Layer already exists 05:33:31 0e64f2360a44: Layer already exists 05:33:31 latest: digest: sha256:3991af926834c8156602fa3880d68f5a46e7267161578b7a11933ef147ecadff size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:32 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.16 05:33:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:33:32 8acb620aa2ac: Preparing 05:33:32 c22e6ef9a324: Preparing 05:33:32 2af2bde95f1b: Preparing 05:33:32 01e540e2e820: Preparing 05:33:32 fcf6480e3315: Preparing 05:33:32 0e64f2360a44: Preparing 05:33:32 0e64f2360a44: Waiting 05:33:32 c22e6ef9a324: Layer already exists 05:33:32 01e540e2e820: Layer already exists 05:33:32 8acb620aa2ac: Layer already exists 05:33:32 fcf6480e3315: Layer already exists 05:33:32 2af2bde95f1b: Layer already exists 05:33:32 0e64f2360a44: Layer already exists 05:33:32 4.1.0-dev.16: digest: sha256:3991af926834c8156602fa3880d68f5a46e7267161578b7a11933ef147ecadff size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:33 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:33 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:33:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:33:33 8acb620aa2ac: Preparing 05:33:33 c22e6ef9a324: Preparing 05:33:33 2af2bde95f1b: Preparing 05:33:33 01e540e2e820: Preparing 05:33:33 fcf6480e3315: Preparing 05:33:33 0e64f2360a44: Preparing 05:33:33 0e64f2360a44: Waiting 05:33:33 8acb620aa2ac: Layer already exists 05:33:33 01e540e2e820: Layer already exists 05:33:33 c22e6ef9a324: Layer already exists 05:33:33 fcf6480e3315: Layer already exists 05:33:33 2af2bde95f1b: Layer already exists 05:33:33 0e64f2360a44: Layer already exists 05:33:33 d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16: digest: sha256:3991af926834c8156602fa3880d68f5a46e7267161578b7a11933ef147ecadff size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:34 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:34 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 05:33:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 05:33:34 8acb620aa2ac: Preparing 05:33:34 c22e6ef9a324: Preparing 05:33:34 2af2bde95f1b: Preparing 05:33:34 01e540e2e820: Preparing 05:33:34 fcf6480e3315: Preparing 05:33:34 0e64f2360a44: Preparing 05:33:34 0e64f2360a44: Waiting 05:33:34 2af2bde95f1b: Layer already exists 05:33:34 c22e6ef9a324: Layer already exists 05:33:34 fcf6480e3315: Layer already exists 05:33:34 8acb620aa2ac: Layer already exists 05:33:34 01e540e2e820: Layer already exists 05:33:34 0e64f2360a44: Layer already exists 05:33:34 main: digest: sha256:3991af926834c8156602fa3880d68f5a46e7267161578b7a11933ef147ecadff size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:34 ===================================================== [Pipeline] echo 05:33:34 taggedImages: 05:33:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc 05:33:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 05:33:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.16 05:33:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 05:33:34 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] echo 05:33:34 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc [Pipeline] echo 05:33:34 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] echo 05:33:34 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.16 [Pipeline] echo 05:33:34 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:d93774f6323e2d664e1d824b30137e6a0bc718dc-4.1.0-dev.16 [Pipeline] echo 05:33:34 Skip building multi-arch image for 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 05:33:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:34 05:33:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:35 arm64: Pulling from edgex-lftools-log-publisher 05:33:35 8998bd30e6a1: Pulling fs layer 05:33:35 04944245beec: Pulling fs layer 05:33:35 699f458cf7ca: Pulling fs layer 05:33:35 765212b225bb: Pulling fs layer 05:33:35 f23df028b6ca: Pulling fs layer 05:33:35 d65c8cfc05b1: Pulling fs layer 05:33:35 765212b225bb: Waiting 05:33:35 f23df028b6ca: Waiting 05:33:35 2437ff75d9bd: Pulling fs layer 05:33:35 d65c8cfc05b1: Waiting 05:33:35 2437ff75d9bd: Waiting 05:33:35 04944245beec: Verifying Checksum 05:33:35 04944245beec: Download complete 05:33:35 765212b225bb: Verifying Checksum 05:33:35 765212b225bb: Download complete 05:33:35 f23df028b6ca: Verifying Checksum 05:33:35 f23df028b6ca: Download complete 05:33:35 d65c8cfc05b1: Verifying Checksum 05:33:35 d65c8cfc05b1: Download complete 05:33:35 699f458cf7ca: Verifying Checksum 05:33:35 699f458cf7ca: Download complete 05:33:36 8998bd30e6a1: Verifying Checksum 05:33:36 8998bd30e6a1: Download complete 05:33:38 2437ff75d9bd: Verifying Checksum 05:33:38 2437ff75d9bd: Download complete 05:33:43 8998bd30e6a1: Pull complete 05:33:43 04944245beec: Pull complete 05:33:44 699f458cf7ca: Pull complete 05:33:44 765212b225bb: Pull complete 05:33:45 f23df028b6ca: Pull complete 05:33:45 d65c8cfc05b1: Pull complete 05:34:03 2437ff75d9bd: Pull complete 05:34:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:34:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:04 prd-ubuntu20.04-docker-arm64-4c-16g-775200 does not seem to be running inside a container 05:34:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/208 -v /w/workspace/device-modbus-go/208:/w/workspace/device-modbus-go/208:rw,z -v /w/workspace/device-modbus-go/208@tmp:/w/workspace/device-modbus-go/208@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 05:34:06 $ docker top f4254f5ec8c6383d39782ef29438a6a9a6dd928967c50e3468fa4cb8021cdb63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:07 ---> job-cost.sh 05:34:07 lf-activate-venv: SKIPPING 05:34:07 INFO: No Stack... 05:34:07 INFO: Retrieving Pricing Info for: v3-standard-4 05:34:08 INFO: Archiving Costs [Pipeline] sh 05:34:09 + cat /w/workspace/device-modbus-go/208/archives/cost.csv 05:34:09 + cut -d, -f6 [Pipeline] lock 05:34:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] 05:34:09 Resource [jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] did not exist. Created. 05:34:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:34:09 + echo total: 0.10999999940395355 [Pipeline] stash 05:34:09 Stashed 1 file(s) [Pipeline] } 05:34:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] [Pipeline] // lock [Pipeline] } 05:34:10 $ docker stop --time=1 f4254f5ec8c6383d39782ef29438a6a9a6dd928967c50e3468fa4cb8021cdb63 05:34:11 $ docker rm -f --volumes f4254f5ec8c6383d39782ef29438a6a9a6dd928967c50e3468fa4cb8021cdb63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:17:41 Cancelling nested steps due to timeout 11:17:41 Sending interrupt signal to process 11:17:55 script returned exit code 143 [Pipeline] } 11:17:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:17:56 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:17:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:17:57 ---> package-listing.sh 11:17:57 ++ facter osfamily 11:17:57 ++ tr '[:upper:]' '[:lower:]' 11:17:57 + OS_FAMILY=redhat 11:17:57 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 11:17:57 + START_PACKAGES=/tmp/packages_start.txt 11:17:57 + END_PACKAGES=/tmp/packages_end.txt 11:17:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:17:57 + PACKAGES=/tmp/packages_start.txt 11:17:57 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:17:57 + PACKAGES=/tmp/packages_end.txt 11:17:57 + case "${OS_FAMILY}" in 11:17:57 + rpm -qa 11:17:57 + sort 11:17:58 + '[' -f /tmp/packages_start.txt ']' 11:17:58 + '[' -f /tmp/packages_end.txt ']' 11:17:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:17:58 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:17:58 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 11:17:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 11:17:58 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 11:17:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:58 11:17:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:59 latest: Pulling from edgex-lftools-log-publisher 11:17:59 5eb5b503b376: Pulling fs layer 11:17:59 5c69ac0246d0: Pulling fs layer 11:17:59 ec43610c2a17: Pulling fs layer 11:17:59 3a2ae6a8a46f: Pulling fs layer 11:17:59 33b1e0a273af: Pulling fs layer 11:17:59 5d3b04190fa2: Pulling fs layer 11:17:59 2f39f015ded8: Pulling fs layer 11:17:59 3a2ae6a8a46f: Waiting 11:17:59 33b1e0a273af: Waiting 11:17:59 5d3b04190fa2: Waiting 11:17:59 2f39f015ded8: Waiting 11:17:59 5c69ac0246d0: Verifying Checksum 11:17:59 5c69ac0246d0: Download complete 11:17:59 3a2ae6a8a46f: Verifying Checksum 11:17:59 3a2ae6a8a46f: Download complete 11:17:59 33b1e0a273af: Download complete 11:17:59 ec43610c2a17: Verifying Checksum 11:17:59 ec43610c2a17: Download complete 11:17:59 5d3b04190fa2: Verifying Checksum 11:17:59 5d3b04190fa2: Download complete 11:17:59 5eb5b503b376: Verifying Checksum 11:17:59 5eb5b503b376: Download complete 11:18:00 2f39f015ded8: Verifying Checksum 11:18:00 2f39f015ded8: Download complete 11:18:00 5eb5b503b376: Pull complete 11:18:00 5c69ac0246d0: Pull complete 11:18:01 ec43610c2a17: Pull complete 11:18:01 3a2ae6a8a46f: Pull complete 11:18:01 33b1e0a273af: Pull complete 11:18:01 5d3b04190fa2: Pull complete 11:18:05 2f39f015ded8: Pull complete 11:18:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:06 prd-centos7-docker-4c-2g-775201 does not seem to be running inside a container 11:18:06 $ 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 11:18:09 $ docker top 740ca2870b8d6cb0e54227d060e6e5a7ed7cb333d666a794098aed2988cfe8ce -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:10 + touch /tmp/pre-build-complete [Pipeline] sh 11:18:10 + mkdir -p /var/log/sysstat [Pipeline] sh 11:18:10 + ls /var/log/sa-host 11:18:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:10 provisioning config files... 11:18:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config988123071642073688tmp [Pipeline] { [Pipeline] echo 11:18:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:18:11 ---> create-netrc.sh [Pipeline] } 11:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:18:11 ---> python-tools-install.sh [Pipeline] echo 11:18:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:18:11 ---> sudo-logs.sh 11:18:11 Archiving 'sudo' log.. 11:18:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-775201.novalocal: Name or service not known 11:18:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-775201.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:18:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:18:12 ---> job-cost.sh 11:18:12 lf-activate-venv: SKIPPING 11:18:12 DEBUG: total: 0.10999999940395355 11:18:12 INFO: Retrieving Stack Cost... 11:18:12 INFO: Retrieving Pricing Info for: v3-standard-2 11:18:12 INFO: Archiving Costs [Pipeline] echo 11:18:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:18:13 ---> logs-deploy.sh 11:18:13 lf-activate-venv: SKIPPING 11:18:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/208 11:18:13 INFO: archiving workspace using pattern(s): 11:18:14 Archives upload complete. 11:18:14 INFO: archiving logs to Nexus 11:18:15 ---> uname -a: 11:18:15 Linux prd-centos7-docker-4c-2g-775201.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 11:18:15 11:18:15 11:18:15 ---> lscpu: 11:18:15 Architecture: x86_64 11:18:15 CPU op-mode(s): 32-bit, 64-bit 11:18:15 Byte Order: Little Endian 11:18:15 Address sizes: 40 bits physical, 48 bits virtual 11:18:15 CPU(s): 2 11:18:15 On-line CPU(s) list: 0,1 11:18:15 Thread(s) per core: 1 11:18:15 Core(s) per socket: 1 11:18:15 Socket(s): 2 11:18:15 NUMA node(s): 1 11:18:15 Vendor ID: AuthenticAMD 11:18:15 CPU family: 23 11:18:15 Model: 49 11:18:15 Model name: AMD EPYC-Rome Processor 11:18:15 Stepping: 0 11:18:15 CPU MHz: 2799.996 11:18:15 BogoMIPS: 5599.99 11:18:15 Virtualization: AMD-V 11:18:15 Hypervisor vendor: KVM 11:18:15 Virtualization type: full 11:18:15 L1d cache: 64 KiB 11:18:15 L1i cache: 64 KiB 11:18:15 L2 cache: 1 MiB 11:18:15 L3 cache: 32 MiB 11:18:15 NUMA node0 CPU(s): 0,1 11:18:15 Vulnerability Itlb multihit: Not affected 11:18:15 Vulnerability L1tf: Not affected 11:18:15 Vulnerability Mds: Not affected 11:18:15 Vulnerability Meltdown: Not affected 11:18:15 Vulnerability Mmio stale data: Not affected 11:18:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:18:15 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 11:18:15 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 11:18:15 Vulnerability Srbds: Not affected 11:18:15 Vulnerability Tsx async abort: Not affected 11:18:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 11:18:15 11:18:15 11:18:15 ---> nproc: 11:18:15 2 11:18:15 11:18:15 11:18:15 ---> df -h: 11:18:15 Filesystem Size Used Avail Use% Mounted on 11:18:15 overlay 40G 6.8G 34G 17% / 11:18:15 tmpfs 64M 0 64M 0% /dev 11:18:15 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 11:18:15 shm 64M 0 64M 0% /dev/shm 11:18:15 /dev/vda1 40G 6.8G 34G 17% /facter-os 11:18:15 11:18:15 11:18:15 Cannot open /var/log/sysstat/sa17: No such file or directory 11:18:15 Please check if data collecting is enabled 11:18:15 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:18:15 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 11:18:15 $ docker stop --time=1 740ca2870b8d6cb0e54227d060e6e5a7ed7cb333d666a794098aed2988cfe8ce 11:18:16 $ docker rm -f --volumes 740ca2870b8d6cb0e54227d060e6e5a7ed7cb333d666a794098aed2988cfe8ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 11:18:16 [WS-CLEANUP] Deleting project workspace... 11:18:16 [WS-CLEANUP] Deferred wipeout is used... 11:18:16 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:16 11:18:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:17 latest: Pulling from edgex-lftools-log-publisher 11:18:17 5eb5b503b376: Pulling fs layer 11:18:17 5c69ac0246d0: Pulling fs layer 11:18:17 ec43610c2a17: Pulling fs layer 11:18:17 3a2ae6a8a46f: Pulling fs layer 11:18:17 33b1e0a273af: Pulling fs layer 11:18:17 5d3b04190fa2: Pulling fs layer 11:18:17 2f39f015ded8: Pulling fs layer 11:18:17 3a2ae6a8a46f: Waiting 11:18:17 33b1e0a273af: Waiting 11:18:17 5d3b04190fa2: Waiting 11:18:17 2f39f015ded8: Waiting 11:18:17 5c69ac0246d0: Download complete 11:18:17 3a2ae6a8a46f: Verifying Checksum 11:18:17 3a2ae6a8a46f: Download complete 11:18:17 33b1e0a273af: Verifying Checksum 11:18:17 33b1e0a273af: Download complete 11:18:17 5d3b04190fa2: Verifying Checksum 11:18:17 5d3b04190fa2: Download complete 11:18:17 ec43610c2a17: Verifying Checksum 11:18:17 ec43610c2a17: Download complete 11:18:17 5eb5b503b376: Verifying Checksum 11:18:17 5eb5b503b376: Download complete 11:18:18 2f39f015ded8: Verifying Checksum 11:18:18 2f39f015ded8: Download complete 11:18:19 5eb5b503b376: Pull complete 11:18:19 5c69ac0246d0: Pull complete 11:18:19 ec43610c2a17: Pull complete 11:18:19 3a2ae6a8a46f: Pull complete 11:18:19 33b1e0a273af: Pull complete 11:18:19 5d3b04190fa2: Pull complete 11:18:26 2f39f015ded8: Pull complete 11:18:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:18:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:26 prd-ubuntu20.04-docker-8c-8g-775198 does not seem to be running inside a container 11:18:26 $ 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 11:18:30 $ docker top 5b3141fd00c29d88e438baa35adba2201ad61efd7998146eda31217427221af3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:30 ---> job-cost.sh 11:18:30 lf-activate-venv: SKIPPING 11:18:30 INFO: No Stack... 11:18:30 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:30 INFO: Archiving Costs [Pipeline] sh 11:18:31 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 11:18:31 + cut -d, -f6 [Pipeline] lock 11:18:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] 11:18:31 Resource [jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] did not exist. Created. 11:18:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:18:31 /w/workspace/gexfoundry_device-modbus-go_main@tmp/durable-8682d8c3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:18:31 + echo total: 1.5299999713897705 [Pipeline] stash 11:18:31 Warning: overwriting stash ‘stack-cost’ 11:18:31 Stashed 1 file(s) [Pipeline] } 11:18:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-208-stack-cost] [Pipeline] // lock [Pipeline] } 11:18:31 $ docker stop --time=1 5b3141fd00c29d88e438baa35adba2201ad61efd7998146eda31217427221af3 11:18:33 $ docker rm -f --volumes 5b3141fd00c29d88e438baa35adba2201ad61efd7998146eda31217427221af3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:18:33 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 11:18:34 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 11:18:34 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:18:34 total 16 11:18:34 drwxr-xr-x 3 root root 4096 Dec 17 11:18 . 11:18:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 17 11:18 .. 11:18:34 drwxr-xr-x 2 root root 4096 Dec 17 11:18 cost 11:18:34 -rw-r--r-- 1 root root 90 Dec 17 11:18 cost.csv 11:18:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 11:18:34 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 11:18:34 total 16 11:18:34 drwxr-xr-x 3 jenkins jenkins 4096 Dec 17 11:18 . 11:18:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 17 11:18 .. 11:18:34 drwxr-xr-x 2 jenkins jenkins 4096 Dec 17 11:18 cost 11:18:34 -rw-r--r-- 1 jenkins jenkins 90 Dec 17 11:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:18:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:18:35 ---> package-listing.sh 11:18:35 ++ facter osfamily 11:18:35 ++ tr '[:upper:]' '[:lower:]' 11:18:35 + OS_FAMILY=debian 11:18:35 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 11:18:35 + START_PACKAGES=/tmp/packages_start.txt 11:18:35 + END_PACKAGES=/tmp/packages_end.txt 11:18:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:18:35 + PACKAGES=/tmp/packages_start.txt 11:18:35 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:18:35 + PACKAGES=/tmp/packages_end.txt 11:18:35 + case "${OS_FAMILY}" in 11:18:35 + dpkg -l 11:18:35 + grep '^ii' 11:18:35 + '[' -f /tmp/packages_start.txt ']' 11:18:35 + '[' -f /tmp/packages_end.txt ']' 11:18:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:18:35 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 11:18:35 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 11:18:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 11:18:35 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 11:18:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:36 prd-ubuntu20.04-docker-8c-8g-775198 does not seem to be running inside a container 11:18:36 $ 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 11:18:36 $ docker top 4fb0b5369f19adbfe117e35ec11a99ab26241b798442fbe460d37b23322e2125 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:37 + touch /tmp/pre-build-complete [Pipeline] sh 11:18:37 + mkdir -p /var/log/sysstat [Pipeline] sh 11:18:37 + ls /var/log/sa-host 11:18:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:37 provisioning config files... 11:18:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config796287240888257149tmp [Pipeline] { [Pipeline] echo 11:18:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:18:37 ---> create-netrc.sh [Pipeline] } 11:18:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:18:38 ---> python-tools-install.sh [Pipeline] echo 11:18:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:18:38 ---> sudo-logs.sh 11:18:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:18:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:18:38 ---> job-cost.sh 11:18:38 lf-activate-venv: SKIPPING 11:18:38 DEBUG: total: 1.5299999713897705 11:18:38 INFO: Retrieving Stack Cost... 11:18:38 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:39 INFO: Archiving Costs [Pipeline] echo 11:18:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:18:39 ---> logs-deploy.sh 11:18:39 lf-activate-venv: SKIPPING 11:18:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/208 11:18:39 INFO: archiving workspace using pattern(s): 11:18:40 Archives upload complete. 11:18:40 INFO: archiving logs to Nexus