Pull request #558 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 74c9693bc184421cd09d4c9383402722d397ba85+016774ad856346449abec6a76f039c0b34c03e63 (81c29b1ade82a583ce0898b4f52543f230cc21f7) 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-ssh9900937519017593733.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15611657657646276296.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 590556114a56c6d90cc8043840e039c2f74196dc 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-558/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-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3110150874796678614.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh13110430602188281681.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-558/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-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4613799065236066166.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4896 in /w/workspace/xfoundry_device-modbus-go_PR-558 [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-558 # 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 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 74c9693bc184421cd09d4c9383402722d397ba85 > 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/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74c9693bc184421cd09d4c9383402722d397ba85 # timeout=10 Merge succeeded, producing 74c9693bc184421cd09d4c9383402722d397ba85 Checking out Revision 74c9693bc184421cd09d4c9383402722d397ba85 (PR-558) Commit message: "build: Correct Attribution.txt" > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74c9693bc184421cd09d4c9383402722d397ba85 # timeout=10 > git rev-list --no-walk 313bd4257294a3611ddab0d25a1668d691212468 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:34:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:34:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:34:13 ========================================================= 07:34:13 EdgeX Global Pipelines Version Info 07:34:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:34:14 ------------------- 07:34:14 stable info: 07:34:14 ------------------- 07:34:14 Commited By: Ginny Guan ginny@iotechsys.com 07:34:14 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:34:14 Message: update stable to v1.0.260 07:34:15 ------------------- 07:34:15 experimental info: 07:34:15 ------------------- 07:34:15 Commited By: Ginny Guan ginny@iotechsys.com 07:34:15 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:34:15 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:34:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-558 [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-558 [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-558 [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74c9693bc184421cd09d4c9383402722d397ba85 [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74c9693 [Pipeline] echo 07:34:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:16 provisioning config files... 07:34:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config2346366590484710120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:16 ---> ****-login.sh 07:34:16 nexus3.edgexfoundry.org:10001 07:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:17 Configure a credential helper to remove this warning. See 07:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:17 07:34:17 Login Succeeded 07:34:17 nexus3.edgexfoundry.org:10002 07:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:17 Configure a credential helper to remove this warning. See 07:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:17 07:34:17 Login Succeeded 07:34:17 nexus3.edgexfoundry.org:10003 07:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:17 Configure a credential helper to remove this warning. See 07:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:17 07:34:17 Login Succeeded 07:34:17 nexus3.edgexfoundry.org:10004 07:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:17 Configure a credential helper to remove this warning. See 07:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:17 07:34:17 Login Succeeded 07:34:17 ****.io 07:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:17 Configure a credential helper to remove this warning. See 07:34:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:17 07:34:17 Login Succeeded 07:34:17 ---> ****-login.sh ends [Pipeline] } 07:34:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:34:18 + git rev-list -1 --merges 74c9693bc184421cd09d4c9383402722d397ba85~1..74c9693bc184421cd09d4c9383402722d397ba85 [Pipeline] echo 07:34:18 -----------> git rev-list -1 --merges 74c9693bc184421cd09d4c9383402722d397ba85~1..74c9693bc184421cd09d4c9383402722d397ba85 74c9693bc184421cd09d4c9383402722d397ba85 [false] [Pipeline] sh 07:34:18 + git log --format=format:%s -1 74c9693bc184421cd09d4c9383402722d397ba85 [Pipeline] echo 07:34:18 ========================================================= 07:34:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:34:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:18 + git log --format=format:%s -1 74c9693bc184421cd09d4c9383402722d397ba85 [Pipeline] echo 07:34:18 [semverPrep] GIT_COMMIT: 74c9693bc184421cd09d4c9383402722d397ba85, Commit Message: build: Correct Attribution.txt [Pipeline] echo 07:34:18 [semverPrep] This is not a build commit. [Pipeline] sh 07:34:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:34:19 + grep -v github /etc/ssh/ssh_known_hosts 07:34:19 + [ -e /tmp/ssh_known_hosts ] 07:34:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:34:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:34:19 + sudo tee -a /etc/ssh/ssh_known_hosts 07:34:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:19 07:34:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:20 0.1.4: Pulling from edgex-devops/py-git-semver 07:34:20 b85a868b505f: Pulling fs layer 07:34:20 e2be974225ed: Pulling fs layer 07:34:20 339a4e72a1f5: Pulling fs layer 07:34:20 988bab9f4d93: Pulling fs layer 07:34:20 1469e6f7b9e6: Pulling fs layer 07:34:20 eaf3925da568: Pulling fs layer 07:34:20 bab4dde63d76: Pulling fs layer 07:34:20 bde34c3a00c8: Pulling fs layer 07:34:20 b352a97aabf1: Pulling fs layer 07:34:20 4872d77fe225: Pulling fs layer 07:34:20 5851b861e8e6: Pulling fs layer 07:34:20 b352a97aabf1: Waiting 07:34:20 1469e6f7b9e6: Waiting 07:34:20 4872d77fe225: Waiting 07:34:20 eaf3925da568: Waiting 07:34:20 5851b861e8e6: Waiting 07:34:20 bde34c3a00c8: Waiting 07:34:20 988bab9f4d93: Waiting 07:34:20 bab4dde63d76: Waiting 07:34:20 e2be974225ed: Verifying Checksum 07:34:20 e2be974225ed: Download complete 07:34:20 988bab9f4d93: Download complete 07:34:20 1469e6f7b9e6: Verifying Checksum 07:34:20 1469e6f7b9e6: Download complete 07:34:20 eaf3925da568: Verifying Checksum 07:34:20 eaf3925da568: Download complete 07:34:20 339a4e72a1f5: Verifying Checksum 07:34:20 339a4e72a1f5: Download complete 07:34:20 bde34c3a00c8: Download complete 07:34:20 b352a97aabf1: Verifying Checksum 07:34:20 b352a97aabf1: Download complete 07:34:20 4872d77fe225: Verifying Checksum 07:34:20 4872d77fe225: Download complete 07:34:20 5851b861e8e6: Verifying Checksum 07:34:20 5851b861e8e6: Download complete 07:34:20 b85a868b505f: Verifying Checksum 07:34:20 b85a868b505f: Download complete 07:34:20 bab4dde63d76: Verifying Checksum 07:34:20 bab4dde63d76: Download complete 07:34:21 b85a868b505f: Pull complete 07:34:21 e2be974225ed: Pull complete 07:34:22 339a4e72a1f5: Pull complete 07:34:22 988bab9f4d93: Pull complete 07:34:22 1469e6f7b9e6: Pull complete 07:34:22 eaf3925da568: Pull complete 07:34:24 bab4dde63d76: Pull complete 07:34:24 bde34c3a00c8: Pull complete 07:34:24 b352a97aabf1: Pull complete 07:34:24 4872d77fe225: Pull complete 07:34:24 5851b861e8e6: Pull complete 07:34:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:24 prd-ubuntu20.04-docker-8c-8g-4896 does not seem to be running inside a container 07:34:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:34:27 $ docker top be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c -eo pid,comm 07:34:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:34:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:34:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:27 [ssh-agent] Looking for ssh-agent implementation... 07:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:27 $ docker exec be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c ssh-agent 07:34:27 SSH_AUTH_SOCK=/tmp/ssh-VWzBnUYOxwEp/agent.31 07:34:27 SSH_AGENT_PID=37 07:34:27 Running ssh-add (command line suppressed) 07:34:27 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_1478883266963830808.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_1478883266963830808.key) 07:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:28 + git tag --points-at HEAD [Pipeline] } 07:34:28 $ docker exec --env ******** --env ******** be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c ssh-agent -k 07:34:28 unset SSH_AUTH_SOCK; 07:34:28 unset SSH_AGENT_PID; 07:34:28 echo Agent pid 37 killed; 07:34:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:34:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:28 [ssh-agent] Looking for ssh-agent implementation... 07:34:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:28 $ docker exec be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c ssh-agent 07:34:28 SSH_AUTH_SOCK=/tmp/ssh-H7DJ3sRWrVVZ/agent.70 07:34:28 SSH_AGENT_PID=76 07:34:28 Running ssh-add (command line suppressed) 07:34:28 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_6205388600077404542.key (/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/private_key_6205388600077404542.key) 07:34:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:28 + git semver init 07:34:29 2024-07-03 07:34:29,146 [run_init] DEBUG init version:0.0.0 force:False 07:34:29 2024-07-03 07:34:29,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver 07:34:29 2024-07-03 07:34:29,148 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-558/.semver 07:34:29 2024-07-03 07:34:29,148 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-558/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558, universal_newlines=False, shell=None, istream=None) 07:34:30 2024-07-03 07:34:30,136 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.git/info/exclude 07:34:30 2024-07-03 07:34:30,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 with force:False 07:34:30 2024-07-03 07:34:30,136 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 07:34:30 2024-07-03 07:34:30,141 [execute] INFO git cat-file --batch-check 07:34:30 2024-07-03 07:34:30,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) 07:34:30 2024-07-03 07:34:30,147 [execute] INFO git cat-file --batch 07:34:30 2024-07-03 07:34:30,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) 07:34:30 2024-07-03 07:34:30,152 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-558/.semver/PR-558 07:34:30 0.0.0 [Pipeline] } 07:34:30 $ docker exec --env ******** --env ******** be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c ssh-agent -k 07:34:30 unset SSH_AUTH_SOCK; 07:34:30 unset SSH_AGENT_PID; 07:34:30 echo Agent pid 76 killed; 07:34:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:34:30 + git semver [Pipeline] } 07:34:30 $ docker stop --time=1 be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c 07:34:32 $ docker rm -f --volumes be0b41e49176b431f06321a7004393bba6ba5c86204b3bf3e48f01783c732d3c [Pipeline] // withDockerContainer [Pipeline] sh 07:34:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:34:32 Stashed 1 file(s) [Pipeline] echo 07:34:32 [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 07:34:32 provisioning config files... 07:34:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config8250676784807053081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:33 ---> ****-login.sh 07:34:33 nexus3.edgexfoundry.org:10001 07:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:33 Configure a credential helper to remove this warning. See 07:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:33 07:34:33 Login Succeeded 07:34:33 nexus3.edgexfoundry.org:10002 07:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:33 Configure a credential helper to remove this warning. See 07:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:33 07:34:33 Login Succeeded 07:34:33 nexus3.edgexfoundry.org:10003 07:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:33 Configure a credential helper to remove this warning. See 07:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:33 07:34:33 Login Succeeded 07:34:33 nexus3.edgexfoundry.org:10004 07:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:33 Configure a credential helper to remove this warning. See 07:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:33 07:34:33 Login Succeeded 07:34:33 ****.io 07:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:34:33 Configure a credential helper to remove this warning. See 07:34:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:34:33 07:34:33 Login Succeeded 07:34:33 ---> ****-login.sh ends [Pipeline] } 07:34:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:34:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:34:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:34:33 ========================================================= 07:34:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:34:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:34:34 Sending build context to Docker daemon 17.84MB 07:34:34 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:34:34 Step 2/10 : FROM ${BASE} AS builder 07:34:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:34:34 619be1103602: Pulling fs layer 07:34:34 7862e08f4a3e: Pulling fs layer 07:34:34 5df492c9dc93: Pulling fs layer 07:34:34 7629e6793208: Pulling fs layer 07:34:34 4f4fb700ef54: Pulling fs layer 07:34:34 fb5054dd5b73: Pulling fs layer 07:34:34 eeca6798cff9: Pulling fs layer 07:34:34 aa269ceb94a6: Pulling fs layer 07:34:34 ada007ff1a6a: Pulling fs layer 07:34:34 4f4fb700ef54: Waiting 07:34:34 fb5054dd5b73: Waiting 07:34:34 7629e6793208: Waiting 07:34:34 eeca6798cff9: Waiting 07:34:34 aa269ceb94a6: Waiting 07:34:34 ada007ff1a6a: Waiting 07:34:34 7862e08f4a3e: Verifying Checksum 07:34:34 7862e08f4a3e: Download complete 07:34:34 7629e6793208: Verifying Checksum 07:34:34 7629e6793208: Download complete 07:34:34 4f4fb700ef54: Verifying Checksum 07:34:34 4f4fb700ef54: Download complete 07:34:34 619be1103602: Verifying Checksum 07:34:34 619be1103602: Download complete 07:34:34 fb5054dd5b73: Verifying Checksum 07:34:34 fb5054dd5b73: Download complete 07:34:34 eeca6798cff9: Verifying Checksum 07:34:34 eeca6798cff9: Download complete 07:34:34 619be1103602: Pull complete 07:34:34 ada007ff1a6a: Verifying Checksum 07:34:34 ada007ff1a6a: Download complete 07:34:34 7862e08f4a3e: Pull complete 07:34:34 5df492c9dc93: Verifying Checksum 07:34:34 5df492c9dc93: Download complete 07:34:35 aa269ceb94a6: Verifying Checksum 07:34:35 aa269ceb94a6: Download complete 07:34:38 5df492c9dc93: Pull complete 07:34:38 7629e6793208: Pull complete 07:34:38 4f4fb700ef54: Pull complete 07:34:38 fb5054dd5b73: Pull complete 07:34:38 eeca6798cff9: Pull complete 07:34:41 aa269ceb94a6: Pull complete 07:34:41 ada007ff1a6a: Pull complete 07:34:41 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:34:41 ---> f489d0715acc 07:34:41 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:34:44 ---> Running in 3a9cb7d27db4 07:34:44 Removing intermediate container 3a9cb7d27db4 07:34:44 ---> 03c3390abeb3 07:34:44 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:34:45 ---> Running in acfd943795a1 07:34:45 Removing intermediate container acfd943795a1 07:34:45 ---> 3ffc6f35d4a2 07:34:45 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:34:45 ---> Running in 3cd3b0cb83dd 07:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:34:45 (1/8) Installing openssh-keygen (9.3_p2-r2) 07:34:45 (2/8) Installing libedit (20221030.3.1-r1) 07:34:45 (3/8) Installing openssh-client-common (9.3_p2-r2) 07:34:45 (4/8) Installing openssh-client-default (9.3_p2-r2) 07:34:45 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 07:34:45 (6/8) Installing openssh-server-common (9.3_p2-r2) 07:34:45 (7/8) Installing openssh-server (9.3_p2-r2) 07:34:45 (8/8) Installing openssh (9.3_p2-r2) 07:34:45 Executing busybox-1.36.1-r5.trigger 07:34:45 OK: 270 MiB in 60 packages 07:34:46 Removing intermediate container 3cd3b0cb83dd 07:34:46 ---> 0e7d79db30be 07:34:46 Step 6/10 : WORKDIR /device-modbus-go 07:34:46 ---> Running in a7cc63cfd3e3 07:34:46 Removing intermediate container a7cc63cfd3e3 07:34:46 ---> 4e7dcdb23be2 07:34:46 Step 7/10 : COPY go.mod vendor* ./ 07:34:46 ---> a1e4e79acfdf 07:34:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:46 ---> Running in de7abc6d5a5e 07:34:47 Still waiting to schedule task 07:34:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:35:42 Removing intermediate container de7abc6d5a5e 07:35:42 ---> 4b510be384ef 07:35:42 Step 9/10 : COPY . . 07:35:42 ---> 95d5fa9c1324 07:35:42 Step 10/10 : RUN ${MAKE} 07:35:42 ---> Running in 755cf8c4fab7 07:35:42 noop 07:35:42 Removing intermediate container 755cf8c4fab7 07:35:42 ---> e60580e5e345 07:35:42 Successfully built e60580e5e345 07:35:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:43 + docker inspect -f . ci-base-image-x86_64 07:35:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:43 prd-ubuntu20.04-docker-8c-8g-4896 does not seem to be running inside a container 07:35:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@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 ******** ci-base-image-x86_64 cat 07:35:43 $ docker top b9eefb9a94b3072b165d992490065ff42d6c8118f29ab172fbf963ea0d1c305c -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:43 + go version 07:35:43 go version go1.21.9 linux/amd64 [Pipeline] } 07:35:43 $ docker stop --time=1 b9eefb9a94b3072b165d992490065ff42d6c8118f29ab172fbf963ea0d1c305c 07:35:45 $ docker rm -f --volumes b9eefb9a94b3072b165d992490065ff42d6c8118f29ab172fbf963ea0d1c305c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:45 + docker inspect -f . ci-base-image-x86_64 07:35:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:45 prd-ubuntu20.04-docker-8c-8g-4896 does not seem to be running inside a container 07:35:45 $ 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-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@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 ******** ci-base-image-x86_64 cat 07:35:46 $ docker top 086bbbddcf8113347de04cfedc965d0b227c375298505392d081e99111d8e654 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:46 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-558 [Pipeline] fileExists [Pipeline] sh 07:35:46 + make test 07:35:46 go test ./... -coverprofile=coverage.out 07:35:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:36:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:36:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements 07:36:16 go vet ./... 07:36:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:36:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:36:21 ./bin/test-attribution-txt.sh [Pipeline] echo 07:36:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:36:21 $ docker stop --time=1 086bbbddcf8113347de04cfedc965d0b227c375298505392d081e99111d8e654 07:36:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4897 in /w/workspace/xfoundry_device-modbus-go_PR-558 07:36:28 $ docker rm -f --volumes 086bbbddcf8113347de04cfedc965d0b227c375298505392d081e99111d8e654 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 07:36:28 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 07:36:28 The recommended git tool is: git 07:36:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:36:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:36:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:36:29 + ls -al . 07:36:29 total 272 07:36:29 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 07:35 . 07:36:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 07:34 .. 07:36:29 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 07:34 .dockerignore 07:36:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 07:36 .git 07:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:34 .github 07:36:29 -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 07:34 .gitignore 07:36:29 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 07:34 .golangci.yml 07:36:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 07:34 .semver 07:36:29 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 3 07:34 Attribution.txt 07:36:29 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 07:34 CHANGELOG.md 07:36:29 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 07:34 Dockerfile 07:36:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 07:34 GOVERNANCE.md 07:36:29 -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 07:34 Jenkinsfile 07:36:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 07:34 LICENSE 07:36:29 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 07:34 Makefile 07:36:29 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 07:34 OWNERS.md 07:36:29 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 07:34 README.md 07:36:29 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 07:34 VERSION 07:36:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:34 bin 07:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:34 cmd 07:36:29 -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 07:36 coverage.out 07:36:29 -rw-rw-r-- 1 jenkins jenkins 7242 Jul 3 07:34 go.mod 07:36:29 -rw-rw-r-- 1 jenkins jenkins 102293 Jul 3 07:34 go.sum 07:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:34 internal 07:36:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:34 simulator 07:36:29 -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 07:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:29 + 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=74c9693bc184421cd09d4c9383402722d397ba85 --label arch=amd64 --label version=0.0.0 . 07:36:29 Sending build context to Docker daemon 17.87MB 07:36:29 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:36:29 Step 2/23 : FROM ${BASE} AS builder 07:36:29 ---> e60580e5e345 07:36:29 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:36:30 ---> Running in edc4cad61442 07:36:30 Removing intermediate container edc4cad61442 07:36:30 ---> 757bd2ecd0f2 07:36:30 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:36:30 ---> Running in 8b2249f6a73c 07:36:30 Removing intermediate container 8b2249f6a73c 07:36:30 ---> 8f43493d784f 07:36:30 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:36:30 ---> Running in 3f1c3e581e45 07:36:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:36:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:36:30 OK: 270 MiB in 60 packages 07:36:31 Removing intermediate container 3f1c3e581e45 07:36:31 ---> c21f37077bfd 07:36:31 Step 6/23 : WORKDIR /device-modbus-go 07:36:31 ---> Running in 57889d83a95f 07:36:31 Removing intermediate container 57889d83a95f 07:36:31 ---> 34778089f735 07:36:31 Step 7/23 : COPY go.mod vendor* ./ 07:36:31 ---> bf097bd02681 07:36:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:36:31 ---> Running in 20086e730c53 07:36:32 Removing intermediate container 20086e730c53 07:36:32 ---> 040eca79d841 07:36:32 Step 9/23 : COPY . . 07:36:32 ---> 05e8a576ea30 07:36:32 Step 10/23 : RUN ${MAKE} 07:36:32 ---> Running in e10b28c496ac 07:36:32 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/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:36:34 using credential edgex-jenkins-ssh 07:36:34 Cloning the remote Git repository 07:36:34 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:36:35 > git init /w/workspace/device-modbus-go/3 # timeout=10 07:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:36:35 > git --version # timeout=10 07:36:35 > git --version # 'git version 2.25.1' 07:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:36:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:36:38 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:36:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:36:39 Merging remotes/origin/main commit 016774ad856346449abec6a76f039c0b34c03e63 into PR head commit 74c9693bc184421cd09d4c9383402722d397ba85 07:36:39 Merge succeeded, producing 74c9693bc184421cd09d4c9383402722d397ba85 07:36:39 Checking out Revision 74c9693bc184421cd09d4c9383402722d397ba85 (PR-558) 07:36:39 Commit message: "build: Correct Attribution.txt" 07:36:39 > git config core.sparsecheckout # timeout=10 07:36:39 > git checkout -f 74c9693bc184421cd09d4c9383402722d397ba85 # timeout=10 07:36:39 > git remote # timeout=10 07:36:39 > git config --get remote.origin.url # timeout=10 07:36:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:39 > git merge 016774ad856346449abec6a76f039c0b34c03e63 # timeout=10 07:36:39 > git rev-parse HEAD^{commit} # timeout=10 07:36:39 > git config core.sparsecheckout # timeout=10 07:36:39 > git checkout -f 74c9693bc184421cd09d4c9383402722d397ba85 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:36:44 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:44 Dload Upload Total Spent Left Speed 07:36:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 07:36:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:36:45 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 07:36:45 /etc/docker/daemon.json 07:36:45 { 07:36:45 "registry-mirrors": [ 07:36:45 "https://nexus3.edgexfoundry.org:10001" 07:36:45 ], 07:36:45 "bip": "10.250.0.254/24", 07:36:45 "hosts": [ 07:36:45 "tcp://0.0.0.0:5555", 07:36:45 "unix:///var/run/docker.sock" 07:36:45 ], 07:36:45 "mtu": 1458, 07:36:45 "selinux-enabled": true, 07:36:45 "seccomp-profile": "/etc/docker/seccomp.json" 07:36:45 } [Pipeline] sh 07:36:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:36:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:04 provisioning config files... 07:37:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config14110334321159903966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:04 ---> ****-login.sh 07:37:04 nexus3.edgexfoundry.org:10001 07:37:05 Removing intermediate container e10b28c496ac 07:37:05 ---> 29d6e692458c 07:37:05 Step 11/23 : FROM alpine:3.18 07:37:05 3.18: Pulling from library/alpine 07:37:05 73baa7ef167e: Pulling fs layer 07:37:05 73baa7ef167e: Verifying Checksum 07:37:05 73baa7ef167e: Download complete 07:37:05 73baa7ef167e: Pull complete 07:37:05 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:37:05 Status: Downloaded newer image for alpine:3.18 07:37:05 ---> 8fd7cac70a4a 07:37:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:37:05 ---> Running in 8b9e63e81761 07:37:05 Removing intermediate container 8b9e63e81761 07:37:05 ---> cbc763d7d977 07:37:05 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:37:05 ---> Running in df344bfe4f50 07:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:37:05 (1/1) Installing dumb-init (1.2.5-r2) 07:37:05 Executing busybox-1.36.1-r7.trigger 07:37:05 OK: 7 MiB in 16 packages 07:37:05 Removing intermediate container df344bfe4f50 07:37:05 ---> f27e752e8dc7 07:37:05 Step 14/23 : RUN apk --no-cache upgrade 07:37:05 ---> Running in fb7523ad9ecd 07:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:37:05 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 07:37:05 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 07:37:05 OK: 7 MiB in 16 packages 07:37:05 Removing intermediate container fb7523ad9ecd 07:37:05 ---> a1772182027a 07:37:05 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 nexus3.edgexfoundry.org:10002 07:37:05 ---> 0f6a3c3a1476 07:37:05 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:37:05 ---> b6d5f6f2efe8 07:37:05 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:37:05 ---> 7f145a48fc0b 07:37:05 Step 18/23 : EXPOSE 59901 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 nexus3.edgexfoundry.org:10003 07:37:05 ---> Running in 337b37ba17af 07:37:05 Removing intermediate container 337b37ba17af 07:37:05 ---> 2bc2aef97482 07:37:05 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:37:05 ---> Running in 157a86edeabe 07:37:05 Removing intermediate container 157a86edeabe 07:37:05 ---> 0c204dd114c8 07:37:05 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:37:05 ---> Running in 7dc735636d9a 07:37:05 Removing intermediate container 7dc735636d9a 07:37:05 ---> 0f778d98c94c 07:37:05 Step 21/23 : LABEL arch=amd64 07:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 ---> Running in 5a12e3789b5e 07:37:05 Removing intermediate container 5a12e3789b5e 07:37:05 ---> a72a2c02a522 07:37:05 Step 22/23 : LABEL git_sha=74c9693bc184421cd09d4c9383402722d397ba85 07:37:05 ---> Running in 6a76710d03a7 07:37:05 Removing intermediate container 6a76710d03a7 07:37:05 ---> f5588603d47f 07:37:05 Step 23/23 : LABEL version=0.0.0 07:37:05 ---> Running in 05a9df8eaa7e 07:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:06 Configure a credential helper to remove this warning. See 07:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:06 07:37:06 Login Succeeded 07:37:06 nexus3.edgexfoundry.org:10004 07:37:06 Removing intermediate container 05a9df8eaa7e 07:37:06 ---> e92bab94785e 07:37:06 [Warning] One or more build-args [ARCH] were not consumed 07:37:06 Successfully built e92bab94785e 07:37:06 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 07:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:06 Configure a credential helper to remove this warning. See 07:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:06 07:37:06 Login Succeeded 07:37:06 ****.io 07:37:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:06 07:37:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:06 Configure a credential helper to remove this warning. See 07:37:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:06 07:37:06 Login Succeeded 07:37:06 ---> ****-login.sh ends 07:37:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:06 latest: Pulling from edgex-lftools-log-publisher 07:37:06 5eb5b503b376: Pulling fs layer 07:37:06 5c69ac0246d0: Pulling fs layer 07:37:06 ec43610c2a17: Pulling fs layer 07:37:06 3a2ae6a8a46f: Pulling fs layer 07:37:06 33b1e0a273af: Pulling fs layer 07:37:06 5d3b04190fa2: Pulling fs layer 07:37:06 2f39f015ded8: Pulling fs layer 07:37:06 3a2ae6a8a46f: Waiting 07:37:06 2f39f015ded8: Waiting 07:37:06 33b1e0a273af: Waiting 07:37:06 5d3b04190fa2: Waiting 07:37:06 5c69ac0246d0: Download complete 07:37:06 3a2ae6a8a46f: Download complete 07:37:06 33b1e0a273af: Verifying Checksum 07:37:06 33b1e0a273af: Download complete 07:37:06 5d3b04190fa2: Verifying Checksum 07:37:06 5d3b04190fa2: Download complete 07:37:06 ec43610c2a17: Verifying Checksum 07:37:06 ec43610c2a17: Download complete [Pipeline] } 07:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 07:37:07 5eb5b503b376: Verifying Checksum 07:37:07 5eb5b503b376: Download complete [Pipeline] echo 07:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:07 ========================================================= 07:37:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:37:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:37:07 2f39f015ded8: Download complete 07:37:07 Sending build context to Docker daemon 9.07MB 07:37:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:37:08 Step 2/10 : FROM ${BASE} AS builder 07:37:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:37:08 c6b39de5b339: Pulling fs layer 07:37:08 a69c41024577: Pulling fs layer 07:37:08 d6de4b400683: Pulling fs layer 07:37:08 35cb2a7552d0: Pulling fs layer 07:37:08 4f4fb700ef54: Pulling fs layer 07:37:08 464afbd9ba4c: Pulling fs layer 07:37:08 00f215d4a9da: Pulling fs layer 07:37:08 d496ad576159: Pulling fs layer 07:37:08 35cb2a7552d0: Waiting 07:37:08 4f4fb700ef54: Waiting 07:37:08 464afbd9ba4c: Waiting 07:37:08 00f215d4a9da: Waiting 07:37:08 d496ad576159: Waiting 07:37:08 a69c41024577: Verifying Checksum 07:37:08 a69c41024577: Download complete 07:37:08 35cb2a7552d0: Verifying Checksum 07:37:08 35cb2a7552d0: Download complete 07:37:08 4f4fb700ef54: Verifying Checksum 07:37:08 4f4fb700ef54: Download complete 07:37:08 464afbd9ba4c: Download complete 07:37:08 5eb5b503b376: Pull complete 07:37:08 5c69ac0246d0: Pull complete 07:37:08 c6b39de5b339: Download complete 07:37:08 d496ad576159: Verifying Checksum 07:37:08 d496ad576159: Download complete 07:37:08 ec43610c2a17: Pull complete 07:37:08 3a2ae6a8a46f: Pull complete 07:37:09 33b1e0a273af: Pull complete 07:37:09 5d3b04190fa2: Pull complete 07:37:09 c6b39de5b339: Pull complete 07:37:09 a69c41024577: Pull complete 07:37:10 d6de4b400683: Verifying Checksum 07:37:10 d6de4b400683: Download complete 07:37:11 00f215d4a9da: Verifying Checksum 07:37:11 00f215d4a9da: Download complete 07:37:13 2f39f015ded8: Pull complete 07:37:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:37:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:37:13 prd-ubuntu20.04-docker-8c-8g-4896 does not seem to be running inside a container 07:37:13 $ 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-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@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 07:37:16 $ docker top 205e0cf749198bdd044bbbb20e7527a3d37740197b5046fa7ea6d699a1fc3012 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:16 ---> job-cost.sh 07:37:16 lf-activate-venv: SKIPPING 07:37:16 INFO: No Stack... 07:37:17 INFO: Retrieving Pricing Info for: v3-standard-8 07:37:17 INFO: Archiving Costs [Pipeline] sh 07:37:17 + cat /w/workspace/xfoundry_device-modbus-go_PR-558/archives/cost.csv 07:37:17 + cut -d, -f6 [Pipeline] lock 07:37:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] 07:37:17 Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] did not exist. Created. 07:37:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:37:18 + echo total: 0.2199999988079071 [Pipeline] stash 07:37:18 Stashed 1 file(s) [Pipeline] } 07:37:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:37:18 $ docker stop --time=1 205e0cf749198bdd044bbbb20e7527a3d37740197b5046fa7ea6d699a1fc3012 07:37:19 $ docker rm -f --volumes 205e0cf749198bdd044bbbb20e7527a3d37740197b5046fa7ea6d699a1fc3012 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:37:23 d6de4b400683: Pull complete 07:37:23 35cb2a7552d0: Pull complete 07:37:23 4f4fb700ef54: Pull complete 07:37:23 464afbd9ba4c: Pull complete 07:37:31 00f215d4a9da: Pull complete 07:37:33 d496ad576159: Pull complete 07:37:33 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:37:33 ---> f246e2811388 07:37:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 07:37:35 ---> Running in e96cb26e5345 07:37:35 Removing intermediate container e96cb26e5345 07:37:35 ---> 28c09b5adc98 07:37:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:37:35 ---> Running in 66f9d1a8440c 07:37:35 Removing intermediate container 66f9d1a8440c 07:37:35 ---> 66f6e2d6aa9c 07:37:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 07:37:36 ---> Running in 5b3d34098cc1 07:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:37:38 (1/8) Installing openssh-keygen (9.3_p2-r2) 07:37:38 (2/8) Installing libedit (20221030.3.1-r1) 07:37:38 (3/8) Installing openssh-client-common (9.3_p2-r2) 07:37:38 (4/8) Installing openssh-client-default (9.3_p2-r2) 07:37:38 (5/8) Installing openssh-sftp-server (9.3_p2-r2) 07:37:38 (6/8) Installing openssh-server-common (9.3_p2-r2) 07:37:38 (7/8) Installing openssh-server (9.3_p2-r2) 07:37:38 (8/8) Installing openssh (9.3_p2-r2) 07:37:38 Executing busybox-1.36.1-r5.trigger 07:37:39 OK: 272 MiB in 60 packages 07:37:40 Removing intermediate container 5b3d34098cc1 07:37:40 ---> 5c4fe38cac6c 07:37:40 Step 6/10 : WORKDIR /device-modbus-go 07:37:40 ---> Running in 39f5f1ce2a38 07:37:40 Removing intermediate container 39f5f1ce2a38 07:37:40 ---> d38a2d88f24b 07:37:40 Step 7/10 : COPY go.mod vendor* ./ 07:37:41 ---> 71f4070b384c 07:37:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:37:41 ---> Running in 2443b4328668 07:39:32 Removing intermediate container 2443b4328668 07:39:32 ---> 3f1059d67960 07:39:32 Step 9/10 : COPY . . 07:39:32 ---> 0c37e048cc08 07:39:32 Step 10/10 : RUN ${MAKE} 07:39:32 ---> Running in 9b4a1b8d14e4 07:39:32 noop 07:39:32 Removing intermediate container 9b4a1b8d14e4 07:39:32 ---> 423a3a7c4e20 07:39:32 Successfully built 423a3a7c4e20 07:39:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:33 + docker inspect -f . ci-base-image-arm64 07:39:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:33 prd-ubuntu20.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container 07:39:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** ci-base-image-arm64 cat 07:39:34 $ docker top 9298b7611c5801f1000bc3ddeaa8bdfbf71b47b602305c90aee876d33c643cc3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:35 + go version 07:39:35 go version go1.21.9 linux/arm64 [Pipeline] } 07:39:35 $ docker stop --time=1 9298b7611c5801f1000bc3ddeaa8bdfbf71b47b602305c90aee876d33c643cc3 07:39:37 $ docker rm -f --volumes 9298b7611c5801f1000bc3ddeaa8bdfbf71b47b602305c90aee876d33c643cc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:37 + docker inspect -f . ci-base-image-arm64 07:39:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:37 prd-ubuntu20.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container 07:39:38 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** ci-base-image-arm64 cat 07:39:39 $ docker top 5a2c77344a995447ea85d27dbb6981df4ebd3ad23a2dcbf397a76d476d9e7ad7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:39 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 07:39:40 + make test 07:39:40 go test ./... -coverprofile=coverage.out 07:39:45 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:42:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:42:56 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 47.9% of statements 07:42:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:42:57 go vet ./... 07:43:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:43 ./bin/test-attribution-txt.sh [Pipeline] echo 07:43:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:43:43 $ docker stop --time=1 5a2c77344a995447ea85d27dbb6981df4ebd3ad23a2dcbf397a76d476d9e7ad7 07:43:45 $ docker rm -f --volumes 5a2c77344a995447ea85d27dbb6981df4ebd3ad23a2dcbf397a76d476d9e7ad7 [Pipeline] // withDockerContainer [Pipeline] sh 07:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:47 Warning: overwriting stash ‘coverage-report’ 07:43:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:48 + ls -al . 07:43:48 total 268 07:43:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 07:39 . 07:43:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 07:36 .. 07:43:48 -rw-rw-r-- 1 jenkins jenkins 140 Jul 3 07:36 .dockerignore 07:43:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 07:36 .git 07:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:36 .github 07:43:48 -rw-rw-r-- 1 jenkins jenkins 266 Jul 3 07:36 .gitignore 07:43:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 07:36 .golangci.yml 07:43:48 -rw-rw-r-- 1 jenkins jenkins 19432 Jul 3 07:36 Attribution.txt 07:43:48 -rw-rw-r-- 1 jenkins jenkins 16388 Jul 3 07:36 CHANGELOG.md 07:43:48 -rw-rw-r-- 1 jenkins jenkins 1474 Jul 3 07:36 Dockerfile 07:43:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 07:36 GOVERNANCE.md 07:43:48 -rw-rw-r-- 1 jenkins jenkins 658 Jul 3 07:36 Jenkinsfile 07:43:48 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 07:36 LICENSE 07:43:48 -rw-rw-r-- 1 jenkins jenkins 1942 Jul 3 07:36 Makefile 07:43:48 -rw-rw-r-- 1 jenkins jenkins 622 Jul 3 07:36 OWNERS.md 07:43:48 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 3 07:36 README.md 07:43:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 07:34 VERSION 07:43:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:36 bin 07:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:36 cmd 07:43:48 -rw-r--r-- 1 jenkins jenkins 24601 Jul 3 07:42 coverage.out 07:43:48 -rw-rw-r-- 1 jenkins jenkins 7242 Jul 3 07:36 go.mod 07:43:48 -rw-rw-r-- 1 jenkins jenkins 102293 Jul 3 07:36 go.sum 07:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 07:36 internal 07:43:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 07:36 simulator 07:43:48 -rw-rw-r-- 1 jenkins jenkins 229 Jul 3 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:48 + 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=74c9693bc184421cd09d4c9383402722d397ba85 --label arch=arm64 --label version=0.0.0 . 07:43:48 Sending build context to Docker daemon 9.095MB 07:43:48 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:43:48 Step 2/23 : FROM ${BASE} AS builder 07:43:48 ---> 423a3a7c4e20 07:43:48 Step 3/23 : ARG ADD_BUILD_TAGS="" 07:43:49 ---> Running in d000c327900a 07:43:49 Removing intermediate container d000c327900a 07:43:49 ---> c7198947fd87 07:43:49 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:49 ---> Running in de0d071dab9e 07:43:49 Removing intermediate container de0d071dab9e 07:43:49 ---> 435018db636f 07:43:49 Step 5/23 : RUN apk add --update --no-cache make git openssh 07:43:49 ---> Running in d16d473a822a 07:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:43:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:43:52 OK: 272 MiB in 60 packages 07:43:53 Removing intermediate container d16d473a822a 07:43:53 ---> 8d32ec9ccaa3 07:43:53 Step 6/23 : WORKDIR /device-modbus-go 07:43:53 ---> Running in 45c99c74fc1f 07:43:53 Removing intermediate container 45c99c74fc1f 07:43:53 ---> 224ecb136204 07:43:53 Step 7/23 : COPY go.mod vendor* ./ 07:43:53 ---> 04c9602ab824 07:43:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:53 ---> Running in 7eb79eabbc21 07:43:55 Removing intermediate container 7eb79eabbc21 07:43:55 ---> a5268993c92a 07:43:55 Step 9/23 : COPY . . 07:43:57 ---> 8fe33e193e4a 07:43:57 Step 10/23 : RUN ${MAKE} 07:43:57 ---> Running in bf8f26cae228 07:43:58 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/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 07:47:19 Removing intermediate container bf8f26cae228 07:47:19 ---> 130f5b5e5146 07:47:19 Step 11/23 : FROM alpine:3.18 07:47:19 3.18: Pulling from library/alpine 07:47:19 5c905c7ebe2f: Pulling fs layer 07:47:19 5c905c7ebe2f: Verifying Checksum 07:47:19 5c905c7ebe2f: Download complete 07:47:19 5c905c7ebe2f: Pull complete 07:47:19 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:47:19 Status: Downloaded newer image for alpine:3.18 07:47:19 ---> dec292d02e07 07:47:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:47:19 ---> Running in 5ef5a2ed3964 07:47:19 Removing intermediate container 5ef5a2ed3964 07:47:19 ---> 7e3970a03619 07:47:19 Step 13/23 : RUN apk add --update --no-cache dumb-init 07:47:19 ---> Running in cce80b25ff57 07:47:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:47:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:47:19 (1/1) Installing dumb-init (1.2.5-r2) 07:47:19 Executing busybox-1.36.1-r7.trigger 07:47:19 OK: 8 MiB in 16 packages 07:47:19 Removing intermediate container cce80b25ff57 07:47:19 ---> 119d3535b344 07:47:19 Step 14/23 : RUN apk --no-cache upgrade 07:47:19 ---> Running in 5c7d9c33894c 07:47:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:47:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:47:19 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 07:47:19 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 07:47:19 OK: 8 MiB in 16 packages 07:47:19 Removing intermediate container 5c7d9c33894c 07:47:19 ---> 9dc03dac3f0f 07:47:19 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 07:47:21 ---> 3f501601f240 07:47:21 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 07:47:21 ---> 75f97ad77887 07:47:21 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:47:22 ---> 52bbabb1a615 07:47:22 Step 18/23 : EXPOSE 59901 07:47:22 ---> Running in 30ad26a95e08 07:47:22 Removing intermediate container 30ad26a95e08 07:47:22 ---> 79b81b7ce66f 07:47:22 Step 19/23 : ENTRYPOINT ["/device-modbus"] 07:47:22 ---> Running in 2b2916d36237 07:47:22 Removing intermediate container 2b2916d36237 07:47:22 ---> 19bab1469d41 07:47:22 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:47:22 ---> Running in 4ea6ea73ace4 07:47:23 Removing intermediate container 4ea6ea73ace4 07:47:23 ---> 1dc68237a3bf 07:47:23 Step 21/23 : LABEL arch=arm64 07:47:23 ---> Running in f66a4560d972 07:47:23 Removing intermediate container f66a4560d972 07:47:23 ---> aa35001e0d53 07:47:23 Step 22/23 : LABEL git_sha=74c9693bc184421cd09d4c9383402722d397ba85 07:47:23 ---> Running in 5dbd2e05d740 07:47:24 Removing intermediate container 5dbd2e05d740 07:47:24 ---> 355cfc278136 07:47:24 Step 23/23 : LABEL version=0.0.0 07:47:24 ---> Running in d08fa8801d24 07:47:24 Removing intermediate container d08fa8801d24 07:47:24 ---> 812783a6950e 07:47:24 [Warning] One or more build-args [ARCH] were not consumed 07:47:24 Successfully built 812783a6950e 07:47:24 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 07:47:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:25 07:47:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:25 arm64: Pulling from edgex-lftools-log-publisher 07:47:25 8998bd30e6a1: Pulling fs layer 07:47:25 04944245beec: Pulling fs layer 07:47:25 699f458cf7ca: Pulling fs layer 07:47:25 765212b225bb: Pulling fs layer 07:47:25 f23df028b6ca: Pulling fs layer 07:47:25 d65c8cfc05b1: Pulling fs layer 07:47:25 2437ff75d9bd: Pulling fs layer 07:47:25 765212b225bb: Waiting 07:47:25 f23df028b6ca: Waiting 07:47:25 d65c8cfc05b1: Waiting 07:47:25 2437ff75d9bd: Waiting 07:47:25 04944245beec: Verifying Checksum 07:47:25 04944245beec: Download complete 07:47:25 765212b225bb: Download complete 07:47:25 f23df028b6ca: Verifying Checksum 07:47:25 f23df028b6ca: Download complete 07:47:25 d65c8cfc05b1: Download complete 07:47:25 699f458cf7ca: Verifying Checksum 07:47:25 699f458cf7ca: Download complete 07:47:26 8998bd30e6a1: Verifying Checksum 07:47:26 8998bd30e6a1: Download complete 07:47:28 2437ff75d9bd: Verifying Checksum 07:47:28 2437ff75d9bd: Download complete 07:47:30 8998bd30e6a1: Pull complete 07:47:31 04944245beec: Pull complete 07:47:32 699f458cf7ca: Pull complete 07:47:33 765212b225bb: Pull complete 07:47:33 f23df028b6ca: Pull complete 07:47:33 d65c8cfc05b1: Pull complete 07:47:52 2437ff75d9bd: Pull complete 07:47:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:52 prd-ubuntu20.04-docker-arm64-4c-16g-4897 does not seem to be running inside a container 07:47:52 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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:arm64 cat 07:47:55 $ docker top e3e170126d33190f18e2dc2a644f335e2c3f96adf99481933c53fb48789bdb61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:55 ---> job-cost.sh 07:47:55 lf-activate-venv: SKIPPING 07:47:55 INFO: No Stack... 07:47:56 INFO: Retrieving Pricing Info for: v3-standard-4 07:47:57 INFO: Archiving Costs [Pipeline] sh 07:47:57 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 07:47:57 + cut -d, -f6 [Pipeline] lock 07:47:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] 07:47:57 Resource [jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] did not exist. Created. 07:47:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:47:58 /w/workspace/device-modbus-go/3@tmp/durable-ee775798/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:47:58 + echo total: 0.10999999940395355 [Pipeline] stash 07:47:59 Warning: overwriting stash ‘stack-cost’ 07:47:59 Stashed 1 file(s) [Pipeline] } 07:47:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-558-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:47:59 $ docker stop --time=1 e3e170126d33190f18e2dc2a644f335e2c3f96adf99481933c53fb48789bdb61 07:48:00 $ docker rm -f --volumes e3e170126d33190f18e2dc2a644f335e2c3f96adf99481933c53fb48789bdb61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:48:01 provisioning config files... 07:48:01 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config9551617179247902297tmp [Pipeline] { [Pipeline] sh 07:48:01 + set +x 07:48:01 + curl -s https://codecov.io/bash 07:48:01 + bash -s -- 07:48:01 07:48:01 _____ _ 07:48:01 / ____| | | 07:48:01 | | ___ __| | ___ ___ _____ __ 07:48:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:48:01 | |___| (_) | (_| | __/ (_| (_) \ V / 07:48:01 \_____\___/ \__,_|\___|\___\___/ \_/ 07:48:01 Bash-1.0.6 07:48:01 07:48:01 07:48:01 ==> git version 2.25.1 found 07:48:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:48:01 Release-Date: 2020-01-08 07:48:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:48:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:48:01 ==> Jenkins CI detected. 07:48:01 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-558 07:48:01 project root: . 07:48:01 --> token set from env 07:48:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:48:01 ==> Running gcov in . (disable via -X gcov) 07:48:01 ==> Python coveragepy not found 07:48:01 ==> Searching for coverage reports in: 07:48:01 + . 07:48:01 -> Found 1 reports 07:48:01 ==> Detecting git/mercurial file structure 07:48:01 ==> Reading reports 07:48:01 + ./coverage.out bytes=24601 07:48:01 ==> Appending adjustments 07:48:01 https://docs.codecov.io/docs/fixing-reports 07:48:01 + Found adjustments 07:48:01 ==> Gzipping contents 07:48:01 4.0K /tmp/codecov.Io2pbT.gz 07:48:01 ==> Uploading reports 07:48:01 url: https://codecov.io 07:48:01 query: branch=PR-558&commit=74c9693bc184421cd09d4c9383402722d397ba85&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-558%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=558&job=&cmd_args= 07:48:01 -> Pinging Codecov 07:48:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-558&commit=74c9693bc184421cd09d4c9383402722d397ba85&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-558%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=558&job=&cmd_args= 07:48:01 -> Uploading to 07:48:01 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/55DBCA73C666E3227836607328DD7E49/74c9693bc184421cd09d4c9383402722d397ba85/8a238c7a-93c5-4bb0-92ea-a70df80fb5e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T074801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d60f7e7effacd76abf6aae164b26799522b3c4799992cc9ed881550e21d78f5 07:48:01 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:01 Dload Upload Total Spent Left Speed 07:48:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16781 --:--:-- --:--:-- --:--:-- 16781 07:48:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/74c9693bc184421cd09d4c9383402722d397ba85 [Pipeline] } 07:48:01 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 07:48:02 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-558/archives ] 07:48:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives 07:48:02 total 16 07:48:02 drwxr-xr-x 3 root root 4096 Jul 3 07:37 . 07:48:02 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 07:37 .. 07:48:02 drwxr-xr-x 2 root root 4096 Jul 3 07:37 cost 07:48:02 -rw-r--r-- 1 root root 88 Jul 3 07:37 cost.csv 07:48:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-558/archives 07:48:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-558/archives 07:48:02 total 16 07:48:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 07:37 . 07:48:02 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 07:37 .. 07:48:02 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 07:37 cost 07:48:02 -rw-r--r-- 1 jenkins jenkins 88 Jul 3 07:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:48:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:48:03 ---> package-listing.sh 07:48:03 ++ facter osfamily 07:48:03 ++ tr '[:upper:]' '[:lower:]' 07:48:04 + OS_FAMILY=debian 07:48:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-558 07:48:04 + START_PACKAGES=/tmp/packages_start.txt 07:48:04 + END_PACKAGES=/tmp/packages_end.txt 07:48:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:48:04 + PACKAGES=/tmp/packages_start.txt 07:48:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' 07:48:04 + PACKAGES=/tmp/packages_end.txt 07:48:04 + case "${OS_FAMILY}" in 07:48:04 + dpkg -l 07:48:04 + grep '^ii' 07:48:04 + '[' -f /tmp/packages_start.txt ']' 07:48:04 + '[' -f /tmp/packages_end.txt ']' 07:48:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:48:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-558 ']' 07:48:04 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-558/archives/ 07:48:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-558/archives/ [Pipeline] echo 07:48:04 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-558/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:48:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:05 prd-ubuntu20.04-docker-8c-8g-4896 does not seem to be running inside a container 07:48:05 $ 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-558/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-558 -v /w/workspace/xfoundry_device-modbus-go_PR-558:/w/workspace/xfoundry_device-modbus-go_PR-558:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-558@tmp:/w/workspace/xfoundry_device-modbus-go_PR-558@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:48:05 $ docker top f84147d7b090d62b11c0918f36a4c3a96086c0d22a0f3248cfe8724ed27b8c5e -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:05 + touch /tmp/pre-build-complete [Pipeline] sh 07:48:06 + mkdir -p /var/log/sysstat [Pipeline] sh 07:48:06 + ls /var/log/sa-host 07:48:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:06 provisioning config files... 07:48:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-558@tmp/config7512291040894634636tmp [Pipeline] { [Pipeline] echo 07:48:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:48:06 ---> create-netrc.sh [Pipeline] } 07:48:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:48:07 ---> python-tools-install.sh [Pipeline] echo 07:48:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:48:07 ---> sudo-logs.sh 07:48:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:48:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:48:07 ---> job-cost.sh 07:48:07 lf-activate-venv: SKIPPING 07:48:07 DEBUG: total: 0.2199999988079071 07:48:07 INFO: Retrieving Stack Cost... 07:48:08 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:08 INFO: Archiving Costs [Pipeline] echo 07:48:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:48:08 ---> logs-deploy.sh 07:48:08 lf-activate-venv: SKIPPING 07:48:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-558/3 07:48:08 INFO: archiving workspace using pattern(s): 07:48:09 Archives upload complete. 07:48:09 INFO: archiving logs to Nexus