Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 089867b0b0d00f771f727352db61cbcad45eb9d4+11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 (f1e43f0a4558a1515d0355ee83710b370c629cdd) 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-ssh4607225151616221775.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5091440523723899317.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-590/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/PR-590/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2535368808026572203.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12758605668879468838.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/PR-590/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/PR-590/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11542886551664914673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25989 in /w/workspace/xfoundry_device-modbus-go_PR-590 [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/xfoundry_device-modbus-go_PR-590 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/590/head:refs/remotes/origin/PR-590 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 into PR head commit 089867b0b0d00f771f727352db61cbcad45eb9d4 Merge succeeded, producing baeffff832230afdef053380aed2c051c71752e5 Checking out Revision baeffff832230afdef053380aed2c051c71752e5 (PR-590) > git config core.sparsecheckout # timeout=10 > git checkout -f 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f baeffff832230afdef053380aed2c051c71752e5 # timeout=10 Commit message: "Merge commit '11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2' into HEAD" > git rev-list --no-walk 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:55:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:55:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:55:18 ========================================================= 00:55:18 EdgeX Global Pipelines Version Info 00:55:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:55:19 ------------------- 00:55:19 stable info: 00:55:19 ------------------- 00:55:19 Commited By: Ginny Guan ginny@iotechsys.com 00:55:19 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 00:55:19 Message: update stable to v1.0.265 00:55:20 ------------------- 00:55:20 experimental info: 00:55:20 ------------------- 00:55:20 Commited By: Cherry Wang cherry@iotechsys.com 00:55:20 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 00:55:20 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-590 [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-590 [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-590 [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = baeffff [Pipeline] echo 00:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:21 provisioning config files... 00:55:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config15920470009117013313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:21 ---> ****-login.sh 00:55:21 nexus3.edgexfoundry.org:10001 00:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:21 Configure a credential helper to remove this warning. See 00:55:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:21 00:55:21 Login Succeeded 00:55:21 nexus3.edgexfoundry.org:10002 00:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:21 Configure a credential helper to remove this warning. See 00:55:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:21 00:55:21 Login Succeeded 00:55:21 nexus3.edgexfoundry.org:10003 00:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:21 Configure a credential helper to remove this warning. See 00:55:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:21 00:55:21 Login Succeeded 00:55:21 nexus3.edgexfoundry.org:10004 00:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:21 Configure a credential helper to remove this warning. See 00:55:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:21 00:55:21 Login Succeeded 00:55:21 ****.io 00:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:22 Configure a credential helper to remove this warning. See 00:55:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:22 00:55:22 Login Succeeded 00:55:22 ---> ****-login.sh ends [Pipeline] } 00:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:55:22 + git rev-list -1 --merges baeffff832230afdef053380aed2c051c71752e5~1..baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo 00:55:22 -----------> git rev-list -1 --merges baeffff832230afdef053380aed2c051c71752e5~1..baeffff832230afdef053380aed2c051c71752e5 baeffff832230afdef053380aed2c051c71752e5 00:55:22 baeffff832230afdef053380aed2c051c71752e5 [false] [Pipeline] sh 00:55:22 + git log --format=format:%s -1 baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo 00:55:22 ========================================================= 00:55:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:55:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:23 + git log --format=format:%s -1 baeffff832230afdef053380aed2c051c71752e5 [Pipeline] echo 00:55:23 [semverPrep] GIT_COMMIT: baeffff832230afdef053380aed2c051c71752e5, Commit Message: Merge commit '11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2' into HEAD [Pipeline] echo 00:55:23 [semverPrep] This is not a build commit. [Pipeline] sh 00:55:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:55:23 + grep -v github /etc/ssh/ssh_known_hosts 00:55:23 + [ -e /tmp/ssh_known_hosts ] 00:55:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:55:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:55:23 + sudo tee -a /etc/ssh/ssh_known_hosts 00:55:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:24 00:55:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:24 0.1.4: Pulling from edgex-devops/py-git-semver 00:55:24 b85a868b505f: Pulling fs layer 00:55:24 e2be974225ed: Pulling fs layer 00:55:24 339a4e72a1f5: Pulling fs layer 00:55:24 988bab9f4d93: Pulling fs layer 00:55:24 1469e6f7b9e6: Pulling fs layer 00:55:24 eaf3925da568: Pulling fs layer 00:55:24 bab4dde63d76: Pulling fs layer 00:55:24 bde34c3a00c8: Pulling fs layer 00:55:24 b352a97aabf1: Pulling fs layer 00:55:24 4872d77fe225: Pulling fs layer 00:55:24 5851b861e8e6: Pulling fs layer 00:55:24 988bab9f4d93: Waiting 00:55:24 bab4dde63d76: Waiting 00:55:24 1469e6f7b9e6: Waiting 00:55:24 bde34c3a00c8: Waiting 00:55:24 eaf3925da568: Waiting 00:55:24 b352a97aabf1: Waiting 00:55:24 5851b861e8e6: Waiting 00:55:24 4872d77fe225: Waiting 00:55:24 e2be974225ed: Download complete 00:55:24 988bab9f4d93: Verifying Checksum 00:55:24 988bab9f4d93: Download complete 00:55:24 1469e6f7b9e6: Verifying Checksum 00:55:24 1469e6f7b9e6: Download complete 00:55:24 eaf3925da568: Verifying Checksum 00:55:24 eaf3925da568: Download complete 00:55:24 339a4e72a1f5: Verifying Checksum 00:55:24 339a4e72a1f5: Download complete 00:55:24 bde34c3a00c8: Download complete 00:55:24 b352a97aabf1: Download complete 00:55:24 4872d77fe225: Verifying Checksum 00:55:24 4872d77fe225: Download complete 00:55:24 5851b861e8e6: Verifying Checksum 00:55:24 5851b861e8e6: Download complete 00:55:24 b85a868b505f: Verifying Checksum 00:55:24 b85a868b505f: Download complete 00:55:25 bab4dde63d76: Verifying Checksum 00:55:25 bab4dde63d76: Download complete 00:55:26 b85a868b505f: Pull complete 00:55:26 e2be974225ed: Pull complete 00:55:26 339a4e72a1f5: Pull complete 00:55:26 988bab9f4d93: Pull complete 00:55:26 1469e6f7b9e6: Pull complete 00:55:27 eaf3925da568: Pull complete 00:55:29 bab4dde63d76: Pull complete 00:55:29 bde34c3a00c8: Pull complete 00:55:29 b352a97aabf1: Pull complete 00:55:29 4872d77fe225: Pull complete 00:55:29 5851b861e8e6: Pull complete 00:55:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:29 prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container 00:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:55:33 $ docker top 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e -eo pid,comm 00:55:33 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). 00:55:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:33 [ssh-agent] Looking for ssh-agent implementation... 00:55:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:33 $ docker exec 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent 00:55:34 SSH_AUTH_SOCK=/tmp/ssh-YY1dXVgdTBhk/agent.32 00:55:34 SSH_AGENT_PID=38 00:55:34 Running ssh-add (command line suppressed) 00:55:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_13303643374612644866.key (/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_13303643374612644866.key) 00:55:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:34 + git tag --points-at HEAD [Pipeline] } 00:55:34 $ docker exec --env ******** --env ******** 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent -k 00:55:34 unset SSH_AUTH_SOCK; 00:55:34 unset SSH_AGENT_PID; 00:55:34 echo Agent pid 38 killed; 00:55:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:34 [ssh-agent] Looking for ssh-agent implementation... 00:55:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:34 $ docker exec 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent 00:55:34 SSH_AUTH_SOCK=/tmp/ssh-zUISYLk9h5qB/agent.72 00:55:34 SSH_AGENT_PID=78 00:55:34 Running ssh-add (command line suppressed) 00:55:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_16050124744936927858.key (/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/private_key_16050124744936927858.key) 00:55:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:35 + git semver init 00:55:35 2024-11-09 00:55:35,473 [run_init] DEBUG init version:0.0.0 force:False 00:55:35 2024-11-09 00:55:35,474 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-590/.semver 00:55:35 2024-11-09 00:55:35,474 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-590/.semver 00:55:35 2024-11-09 00:55:35,474 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-590/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-590, universal_newlines=False, shell=None, istream=None) 00:55:36 2024-11-09 00:55:36,514 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-590/.git/info/exclude 00:55:36 2024-11-09 00:55:36,515 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-590/.semver/PR-590 with force:False 00:55:36 2024-11-09 00:55:36,515 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-590/.semver/PR-590 00:55:36 2024-11-09 00:55:36,519 [execute] INFO git cat-file --batch-check 00:55:36 2024-11-09 00:55:36,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-590/.semver, universal_newlines=False, shell=None, istream=) 00:55:36 2024-11-09 00:55:36,527 [execute] INFO git cat-file --batch 00:55:36 2024-11-09 00:55:36,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-590/.semver, universal_newlines=False, shell=None, istream=) 00:55:36 2024-11-09 00:55:36,533 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-590/.semver/PR-590 00:55:36 0.0.0 [Pipeline] } 00:55:36 $ docker exec --env ******** --env ******** 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e ssh-agent -k 00:55:37 unset SSH_AUTH_SOCK; 00:55:37 unset SSH_AGENT_PID; 00:55:37 echo Agent pid 78 killed; 00:55:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:37 + git semver [Pipeline] } 00:55:37 $ docker stop --time=1 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e 00:55:38 $ docker rm -f --volumes 5f08333003bc970fd41886a46a3805202c6a8966427de979e087309e5cdd7a3e [Pipeline] // withDockerContainer [Pipeline] sh 00:55:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:39 Stashed 1 file(s) [Pipeline] echo 00:55:39 [edgeXSemver]: initialized semver on version 0.0.0 [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 00:55:39 provisioning config files... 00:55:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config13206222867495892951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:40 ---> ****-login.sh 00:55:40 nexus3.edgexfoundry.org:10001 00:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:40 Configure a credential helper to remove this warning. See 00:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:40 00:55:40 Login Succeeded 00:55:40 nexus3.edgexfoundry.org:10002 00:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:40 Configure a credential helper to remove this warning. See 00:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:40 00:55:40 Login Succeeded 00:55:40 nexus3.edgexfoundry.org:10003 00:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:40 Configure a credential helper to remove this warning. See 00:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:40 00:55:40 Login Succeeded 00:55:40 nexus3.edgexfoundry.org:10004 00:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:40 Configure a credential helper to remove this warning. See 00:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:40 00:55:40 Login Succeeded 00:55:40 ****.io 00:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:55:40 Configure a credential helper to remove this warning. See 00:55:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:55:40 00:55:40 Login Succeeded 00:55:40 ---> ****-login.sh ends [Pipeline] } 00:55:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:55:40 ========================================================= 00:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 00:55:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 00:55:41 Sending build context to Docker daemon 18.04MB 00:55:41 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 00:55:41 Step 2/10 : FROM ${BASE} AS builder 00:55:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 00:55:41 43c4264eed91: Pulling fs layer 00:55:41 4cc291be95ef: Pulling fs layer 00:55:41 2ac1f1163629: Pulling fs layer 00:55:41 5c3c966382ef: Pulling fs layer 00:55:41 4f4fb700ef54: Pulling fs layer 00:55:41 5d5c8e513c77: Pulling fs layer 00:55:41 9f66e0745190: Pulling fs layer 00:55:41 f49a43e4bbc0: Pulling fs layer 00:55:41 561ebcabdf7f: Pulling fs layer 00:55:41 5c3c966382ef: Waiting 00:55:41 4f4fb700ef54: Waiting 00:55:41 5d5c8e513c77: Waiting 00:55:41 9f66e0745190: Waiting 00:55:41 f49a43e4bbc0: Waiting 00:55:41 561ebcabdf7f: Waiting 00:55:41 4cc291be95ef: Verifying Checksum 00:55:41 4cc291be95ef: Download complete 00:55:41 5c3c966382ef: Verifying Checksum 00:55:41 5c3c966382ef: Download complete 00:55:41 4f4fb700ef54: Download complete 00:55:41 5d5c8e513c77: Verifying Checksum 00:55:41 5d5c8e513c77: Download complete 00:55:41 43c4264eed91: Download complete 00:55:41 9f66e0745190: Verifying Checksum 00:55:41 9f66e0745190: Download complete 00:55:41 43c4264eed91: Pull complete 00:55:41 561ebcabdf7f: Download complete 00:55:41 4cc291be95ef: Pull complete 00:55:41 2ac1f1163629: Verifying Checksum 00:55:41 2ac1f1163629: Download complete 00:55:42 f49a43e4bbc0: Verifying Checksum 00:55:42 f49a43e4bbc0: Download complete 00:55:46 2ac1f1163629: Pull complete 00:55:46 5c3c966382ef: Pull complete 00:55:46 4f4fb700ef54: Pull complete 00:55:46 5d5c8e513c77: Pull complete 00:55:46 9f66e0745190: Pull complete 00:55:48 f49a43e4bbc0: Pull complete 00:55:48 561ebcabdf7f: Pull complete 00:55:48 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 00:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 00:55:48 ---> 3a752c3f9dda 00:55:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 00:55:54 Still waiting to schedule task 00:55:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:55 ---> Running in b17d4864f92d 00:55:55 Removing intermediate container b17d4864f92d 00:55:55 ---> 80754992a6f3 00:55:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:55 ---> Running in 19037f277a15 00:55:55 Removing intermediate container 19037f277a15 00:55:55 ---> da9200e4aed8 00:55:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 00:55:55 ---> Running in 37baeb02a9f9 00:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:55:55 (1/8) Installing openssh-keygen (9.7_p1-r4) 00:55:55 (2/8) Installing libedit (20240517.3.1-r0) 00:55:55 (3/8) Installing openssh-client-common (9.7_p1-r4) 00:55:55 (4/8) Installing openssh-client-default (9.7_p1-r4) 00:55:55 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 00:55:55 (6/8) Installing openssh-server-common (9.7_p1-r4) 00:55:55 (7/8) Installing openssh-server (9.7_p1-r4) 00:55:55 (8/8) Installing openssh (9.7_p1-r4) 00:55:55 Executing busybox-1.36.1-r29.trigger 00:55:55 OK: 252 MiB in 62 packages 00:55:56 Removing intermediate container 37baeb02a9f9 00:55:56 ---> 1c096b882ef7 00:55:56 Step 6/10 : WORKDIR /device-modbus-go 00:55:56 ---> Running in 4ae0997886ee 00:55:56 Removing intermediate container 4ae0997886ee 00:55:56 ---> 6b4700ca5b31 00:55:56 Step 7/10 : COPY go.mod vendor* ./ 00:55:56 ---> 367f49938ea1 00:55:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:56 ---> Running in 64594d6352d0 00:57:04 Removing intermediate container 64594d6352d0 00:57:04 ---> 7c1a02040782 00:57:04 Step 9/10 : COPY . . 00:57:04 ---> aa53884b7525 00:57:04 Step 10/10 : RUN ${MAKE} 00:57:04 ---> Running in 0bbce122b900 00:57:04 noop 00:57:04 Removing intermediate container 0bbce122b900 00:57:04 ---> 0a8db356fecd 00:57:04 Successfully built 0a8db356fecd 00:57:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:04 + docker inspect -f . ci-base-image-x86_64 00:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:04 prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container 00:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:57:04 $ docker top ed9e16b5f2e38bb47b547bc22f467a121ec30aad820fd61837620b6d0eddfa47 -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:05 + go version 00:57:05 go version go1.23.2 linux/amd64 [Pipeline] } 00:57:05 $ docker stop --time=1 ed9e16b5f2e38bb47b547bc22f467a121ec30aad820fd61837620b6d0eddfa47 00:57:06 $ docker rm -f --volumes ed9e16b5f2e38bb47b547bc22f467a121ec30aad820fd61837620b6d0eddfa47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:07 + docker inspect -f . ci-base-image-x86_64 00:57:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:07 prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container 00:57:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:57:07 $ docker top 56e3ba4f9f02c80a2a53621ec7cb8f52c9b9a9b9300b3615058dddd3a65f4b48 -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:07 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-590 [Pipeline] fileExists [Pipeline] sh 00:57:08 + make test 00:57:08 go test ./... -coverprofile=coverage.out 00:57:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:57:28 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 00:57:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 48.0% of statements 00:57:38 go vet ./... 00:57:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:57:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:57:43 ./bin/test-attribution-txt.sh [Pipeline] echo 00:57:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:57:43 $ docker stop --time=1 56e3ba4f9f02c80a2a53621ec7cb8f52c9b9a9b9300b3615058dddd3a65f4b48 00:57:49 $ docker rm -f --volumes 56e3ba4f9f02c80a2a53621ec7cb8f52c9b9a9b9300b3615058dddd3a65f4b48 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:57:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:50 + ls -al . 00:57:50 total 260 00:57:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 00:57 . 00:57:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 00:55 .. 00:57:50 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 00:55 .dockerignore 00:57:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 00:57 .git 00:57:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:55 .github 00:57:50 -rw-rw-r-- 1 jenkins jenkins 266 Nov 9 00:55 .gitignore 00:57:50 -rw-rw-r-- 1 jenkins jenkins 199 Nov 9 00:55 .golangci.yml 00:57:50 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 00:55 .semver 00:57:50 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 9 00:55 Attribution.txt 00:57:50 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 9 00:55 CHANGELOG.md 00:57:50 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 9 00:55 Dockerfile 00:57:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 00:55 GOVERNANCE.md 00:57:50 -rw-rw-r-- 1 jenkins jenkins 658 Nov 9 00:55 Jenkinsfile 00:57:50 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 00:55 LICENSE 00:57:50 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 9 00:55 Makefile 00:57:50 -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 00:55 OWNERS.md 00:57:50 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 9 00:55 README.md 00:57:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 00:55 VERSION 00:57:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:55 bin 00:57:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:55 cmd 00:57:50 -rw-r--r-- 1 jenkins jenkins 25464 Nov 9 00:57 coverage.out 00:57:50 -rw-rw-r-- 1 jenkins jenkins 6490 Nov 9 00:55 go.mod 00:57:50 -rw-rw-r-- 1 jenkins jenkins 88426 Nov 9 00:55 go.sum 00:57:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:55 internal 00:57:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:55 simulator 00:57:50 -rw-rw-r-- 1 jenkins jenkins 229 Nov 9 00:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:51 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=baeffff832230afdef053380aed2c051c71752e5 --label arch=amd64 --label version=0.0.0 . 00:57:51 Sending build context to Docker daemon 18.07MB 00:57:51 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 00:57:51 Step 2/23 : FROM ${BASE} AS builder 00:57:51 ---> 0a8db356fecd 00:57:51 Step 3/23 : ARG ADD_BUILD_TAGS="" 00:57:51 ---> Running in 060d8b2428c5 00:57:51 Removing intermediate container 060d8b2428c5 00:57:51 ---> 1c52a4e15ce3 00:57:51 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:51 ---> Running in f8d8b0374e4b 00:57:51 Removing intermediate container f8d8b0374e4b 00:57:51 ---> f5893cb459f0 00:57:51 Step 5/23 : RUN apk add --update --no-cache make git openssh 00:57:52 ---> Running in a73389ddba5f 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:57:52 OK: 252 MiB in 62 packages 00:57:53 Removing intermediate container a73389ddba5f 00:57:53 ---> 18060b8fe98e 00:57:53 Step 6/23 : WORKDIR /device-modbus-go 00:57:53 ---> Running in 1774eab0e576 00:57:53 Removing intermediate container 1774eab0e576 00:57:53 ---> 3d5c0c05c90d 00:57:53 Step 7/23 : COPY go.mod vendor* ./ 00:57:53 ---> 7058e374824f 00:57:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:53 ---> Running in 4d7dc63102bc 00:57:54 Removing intermediate container 4d7dc63102bc 00:57:54 ---> 4595a57f0382 00:57:54 Step 9/23 : COPY . . 00:57:54 ---> 2af02c776b20 00:57:54 Step 10/23 : RUN ${MAKE} 00:57:54 ---> Running in bd015e390520 00:57:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 00:58:33 Removing intermediate container bd015e390520 00:58:33 ---> 37f13abb5d0a 00:58:33 Step 11/23 : FROM alpine:3.20 00:58:33 3.20: Pulling from library/alpine 00:58:33 43c4264eed91: Already exists 00:58:33 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 00:58:33 Status: Downloaded newer image for alpine:3.20 00:58:33 ---> 91ef0af61f39 00:58:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 00:58:33 ---> Running in 48466bf36223 00:58:33 Removing intermediate container 48466bf36223 00:58:33 ---> d45926dab53e 00:58:33 Step 13/23 : RUN apk add --update --no-cache dumb-init 00:58:33 ---> Running in 53a58fc4d0e6 00:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:58:33 (1/1) Installing dumb-init (1.2.5-r3) 00:58:33 Executing busybox-1.36.1-r29.trigger 00:58:33 OK: 8 MiB in 15 packages 00:58:33 Removing intermediate container 53a58fc4d0e6 00:58:33 ---> e842c331bdb5 00:58:33 Step 14/23 : RUN apk --no-cache upgrade 00:58:33 ---> Running in 900d5bacdce2 00:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:58:33 Upgrading critical system libraries and apk-tools: 00:58:33 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 00:58:33 Executing busybox-1.36.1-r29.trigger 00:58:33 Continuing the upgrade transaction with new apk-tools: 00:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 00:58:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 00:58:33 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 00:58:33 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 00:58:33 OK: 8 MiB in 15 packages 00:58:33 Removing intermediate container 900d5bacdce2 00:58:33 ---> 8cb035998418 00:58:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 00:58:33 ---> 3ba42e407dbb 00:58:33 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 00:58:33 ---> e44a6b565343 00:58:33 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 00:58:33 ---> 9ff318eae4ca 00:58:33 Step 18/23 : EXPOSE 59901 00:58:33 ---> Running in d9d284fb944d 00:58:33 Removing intermediate container d9d284fb944d 00:58:33 ---> a27e006025ef 00:58:33 Step 19/23 : ENTRYPOINT ["/device-modbus"] 00:58:33 ---> Running in f83b9c856560 00:58:33 Removing intermediate container f83b9c856560 00:58:33 ---> 31cfc2d33ac4 00:58:33 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 00:58:33 ---> Running in c7b87e0724af 00:58:33 Removing intermediate container c7b87e0724af 00:58:33 ---> 4a34bfe54437 00:58:33 Step 21/23 : LABEL arch=amd64 00:58:33 ---> Running in d27860948581 00:58:33 Removing intermediate container d27860948581 00:58:33 ---> e5f84681c718 00:58:33 Step 22/23 : LABEL git_sha=baeffff832230afdef053380aed2c051c71752e5 00:58:33 ---> Running in 239f733e1a7b 00:58:33 Removing intermediate container 239f733e1a7b 00:58:33 ---> c82e39c15a31 00:58:33 Step 23/23 : LABEL version=0.0.0 00:58:33 ---> Running in ee9b8c01209f 00:58:33 Removing intermediate container ee9b8c01209f 00:58:33 ---> 1f8af0a1be69 00:58:33 [Warning] One or more build-args [ARCH] were not consumed 00:58:33 Successfully built 1f8af0a1be69 00:58:33 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:34 00:58:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:34 latest: Pulling from edgex-lftools-log-publisher 00:58:34 5eb5b503b376: Pulling fs layer 00:58:34 5c69ac0246d0: Pulling fs layer 00:58:34 ec43610c2a17: Pulling fs layer 00:58:34 3a2ae6a8a46f: Pulling fs layer 00:58:34 33b1e0a273af: Pulling fs layer 00:58:34 5d3b04190fa2: Pulling fs layer 00:58:34 2f39f015ded8: Pulling fs layer 00:58:34 33b1e0a273af: Waiting 00:58:34 3a2ae6a8a46f: Waiting 00:58:34 5d3b04190fa2: Waiting 00:58:34 2f39f015ded8: Waiting 00:58:34 5c69ac0246d0: Verifying Checksum 00:58:34 5c69ac0246d0: Download complete 00:58:34 3a2ae6a8a46f: Download complete 00:58:35 33b1e0a273af: Verifying Checksum 00:58:35 33b1e0a273af: Download complete 00:58:35 ec43610c2a17: Verifying Checksum 00:58:35 ec43610c2a17: Download complete 00:58:35 5d3b04190fa2: Verifying Checksum 00:58:35 5d3b04190fa2: Download complete 00:58:35 5eb5b503b376: Verifying Checksum 00:58:35 5eb5b503b376: Download complete 00:58:35 2f39f015ded8: Download complete 00:58:36 5eb5b503b376: Pull complete 00:58:36 5c69ac0246d0: Pull complete 00:58:37 ec43610c2a17: Pull complete 00:58:38 3a2ae6a8a46f: Pull complete 00:58:39 33b1e0a273af: Pull complete 00:58:39 5d3b04190fa2: Pull complete 00:58:43 2f39f015ded8: Pull complete 00:58:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:43 prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container 00:58:43 $ 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/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:58:49 $ docker top c967132619fe136e688ca903739cde967884e635e5e6031059eece91d48c4a2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:49 ---> job-cost.sh 00:58:49 lf-activate-venv: SKIPPING 00:58:49 INFO: No Stack... 00:58:50 INFO: Retrieving Pricing Info for: v3-standard-8 00:58:50 INFO: Archiving Costs [Pipeline] sh 00:58:50 + cat /w/workspace/xfoundry_device-modbus-go_PR-590/archives/cost.csv 00:58:50 + cut -d, -f6 [Pipeline] lock 00:58:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] 00:58:50 Resource [jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] did not exist. Created. 00:58:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:58:51 + echo total: 0.2199999988079071 [Pipeline] stash 00:58:51 Stashed 1 file(s) [Pipeline] } 00:58:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:58:51 $ docker stop --time=1 c967132619fe136e688ca903739cde967884e635e5e6031059eece91d48c4a2b 00:58:52 $ docker rm -f --volumes c967132619fe136e688ca903739cde967884e635e5e6031059eece91d48c4a2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25990 in /w/workspace/xfoundry_device-modbus-go_PR-590 [Pipeline] { [Pipeline] ws 00:59:11 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:59:14 The recommended git tool is: git 00:59:21 using credential edgex-jenkins-ssh 00:59:21 Cloning the remote Git repository 00:59:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:59:21 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:59:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:22 > git --version # timeout=10 00:59:22 > git --version # 'git version 2.25.1' 00:59:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:26 Merging remotes/origin/main commit 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 into PR head commit 089867b0b0d00f771f727352db61cbcad45eb9d4 00:59:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/590/head:refs/remotes/origin/PR-590 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:59:26 > git config core.sparsecheckout # timeout=10 00:59:26 > git checkout -f 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 00:59:26 > git remote # timeout=10 00:59:26 > git config --get remote.origin.url # timeout=10 00:59:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:26 > git merge 11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2 # timeout=10 00:59:26 Merge succeeded, producing e9791558e96a2cd8f26b5c795245264f0cca9031 00:59:26 Checking out Revision e9791558e96a2cd8f26b5c795245264f0cca9031 (PR-590) 00:59:26 > git rev-parse HEAD^{commit} # timeout=10 00:59:26 > git config core.sparsecheckout # timeout=10 00:59:26 > git checkout -f e9791558e96a2cd8f26b5c795245264f0cca9031 # timeout=10 00:59:30 Commit message: "Merge commit '11d8eae39c374e83b0f1cf05a7e0fb869cd70ce2' into HEAD" 00:59:30 > git rev-list --no-walk 089867b0b0d00f771f727352db61cbcad45eb9d4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:32 Dload Upload Total Spent Left Speed 00:59:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 00:59:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:59:33 + sudo tee /etc/docker/daemon.new 00:59:33 { 00:59:33 "registry-mirrors": [ 00:59:33 "https://nexus3.edgexfoundry.org:10001" 00:59:33 ], 00:59:33 "bip": "10.250.0.254/24", 00:59:33 "hosts": [ 00:59:33 "tcp://0.0.0.0:5555", 00:59:33 "unix:///var/run/docker.sock" 00:59:33 ], 00:59:33 "mtu": 1458, 00:59:33 "selinux-enabled": true, 00:59:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:33 } [Pipeline] sh 00:59:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:52 provisioning config files... 00:59:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7017059747010582996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:52 ---> ****-login.sh 00:59:52 nexus3.edgexfoundry.org:10001 00:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:53 Configure a credential helper to remove this warning. See 00:59:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:53 00:59:53 Login Succeeded 00:59:53 nexus3.edgexfoundry.org:10002 00:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:54 Configure a credential helper to remove this warning. See 00:59:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:54 00:59:54 Login Succeeded 00:59:54 nexus3.edgexfoundry.org:10003 00:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:54 Configure a credential helper to remove this warning. See 00:59:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:54 00:59:54 Login Succeeded 00:59:54 nexus3.edgexfoundry.org:10004 00:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:54 Configure a credential helper to remove this warning. See 00:59:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:54 00:59:54 Login Succeeded 00:59:54 ****.io 00:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 00:59:55 Configure a credential helper to remove this warning. See 00:59:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 00:59:55 00:59:55 Login Succeeded 00:59:55 ---> ****-login.sh ends [Pipeline] } 00:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:59:56 ========================================================= 00:59:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 00:59:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 00:59:57 Sending build context to Docker daemon 9.171MB 00:59:57 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 00:59:57 Step 2/10 : FROM ${BASE} AS builder 00:59:57 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:57 cf04c63912e1: Pulling fs layer 00:59:57 55b35a11ae5e: Pulling fs layer 00:59:57 a37a00ec5f00: Pulling fs layer 00:59:57 50b3750afda1: Pulling fs layer 00:59:57 4f4fb700ef54: Pulling fs layer 00:59:57 80978eb59214: Pulling fs layer 00:59:57 c9f46d7d2bd2: Pulling fs layer 00:59:57 c5a475d317c9: Pulling fs layer 00:59:57 50b3750afda1: Waiting 00:59:57 4f4fb700ef54: Waiting 00:59:57 80978eb59214: Waiting 00:59:57 c5a475d317c9: Waiting 00:59:57 c9f46d7d2bd2: Waiting 00:59:57 55b35a11ae5e: Verifying Checksum 00:59:57 55b35a11ae5e: Download complete 00:59:57 50b3750afda1: Verifying Checksum 00:59:57 50b3750afda1: Download complete 00:59:57 4f4fb700ef54: Verifying Checksum 00:59:57 4f4fb700ef54: Download complete 00:59:57 80978eb59214: Verifying Checksum 00:59:57 80978eb59214: Download complete 00:59:57 cf04c63912e1: Verifying Checksum 00:59:57 cf04c63912e1: Download complete 00:59:57 c5a475d317c9: Verifying Checksum 00:59:57 c5a475d317c9: Download complete 00:59:58 cf04c63912e1: Pull complete 00:59:59 55b35a11ae5e: Pull complete 00:59:59 a37a00ec5f00: Verifying Checksum 00:59:59 a37a00ec5f00: Download complete 01:00:00 c9f46d7d2bd2: Verifying Checksum 01:00:00 c9f46d7d2bd2: Download complete 01:00:15 a37a00ec5f00: Pull complete 01:00:15 50b3750afda1: Pull complete 01:00:15 4f4fb700ef54: Pull complete 01:00:15 80978eb59214: Pull complete 01:00:23 c9f46d7d2bd2: Pull complete 01:00:24 c5a475d317c9: Pull complete 01:00:24 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 01:00:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:00:24 ---> be29e6b0f0d4 01:00:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 01:00:26 ---> Running in 1948f9341b43 01:00:27 Removing intermediate container 1948f9341b43 01:00:27 ---> 0e07bf1a9859 01:00:27 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:00:27 ---> Running in f0184aa8db88 01:00:27 Removing intermediate container f0184aa8db88 01:00:27 ---> 80d5ab3a92e8 01:00:27 Step 5/10 : RUN apk add --update --no-cache make git openssh 01:00:27 ---> Running in 23c9c3caccb0 01:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:00:30 (1/8) Installing openssh-keygen (9.7_p1-r4) 01:00:30 (2/8) Installing libedit (20240517.3.1-r0) 01:00:30 (3/8) Installing openssh-client-common (9.7_p1-r4) 01:00:30 (4/8) Installing openssh-client-default (9.7_p1-r4) 01:00:30 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 01:00:30 (6/8) Installing openssh-server-common (9.7_p1-r4) 01:00:30 (7/8) Installing openssh-server (9.7_p1-r4) 01:00:30 (8/8) Installing openssh (9.7_p1-r4) 01:00:32 Executing busybox-1.36.1-r29.trigger 01:00:32 OK: 244 MiB in 62 packages 01:00:32 Removing intermediate container 23c9c3caccb0 01:00:32 ---> 8d3c870f2448 01:00:32 Step 6/10 : WORKDIR /device-modbus-go 01:00:32 ---> Running in fc835922b223 01:00:32 Removing intermediate container fc835922b223 01:00:32 ---> f337e9c09993 01:00:32 Step 7/10 : COPY go.mod vendor* ./ 01:00:34 ---> 4b279cf7008f 01:00:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:34 ---> Running in 0e2f2d8cdf0b 01:02:39 Removing intermediate container 0e2f2d8cdf0b 01:02:39 ---> 2306fd47e862 01:02:39 Step 9/10 : COPY . . 01:02:39 ---> 72a0cec28a34 01:02:39 Step 10/10 : RUN ${MAKE} 01:02:39 ---> Running in 363e2ed53d0c 01:02:39 noop 01:02:39 Removing intermediate container 363e2ed53d0c 01:02:39 ---> 53bde685dda6 01:02:39 Successfully built 53bde685dda6 01:02:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:39 + docker inspect -f . ci-base-image-arm64 01:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:40 prd-ubuntu20.04-docker-arm64-4c-16g-25990 does not seem to be running inside a container 01:02:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:41 $ docker top efc2832a6ac8d6333e95baed077c24c01d8c913f816cc012ab3a972bb0d23ab8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:42 + go version 01:02:42 go version go1.23.2 linux/arm64 [Pipeline] } 01:02:42 $ docker stop --time=1 efc2832a6ac8d6333e95baed077c24c01d8c913f816cc012ab3a972bb0d23ab8 01:02:44 $ docker rm -f --volumes efc2832a6ac8d6333e95baed077c24c01d8c913f816cc012ab3a972bb0d23ab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:44 + docker inspect -f . ci-base-image-arm64 01:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:44 prd-ubuntu20.04-docker-arm64-4c-16g-25990 does not seem to be running inside a container 01:02:45 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:46 $ docker top 92073ab42c6e149fa80d834a61a3b201b2394c947739a5f968afed698c3960d8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:47 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 01:02:48 + make test 01:02:48 go test ./... -coverprofile=coverage.out 01:02:54 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:06:46 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 01:06:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 48.0% of statements 01:06:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:06:51 go vet ./... 01:07:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:07:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:07:48 ./bin/test-attribution-txt.sh [Pipeline] echo 01:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:07:48 $ docker stop --time=1 92073ab42c6e149fa80d834a61a3b201b2394c947739a5f968afed698c3960d8 01:07:50 $ docker rm -f --volumes 92073ab42c6e149fa80d834a61a3b201b2394c947739a5f968afed698c3960d8 [Pipeline] // withDockerContainer [Pipeline] sh 01:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:07:52 Warning: overwriting stash ‘coverage-report’ 01:07:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:53 + ls -al . 01:07:53 total 256 01:07:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 01:02 . 01:07:53 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 00:59 .. 01:07:53 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 00:59 .dockerignore 01:07:53 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 00:59 .git 01:07:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:59 .github 01:07:53 -rw-rw-r-- 1 jenkins jenkins 266 Nov 9 00:59 .gitignore 01:07:53 -rw-rw-r-- 1 jenkins jenkins 199 Nov 9 00:59 .golangci.yml 01:07:53 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 9 00:59 Attribution.txt 01:07:53 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 9 00:59 CHANGELOG.md 01:07:53 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 9 00:59 Dockerfile 01:07:53 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 00:59 GOVERNANCE.md 01:07:53 -rw-rw-r-- 1 jenkins jenkins 658 Nov 9 00:59 Jenkinsfile 01:07:53 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 00:59 LICENSE 01:07:53 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 9 00:59 Makefile 01:07:53 -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 00:59 OWNERS.md 01:07:53 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 9 00:59 README.md 01:07:53 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 00:55 VERSION 01:07:53 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:59 bin 01:07:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:59 cmd 01:07:53 -rw-r--r-- 1 jenkins jenkins 25464 Nov 9 01:06 coverage.out 01:07:53 -rw-rw-r-- 1 jenkins jenkins 6490 Nov 9 00:59 go.mod 01:07:53 -rw-rw-r-- 1 jenkins jenkins 88426 Nov 9 00:59 go.sum 01:07:53 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 00:59 internal 01:07:53 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 00:59 simulator 01:07:53 -rw-rw-r-- 1 jenkins jenkins 229 Nov 9 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:53 + 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=e9791558e96a2cd8f26b5c795245264f0cca9031 --label arch=arm64 --label version=0.0.0 . 01:07:53 Sending build context to Docker daemon 9.197MB 01:07:54 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 01:07:54 Step 2/23 : FROM ${BASE} AS builder 01:07:54 ---> 53bde685dda6 01:07:54 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:07:54 ---> Running in 21cfac3c1943 01:07:54 Removing intermediate container 21cfac3c1943 01:07:54 ---> 6b4c43629d96 01:07:54 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:07:54 ---> Running in f86f8b2ac0aa 01:07:55 Removing intermediate container f86f8b2ac0aa 01:07:55 ---> d7cc79dffe0e 01:07:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:07:55 ---> Running in f20f6c6cb518 01:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:07:57 OK: 244 MiB in 62 packages 01:07:58 Removing intermediate container f20f6c6cb518 01:07:58 ---> fe16cd8d2aed 01:07:58 Step 6/23 : WORKDIR /device-modbus-go 01:07:58 ---> Running in 5e5a22e57317 01:07:59 Removing intermediate container 5e5a22e57317 01:07:59 ---> 22ef7a280e80 01:07:59 Step 7/23 : COPY go.mod vendor* ./ 01:07:59 ---> 1575fa821e84 01:07:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:59 ---> Running in 1bb413234d48 01:08:02 Removing intermediate container 1bb413234d48 01:08:02 ---> 96b407ebd35f 01:08:02 Step 9/23 : COPY . . 01:08:03 ---> 9bfc61372e62 01:08:03 Step 10/23 : RUN ${MAKE} 01:08:03 ---> Running in 9b592e55fff6 01:08:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 01:11:40 Removing intermediate container 9b592e55fff6 01:11:40 ---> eb9393620035 01:11:40 Step 11/23 : FROM alpine:3.20 01:11:40 3.20: Pulling from library/alpine 01:11:40 cf04c63912e1: Already exists 01:11:40 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 01:11:40 Status: Downloaded newer image for alpine:3.20 01:11:40 ---> c157a85ed455 01:11:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 01:11:40 ---> Running in f4a7c87f5601 01:11:40 Removing intermediate container f4a7c87f5601 01:11:40 ---> 944094051960 01:11:40 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:11:40 ---> Running in 2823921e33f0 01:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:11:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:11:42 (1/1) Installing dumb-init (1.2.5-r3) 01:11:42 Executing busybox-1.36.1-r29.trigger 01:11:42 OK: 9 MiB in 15 packages 01:11:43 Removing intermediate container 2823921e33f0 01:11:43 ---> f32c0c4664c8 01:11:43 Step 14/23 : RUN apk --no-cache upgrade 01:11:43 ---> Running in a0268ee9b9c1 01:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:11:46 Upgrading critical system libraries and apk-tools: 01:11:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:11:46 Executing busybox-1.36.1-r29.trigger 01:11:46 Continuing the upgrade transaction with new apk-tools: 01:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:11:48 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 01:11:48 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 01:11:48 OK: 9 MiB in 15 packages 01:11:49 Removing intermediate container a0268ee9b9c1 01:11:49 ---> 2355ee1d5f9b 01:11:49 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:11:51 ---> 672e0a43b907 01:11:51 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:11:52 ---> c96ec223260b 01:11:52 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:11:52 ---> 1451b08fd8b1 01:11:52 Step 18/23 : EXPOSE 59901 01:11:52 ---> Running in c118f65a58e1 01:11:52 Removing intermediate container c118f65a58e1 01:11:52 ---> c690937d9f8b 01:11:52 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:11:53 ---> Running in 5e536de54c11 01:11:53 Removing intermediate container 5e536de54c11 01:11:53 ---> 0dc9a6f43fe6 01:11:53 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:11:53 ---> Running in b78162971609 01:11:53 Removing intermediate container b78162971609 01:11:53 ---> 4b866bf3cddd 01:11:53 Step 21/23 : LABEL arch=arm64 01:11:54 ---> Running in 93e0df18f2d2 01:11:54 Removing intermediate container 93e0df18f2d2 01:11:54 ---> 09dc56d35b1f 01:11:54 Step 22/23 : LABEL git_sha=e9791558e96a2cd8f26b5c795245264f0cca9031 01:11:54 ---> Running in 01fe1b854afc 01:11:54 Removing intermediate container 01fe1b854afc 01:11:54 ---> ec69af7c1022 01:11:54 Step 23/23 : LABEL version=0.0.0 01:11:54 ---> Running in 5a88be2e414c 01:11:54 Removing intermediate container 5a88be2e414c 01:11:54 ---> 54eda9643974 01:11:54 [Warning] One or more build-args [ARCH] were not consumed 01:11:55 Successfully built 54eda9643974 01:11:55 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:11:55 01:11:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:11:56 arm64: Pulling from edgex-lftools-log-publisher 01:11:56 8998bd30e6a1: Pulling fs layer 01:11:56 04944245beec: Pulling fs layer 01:11:56 699f458cf7ca: Pulling fs layer 01:11:56 765212b225bb: Pulling fs layer 01:11:56 f23df028b6ca: Pulling fs layer 01:11:56 765212b225bb: Waiting 01:11:56 d65c8cfc05b1: Pulling fs layer 01:11:56 2437ff75d9bd: Pulling fs layer 01:11:56 f23df028b6ca: Waiting 01:11:56 2437ff75d9bd: Waiting 01:11:56 d65c8cfc05b1: Waiting 01:11:56 04944245beec: Verifying Checksum 01:11:56 04944245beec: Download complete 01:11:56 765212b225bb: Verifying Checksum 01:11:56 765212b225bb: Download complete 01:11:56 f23df028b6ca: Verifying Checksum 01:11:56 f23df028b6ca: Download complete 01:11:56 d65c8cfc05b1: Verifying Checksum 01:11:56 d65c8cfc05b1: Download complete 01:11:56 699f458cf7ca: Verifying Checksum 01:11:56 699f458cf7ca: Download complete 01:11:57 8998bd30e6a1: Verifying Checksum 01:11:57 8998bd30e6a1: Download complete 01:11:59 2437ff75d9bd: Verifying Checksum 01:11:59 2437ff75d9bd: Download complete 01:12:01 8998bd30e6a1: Pull complete 01:12:02 04944245beec: Pull complete 01:12:04 699f458cf7ca: Pull complete 01:12:04 765212b225bb: Pull complete 01:12:05 f23df028b6ca: Pull complete 01:12:05 d65c8cfc05b1: Pull complete 01:12:23 2437ff75d9bd: Pull complete 01:12:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:12:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:12:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:23 prd-ubuntu20.04-docker-arm64-4c-16g-25990 does not seem to be running inside a container 01:12:23 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:12:27 $ docker top 1d27ae14c658b301ed6dbd1c1c70fc57eb0427372ddf6305ec5e6ed32326f217 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:28 ---> job-cost.sh 01:12:28 lf-activate-venv: SKIPPING 01:12:28 INFO: No Stack... 01:12:28 INFO: Retrieving Pricing Info for: v3-standard-4 01:12:29 INFO: Archiving Costs [Pipeline] sh 01:12:29 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 01:12:29 + cut -d, -f6 [Pipeline] lock 01:12:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] 01:12:29 Resource [jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] did not exist. Created. 01:12:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:12:30 /w/workspace/device-modbus-go/2@tmp/durable-7b57a3d4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:12:31 + echo total: 0.10999999940395355 [Pipeline] stash 01:12:31 Warning: overwriting stash ‘stack-cost’ 01:12:31 Stashed 1 file(s) [Pipeline] } 01:12:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-590-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:12:31 $ docker stop --time=1 1d27ae14c658b301ed6dbd1c1c70fc57eb0427372ddf6305ec5e6ed32326f217 01:12:32 $ docker rm -f --volumes 1d27ae14c658b301ed6dbd1c1c70fc57eb0427372ddf6305ec5e6ed32326f217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:12:33 provisioning config files... 01:12:33 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config17864839212529937751tmp [Pipeline] { [Pipeline] sh 01:12:33 + set +x 01:12:33 + curl -s https://codecov.io/bash 01:12:33 + bash -s -- 01:12:33 01:12:33 _____ _ 01:12:33 / ____| | | 01:12:33 | | ___ __| | ___ ___ _____ __ 01:12:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:12:33 | |___| (_) | (_| | __/ (_| (_) \ V / 01:12:33 \_____\___/ \__,_|\___|\___\___/ \_/ 01:12:33 Bash-1.0.6 01:12:33 01:12:33 01:12:33 ==> git version 2.25.1 found 01:12:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:12:33 Release-Date: 2020-01-08 01:12:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:12:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:12:33 ==> Jenkins CI detected. 01:12:33 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-590 01:12:33 project root: . 01:12:33 --> token set from env 01:12:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:12:33 ==> Running gcov in . (disable via -X gcov) 01:12:33 ==> Python coveragepy not found 01:12:33 ==> Searching for coverage reports in: 01:12:33 + . 01:12:33 -> Found 1 reports 01:12:33 ==> Detecting git/mercurial file structure 01:12:33 ==> Reading reports 01:12:33 + ./coverage.out bytes=25464 01:12:33 ==> Appending adjustments 01:12:33 https://docs.codecov.io/docs/fixing-reports 01:12:33 + Found adjustments 01:12:33 ==> Gzipping contents 01:12:33 4.0K /tmp/codecov.DBMt2n.gz 01:12:33 ==> Uploading reports 01:12:33 url: https://codecov.io 01:12:33 query: branch=PR-590&commit=baeffff832230afdef053380aed2c051c71752e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-590%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=590&job=&cmd_args= 01:12:33 -> Pinging Codecov 01:12:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-590&commit=baeffff832230afdef053380aed2c051c71752e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-590%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=590&job=&cmd_args= 01:12:33 -> Uploading to 01:12:33 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/baeffff832230afdef053380aed2c051c71752e5/7290f67f-6850-468b-bcc2-286c5ef19054.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241109%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241109T011233Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=0d35fc9e7c5e6bebe123d72a7af0aa9a98c59fa1689a4a57522f1c233853da3b 01:12:33 % Total % Received % Xferd Average Speed Time Time Time Current 01:12:33 Dload Upload Total Spent Left Speed 01:12:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 16948 --:--:-- --:--:-- --:--:-- 17021 01:12:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/baeffff832230afdef053380aed2c051c71752e5 [Pipeline] } 01:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:12:35 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-590/archives ] 01:12:35 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-590/archives 01:12:35 total 16 01:12:35 drwxr-xr-x 3 root root 4096 Nov 9 00:58 . 01:12:35 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 00:58 .. 01:12:35 drwxr-xr-x 2 root root 4096 Nov 9 00:58 cost 01:12:35 -rw-r--r-- 1 root root 88 Nov 9 00:58 cost.csv 01:12:35 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-590/archives 01:12:35 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-590/archives 01:12:35 total 16 01:12:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 00:58 . 01:12:35 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 00:58 .. 01:12:35 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 00:58 cost 01:12:35 -rw-r--r-- 1 jenkins jenkins 88 Nov 9 00:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:12:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:12:36 ---> package-listing.sh 01:12:36 ++ facter osfamily 01:12:36 ++ tr '[:upper:]' '[:lower:]' 01:12:36 + OS_FAMILY=debian 01:12:36 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-590 01:12:36 + START_PACKAGES=/tmp/packages_start.txt 01:12:36 + END_PACKAGES=/tmp/packages_end.txt 01:12:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:12:36 + PACKAGES=/tmp/packages_start.txt 01:12:36 + '[' /w/workspace/xfoundry_device-modbus-go_PR-590 ']' 01:12:36 + PACKAGES=/tmp/packages_end.txt 01:12:36 + case "${OS_FAMILY}" in 01:12:36 + dpkg -l 01:12:36 + grep '^ii' 01:12:36 + '[' -f /tmp/packages_start.txt ']' 01:12:36 + '[' -f /tmp/packages_end.txt ']' 01:12:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:12:36 + '[' /w/workspace/xfoundry_device-modbus-go_PR-590 ']' 01:12:36 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-590/archives/ 01:12:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-590/archives/ [Pipeline] echo 01:12:36 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/xfoundry_device-modbus-go_PR-590/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:12:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:37 prd-ubuntu20.04-docker-8c-8g-25989 does not seem to be running inside a container 01:12:37 $ 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/xfoundry_device-modbus-go_PR-590/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-590 -v /w/workspace/xfoundry_device-modbus-go_PR-590:/w/workspace/xfoundry_device-modbus-go_PR-590:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-590@tmp:/w/workspace/xfoundry_device-modbus-go_PR-590@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:12:37 $ docker top 1731dba1053ddb54983db23f673db76c51cafda056caafba92c2210f592d3083 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:37 + touch /tmp/pre-build-complete [Pipeline] sh 01:12:38 + mkdir -p /var/log/sysstat [Pipeline] sh 01:12:38 + ls /var/log/sa-host 01:12:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:38 provisioning config files... 01:12:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-590@tmp/config15163411596777231401tmp [Pipeline] { [Pipeline] echo 01:12:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:12:39 ---> create-netrc.sh [Pipeline] } 01:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:12:39 ---> python-tools-install.sh [Pipeline] echo 01:12:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:12:39 ---> sudo-logs.sh 01:12:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:12:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:12:40 ---> job-cost.sh 01:12:40 lf-activate-venv: SKIPPING 01:12:40 DEBUG: total: 0.2199999988079071 01:12:40 INFO: Retrieving Stack Cost... 01:12:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:12:40 INFO: Archiving Costs [Pipeline] echo 01:12:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:12:40 ---> logs-deploy.sh 01:12:40 lf-activate-venv: SKIPPING 01:12:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-590/2 01:12:40 INFO: archiving workspace using pattern(s): 01:12:41 Archives upload complete. 01:12:41 INFO: archiving logs to Nexus